E L C O p e r a t i o n M a n u a l
F o r m o r e i nf o r m a t i o n v i sit :
w w w. e a t o n . c o m
MN05003006E
1-134
4. Program
example
Ladder Diagram:
Explanation:
Set CH3 to mode 4
(current input mode)
Set the Offset value for
CH3
Set the Gain value for
CH3
X0
M0
X1
K0
K36
K1
K0
K40
K1
K0
K1
TOP
K0
K1
M0
TOP
TOP
TOP
X1
SET
H4
K12800
K22400
H4
K4
K30
Disable CH3 configuration
changes.
Adjusting D/A Conversion Curve in Voltage Output Mode
1. Description
y
CH5 example. When CR#6 is set to voltage output mode (mode 0), the Offset value
will be set to 0V (0) and the Gain value to 5V (5V/0.3215mV=16,000), i.e. output
voltage -10V ~ 10V will correspond to values -32,000 ~ +32,000.
y
If the default voltage output mode (mode 0) does not meet the application
requirements, make adjustments to the D/A conversion curve. For example, set the
Offset of CH5 ~ CH6 to 2V (2V/0.3215mV=6,400) and the Gain to 6V
(6V/0.3215mV=19,200).
( )
(
)
⎟
⎠
⎞
⎜
⎝
⎛
×
⎥⎦
⎤
⎢⎣
⎡
+
−
×
=
32000
)
(
10
16000
V
Offset
Offset
Gain
X
V
Y
Example: If X=16000, Y=?
( )
(
)
)
(
6
32000
)
(
10
6400
16000
6400
19200
16000
V
V
V
Y
=
⎟
⎠
⎞
⎜
⎝
⎛
×
⎥⎦
⎤
⎢⎣
⎡
+
−
×
=
2. Addresses
y
X0 = On: Set the output mode for CH5 to mode 0.
y
X1 = On: Set the Offset value for CH5 to 2V (6,400) and the Gain to 6V (19,200).
y
M0 = On: Disable changing CH5 configuration.
3. Program
Description
y
When X0 = On, write K0 (H’0000) to CR#6 to configure CH5 to mode 0 (voltage
output mode).
y
When X1 = On, write K6400 (Offset value for CH5) into CR#32 and K19,200 (Gain
value for CH5) into CR#38.
y
When X1 goes from On to Off, set M0 = On to disable changes to the D/A conversion