6
PROGRAMMING
6.1.2 Programming example without using the utility package
Set the A/D conversion enabled channel (initial setting)
Read the input signal error detection flag.
6 - 4
(1)
Programming example using the FROM/TO commands
MELSEC-Q
A/D conversion enable/disable setting
CH2 Average time/average number of
times
CH3 Average time/average number of
times
Averaging process specification
Turns on Operating condition setting
request (Y9)
Turns off Operating condition setting
request (Y9)
Read the CH1 digital output value
Read the CH2 digital output value
Read the CH3 digital output value
Read error codes
Outputting error codes with BCD
Turns on Error clear request (YF)
Turns off Error clear request (YF)
6 - 4