585,737 active members*
4,771 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > Problem with "Start from Selected Line"
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2015
    Posts
    260

    Problem with "Start from Selected Line"

    Hello.
    I and a friend of mine have a request.
    He has e.g. As a result of this, a graver holder was destroyed. I already have 2-3 workpieces, so just material and work.

    So please. Is it possible with the next update to have the software handled differently with "Start from Selected Line"?

    The problem is that the machine moves all axes to the start coordinates at the same time, if the machine is not there. This can lead to collisions with the workpiece or add-on parts on the machine table. As it happened to us.
    We would like the Z-axis to be moved to a safe height first. Then only to XY of the program line ...

    Or simple question, which script do I have to change?

    greetings
    Daniel

  2. #2
    Join Date
    Mar 2017
    Posts
    1304

    Re: Problem with "Start from Selected Line"

    OnStart script like this:

    Code:
    (print,OnStart script)
    (print,  Line: #<line,0>)
    (print,  PosState: X#<posstate_x,3>, Y#<posstate_y,3>, Z#<posstate_z,3>)
    O<chk> if [#<line>]
      (print,  MistState: #<miststate,0>)
      (print,  FloodState: #<floodstate,0>)
      (print,  SpindleState: #<spindlestate,0>)
      (print,  MotorsState: #<motorsstate,0>)
      (print,  LimitsState: #<limitsstate,0>)
    
    
      G53 G00 Z#<_tooloff_safeheight>
      G53 G00 X#<posstate_x> Y#<posstate_y> 
      
      G09
      (dlgname,Start From Selected Line, opt=1)
      (dlg,Click OK to continue from line #<line,0>, typ=label, x=20, w=250, color=0xffa500)
      (dlgshow)
      
      G53 G00 Z#<posstate_z>
      
    O<chk> endif

  3. #3
    Join Date
    Nov 2015
    Posts
    260

    Re: Problem with "Start from Selected Line"

    Perfekt! Thank You!

Similar Threads

  1. Start From Selected Line
    By yar20 in forum PlanetCNC
    Replies: 22
    Last Post: 12-07-2019, 02:46 AM
  2. Replies: 4
    Last Post: 02-10-2019, 10:24 AM
  3. User profile not respecting the selected "Theme"
    By coykiesaol in forum Autodesk
    Replies: 0
    Last Post: 12-07-2010, 07:40 AM
  4. Replies: 13
    Last Post: 05-30-2009, 09:27 PM
  5. Where is the "start from line"
    By mbinelo in forum LinuxCNC (formerly EMC2)
    Replies: 4
    Last Post: 08-13-2008, 05:11 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
  •