![YOKOGAWA 7556 User Manual Download Page 113](http://html.mh-extra.com/html/yokogawa/7556/7556_user-manual_911164113.webp)
Communication
Commands
10-39
IM 755601-01E
10
Standard Event Register Operation
Standard event register is a register for the eight types
of events that occur inside the instrument. When any
of the bits becomes a “1,” bit 5 of the status byte is set
to “1” (when the corresponding bit of the standard
event enable register is also set to “1”).
Example
1. A query error occurs.
2. Bit 2 (QYE) is set to “1.”
3. If bit 2 of the standard event enable register is a “1”,
then bit 5 (ESB) of the status byte is set to “1.”
In addition, you can also check what type of event
occurred in the instrument by reading the contents
of the standard event register.
Reading the Standard Event Register
The
*ESR?
command can be used to read the contents
of the standard event register. The register is cleared
after it is read.
Clearing the Standard Event Register
The standard event register is cleared in the following
three cases.
• When the contents of the standard event register
are read using the
*ESR
command.
• When the
*CLS
command is received.
• When the instrument is powered up again.
10.3.4
Extended Event Register
The transition filter detects the changes of a particular bit of the status register and writes the result to the extended
event register.
C.F
6
MES
7
5
4
3
2
1
0
N.C
OVR
LO
HI
IN
DAV
RCL
CAL
8
STR
9
OHM
10
11
0
12
PRN
13
0
14
0
15
6
7
5
4
3
2
1
0
8
9
10
11
12
13
14
15
Status register
:STATus:CONDition?
Transition filter
0
14
15
Extended event register
1
6
7
5
4
3
8
9
10
11
12
13
2
6
7
5
4
3
2
1
8
9
10
11
12
13
14
15
16
:STATus:FILTer<x>
{RISE | FALL | BOTH | NEVer}
:STATus:EESR?
FILTer<x>
→
The meaning of each bit of the status register, that indicates the internal condition of the instrument, is as follows:
Bit 0
DAV (Data Available)
Set to “1” when there are data stored in the measurement data buffer.
Bit 1
IN
Set to “1” when the comparator result is “IN.”
Bit 2
HI
Set to “1” when the comparator result is “HI.”
Bit 3
LO
Set to “1” when the comparator result is “LO.”
Bit 4
OVR (OVeR)
Set to “1” when an overrange occurs.
Bit 5
N.C (No Contact)
Set to “1” when a contact check error occurs.
Bit 6
C.F (Current Failure)
Set to “1” when abnormalities are detected in the test current.
Bit 7
OHM
Set to “1” when the unit of measurement is
Ω
.
Bit 8
MES (MESure& lock)
Set to “1” while the measurement is in progress (measurement mode).
Bit 9
STR (SToRe on)
Set to “1” while the measured data are being stored.
Bit 10
RCL (ReCaLl on)
Set to “1” while the measured data are being recalled.
Bit 12
CAL (CALibration mode)
Set to “1” when the instrument is being calibrated.
Bit 13
PRN (PRiNting)
Set to “1” while data are output via the Centronics interface.
The transition filter parameters detect changes in the specified bit (numerical suffix, 1 to 16) of the status
register in the following manner and overwrite the extended event register.
RISE
Sets the specified bit of the extended event register to “1”, on a 0-to-1 change.
FALL
Sets the specified bit of the extended event register to “1”, on a 1-to-0 change.
BOTH
Sets the specified bit of the extended event register to “1”, on both 0-to-1 and 1-to-0 change.
NEVer
Always 0.
10.3 Status Report