6 - 15 6 - 15
MELSEC-Q
6 PROGRAMMING
6.4 For Use in Normal System Configuration (Q62AD-DGH)
System configuration used in the program explanation
(1) System configuration
Q
n
C
P
U
Q
6
2
A
D
D
G
H
Q
X
1
0
Q
Y
1
0
X/Y0
X/YF
X10
X1F
Y20
Y2F
Power
supply
module
|
to
to
to
(2) Program conditions
This program reads the digital output values that have been A/D converted using
CH1 and CH2 of the Q62AD-DGH. CH1 performs sampling processing, and CH2
performs averaging processing every 50 times. An error code appears in BCD if
a write error occurs.
(a) Initial settings
• A/D conversion enable channel.............CH1, CH2
• Count-based
averaging processing channel ..............Average count setting of CH2
: 50 times
• Process alarm channel ..........................Lower lower limit value setting of
CH2: 1000
Lower upper limit value setting
: 1500
Upper lower limit value setting
: 6000
Upper upper limit value setting
: 7000
• Input signal error detection channel ......Setting of CH1: 10%
(b) Devices used by the user
• Digital output value read command input signal .....X10
• Input signal error detection reset signal ..................X11
• Error reset signal......................................................X12
• Error code display (BCD 3 digits) ............................Y20 to Y2B
• A/D conversion completed flag................................M0, M1
• CH1 digital output value (32bit) ...............................D1, D2
• CH2 digital output value (32bit) ...............................D3, D4
• Warning output flag..................................................D5
Process alarm ..........................................................M12, M13
• Input signal error detection flag ...............................D6, M30
• Error code.................................................................D7
Summary of Contents for GX Configurator-AD
Page 2: ......
Page 23: ...2 6 2 6 MELSEC Q 2 SYSTEM CONFIGURATION MEMO ...
Page 120: ...5 31 5 31 MELSEC Q 5 UTILITY PACKAGE GX Configurator AD MEMO ...
Page 145: ...6 25 6 25 MELSEC Q 6 PROGRAMMING MEMO ...
Page 207: ......