Command Reference
ELECTRONIC_GEAR
Table explanation
Group System
Syntax ELECTRONIC_GEAR <Numerator> <Denominator>
Op. Code 161
Modes Program, Immediate, Sequential
Description This command enables the default gear to be changed as defined
by Pn202 and Pn203. The new gear is effective 2 msec after
fetching the command and it disables the variable
“follower_synchronized”. The gear ratio is a positive value from
1/100 to 100.
Numerator The numerator’s value
[1 … 65535]
Serial
2 U V
Syntax
Arguments
Denominator The denominator’s value
[1 … 65535]
Serial
2 U V
Example LABEL 1
CONTROL ON
SPEED 5000
ACCELERATION 9000
ELECTRONIC_GEAR 8 1
MOVE_R 2000
WAIT_INPUT 1 = 1 -1
ELECTRONIC_GEAR 4 1
MOVE_R 1000
END
Example
Explanation
The electronic gear is set to an 8/1 ratio before the MOVE_R 2000
command. The motor (follower) is then synchronized and waits
for an input to start a new MOVE_R command with a different
electronic gear, this time 4 to 1.
Note The synchronization time lasts 2 ms due to the fetching time for
the new gear setting.
XtraWare User Manual 103