Creating BACnet objects to read values from or write values to BACnet
You can create BACnet objects to read a value from or write a value to BACnet.
The following table shows which BACnet objects can be created.
Input/Output | Pin name | Pin type | Context menu | Created function block | Created BACnet object type |
|---|---|---|---|---|---|
Input | PrVal | BOOL | Binary configuration value | R_B | BCnfVal |
Input | PrVal | BOOL | Binary process value | CMD_B | BPrcVal |
Output | Val | BOOL | Binary calculated value | W_B | BCalcVal |
Output | Valln3 | BOOL | Binary process value | CMD_B | BPrcVal |
Input | PrVal | REAL | Analog configuration value | R_A | ACnfVal |
Input | Prval | REAL | Analog process value | CMD_A | APrcVal |
Output | Val | REAL | Analog calculated value | W_A | ACalcVal |
Output | Valln3 | REAL | Analog process value | CMD_A | APrcVal |
Input | PrVal | DWORD | Unsigned configuration value | R_UNSG | UCnfVal |
Output | Val | DWORD | Unsigned calculated value | W_UNSG | UCalcVal |
Input | PrVal | DINT | Integer configuration value | R_DINT | ICnfVal |
Output | Val | DINT | Integer calculated value | W_DINT | ICalcVal |
Input | PrVal | INT | Multistate configuration value | R_M | MCnfVal |
Input | PrVal | INT | Integer configuration value | R_INT | ICnfVal |
Input | PrVal | INT | Multistate process value | CMD_M | MPrcVal |
Output | Val | INT | Multistate calculated value | W_M | MCalcVal |
Output | Val | INT | Integer calculated value | W_INT | ICalcVal |
Output | Valln3 | INT | Multistate process value | CMD_M | MPrcVal |
Input | PrVal | TIME | Integer configuration value | R_TI | ICnfVal |
Output | Val | TIME | Integer calculated value | W_TI | ICalcVal |
Input | PrVal | TIME_OF_DAY | Time configuration value | R_TODA | TCnfVal |
Output | Val | TIME_OF_DAY | Time calculated value | W_TODA | TCalcValue |
Input | PrVal | DATE | Date configuration value | R_DA | DCnfVal |
Output | Val | DATE | Date calculated value | W_DA | DCalcVal |
Input | PrVal | DATE_AND_TIME | Date time configuration value | R_DATI | DTCnfVal |
Output | Val | DATE_AND_TIME | Date time calculated value | W_DATI | DTCalcVal |
Read data from BACnet
- In the Programming editor, right-click the input pin of a program block and select Read from BACnet and the BACnet object type you want to create.
- A function block with program function is created and connected to the input pin.
- A BACnet object is created and linked to the function block.
Show data on BACnet
- In the Programming editor, right-click the output pin of a program block and select Show on BACnet and the BACnet object type you want to create.
- A function block with program function is created and connected to the output pin.
- A BACnet object is created and linked to the function block.