Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 408 of 909
EILN
Enable Input as Limit Negative
APPLICATION: I/O control
DESCRIPTION: Activate left/negative hardware limit
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS:
N/A
READ/REPORT: N/A
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: Limit switch
FIRMWARE VERSION: 5.x and later
COMBITRONIC:
EILN:3
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The EILN command activates the left/negative hardware limit.
The EILNcommand sets I/O port 3 as the negative overtravel limit. User I/O port 3 can be a
general-purpose analog or digital input, output or act as the negative-limit input (which is the
default state). EILN explicitly defines I/O port 3 as the negative limit, while the EIGN
command configures it as a general-purpose input, which disables the limit behavior.
NOTE: I/O port 3 cannot be set as an output until the EIGN command is issued first
(i.e., the OR, OS or OUT command will not change I/O 3 until EIGN is issued to set
I/O 3 as an input).
Ports 2 and 3 are travel limit inputs by default. However, the EIGN() commands can change
them to general-purpose I/O points. They can be returned to travel limits with the EILN and
EILP commands.
EXAMPLE: (Subroutine enables negative hardware limit)
C1
c=0
PRINT("Enter c=1 to enable negative HW limit...",#13)
WHILE c==0 LOOP 'Wait for user to change variable c
EILN 'Enable negative hardware limit
PRINT("Negative HW limit enabled!",#13)
RETURN
Part 2: Commands: EILN