![KEPCO KLR SERIES Скачать руководство пользователя страница 92](http://html1.mh-extra.com/html/kepco/klr-series/klr-series_developers-manual_1956489092.webp)
8-2
KLR-DEV 060713
BS removes the last character in the input buffer queue, with the exception of CR or LF/NL char-
acters. Either the CR or LF (NL) acts as the line terminator, initiating parsing of the ASCII data
sent to the KLR Power Supply by the command originator. When the line is parsed, the KLR
sends a) the line terminator sequence CR LF to the command originator if Prompt is enabled,or
b) the LF character if Echo is enabled and Prompt is off, or c) XON if both Echo and Prompt are
off.
The ESC character is used for synchronization, causing the KLR Power Supply to reset (clear)
its input buffer and return a CR LF sequence. The CAN character operates similarly, except that
both input and output buffers of the KLR Power Supply are reset (cleared). Note that ESC and
CAN characters must be followed by LF for the port to recognize these characters.
Six characters (#, $, !, @, &, %) are not permitted in RS 232 programming strings. These char-
acters are reserved for LAN communications, and their use in other serial programming proto-
cols will likely result in interrupted communications.
8.2.2
DATA TRANSFER PROTOCOLS [STANDARD MODELS ONLY]
RS 232 programming can be executed using either manual command/data entry, i.e. computer
keyboard commands, or electronic control (e.g. Labview or LabWindows programming). The
KLR Power Supply offers data transfer protocols tailored for each method.
Since the RS 232 protocol does not use a parity bit, Echo mode is the default method used to
ensure reliable communications between the command originator (computer) and the KLR
Power Supply. When the KLR Power Supply is in the RS 232 echo mode it returns all data
received from the host computer. Echo mode is highly recommended when using the manual
(keyboard) entry method.
The KLR Power Supply provides two additional options that allow handshake-style communica-
tion: the prompt method and the XON XOFF method. In the standard implementation of echo
mode the controller must verify that each character sent is echoed back by the KLR. However,
as can be seen in Figure 8-1, there are times when the KLR does not echo back the character
sent from the controller, requiring that the controller resend the character. By using the hand-
shake options (prompt and XON XOFF) the host computer can ensure that the serial data inter-
rupts occurring after parsing of the incoming message do not result in lost data.
Figure 8-1 illustrates the default echo mode, the prompt method and the XON XOFF methods
described in the following paragraphs.
FIGURE 8-1. RS 232 IMPLEMENTATION
[STANDARD MODELS ONLY]
Содержание KLR SERIES
Страница 2: ......
Страница 10: ......
Страница 42: ......
Страница 58: ...4 16 KLR DEV 060713 FIGURE 4 10 FUNCTION GENERATOR PANEL FIGURE 4 11 CONFIGURE User Sequence vi BLOCK DIAGRAM ...
Страница 59: ......
Страница 60: ......
Страница 61: ...FIGURE 4 13 FUNCTION GE ...
Страница 62: ......
Страница 86: ......
Страница 90: ......