SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
There is some risk to that. Hitting EStop may cause a motor stall. Without encoders there isn't any way to know for sure where the axis is. If you accept the risk and wish to assume the axis is the last place KFLOP commanded it to be you can enable the axis while setting the Destination to the last commanded Destination with:
EnableAxisDest(0, ch0->Dest);
If you had encoders you could enable to the currently measured encoder position with:
EnableAxisDest(0, ch0->Position);
EnableAxisDest(0, ch0->Dest);
If you had encoders you could enable to the currently measured encoder position with:
EnableAxisDest(0, ch0->Position);
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
yes i have encoders, but maybe it is not the better idea to send the machine home after estop? is still some risk?
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
If the encoders are working properly they should track the positions regardless of what happens. But there is always some risk.
Note the only configuration you posted didn't have any encoders in it.
Note the only configuration you posted didn't have any encoders in it.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
ok, well there isn't any encoders because is not connected to the machine yet, i want to do as much as i can in my desk before i go to the noisy busy shop where the machine is located.
thanks for your help
thanks for your help
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
how do i change the color of the DRos, is not possible in the screen editor?.
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
There isn't a Screen Editor option for that. The colors are based on the modes described here.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Hi Tom.
it is possible to send the machine to home from determined position in a straigh line move? lets say i stop the machine somewhere and want to send it back home, axis goes to zero but they do it independently so one axis get zero first, depends wich is closer to zero, so the move to home is not in a straight line. thanks
it is possible to send the machine to home from determined position in a straigh line move? lets say i stop the machine somewhere and want to send it back home, axis goes to zero but they do it independently so one axis get zero first, depends wich is closer to zero, so the move to home is not in a straight line. thanks
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Coordinated Motion is a bit complex. The simplest approach is to use GCode and sent the GCode as an MDI command from KFLOP.
Another trick is to determine which axis takes the longest to perform its motion, then use the same Velocity, Acceleration, and Jerk for the other axis but scaled down proportional to the relative distances.
Otherwise see the CoordMotionInKFLOPTest.c example
HTH
Another trick is to determine which axis takes the longest to perform its motion, then use the same Velocity, Acceleration, and Jerk for the other axis but scaled down proportional to the relative distances.
Otherwise see the CoordMotionInKFLOPTest.c example
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
ok, is there some way to call or embed a G code macro to a C program?, or using a custom button?
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Yes. See the MDI function used in the KFLOPtoPCCmdExamples.c
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.