E.2
SEL-351A Relay Instruction Manual Date Code 20080213
Compressed ASCII Commands
CASCII Command—General Format
CASCII Command—General Format
The Compressed ASCII configuration message provides data for an external
computer to extract data from other Compressed ASCII commands. To obtain
the configuration message for the Compressed ASCII commands available in
an SEL relay, type:
CAS <CR>
The relay sends:
<STX>"CAS",n,"yyyy"<CR><LF>
"COMMAND 1",ll,"yyyy"<CR><LF>
"#H","xxxxx","xxxxx",......,"xxxxx","yyyy"<CR><LF>
"#D","ddd","ddd","ddd","ddd",......,"ddd","yyyy"<CR><LF>
"COMMAND 2",ll,"yyyy"<CR><LF>
"#h","ddd","ddd",......,"ddd","yyyy"<CR><LF>
"#D","ddd","ddd","ddd","ddd",......,"ddd","yyyy"<CR><LF>
•
•
•
"COMMAND n",ll,"yyyy"<CR><LF>
"#H","xxxxx","xxxxx",......,"xxxxx","yyyy"<CR><LF>
"#D","ddd","ddd","ddd","ddd",......,"ddd","yyyy"<CR><LF><ETX>
A Compressed ASCII command may require multiple header and data
configuration lines.
where:
n
is the number of Compressed ASCII command
descriptions to follow.
COMMAND
is the ASCII name for the Compressed ASCII command
as sent by the requesting device. The naming convention
for the Compressed ASCII commands is a “C” preceding
the typical command. For example, CSTATUS
(abbreviated to CST) is the Compressed STATUS
command.
ll
is the minimum access level at which the command is
available.
#H
identifies a header line to precede one or more data lines;
“#” is the number of subsequent ASCII names. For
example, “21H” identifies a header line with 21 ASCII
labels.
#h
identifies a header line to precede one or more data lines;
“#” is the number of subsequent format fields. For
example, “8h” identifies a header line with 8 format
fields.
xxxxx
is an ASCII name for corresponding data on following
data lines. Maximum ASCII name width is 10 characters.
#D
identifies a data format line; “#” is the maximum number
of subsequent data lines.
ddd
identifies a format field containing one of the following
type designators:
I Integer data
F Floating point data
mS String of maximum m characters (e.g., 10S for a
10-character string.
yyyy is the 4-byte hex ASCII representation of the checksum.
Courtesy of NationalSwitchgear.com