40
8-6. Sending Commands (through GP-IB or USB)
8-6-1. Precautions for sending commands
<Precautions>
・
It is possible to send several commands in a line through the GP-IB or USB by separating them
with commas (,) that serve as the separators. A single line may contain a maximum of 80
characters. (Multi-commands)
・
The PW command is used to select a unit to be controlled. Put it before other commands or
send it alone.
・
There are time lags of several dozens of milliseconds in execution of commands by the slave units.
・
When the IF-41GU/IF-41USB is used, it is possible to use the broadcast commands, ST commands
and PWID commands with several addresses specified. However, the IF-41GU/IF-41USB has a
lot of response messages. Thus, some messages may be lost unless all of these response
messages are received. (The IF-41GU/IF-41USB may store a maximum of 32 response
messages. When it receives a new message, the response messages are deleted from older ones.)
Create a program so that the status byte described in section "8-5-3. Status bytes" is monitored and
a message is received if some value is set in it. See section "8-5-4. Application configuration" above.
・
When the same command is continuously sent, execution of commands may be thinned out.
Be sure to send the respective commands at 100ms interval.
8-6-2. Selecting unit to be controlled
・
Specify a unit to be controlled using the PW command before sending a command to a PAR-A power
supply unit through the GP-IB or USB using the IF-41GU/IF-41USB or the IF-41RS and GP-620.
◆
See the command functions in section "9-7-1. Setting unit to be controlled".