![Leuze DCR 258i Скачать руководство пользователя страница 96](http://html1.mh-extra.com/html/leuze/dcr-258i/dcr-258i_original-operating-instructions_1883777096.webp)
Interfaces – Communication
Leuze electronic GmbH + Co. KG
DCR 258i
96
11
Interfaces – Communication
Commands can be used to send commands directly to the code reader for control and configuration. The
following transmission options are available for the commands:
• Online commands via the Ethernet or RS 232/RS 422 interface (see chapter 11.1 "Online commands")
• XML-based communication via the Ethernet interface (see chapter 11.2 "XML-based communication")
11.1
Online commands
11.1.1 Overview of commands and parameters
Online commands can be used to send commands directly to the code reader for control and configuration.
For this, the code reader has to be connected to a computer (host) via the serial interface or the Ethernet
interface (see chapter 8.3.4 "Ethernet host communication").
Online commands offer the following options for controlling and configuring the code reader:
• Control/decode the reading gate
• Read/write/copy parameters
• Carry out an automatic configuration
• Teach-in/set reference codes
• Call up error messages
• Query statistical device information
• Perform a software RESET and re-initialize the code reader
Syntax
Online commands consist of one or two ASCII characters followed by command parameters.
No separation characters may be entered between the command and the command parameter(s). Both
small and capitalized letters can be used.
Example:
Command ’
CA
’:
Auto setup function
Parameter ’
+
’:
Activation
Transmitted is:
’
CA+
’
Notation
Commands, parameters and returned data are enclosed between single quotation marks ’ ’ in the text of
this manual.
Most online commands are acknowledged by the device and any requested data returned. For commands
that are not acknowledged, command execution can be observed or monitored directly on the device.