Why this error?
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
21 Feb 2015 01:12 - 21 Feb 2015 01:14 #56156
by allenwg2005
Why this error? was created by allenwg2005
Hi folks,
I'm puzzled, the following file has a line of gcode that I have used before without any problem.
The last two files I have tried to loaded into LCNC generated this message:
" Line 15 Cannot use axis value without a gcode that uses them".
I have used this before with no problem, what have I done wrong and how can I correct it?
OS= Hardy Hero
Release= 2.5.2
Thanks
N1G54G17G20G40G80G90G99
N2G0X0Y0Z5.
N3T1M06
N4(*** T1 *** .375 Carbide Finishing Endmill ***)
N5G00X-12.9063Y7.5S5200M03
N6G43Z1.H1T1
N7G81R.1Z-.5F166.4M08
N8X-10.1563
N9X-6.1563
N10X6.1563
N11X10.1563
N12X12.9063
N13G80M09
N14X-15.1563Y8.2075
N15Z.1
N16G1Z-.5M08
N17G41X15.1563Y8.2075D1F374.85
N18G2X15.3629Y7.981J-.2075
N19G1X13.8941Y-8.019
N20G2X13.6875Y-8.2075I-.2066J.019
N21G1X-13.6875
N22G2X-13.8941Y-8.019I0J.2075
N23G1X-15.3629Y7.981
N24G2X-15.1563Y8.2075I.2066J.019
N25G1G40X-15.1563Y8.2075
N26G0Z1.M09
N27G00G49Z1.M05
N28G90X0Y0
N29T1M06
N30M30
I'm puzzled, the following file has a line of gcode that I have used before without any problem.
The last two files I have tried to loaded into LCNC generated this message:
" Line 15 Cannot use axis value without a gcode that uses them".
I have used this before with no problem, what have I done wrong and how can I correct it?
OS= Hardy Hero
Release= 2.5.2
Thanks
N1G54G17G20G40G80G90G99
N2G0X0Y0Z5.
N3T1M06
N4(*** T1 *** .375 Carbide Finishing Endmill ***)
N5G00X-12.9063Y7.5S5200M03
N6G43Z1.H1T1
N7G81R.1Z-.5F166.4M08
N8X-10.1563
N9X-6.1563
N10X6.1563
N11X10.1563
N12X12.9063
N13G80M09
N14X-15.1563Y8.2075
N15Z.1
N16G1Z-.5M08
N17G41X15.1563Y8.2075D1F374.85
N18G2X15.3629Y7.981J-.2075
N19G1X13.8941Y-8.019
N20G2X13.6875Y-8.2075I-.2066J.019
N21G1X-13.6875
N22G2X-13.8941Y-8.019I0J.2075
N23G1X-15.3629Y7.981
N24G2X-15.1563Y8.2075I.2066J.019
N25G1G40X-15.1563Y8.2075
N26G0Z1.M09
N27G00G49Z1.M05
N28G90X0Y0
N29T1M06
N30M30
Last edit: 21 Feb 2015 01:14 by allenwg2005. Reason: Forgot to add the file
Please Log in or Create an account to join the conversation.
21 Feb 2015 01:40 #56157
by ArcEye
Replied by ArcEye on topic Why this error?
Hi
It is on line 14, so near line 15 not on it!
G80 is part of Modal Group 1, so using it cancels other model commands in the group.
Because all the motion commands are in this group, you need to set either G0, G1, G2 or G3 after calling G80
to start movement again
regards
It is on line 14, so near line 15 not on it!
G80 is part of Modal Group 1, so using it cancels other model commands in the group.
Because all the motion commands are in this group, you need to set either G0, G1, G2 or G3 after calling G80
to start movement again
regards
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
21 Feb 2015 01:46 #56158
by allenwg2005
Replied by allenwg2005 on topic Why this error?
Got it!
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
21 Feb 2015 03:54 #56163
by allenwg2005
Replied by allenwg2005 on topic Why this error?
Something just occurred to me.
I thought G80 canceled canned cycles, NOT motion commands.
Have I missed something here?
I thought G80 canceled canned cycles, NOT motion commands.
Have I missed something here?
Please Log in or Create an account to join the conversation.
21 Feb 2015 15:24 #56177
by ArcEye
Replied by ArcEye on topic Why this error?
You can prove it to yourself by putting G1 in front of the line, the code works again.
www.linuxcnc.org/docs/html/gcode/overview.html#sec:Modal-Groups
regards
"Modal commands are arranged in sets called modal groups, and only one member of a modal group may be in force at any given time. In general, a modal group contains commands for which it is logically impossible for two members to be in effect at the same time - like measure in inches vs. measure in millimeters. A machining center may be in many modes at the same time, with one mode from each modal group being in effect. "
www.linuxcnc.org/docs/html/gcode/overview.html#sec:Modal-Groups
regards
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds