variable assignment question
26 Jan 2012 16:30 #17169
by mcultrara
variable assignment question was created by mcultrara
i would like to assign a variable. need proper format. i have some Q-Basic experience.
let (depth)=1
g01 z(depth)
can i do this? need proper form.
let (depth)=1
g01 z(depth)
can i do this? need proper form.
Please Log in or Create an account to join the conversation.
27 Jan 2012 02:57 #17177
by andypugh
Replied by andypugh on topic Re:variable assignment question
mcultrara wrote:
Either:
#1 = 1
g01 Z#1
Using numbered parameters (in old-school G-code you could have a limited number of variables)
or:
#<depth> = 1
G01 Z #<depth>
Where #<somestringhere> defines a variable.
Note that some numeric variables (mainly those above #5000) have specific meanings and can be used to read machine state.
i would like to assign a variable. need proper format. i have some Q-Basic experience.
let (depth)=1
g01 z(depth)
can i do this? need proper form.
Either:
#1 = 1
g01 Z#1
Using numbered parameters (in old-school G-code you could have a limited number of variables)
or:
#<depth> = 1
G01 Z #<depth>
Where #<somestringhere> defines a variable.
Note that some numeric variables (mainly those above #5000) have specific meanings and can be used to read machine state.
Please Log in or Create an account to join the conversation.
27 Jan 2012 13:28 #17185
by BigJohnT
Replied by BigJohnT on topic Re:variable assignment question
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds