Mitsubishi Electric NZ2GF12A4-16D User Manual page 115

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.
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.
4.
Turning on X22 clears Number of ON times Y8 of the I/O combined module.
9.4 Program Example for the Number of ON Times Integration Function
Number of ON times clear command
Number of ON times integration value clear
command Y8 (address: 1100H.b0):
Commanded (1)
Clear the number of ON times.
Check Number of ON times integration
value clear completed Y8 (address:
1101H.b0).
If Number of ON times integration value
clear command Y8 (address: 1100H.b0) is
set to Not performed (0), try it again.
If Number of ON times integration value
clear command Y8 (address: 1100H.b0) is
set to Completed (1), perform the clear
completion processing.
Number of ON times integration value
clear command Y8 (address: 1100H.b0):
Not commanded (0)
9 PROGRAMMING
9
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents