6 - 14 6 - 14
MELSEC-Q
6 PROGRAMMING
(3) Program example
Read the CH1 digital
output value
Output the error code in BCD
Turn ON the error clear
request (YF)
Turn OFF the error clear
request (YF)
* Digital output value read
* Error code display and reset
Read the CH2 digital
output value
Read the CH3 digital
output value