beautypg.com

Switch control, Switch control -5 – Agilent Technologies B2201A User Manual

Page 103

background image

Agilent B2200 User’s Guide, Edition 2

4-5

Programming

Programming Basics

Switch Control

The following commands are used to control open/close of the specified switch.

Table 4-2

Switch Control Commands

The channel_list is the parameter which determines the input-output cross points to
open/close. Figure 4-1 shows the basic syntax of the channel_list parameter.

In the channel_list, you can specify one or more channels. Each specified channel
consists of five digits.

Card No.:

One digit. 0 when the channel configuration mode is AUTO. Or
the slot number (1 to 4) that installs the switch module when the
mode is NORMAL.

Channel No.:

First two digits: specifies input port. 01 to 14.

Last two digits: specifies output port. 01 to 12, 01 to 24, 01 to
36, or 01 to 48 for the AUTO mode. It depends on the number
of modules installed in the mainframe from slot number 1
continuously. Or 01 to 12 for the NORMAL mode

See Figure 1-4.

Figure 4-1

Syntax of channel_list Parameter

Functions Commands

Closes the relays specified by channel_list.

:ROUT:CLOS channel_list

Opens the relays specified by channel_list.

:ROUT:OPEN channel_list

Opens the all relays on the card specified
by card_no.

:ROUT:OPEN:CARD card_no

Channel No.
(4 digits)

Card No.
(1digit)

@

Channel No.
(4 digits)

Card No.
(1digit)

(

:

,

)

Channel No.
(4 digits)

Card No.
(1digit)

@

Channel No.
(4 digits)

Card No.
(1digit)

(

:

,

)

This manual is related to the following products: