Can I get POWERLINK axis node number in SDC project according to NC object name?

Hello,

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?

Thanks!

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.


Then a global PV of type ACP10AXIS_typ has to be defined with the name of the NC Object Name column.

The node number can be found in this element of type ACP10AXIS_typ:

1 Like

How about mapp Motion, can we have similar thing to get the node number?

With mapp Motion we can get the node number from this function block:
MC_BR_GetDriveInfo_AcpAx
Output “ModuleInfo”

OK get it , Thanks very much!

Hi Martin
I use the MC_BR_GetDriveInfo_AcpAx function block to read the node number of a third party drive(mappmotion used)Error : -1067319289

Function blocks with the suffix “_AcpAx” in their name only work for ACOPOS B&R servo drives.

How could I read the the node number of a third party drive