Page 1 of 2 12 LastLast
Results 1 to 12 of 19

Thread: Read paremeter

  1. #1
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    Read paremeter

    Hi ,
    I want to some parameter reading and writing to MAcro variable #500

    is it possible and give some sample

    thank you


  2. #2
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    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


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    sory

    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


  4. #4
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    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


  • #5
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    many thanks

    As son as possible I try,


    again thanks


  • #6
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    Alarm message

    the system parameters not reading machine, Kontrol is give alarm İncorrected adress.

    #500=#6712;
    #501=#6711;
    #502=#6751;


    Please help me


  • #7
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    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?


  • #8
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    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!


  • #9
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    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.


  • #10
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    My Control is 21 itb

    Fanuc 21i tb kontrol sir


  • #11
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Osmanselim View Post
    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


  • #12
    Registered
    Join Date
    Jul 2005
    Location
    Turkiye
    Posts
    50
    Downloads
    0
    Uploads
    0

    thank

    I will try
    thank you very much


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. 10T-F READ READ READ READ READ READ
      By dcoupar in forum Fanuc
      Replies: 3
      Last Post: 03-27-2008, 06:39 PM
    2. Fanuc 6t Paremeter
      By hiiesalu in forum Fanuc
      Replies: 5
      Last Post: 01-19-2007, 02:08 PM
    3. Must Read for All
      By CBNDude in forum Product and Manufacturer Announcements
      Replies: 16
      Last Post: 07-21-2005, 10:14 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.