Descriptions of GPIB Interface (Commands Same as RS232 Interface)
5-19
5.3.4 Common Use Commands
(1) The syntax of common use commands
The GPIB commands for 16502 are divided into general commands (as listed
above) and common use commands. The general commands are in tree structure, while
the common use commands have no such structure and can be given in the following
format no matter which level it is on:
* RST
(2) Either upper or lower case is ok for the letters.
(3) A star “*” has to be the leading character of each command.
(4) End of Character
There three types of end of character: [CARRIAGE RETURN] (0Dh), [NEW LINE](0Ah)
and [CARRIAGE RETURN](0Dh) + [NEW LINE](0Ah).
It queries the identification string of 4 columns (separated by
comma.) They are manufacturer’s name, model number,
serial number and firmware version in order as well as
attached with 0 at last. Typically, return the ID string
“Chroma, 16502, AAR165020042, 1.21,0”
Initialization 16502 parameter is the power-on status.
TRIG, KEYLOCK,GPIBADDRESS, BAUDRATE, etc
parameters are not influenced.
It runs self-test and returns the test result summary of errors.
Return:
It informs the 16502 to set the event register to OPC bit (bit
0) when the operation command is done.
It returns 1 when all operations and queries are done.
It clears status data and the execution as described below.
It clears error queue.
It clears standard event status register.
It clears status byte register.
It clears operation event register.
It sets the standard event status started register.
It queries the bit in the standard event status started register.
It qureries the text of standard event status register. By
using this command to read out the standard event status
register for clearing the text. The query returns a numeric
value in the format <NR1>.
It sets the bit in the status byte started started register.
It qureries the decimal representation in the text of status
byte started register.
It qureries the text of status byte register. The query returns
a numeric value in the format <NR1>.
It recalls the below number of meter status that saved in
EEPROM.