
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 473 of 909
IDENT=formula
Set Identification Value
APPLICATION:
EEPROM (Nonvolatile Memory)
DESCRIPTION:
Get/set the SmartMotor identification value
EXECUTION:
Immediate
CONDITIONAL TO:
N/A
LIMITATIONS:
N/A
READ/REPORT:
RIDENT
WRITE:
Read/write
LANGUAGE ACCESS:
Assignment, formulas and conditional testing
UNITS:
N/A
RANGE OF VALUES:
-2147483648 to 2147483647
TYPICAL VALUES:
N/A
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
6.0 and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
The IDENT command gets (reads) and sets the identification value for a SmartMotor. It
doesn’t have any effect on the motor — it’s just a non-volatile ID that is preserved between
power cycles. It allows a SmartMotor's user program to self-detect its designated purpose
according to the programmer's setting of IDENT on that motor.
l
x=IDENT
Get the IDENT value and assign it to the variable x.
l
IDENT=formula
Set IDENT equal to the value of the formula.
The value of IDENT can be reported with the RIDENT command.
EXAMPLE:
In the following example, the programmer has three motors on the machine. He wants to load
the same user program in all motors but have each motor do certain operations based on its
IDENT value. That part of the program could look like this:
IF
IDENT
=1
' Do the motor 1 operation - motors 2 and 3 ignore this.
ENDIF
Part 2: Commands: IDENT=formula
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...