6. Programmer's Reference DVIDL-OPT series – User's Manual 22
6
Programmer's Reference
The device can be controlled through a command set of protocol commands
to ensure the compatibility with other Lightware products. The supported
commands are described in this chapter.
ç
ç
ç
ç
Lightware extenders have a special protocol, but to interoperate with third-party devices, a secondary
protocol is also provided.
Protocol Description
The protocol description hereinafter stands for Lightware protocol.
The device accepts commands surrounded by curly brackets - { } - and responds data surrounded by round
brackets - ( ) - only if a command was successfully executed. All input commands are converted to uppercase,
but respond commands can contain upper and lower case letters as well.
Legend for control commands:
Explanation
<loc> Location number in 1, 2 or 3 digit ASCII format
<id> id number in 1 or 2 digit ASCII format
<id²> id number in 2 digit ASCII format
CrLf Carriage return, Line feed (0x0D, 0x0A)
• Space character (0x20)
Each command issued by the controller
Each response received from the router
Status Commands
View Product Type
Description:
Explanation:
View Serial Number
Description: The device responds its 8-digit serial number.
Legend: < SERIAL_N > shows the serial number of the device.
Explanation: The connected device’s serial number is 3C019935.
Example
Command {I}
{i}
Response (I:<PRODUCT_TYPE>)CrLf
Example
Command {S}
{s}
Response (SN:<SERIAL_N>)CrLf
(SN:3C019935)