Touch-off plate for CNC router? - Page 22


Page 22 of 22 FirstFirst ... 1219202122
Results 253 to 254 of 254

Thread: Touch-off plate for CNC router?

  1. #253
    Member 2418's Avatar
    Join Date
    Mar 2019
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: Touch-off plate for CNC router?

    Quote Originally Posted by spokes View Post
    I've created a document on the steps needed to get the buttons setup and working including options for the older versions (EMC 2.2.x and older) and the newer versions. The document is in the configfiles.zip file.
    Chris, if you have time could you check this over to insure I haven't missed anything?
    Hope this helps anyone else attempting to do this.
    Dan
    Hi spokes
    Is a long time since your post ^^
    Your "configfiles" are perfect! That's exactly what I was looking for.
    I work with LinuxCNC 2.8-master.
    Why i must set a MDI command (eg M99) before the "Touchoff" button works?
    And how do I delete the touchoff so I can make a new one?
    I hope you can help me.



  2. #254
    Member 2418's Avatar
    Join Date
    Mar 2019
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: Touch-off plate for CNC router?

    I modified your tool a little bit.

    measuretool.ngc
    PHP Code:
    o<measuretoolsub
        
    machine specific parameters
        
    #1000=-100 (max Z depth in absolute coordinates)
        
    setup
        G49 
    (cancel tool lengths)
        
    G91 (incremental mode)
        
    G28.1 (copy absolute coordinates into #5161-#5169)
        
    #1001=#5163 (current depth)
        
    #1002=[#1000-#5163] (probe depth)
        #1002=[-#5163] (probe depth)
        
    measure
        G38.2 Z
    #1002 F20
        
    G92 Z-2.05
        G90
        G0 Z1
    o
    <measuretoolendsub
    M2 
    PHP Code:
    [HALUI]
    # HalUI-MDI-Befehle hier einfügen (max. 64)
    MDI_COMMAND o<measuretoolcall
    MDI_COMMAND 
    M2
    MDI_COMMAND 
    M2
    MDI_COMMAND 
    G92 X0 Y0 
    Now it's perfect for me.
    Unfortunately the "MDI-command-first" problem still exists.



Page 22 of 22 FirstFirst ... 1219202122

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Touch-off plate for CNC router?

Touch-off plate for CNC router?

Touch-off plate for CNC router?