hexagon logo

Rotating B inside a loop command

Question
I have a cylinder with 6 holes on the side, I program 1 hole and create a loop to do the other 5. My cmm head (Renishaw PH10M) starts at A90B-90. My cylinder is in the Z axis direction, I am working on some code to set the B rotation with a variable but no success can use some help if anyone knows of a way to solve this. Your help is greatly appreciated.
Thank you,
Bob
Parents
  • To be clear, do you want the variable to affect the B axis rotation of the Renishaw head?

    That is a parameter of the tip qualification. The name of the tip "A90B-90" is merely a name that is chosen by the software to describe the orientation of that calibrated tip, it is not an editable command telling the head to rotate by a set number of degrees. During program execution the software comes across a TIP/ command, reads the name of the tip, looks up in the Probe file what angles that tip is, and rotates the head.

    Just to be sure, I tried this just now.
                ASSIGN/VANG=97.5
                TIP/[COLOR="Red"]T1A60BVANG[/COLOR], SHANKIJK=-0.866, 0, 0.5, ANGLE=90
    


    So it doesn not work. A TIP command must be followed by the name of a claibrated tip, or it turns red meaning that line of code is invalid.


    In other softwares you must choose the name of each tip, some people make them all crazy but that's another story.


    ~~~~~~~~~~~~~~~`

    EDIT:
    I would go ahead and program all 6 holes individually.
Reply
  • To be clear, do you want the variable to affect the B axis rotation of the Renishaw head?

    That is a parameter of the tip qualification. The name of the tip "A90B-90" is merely a name that is chosen by the software to describe the orientation of that calibrated tip, it is not an editable command telling the head to rotate by a set number of degrees. During program execution the software comes across a TIP/ command, reads the name of the tip, looks up in the Probe file what angles that tip is, and rotates the head.

    Just to be sure, I tried this just now.
                ASSIGN/VANG=97.5
                TIP/[COLOR="Red"]T1A60BVANG[/COLOR], SHANKIJK=-0.866, 0, 0.5, ANGLE=90
    


    So it doesn not work. A TIP command must be followed by the name of a claibrated tip, or it turns red meaning that line of code is invalid.


    In other softwares you must choose the name of each tip, some people make them all crazy but that's another story.


    ~~~~~~~~~~~~~~~`

    EDIT:
    I would go ahead and program all 6 holes individually.
Children
No Data