Interfaces – Communication
Leuze electronic
DCR 202i
53
10.1.3 Online commands for system control
Activate decoding
Deactivate decoding
10.2 XML-based communication
You can send commands for control and configuration directly to the code reader via XML-based commu
-
nication.
• The code reader must be connected to a computer (host) via the Ethernet interface (see
chapter 8.3.4 "Ethernet host communication").
• The code reader is designed as an XML server and communicates on port 10004.
Acknowledgment SST=xxxxxxxx
x stands for a single bit (value 1 or 0 )
Bit 7 is at the far left, bit 0 is at the far right
0
Ready for testing
1
The code reader is ready to receive a trigger and start a check pro
-
gram.
0
The code reader does not respond to an incoming trigger signal.
1
Operating mode
1
Process
operating mode
0
Service
operating mode
2
Device error
1
Device error, no inspection possible
0
No device error, ready
3 … 7
No function, value is always 0
Alternatively, the following acknowledgment is output:
DS=xx
x
Error acknowledgment
00
Syntax error
01
Other error
Command
SST?
Command
+
Description
The command activates configured decoding.
Parameter
None
Acknowledgment None
Command
-
Description
The command deactivates configured decoding.
Parameter
None
Acknowledgment None