Example: Use LogicMachine as BACnet client

Task

How to read BACnet client data and send this information into KNX bus.

 

Install latest firmware available here

 

Install the genohm-scada-bacnet.ipk from Extra packages in: Sys Config –> System –> Packages

bacnet_client_logicmachine

Note

Before using any bacnet function, you must include the library:

 require('bacnet')

 

Examples of commands

 

Multi-input/output

Create object for operation mode, set data type to 1-byte unsigned integer. Create event script for this object:

require('bacnet')

-- set new operation mode
value = event.getvalue()
bacnet.write(3, 'multi-state output', 10105, value)