![background image](http://html1.mh-extra.com/html/omega/cl3001/cl3001_user-manual_737625059.webp)
15
14
13
12
11
10
9
8
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
PON
0
CME
EXE
DDE
QYE
0
OPC
PON
Power on. This bit is set to 1 if line power has been turned
off and on since the last time the ESR was read.
CME
Command error. The IEEE-488 interface of the CL3001
encountered an incorrectly formed command and placed
an error code in the error queue. The command FAULT?
can be used to fetch error codes from the error queue,
which is described in more detail below.
EXE
Execution error. An error occurred when the CL3001 tried
to execute the last command and an error code was
placed into the error queue. This could be caused, for
example, by a parameter being out of range. The com-
mand FAULT? can be used to fetch error codes from the
error queue, which is described in more detail below.
DDE
Device-dependent error. An error related to a device-
dependent command has occurred.
QYE
Query error. The CL3001 was addressed to talk when no
response data was available or appropriate, or when the
controller failed to retrieve data from the output queue.
OPC
Operation complete. All commands previous to reception
of a *OPC command have been executed, and the inter-
face is ready to accept another message.
Figure 35 - Event Status Register (ESR) and Event Status Enable
(ESE) Registers
8) Programming the ESR and ESE
To read the contents of the ESR, send the remote command,
*ESR?. The ESR is cleared (set to 0) every time it is read. To read
the contents of the ESE, send the remote command, *ESE?. The
ESE is not cleared when it is read. When you read either register,
the CL3001 responds by sending a decimal number that when
converted to binary represents bits 0 through 15.
9) Output Queue
The output queue is loaded whenever a query is processed, and
holds up to 250 characters. The controller reads it with a
statement such as a BASIC INPUT statement, removing what it
reads from the queue. If the queue is empty, the CL3001 does
not respond to the INPUT statement from the controller. The
Message Available (MAV) bit in the Serial Poll Status Byte is 1 if
55
Содержание CL3001
Страница 103: ......