Herunterladen Inhalt Inhalt Diese Seite drucken

IFM Electronic O3D300 Bedienungsanleitung Seite 30

3d sensor
Vorschau ausblenden Andere Handbücher für O3D300:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

3D Sensor
Format of asynchronous notifications
The format of the asynchronous notifications is a combination of the unique message ID and a
JSON formatted string containing the notification details: <unique message ID>:<JSON content>
Example for protocol version 3:
<ticket=0010>L<length>CR+LF<ticket=0010><unique message ID>:<JSON content>CR LF
Result:
0010L000000045\r\n0010000500000:{"ID": 1034160761,"Index":1,"Name": "Pos 1"}\r\n
Explanation of the result:
Command
<ticket=0010>
L<length>
CR+LF
<ticket=0010>
<unique message ID>
<JSON content>
CR+LF
Asynchronous message IDs
Asynchronous
Description
message ID
000500000
Application
changed
000500001
Application
is not valid
30
Result
0010
L000000045
\r\n
0010
000500000
{"ID": 1034160761,"Index":1,"Name": "Pos 1"}
\r\n
Example
{"ID": 1034160761,"Index":1,"Name":
"Pos 1","valid":true}
{"ID": 1034160761,"Index":1,"Name":
"Pos 1","valid":false}
Description
If a application exists on
given index but it is invalid,
the ID and Name are filled
accoring to the application.
If there is no application on
given index, the application
ID will contain 0 and the
name an empty string "".

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

O3d312O3d310O3d302

Inhaltsverzeichnis