User`s manual

6 - 11 6 - 11
MELSEC-Q
6 PROGRAMMING
(2) Programming example
A/D conversion
enable/disable setting
CH2 Average time/average
number of times
Averaging processing
setting
CH3 Average time/average
number of times
Write to buffer memory
Turn ON the operating condition
setting request (Y9)
Read the A/D conversion
completed flag
Output the error code
in BCD
Turn ON the error clear
requset (YF)
Turn OFF the error clear
requset (YF)
Read the error code
Turn OFF the operating condition
setting request (Y9)
Read the CH1 digital
output value
Read the CH2 digital
output value
Read the CH3 digital
output value
Read the CH1 to CH3
digital output value
Remote I/O station operating status checking
Master station baton pass
status checking
Master station data link
status checking
Remote I/O station baton pass
status checking
Remote I/O station data link
status checking
Remote I/O parameter communicatio
n
status checking
Master module status
checking
Set the A/D conversion enabled channel (initial setting)
Digital output value read processing
Error code display and reset processing