Pass control – Measurement Computing Micro 488/EX rev.2.1 User Manual
Page 127

Section 5
Command Descriptions
5.57
PASS CONTROL
The PASS CONTROL command allows the Micro488/EX to give control to
another controller on the bus. After passing control, the Micro488/EX enters the
Peripheral mode (*CA). If the Micro488/EX was the System Controller, then it
remains the System Controller but it is no longer the Active Controller. The Controller
now has command of the bus until it passes control to another device or back to the
Micro488/EX. The System Controller can regain control of the bus at any time by
issuing an ABORT command.
SYNTAX
PASS CONTROL addr
or
PA addr
addr
is the bus address of the device to which control is passed.
RESPONSE
None
MODE CA
BUS STATES
ATN•UNL, MLA, TAG, UNL,TCT, *ATN
EXAMPLES
100 PRINT#1,"PASS CONTROL 22"
Control is passed to device 22.
110 PRINT#1,"STATUS 1"
Wait until we are controller
again.
120 INPUT#1,A$
Use STATUS 1 to check
130 IF LEFT$(A$,1)<>"C" THEN 110
140
The next example uses the ARM command to determine when control
has been given back to the Micro488/EX.
100 PRINT#1,"PA 22"
Control is passed to device 22.
110 PRINT#1,"ARM CO"
120 INPUT#1,A$
Wait until we are controller
130