Peter Nachtwey
Member
A lot of time will only be needed if one tries to program before planning. There is no substitute for writing down the sequence of events or making a flow chart no matter what tool you use.No disrespect to Peter, who I always read with interest. But to the OP... if you're going to skip the PLC entirely and replace it with a motion controller, give YOURSELF a LOT of time to do that first program.
Did you look at the video? It is easy to see that the program is written in steps using a state machine where you issue a command and wait for something to happen before going on to the next step. If you can write the sequence of events on paper it is easy to program. On a PLC you must create the state machine. You program the RMC using structured text in a state machine.
There was another recent thread involving simply going back and forth between two bins. That would be easy using our controller. It would be easy to see the sequence of steps being executed.
Did you see the ability to track the other axis in the flying shear video? RH68 has concerns about one axis knowing what the other is doing. That isn't a problem with the RMC since everything is controlled by one CPU.
Did you see the trends/plots? The trends are FAR superior to what is available on any PLC that I have seen. What PLC do you know of that logs commands and calculations at sub millisecond intervals as shown in an event log. PLC scan times aren't that fast. Did you see the red marker move from state to state? Does a PLC do this? Maybe if it has sequential function charts.
That is true. Motion control applications usually require state machines most PLCs do not have state machines built in.Motion controllers are great... but they do not program at all like PLCs.
If the sequence of events can be broken down into steps where a command is given and one waits for a condition to go on top the next step then it is easy. Whether programming on a PLC or motion controller this must be done first or you end up with situations like the recent going back and forth between two bins thread.However you do it, factor in some extra time and effort for the motion part on those first few systems.