Appendix F: Convert Voltage/Current to DAC
Manual Documentation Number: ZXTx-IO-x-2310m ···············································
59
A
A
p
p
p
p
e
e
n
n
d
d
i
i
x
x
F
F
:
:
C
C
o
o
n
n
v
v
e
e
r
r
t
t
V
V
o
o
l
l
t
t
a
a
g
g
e
e
/
/
C
C
u
u
r
r
r
r
e
e
n
n
t
t
t
t
o
o
D
D
A
A
C
C
In Zlinx Xtreme I/O modules, analog inputs are 16 bit and analog outputs are 12 bit. The Modbus register scaling for the analog
inputs and outputs for different selections are shown below:
1.
Analog Output (0-10 VDC Selection):
Voltage Full Range = 0-10VDC
DAC full range is 4096 counts as AO’s are 12Bit (0-4095 range), 4096
Holding Register Value to Send = Voltage Desired * 4096 / 10
(ex) For sending out 2.5V, Holding Register Value = 2.5 * 4096 / 10 = 1024
2.
Analog Output (0-5 VDC Selection):
Voltage Full Range = 0-5VDC
DAC full range is 4096 counts as AO’s are 12Bit (0-4095 range), 4096
Holding Register Value to Send = Voltage Desired * 4096 / 5
(ex) For sending out 2.5V, Holding Register Value = 2.5 * 4096 / 5 = 2048
3.
Analog Output (0-20 mA Selection):
Current Full Range = 0-20mA
DAC full range is 4096 counts as AO’s are 12Bit (0-4095 range), 4096
Holding Register Value to Send = Current Desired * 4096 / 20
(ex) For sending out 10 mA, Holding Register Value = 10 * 4096 / 20 = 2048
4.
Analog Output (4-20 mA Selection):
Current Full Range = 4-20mA
DAC full range is 4096 counts as AO’s are 12Bit (0-4095 range), 4096
Holding Register Value to Send = (Current Desired-4) * 4096 / 16
(ex) For sending out 10 mA, Holding Register Value = (10-4) * 4096 / 16 = 1536
5.
Analog Input (0-10 VDC Selection):
Voltage Full Range = 0-10VDC
DAC full range is 65536 counts as AI’s are 16 Bit (0-65,535 range), 65,536
Input Register Value = Actual Voltage * 65536 / 10
(ex) Input register value for 2.5V = 2.5 * 65536 / 10 = 16384
6.
Analog Input (0-5 VDC Selection):
Voltage Full Range = 0-5 VDC
DAC full range is 65536 counts as AI’s are 16 Bit (0-65,535 range), 65,536
Summary of Contents for ZXT9-IO-222R2
Page 6: ......