Capture Position

Command

<axis> CAP

Description

Capture Position returns the position where the capture event occurred. The capture event occurs when the capture is armed and the selected capture signal transitions as sepcified by Set Capture Trip. The Capture Position is only valid if Capture Has Tripped.

Escapes

Reading the Capture Position does not produce any escapes.

Examples

This list of commands configures a capture event, performs a capture, and reads the result. A capture source is chosen, a capture edge is chosen, and the capture is armed. Motion then occurs. A check is made that the capture event has occurred. When the capture has been confirmed tripped the capture position is valid and can be reported.

Related Topics

Arm Capture
Set Capture Trip
Set Capture Source
Capture Has Tripped
Capture Bit