beautypg.com

Gpib/rs-232c command list – AMETEK SLM-1 User Manual

Page 28

background image

GPIB/RS-232 Programming

Sorensen SLM-1 Chassis

The following RS-232 setting commands are channel-dependent commands except
”CHAN” which is a channel-specific command; therefore, for proper program execution
”CHAN” should be sent first, and then the channel-dependent command.

For example:

Short ON of Channel 1 of SL-series Electronic Load module, the RS-232
programming command is: CHAN 1;SHOR ON.

As with the GPIB commands, the following RS-232 commands with [GLOB:] option
can set all the SL-series electronic load modules in the SLM chassis to be active
simultaneously. This feature can greatly reduce the testing time and increase
efficiency.

4.3

GPIB/RS-232C COMMAND LIST

4.3.1

Command Syntax Abbreviations

SP

:Space, the ASCII code is 20 Hexadecimal.

;

:Semicolon, Program line terminator, the ASCII code is OA Hexadecimal.

NL

:New line, Program line terminator, the ASCII code is OA Hexadecimal.

N

:Integer from 1 to 8.

NR2

:Digits with decimal point. It can be accepted in the range and format of ##.#####.


Example:

30.12345, 5.0

Description of GPIB Programming Command Syntax.

{ }

:The contents of the { } symbol must be used as a part or data of the

GPIB command, it can not be omitted.

[ ]

:The contents of the [ ] symbol indicates that the command is optional,

depending on the testing application.

|

:This symbol means to make a choice between one or the other. For

example “HIGH|LOW” means it can only use HIGH or LOW as the
command, but one of the choices must be used.

Terminator

:The program line terminator character must be sent after the GPIB

command; the available command terminator characters that can be
accepted in the SLM chassis are listed in Table 4-1.

LF
LF WITH EOI
CR, LF
CR, LF WITH EOI

Table 4-1 GPIB Command Terminator

A terminator informs GPIB that it has reached the end of statement.
Normally, this is sent automatically by your GPIB programming
statements. In this manual, the terminator is assumed at the end of
each example line of code. If it needs to be indicated, it is shown by

4-2

M540070-01 Rev B