EasyManua.ls Logo

Schweitzer Engineering SEL-2032 - Special Sequences; Table 5.1 Special Characters for Use in Strings; Table 5.2 Special Message Sequences for Strings

Schweitzer Engineering SEL-2032
354 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.2
SEL-2032 Communications Processor Instruction Manual Date Code 20120126
Message Strings
Special Sequences
printable character. These sequences always begin with a backslash (\’).
Table 5.1 shows the format of the various special character sequences
available.
The following are examples of simple strings:
“Another device A literal string for “Another device”
“TRIG\nY\n String for TRIG<Enter>Y<Enter>
“\002HI\\BOB\003” String for <STX>HI\BOB<ETX>
You can use the quote character to define the beginning and end of a string. If
you do not, the SEL-2032 will put the string in quotes anyway. The only
exception is for predefined strings discussed later in this section.
Special Sequences
The SEL-2032 is preprogrammed to interpret special sequences of characters
for special purposes. You can use these special character sequences in auto-
messages or user-defined commands to control the data that are referenced by
the message and to control the response initiated by the message. These
special sequences are particularly well suited for use with non-SEL IEDs and
devices.
Message
Sequences
You may use the special character sequences listed in Table 5.2 in automatic
messages, configured with SET A, and special-purpose user-defined
command responses, configured with SET U.
Table 5.1 Special Characters for Use in Strings
Character Comments
\” The SEL-2032 interprets this as a quote character in a
string, as distinguished from quotes at the beginning and end of a string.
\\ The SEL-2032 interprets this as a backslash character in a string.
\n <Enter> sequence (CR/LF combination, just CR on SEL IED ports).
\0xx The SEL-2032 interprets this as an 8-bit character, where xx = an ASCII
character value in hexadecimal; (e.g., \004 is ASCII End-of-Text, EOT,
character). See Appendix E: ASCII Reference Table for a conversion table.
\ <Enter> Use to continue a string to the next line.
Table 5.2 Special Message Sequences for Strings (Sheet 1 of 3)
Character Comments
\CSx/ Begin checksum calculation.
x specifies checksum type.
c = CRC-16. Based on the polynomial X
16
+ X
15
+ X
2
+ 1
b = 8-bit checksum. Sum all
bytes and take least significant byte.
w = 16-bit checksum. Sum all bytes and take two-byte result.
\CE/ Stop checksum calculation.
Courtesy of NationalSwitchgear.com

Table of Contents