Polling OPC event base

Dear experts,

I have a problem, I need read modbus data with ignition OPC only when a flag set to 1, means when the flag set to 0 I want to not reading data with OPC.
Is it possible?

Regards,
Mohammad Javad

You can use “driven” scan classes for this. See here in the user manual.

And in addition to the driven mode, change “OPC Data Mode” to “Read” instead of “Subscribe”.

Regards,