Create the following program with GX Works2.
If the master station does not receive a response for several link scans from the I/O module, the I/O module is
determined as a cyclic transmission faulty station and the corresponding bit of the data link status (each
station) (SW00B0 to SW00B7) turns on.
Write the program to the CPU module of the master station, and reset the CPU module, or turn off and on the power
Put the CPU module of the master station into RUN.
9.3 Program Example
Check the data link status (station No.1)
Turn on Y8 by turning on X0 of the I/O
Store Latest error code in D100.
Store Latest warning code in D101.
Turn on Y30 when an error occurs.
Turn on Y31 when a warning occurs.
Clear the error when X20 turns on.
Read the number of ON times when X21
Read the number of ON times for 8 points.