As shown on the picture, we define the relationship between HW node ID and NC object name on .ncm file, now I need to know if there is a way to get the related Node number according to the gAxis object, if there is a function block or other ways.
In other words, can we get the 3rd POWERLINK axis node ID during program running?
The powerlink axes are in a different Acp10map.ncm mapping file than the SDC-axes.
With the ncaccess function you can get the pointer to the ACP10Axis_typ structures.
You can also use the setting Use global PV as NC object.