Command completion (*opc), Wait for completion (*wai), Local address setting (:addr) – GW Instek PSB-2000 Series User Manual User Manual
Page 130

PSB-2000 Series User Manual
130
Command Completion (*OPC)
This command sets bit 0 of the standard event status register (ESR)
when all current overlapped commands have been processed.
Setting
*OPC
Sets bit 0 of the ESR when all current overlapped
commands are complete. A SRQ is generated depending
on the status of the ESE register and SRE register.
Query
*OPC?
The value “1” is returned when all current commands are
completed.
Wait for Completion (*WAI)
This command waits for command completion.
Setting
*WAI
Prevents new commands/queries from being executed
until all outstanding overlapped commands have
completed.
Query
None
Local Address Setting (:ADDR)
This command specifies the address of a slave unit on the local bus.
Setting
:ADDR
The
Specifies the address of a slave on the local bus to be
controlled. This command causes no error even if an out-
of-range System Address is specified.
Application
example
:ADDR3
Sets the System Address of the power supply (slave) to 3.
:ADDR1
Sets the System Address of the power supply to 1. A
System Address of 1 means that the unit is also set as a
master unit.
Query
None
Remark
The default setting is 1 (master unit). Reset
after completion of communication with the local bus.