04-10-2020, 05:08 PM
(This post was last modified: 04-10-2020, 05:56 PM byJeffNickel.)
When I import a cnc .nc file the generated program consistently has 5 lines that cause a compile error when copied onto my Kuka KR C4 8.3 controller.
These three appear early in the code:
40M_RunCode(5
41M_RunCode (0)
42 M_RunCode(3)
and these two appear at the very end:
16554M_RunCode(5)
16554 M_RunCode(2)
END
Once these 5 lines are deleted the code compiles and runs fine. How can I rectify this issue?
Thanks.
I looked into the gcode I'm importing and it contains 5 matching lines:
M05
M0 ;T102
M03S10000
and
M05
M02
It must be these causing the problem. Is my program suffering without these 5 lines?
Jeff
These three appear early in the code:
40M_RunCode(5
41M_RunCode (0)
42 M_RunCode(3)
and these two appear at the very end:
16554M_RunCode(5)
16554 M_RunCode(2)
END
Once these 5 lines are deleted the code compiles and runs fine. How can I rectify this issue?
Thanks.
I looked into the gcode I'm importing and it contains 5 matching lines:
M05
M0 ;T102
M03S10000
and
M05
M02
It must be these causing the problem. Is my program suffering without these 5 lines?
Jeff