CANopenDevice.SetNodeID (METH)ΒΆ
METHOD SetNodeID : ERROR
Method to set the NodeID of the CANopen Slave. If called in first cycle of the buscycle task NodeID will be changed before the CANopen Slave state machine starts. Else, a call to this method will reboot the slave with the new NodeID. Calling this method will lead to higher bus cycle times because Object Dictionary must be initialized.
- InOut:
Scope
Name
Type
Initial
Comment
Input
usiNodeID
NODEID
new NodeID (1..127)
Return
SetNodeID
ERROR.NO_ERROR
TRUE
: NodeID was set successful.