I have a problem with configuring and using BACnet communication with a PFC200 750-8212 device. I am using the BACnet configurator to set up my BACnet variables, then sync these to the codesys environment. I store the config with the configurator, then login to the device with codesys. If I change a value in the BACnet configurator, I can see the the modified value in the codesys online view. However neither the current command priority, nor the priority array seem to reflect my changes. Is there a specific way, to use these variables? Currently I am reading out these variables into a temporary variable, so I can monitor them.
My environment is Codesys V3.5 SP20
PFC target version 6.2.0.0
So apparently, these priority values are different from the PresentValue in terms of updating. Whereas the PresentValue is updated automatically, if I call the Read function on the BACnet variable, and pass in the eGroup := 2 input parameter, then the priority values are updated too.
I’m still not sure whether this is the correct way to do it, but as of now it works.
Unfortunately the documentation on the BACnet library is not very expansive.
hello,
changing the present value use the priority 16.
could you try to use the prio 8 ?
Also could it be possible to have a screenshot of the conigurator expended (showing each prio) ?
I’m aware of that. But I’m setting the present value not in the PLC, but in the configurator. Although if I set the present value in PLC, the priority array wont reflect this either (in priority level 16).
What is the difference between priority 8 and 16 in this case? What difference would that make?
I’m going to be able to take the screenshot next week.
First in the BACnet configurator you write in the PLC BACnet stack.
Next in the configurator have you added the priority array ? and if so have you selected the runtime export as small or medium ?
When you write the present value in the Configurator what priority do you request ? 0 (none) or something else ?