Status Register Commands
Copyright © Itech Electronic Co., Ltd.
8
Chapter2 Status Register Commands
IT9120 series has two kinds of status register:Operation status register and
Query status register.Using status register’s commands can set or query status
register.
Standard Event Register
Event register is a kind of read-only memory.It is used to save the current
execution situation of power meter.Event regis
ter’s data applies latch
format,once the data is saved,the following data will be ignored.Sending
command *RST or restart the power meter will not change the datas in event
register.But if query the event register or sending clear command *CLS,the
datas will be cleared automatically.
The standard event register includes following status:output status,command
syntax error,command execution error,selftest or calibration error,query error
etc.
Bit
Definition
0
OPC
Operation Complete.Set to 1 when the operation designated
by the *OPC command has been completed.
1
RQC
Not used ,Always set to 0.
2
QYE
Query Error. Set to 1 if the output queue is empty or if the data
is missing even after a query has been sent.
3
DDE
Device Error. Set to 1 when execution of the command is not
possible due to an internal problem in the Instrument that is
not a command error or an execution error.
4
EXE
Execution Error. Set to 1 when the command syntax is correct
but the command cannot be executed in the current state.
5
CME
Command Error. Set to 1 when the command syntax is
incorrect.
6
Not
Used
Not Used ,Always set to 0.
7
PON
Power On. Set to 1 when the power is turned ON.
Status Byte Register
Status byte register is used to record other register’s message.Among which
the query datas are temporarily stored into the output buffer of power meter and
feedback to the operator via bit4.Status byte register’s datas will not be
latched.Once the event r
egister’s status changed,then the corresponding bit of
status byte register will be changed too.
Bit
Definition
0
MSB
Measurement Summary Bit
1
Not Used
Always set to 0.
2
EAV
Error Available
3
QSB
Questionable Summary Bit
4
MAV
Message Available
5
ESB
Event Summary Bit
6
RQS
Request for service
7
OSB
OSB(Operation Summary Bit)