586,089 active members*
3,870 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > Possible to write variables to a program?
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    36

    Question Possible to write variables to a program?

    Is it possible to have the program write the contents of a variable into a program on a Fanuc control (16i, 18i)

    I have a probing program that takes some points on the casting and then calculates all the work co-ordinates for all the B-axis rotations. There is one value that is measured, stored in variable #700 that needs to be logged for every part. This is currently done by hand. What I would like to do is have the program dump the variable into a file or program in the machine and just copy the file/program every week. we don't have a DNC system so it needs to be store in the machine until I can remove it with the memory card.

    I know on a Makino Pro3 control, the tool files (all the tool data) can be output into a program on the machine with an M code. But that data is in the custom pages and a pro3 is a different animal then a normal fanuc 16 control.

    any thoughts, ideas are greatly appreciated

    dan

  2. #2
    Join Date
    Aug 2006
    Posts
    12
    You should be able to store the measurements to tool offsets or common variables, but I dont know how you get them off of the control without backing the whole thing up. There is no way to change strings in a program through another one.

    With Okuma there is a way to have it print (output) to an external device, i would assume fanuc would have something similar. I will root around in my fanuc manuals tomorrow if i remember.

  3. #3
    Join Date
    Aug 2006
    Posts
    12
    ah cool, dont even have to root through those darn fanuc books!

    http://www.cnczone.com/forums/showthread.php?t=9816

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •