4 . P o s i t i o n i n g U n i ts
MN05003006E F or more information visit:
w w w. e a t o n . c o m
4-41
MPG (Manual Pulse Generator) Mode
1.
Control requirements
y
Read the MPG input frequency in CR#42, #43.
y
Read the number of MPG input pulses in CR#44, #45.
y
Write K32 (H’20, i.e. b5 = 1) into CR#32 to enable MPG mode.
y
Set up electronic gear ratio in CR#40 (numerator) and CR#41 (denominator).
2. Devices
y
Write K32 (H’20, i.e. b5 = 1) into CR#32 to set the gear ratio as 1: 1.
y
X1 = On: set up the gear ratio as 1: 10.
y
X2 = On: set up the gear ratio as 1: 20.
y
X3 = On: set up the gear ratio as 1: 30.
3. MPG
mode
A phase
B phase
FP
R P
Servo drive
Servo motor
Input pulse X
= output pulse
CR#40
CR#41
4. Program
Description
y
Read CR#42, #43 (MPG input frequency) and CR#44, #45 (number of MPG input
pulses)
y
Write K32 (H’20, i.e. b5 = 1) into CR#32 to set up as MPG input mode.
y
When X1 = On, the gear ratio = 1: 10.
y
When X2 = On, the gear ratio = 1: 20.
y
When X3 = On, the gear ratio = 1: 30.
y
X1, X2, X3 = Off, the gear ratio is fixed as 1: 1.