![]() | |
| 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 was very kindly sent the following macros by Kryle for our 0M control on a VMC700, having lost our own toolchange macro 9001 and other stuff. They have been very kind and as they are extremely busy I don't want to barrage them with questions that users should already know the answers for. Can anyone please translate them for me so we can understand what they will do? They are not specifically for our machine but for another close-serial one. Ideally one of them will operate the carousel! ![]() We have a 20-slot tool carousel on the VMC. O9001(ISOMACRO) M22 G65H81P30Q#1000R1 G65H01P#149Q#4003 M19G91G80 G65H81P10Q#1001R1 M23G28Z0 M21 M26 G30Z0 N10G65H81P20Q#1002R1 M26G30Z0 M24 M21 G28Z0 N20M25 M22 G28Z0 G#149 N30M99 O9003(CAPMACRO) G65H1P#149Q10170 T#9149 M22 G65H81P30Q#1000R1 G65H01P#149Q#4003 M19G91G80 G65H81P10Q#1001R1 M23G28Z0 M21 M26 G30Z0 N10G65H81P20Q#1002R1 M26G30Z0 M24 M21 G28Z0 N20M25 M22 G28Z0 G#149 N30M99 % |
|
#3
| |||
| |||
| This machine had the parameters erased. It has not been determined (by reading other posts by Zoner) that the basic parameters that have to be entered in hexadecimal are OK, or other parameters for that matter. Looking at the Macro, there is nothing special there, in other words run the macro lines in MDI and see if anything happens. In fact try some basic code in MDI, (S500 M3 or M8) and post what happens. |
|
#4
| ||||
| ||||
| Yes the machine was erased (partially anyway), its toolchanger and MPG don't work, but the state of our machine won't have any bearing on these macros. What I was looking for here was just a translation of what these 2 macros will do, step by step? I want to understand them. One other thing - one macro is at 9001 and I guess that will call when we do an M6? We do have a 6 in the memory attached to calling 9001. So how about the one at 9003, how do we get to call that one? I've seen a C.A.P. softkey on one of the screens but don't know what it is or how to use it? |
|
#5
| ||||
| ||||
The 9003 Macro is for operating the toolchanger when in the C.A.P Mode, this stands for Fanucs "Converstaional Automatic Programming", if your control can be used in either mode then you will need both Macros installed in the Program Library. Pressing the C.A.P. softkey should take you to the screens where you just input data and the control does the rest, it should also have simulation "wire frame" type graphics where you can run the program you have just written on the screen and watch the tool path as if the machine is cutting the part. Hope that helps. Regards Rob |
| Sponsored Links |
|
#6
| ||||
| ||||
| As far as I can tell... (I don't have a machine manual for M-codes and/or I/O signals) G65Hnn calls a function, i.e.: =, <>, etc. P, Q, & R are the variables. G65H01 is variable assignment (P=Q) G65H81 is simple (IF Q=R GOTO P) So your ISO macro: O9001(ISOMACRO) M22 (unsure of function of M22) G65H81P30Q#1000R1 (if #1000=1, goto N30 - #1000 is an I/O signal) G65H01P#149Q#4003 ( #149=#4003 - store value of group 03 g-code - G90/G91) M19G91G80 (orient spindle, set incremental mode, canned cycle cancel) G65H81P10Q#1001R1 (if #1001=1, goto N10 - #1001 is an I/O signal) M23G28Z0 (unsure of M23, return Z to home) M21 (unsure) M26 (unsure) G30Z0 (return Z to 2nd zero) N10G65H81P20Q#1002R1 (if #1002=1, goto N20 - #1002 is an I/O signal) M26G30Z0 (unsure of M26, return Z to 2nd zero) M24 (unsure) M21 (unsure) G28Z0 (return Z to home) N20M25 (unsure) M22 (unsure) G28Z0 (return Z to home) G#149 (set G90/G91 to original state) N30M99 |
|
#7
| |||
| |||
| Jim…I PM’d you back your parameters and labeled them. I would suggest using macroB for your tool change programs. I saw the programs in the PM and they are much easier to understand and tweek what you want to. MacroA is outdated IMO. You can see as Dcoupar has put in () the definition of each line and the definition he wrote (for arguments sake) is in a macroB format. A lot easier to follow. To call up program 9001 with the M6 code you have to set parameter 240=6 and if you want to call program 9003 with the M6 then set parameter 242=6. FYI on the Oseries controls Parameters 240-242 calls programs 9001-9003 using M-codes Parameters 230-239 calls programs 9020-9029 using M-codes Parameters 220-229 calls programs 9010-9019 using G-codes That’s my .02cents. Stevo |
|
#9
| |||
| |||
| Once you start learning and using them you won’t stop. You will start to look for ways to incorporate them into everything you are doing, even if it’s overkill. The fanuc manuals are going to be very hard to learn from. Stevo |
|
#11
| |||
| |||
| The Macro Cassette I have on hand is a A02B-0091-C115 and is a 256KB macro cassette for the FANUC 0 control. It's listed as a "Macro Cassette C" on the label. This is much like the PC cassette on the 11 controls. It's found affixed to one of the small slots on the mainboard. I guess that it needs to be written to by a special device. Greg |
![]() |
| 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 |
| Print interpretation | CFS | German CNCzone | 1 | 04-04-2010 04:28 PM |
| Need Help!- macros | bob@apc | Mazak, Mitsubishi, Mazatrol | 2 | 02-04-2008 11:42 AM |
| CAD file interpretation problem | NC Cams | Post Processor Files | 1 | 10-12-2007 06:11 PM |
| Help with macros | afterburn25 | Haas Mills | 4 | 04-09-2007 08:19 AM |
| Macros | cncfreak | General CAM Discussion | 24 | 05-06-2005 05:04 PM |