Installation guide
Keyword Reference Guide
MN1270 02.2002 47
CAPTUREEVENT/CPE
Purpose:
Configures cyclic capture to trigger (stop) on an event.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Dot Parameters:
None.
Format:
CAPTUREEVENT = <expr>
v = CAPTUREEVENT
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
All
0
0 ≤ x ≤ 1
Description:
A cyclic capture is set up using the
CAPTURE keyword. The capture event is then used to stop the cyclic
capture.
The following events are currently supported.
Value Description
0 Disable capture events. Capture must be manually stopped.
1 Trigger on an asynchronous axis error.
2 Trigger on a stop input event.
Using
CAPTUREEVENTDELAY, the trigger can be programmed to continue capturing data for a specified
period after the event. Cyclic capture is set using the
CAPTURE keyword.
Example:
The following will trigger (stop the cyclic capture) on detecting any asynchronous error whilst
performing the programmed moves, with a post-trigger delay of 100 milliseconds:
CAPTUREEVENT = 1
CAPTUREEVENTDELAY = 100
CAPTURE = 2
LOOP
GOSUB performmove
ENDL
See also:
CAPTURE, CAPTUREEVENTDELAY, CAPTUREEVENTAXIS
CAPTUREEVENTAXIS/CPX
Purpose:
Sets the axis to monitor for the capture trigger event.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
CAPTUREEVENTAXIS = <expr>
v = CAPTUREEVENTAXIS