19
3D sensor
UK
9.3 Transmit process values
9.3.1 Transmit process values of the completeness monitoring via EtherNet/IP
The device can transmit the process values to a PLC via the EtherNet/IP 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:
● 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 16-bit integers before the transmission.
The output string is composed of the following:
star;0;00;0;+0.000;01;7;-0.068;02;6;+0.013;03;0;+0.001;stop
Byte no. Data Coding
Process
value
Unit Description Comments
0 2#0000_0000 Binary
1.5
Duplicated
command word
● Bit 1.5 shows a successful
trigger command
1 2#0010_0000 Binary
2 2#0000_0000 Decimal Synchronous /
asynchronous
message identification
3 2#0000_0000 Decimal
4 30 Decimal
30 Message counter
● The device has received
30 messages
● Increments by 1 with each
action (trigger, message
sent etc.).
5 0 Decimal
6 0 Decimal
Reserved
7 0 Decimal
8 s ASCII
star Start string
9 t ASCII
10 a ASCII
11 r ASCII
12 0 Decimal
0
Status of all ROIs
(0 = bad, 1 = good)
Shows the status of the
completeness monitoring
13 0 Decimal
14 0 Decimal
0 ROI ID
With activated position
adjustment bytes 14 and 15
are used by it.
0 = position is not adjusted
1 = position is adjusted
All following data is shifted
by 2 bytes; i.e. the first ROI
ID starts with bytes 16 and
17.
15 0 Decimal