Capture Position

Modbus Motion Interface

Read_Double(<AxisPage>_+_CapturePosition_d);

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

The following sequence of operations configures the capture system, commences a moves, and recovers the capture position

Write_Word(Axis1_+_SetCaptureSource_w.1);
Write_Word(Axis1_+_SetCaptureTrip_w,1);
Write_Word(Axis1_+_ArmCapture_w,1);
Write_Double(Axis1_+_BeginMoveBy_d,25.7);
WaitUntilWordRegisterIsNonZero(Axis1_+_ArmCapture_w);
CapturePosition:=Read_Double(Axis1_+_CapturePosition_d);

Related Topics

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