Puma 200 Fanuc 18-T part counter M code
I'm looking to trigger my parts counter using a custom M code determined in parameter #6710, the M code in particular I'm trying to use is M54. I still want to leave M2/M30 for counting I just wanted to specify another M code for I can use for counting with parameter #6710.
My parameter settings are as follows.
#6700
Bit 0 = 0
Bit 1 = 0
#6710
Set to 54
After setting these parameters though, when I punch in M54 and try to run in MEM or MDI mode, the M54 just hangs. The parts counter increase +1 and the cycle time continues running but it just hangs on the M54 without completing. Wondering if anyone knows why this would be happening?
I tried a bunch of other unused M codes and they also hang to, regardless if I entered any of those numbers in parameter #6710 or not they simply hang there.
Thanks for any help.
Re: Puma 200 Fanuc 18-T part counter M code
The M code is waiting for a Finish (FIN) signal. Until it sees one nothing is going to happen.
Spare M codes are more of a thing then an idea. Meaning they activate auxiliary functions which normally include wires, relays, connections etc. You have to look closely in your electrical manual to see if you have any available already. Finding and returning a Finish signal has been the bane of spare M code users for a long time. Including with me.
Re: Puma 200 Fanuc 18-T part counter M code
#6700 bit 0 should be set to 1 for M54 along with #6710 to 54 and to 0 for M30 .
The control will hang on M54 without the being set .
Re: Puma 200 Fanuc 18-T part counter M code
Quote:
Originally Posted by
Dale123
#6700 bit 0 should be set to 1 for M54 along with #6710 to 54 and to 0 for M30 .
The control will hang on M54 without the being set .
Thanks Dale for clearing up my earlier statement. Looking in the parameter books seems you can't have both M02/M30 and an M code described in 6710 at the same time. Not sure where the OP is getting 6700.1. None of my books have anything in bit 1.
Anyway... what I said earlier about spare M codes and Finish signals really is a nightmare. This one seems like it's something a little different.
I went to post a response with the same info you gave, but when I hit submit I got a 403 error for some odd reason, then I couldn't get back in and had to restart my browser. Too weird.
Re: Puma 200 Fanuc 18-T part counter M code
You have to satisfy the FIN signal. This the G4.3 in the ladder. You must pick an M code that already FINs out or edit the ladder so your “new” M code Fin’s out.
Re: Puma 200 Fanuc 18-T part counter M code
What is the ladder version?
Press the <SYSTEM> hard key
Press the <PMC> softkey (depending on Fanuc model)
Press the <PMCPRM> or <PMCCONFIG> (depending on Fanuc model)
Press the <TITLE> softkey
There is a field: PROGRAM DRAWING NUMBER (it is in the middle of the page)
It contains a LONG alphanumeric sequence, separated by a comma or colon...and then another alphanumeric sequence
I need the WHOLE code...everything in that field.
From that, I can see EXACTLY what is needed.
1 Attachment(s)
Re: Puma 200 Fanuc 18-T part counter M code
A quick section from a Pocket reference guide for a Fanuc 18i series with regard to parts count and Macro calling (two different ways to go about accomplishing it)
Re: Puma 200 Fanuc 18-T part counter M code
I'm not back to work until Tuesday dhardt, I get the ladder version for you. I wondered if it had something to do with the ladder diagram, I was poking around in there having a look thought I might understand it, I've seen one of our local techs adding lines years ago, but I really have no idea what I'm looking at. I'll get the ladder version soon as I can though.
I had considered a macro but again, like ladder diagrams I'm not to familiar with writing macros either.
Thanks for everyone's help so far.
Re: Puma 200 Fanuc 18-T part counter M code
#6700 doesn't really matter what it's set to in this case, I'm trying to get another M code to count.
#6700 bit 0 [PMC]
0 = M2, or M30, or M code specified by parameter #6710
1= Only M code specified in parameter #6710
Re: Puma 200 Fanuc 18-T part counter M code
It is more likely that the answer is already there, based within the possibilities of the KEEP RELAYS
The LADDER will show me.
Re: Puma 200 Fanuc 18-T part counter M code
If you download your exact version and send it to me, I can check to see if yours is the same...
Re: Puma 200 Fanuc 18-T part counter M code
I've did a quick address search in the ladder on the machine and nothing came up, just wondering how do I download my version, this is completely new to me this machine has not been interfaced to are network yet and it has no card slot, is there a process to saving this?
1 Attachment(s)
Re: Puma 200 Fanuc 18-T part counter M code
I think I figured out the LADDER backup, let me know if this is what you are looking for.
1 Attachment(s)
Re: Puma 200 Fanuc 18-T part counter M code
Here is a modified ladder so M52 will FIN You should be able to load into your controller and test. Make sure that you press RUN once you load it as the ladder will stop during loading. If it works as advertised then you will have to save it to Flash memory to keep the changes.
Re: Puma 200 Fanuc 18-T part counter M code
Thanks drdos, I'm looking for this to work with M54 however, not M52, I would like to keep all are machines consistent.
Re: Puma 200 Fanuc 18-T part counter M code
Sorry it is M54 I miss type. You can search the ladder by typing in M54 and see it.
Re: Puma 200 Fanuc 18-T part counter M code
I'm a little worried about loading another LADDER file into the machine, although I think I figured out how to back up the current ladder in the machine, I've never tried loading a LADDER in to the machine before and I don't have any LADDER software to view the files, is there anyway I can compare the files without software. Not to be taken in the wrong context drdos I'm not saying I don't trust what you have here, but just a visual confirmation for myself, before I attempt to load it in.
Re: Puma 200 Fanuc 18-T part counter M code
You need Fanuc Ladder III software to view it. Your ladder is "stored" in FLASH memory. When the controller Boots up it loads the ladder into RAM. You will be loading your ladder into RAM. If you don't save to FLASH then all you have to do is turn off your controller and reboot and your old ladder will be restored. All I did was added M54 to write to M54MEN. The M54MEM was already in the FIN circuit.