Set Capture Source

Modbus Motion Interface

Write_Word(<AxisOrGroupPage>_+_BeginStop_w,0);

Description

The Set Capture Source registers is used to indicate which input will be used for a capture event.

Escapes

The Set Capture Source block 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

Capture Position
Set Capture Trip
Capture Has Tripped
Capture Bit
Arm Capture