![LARTET DN-107NN Series Operation Manual Download Page 23](http://html1.mh-extra.com/html/lartet/dn-107nn-series/dn-107nn-series_operation-manual_3696040023.webp)
1227K34A
2. Sending numeric values over the Profinet network
The maximum data block will be 6 bytes if we work with the Float type, or we will use B0 and
B1 if we work with the Word type.
The structure of the plot is as follows:
Being %QBx, the first output direction of the PLC with which we have configured the display
module and %QBx+1,..,%QBx+3 the direction of the successive bytes.
B0,..,B5 These are the data contained in these addresses, where:
In the
FLOAT
type:
B0: Largest Numeric Value Byte (MSB)
B1 and B2: Bytes of the numeric value.
B3: Lowest Numeric Value Byte (LSB)
B4: Heavier Byte of Decimal Point Position (MSB)
B5: Lower Weight Byte of Decimal Point Position (LSB)
In the
WORD
type:
B0: Largest Numeric Value Byte (MSB)
B1: Lower Weight Byte of Numeric Value (LSB)
Example:
The following table shows some examples for displaying numeric values with
different types of data, with the range of addresses defined in fig Fig. 10.
B4..B5
Decimal point possition
01h
00000000.0
02h
0000000.00
04h
000000.000
08h
00000.0000
10h
0000.00000
11h
000.000000
12h
00.0000000
14h
0.00000000
Table 1 Decimal point encoding
%QBx
%QBx+1 %QBx+2 %QBx+3 %QBx+4 %QBx+5
B0
B1
B2
B3
B4
B5
Type
Frame to send
Displayed Value
FLOAT
With sign
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
12,34
00h
00h
04h
D2h
00h
02h
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
-567,8
FFh
FFh
E9h
D2h
00h
01h
FLOAT
Unsigned
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
45678
00h
00h
B2h
6Eh
00h
00h
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
99,999
00h
01h
86h
9Fh
00h
04h
WORD
With sign
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
-600
FDh
A8h
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
1525
05h
F5h
WORD
Unsigned
%QB68
%QB69
%QB70
%QB71
%QB72
%QB73
62525
F4
3D