
Relay Switch Control
These commands control the relay switches.
Relay switches are identified using a zero-based index. Relay switch A of the left-most relay switch
module is indexed with zero.
:RELay:COUNt?
Syntax:
:RELay:COUNt?
Returns the number of available relay switches.
Example query:
REL:COUN?
Example response:
2
:RELay#:PATH
Syntax:
:REL#:PATH <int|bool>
Sets the relay switch to the specified position. Either an integer or a boolean is accepted.
To make the connection “1” to “C”, use the argument
0
or
off
.
To make the connection “2” to “C”, use the argument
1
or
on
.
Example command:
REL0:PATH 1
:RELay#:PATH?
Syntax:
:REL#:PATH?
Reports the position in which the relay switch currently is.
If the current relay switch connects “1” to “C”, the return value is
0
.
If the current relay switch connects “2” to “C”, the return value is
1
.
Example query:
REL0:PATH?
Example response:
1
:RELay#:SLOT?
Syntax:
:RELay#:SLOT?
Returns the slot number where the module is mounted which holds this relay switch. The first front-
end module slot has number 1.
Example query:
REL1:SLOT?
Example response:
7
BIT-3000 User Manual
67