5 - 11 5 - 11
MELSEC-A
5 PROGRAMMING
Initial setting change
Changing of initial settings
Processing at initial settings
Read of digital output values
Processing at error occurrence
Error reset
The program enclosed by the dotted line is necessary only when the initial settings are changed.
A/D conversion enable/
prohibit specification
(RWw0)
CH.1 to CH.4 input
range setting (RWw1)
Average processing
specification (RWw3)
CH.2 average time, number
of times setting (RWw5)
Turns on initial data setting
request flag (RY19).
Turns off initial data
processing completion flag
(RY18).
Turns off initial data setting
request flag (RY19).
Reads CH.1 digital
output value (RWr0).
Reads CH.2 digital
output value (RWr1).
Reads error code (RWr8).
Turns on error reset
request flag (RY1A).
Turns off error reset
request flag (RY1A).