Mitsubishi Electronics Q64AD TV Converter Box User Manual


 
6 - 3 6 - 3
MELSEC-Q
6 PROGRAMMING
6.1.2 Programming example
Digital output value read processing
0
MOV D11 D101
CH1 Digital
output
X10
26
Error
reset
signal
X0F
Error
flag
52
END
Transfer digital output values D11
to D13 read using automatic
refresh to D101 to D103 after A/D
conversion is completed.
X11 X0 X0E
Module
READY
A/D
conversion
completed
flag
Read
digital
values
MOV D12 D102
CH2 Digital
output
MOV D13 D103
CH3 Digital
output
Error code display and reset processing
BCD D14 K3Y20
Error code
SET Y0F
Error clear
request
Y0F
49
Error
reset
request
X0F
Error
flag
RST Y0F
Error clear
request
Clear the error code.
Output the error code to Y20 to
Y2B by BCD code.