|
Hello All,
I am still uncertain with regard to the complete program structure when running a machine under KmotionCNC control and I am looking for some guidance.
My system is a 2-axis XY type and will use 3 phase brushless servos with a Kflop and SnapAmp.
My understanding is the init.c is used to configure the motors to run properly with the controller. Does this file continue to run while the system is in operation? I did mention newbie didn't I? The main reason I ask is that I need to build in an Estop safety watchdog loop and want to be sure this is the place to do it. There will also be limit switches and I suspect they too would reside in the same area?
Of course, after an Estop, there needs to be a way to re-stabilize (reset) the system and get it back on the rails, so to speak. Is this also the place to do this?
I realize there are many parts to the system and I am just trying to get it clear in my own head.
Thanks for your help.
DB
|