Balluff Network Interface / IO-Link BNI IOL-719-002-Z012
www.balluff.com
Example 2:
The analog mode is set to -10V - +10V
The resolution is 12 bit.
The process data is left aligned.
The digitalized value read over IO-Link is ABC0
hex
The 12 bit value is left aligned, so the 16 bit value read over IO-Link must be shifted right by
four (the 12 bit value is ABC
hex
). The most significant bit of the 12 bit value is 1, so it
represents a negative number, therefore the voltage can be calculated with the following
formula:
3.9. Unsigned data
format
In case of unsigned data format, the selected input range will be represented as a number
between 0000
hex
and the full scale value according to the resolution (FFFF
hex
in case of 16
bit resolution). The input signal on the BNI IOL-719-002-Z012 can be calculated from the
digital value with the following formulas:
Voltage input (0V-10V, 5V – 10V, -10V - +10V, 0V - 5V, -5V - +5V):
Current input (0-20mA, 4-20mA):
Pt100, Pt1000, Typ J, Typ K:
Where:
PortValue is the digitalized value of the input signal.
N is the resolution in bits.
V
max
, I
max
, T
max
are the higher limits of the selected input range.
V
min
, I
min
, T
min
are the lower limits of the selected input range.
Example 1:
The analog mode is set to 0-10V.
The resolution is 14 bit.
The process data is right aligned.
The digitalized value read over IO-Link is 2345
hex
= 9029.
In case of 0-10V, the analog input voltage range is between -0.5V and 10.5V.
Therefore V
min
= -0.5V, V
max
=10.5V.