9-4 Common Commands
Send *OPC or *OPC?, separated by a semicolon, on the same line with a query (see Ref. A
in Table 9-2). If sent on separate lines, an error occurs (B). *OPC or *OPC? can also be sent on
the same line or a separate line with a c
ommand that is not a query (C and D).
Table 9-2
*OPC and *OPC? commands
Ref *OPC *OPC? Comment
A
VOLT?; *OPC SENS:NPLC?; *OPC?
Valid battery channel command line.
SOUR2:VOLTage?; *OPC SENS2:NPLC?; *OPC?
Valid charger channel command line.
B
VOLTage?; *OPC SENS:NPLC?; *OPC?
Not valid—query interrupted error.
SOUR2:VOLT?; *OPC SENS2:NPLC?; *OPC?
Not valid—query interrupted error.
C
CURR 1; *OPC SENS:NPLC 5; *OPC?
Valid battery channel command line.
SOUR2:CURR 1; *OPC SENS2:NPLC 5; *OPC?
Valid charger channel command line.
D
CURR 1; *OPC SENS:NPLC 5; *OPC?
Valid battery channel command line.
SOUR2:CURR 1; *OPC SENS2:NPLC 5; *OPC?
Valid charger channel command line.
The first line for each reference applies to the battery channel (channel #1) while the second line applies to the charger channel
(channel #2).
*SAV <NRf> — save Save present setup in memory
*RCL <NRf> — recall Return to setup stored in memory
Parameters 0 = Memory location 0
1 = Memory location 1
2 = Memory location 2
3 = Memory location 3
4 = Memory location 4
NOTE For the Models 2306-PJ and 2306-VS, the memory location settings available are
fr
om *SAV 0 -*SAV 2 and *RCL 0 -*RCL 2 (*SAV 3 and *SAV 4, and *RCL 3 and
*RCL 4 are not available).
Use the *SAV command to save the present instrument setup configuration in memory for
later rec
all. Any control affected by *RST can be saved by the *SAV command. The *RCL
command is used to restore the instrument to the saved setup configuration. Five setup
configurations can be saved and recalled. *SAV and *RCL are global commands (not channel
specific). Consequently, when a setup is saved or recalled, both channels are affected.
NOTE The output is alway
s off when a memory location is recalled.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com