DMC-40x0 Command Reference FL • 109
FL
FUNCTION: Forward Software Limit
DESCRIPTION:
The FL command sets the forward software position limit. If this limit is exceeded during motion,
motion on that axis will decelerate to a stop. Forward motion beyond this limit is not
permitted. The forward limit is activated at A+1, B+1, C+1, D+1. The forward limit is
disabled at 2147483647. The units are in counts.
When the forward software limit is activated, the automatic subroutine #LIMSWI will be executed
if it is included in the program. See User's Manual, Automatic Subroutine.
ARGUMENTS: FL n,n,n,n,n,n,n,n or FLA=n where
n is a signed integers in the range -2147483648 to 2147483647, n represents the absolute position
of axis.
n = 2147483647 turns off the forward limit
n = ? Returns the value of the forward limit switch for the specified axis.
USAGE: DEFAULTS:
While Moving Yes Default Value 2147483647
In a Program Yes Default Format Position Format
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_FLn contains the value of the forward software limit for the specified axis.
RELATED COMMANDS:
BL Reverse Limit
PF Position Formatting
EXAMPLES:
FL 150000 Set forward limit to 150000 counts on the A-axis
#TEST ;'Test Program
AC 1000000 ;'Acceleration Rate
DC 1000000 ;'Deceleration Rate
FL 15000 ;'Forward Limit
JG 5000 ;'Jog Forward
BGA ;'Begin
AMA ;'After Limit
TPA ;'Tell Position
EN ;'End
Hint: Galil controllers also provide hardware limits. Both hardware or software limits will trigger the
#LIMSWI automatic subroutine if a program is running.