omron — Programmable Terminal NA-series Practices Guide MC Test Run IAG Library (EN)

6-1-4 External Variable *1 For details on data type of [IAG_Device_Info], refer to section 7 of this guide. *2 For details on variable of [_EC_NetCfgErr] and [_EC_MBXSlavTbl], refer to NJ/NX-series CPU Unit Built-in EtherCAT® Port User’s Manual (Cat. No. W505). *3 For details on variable of [_MC_AX], refer to NJ/NX-series CPU Unit Motion Control User’s Manual (Cat. No. W507). 6-1-5 Features  Extracts the node number of the devices connected to the NJ via the EtherCAT communications.  Associates the axis number with the node number.  Extracts the device name of the devices connected to the NJ via the EtherCAT communications.

36 External Variable Name Data Valid Description type range HMI IAG Connec _ _ t DeviceInfo _ Specifies the IAG D * * Information of the devices connected to PLC with EtherCAT communications. connected device _ evice I information. _ nfo *1 EC NetCfgErr *2 _ _ Network BOOL TRUE, FALSE TRUE if there is illegal network configuration information. configuration information error EC MBXSlavTbl _ _ *2 Message communications enabled slave table Message ARRAY TRUE, FALSE A list of slaves that can perform message communications. Slaves are given communications [1..192] in the table in the order of slave node addresses.

The element for a slave is enabled slave table OF TRUE if message communications are enabled for it (pre-operational, BOOL safe-operation, or operational state). MC AX *3 _ _ Axis variables ARRAY * Axis Variables are system-defined variables for some of the axis parameters and for the monitor information, such as the actual position and error information for the axes controlled by the MC Function Module. [0..63] OF sAxis _ _ REF