61
CHAPTER 6 PROGRAMMING
6
6.2 System Replacement Example
6.2.3 Program examples
6.2.3 Program examples
(1) Addition/change
The following table lists the changes in the program between before and after the replacement.
*1 The initial setting program needs to be added if GX Configurator is not used to configure initial settings of the Q62DAN.
No. Addition/change Description
1)
Addition or
change
Initial setting program
*1
The initial setting program needs to be added or changed for the intelligent
function module (Q62DAN).
2) Change
Buffer memory addresses that store
digital values
The buffer memory addresses for CH1 Digital value and CH2 Digital value
need changing.
•0
H
1
H
•1
H
2
H
3) Change
I/O signals that enable or disable
the output of digital output values
The I/O signal numbers of CH1 Output enable/disable flag and CH2 Output
enable/disable flag need changing.
• Y101B Y1001, Y1002
4) Change
Buffer memory addresses that read
out the check codes for digital
values
The buffer memory addresses for CH1 Set value check code and CH2 Set
value check code need changing.
•2
H
B
H
•3
H
C
H
5) Change Error clear request program
The error clearing method used in the program needs changing. The I/O signal
Y100F is used instead of the ZNTO instruction.