BacnetMSTP
6 min
review the following information for setting up and configuring the bacnet ms/tp driver litmus edge compatible series compatibility parameter compatible items driver type serial validated devices/series bacnet ms/tp compatible devices (building management systems, hvac controllers, air handling units) replaces gen 1 driver(s) n/a to set up and configure this device in litmus edge, you must step 1 set up and configure the plc device step 2 set up the plc device in litmus edge devicehub step 3 configure the list of registers step 1 set up and configure the plc device configure your bacnet ms/tp device with the appropriate serial communication parameters note the following settings from your device configuration serial port device file (for example, /dev/ttys0 ) baud rate data bits stop bits parity settings device mac address on the ms/tp network ensure the device is properly wired to your litmus edge gateway's serial port following rs 485 wiring standards step 2 set up the plc device in litmus edge devicehub configure the following parameters when you connect a device docid\ pal6abpzbrimdu9lvgj30 with this driver update default values to the specific setup of your device parameter value type bacnet driver bacnetmstp device file /dev/ttys0 baud rate select appropriate baud rate (e g , 9600, 19200, 38400, 76800) data bits 8 stop bits 1 parity none response timeout 5000 (ms) step 3 configure the list of registers when you add a tag docid\ tuy hh0gi8djvot70wroh to the connected device, refer to the following register table and tag parameters refer to the following additional resources organize device and tag data by using metadata docid\ mu 6j6zhi0cvchdad0w8n tag formula variables docid\ io7xgyrdvv vmpnfxoaci register table name value types access types address format min address max address description ai float32, object r/o dddddddd 0 2147483647 analog input ao float32, object r/w dddddddd 0 2147483647 analog output av float32, object r/w dddddddd 0 2147483647 analog value bi uint32, bit, object r/o dddddddd 0 2147483647 binary input bo uint32, bit, object r/w dddddddd 0 2147483647 binary output bv uint32, bit, object r/w dddddddd 0 2147483647 binary value msi uint32, object r/o dddddddd 0 2147483647 multi state input mso uint32, object r/w dddddddd 0 2147483647 multi state output msv uint32, object r/w dddddddd 0 2147483647 multi state value sch uint32, float32, object r/w dddddddd 0 2147483647 schedule lfsp uint32, object r/w dddddddd 0 2147483647 life safety point loctl uint32, object r/w dddddddd 0 2147483647 load control octstr octet string, object r/w dddddddd 0 2147483647 octet string pint uint32, object r/w dddddddd 0 2147483647 positive integer chv string, object r/w dddddddd 0 2147483647 character string value f octet string, object r/w dddddddd 0 2147483647 file object proprietary bit, int32, uint32, float32, float64, string, octet string, object r/w dddddddd 0 2147483647 proprietary tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in milliseconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter the bacnet object instance number in decimal format the value must be within the allowed min/max range (0 2147483647) mac enter the mac address of the bacnet ms/tp device on the network count enter the number of register values to read a count higher than 1 will generate an array of values from the address value configured and respective subsequent address values tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power power ( x ) performs the operation 10^x log log ( x ) is the natural logarithm (the logarithm is in base e ) exp exp ( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b)