Programming Example To Detect Valid I/O Data - Omron NXEIP202 User Manual

Machine automation controller
Table of Contents

Advertisement

A-4 Programming Example To Detect
Valid I/O Data
The following programming example can be used to confirm that normal communications are being
performed for a Slave Terminal.
This example requires that the Slave Terminal Status is included in the I/O allocation for the Slave Ter-
minal configuration. For details on the I/O allocation information of the Slave Terminal configuration,
refer to 9-2-3 I/O Allocation Information on page 9-12.
Program Example Using Network Variables for Status
The following example uses Slave Terminal Status bits and PLC CIO areas to confirm that normal com-
munications are being performed for a Slave Terminal.
The example below monitors the following bits to determine the validity of the I/O data.
• I/O Refresh Flag from the Slave Terminal I/O Allocation (bit 15 of the Slave Terminal Status)
• Network Error (bit 1 of the Unit Status 1 allocated CIO area for the EtherNet/IP Unit)
• Tag Data Link Error (bit 2 of the Communications Status 1 allocated CIO area for the EtherNet/IP
Unit)
Additional Information
For details on the memory allocation of the EtherNet/IP master, refer to the CS and CJ Series
EtherNet/IP Units Operation Manual (Cat No. W465) or the user's manual for the built-in
Ether-Net/IP port on the connected CPU Unit or Industrial PC.
NX-series EtherNet/IP Coupler Unit User's Manual (W536)
I/O Refresh
Network Error
Flag
3300.15
1510.01
Tag Data Link
Error
1512.02
Appendices
Valid I/O
Data
A - 51
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nx series

Table of Contents