Technical FAQs

Ask a Question

Is it Possible to change the value in CNC Profile by assigning Variable in G-Code.

Yes you can, for this you have to choose compilation mode SMC_CNC_REF. And then in CNC editor you have to specify the G-Code as mentioned below: 

% comment 
N0 G51 D10 
N10 G01 X$g_x$ Y0 F50 E30 E-30 
N20 G01 X0 Y$g_y$ 
N30 G01 X0 Y0 
N40 G50 

Where g_x and g_y are Global variable with data Type Real.
Was this helpful?
What can we do to improve the information ?