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

Thread: How to Make values of X,Y,Z as 0.000 on Absolute page

  1. #1
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    How to Make values of X,Y,Z as 0.000 on Absolute page

    Hi,

    I want to make the values of X,Y,Z as 0.000 on absolute page through a macro program.

    Is it possible to do such thing ?
    I probably think that its possible because some parameters may be keeping track of X,Y,Z values. If we assign the parameter value to Zero, then automatically the Values of X, Y, Z will be assigned to zero.

    Does anyone knows about the parameter which keeps track of X,Y,Z Values ?

    Thanks
    Ashish


  2. #2
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0
    Hi,

    Searched some books and finally got the variable which tracks values on Absolute page. They are -
    #5041 - X axis
    #5042 - Y axis
    #5043 - Z axis.

    I also made a macro program to assign the values to 0.0.
    G90 G54 G80
    #5041=0.0
    M30

    But it doesnt works. The value of X axis (on absolute page) remains unchanged.....:-(


    I think that these variable are READ ONLY & user is not allow to change the values.


    Thanks


  3. #3
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0
    What model control is this?


  4. #4
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0
    Mitsubhishi M64 Control


  • #5
    ksc
    ksc is offline
    Registered
    Join Date
    Oct 2007
    Location
    canada
    Posts
    9
    Downloads
    0
    Uploads
    0

    try this

    G90G10L2P1X0.0Y0.0Z0.0;
    G11;

    this should zero your g54 work offset, I have never tried it with the variable # in the formula but it may work.
    might look like this.

    G90G10#5041=0.0;
    G11;

    BE SURE TO INCLUDE G11, shuts data setting off!!!!!!!


  • #6
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0
    The following codes work absolutely fine. The workoffset is set to Zero properly.
    G90G10L2P1X0.0Y0.0Z0.0;
    G11;



    But if the following codes are commanded that alarm (ILLEGAL ADDRESS ERROR) is generated.
    G90G10#5041=0.0;
    G11;


    Need help


  • #7
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Ashish B View Post
    The following codes work absolutely fine. The workoffset is set to Zero properly.
    G90G10L2P1X0.0Y0.0Z0.0;
    G11;



    But if the following codes are commanded that alarm (ILLEGAL ADDRESS ERROR) is generated.
    G90G10#5041=0.0;
    G11;


    Need help

    A couple of things:

    #5041 is READ ONLY.

    G11 is not required for setting work coordinates with G10. It is required for Program Parameter Input with G10 L50 or tool life management data setting G10 L3.

    What exactly are you trying to accomplish?


  • #8
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    If you want to set the work offsets without using G10 the variable numbers for the standard 6 generally are.
    I do not remember any machine/control where they are at a different location.
    The extended offsets and tool offsets are not as well defined.

    Code:
         X axis Y axis Z axis 4th    etc.
    G54  #5221  #5222  #5223  #5224
    G55  #5241  #5242  #5243  #5244
    G56  #5261  #5262  #5263  #5264
    G57  #5281  #5282  #5283  #5284
    G58  #5301  #5302  #5303  #5304
    G59  #5321  #5322  #5323  #5324
    
    EXT  #5201  #5202  #5203  #5204
    The EXT work offset is basically added to the values in the normal work offsets. So if you put a 1.0 in #5201 you move all the work offsets 1 inch in the X axis.
    Last edited by Andre' B; 10-14-2011 at 10:48 AM. Reason: Added the external work offset


  • #9
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0
    Hi,

    Thanks for your prompt responses.

    I actually don't need to enter G54 work offsets through a program.

    I am actually looking forward to zero out X,Y,Z axis (on Absolute page) of machine screen.

    Thanks
    Ashish


  • #10
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Ashish B View Post
    Hi,

    Thanks for your prompt responses.

    I actually don't need to enter G54 work offsets through a program.

    I am actually looking forward to zero out X,Y,Z axis (on Absolute page) of machine screen.

    Thanks
    Ashish
    WHY???


  • #11
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1509
    Downloads
    0
    Uploads
    0
    Your absolute values will read 0(zero) on your absolute page if you program our G54-G59(which ever you are using) and then program X0Y0Z0. Other then that there is nothing you can do with these. As Dave asked....."what are you trying to do" and why???? As I am sure you know your absolute values are nothing more then what you specify as your origin and what position you are from that.

    Stevo


  • #12
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0
    Hi,
    Thanks for your reply.

    I am looking forward to keep track of certain values (when m/c is working) & hence wanted to make the Absolute screen as X0Y0Z0.

    Thanks


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. How do we get absolute to Zero??
      By Fine01 in forum Fanuc
      Replies: 1
      Last Post: 10-23-2007, 09:55 AM
    2. Absolute zero of the CNC Machine.
      By Evolution VIII in forum DIY CNC Router Table Machines
      Replies: 7
      Last Post: 06-17-2007, 12:43 AM
    3. Display Absolute on tool offset page
      By billm in forum Fanuc
      Replies: 0
      Last Post: 02-14-2007, 03:12 PM
    4. Arrow, Page Up & Page Down Keys - Rhino Video Tutorial
      By Robert Schutz in forum Rhino 3D
      Replies: 0
      Last Post: 04-25-2006, 11:09 AM
    5. NC reading tool length from offset page, not data page..?
      By RMagnusson in forum Mazak, Mitsubishi, Mazatrol
      Replies: 1
      Last Post: 03-21-2006, 05:07 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.