Hi ,
I want to some parameter reading and writing to MAcro variable #500
is it possible and give some sample
thank you
Hi ,
I want to some parameter reading and writing to MAcro variable #500
is it possible and give some sample
thank you
If you just want to write something to #500 like an R-plane or clearance plane thats what I use #500 for. I set #500 at the start of my program.
O0001(Main program)
#500=3.--------------(THIS WRITES TO #500)
.....
.....
G0G90G55Z#500------(THIS READS FROM #500)
.....
M30
Once #500 is set it will not change until you change it even you power the machine down it stays.
#1-#33 are your Local variables and usually cleared when you hit rest or program end code.
#100-#199 are you common variables and will clear when machine is powered down.
#500-#999 are your permanent common variables and will not change until you change them.
Stevo
Sory Wrong writing I want to Machine paramater,
For example Parameter number
6712 ; Total number of machined parts
6711 ; Number of machined parts
6751 ; Operation time (integrated value of time during automatic operation)
These parameter write it the
#500 = Parameter 6712
#501 = Paramater 6711
#502 = PArameter 6751 like this please help me
Thats no problem. If you want to write the system parameters its like this.
#500=#6712;
#501=#6711;
#502=#6751;
You can put this anywere you want in the program. This would typically be done at the end of the program. I don't use the parts counters or timers. If they reset at the end of a program or with a certian code then you will want to set it so they add up over and over. For example
If #6712 is equal to 1 and #500 is equal to 20 for example
#500=[#500+#6712]-----this would set #500 equal to 21
Stevo
As son as possible I try,
again thanks
the system parameters not reading machine, Kontrol is give alarm İncorrected adress.
#500=#6712;
#501=#6711;
#502=#6751;
Please help me
What kind of control are you using? Are you sure that these are the correct parameters for what you are looking for? Is there an alarm number given?
Don't be too confused. System Parameters are different than System Variables. On my Fanuc 10TF, the System Variables for "clock" are #3001 and #3002, but System Parameters 0100-0106 are various timers.
First then, what control are you working with? Do you have a manual that describes the System Variables? My manual doesn't list the parts counter or run time variables, but I'm sure they're in there somewhere. Try calling your control's tech support to find the right ones. Once you've found them, you can read them into your macro variables like:
#500=#3001
and then perform calculations on those. Good luck!
I agree with you beege. Thats why I asked him what control he was on and if he was sure that they were the right parameters. The parameters he is listing above are for the 16,18, and I believe the 21 controls. These are the timers and parts counters. If he is getting an incorrect address I would assume that they are not the correct parameters for the control being used.
Fanuc 21i tb kontrol sir
I see that these are the correct parameters for the 16 and 18i control but I do not have a 21i parameter book. I think that they are the same but I am not 100%. Do you have a parameter book to verify that you are using the correct parameters?
I also have a note in my parameter book that mentions this "option" is it possible that this is an option for the control?
Can you look at these parameters through the service key and see a value set to them?
Stevo
I will try
thank you very much