29 remote programming status reporting commands – SRS Labs SR850 User Manual

Page 205

Advertising
background image

6-29

Remote Programming

STATUS REPORTING COMMANDS

The Status Byte definitions follow this section.

CLS

The

CLS command clears all status registers. The status enable regis-

ters are NOT cleared.

ESE (?) {i} {,j}

The

ESE i command sets the standard event enable register to the

decimal value i (0-255). The

ESE i,j command sets bit i (0-7) to j (0 or

1). The

ESE? command queries the value (0-255) of the status byte

enable register. The

ESE? i command queries the value (0 or 1) of bit i.

ESR? {i}

The

ESR? command queries the value of the standard event status

byte. The value is returned as a decimal number from 0 to 255. The

ESR? i command queries the value (0 or 1) of bit i (0-7). Reading the

entire byte will clear it while reading bit i will clear just bit i.

SRE (?) {i} {,j}

The

SRE i command sets the serial poll enable register to the deci-

mal value i (0-255). The

SRE i,j command sets bit i (0-7) to j (0 or

1).The

SRE? command queries the value (0-255) of the serial poll

enable register. The

SRE? i command queries the value (0 or 1) of bit i.

STB? {i}

The

STB? command queries the value of the serial poll status byte.

The value is returned as a decimal number from 0 to 255. The

STB? i

command queries the value (0 or 1) of bit i (0-7). Reading this byte has
no effect on its value.

PSC (?) {i}

The

PSC command sets the value of the power-on status clear bit. If

i=1 the power-on status clear bit is set and all status registers and enable
registers are cleared on power up. If i=0 the bit is cleared and the status
enable registers maintain their values at power down. This allows a ser-
vice request to be generated at power up.

ERRE (?) {i} {,j}

The ERRE i command sets the error status enable register to the deci-
mal value i (0-255). The ERRE i,j command sets bit i (0-7) to j (0 or 1).
The ERRE? command queries the value (0-255) of the error status
enable register. The ERRE? i command queries the value (0 or 1) of bit i.

ERRS? {i}

The ERRS? command queries the value of the error status byte. The
value is returned as a decimal number from 0 to 255. The ERRS? i com-
mand queries the value (0 or 1) of bit i (0-7). Reading the entire byte will
clear it while reading bit i will clear just bit i.

LIAE (?) {i} {,j}

The LIAE command sets the lock-in (LIA) status enable register to the
decimal value i (0-255). The LIAE i,j command sets bit i (0-7) to j (0 or 1).
The LIAE? command queries the value of the LIA status enable register.
The LIAE? i command queries the value (0 or 1) of bit i.

LIAS? {i}

The LIAS? command queries the value of the lock-in (LIA) status byte.
The value is returned as a decimal number from 0 to 255. The LIAS? i
command queries the value (0 or 1) of bit i (0-7). Reading the entire byte
will clear it while reading bit i will clear just bit i.

Advertising