
33
────────────────────────────────────────────────────
5.3 Standard Commands
────────────────────────────────────────────────────
128
64
32
16
8
4
2
1
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Unused
MSS
ESB
MAV
Unused Unused Unused
ESE0
Status byte register (STB)
*
STB?
■
Queries the status byte register.
*
TST?
■
Requests execution of, and queries the result of, the self test.
*
WAI
■
Waits until all execution is fully completed.
Syntax
*
STB?
Function
・
Returns the set contents of the status byte register (STB) as a numerical value
in NR1 format between 0 and 1, 16 and 17, 32 and 33, 48 and 49, 64 and 65,
80 and 81, 96 and 97, 112 and 113.
・
No header is affixed to the response message.
Example
Response
16
Bit 4 of STB has been set to 1.
Error
If the response message is longer than 300 bytes, a query error is generated.
Syntax
*
TST?
Function
・
Performs the self test of the 3157, and returns the result thereof as a
numerical value in NR1 format between 0 and 3.
・
No header is affixed to the response message.
Bit 0: A ROM error occurred.
Bit 1: A RAM error occurred.
Bits 2 to 7: Unused
Example
Response
3
A ROM error (bit 0) and a RAM error (bit 1) have occurred.
Error
If the response message is longer than 300 bytes, a query error occurs.
The execution of this command in a state other than the READY state causes
an execution error.
Syntax
*
WAI
Function
The unit goes into waiting state until the operation of the previous command
has been completed.
Note
The *WAI command is accepted by the 9518-02 interface because it is a
standard command as specified by IEEE-488.2 1987. However, since all of the
commands specific to the 3157 are in any case sequential commands, using
this *WAI command never has any effect.
Error
If the data parameters are set after this command, a command error occurs.
Summary of Contents for 9518-02
Page 1: ...GP IB INTERFACE INSTRUCTION MANUAL 9518 02 3157 AC GROUNDING HiTESTER...
Page 2: ......
Page 6: ...ii Introduction...
Page 74: ...68 5 6 Initialization Items...
Page 84: ...78...