MC-Basic:axis.NODEID

From SoftMC-Wiki
Jump to: navigation, search
Language: English

* EtherCAT:
This property is meant for use with Multi Axis drives, that is, a motion drive that appears as a single EtherCAT slave but can drive more than one motor.
In this case multiple axes can share the same Drive Address but are distinguished by Node ID.
For example, if MC is connected to 4 motion drives and the second drive is connected to 3 motors, the axes properties can be assigned as follows:
A1.Dadd = 1, A1.NodeID = 1
A2.Dadd = 2, A2.NodeID = 1
A3.Dadd = 2, A3.NodeID = 2
A4.Dadd = 2, A4.NodeID = 3
A5.Dadd = 3, A5.NodeID = 1
A6.Dadd = 4, A6.NodeID = 1

see EC_SETUP for details

IMPORTANT.svgIMPORTANT
Property can be set only after Ax.Dadd is already set (different from zero)

IMPORTANT.svgIMPORTANT
NodeID MUST be set to a value different from zero in order to enable the axis

IMPORTANT.svgIMPORTANT
In case of a regular single axis drive, the user must assign NodeID to 1. It is NOT done by default due to safety considerations

Syntax

<axis>.NodeId = <Node Id>

?<axis>.NodeId

Availability

From 0.4.18.2r5

Type

Long

Range

0 to 8

Default

0

Scope

Task or Terminal

Limitations

* EtherCAT:
Property can be set only after Ax.Dadd is already set (different from zero)
NodeID MUST be set to a value different from zero in order to enable the axis
In case of a regular single axis drive, the user must assign NodeID to 1. It is NOT done by default due to safety considerations

Examples

a1.NodeId = 3

See Also