FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
06-04-2021 07:34 AM - last edited on 11-07-2022 10:46 AM by HmiGuide
Hello.
For example I want to switch motion handler into running state via button. And I think I should write something into "motion/cmd/opstate/Booting" branch in OPC-UA (while core motion handler is in configuration). I have tried writing True and true with type BOOL with no effect. While reading of readable branches (like state of said motion handler) works fine.
Solved! Go to Solution.
06-08-2021 03:48 PM - last edited on 11-07-2022 10:46 AM by HmiGuide
Hello Kostya,
I tried to solve your problem, but unfortionately it doesn't seem to be so easy.
The difficulty seems to be that the opstates are objects and therefore could not be loaded into WebIQ, since WebIQ don't accept objects yet.
Therefore, I also think you need a command with a struct of values to set the opstates and can not change them with a single bool.
You might can solve it with a rest command or over the PLC as support layer in between, but this is just a guess from my side.
I hope I could help you at least a bit further.
-Felix
01-16-2023 08:27 AM
Is this still an issue or can this topic be closed?
02-10-2023 03:22 PM
see HowTo article: WebIQ-Communicate-with-ctrlX-Rest-API