RC Commands
R&S
®
OSP
254
User Manual 1178.7100.02 ─ 05
a 3-digit state like the
. For details, refer to the description of the mod-
ule.
●
ee
= 01 ... m (number of the
e
lement to be controlled in a module)
The number of available elements depends on the module type. Examples are 01
to 06 for the 6 SPDT relays in module
Some special modules also allow a different format, for example
eee
, if selecting the
element requires 3 digits. For details, refer to the description of the module.
If you want to address a series of relays or channels in the command
,
you can use one of the following concatenated syntax formats:
(@FxxMyy(ssee),FxxMyy(ssee),FxxMyy(ssee),...)
Sets selected relays or channels in selected modules of selected switch units to the
specified state.
(In each element of the channel list, replace the parameters
xx
,
yy
,
ss
and
ee
with
arbitrary numbers according to your needs.)
Or concatenate addressing several relays or channels within a selected module:
(@FxxMyy(sxex,syey,szez,...))
Sets several relays or channels (with numbers
ex
,
ey
,
ez
, ...) in one module to individ-
ual states (sx, sy, sz, ...). For example,
ROUT:CLOS (@F01M11(0102,0104,0105))
sets relays 2, 4 & 5 to state 1.
(@FxxMyy(ssee:ssff))
Sets a continuous range of relays or channels in one module to the same state, with
ff
=
ee
+ number of continuous relays. For example,
ROUT:CLOS (@F01M11(0101:0105))
is equal to
ROUT:CLOS
(@F01M11(0101,0102,0103,0104,0105))
.
Parameters for setting and query:
<channel list or path
name>
Channel list string as described above, specifying relays or
channels and their states to be set or queried.
Instead of an explicit channel list string, you can use a
"path
name"
(in quotation marks), previously defined by
.
Return values:
<arg1>
1
True, the relay or channel is in the state that is indicated in the
channel list.
0
False, the relay or channel is not in the state indicated in the
channel list.
Example:
Setting
:
ROUT:CLOS (@F01M01(0301),F01M02(0602))
This command has the following two effects in the switch unit
with name "F01":
Sets relay 1 of the module in slot M01 to state 3.
Sets relay 2 of the module in slot M02 to state 6.
ROUTe Commands