User`s manual
6 - 2 6 - 2
MELSEC-Q
6 PROGRAMMING
6.2 For Use in Normal System Configuration
System configuration used in the program explanation
(1) System configuration
Q
n
C
P
U
Q
X
1
0
Q
Y
1
0
X/Y0
X/YF
X/Y10
X/Y1F
X/Y20
X/Y2F
Q
6
2
D
A
F
G
Power
supply
module
to to to
Perform the following intelligent function module switch settings in advance.
• Switch 1 0030
H
(CH1: 4 to 20mA, CH2: 0 to 5V)
• Switch 2 Empty
• Switch 3 0000
H
(CH1, CH2: Clear)
• Switch 4 0000
H
(Normal mode (D/A conversion processing))
• Switch 5 0000
H
(0: Fixed)
(2) Program conditions
The digital values of CH1 and CH2 are written and their output monitor values
are read.
If a digital value write error occurs, the corresponding error code is displayed in
BCD.
(a) Initial settings
• Analog output enabled channel....................CH1, CH2
• Rate control enabled channel....................... CH1 (increase digital limit
value: 100, decrease digital
limit value: 30)
• Disconnection detection enabled channel ...CH1
• Warning output enabled channel..................CH2 (warning output upper
limit value: 10000, warning
output lower limit value: 3000)
(b) Devices used by user
• Output enable...........................................................X11
• Digital value write signal ..........................................X12
• Disconnection detection reset signal.......................X13
• Warning output reset signal.....................................X14
• Error code reset signal.............................................X15
• Error code display (BCD 3 digits) ............................Y20 to Y2B
• CH1 digital value......................................................D11
• CH2 digital value......................................................D12
• CH1 output monitor value........................................D13
• CH2 output monitor value........................................D14
• Disconnection detection flag....................................D15
• Warning output flag..................................................D16
• Error code.................................................................D17
• Disconnection detection channel flag......................M10
• Warning output channel flag....................................M22, M23
6