
Model 8210A-2-5
IM-377
Aeroflex / Weinschel
47
Example 6: Single SPDT Switch
This example shows using the Relay Output Card (Model 193-8015) to control a SPDT RF switch (failsafe type).
Typically, a SPDT switch requires 1 control line to set the state of the switch, and the switch has two states: 0 (off, or
NC), and 1 (on, or NO). We will use Relay Output 1 from the Relay Card to control the switch. The serial number of
the Relay Output Card is serial number 110 . We will assign the name ’RLYBD’ to the Relay Card.
a. Assign a name to the Relay Output Card
Send:
ASSIGN RLYBD ’193-8015’ 110
b. Save these names in the non-volatile EEPROM memory.
Send:
SAVE ASSIGN
c. Rerun the device assignment to associate the newly defined name with the relay card
Send:
REASSIGN
The SPDT switch may now be programmed using the following commands as examples:
SWITCH RLYBD 1 ; turns on the SPDT switch (NO)
SWITCH RLYBD 0 ; turns off the SPDT switch (NC)
Example 7: Multiple SPDT Switches (Virtual Switch)
This example shows using the Relay Output Card (Model 193-8015) to control 3 SPDT RF switches (failsafe type).
Typically, a SPDT switch requires 1 control line to set the state of the switch, and the switch has two states: 0 (off, or
NC), and 1 (on, or NO). The serial number of the Relay Output Card (PN 193-8015) is serial number 110 . We will
assign the name ’RLYBD’ to the Relay Card. We will use three outputs from the Relay Card (Relay Outputs 1-3) to
control the switches, which we will name ’SW1’ thru ’SW3’, respectively. Virtual switches will be used so that
programming an individual switch will not effect the setting of the other switches.
a. Assign a name to the Relay Output Card
Send:
ASSIGN RLYBD ’193-8015’ 110
b. Create the virtual switch for the first RF switch, SW1. This switch is controlled by Output 1of the Relay
Card. The mask value for Output 1 (bit 0) is 0000 0001 binary (0x01)
Send:
ASSIGN SWITCH SW1 RLYBD 0x01
c. Create the virtual switch for the RF switch SW2. This switch is controlled by Output 2 of the Relay Card.
The mask value for Output 2 (bit 1) is 0000 0010 binary (0x02)
Send:
ASSIGN SWITCH SW2 RLYBD 0x02
d. Create the virtual switch for the RF switch SW3. This switch is controlled by Output 3 of the Relay Card.
The mask value for Output 3 (bit 2) is 0000 0100 binary (0x04)
Send:
ASSIGN SWITCH SW3 RLYBD 0x04
e. Save these names in the non-volatile EEPROM memory.
Send: SAVE
ASSIGN
SAVE ASSIGN SWITCH
f.
Rerun the device assignment to associate the newly defined names with the relay card and
the virtual switches
Send:
REASSIGN
The switches may now be programmed using the following commands as examples:
SWITCH SW1 1 ; turns on SW1 (NO)
SWITCH SW2 1 ; turns on SW2
SWITCH SW3 0 ; turns off SW3
Содержание 8210A-2-5
Страница 52: ......