hexagon logo

Get current tip position to variable in PC-DMIS

I need the current tip position to variable for safety reasons in PC-DMIS.

I know, that the current tip position is shown in the status bar.

But I would like to calculate automatically with the values of the tip.

Do any of you know a way to transfer the current position of the tip into a variable?

I thank you in advance

Parents
  • Create a read point (Ctrl-G). Assign a variable to equal a pointer to the feature, and then you can refer to the values as variable.X, variable.Y, and variable.Z.

    PNT1       =FEAT/POINT,CARTESIAN
                THEO/<1,2,3>,<0,1,0>
                ACTL/<1,2,3>,<0,1,0>
                READPOINT/
                ASSIGN/LOCATION={PNT1}
                ASSIGN/LX=LOCATION.X

  • Hello everyone,
    I have tested the whole thing and have to say that unfortunately I cannot use it. In manual mode, the read point is updated and everything runs as desired. In CNC mode, there is no update, which is absolutely necessary.
    Using it in CNC mode is dangerous!
    When running the program in CNC mode, the coordinate measuring machine starts to perform undefined movements when assigning the variables!!!!
    PC-DMIS for Windows V.2022.1 Build 260 SP2

Reply
  • Hello everyone,
    I have tested the whole thing and have to say that unfortunately I cannot use it. In manual mode, the read point is updated and everything runs as desired. In CNC mode, there is no update, which is absolutely necessary.
    Using it in CNC mode is dangerous!
    When running the program in CNC mode, the coordinate measuring machine starts to perform undefined movements when assigning the variables!!!!
    PC-DMIS for Windows V.2022.1 Build 260 SP2

Children