Download ManualV3 - Electromate

Transcript
Instruction
Interpretation
#TENSION
GAX
GR, 0.3
JG,0
BGY
XQ#GEAR,1
#LOOP
E=@AN[1]-4
JG,E*20
JP#LOOP
EN
Label
Define master
Initial gear ratio
Set slave in jog mode
Start mode
Execute gear estimation routine
Label
Compute tension error
Trim the speed
Repeat the process
End
Instruction
Interpretation
#GEAR
G=0.3
XP=_TPX
YP=_TPY
#LG
X=_TPX
JP#LG,X=XP
Y=_TPY
DX=X-XP
DY=Y-YP
XP=X
YP=Y
R=DY/DX
G=(G*7+R)/8
GRG
JP#LG
EN
Gear program
Initial gear value
Initial X position
Initial Y position
Label
Read new X position
Verify that X motion is non-zero
Read Y position
Find X increment
Find Y increment
Update previous X position
Update previous Y position
Compute ratio
Filter ratio and estimate gear
Adjust gear ratio
Repeat
End
118
ELECTROMATE INDUSTRIAL SALES LTD.
TOLL FREE PHONE (877) SERVO98 • TOLL FREE FAX (877) SERVO99
[email protected] • WWW.ELECTROMATE.COM