Figure 3-16. hyper terminal ascii setup, 7 scpi programming, Scpi programming -39 – KEPCO KLN Series (750W, 1500W, 3000W), Main Contro Firmware Version 1.70 and higher User Manual

Page 85: 16 hyper terminal ascii setup -39, R. 3.7, R. 3.7, app, Re 3-16

Advertising
background image

KLN Series 051614

3-39

FIGURE 3-16. HYPER TERMINAL ASCII SETUP

c.

Check the “Send line ends with line feeds” and “Echo typed characters locally” boxes.

3. Repeat steps 1 and 2, then, from the computer via the blank HyperTerminal screen, send

syst:rem and ENTER. The green remote

LED at the KLN front panel goes on.

4. Send *idn? query to verify unit is operating properly via the LAN interface. A typical

response for a successful LAN connection is:

KEPCO,KLN 20-38E,500354,01.60

5. Send SCPI commands (see PAR. 3.7 and Appendix A and B) to drive the unit.

3.7

SCPI PROGRAMMING

SCPI (Standard Commands for Programmable Instruments) is a programming language con-
forming to the protocols and standards established by IEEE 488.2 (reference document
ANSI/IEEE Std 488.2, IEEE Standard Codes, Formats, Protocols, and Common Commands). The KLN
Power Supply supports long and short form syntax as defined in this standard. All other aspects
of this standard are specified in Appendix B of this manual. The unit ignores all incorrectly for-
matted messages, emitting an audible beep for each incorrect command sequence; the reason
for the beep is placed in the error queue.

Different programming languages (e.g., BASIC, C, PASCAL, etc.) have different ways of repre-
senting data that is to be put on the IEEE 488 bus. It is up to the programmer to determine how
to output the character sequence required for the programming language used. See Table 3-7
for VISA resource strings corresponding to RS-485, GPIB (G-suffix models only) or LAN (E-suf-
fix models only) interfaces.

TABLE 3-7. VISA RESOURCE STRING CORRESPONDING TO INTERFACE

INTERFACE

VISA RESOURCE STRING

COMMENT

GPIB

GPIB::xx::INSTR

The GPIB address replaces xx. Address information not included with
command sequences. See PAR. 3.3.17 to set GPIB address.

RS-485

ASRLy::INSTR

The com port number replaces y. RS 485 address must be included in
each command sequence. See PAR. 3.3.18 to set RS-485 address.

LAN

TCIP::192.168.0.100::5025::SOCKET

5025 is the default socket. See PAR 3.6.3.2 to verify or change the socket
port. Address information not included with command sequences.

Advertising