Switching Channels; Example: Opening/Closing Channels (Basic); Example: Voltage Switching (Basic) - Agilent Technologies E1463A User's Manual And Scpi Programming Manual

32-channel, 5 amp, form c switch scpi programming guide
Hide thumbs Also See for E1463A:
Table of Contents

Advertisement

Switching Channels

Example:
Opening/Closing
Channels (BASIC)
Example: Voltage
Switching (BASIC)
34 Using the Form C Switch
For general purpose relay operation, you can connect or disconnect a load
by opening or closing specified channel relays. By adding exterminal pull-up
resistors, the switch can be configured for digital output operations.
Use CLOS <channel_list> to connect a channel's normally open (NO)
terminal to its common (C) terminal or use OPEN channel_list to connect
a channel's normally closed (NC) contact to its common (C) terminal. The
channel_list has the form (@ccnn) where cc = card number (01-99) and
nn = channel number (00-31).
To OPEN or CLOSe multiple channels place a comma (,) between the
channel numbers. For example, to close channels 101 and 103 execute
CLOS (@101,103). To OPEN or CLOSe a continuous range of channels
place a colon (:) between the first and last channel numbers.
This BASIC program shows one way to close and open channel 2 on an
E1463A Form C module (card #1).
NOTE
Implied commands are those that appear in square brackets ([ ]) in the
command syntax. The brackets are not part of the command and are not
sent to the instrument. For example, in the following program, ROUTe can
be eliminated and just the CLOSe command can be used.
10 DISP "TEST E1463A Module"
20 OUTPUT 70915; "ROUT:CLOS (@102)"
30 OUTPUT 70915; "ROUT:OPEN (@102)"
40 END
This example closes channel 00 of a Form C switch module to switch the
load voltage (E) from load 1 to load 2. When the channel relay is open, the
load voltage is applied to load 1. When the relay is closed, the voltage is
applied to load 2. See Figure 2-1 for typical user connections. The program
shows how to close channel 00 of the E463A Form C Switch. To open
channel 00, use OPEN (@100).
10 DISP "Testing the E1463A"
20 OUTPUT 70915; "CLOS (@100)"
30 END
!Close channel 00 relay (connect
NO to C). 1 is the card number
and 00 is the channel number.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents