Difference between revisions of "Program Examples:Backlash Compensation/zh-hans"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Languages}} ==Introduction== This article demonstrates the use of position backlash compensation feature. [[File:Backlash.jpg|Backlash compensation value in different move...")
 
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|Program_Examples:Backlash_Compensation}}
==Introduction==
+
==简介==
  
This article demonstrates the use of position backlash compensation feature.
+
本文演示了使用位置反向间隙补偿功能。
  
 
[[File:Backlash.jpg|Backlash compensation value in different movement directions|800px]]
 
[[File:Backlash.jpg|Backlash compensation value in different movement directions|800px]]
  
== Program ==
+
== 程序 ==
  
First, attach the axis, go to an initial position (zero):
+
首先关联轴,转到初始位置(零):
  
 
<pre>
 
<pre>
Line 15: Line 15:
 
</pre>
 
</pre>
  
Set the backlash value and the alpha smoothing factor:
+
设置间隙值和alpha平滑因子:
  
 
<pre>
 
<pre>
Line 22: Line 22:
 
</pre>
 
</pre>
  
Checking the actual compensation value from terminal should return 0 as no motion has been done:
+
从终端检查实际的补偿值应该返回0,因为没有运动:
  
 
<pre>
 
<pre>
Line 30: Line 30:
  
  
Move back (negative direction):
+
向后移动(负方向):
 
<pre>
 
<pre>
 
   MOVE A1 -100
 
   MOVE A1 -100
 
</pre>
 
</pre>
  
Checking the actual compensation value from terminal should return -0.5 as motion was in negative direction:
+
查看终端检查实际补偿值应该返回-0.5,因为运动是负方向的:
  
 
<pre>
 
<pre>
Line 42: Line 42:
 
</pre>
 
</pre>
  
Move forward (positive direction):
+
向前移动(正方向):
 
<pre>
 
<pre>
 
   MOVE A1 +100
 
   MOVE A1 +100
 
</pre>
 
</pre>
  
Checking the actual compensation value from terminal should return +0.5 as motion was in positive direction:
+
查看终端的实际补偿值应该返回+0.5,因为运动是正方向的:
  
 
<pre>
 
<pre>

Latest revision as of 03:34, 17 July 2017

语言: 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