I am having some real issues trying to understand how BACnet works in codesys (or in general)... I am used to working with modbus IO modules so I have no idea what I am doing right now. I have a BACnet IO module with 4 digital outputs that I am trying to control. I can see the module and control the outputs with YABE software,but I have no clue how to do that with codesys. What is the logic here? Do I make the same objects that are on my IO module in codesys or do I need a client on the codesys side to communicate with IO module objects. I know It is probably a dumb question, but I just need some push in the right direction to figure this out. Any help would be greatly appreciated.
BR
E
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
another question... Is there a way to use a bacnet property directly in visualisation?
When I create bacnet analog value object, I can change Analog_value.presentvalue from watch and see the change in bacnet tool (YABE) and vice versa... but when I PUT Analog_value.presentvalue in vusualisation i get an error:
C0032:Cannotconverttype'Unknown type: 'ADR(BACNETANALOGVALUE.__GETPRESENTVALUE)''totype'POINTER TO BYTE'
I know I can make a new variable for example Var1:REAL; and write Var1:=analog_value.presentvalue; to it and it works, but I need analog_value.present value to be read/write, so I can change value from different places.
Any help would be greately appreciated.
BR
E
Last edit: esih 2023-03-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I am having some real issues trying to understand how BACnet works in codesys (or in general)... I am used to working with modbus IO modules so I have no idea what I am doing right now. I have a BACnet IO module with 4 digital outputs that I am trying to control. I can see the module and control the outputs with YABE software,but I have no clue how to do that with codesys. What is the logic here? Do I make the same objects that are on my IO module in codesys or do I need a client on the codesys side to communicate with IO module objects. I know It is probably a dumb question, but I just need some push in the right direction to figure this out. Any help would be greatly appreciated.
BR
E
OK, I figured it out...
Hello,
another question... Is there a way to use a bacnet property directly in visualisation?
When I create bacnet analog value object, I can change Analog_value.presentvalue from watch and see the change in bacnet tool (YABE) and vice versa... but when I PUT Analog_value.presentvalue in vusualisation i get an error:
I know I can make a new variable for example Var1:REAL; and write Var1:=analog_value.presentvalue; to it and it works, but I need analog_value.present value to be read/write, so I can change value from different places.
Any help would be greately appreciated.
BR
E
Last edit: esih 2023-03-03