
10.7
Date Code 20070117
Instruction Manual
SEL-351-5, -6, -7 Relay
Serial Port Communications and Commands
Communications Protocol
2. The relay transmits all messages in the following format:
<STX><MESSAGE LINE 1><CRLF>
<MESSAGE LINE 2><CRLF>
.
.
.
<LAST MESSAGE LINE><CRLF>< ETX>
Each message begins with the start-of-transmission character
(ASCII 02) and ends with the end-of-transmission character
(ASCII 03). Each line of the message ends with a carriage
return and line feed.
3. The relay implements XON/XOFF flow control.
The relay transmits XON (ASCII hex 11) and asserts the RTS
output (if hardware handshaking enabled) when the relay input
buffer drops below 25 percent full.
The relay transmits XOFF (ASCII hex 13) when the buffer is
over 75 percent full. If hardware handshaking is enabled, the
relay deasserts the RTS output when the buffer is
approximately 95 percent full. Automatic transmission sources
should monitor for the XOFF character so they do not
overwrite the buffer. Transmission should terminate at the end
of the message in progress when XOFF is received and may
resume when the relay sends XON.
4. You can use the XON/XOFF protocol to control the relay
during data transmission. When the relay receives XOFF
during transmission, it pauses until it receives an XON
character. If there is no message in progress when the relay
receives XOFF, it blocks transmission of any message
presented to its buffer. Messages will be accepted after the
relay receives XON.
The CAN character (ASCII hex 18) aborts a pending
transmission. This is useful in terminating an unwanted
transmission.
Control characters can be sent from most keyboards with the
following keystrokes:
XON:
<Ctrl> Q
(hold down the Control key and press Q)
XOFF:
<Ctrl> S
(hold down the Control key and press S)
CAN:
<Ctrl> X
(hold down the Control key and press X)
SEL Distributed Port Switch Protocol (LMD)
The SEL Distributed Port Switch Protocol (LMD) permits multiple SEL
relays to share a common communications channel. The protocol is selected
by setting the port setting PROTO = LMD. See
for more information.
Summary of Contents for SEL-351-5
Page 10: ...This page intentionally left blank ...
Page 22: ...This page intentionally left blank ...
Page 40: ...This page intentionally left blank ...
Page 80: ...This page intentionally left blank ...
Page 202: ...This page intentionally left blank ...
Page 238: ...This page intentionally left blank ...
Page 320: ...This page intentionally left blank ...
Page 402: ...This page intentionally left blank ...
Page 436: ...This page intentionally left blank ...
Page 478: ...This page intentionally left blank ...
Page 500: ...This page intentionally left blank ...
Page 594: ...This page intentionally left blank ...
Page 598: ...This page intentionally left blank ...
Page 622: ...This page intentionally left blank ...
Page 644: ...This page intentionally left blank ...
Page 674: ...This page intentionally left blank ...