Omega Vehicle Security 1400 manual Status, Event Reporting, and Mask Registers

Models: 1400

1 273
Download 273 pages 33.71 Kb
Page 228
Image 228

 

Appendix C

Registers, Data Formats, & Queries

 

 

 

 

 

 

 

 

U Commands and Descriptions

 

U0

Causes ChartScan to return a fixed-length status message string. The status message shows the current options in use for

 

 

each command.

 

 

U1

Causes ChartScan to return a decimal number from 000 to 255.

This number is the decimal equivalent of the binary

 

 

information on the digital input lines (on the rear panel, card edge digital I/O connector).

 

 

 

 

 

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, trigger time/date stamp, scan # that stop occurred, scan number that end of acquisition occurred, and 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 set points.

 

 

 

 

 

U12

Returns the last date the unit was calibrated in the form: 12:54:00.9,01/28/99

 

 

 

 

 

U13

Returns the last scan read.

 

 

 

 

 

 

U14

Returns card ID’s.

 

 

 

 

 

U15

Returns the IOtech product information in the form: IOtech, ChartScan, 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

ChartScan has several internal, eight-bit registers. 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 error conditions during calibration.

Error Source Register (ESC)

Indicates 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-Onlyregisters (they may only be read and cleared by the controller). The read operations on these registers is a destructive read. This is because it clears the register as it is read. These registers can only be written to by internal ChartScan operations.

The STB status register is a Read-Onlyregister (it can only be read by controller). The STB register can only be cleared or written to by the internal processes of ChartScan.

The mask registers ESE and SRE are Read/Write/Clear registers (they can be written and cleared, as well as read by the controller).

ChartScan User’s Manual

C-11

Page 228
Image 228
Omega Vehicle Security 1400 manual Status, Event Reporting, and Mask Registers