Hello Guest it is March 28, 2024, 07:36:40 AM

Author Topic: Global feedrate variable  (Read 2351 times)

0 Members and 1 Guest are viewing this topic.

Global feedrate variable
« on: January 22, 2011, 12:21:53 PM »
Hello,

Is it possible to have at the start of the code several feed rate variables-
So this will allow me to change the feed rate in one place rather than having to trawl throgh and change each line I need.

Would be usefull to me when using the sam prog but different materials.
i.e

Variable feed rate 1 = F200
Variable feed rate 2 = F75
Variable feed rate 2 = F120

then in the gcode

G01 X 20 y30 F(rate1)
G01 Z-10 F(rate2)
g01 X100 F(rate 3)

so wherever (rate*) appears I can chage it by altering 1 line in the headder of the code.

Thanks
Derek.
You can "chop it off" but can't "chop it on"

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Global feedrate variable
« Reply #1 on: January 22, 2011, 01:54:21 PM »
You can do it with Gcode #Variables




#1001 = 200  (FeedRate1)
#1002 = 75    (FeedRate2)
#1003 = 120  (FeedRate3)


G01 X 20 y30 F#1001
G01 Z-10 F#1002
g01 X100 F#1003



(;-) TP