23
3D sensor
UK
9.3.3 Transmit process values of the completeness monitoring via TCP/IP
The device can transmit the process values to a PLC via the TCP/IP protocol. The process values are
displayed in the ifm Vision Assistant as output string as below:
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:
●
Semicolons ";" in the output string are not transferred.
●
All numerical values are converted into binary 16-bit integers before the transmission.
The output string is composed of the following (data type: ASCII):
star
;
0
;
00
;
0
;
+0.000
;
01
;
7
;
-0.068
;
02
;
6
;
+0.013
;
03
;
0
;
+0.001
;
stop
Process value
Unit
Description
star
Start string
0
Status of all ROIs (0 = bad, 1 = good)
00
ROI ID
ROI status:
0 = good
1 = reference level not taught
2 = teaching failed
3 = reference level invalid
4 = no valid pixels
5 = reference level does not contain any valid
pixels
6 = overfill
7 = underfill
0
ROI status
+0.000
m
ROI value
01
ROI ID
7
ROI status
-0.068
m
ROI value
02
ROI ID
6
ROI status
+0.013
m
ROI value
03
ROI ID
0
ROI status
+0.001
m
ROI value
stop
Stop string