GetSlaveStates

NI-Industrial Communications for EtherCAT® 17.6 Help

Edition Date: November 2017

Part Number: 372626P-01

»View Product Info
Download Help (Windows Only)

Gets an array that contains the states of all deployed and refreshed slave devices that connect to the master device. Each element in this array contains the state of a slave device. The index of an element matches the corresponding slave position address. Use the index to get the state of a specific slave device.

Input

Data Type Name Description
1-D Array of U32 Slave States Specifies an array of U32. The Invoke Node allocates memory for slave states before reading the slave states. The memory size equals the size of the input array. If the elements in the array are less than the deployed and refreshed slave devices, the Invoke Node returns a warning.

Output

Data Type Name Description
1-D Array of U32 Slave States Gets the states of all deployed and refreshed slave devices.

0 UNKNOWN
1 Init
2 PreOP
3 BootStrap
4 SafeOP
8 OP

WAS THIS ARTICLE HELPFUL?

Not Helpful