Instruction Manual

218 Language Reference Reference
Publication 1398-PM601A-EN-P October 2000
WORDS
InPm
Position, Latched Interrupts
Purpose Position of encoder m latched by interrupt n in user units.
Syntax variable = InPm
n Interrupt number: n = 1 or 2.
m Encoder number: m = 1 or 2.
variable The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.
Remarks When interrupt n occurs the position of encoder m is captured and stored in the vari-
able InPm.
See Also INTn, FIn
Example
V1 = I1P2
G4 = I2P1 - I1P1
IAVE
Current, Average Current
Purpose Average current command in amperes.
Syntax variable = IAVE
variable The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.
Remarks The variable IAVE contains the value equal to the average commanded current to the
motor. The variable is scaled by the drive module current (Dm).
See Also PICMD, ICMD, IAVG, ILIMIT
Example
V1 = IAVE