Peter Nachtwey
Member
What efforts did Rockwell make? There should be no problem simulating a PID and the system.I'm confident that you did a much better job than RA's efforts.
I would write the emulator on the PC but put it in the firmware in the PLC. This is what we have done with out motion controllers. It is possible that the PID in the PLC generates a control output that is used by a program in on the PC to simulate a system. This should be very flexible but the speed or update time would be limited by the communication rate.Surely it can't be difficult to write an emulator for a Windows PC that emulates a PLC ? And marketing an emulator that does not emulate 100% is... well, just wrong !
This shouldn't be a problem.Yes of course I understand that speed of execution is going to be a factor, you will not match the scan time of a dedicated PLC, but at least emulate the instructions available, with a caveat that PID terms cannot be relied on. Having said that, they shouldn't be a million miles away, since RA themselves produced SoftLogix to run under Windows.
This isn't true but it takes a lot more work to emulate more than a PID. Things like sequencing take much more effort but it pays off when you an simulate systems before you go into the field to install you code on the real system.There will always be some things an emulator cannot do, but what is must do is emulate all instructions, even if it cannot do some as well as it should be able to ....
Sad. Simulating a system and PID is easy for me. I have decades of experience do this.I gave up on RA emulation way back when I discovered that parameter passing to subroutines was handled in the exact REVERSE ORDER to what a PLC did. This is NOT emulation, in any shape or form. Our company and client standards relied upon the PLC order of parameter passing, so we were left high and dry.
Simulating something like a lumber sorter is much more difficult but that is exactly what I did way back in the early 1980s.
This is all piddly stuff compared to simulating aircraft or space craft but think about the difference in the cost of the simulators.
Way back