Registering a touchprobe event

The touchprobe function is activated and parameterized using the instruction REG_TOUCHPROBE_EVENT.

"New Block" value: "REG_TP_EVENT".

[1]

Identifier for the instruction

[2]

Used touchprobe trigger source: You can choose between "BoolVariable" (BOOL touchprobe) and "InverterTouchprobe" (inverter touchprobe)

[3]

Only for BOOL touchprobe: Edge used for triggering the touchprobe event. You can choose between "RisingEdge", "FallingEdge", and "RisingFallingEdge" (each edge change).

For inverter touchprobe, the edge is set by configuring the individual axes in MOVISUITE®.

[4]

Only for BOOL touchprobe: SRL BOOLEAN variable used for triggering the touchprobe event

[5]

Execution mode of the touchprobe: You can choose between "Single" (touchprobe is deactivated after triggering the event) and "Multiple" (touchprobe remains activated after triggering the event). On each trigger, the instruction assigned to the event is executed)

[6]

Direction in which the touchprobe sensor measures or the BOOLEAN variable is switched, e.g. the z-direction (height/stroke) during palletizing.

With subsequent "POSITIONING" instruction: Effective direction of the length of the remaining distance

A touchprobe event that has been registered and is therefore active is marked with a rotating circle. It is marked with a green check mark once the touchprobe event is triggered. In "Multiple" touchprobe mode, both a green check mark and a rotating circle are displayed after triggering because the event was triggered but is still active. When starting and stopping the program, the circle and check mark are deleted. If an event was deregistered (either by a deregister command or by the end of the main program) before it was triggered, this is indicated by a red cross.

The points at which the touchprobe events are triggered are displayed as pink boxes in the 3D simulation when the pen is switched on. Due to the low-priority communication between MOVI-C® CONTROLLER and PC, minor inaccuracies can occur in the 3D display.