3. AIAO Units
MN05003006E F or more information visit:
w w w. e a t o n . c o m
1-31
GAIN to 13mA
(K2,600).
y
X0 = On: Set the output mode for channels CH1 ~ CH4 to mode 3.
y
X1 = On: Set the OFFSET value for CH1 ~ CH4 to 6mA (K1,200) and the GAIN value
to 13mA (K2,600).
y
M0 = On: Disable modifying the Gain and Offset values.
2. Program
explanation
y
When X0 = On, set CR#1 to K1755 (H’6DB, i.e. 0000 0110 1101 1011 in binary) and
the output mode for CH1 ~ CH4 to mode 3 (current output mode).
y
When X1 = On, write K0 (OFFSET value for CH1 ~ CH4) to CR#18 ~ 21 and K2,600
(GAIN value for CH1 ~ CH4) to CR#24 ~ 27.
y
When X1 goes from On to Off, set M0 = On to disable the adjustment on D/A
conversion curve. Write K585 (H’249, i.e. 0000 0010 0100 1001 in binary) into CR#33
to disable the adjustment on D/A conversion curve in CH1 ~ CH4.
3. Program
example
Ladder diagram:
Explanation:
Set CH1 ~ CH4 to mode 3
(current output mode)
Set the OFFSET value of CH1 ~
CH4
Set the GAIN value of CH1 ~
CH4
X0
M0
X1
K0
K24
K4
K0
K33
K1
K0
K1
TOP
K0
K4
M0
TOP
TOP
TOP
X1
K1
H6D8
K18
K1200
K2600
SET
H249
Disable modifying the Gain and
Offset values
3.1.2.9 Applications
Analog Current Output
1. Explanation
y
Assume there is a device that requires a 0-20ma analog signal for control.
y
Configure analog output channel CH1 to mode 3, i.e. the current output mode (0mA ~
20mA)
2. Addresses
y
D0: current (ma) output for CH1
y
D40: digital value corresponding to the output current for CH1
3. Wiring
y
Connect the analog current output (CH1) of the ELC-AN04NANN module as shown
below: