13-21
IM 2560A-01EN
13-21
Commands
3
2
1
4
5
6
7
8
9
10
11
12
13
14
15
16
App
Index
3
2
1
4
5
6
7
8
9
10
11
12
13
14
15
16
App
Index
*TST?
Function
Executes a self-test and queries the result.
Syntax
*TST?
Example
*TST? -> 0
Description • For details on the self-test, see section 15.7.
• This command returns 0 if the self-test is
successful and 1 otherwise.
• It takes approximately 1 seconds for the test
to complete. When receiving a response from
the 2560A, set the timeout to a relatively large
value.
*WAI
Function
Holds the execution of the subsequent command
until the specified overlap command is completed.
Syntax
*WAI
Example
*WAI
Description The 2560A does not have overlap commands.
This command will be ignored.
*SRE
Function
Sets or queries the service request enable
register value.
Syntax
*SRE {<NRf>}
*SRE?
<NRf> = 0 to 255
Example
*SRE 239
*SRE? -> 175
(because the
bit 6, MSS
,
setting is ignored)
Description • Specify the value as a sum of the values of
each bit in decimal format.
• For example, specifying *SRE 239 will cause
the standard enable register to be set to
11101111.
In this case, bit 4 of the service request enable
register is disabled. This means that bit 4 (MAV)
of the status byte register is not set to 1, even
if the output queue is not empty.
• Bit 6 (MSS) of the status byte register is the
MSS bit itself and is therefore ignored.
• The default value is *SRE 0 (all bits disabled).
• A query using *SRE? will not clear the contents
of the service request enable register.
• For information about the service request
enable register, see section 14.1.
*STB?
Function
Queries the Status Byte Register value.
Syntax
*STB?
Example
*STB? -> 4
Description • A sum of the values of each bit is returned as a
decimal value.
• Because the register is read without executing
serial polling, bit 6 is an MSS bit, not an RQS
bit.
• For example, if a value of 4 is returned, this
indicates that the status byte register is set to
00000100.
This means that the error queue is not empty (in
other words, an error occurred).
• A query using *STB? will not clear the contents
of the status byte register.
• For information about the status byte register,
see section 14.2.
13.10 Common Command Group