3 resetting the status byte, 4 the warning? interface job – LumaSense Technologies INNOVA 1303 User Manual

Page 43

Advertising
background image

Chapter 3
________________________________________________________________________

_______________________________________________________________________

BE1085-14

1303 Multipoint Sampler and Doser

LumaSense Technologies A/S

Page 43 of 60

decimal equivalent of their binary value, as shown in

Table 3.4

. See al-

so the job examples below for further clarification.

Note that the relevant bits are always set whenever the corresponding
condition occurs; this job only enables or disables the generation of a

service request by that condition.

Examples:

S_R_E 32<LF>

Service request is generated by the
setting of bit 6 (bit pattern

00100000 = 2

5

= 32 decimal) in

Table 4.3.

S_R_E 160<LF>

Service request is generated by the
setting of bit 6 and bit 8 (bit pattern

10100000 = 2

5

+ 2

7

= 32 + 128 =

160 decimal).

S_R_E 0<LF>

All bits are disabled (except bit 7).

The bits which are enabled in the status byte can be read-out using the

Service_Request_Enable? interface job:

S_R_E?<LF>

Outputs the sum of the decimal val-
ues of the bits which are enabled.

For example, if the decimal read-
out is 48, the enabled bits are bit 5

and bit 6 (bit pattern 00110000 =
2

5

+ 2

6

= 16 + 32 = 48 decimal).

3.9.3

Resetting the Status Byte

The job Reset_Status_Byte is used for this task.

Example:

R_S_B<LF>

Resets the bits in the status byte to

zero.

3.9.4

The Warning? Interface Job

This job reads-out an 8-bit byte (the Warning Flags) which gives infor-

mation about error conditions which affect the efficient operation of the
1303. The 1303 is still able to operate, but the error should be rectified

as soon as possible. The Warning Flag byte is shown in

Table 3.5

.

Advertising