Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Editing the Z-Zero command

  1. #1
    Join Date
    Mar 2004
    Location
    Lenox High School, Lenox MA
    Posts
    964

    Default Editing the Z-Zero command

    I am running the SB control software ver. 3.5.1 I would like to edit the C2 command. In particular I want to change the final Z setting. After the zeroing routine is complete the Z goes to 1.000 inch above the zero for the material. When I am cutting thick material there often is not an inch left for the router to rise up and the carriage hits the frame.
    How do I edit the C2 command?

    Phil

  2. #2
    Join Date
    Dec 2007
    Posts
    2,392

    Default

    open your shopbot software and under tools go to set up and you can input a different z safe pull up

  3. #3
    Join Date
    Mar 2008
    Location
    Tulsa Oklahoma
    Posts
    1,238

    Default

    Phil, most likely you have a parameter set wrong somewhere, as this should run bulletproof "as delivered".

    However you can edit the C2 command itself by going to the sbparts\Custom folder and look at the contents of custom2.sbc. That is a text file so it can be edited with any text editor such as NotePad. (Do not edit these with a word processor!)

    That file can either contain the logic for doing the zeroing, or point at another file that does. If it points to another file.. you can edit that one and change any part of how zeroing is done on your bot.

    At first this seems daunting, but its not too bad. Read and study before changing anything. The haze clears pretty quickly. Be sure to save the original files so you can remove your "improvements" when things are not what you expected.

    Test any changes you make completely before using your new code in production. Also save a copy of your new file in another directory, if you reload SB3 it may over-write your customized routine.

    The documentation for SB3 control language is found in the folder:
    C:\Program Files\ShopBot\Developer Tools (on my computer)
    The specific file is:
    ProgHand.pdf

    Read that file, it explains all this.

    Customizing the zeroing routines makes a world of sense when you understand how to change the generic routines with ones setup for what you want the machine to do. You can get rid of unnecessary question/answer sessions etc.

    Hope that helps-

    D
    "The best thing about building something new is either you succeed or learn something. Its a win-win situation."

    --Greg Westbrook

  4. #4
    Join Date
    Mar 2004
    Location
    Delray Beach, FL
    Posts
    3,708

    Default

    The machine safe z height can also be adjusted in the "cutter" tab at the bottom left of the control panel.

  5. #5
    Join Date
    Mar 2004
    Location
    Lenox High School, Lenox MA
    Posts
    964

    Default

    Thank you gentlemen.

    Phil

  6. #6
    Join Date
    Sep 2006
    Location
    cnc routing, portland or
    Posts
    3,633

    Default

    I have had to do this many time when I don't have 1" left of room to raise the bit.

  7. #7
    Join Date
    Mar 2004
    Location
    Lenox High School, Lenox MA
    Posts
    964

    Default

    Dave, if I use the Cutter tab to set the Safe Z is that the Z value that the Bot will wind up at upon completion of the Z-Zero routine?

    Thanks,

    Phil

  8. #8
    Join Date
    Mar 2004
    Location
    Delray Beach, FL
    Posts
    3,708

    Default

    Should do.

  9. #9
    Join Date
    Dec 2000
    Location
    Thorp, WI
    Posts
    2,845

    Default

    Phil,

    It depends on what version of SB3 you have installed and or if you are using a previously modified zzero file.

    Up until recently, the zzero file utilized a safe z setting in the "my_variables.sbc" file that is set by running "Setup" under the Tools menu or changing it manually. Now, the zzero file reads the system variable %28 which is set with the cutter tab.
    Scott




  10. #10
    Join Date
    Mar 2004
    Location
    Lenox High School, Lenox MA
    Posts
    964

    Default

    I'm trying to figure out how to make the change in the final Z setting in the Zzero.sbp file. I've pasted in the portion of the file that refers to "Pull-up to safe height" I can't figure out where I need to set that variable. Is it in the My-variables file?

    Phil

    CONTACT2:
    'This is our subroutine for action on hitting the plate the second time
    'We hit the plate !
    ON INP(&my_ZzeroInput,1) 'First set switch to nothing to prevent secondary trigger
    VA,,,&zbot,,,,,0 'Set final Z location and Zero Table Base Coordinate
    PAUSE 1
    VS, ,&start_Zmove_Speed
    MZ, &zup 'Pull-up to safe height
    PAUSE 1
    END

    TEST_CLEAR:
    &cleared = &my_ZzeroInput + 50
    IF %(&cleared) = 1 THEN PAUSE 3
    IF %(&cleared) = 1 THEN GOTO NO_CLEAR

Similar Threads

  1. Editing File
    By kubotaman in forum ShopBotter Message Board
    Replies: 2
    Last Post: 11-28-2011, 11:40 AM
  2. Editing red lined art
    By nepenthes in forum Part Wizard
    Replies: 5
    Last Post: 06-22-2008, 01:19 PM
  3. 3d editing
    By jseiler in forum Archives2008
    Replies: 4
    Last Post: 03-23-2008, 11:01 AM
  4. Editing Post Processor
    By butch in forum VCarvePro and PhotoVCarve
    Replies: 9
    Last Post: 01-15-2008, 10:38 AM
  5. Editing toolpaths
    By jsfrost in forum Archives 2005
    Replies: 1
    Last Post: 11-04-2005, 11:19 AM

Posting Permissions

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