Injecting sensor failure via a OPC UA server

Hi,

I`m trying to inject/trigger a sensor failure to a factory IO scene via a OPC UA server but so far I couldn’t find a proper documentation on how to achieve that. Highly appreciate if you have any suggestion on how to achieve this.

Thank you
chamodh

1 Like

@brunovgr I don’t think you can trigger failures through interfaces, or am I mistaken?

2 Likes

You can only inject failures on sensors through the UI.

@chamodh.hettiarachch What are you trying to do exactly? Inject a failure by using the OPC driver?

2 Likes

Hi @brunovgr / @janbumer1, I contacted the factory IO support on this and they clarified that at moment factory IO doesn`t support Inject failure and only way to do that is via the factory IO GUI.

Thank you :slight_smile:

1 Like

Glad I was able to help, even though you didn’t get the desired outcome. :confused:

1 Like

You could add bits in your logic that simulate the loss of an input, for example. Another method is to stop the simulated process from executing correctly (elevator jammed against a box object or a box that does not transition in the time allotted due to manually removing the box during the simulation). All depends on your desired outcome as well.

2 Likes

True enough, if you use the simulation to trigger in/outputs on a PLC, why inject the failure into the simulation to then get fed into the PLC again rather than injecting the failure directly into the PLC.
Also, what one could use is for example the Advantech USB I/O and feed the outputs/inputs to/from a PLC. That way you could inject hardware based failures like switched or badly crimped wires.

3 Likes