BHK-MG (OPR) 032816
3-19
3. Never program both the active and complementary limit parameter to zero. This can result in
long response times. Set the active parameter to zero and the complementary limit parame-
ter to a minimum, e.g., 10% of maximum, to ensure that the active mode is defined.
3.3.6.2
MAKING SURE THE PREVIOUS COMMAND IS COMPLETE
Some SCPI commands require a flash memory update and can take an indeterminate amount
on time to complete. These commands are:
• *SAV
• CAL:SAVE
• SOUR:CURR:LIM
• SOUR:VOLT:LIM
• SYST:COMM:GPIB:ADDR
• SYST:COMM:SER:BAUD
• SYST:COMM:SER:ECHO
• SYST:COMM:SER:PACE
• SYST:COMM:SER:PROMpt
• SYST:PASS:NEW
• SYST:SEC:IMM
When sending these via the GPIB, these commands require a query to be added to the com-
mand string to verify the previous command is complete. When the command is complete, the
unit updates the status byte and indicates MAV (Message Available, bit 4 - see Table A-3) is
true. MAV indicates that there is a response to be received by the computer, so when it
becomes set, the unit is ready for its next command after reading back the data from the query
that was added to the command string.
When sending the above commands via the RS 232 bus, data flow control must be enabled
(XON) using the SYST:COMM:SER:PACE command (see PAR. B.77) must be enabled for the
unit to properly update flash memory.
The *OPC? query is ideal to check if the previous command is complete since it returns either a
1 or 0. It is important that it be sent as a part of the same string as the command that causes a
flash update. As an example, sending CAL:SAVE 12/31/2005;:*opc? or *opc?;:CAL:SAVE
12/31/2005 are valid command strings. Sensing the commands separately will not verify that the
previous command is complete. Figure 3-2 is a program written in C, incorporating these tech-
niques.
Failure to provide an adequate delay can result in:
• Commands that are not processed,
• The following command may be received in error, causing an error in the transmission,
• Unit lock-up requiring power cycling of the unit. If working via the GPIB bus, sending
Interface Clear and Device Clear followed by *RST will unlock the unit.
Summary of Contents for BHK 1000-0.2MG
Page 2: ......
Page 6: ......
Page 17: ...BHK MG032816 xi FIGURE 1 1 BHK MG SERIES PROGRAMMABLE POWER SUPPLY ...
Page 18: ...xii BHK MG032816 ...
Page 46: ......
Page 101: ...BHK MG OPR 032816 3 55 FIGURE 3 20 SERIES AUTOMATIC CONFIGURATION ...
Page 109: ...BHK MG OPR 032816 3 63 FIGURE 3 23 PARALLEL AUTOMATIC CONFIGURATION ...
Page 114: ...3 68 BHK MG OPR 032816 FIGURE 3 25 PARALLEL MASTER SLAVE CURRENT MODE CONFIGURATION ...
Page 116: ......
Page 154: ......