FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
08-28-2024 09:25 AM
Hi everyone,
we are trying to acess the variable Transmit_data.value of the XI522001 communicationmodule via DataLayer.
We tested using V2.6 as well as V3.2.
It seems like the DataLayer can't interpret the Datatype (should be Array of Byte?!) as shown in the picture attached.
We also tried to get the Variable into the PLC via watchlist -> flatbuffer without sucess (see picture attached).
Using UA-Expert acess to the Variable seems possible (also picture attached).
Also the Variable is shown in the DataLayer_Realtime Interface in the PLC App as an Array[0..29] of Byte (also picture attached). This should work, too.
In the long run we would like to acess the Variable with an own C++ App using SDK.
Any idea how thats possible? Are we missing sth. or is the only way to acess the variable the DataLayer_Realtime Interface in the PLC App at the moment?
Thanks for your help and regards!
Solved! Go to Solution.
08-28-2024 11:02 AM - edited 08-28-2024 01:29 PM
Hi!
You are right, the WebUI (AcessVia_Datalayer.png) currently does not support the access to arrays like this.
Datalayer itself has full support. Access using the Rest API works - even though it is not as easy to use for tests as WebUI would be, but it's possible.
The direct access using C++ App with SDK is not a problem, we are using this too. No need to go over PLC for that.
Yours,
Andreas
09-02-2024 02:04 PM
Hi Andreas,
thanks for the input, seems more clear now!