QUOTE(jan.krajniak @ Nov 28 2006, 07:12 PM) [snapback]44662[/snapback]
Hello everyone:
I am trying to find out if there is a software which would allow me to simulate inputs/outputs for my logic, so that I can test it as if it were running on a connected PLC.
I have searched online, but the sources didn't seem too trustworthy. So, I was wondering if anyone here has had any experience with such software and if they can recommend any.
Thanks a lot!
Jan
Most of my PLC programs interface with some type of HMI, because of this I typically map all of my I/O to internal bits. Then I use an Integer for each device, using this method, I can change HMI colors based on the decimal value of the word.
The above methods has pros and cons, depends on who you talk too. It does use a little more memory, but it does have one added benefit. I put all the I/O mapping in one ladder file. When I'm ready to test my logic, I quit calling the I/O mapping ladder and then simply add another ladder for testing , I write some simple simulation logic that turns on the mapped I/O internal bits. Your PLC has to have enough resources available to hold the added simulation logic.
After you get used to this method, making on line changes can also be tested without causing an upset. Leave the existing logic running, add the new logic but do not map the I/O bits to physical I/O, after you have completed testing and debugging, change the I/O mapping from the old internal bits, to the new internal bits. Then remove the old logic.
Works for me, but others may have a better method.