Balluff Network Interface / IO-Link BNI IOL-719-002-Z012
www.balluff.com
12
3
Getting Started
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:
Input voltage [V] = (PortValue − 2
𝑁
) ∗
V
max
2
(N−1)
− 1
= ( ABC
ℎ𝑒𝑥
− 2
12
) ∗
10.5𝑉
2
(12−1)
− 1
= −6.915 𝑉
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):
Input voltage [V] = PortValue ∗
V
max
− V
min
2
N
− 1
+ 𝑉
𝑚𝑖𝑛
Current input (0-20mA, 4-20mA):
Input current [mA] = PortValue ∗
I
max
− I
min
2
N
− 1
+ 𝐼
𝑚𝑖𝑛
Pt100, Pt1000, Typ J, Typ K, Typ C:
Temperature [°C] = PortValue ∗
T
max
− T
min
2
N
− 1
+ T
min
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.
Input voltage [V] = PortValue ∗
V
max
− V
min
2
N
− 1
+ 𝑉
𝑚𝑖𝑛
= 9029 ∗
10.5𝑉 − (−0.5V)
2
14
− 1
+ (−0.5𝑉) = 5.562𝑉
Summary of Contents for BNI IOL-719-002-Z012
Page 1: ...BNI IOL 719 002 Z012 english User s Guide deutsch Betriebsanleitung...
Page 2: ...www balluff com...
Page 3: ...BNI IOL 719 002 Z012 Bedienungsanleitung...
Page 37: ...BNI IOL 719 002 Z012 User s Guide...
Page 71: ...BNI IOL 719 002 Z012...
Page 104: ...IO Link BNI IOL 719 002 Z012 www balluff com 33...