KLR-DEV 060713
8-3
While both echo and prompt modes are very useful when communicating with the instrument
using manual (keyboard) entry, these functions will create problems if implemented with elec-
tronic control. For this reason the Kepco drivers for KLR will automatically disable these two
modes as part of initial instrument communications. If the input mode is subsequently changed
back to manual entry, the Echo and Prompt modes are not automatically restored; it is the user's
responsibility to re-enable these features as necessary. By contrast, XON XOFF is compatible
with both manual and electronic input methods, and Kepco strongly recommends that XON
XOFF be enabled for all communications methods.
8.2.2.1
ECHO MODE [STANDARD MODELS ONLY]
Echo mode is the default method of ensuring data is transferred without errors. Each byte (char-
acter) is echoed back to the sender where it is verified as the same character that was just sent.
If the character is incorrect or missing, the sender sends the character again until the correct
character is verified as having been received.
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 8-1).
8.2.2.2
PROMPT METHOD [STANDARD MODELS ONLY]
The command originator sends a message line (command) to the KLR Power Supply and waits
until the prompt sequence CR LF > is received. The KLR sends the prompt sequence CR LF >
to the command originator indicating the power supply is ready to receive the next command so
that data will not be lost. The prompt method is similar to the echo method described above,
except that the command originator does not have to compare each character and repeat any
characters dropped. The operation of the KLR is identical for echo mode and prompt mode;
implementation of prompt mode is at the command originator.
8.2.2.3
XON XOFF METHOD [STANDARD MODELS ONLY]
The XON XOFF method allows the KLR Power Supply to control when the command originator
is allowed to send data. The command originator can only send data after the XON (transmis-
sion on) character (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 KLR returns the nor-
mal sequence of CR LF (if echo mode is enabled).
NOTE: Kepco strongly recommends the XON XOFF method for data transfer via RS 232 pro-
tocol for all Kepco products. If this method is not selected, it is the user's responsibility
to ensure completion of any response by the power supply prior to issuance of subse-
quent commands.
Содержание 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: ......