Omega Vehicle Security 1500 Manuel D’Utilisation

Page de 256
Appendix D
Registers, Data Formats, & Queries
NetScan User’s Manual
D-11
 
 
U Commands and Descriptions
 
U0
 
Returns information in the Event Status Register.
 
U1
 
Returns information in the Status Register.
 
U2
 
Returns information in the Calibration Status Register.
 
U3
 
Returns system settings similar to invoking a combination of the following query commands: F?I?L?P?Q?S?T?Y?
 
U4
 
Returns high/low/last register data in the current data format for each channel defined by the (C) command, such as the high
reading, the high time stamp, the low reading, the low time stamp, and the last reading.
 
U5
 
Returns the same information as U4 but resets the current high/low for all channels.
 
U6
 
Returns the following current trigger block information: the trigger block #, current read scan in block, current write scan in
block, the trigger time/date stamp, the scan # that stop occurred, the scan number that end of acquisition occurred, and the
block completed flag.  
 
U7
 
Returns the channels that have been assigned alarm output in the form of: Achan,output where 744 < chan > 1, and 32 <
output > 1.
 
U8
 
Returns the channel settings for each configured channel.
 
U9
 
Returns the digital input values corresponding to each of the eight digital inputs.
 
U10
 
Returns memory size in the form: mmmmm, where m is each digit in the memory size (Kbytes).
 
U11
 
Returns the channel number followed by “0” for “not in an alarm state,” or “1” for “in an alarm state.  Queried channels are
those having programmed valid alarm setpoints.
 
U12
 
Returns the last date the unit was calibrated in the form: 12:54:00.9,01/28/97
 
U13
 
Returns the last scan read.
 
U14
 
Returns card ID’s.
 
U15
 
Returns the IOtech product information in the form: IOtech, NetScan, 0, v.r, where v is the version and r is the revision.
 
U16
 
Returns measurement parameters.
 
U17
 
Returns the RMS value of the last burst mode operation.
 
U18
 
Returns the contents of the system register.
 
 
Status, Event Reporting, and Mask Registers
 
The NetScan has several internal  eight-bit registers where each bit represents a certain condition, event or error.
The contents and operation of each of these registers is described in subsequent sections. You can access the
registers via a command issued from the controller.
 
 
Status and Event Reporting Registers.
 
The following four registers cover a wide range of internal error and event conditions, and each covers a
particular aspect of event reporting responsibility.
 
Calibration Status Register (CSR) 
Indicates any error conditions during calibration.
 
Error Source Register (ESC)
Indicates any general error conditions with the unit.
 
Event Status Register (ESR)
Indicates special ‘events’ that have occurred in the unit.
 
Status Byte Register (STB)
Indicates critical operation events.
 
Mask Registers.
 
You can use the following two mask registers to configure the status and event reporting registers.  The mask
registers are:
 
Event Status Enable (ESE)
A mask for the Event Status Register (ESR)
 
Service Request Enable (SRE)
A mask for the Status Byte Register (STB)
 
 
The status registers CSR, ESC and ESR are Read/Clear-Only registers (they may only be read and cleared by
the controller).  The read operations on these registers is a destructive read since it clears the register as it is
read.  These registers can only be written to by internal NetScan operations.
 
 
The STB status register is a Read-Only register (it can only be read by controller).  The STB register can only
be cleared or written to by the internal processes of the NetScan.
 
 
The mask registers ESE and SRE are Read/Write/Clear registers (they can be written and cleared, as well as
read by the controller).