Phoenix Contact 2701030 NLC-050-024D-06I-04QTN-00A nanoLine Base Unit 24ßV/DC / NPN 2701030 Data Sheet
Product codes
2701030
nanoNavigator
5-12
PHOENIX CONTACT
2373_en_B
5.5
Handling Analog Values
nanoLC has a powerful set of I/O drivers that understand the difference between discrete
(individual) I/O points and I/O data representing numerical values. Some controllers impose
tedious programming tasks, such as handling sign bits separately from values, and time de-
multiplexing values for 2 to 8 channels from a single data word. nanoLC takes the usual
work out of handling analog data.
Scaling Analog Data
Analog values typically have 8 or 12 data bits. Moving analog input values from the I/O
system to data items occurs automatically during each scan, but they must be properly
configured when selected in the “nanoLC... Configuration” menu.
Analog values begin as unsigned integers. An analog channel may have 8, 10, or 12 data
bits. Once converted to an integer, analog data can be handled as any other integer.
nanoLC only supports unsigned integers, so analog values map to positive 12-bit numbers
in the default range of 0-4095. Table 5-4 shows the value mapping for the different types of
analog devices supported by the nanoLC.
When configured with scaling values, the nanoLC selects an integer value based on the
“Lower Value” and “Upper Value” specified in the analog configuration dialog (see
Figure 5-2) and the input voltage or amperage.
Figure 5-2
The nLC-IO-4AI” configuration dialog box
Table 5-4
Analog Value Mapping
Device Range/
Integer Value
4 to 20 mA
0 to 10 V
-10 to +10 V
0
4 mA
0 V
-10 V
2048
12 mA
5 V
0 V
4095
20 mA
10 V
10 V