3D sensor
26
9.3.5 Transmit process values of the dimensioning of the object via PROFINET
The device can transmit the process values to a PLC via the PROFINET fieldbus. The process values are
displayed in the ifm Vision Assistant as output string as below:
Only one fieldbus can be active at a time. The fieldbus is adjustable (→ software manual).
In the output string the process values are separated by a semicolon. The output string is transferred to a
PLC in the displayed sequence.
Observe the following remarks for the transmission of the output string to a PLC:
● The output string is adjustable. The process values to be transferred can be set in the ifm Vision
Assistant.
● Bytes 0 to 7 are part of the output string. They are not displayed in the ifm Vision Assistant (see
screenshot above).
● Semicolons ";" in the output string are not transferred.
● Float values are converted into 16-bit integers before the transmission.
● All numerical values are converted into binary 16-bit integers before the transmission.
The output string is composed of the following:
star;1;0.104;0.088;0.109;+0.021;-0.011;+0.389;158;097;094;097;stop
Byte no. Data Coding
Process
value
Unit Description Comments
0 2#0010_0000 Binary
0.5
Duplicated
command word
● Bit 0.5 shows a successful
trigger command
1 2#0000_0000 Binary
2 2#0000_0000 Binary Synchronous /
asynchronous
message
identification
3 2#0000_0000 Binary
4 2#0000_0000 Binary
3 Message counter
● The device has received 3
messages.
● Increments by 1 with each
action (trigger, message sent
etc.).
5 2#0000_0011 Binary
6 2#0000_0000 Binary
Reserved
7 2#0000_0000 Binary
8 s ASCII
star Start string
9 t ASCII
10 a ASCII
11 r ASCII
12 2#0000_0000 Binary
1 Result bit
0 = no box found
1 = box found
13 2#0000_0001 Binary
14 0 Decimal
104 mm Width
15 104 Decimal
16 0 Decimal
88 mm Height
17 88 Decimal
18 0 Decimal
109 mm Length
19 109 Decimal
20 0 Decimal
21 x coordinate
21 21 Decimal