Instruction Manual

Language Reference Reference 267
Publication 1398-PM601A-EN-P October 2000
WORDS
SINT2
Software Interrupt 2 Interrupts
Purpose
Syntax SINT2
Remarks Software interrupt command. The SINT2 instruction will generate an interrupt 2 in the
program, without the I12 input changing. INT2 does NOT have to be set ON or CONT
in the program to use SINT2. SINT2 will latch the values of POS1 and POS2 into the
variables I2P1 and I2P2, respectively. This is useful for applications where the relative
position of encoders 1 and 2 is important, since the interrupt will record the two posi-
tions with minimum delay between reading POS1 and POS2.
See Also
Example
SINT2
V2 = I2P1 - I2P2
MOVD = V2
SLEW
Gear Slew Rate Limit Acceleration
Purpose Set the rate of change (acceleration) limit for the output of the gear function.
Syntax SLEW = value
variable = SLEW
value The maximum acceleration that will be permitted as a result of
a signal received from encoder 2. Slew is entered in user units
per second per second. User units are defined by the SCALE
parameter. Va lue can be a constant, a nonvolatile variable Gn, a
volatile variable Vn, or a system variable.
variable The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.