hexagon logo

LOAD PROBE

Why does the last 'LOADPROBE' become unmarked only after I execute the program. See the attached photo that illiterates the issue.

Parents Reply Children
  • Yes, I would be willing to try that. It's something I have no experience with.  

  • Create your own numbering sequences if you wish for this. This is just a rough example. It's a lot more complex than I anticipated due to how PC-DMIS reads tips and angles.

    You'll need multiple instances of the same program doing it this way. I'll try to find a more efficient way when I get time.


    C1         =COMMENT/INPUT,NO,FULL SCREEN=NO,
                Probe Tip Number
                IF/C1.INPUT =="1"
                  LOADPROBE/3X60MM
      $$ NO,
                  Code Block here
                  GOTO/END
                  TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                END_IF/
    END         LABEL

    ArkansasBeeper has a much simpler way, and will do exactly what you need.

  • I am not able to test this online but try this out. Put in your correct probe names and in the order you prefer. As I could not see the images too well to put them in for you. First 3 are your names.

    C1         =COMMENT/INPUT,NO,FULL SCREEN=NO,
                Probe Tip
                ASSIGN/TIP1="1_5MMX60"
                ASSIGN/TIP2="PT3MMX20"
                ASSIGN/TIP3="4X50MM"
                ASSIGN/TIP4="2X20MM"
                ASSIGN/TIP5="1X40MM"
                IF/C1.INPUT == "1"
                  ASSIGN/TIP=TIP1
                  GOTO/START
                END_IF/
                IF/C1.INPUT == "2"
                  ASSIGN/TIP=TIP2
                  GOTO/START
                END_IF/
                IF/C1.INPUT == "3"
                  ASSIGN/TIP=TIP3
                  GOTO/START
                END_IF/
                IF/C1.INPUT == "4"
                  ASSIGN/TIP=TIP4
                  GOTO/START
                END_IF/
                IF/C1.INPUT == "5"
                  ASSIGN/TIP=TIP5
                  GOTO/START
                END_IF/
    START      =LABEL/
                LOADPROBE/TIP
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0