
—
Basic Programming
—
CPSN-PCB271-S1-041 Reference Manual (Software)
—
70
—
CPSN-AI-1208LI
I/O Mapping Name Notation on CODESYS Size
Number Access
Remarks
Analog input data
ai 0-7
16bit
8
R
Higher 4 bits: 0 fixed
Lower 12 bits:
Measurement data *1
Analog input data
(Industrial value)
ai 0-7
(industrial value)
32bit
8
R
*2
*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
12
- Off-set
Input current (mA) = Measurement data x Span / 2
12
- Off-set
Analog input range
Span
Off-set
±10V
20
10
±5V
10
5
±2.5V
5
2.5
0-10V
10
0
±20mA
40
20
The table below is the conversion example when analog input range is set to "±10V".
Input voltage (V)
Analog input data(h)
+9.995117
0FFF
:
:
+0.004883
0801
+0.000000
0800
-0.004883
07FF
:
:
-10.000000
0000
*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.
Содержание CONPROSYS nano CPSN-PCB271-S1-041
Страница 21: ...21 CONPROSYS nano WEB Setting This section describes the product system and functions...
Страница 49: ...49 CODESYS Installation This section describes the CODESYS installation procedure...
Страница 55: ...55 Basic Programming This section describes basic procedure to operate this product with CODESYS...
Страница 76: ...76 Programing with CODESYS This section describes the CODESYS programming procedure per function...
Страница 118: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 118 5 END_CASE...
Страница 122: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 122...
Страница 133: ...133 Maintenance This section describes how to perform maintenance on the product...
Страница 140: ...140 Appendix This section describes additional information of specification and the product...