beautypg.com

Standard event register – GW Instek PPH-1503 User Manual

Page 125

background image

REMOTE CONTROL

125

executed prior to the execution of the *OPC command, the output buffer
could become saturated and the unit will stop taking readings.

Standard Event Register

The Standard Event Register reports the following types or events:
Power on has been detected, comman syntax errors, command execution
errors, self test and execution errs, query errors or if the *OPC command is
executed. Any one or more of these events will set the standard event
summary bit in the status byte register. To set a mask for the enable register, a
binary-weighted decimal number must be written using the *ESE command.

Bit Definition for the Standared Event Register

Bit number

Decimal value

Definition

0 Operation
Complete Bit

1

The *OPC command will set this
bit when all overlapping
operations have completed
(including the *OPC command
itself).

1 Not used

2

Not used, returns 0.

2 Query Error

4

The instrument tried to read the
error queue when the queue was
empty or the queue was read
before a new command was
given or the input/output buffers
are full.

3 Device Error

8

A self-test, calibration or other
device-specific error.

4 Execution
Error

16

An execution error.

5 Command
Error

32

A command syntax error.

6 Not used

64

Not used, return 0.

7 Power On

128

This bit is set if the power supply
has been reset from the last time