Installation guide
Mint™ v4 Advanced Programming Guide
76 MN1270 02.2002
Dot Parameters:
Axis – Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
All
0
Description:
Manually clears the hardware latch for the encoders fast position input. This is used when the
FASTLATCHMODE keyword is set to 2 so that further fast latches are disabled until re-enabled by the
user.
The state of the latch can be read using
FASTLATCH. This indicates if an axis has had a position latch
occur. Reading
FASTLATCH will clear the software status of the latch but this does not re-enable the
hardware latch. Writing to
FASTENABLE also clears the software latch.
To clear the latch, a value of 0 must be written.
See also:
FASTENCODER, FASTLATCH, FASTLATCHMODE, FASTSELECT.
FASTLATCH/FLT
Purpose:
To read the axis fast interrupt latch.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
v = FASTLATCH[axis]
Dot Parameters:
Axis – Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
All
0 0 or 1
Description:
The
FASTLATCH keyword is used to determine if an axis has had a fast position latch occur since the
last time that
FASTLATCH was read. Reading this keyword also clears the software latch.
The mode of fast latching is set with the
FASTLATCHMODE keyword. If mode 2 is used, then the
FASTENABLE keyword must be used to clear the hardware latch.
Where the generic
#FASTIN handler is used with a fast latch mode 1, the hardware fast interrupt latch
will only be reset automatically once the
FASTLATCH keyword has been read. This is to prevent latches
from being lost to the user.
Example:
#FASTIN0
IF FASTLATCH.1 THEN latchPos = FASTPOS.1 : FASTENABLE.1 = 0
RETURN
See also:
#FASTIN, FASTPOS, FASTENABLE, FASTLATCHMODE