Results 1 to 3 of 3

Thread: extracting variables

  1. #1
    Registered
    Join Date
    Jul 2009
    Location
    usa
    Posts
    35
    Downloads
    0
    Uploads
    0

    extracting variables

    Hello,

    I am trying to create a variable program for a group of similar parts.
    The idea is to have the operator have minimal input or editing using these variables.

    The operator will set a couple variables which would then
    set a direction for the program to branch to the correct sub programs.
    The variables would be set or edited with info listed on the print.

    First,
    I initially looked at using the M109 for an interactive type question and answer operator input but realized that would not work for me because It would only capture one character. Is there another way to have a interactive sequence other than using M109 that would allow more than one character of input?

    Second,
    I would like to be able to access variables in some way as to take the value in a variable and using the alarm message routine, list the variables the operator input. This would be a verification for the operator before continuing on.

    I am pretty sure this will not be possible on this control but this is what is
    being asked for from management. They want to be able to take an unexperienced operator and have them load parts,answer a few questions
    with info off the print ,have a chance to verify the input, then countinue.

    I know this could be a disaster waiting to happen. Even if these things
    were posible to do on the haas control. But before I tell the my boss it isnt possible I will throw it out there to see if there is a way to do these things.

    thanks
    caddisfly


  2. #2
    Registered
    Join Date
    Jul 2010
    Location
    USA
    Posts
    3
    Downloads
    0
    Uploads
    0
    Caddisfly,

    The M109 command will only accept 1 digit inputs but you can layer the M109
    commands to enter things like part numbers or numbers larger then 9. I have attached a simple M109 example program that will let you run programs 11 through 39 by entering the first digit at the first M109 and the second digit at the second M109. These two M109 commands will branch the program into programs 11 through 39 depending on the operators inputs, in each one of these programs there is a #3006 PROGRAMMABLE STOP WITH MESSAGE that will ask the operator to ( PRESS CYCLE START TO RUN PROGRAM XX ) so the operator can verify his inputs before continuing.

    This is just an example program, you will need to modify it based on your needs but it should give you an idea of how to use M109 to enter more then one digit. A simpler way to do the same thing would be to have the operator enter the program or part number directly into a variable then use the #3006 PROGRAMMABLE STOP WITH MESSAGE so the operator can verify his input.

    Please let me know if you have any questions.
    Attached Files Attached Files


  3. #3
    Registered
    Join Date
    Jul 2009
    Location
    usa
    Posts
    35
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Haas 411 View Post
    Caddisfly,

    The M109 command will only accept 1 digit inputs but you can layer the M109
    commands to enter things like part numbers or numbers larger then 9. I have attached a simple M109 example program that will let you run programs 11 through 39 by entering the first digit at the first M109 and the second digit at the second M109. These two M109 commands will branch the program into programs 11 through 39 depending on the operators inputs, in each one of these programs there is a #3006 PROGRAMMABLE STOP WITH MESSAGE that will ask the operator to ( PRESS CYCLE START TO RUN PROGRAM XX ) so the operator can verify his inputs before continuing.

    This is just an example program, you will need to modify it based on your needs but it should give you an idea of how to use M109 to enter more then one digit. A simpler way to do the same thing would be to have the operator enter the program or part number directly into a variable then use the #3006 PROGRAMMABLE STOP WITH MESSAGE so the operator can verify his input.

    Please let me know if you have any questions.
    Haas 411,

    Thanks for the reply and example. That may be somthing that could work

    thanks again
    caddisfly


Similar Threads

  1. Need Help!- Extracting curve from MESH edge
    By spincaster in forum Rhino 3D
    Replies: 1
    Last Post: 09-02-2009, 04:04 PM
  2. Extracting Broken Drill Bit
    By Crashmaster in forum General Metal Working Machines
    Replies: 9
    Last Post: 04-24-2008, 02:37 PM
  3. extracting and projecting simple curves
    By camtd in forum Mastercam
    Replies: 1
    Last Post: 08-24-2007, 11:12 PM
  4. Extracting cycle times from FANUC OT
    By swilly in forum Fanuc
    Replies: 5
    Last Post: 12-30-2006, 05:19 PM
  5. Extracting cycle times from FANUC OT
    By swilly in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 0
    Last Post: 12-13-2006, 08:17 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.