Installation guide

Mint™ v4 Advanced Programming Guide
48 MN1270 02.2002
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
0 0 to 12
Description:
Cyclic capture can be configured to automatically trigger on a specified event using the
CAPTUREEVENT
keyword. The CAPTUREVENTAXIS keyword is used to specify which axis to monitor for the trigger
event. The axis must be a valid axis number for the controller.
Example:
The following will trigger (stop the cyclic capture) on detecting any asynchronous error on axis 3 whilst
performing the programmed moves, with a post-trigger delay of 100 milliseconds:
CAPTUREEVENT = 1
CAPTUREEVENTAXIS = 3
CAPTUREEVENTDELAY = 100
CAPTURE = 2
LOOP
GOSUB performmove
ENDL
See also:
CAPTURE, CAPTUREEVENT, CAPTUREINTERVAL, CAPTUREMODE, CAPTUREAXIS
CAPTUREEVENTDELAY/CPD
Purpose:
Defines the post-trigger delay for event capture.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Dot Parameters:
None.
Format:
CAPTUREEVENTDELAY = <expr>
v = CAPTUREEVENTDELAY
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
All
0
0 x 1000
Description:
Cyclic capture can be configured to automatically trigger on a specified event using the
CAPTUREEVENT
keyword.
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, CAPTUREEVENT, CAPTUREINTERVAL, CAPTUREMODE, CAPTUREAXIS