Mitsubishi Electric NZ2GF12A4-16D User Manual page 112

Cc-link ie field network waterproof/dustproof remote i/o module
Table of Contents

Advertisement

Program example
1.
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.
2.
Write the program to the CPU module of the master station, and reset the CPU module, or turn off and on the power
supply.
3.
Put the CPU module of the master station into RUN.
9 PROGRAMMING
110
9.3 Program Example
Check the data link status (station No.1)
(I/O module).
Turn on Y8 by turning on X0 of the I/O
combined module.
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
turns on.
Read the number of ON times for 8 points.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents