Program Examples:Backlash Compensation/zh-hans

From SoftMC-Wiki
< Program Examples:Backlash Compensation
Revision as of 03:34, 17 July 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

简介

本文演示了使用位置反向间隙补偿功能。

Backlash compensation value in different movement directions

程序

首先关联轴,转到初始位置(零):

  Attach A1    
  Move A1 0

设置间隙值和alpha平滑因子:

   A1.PositionBacklash = 0.5
   A1.PositionBacklashAlpha = 0.9

从终端检查实际的补偿值应该返回0,因为没有运动:

-->?a1.CompPCmd - a1.PCmd
0


向后移动(负方向):

  MOVE A1 -100

查看终端检查实际补偿值应该返回-0.5,因为运动是负方向的:

-->?a1.CompPCmd - a1.PCmd
-0.5

向前移动(正方向):

  MOVE A1 +100

查看终端的实际补偿值应该返回+0.5,因为运动是正方向的:

-->?a1.CompPCmd - a1.PCmd
0.5