OK I've got to be nearly there
Once I save the axis configurations by pasting into the C program screen from K motion - then save the file what do I do with that file i.e. how is it called before CAM g-Code is ran?
Trying to get a program to run..
Moderators: TomKerekes, dynomotion
Trying to get a program to run..
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
Re: Trying to get a program to run..
This may be related, I tried to run the G code, file 1 (makes the word dynomotion I think) but it comes up with an error saying axis disabled but from the kmotion axis window 0,1 and 2 are enabled.
I tried deleting the first M03 command (I don't have spindle control) but then comes up with the same error indicating a fault with the 3rd line X,y,z co-ordinates
EDIT >> I got the program to run (first time my mill has ran any code )just by enabling all the axis so the spindle must be mapped to one axis... how do I check the mappings?
I tried deleting the first M03 command (I don't have spindle control) but then comes up with the same error indicating a fault with the 3rd line X,y,z co-ordinates
EDIT >> I got the program to run (first time my mill has ran any code )just by enabling all the axis so the spindle must be mapped to one axis... how do I check the mappings?
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Trying to get a program to run..
Assign the program to a User Button in KMotionCNC. Then push the button to Initialize your system.Once I save the axis configurations by pasting into the C program screen from K motion - then save the file what do I do with that file i.e. how is it called before CAM g-Code is ran?
You must define which Axes should be in the Coordinate System. The Spindle should not normally be included. See wiki here.This may be related, I tried to run the G code, file 1 (makes the word dynomotion I think) but it comes up with an error saying axis disabled but from the kmotion axis window 0,1 and 2 are enabled.
I tried deleting the first M03 command (I don't have spindle control) but then comes up with the same error indicating a fault with the 3rd line X,y,z co-ordinates
EDIT >> I got the program to run (first time my mill has ran any code )just by enabling all the axis so the spindle must be mapped to one axis... how do I check the mappings?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Trying to get a program to run..
Thanks,
My C Program correctly loads the axis parameters but how do I also enable the axis in the same program, I'm sure I've seen this mentioned but cannot find where cheers.
My C Program correctly loads the axis parameters but how do I also enable the axis in the same program, I'm sure I've seen this mentioned but cannot find where cheers.
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am