Hi Claes,
We have three controllers running on the same bus and configured in the same project. So, all are QCOM friendly. All controllers are working great. Two Operator Stations are operational and a History Server is gathering data.
Recently, there is a need to share a small amount of data from one controller to another. A mount object is configured on one controller [1] that references the data base of the other controller [2]. Mounted values are reading, as expected.
There is boolean permit flag in controller [2] with no mount object. The permit flag can be toggled from the other controller [1] via the mounted object database. The boolean flag can be toggled manually from the RTNavigator and changed using Push Buttons on a graphic from controller [1]. However, we cannot change the boolean state from PLC code in Controller [1]. We tried SetDV amd ResDV from a PLC program, but the boolean did not change. We also tried CStoExtBoolean from Controller [1], but that did not work either. In fact, the CStoExtBoolean caused some weird QCOM issues that required a controller [2] restart to fix.
We are encouraged because the boolean flag can be manually toggled, but need some advice and direction on PLC coding.
1) Are there write permissions needed? Both controllers are running as user: pwrp.
2) Should the scheme be swapped, so controller [2] pulls data from controller [1]?
3) Is there a different PLC code block we should be using to push boolean values from [1] to [2]?
We need the boolean to change state on conditional write. We are searching for a plc coding trick to achieve our goal.
Regards,
Ron