hexagon logo

Detect presence of articulating probe head (and probe type also)

I'm trying to write a subroutine that I can call to have my CMMs run a quick check on a ring gage with tip 1. I want to be able to use the same subroutine on any machine, regardless of wether it has a Tesastar-m probe head, or a probe fixed to the quill. I'll add some other safe guards later to check the vector and diameter of the tip, incase it's pointing sideways or is a large disc and won't fit in the small ring gage.

To accomplish this, I think I need to test ifthere is a wrist present on the machine so I know to set the tip command to "TIP1" or "T1A0B0". I have a Basic script that can report what type of probe is in use, so I can easily tell if I'm using an LSP-X1s or X1c, and therefore, if there is an articulating probehead. However, I'd like to make the script robust enough so if I have, say an SP25 (which our sister company has), it can tell if its "quill-mounted" with a PH6M or on a probe head such as a PH10 or Tesastar-m. Anyone have any recommendations?
Parents

  • $$ NO,
    Set active tip, enabling/disabling articulating probe head
    IF/V1==1
    ASSIGN/V10="T1A0B0"
    END_IF/
    IF/V1==0
    ASSIGN/V10="TIP1"
    END_IF/
    TIP/V10, SHANKIJK=0, 0, 1, ANGLE=0

    EWE, I was trying to use this part of your code. I have 2 cmm's one with a PH10, the other a PH6. When copying a program from 1 cmm to the other, I get invalid tip errors until I correct the

    TIP/ TIP1 or T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0

    tipname parameter as required on each machine.
    I was hoping your method would keep me from the program stopping "illegal tipname" dialog.
    But it dosnt. It dosnt like the variable name in there I guess. Here is my adaptation of your code
                ASSIGN/WHATPROBE=GETSETTING("PH9 PRESENT")
                IF/WHATPROBE==1
                ASSIGN/TNAME="T1A0B0"
                END_IF/
                IF/WHATPROBE==0
                ASSIGN/TNAME="TIP1"
                END_IF/
                LOADPROBE/PROBE_83715-XXX
                TIP/TNAME, SHANKIJK=0, 0, 1, ANGLE=0

    TNAME shows as red. But when I enter it after the TIP/ pcdmis asks me if I'm referring to the variable or not.
    Any ideas?
Reply

  • $$ NO,
    Set active tip, enabling/disabling articulating probe head
    IF/V1==1
    ASSIGN/V10="T1A0B0"
    END_IF/
    IF/V1==0
    ASSIGN/V10="TIP1"
    END_IF/
    TIP/V10, SHANKIJK=0, 0, 1, ANGLE=0

    EWE, I was trying to use this part of your code. I have 2 cmm's one with a PH10, the other a PH6. When copying a program from 1 cmm to the other, I get invalid tip errors until I correct the

    TIP/ TIP1 or T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0

    tipname parameter as required on each machine.
    I was hoping your method would keep me from the program stopping "illegal tipname" dialog.
    But it dosnt. It dosnt like the variable name in there I guess. Here is my adaptation of your code
                ASSIGN/WHATPROBE=GETSETTING("PH9 PRESENT")
                IF/WHATPROBE==1
                ASSIGN/TNAME="T1A0B0"
                END_IF/
                IF/WHATPROBE==0
                ASSIGN/TNAME="TIP1"
                END_IF/
                LOADPROBE/PROBE_83715-XXX
                TIP/TNAME, SHANKIJK=0, 0, 1, ANGLE=0

    TNAME shows as red. But when I enter it after the TIP/ pcdmis asks me if I'm referring to the variable or not.
    Any ideas?
Children
No Data