Remote Control
Page 24
4.6 Common Command Set
As specified in the IEEE 488.2 standard, a number of common commands are required
to set up and control of standard functions of remote controlled devices. These common
commands are as follow:
*CLS CLEAR STATUS COMMAND
Type: Status command
Function: Clears the Event Status Register (ESR). Clearing the Event Status
Register will also clear ESB, the bit 5 of the Status Byte Register
(STB). It has no effect on the output queue (bit 4 of the STB).
*ESE <NRF> EVENT STATUS ENABLE
Type: Status command
Function: Sets the Event Status Enable Register (ESER) using an integer value
from 0 to 255, representing a sum of the bits in the following bit map:
Bit: 76543210
1 = Operation Complete
1 = Request Control (not used)
1 = Query Error
1 = Device Dependant Error (not used)
1 = Execution Error
1 = Command Error
1 = User Request (not used)
1 = Power On
Bit 7 to 0 have a respective value of 128, 64, 32, 16, 8, 4, 2 and 1. For example if bit 3
and 5 are set then the integer value is 40 (8+32).
The ESER masks which bits will be enabled in the Event Status Register (ESR).