Programming Example - Mitsubishi Q64AD User Manual

Melsec-q serires analog-digital converter module
Hide thumbs Also See for Q64AD:
Table of Contents

Advertisement

6 PROGRAMMING

6.1.2 Programming example

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q68advQ68adi

Table of Contents