Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 405 of 909
EIGN(...)
Enable as Input for General-Use
APPLICATION: I/O control
DESCRIPTION: Configure I/O as general-use input
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: Write only
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES:
Input:
EIGN(IO)
EIGN(W,word)
EIGN(W,word[,mask])
See details for range of IO, word and mask — depends on
motor series
TYPICAL VALUES: N/A
DEFAULT VALUE: See details — depends on motor series
FIRMWARE VERSION: 5.x and later
COMBITRONIC: EIGN(0):3, EIGN(W,0):3, or EIGN(W,0,m):3
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The EIGNcommand is used to configure I/O pins for general-use input as follows:
l
EIGN(IO)
Sets the specified I/O port to or back to an input with no function attached. In other
words, to remove the travel-limit function from I/O port 2, execute the instruction EIGN
(2). See the following table for allowed range of IO.
l
EIGN(W,word)
Sets all I/O in the specified I/O word back to inputs. A literal "W" is used as the first
argument. See the following table for allowed values for "word".
l
EIGN(W,word[,mask])
Set all I/O in the specified I/O word back to input if mask bit is set. A literal "W" is used
as the first argument. See the following table for allowed values for "word" and for the
mask range.
NOTE: The range of IO and word depends on the motor series:
Part 2: Commands: EIGN(...)