OPC UA Call Function

Im new to ignition and i want to ask if it is possible to call OPC UA function on click or Variable change? I cant find the possibility.

Mann thanks in advance.

Ignition 8 has system.opcua.callMethod, which you could call from a script on a button or tag change script.

It’s a little difficult to use because you have to know everything about the method you want to call ahead of time. There’s no way to discover methods or their arguments in the OPC browser or anywhere else in the UI.

1 Like

Hey thanks for this Ultrafast answer :slight_smile: i will try it as soon as possible, but it looks like thats exactly what i was searching for.


Hi Kevin,

i seems the namespace system.opcua is not availible on button click. do i miss something?


Ah, right… it’s only available in the gateway scope. It will work from a tag change script. If you need to use a button then you’ll have to define a gateway handler and use system.util.sendMessage to send a message to the handler.