theColonel26
Lifetime Supporting Member
So I have this situation where I need to debug a major change to a program for a machine. I have very limited time on the actual machine and it is at a customers location. I can run it on another PLC or run a simulation but that does not simulate the mechanical logic of the machine itself. So I was thinking why not create practice of putting the entire logic of the PLC programs in a Function block. That way in the future you could write logic around it to simulate the physical state of the machine. In production you would have IO addresses for input and outputs of the function block but during debug you would have variables as Inputs and Outputs that are controls by the logic if you machine simulator code.
Thoughts? has anyone every done something like this?
Thoughts? has anyone every done something like this?