NI-Industrial Communications for CANopen

CANopen NMT Write VI

  • Updated2023-02-21
  • 3 minute(s) read

CANopen NMT Write VI

Owning Palette: CANopen VIs

Transmits a network management (NMT) command over a CANopen network. This command controls NMT states of one or all devices on the network.

This VI is optimized for real-time performance. This VI executes with low cost and avoids access to shared resources that can induce jitter.

node-ID specifies the node-ID of a target device to which you want to send the command. If node-ID is 0, this VI sends the command to all devices on the CANopen network. The default is 0.
interface object in specifies the reference number of an interface object. This object is an interface to the CANopen network. You can create an interface by using the CANopen Interface Create VI.
command specifies the command that this VI sends.

1start remote node—Switches the device into the operational state. When the state is operational, the device supports all CANopen communication objects.
2stop remote node—Switches the device into the stopped state. When the state is stopped, the device only supports NMT communication.
128enter pre-operational—Switches the device into the pre-operational state. When the state is pre-operational, the device supports all CANopen communication objects with the exception of PDO objects.
129reset node—Switches the device into the reset application state. When the state is reset application, the device resets the parameters of the manufacturer specific and the standardized device profile areas to power-on values. The device then enters the reset communication state.
130reset communication—Switches the device into the reset communication state. When the state is reset communication, this device resets the parameters of the communication profile area to power-on values. The device then sends a boot-up message and enters the pre-operational state.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
interface object out returns the refnum of interface object in.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience