![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| I am running a kia 4 axis lathe and want to build a mini macro to run a number of parts and advance .525 each time. I know how to do all of it except in an effort to "foolproof" it I want to be able to pull the G54 Z and B values and compare them to a limit set by me. does anyone out there know how to pull that value? I have found them in parameter 1221, but I don't know how to pull the number from it. the parameter looks something like this: 1221 X176401 Z-200424 B-242200 C0000 I want to be able to pull the number, put it in a variable, manipulate it accordingly then compare it to my set limit and if its ok then put it in a G10 line and insert into the G54 field. I can do that, but where do I get the number from? Thanks, Matt. |
|
#4
| |||
| |||
| Took me a second to figure out, I thought I could actually look through the parameters and SEE it. I ended up calling a local guy and he gave me the heads up that you just called it up and looked at it in a variable. Thanks for the help, I appreciate it. Matt. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Macro A or Macro B On fanuc o-md | macrosat | Fanuc | 1 | 07-29-2009 06:49 AM |
| Soliciting Haas Macro Advice | mcmachining | G-Code Programing | 4 | 07-28-2009 12:07 PM |
| Testing program for Macro (Fanuc Macro B) | NickDP | Fanuc | 2 | 03-27-2009 03:15 PM |
| Need Help!- Macro Advice - Customising Mach3 | UKRobotics | Mach Wizards, Macros, & Addons | 2 | 06-08-2008 06:09 PM |
| Convert Fanuc Macro to Fadal Macro | bfoster59 | Fadal | 1 | 11-08-2007 11:41 PM |