Programming

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Programming Basics

 

Switch Control

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Table 4-2

Switch Control Commands

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

:ROUT:OPEN:CARD card_no

 

by card_no.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

@

 

 

 

Card No. Channel No.

 

:

 

Card No.

Channel No.

 

 

 

)

 

 

 

 

 

 

 

(1digit)

(4 digits)

 

 

 

i

(4 digits)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(1digit)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Agilent B2200 User’s Guide, Edition 2

4-5

Page 103
Image 103
Agilent Technologies B2201A Switch Control Commands Functions, Card No, Channel No, Syntax of channellist Parameter