Contec CONPROSYS nano CPSN-PCB271-S1-041 Reference Manual page 70

Table of Contents

Advertisement

CPSN-AI-1208LI
I/O Mapping Name
Analog input data
Analog input data
(Industrial value)
*1 The measurement data are returned in an integer value 0 - 4095.
When converting the measurement data into voltage or current values, use the following conversion
formula.
Conversion formula:
Input voltage (V) = Measurement data x Span / 2
Input current (mA) = Measurement data x Span / 2
Analog input range
±10V
±5V
±2.5V
0-10V
±20mA
The table below is the conversion example when analog input range is set to "±10V".
Input voltage (V)
+9.995117
+0.004883
+0.000000
-0.004883
-10.000000
*2 The voltage value (V) or current value (mA) is returned in single-precision floating- point number type.
For example, if the input voltage is 1.5V, "1.5" will be set.
This is supported when using firmware Ver1.30, and with definition information Ver1.1.0.0 or later versions
for the CPSN-AI-1208LI
When the firmware is Ver1.20 or earlier versions, use the Ver1.0.0.0 definition information.
Basic Programming
CPSN-PCB271-S1-041 Reference Manual (Software)
Notation on CODESYS
ai 0-7
ai 0-7
(industrial value)
:
:
— 70 —
Size
Number
Access
16bit
8
32bit
8
- Off-set
12
- Off-set
12
Span
20
10
5
10
40
Analog input data(h)
Remarks
Higher 4 bits: 0 fixed
R
Lower 12 bits:
Measurement data *1
*2
R
Off-set
10
5
2.5
0
20
0FFF
:
0801
0800
07FF
:
0000

Advertisement

Table of Contents
loading

Table of Contents