585,690 active members*
4,500 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2022
    Posts
    107

    startcode in expr.txt

    I have a strange behaviour in Expr.txt.
    I use startcode('G65 P206') to start gcode from expr.txt.

    On execution, the error message is startcode is not a function.
    #Loop removed!

    the strange thing is, that the startcode is already executed. So it is working and at the same time it is not working.

    So what's happening here?

    #Loop
    if( GT(_sx_tool_loaded_pin,0)
    && EQ(_sx_hasError,0)
    && EQ(_hw_sim,1)
    && EQ(_hw_stop,1)
    && EQ(_current_tool,0)
    && EQ(_sx_tool_removed,1)
    && EQ(_sx_sim_input_wkz_spannzange,1),
    exec(
    _sx_tool_removed = 0,
    print('Werkzeug eingesetzt'),
    startcode('G65 P206')
    )
    );

  2. #2
    Join Date
    Mar 2017
    Posts
    1304

    Re: startcode in expr.txt

    It is a bug. I made stupid typing mistake. Will be fixed asap.

Similar Threads

  1. [TNGv2] - Expr.txt
    By PlanetCNC in forum PlanetCNC
    Replies: 14
    Last Post: 05-29-2023, 06:20 PM
  2. Expr.txt and issues with Inputs
    By mgravet in forum PlanetCNC
    Replies: 3
    Last Post: 05-30-2022, 11:22 AM
  3. Expr.txt removed options??
    By awpross in forum PlanetCNC
    Replies: 1
    Last Post: 05-30-2022, 06:23 AM
  4. Activate optional Pause in Expr.txt
    By awpross in forum PlanetCNC
    Replies: 3
    Last Post: 02-26-2022, 08:37 PM
  5. TNGv2 Expr.txt usage
    By theRat in forum PlanetCNC
    Replies: 12
    Last Post: 08-07-2020, 10:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •