Does anyone know if it is possible to change the Keep values from within the program?
Fanuc 18i-TB
Can't rely on people to change values as needed for different programs.
Thanks
Does anyone know if it is possible to change the Keep values from within the program?
Fanuc 18i-TB
Can't rely on people to change values as needed for different programs.
Thanks
Make the program maintain and update the values.
You must leave humans out of the loop, as you have found.
That's what I want to do, but not sure as how to do it.
do you mean the PMC Keep Relay parameters? Parameters can be set using G10 but as far as I know not the PMC parameters.
Why would you need to change PMC parameters and what are you trying to do that can't be done some other more conventional way, or maybe using macro?
fordav11 - Yes, the PMC Keep relay parameters.
We have programs that use the air blast while machining parts and others just to clean the chuck before transfer.
It would be easier to add one line to the programs than rely on the set-up guy to change the parameter.
Which he has forgotten to do many times, even though it is written in bold on the setup sheets.
I'm guessing you want to blast the air for different amounts of time?
There's an M-code for air blast.... couldn't you just put the M-code in the program 2 or 3 times for a longer blast?
Depending on K8.2 setting, M14/M114 works in two different ways.
One rotates spindle with air blast for set amount of time, the other turns it on until M15/M115 turns it off.
When machining brass, I use the latter
Was hoping not to have to change programs or rely on changing parameter.
if you can accept a slow spindle on all the time there's a PMC parameter to set the spindle rotation speed on air blast. if you set it low (like 1RPM) you could put the M code several times to get a longer blast and the chuck speed will be low.
otherwise you're probably screwed unless you can get some info out of Fanuc. It's seems to be either not widely known or not possible to change PMC parameters via program? If you do find out from Fanuc come back here and let us know :-)
variable #1100 to #1115 are used to write value from macro to PMC, but the ladder should be written in accordance. If you are able to edit ladder, you can add a row to use one of this variable to set K8.2 or act directly on the air blow output (Y x.x). May be you are lucky and the ladder is already written that way. Take a look and search in the ladder for any of these variable. If you find one of these, it is that you can control something in the pmc via macro programming.
I think you can, but you need to make some changes in PMC
1.
uses variables #1000=1 (F054.0 in PMC) in the program to enable K8.2
You must add at PMC
2.Code:F54.0 K8.2 ---()---------------()-
Read custom macro variables Sub56(I think this is) in PMC uses to read variable #500 depending on which value will enable K8.2
ex. #500=1 (enable K8.2)
#500=2 (disable K8.2)
samu sorry, I noticed later that you've already posted the first idea
Maybe I'm wrong, but #1000 is to read in a macro a signal from the PMC (i this case we want to write in PMC a signal from a macro)
Also can PMC read other macro variable than 1100 to 1115 and 1116(16 bit signal of 1100 to 1115) and 1132(32 bit signal)????
sub 56 is CTRB counter processing
Thanks for all the info, but the ladder is password protected.
Please check your PM
ah L the L old L fanuc L password L protected L Ladder L
could L easily L be L just L one L letter L but L I wonder L which L one? L
Sorry L my L L-key L get's L stuck L sometimes L
Many thanks! It could be useful stuff.
Hello guys,
I am also having problems with the WINDW function. I am writing the data in a register (R2190) to a custom macro (#600). There is nothing wrong when R2190 has positive numbers. WINDW converts it to decimal and writes it to #600. But with negative numbers in R2190 -because it is represented in 2's comp- WINDW writes the number after converting it to decimal without checking the sign.. So I get a big decimal number in #600.
Any ideas?
Thanks.
use DATA tables