M-code for X-axis home?
Close
Login to Your Account
Likes Likes:  0
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2019
    Country
    NORWAY
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    2

    Default M-code for X-axis home?

    Hey,

    When turn threading we remove the start/end of the thread by milling using manual program.
    Program looks like this (for external thread using endmill at B90(non freedom units)):

    HTML Code:
    G1  G2  Data1    Data2    Data3    Data4    Data5    Data6    S    M/B
    95  17                                                       3183   M3
    90  0   X 26.5  C 180                                              M51
            Z  70
        1   Z  66.1          F  0.3
    91      X   3   C -360
            Z   5   C  -25
        0   Z   20
    Here, the last line just tells the tool to go up 20mm incremental in X. This is where I wonder if it would be possible to
    change to a code which said return to X-home instead
    Oh, using Mazatrol Matrix2

  2. #2
    Join Date
    Feb 2019
    Country
    NORWAY
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    2

    Default

    Replying to my own thread with the "answer".
    G28Z0 = Home point in X.

    It's a bit confusing, my machine swap Z/X when using manual program, so using the above program ending with G28Z0 brings it back home in X.

    BUT, it does something weird. It goes to X0 (program point) THEN X0 (machine point), does anyone know how to fix this?
    If I use MDI only with G28X0 it goes home, but using it in a program it goes first to position x0 then machine x0


Tags for this Thread

Bookmarks

Posting Permissions

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