3. AIAO Units
MN05003006E F or more information visit:
w w w. e a t o n . c o m
1-133
y
When CR#4 is set to current input mode (mode 5), the Offset value will be set to 0mA
(0) and the Gain value to 10mA (10mA/0.625
μ
A=16,000), i.e. input current 0mA ~
+20mA will correspond to values 0 ~ +32,000.
y
When CR#4 is set to current input mode (mode 6), the Offset value will be set to 4mA
(4mA/0.625
μ
A=6,400) and Gain value to 12mA (12mA/0.625
μ
A=19,200), i.e. input
current 4mA ~ +20mA will correspond to values 0 ~ +32,000.
y
If the default current input modes (mode 4 ~ mode 6) do not meet the application
requirements, make adjustments to the A/D conversion curve. For example, Set the
Offset for CH3 to 8mA (8mA/0.625
μ
A=12,800) and the Gain to 14mA
(14mA/0.625
μ
A=22,400).
(
)
Offset
Gain
Offset
mA
mA
X
Y
−
⎟⎟
⎠
⎞
⎜⎜
⎝
⎛
−
×
×
=
32000
)
(
20
)
(
16000
Example: If X=14mA, Y=?
(
)
16000
12800
22400
12800
32000
)
(
20
)
(
14
16000
=
−
⎟⎟
⎠
⎞
⎜⎜
⎝
⎛
−
×
×
=
mA
mA
Y
2. Addresses
y
X0 = On: Set the input mode for CH3 to mode 4.
y
X1 = On: Set the Offset value for CH3 to 8mA (12,800) and the Gain value to 14mA
(22,400).
y
M0 = On: Disable CH3 configuration changes.
3. Program
description
y
When X0 = On, set CR#4 to K4 (H’4), CH3 to mode 4 (current input mode).
y
When X1 = On, write K12,800 (Offset value for CH3) into CR#30 and K22,400 (Gain
value for CH3) into CR#36.
y
When X1 goes from On to Off, set M0 = On to disable modifications to the A/D
conversion curve.