I was wondering if Ignition could be used as a plant simulator to test a PLC program.
I’ve been searching and found programs like ‘Simulation Aids’ (pramanj.com/products/), but those products seem to be for tests where you dont have the hardware yet - correct me if I’m wrong.
As it is we have a PLC (Siemens S7-1500) with at new finished program connected to Ignition via Ignitions OPC-UA server. What we want to do is a simulated test to find bugs in the PLC program before inserting it into real life service.
As far as I can see the part where you write commands (Start/Stop/Auto/…and so forth) to the PLC from Ignition isn’t a problem - that’s just the regular vision window HMI in Ignition writing to the PLC via OPC-tags. But how to we simualte feedback? As in, when I press start on a motor, how do I simulatethe RPM’s going up and send that to the PLCs input?
I’m thinking like when I press ‘Start’ for a motor in the vision window then the PLC’s start bit command will be set and if conditions are ok the PLC wil try to start the motor by setting the motors ‘Start’ bit output. I would then have to register that in Ignition and start a ramp for a memory tag to simulate RPMs. I would then somehow have to send those simulated RPM’s to the motors RPM tag in the PLC?
Have anyone tried this?
Recomendations for alternative approaches / software / etc. are welcome too