Gettin' Drive Channel Number - MappMotion

Hello

I’m wondering if there is a way to get the Drive Channel number by the mapp axis component.
For example:
Mapp: Axis1, Axis2, Axis3
Linked to Axis P3-> M1 “Axis1”, M2 “Axis2”, M3 “Axis3”
So, by inserting Axis2, I need to get the information “Channel2”

Thank you very much in advance
Marco Sartori

Have you tried MC_BR_GetHardwareInfo ?

https://help.br-automation.com/#/en/6/motion%2Fmapp_motion%2Fmapp_axis%2Fprogrammierung%2Fkernbibliotheken%2Faxis%2Ffunktionsbausteine%2Fmc_br_gethardwareinfo%2Ffb_br_gethardwareinfo.html

Corne is right, it is output by MC_BR_GetHardwareInfo.

Many Thanks. I need to split the string, but it is fine!
Kind regards!

Marco Sartori

1 Like