1 xon xoff method, 2 echo mode, Caution – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.2.38 to 2.47 User Manual

Page 114: Xon xoff method -50, Echo mode -50

Advertising
background image

3-50

BOP HIPWR 080709

by the command originator. When the line is parsed and the commands are sent to the analog
processor, the BOP sends the line terminator sequence CR LF to the command originator.

The ESC character is used for synchronization, causing the BOP to reset its input buffer and
return a CR LF sequence.

The XON character enables the transmitter if XON/XOFF flow control is enabled (see PAR.
3.5.3.2.2 and Table 3-16).

The XOFF character stops data transmission if XON/XOFF flow control is enabled (see PAR.
3.5.3.2.2 and Table 3-16).

The CAN character resets the receive and transmit pointers and queues.

CAUTION: When the serial port has received an XOFF, the error message -400, QUE

error will be placed in the queue to indicate the loss of transmitted informa-
tion due to a received XOFF character. When XON is received, the unit will
transmit all data in it's buffer followed by the exclamation character (!). This
(!) character is not part of any message from the BOP and indicates the
transmission buffer has been cleared and the BOP is idle.

All non-control characters are sent via the serial port of the command originator. The control
character BS is echoed as BS Space BS. Only the first control character is returned in response
to either a CR LF or LF CR character sequence (see Figure 3-17).

3.5.6.2.1 XON XOFF METHOD

The XON XOFF method allows the BOP to control when the command originator is allowed to
send data. The command originator can only send data after the XON (transmission on) charac-
ter (011

H

) has been received; the command originator stops sending data after receiving the

XOFF (transmission off) character (013

H

), and waits until the XON character is received before

sending additional data.

Control characters, either CR or LF, are returned as XOFF CR if echo mode is on, and as XOFF
if echo mode is off. XOFF stops data from the command originator and the BOP returns the nor-
mal sequence of CR LF (if echo mode is enabled).

3.5.6.2.2 ECHO MODE

Echo mode is one method of ensuring data is transferred without errors. This mode should only
be enabled when errors in operation are detected.

Each byte (character) is echoed back to the sender where it is verified as the same character
that was just sent. If the wrong character is echoed back, sending the ESC character clears the
line to allow retransmission of the character. It is important the CR and LF characters are NOT
sent until the verification process is complete.

When working in echo mode, it is possible to receive the NAK (15 hex) from the BOP. This indi-
cates an unknown quantity of echoed characters have been lost due to a queue overflow prob-
lem. The error queue will also contain the -400, QUE error message, To prevent this, please
insure the received data string does not exceed 127 characters between line terminators and no
more than four queries are sent between line terminators in SCPI mode of operation

All non-control characters are sent via the serial port of the command originator.

Advertising