Davek0974
Member
I am making massive headway into the PLC replacement i have mentioned in various threads, its all running and even the AB stepper drive was easy in the end.
The troubles appeared when it came to stopping and restarting or just starting simetimes
It will occasionally start in a zombie state where the cutter will cut out of step or other odd things happen.
The machine is a printing process consisting of PRINT - ADVANCE MATERIAL - CUT steps, when the cut instruction is made, the next PRINT cycle starts.
I'm just a bit baffled as to how to de-bug the process or to simplify it. Its all written in 48 rungs of code but is pretty complicated in places which makes me think I wandered off in the wrong direction possibly??
Any ideas for easy to understand design or how compartmentalise a series of steps??
The troubles appeared when it came to stopping and restarting or just starting simetimes
It will occasionally start in a zombie state where the cutter will cut out of step or other odd things happen.
The machine is a printing process consisting of PRINT - ADVANCE MATERIAL - CUT steps, when the cut instruction is made, the next PRINT cycle starts.
I'm just a bit baffled as to how to de-bug the process or to simplify it. Its all written in 48 rungs of code but is pretty complicated in places which makes me think I wandered off in the wrong direction possibly??
Any ideas for easy to understand design or how compartmentalise a series of steps??