[B] Parameters

<< Click to Display Table of Contents >>

 

[B] Parameters

This Driver allows using a Block Tag for reading events. This Block Tag must have all [B] parameters set to 0 (zero) and a size of 169 Elements.

 

B1

0 (zero)

B2

0 (zero)

B3

0 (zero)

B4

0 (zero)

 

This Block Tag must be configured with writing disabled. Block Tags return events on a list, therefore they can return 0 (zero) or more events. To handle these events correctly, users must use a Block Tag's OnRead event, which is called for each event sent by a panel. In the script of this event, the Elements of a Block Tag can be accessed to determine the type of event generated, according to the next table.

Types of events

Element

Description

1 (one)

1 (one) for a new event or 0 (zero) for event cleared

2 (two)

An Integer with the number of an event, between 1 (one) and 99 or between 160 and 172, or between 176 and 183

3 (three)

An Integer with the number of a panel or node, between 0 (zero) and 999

4 (four)

An Integer with the number of a loop, between 0 (zero) and 99

5 (five)

An Integer with an address, between 0 (zero) and 999

6 (six)

An Integer with the number of a zone, between 0 (zero) and 9999

7 (seven)

A String with the text sent in a message

8 (eight)

A String with an explanatory text about an event

9 (nine)

0 (zero) if there is no extra data or 1 (one) if there is extra data, on Elements between 9 (nine) and 169

10

An Integer) with the ASCII code of the first byte of extra data

11

An Integer with the ASCII code of the second byte of extra data

12

An Integer with the ASCII code of the third byte of extra data

...

...

169

An Integer with the ASCII code of the one hundred sixtieth byte of extra data

Was this page useful?