Why don't use variables in G-code?

Monica
2018-12-04
2018-12-07
  • Monica - 2018-12-04

    I have some problem, I use the SMC_CNC_REF in my cnc compile mode

    and I try to key the G code to CNC editor
    N0 G01 X$GVL.g_x$ Y0 F50 E30 E-30
    N10 G01 X0 Y$GVL.g_y$
    N20 G01 X0 Y0

    but compile occur some error massage, It's called

    but in my globe list, I declare two var ...

    please help me to solve the problem

    IMG: Bild

    IMG: Bild

    IMG: Bild

    IMG: 2018

    IMG: 2018

    IMG: 2018

     
  • eschwellinger

    eschwellinger - 2018-12-05

    Hi,
    see screenshot...

    BR
    Edwin

    IMG: GCODEVars.png

     
  • Monica - 2018-12-07

    Edwin Schwellinger hat geschrieben:
    Hi,
    see screenshot...
    BR
    Edwin

    oh, I see
    The variable is showed by CNC's offline variable
    But I have question, I set initial value in globe
    see my screenshot ...however cnc's variable must be set value again...
    g_x: REAL:=100;
    g_y:REAL:=50;
    why don't automatically set value to cnc's offline variable form globe ...?
    please help me ..

    IMG: 2018

     

Log in to post a comment.