I declared a OPC UA method inside the Process Data Manager, see the picture below. But I don't know how I can use this method. I would like to call the method via a button.
Solved! Go to Solution.
WebIQ supports OPC-UA methods since V2.10. However, a script is required to call the method.
In the attached example, I have implemented a UI action to call the "sqrt(x)" method on our OPC UA online demo server.
To enter the method (see Process Data Manager) you can browse the OPC-UA namespace and import it by right-clicking on the method. An OPC variable with the name "sqrt(x)" appears and at the same time a method in the "Methods" tab.
I wish you success
I can't import the methods inside my Process data manager. I have made a method inside my PLC program but my WebIQ is seeing it not as a methods but only sees the seperate variables inside the method, see attachment.
What am i missing?
I'm afraid I can't help you on how to solve this issue in your PLC.
However, this is how it looks like if it's been setup as an OPC-UA method WebIQ can use:
To call a PLC method, I think you need to do some settings in the PLC. When I have the information I post it here.
Here you find the information what you have to do in ctrlX Engineering to make a PLC method callable via OpcUA.