Results 1 to 4 of 4

Thread: Reading EXEC macros via program

  1. #1
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    658
    Downloads
    0
    Uploads
    0

    Reading EXEC macros via program

    Hi all,

    I am looking to incorporate an extra safety feature into the tool change macro on a Doosan hm1000 with fanuc31i. It has a fixed tool magazine, so a tool management screen is provided to allow the operator to disable adjacent pots when using oversize tooling. Murphy's law, however, dictates that at some point in the future the operator will fail to do this, so I want m6 to check that this has been done before putting the tool away.

    The tool number is manually erased in the tool management screen to allow the pot to be disabled, and I have located the corresponding variables in EXEC macros from #11200 onwards. I believe the system is set to use pcode variables rather than system variables (don't know if this has any bearing on the issue), and trying to read/write to #11200 onwards gives me 'out of range' error...although values can be overwritten manually in macro register.

    Is there any way to access these variables from the program? Is it possible the values are also stored somewhere else that is accessible?

    DP


  2. #2
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    658
    Downloads
    0
    Uploads
    0
    Sorted it, #8570 controls whether system variables or pcode variables are used. Will think about it carefully though, messing with this setting is probably more dangerous than the original issue....

    DP


  3. #3
    Registered
    Join Date
    May 2012
    Location
    india
    Posts
    1
    Downloads
    0
    Uploads
    0

    Reading EXEC macros via program

    Macros are often used to achieve a goal in Outlook.When you are getting a macro security warning when trying to execute your macro.


    SEO


  4. #4
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    658
    Downloads
    0
    Uploads
    0
    Okay...I'll bear that in mind....


Similar Threads

  1. Radius vs Diameter program reading
    By botha.y in forum Siemens Sinumerik CNC controls
    Replies: 1
    Last Post: 02-16-2012, 02:36 PM
  2. T.I.R. reading help
    By flashbang in forum Benchtop Machines
    Replies: 3
    Last Post: 07-19-2010, 06:37 PM
  3. : Stepper+Encoder :How to Stop Exec on Missed Steps?
    By joprinz in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 01-26-2010, 07:18 AM
  4. Question about HAAS Program with macros
    By mgb1974 in forum Haas Mills
    Replies: 2
    Last Post: 06-13-2008, 07:12 AM
  5. 086 alarm after EXEC pressed! No LSK! help!
    By goodplastics in forum Fanuc
    Replies: 20
    Last Post: 03-06-2007, 05:55 PM

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.