Go to documentation repository
Page History
...
Code Block |
---|
OnEvent("BACNET","_id_","_событиеevent_") |
BACNET object events description:
Event | Description |
ERROR | Error message received |
EVENT_OCCURES | Message acknowledgment |
WRITE_OCCURES | Recording confirmation |
WRITE_RESULT | Recording result |
Operator format for describing actions with the BacNet object :
Code Block |
---|
DoReact("BACNET","_id_","_командаcommand_" [,"_параметрыparameters_"]); |
The list of commands and parameters for the BACNET object is presented in the table.
Command – description | Parameters | Parameters description |
WRITE – send value to BACnet device | bacnet_application_tag<> | Data type. Possible values: NULL = 0
BOOLEAN = 1
UNSIGNED INT = 2
SIGNED INT = 3
REAL = 4
DOUBLE = 5
OCTET STRING = 6
CHARACTER STRING = 7
BIT STRING = 8 |
bacnet_value<> | Parameter value | |
bacnet_objtype<> | Object type: ANALOG INPUT = 0
ANALOG OUTPUT = 1
ANALOG VALUE = 2
BINARY INPUT = 3
BINARY OUTPUT = 4
BINARY VALUE = 5 | |
bacnet_instance<> | BACnet unique global device identifier | |
bacnet_property_id<> | Property id | |
bacnet_device_id<> | BACnet device identifier in the system | |
EVENT – send message to BACnet device | event_type<> | Event type |
from_state<> | Change state from | |
to_state<> | Change state to | |
message_text<> | Event text |
Examples. The code is given in JScript, see Programming Guide (JScript)
...
Overview
Content Tools