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.
Содержание Q64AD
Страница 11: ...1 2 MELSEC Q 1 OVERVIEW MEMO...
Страница 13: ...2 2 MELSEC Q 2 SYSTEM CONFIGURATION MEMO...
Страница 31: ...3 18 MELSEC Q 3 SPECIFICATIONS MEMO...
Страница 43: ...4 12 MELSEC Q 4 SETUP AND PROCEDURES BEFORE OPERATION MEMO...
Страница 58: ...5 15 MELSEC Q 5 UTILITY PACKAGE SW0D5C QADU E Operating condition setting Offset gain setting 1...
Страница 61: ...5 18 MELSEC Q 5 UTILITY PACKAGE SW0D5C QADU E MEMO...
Страница 67: ...6 6 MELSEC Q 6 PROGRAMMING MEMO...
Страница 76: ...Index 3 MEMO...