Command Descriptions
191
LIMEN
Limit Input Enable
Type
Inputs; Program Debug Tool
Syntax
<a_><!>LIMEN<d><d><d>
Units
n/a
Range
d = 0 (disable, leave off), 1 (disable, leave on),
E (enable), or X (don't change)
Default
E
Response
LIMEN: *LIMENEEE
LIMEN.3 *E
See Also
INEN, LH, [ LIM ], LIMFNC, LIMLVL, TIO, TLIM
Product Rev
GT6K 6.0
GV6K 6.0
The
LIMEN
command allows you to simulate the activation of specific limit inputs (without actually wiring
the inputs to the drive) by disabling them and setting them to a specific level (ON or OFF). This is useful
for testing and debugging your program (see program example below).
LIMEN
may only be used for
onboard limit inputs (found on the “
DRIVE I/O
” connector), not for onboard or external digital inputs. The
default state is enabled (
E
), requiring external wiring to exercise their respective
LIMFNC
functions.
LIMEN
response for limits on the
DRIVE I/O
connector (bits are numbered 1-3 from left to right):
LIMENbbb
Limit # Pin #
GT6K & GV6K Function (
LIMFNC
default
)
1
28
LIMFNC1-R
(Positive end-of-travel limit)
2
29
LIMFNC2-S
(Negative end-of-travel limit)
3
31
LIMFNC3-T
(Home limit)
The
LH
command is required to enable checking the state of the end-of-travel limits (i.e.,
LIMFNCi-R
, or
LIMFNCi-S
); for example,
LH3
is required to detect the occurrence of the hardware limit activation, as
reported with axis status bits 15 and 16 (see
TASF
,
TAS
,
AS
). The default
LH
condition is enabled (
LH3
).
The input bit patterns for onboard and external I/O bricks are explained on page
8
of this document.
Example:
DEL tsting
; Delete program called "tsting"
DEF tsting
; Begin definition of program called "tsting"
LIMFNC3-E
; Define hardware end-of-travel limit #3 (normally defined
; as the home end-of-travel limit) as a "pause/resume" input.
COMEXR1
; Activating the pause/resume input will pause command and
; motion execution, de-activating the pause/resume input
; will resume command and motion execution.
MC1
; Set the axis to continuous motion profiling mode
A15
; Set acceleration to 15 units/sec/sec
AD5
; Set deceleration to 5 units/sec/sec
V4
; Set velocity to 4 revs/sec
GO1
; Initiate continuous motion
END
; End definition of program called "tsting"
; While this program is running and motion is in progress, you can send
; immediate LIMEN commands to simulate the function of the "pause/resume"
; input as follows:
; 1. Start the program by sending the RUN TSTING command to the drive.
; The axis will start moving, using a continuous motion profile.
; 2. Send the !LIMEN.3=1 command to the drive. This disables the
; "pause/resume" input but simulates its activation. Motion and
; program execution will pause.
; 3. Send the !LIMEN.3=0 command to the drive. This disables the
; "pause/resume" input but simulates its de-activation. Motion and
; program execution will resume.
; 4. Send the !LIMEN.3=E command to the drive. This re-enables the
; "pause/resume" input for normal operation with an external switch
; or sensor.
; 5. To stop this experiment, send the !K command to the drive.
; This "kills" program execution and motion.
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...