Instruction Manual

212 Language Reference Reference
Publication 1398-PM601A-EN-P October 2000
WORDS
GEAR
Gear Motion
Purpose The gear statement is used to set and change the pulse to pulse ratio for electronic
gearing and step and direction following. If the gear is enabled, the ratio is changed
immediately to the specified ratio. If the gear is not enabled, the value is set but will
not affect motion.
Syntax GEAR = value
value The gear ratio can be set as a ratio of two integers, two vari-
ables, a single variable, a combination of a variable and a con-
stant, or as a decimal number. When a ratio of two integers is
entered, the numerator can be:
The value can be a constant, a nonvolatile variable Gn, a vola-
tile variable Vn, or a system variable.
Remarks If the value is not within the range of the numerator or denominator the GEAR value is
not changed. It should be noted that the range of value is different than the range of Gn
and Vn variables.
The current Feedback Configuration must have the Gear Input set to either POS2 or
POS3 for the gear statements to have any effect on motion.
Other motion can be added to gear. For example: If gear is enabled, and a MOVD =
1 statement is executed, the follower will advance 1 user unit relative to the master.
Note: The Gear ratio is not affected by the Scale or Scale2 parameters.
See Also GEAREN, SLEW, SLEWEN
Example
GEAR = 1
GEAR = V3
GEAR = 5/2
GEAR = G1/5
GEAR = G1/G2
Gear =
to 32,767
1 to 32,767
0 ±
±