Using the Command/Response Tables
SIS commands consist of a string (one or more characters per command field). No
special characters are required to begin or end a command sequence. When the DMP 64
determines a command is valid, it executes the command and sends a response to
the host device. All responses end with a carriage return and a line feed (CR/LF =
]
),
signaling the end of the response character string.
When programming, certain characters are more conveniently represented by their
hexadecimal rather than ASCII values. The table below shows the hexadecimal equivalent
of each ASCII character:
ASCII to HEX Conversion Table
•
Figure 36.
ASCII to Hex Conversion Table
The command/response tables list valid ASCII (for Telnet or RS-232) command codes, the
corresponding URL (uniform resource locator) encoded (for Web browsers) command
codes, the DMP 64 responses to the host, and a description of the command function or
the results of executing the command.
Symbol definitions
]
= CR/LF (carriage return/line feed) (hex 0D 0A)
}
= Carriage return (no line feed, hex 0D)
(for URL-encoded commands, use the pipe character,
|
, instead)
•
=
Space character (%20 for web browser)
|
=
Pipe (vertical bar) character
* =
Asterisk character (which is a command character, not a variable)
E
= Escape key (hex 1B)
(use
W
instead of
Esc
for Web browsers)
NOTE:
For Web encoding only: data will be directed to the specified port and
must be encoded (URL encoding) if it is non-alphanumeric. Change any
non-alphanumeric character (%, +,
|
,
}
, etc.) within the data section into
the corresponding hexadecimal equivalent, %xx, where xx represents the two-
character hex byte. For example, a space (hex: 20) would be encoded as %20
and a plus sign (hex: 2B) would be encoded as %2B.
Error Responses
When the DMP 64 is unable to execute the command, it returns an error response to the
host. The error response codes and their descriptions are as follows:
E01 - Invalid input number (number is too large)
E23 - Checksum error (for file uploads)
E12 - Invalid port number
E24 - Privilege violation
E13 - Invalid parameter (number is out of range)
E25 - Device is not present
E14 - Not valid for this configuration
E26 - Maximum connections exceeded
E17 - System timed out
E27 - Invalid event number
E22 - Busy
E28 - Bad filename or file not found
DMP 64 • SIS Programming and Control
53
Summary of Contents for DMP 64
Page 4: ......