[Solved] G5 G5.2 parametric
04 Sep 2017 14:35 - 05 Sep 2017 08:34 #98478
by bkt
[Solved] G5 G5.2 parametric was created by bkt
But is possible using G5 or G5.2 with parameter?
Continuosly receive these error: Failed inizialize Circle9 ....
regards
Giorgio
Continuosly receive these error: Failed inizialize Circle9 ....
regards
Giorgio
Last edit: 05 Sep 2017 08:34 by bkt.
Please Log in or Create an account to join the conversation.
04 Sep 2017 15:07 #98484
by andypugh
Replied by andypugh on topic G5 G5.2 parametric
G-code?
Please Log in or Create an account to join the conversation.
04 Sep 2017 17:58 #98501
by bkt
Replied by bkt on topic G5 G5.2 parametric
...
#29 =0
#<_startx> = -500
#<_starty> = -300
....
o110 while[#29 LT 5]
#<_myvar1startx> = [#<_startx> + [93*#29]]
#<_myvar1startx> = [#<_starty> + [58*#29]]
G0 X#<_myvar1startx> Y#<_myvar1starty>
F#<_myfeed> (fixed)
G5.2 P5 X#<_myvar1startx> Y#<_myvar1starty> L3
X[#<_myvar1startx> + 200] Y[#<_myvar1starty> +100] P5
X[#<_myvar1startx> +300] Y[#<_myvar1starty> +150] P5
X#<_myvar1endx> Y#<_myvar1endy> P5
G5.3
.....
#29 = [#29 +1]
o110 endwhile
Please Log in or Create an account to join the conversation.
04 Sep 2017 20:31 #98506
by andypugh
Replied by andypugh on topic G5 G5.2 parametric
Having modified your code to include the missing variables, it works.
So I suspect that the problem might be the values in those missing variables. Maybe you are creating a zero-radius circle or something like that?
So I suspect that the problem might be the values in those missing variables. Maybe you are creating a zero-radius circle or something like that?
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
05 Sep 2017 05:57 - 05 Sep 2017 08:32 #98517
by bkt
Replied by bkt on topic G5 G5.2 parametric
sorry, what means for
not see missing variables in that piece of gcode .... you means these, or i have missing other var?
These is right for you? because my code work whitout error in prewiew on axis, but when try to run I've got the error.
Or maybe the nurbs must be a closed line?
regards
giorgio
Having modified your code to include the missing variables, it works.
not see missing variables in that piece of gcode .... you means these, or i have missing other var?
G21
#29 =0
#<_startx> = -500
#<_starty> = -300
#<_myvar1startx> = 0
#<_myvar1starty> = 0
#<_myfeed> = 20000
#<_myvar1endx> = 800
#<_myvar1endy> = 1000
G0 X#<_startx> Y#<_starty>
o110 while[#29 LT 5]
#<_myvar1startx> = [#<_startx> + [93*#29]]
#<_myvar1starty> = [#<_starty> + [58*#29]]
G0 X[#<_myvar1startx>-5] Y[#<_myvar1starty>-5]
F#<_myfeed> (fixed)
G5.2 P5 X#<_myvar1startx> Y#<_myvar1starty> L3
X[#<_myvar1startx> + 200] Y[#<_myvar1starty> +100] P5
X[#<_myvar1startx> +300] Y[#<_myvar1starty> +150] P5
X#<_myvar1endx> Y#<_myvar1endy> P5
G5.3
#29 = [#29 +1]
o110 endwhile
M30
These is right for you? because my code work whitout error in prewiew on axis, but when try to run I've got the error.
Or maybe the nurbs must be a closed line?
regards
giorgio
Last edit: 05 Sep 2017 08:32 by bkt.
Please Log in or Create an account to join the conversation.
05 Sep 2017 08:33 #98518
by bkt
Replied by bkt on topic G5 G5.2 parametric
ok ... I've understand the problem ...
Maybe you are creating a zero-radius circle or something like that?G0 X[#<_myvar1startx>-5] Y[#<_myvar1starty>-5]
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds