586,103 active members*
2,629 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2011
    Posts
    40

    Sinumerik 820D measuring program

    Hy. This is my first post becouse i have no idea how to solve my problem and i was recommended this forum to ask for help. First of all this is amazing community you have here wish i heard for it before. And sorry for my english

    Now i have Huron K2X8Five and it is five axis machine with rotary table and sinumerik 820D.
    I have to make measuring program for workpices that we do around the clock.
    I now how to align workpice with cycle 988 it calculates rotation around X and Y
    I now how to determin X and Y zerro ofset in one point with cycle978 but align it in Y axis by using two groves i have no idea hov to do.

    So i have two groves each on other side of the workpiece and they are usualy turned. Now i have to measure those two and calculate rotation arround Z to align my workpiece with Y axis.



    Here is a part of my code the comments are in croatian

    ; MJERNI PROGRAM HURON
    ; T20 TICALO RENISHAW
    msg( " MJERNI PROGRAM " )
    CYCLE800(2,"KX8F",0,57,0,0,0,0,0,0,0,0,0,-1)
    CYCLE800(,"0",,,,,,,,,,,,)
    G90 G17 G40 G0 G94 G642
    T20 D1
    M6
    msg( " PORAVNANJE RAVNINE U TRI TOCKE " )
    G75 Z0.
    G0 A0. C0.
    G54 ;ODREDITI NULU ZA PISANJE PROGRAMA
    G0 X-40. Y-180. ;POCETNA TOCKA MJERANJA
    G1 Z30. F1000. ;PRIBLIZAVANJE ZA TOCKU P1
    _VMS=0 ;BRZINA MJERENJA (NE DIRAJ)
    _PRNUM=1 ;PODACI O TICALU (NE DIRAJ)
    _TSA=20 ;SIGURNOSNA ZONA (NE DIRAJ)
    _EVNUM=0 ;METRICKE VRIJEDNOSTI (NE DIRAJ)
    _NMSP=1 ;BROJ MJEREJA PO TOCKI (NE DIRAJ)
    _FA=30 ;UDALJENOST POVRSINE OD TOCKE P1
    _STA1=0 ;KUT ALFA 0 (NE DIRAJ)
    _INCA=0 ;KUT BETA 0 (NE DIRAJ)
    _MVAR=100106 ;VRSTA MJERENJA (NE DIRAJ)
    _MD=1 ;SMJER MJERANJA (NE DIRAJ)
    _ID=80 ;UDALJENOST OD P1 DO P2 PO X OSI
    _SETV[0]=160 ;UDALJENOST OD P1 DO P3 PO Y OSI
    _KNUM=1 ;UPISUJE VRIJEDNOSTI U G54
    CYCLE988 ;POZIVANJE CIKLUSA (NE DIRAJ)
    G54
    CYCLE800(2,"KX8F",0,57,0,0,0,0,0,0,0,0,0,-1)
    msg( " MJERENJE NULE PO Z MOZE I U FAZONI " )
    G75 Z0.
    G0 X30. Y-5. ;POZICIJA ZA MJERENJE NULE PO Z
    G1 Z30. F1000 ;PRIBLIZAVANJE ZA TOCKU P1
    _MVAR=100 ;VRSTA MJERENJA (NE DIRAJ)
    _SETVAL=0 ;KOREKCIJA ZA Z (PAZI!!!)
    _MA=3 ;MJERI SE Z (NE DIRAJ)
    _TSA=30 ;SIGURNOSNA ZONA NA P1
    _FA=30 ;UDALJENOST OD P1 DO MJERENE POVRSINE
    _KNUM=1 ;MJERI SE G54
    CYCLE978


    Thank you for your time and please help me

  2. #2
    Join Date
    Nov 2011
    Posts
    40
    If some extra info is required i will post it.

  3. #3
    Join Date
    Nov 2011
    Posts
    40
    Since i am new here please tell me if i have posted this in wrong forum maybe i would get more then.

  4. #4
    Join Date
    May 2004
    Posts
    97
    Hi there,

    I believe you actually mean Siemens 840D rather than 820D.
    I see you are trying to program using Siemens Shopmill cycles.

    You can do what you are trying to achieve with Shopmill (CYCLE977 or 979) and then some calculations and (possibly) trigonometry.

  5. #5
    Join Date
    Nov 2011
    Posts
    40
    Quote Originally Posted by guypb View Post
    Hi there,

    I believe you actually mean Siemens 840D rather than 820D.
    I see you are trying to program using Siemens Shopmill cycles.

    You can do what you are trying to achieve with Shopmill (CYCLE977 or 979) and then some calculations and (possibly) trigonometry.
    Yes you are right a can measure one of those grooves with cycle 977 and his center is my X axis zero offset.
    Now the thing is i don't know how to measure both of them and do that trigonometry calculation for my align with Y axsis and still use the center of that alignment for my X zero offset in G54.
    I understand everything you wrote just don't know how to do it:

  6. #6
    Join Date
    May 2004
    Posts
    97
    Measure the 1st slot with Cycle 977 and store the X centre value in an R variable (The X Centre will be in stored in an OVI variable).
    Do the same with the 2nd slot.
    I am not exactly sure what you are looking to do, but I assume you want X Centre to be the midpoint of the 2 (so the average).
    You then need to calculate the angular deviation between the X Axis and the measured centre points and store as a rotation in the Z axis.
    The maths will be calculating the ATAN of the 1/2 distance in X over the 1/2 distance in Y between the 2 measured points (I think?).
    I do worry that if your slots are on too much of an angle, this may be slightly inaccurate. Personal Message me if you want more help!

  7. #7
    Join Date
    Nov 2011
    Posts
    40
    Small correction the cycles are for Sinumerik 840D Powerline.
    Sorry for that somethimes i am a bit clumsy(nuts)

  8. #8
    Join Date
    Nov 2011
    Posts
    40
    Hy all my program is almost finished soon i will start testing.
    Also have learned a lot past few months about Sinumerik thanks to cnczone.

    Special thanks goes to folloving users tfisher and guypb.
    That are Mr. Troy Fisher and Mr. Guy Brown

    I would also like to recommend Mr. Brown for you if you have any and i mean any problem about measuring with Renishaw at all.
    He worked at Renishaw for long time now he have his own buisness and he helped me a lot.

    Here is his web:GSPS Ltd

  9. #9
    Join Date
    Nov 2011
    Posts
    40
    Hy again can someone plase take a look on what i have and tell me what do you think.

    I think this should be just fine but again...
    Can't be too carefull with this.
    Attached Files Attached Files

Similar Threads

  1. Sinumerik 840C, Sinumerik 840D
    By marek-vavra in forum SIEMENS -> Sinumerik 840C
    Replies: 3
    Last Post: 09-02-2022, 07:04 PM
  2. Internal rope thread R32-12.7mm on Sinumerik 820D
    By Lionel Kralj in forum MetalWork Discussion
    Replies: 4
    Last Post: 10-04-2009, 08:07 PM
  3. Replies: 0
    Last Post: 09-11-2009, 10:56 AM
  4. When do you stop measuring rapids in IPM and start measuring in G?
    By slashmaster in forum Benchtop Machines
    Replies: 10
    Last Post: 07-08-2009, 10:42 PM
  5. Sinumerik program variables on screen
    By cosmikdebris in forum G-Code Programing
    Replies: 0
    Last Post: 03-17-2006, 02:55 PM

Posting Permissions

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