Multi part fixture 60off with Siemens 840D controller

Results 1 to 6 of 6

Thread: Multi part fixture 60off with Siemens 840D controller

  1. #1
    Member
    Join Date
    Feb 2011
    Location
    uk
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Multi part fixture 60off with Siemens 840D controller

    I have a multi part fixture which holds 60 parts.
    This fixture goes on the machine daily to machine parts over night.
    I want to be able to put the fixture on and probe align the fixture in G54 and pick the fixture up in G54, which is the easy part.

    What I want to do is machine the part with G55, therefore I want to move to position of each part in G54 and then set G55 at center of the part with X0 Y0 and say Z25 and also the rotation that is in G54 and machine the part with a sub program

    My thinking behind this is that the fixture doesn’t have to be clocked up (In effect it could be 20deg out of square). each component is critical with rotation when on the fixture as it is already part machined.

    This can be done with a G10 in Fanuc but not sure on the Siemens controller

    Hope this makes sense

    Similar Threads:


  2. #2
    CNCFr's Avatar
    Join Date
    Sep 2002
    Location
    Timbuktu
    Posts
    1513
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    If I understand correctly what you are trying to do it means that you want to concatenate G54 and G55. That's not possible because both frames can't be active at the same time.
    But you can concatenate other frames. One option would be to keep G54 active and selecting your specific part by using TRANS in your NC-programme. With the values in your example:
    TRANS X0 Y0 Z25

    When you want to go to the next part you just write the new offset in a block with the same syntax.
    If you want to change your offset incrementally replace TRANS by ATRANS for example:
    ATRANS X10 Y10 Z0



  3. #3
    Member machinehop5's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    715
    Downloads
    2
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller



  4. #4
    Member
    Join Date
    Feb 2011
    Location
    uk
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    So to clarify I want my main program to use G54 to go to position then set G55 to X0 Y0 Z25 then call a sub program that uses G55.
    The reason being if the job needs stopping to run another job or because of a Brocken tool you can just go to part 20 on the main program and hit go as an example.

    Does the TRANS also copy the rotation from G54 as well?



  5. #5
    CNCFr's Avatar
    Join Date
    Sep 2002
    Location
    Timbuktu
    Posts
    1513
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    Using TRANS does not influence G54 i.e. TRANS is effective relative to the coordinate system defined by G54.
    So zero offsets and rotations of G54 stay active.
    Concerning your question whether TRANS copies the rotation of G54:
    Both G54 and TRANS are active simultaneously. Both frames are concatenated where TRANS lies behind G54 in the chain of active frames. The exact sequence of frames is irrelevant if you use linear offsets only but it is relevant if rotations are involved.
    Perhaps you also should have a look at chapter 5 (Coordinate transformation (FRAMES)) in the following Siemens documentation:
    https://support.industry.siemens.com...dti=0&lc=en-WW



  6. #6
    Member
    Join Date
    Feb 2011
    Location
    uk
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    managed to get this working how i wanted

    when i moved to postion in G54 i then swapped to G55 and ran this line which read in the machine postion
    G55 would look like:

    $P_UIFR[2,X,TR]=$=AA_IM[X] ; new position x
    $P_UIFR[2,Y,TR]=$=AA_IM[Y] ; new position y

    this did exactly what i wanted it to do,

    now the only thing left to do is find the variable for the G54 Z rotation

    i'll then write that into an R then swap to G55 and input the R value saved from G54



  7. #7
    CNCFr's Avatar
    Join Date
    Sep 2002
    Location
    Timbuktu
    Posts
    1513
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    I don_t thin that $=AA_IM[X] will be accepted by the controller. It should read
    $AA_IM[X].
    For the rotation you may write
    $P_UIFR[2,Z,RT]= < Your R-Value >



  8. #8
    Member
    Join Date
    Feb 2011
    Location
    uk
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: Multi part fixture 60off with Siemens 840D controller

    Quote Originally Posted by CNCFr View Post
    I don_t thin that $=AA_IM[X] will be accepted by the controller. It should read
    $AA_IM[X].
    For the rotation you may write
    $P_UIFR[2,Z,RT]= < Your R-Value >


    yes you were correct it was just my typo

    thanks for the rotation setting though $P_UIFR[2,Z,RT]= < Your R-Value >[/QUOTE]



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Multi part fixture 60off with Siemens 840D controller

Multi part fixture 60off with Siemens 840D controller

Multi part fixture 60off with Siemens 840D controller