From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在NI-Motion 7.2版本及更高版本中位置复位的改变



主要软件:
主要软件版本: 7.1
主要软件修正版本: 7.2
次要软件: N/A
硬件: Motion Control>>Controllers>>PCI-7350, Motion Control>>Controllers>>PXI-7312, Motion Control>>Controllers>>PXI-7314, Motion Control>>Controllers>>PXI-7322, Motion Control>>Controllers>>PXI-7324, Motion Control>>Controllers>>PXI-7330, Motion Control>>Controllers>>PXI-7332, Motion Control>>Controllers>>PXI-7334, Motion Control>>Controllers>>PXI-7340, Motion Control>>Controllers>>PXI-7342, Motion Control>>Controllers>>PXI-7344, Motion Control>>Controllers>>PXI-7346, Motion Control>>Controllers>>PXI-7350, Motion Control>>Controllers>>PXI-7352, Motion Control>>Controllers>>PXI-7354, Motion Control>>Controllers>>PXI-7356, Motion Control>>Controllers>>PXI-7358, Motion Control>>Controllers>>PCI-7304, Motion Control>>Controllers>>PCI-7314, Motion Control>>Controllers>>PCI-7324, Motion Control>>Controllers>>PCI-7330, Motion Control>>Controllers>>PCI-7332, Motion Control>>Controllers>>PCI-7334, Motion Control>>Controllers>>PCI-7340, Motion Control>>Controllers>>PCI-7342, Motion Control>>Controllers>>PCI-7344, Motion Control>>Controllers>>PCI-7352, Motion Control>>Controllers>>PCI-7354, Motion Control>>Controllers>>PCI-7356, Motion Control>>Controllers>>PCI-7358, Motion Control>>Controllers>>PCI-7350, Motion Control>>Controllers>>PCI-7304, Motion Control>>Controllers>>PCI-7314, Motion Control>>Controllers>>PCI-7324, Motion Control>>Controllers>>PCI-7330, Motion Control>>Controllers>>PCI-7332, Motion Control>>Controllers>>PCI-7334, Motion Control>>Controllers>>PCI-7340, Motion Control>>Controllers>>PCI-7342, Motion Control>>Controllers>>PCI-7344, Motion Control>>Controllers>>PCI-7352, Motion Control>>Controllers>>PCI-7354, Motion Control>>Controllers>>PCI-7356, Motion Control>>Controllers>>PCI-7358

问题:
我正在试图复位我的位置,但是它不能复位到0。我的位置往往复位到某些与0有些偏差的位置。我如何才能把我的位置复位到0,为何我的位置不能复位到0?


解答:
从NI-Motion驱动7.2版本开始,驱动器处理Position Reset.flx已经改变了。这篇文档就回答了这些问题…什么改变了?为何要改变?这些改变是如何影响我的系统的?我如何才能复位我的跟随误差?

什么改变了?

从NI-Motion驱动7.2版本开始(正如在NI-Motion驱动7.2版本的readme文件中和帮助文件中所说明的)运行Position Reset.flx 或者在MAX里的1-D交互式窗口中按下"Reset Position"将不在把跟随误差复位为0。而且,这个跟随误差值会保持不变。这样的话,如果您的跟随误差值为-15 counts,位置为1000,当您复位您的位置时,您的新位置将变为15,跟随误差还是-15,尽管您想要的位置为0。

为何要做修改?

这个改变是对以前设置的改进。在过去,如果我运行Position Reset.flx或者选择在MAX中复位位置,您的跟随误差将会复位。这会引起以下问题。
  1. 如果您正在使用一个步进电机,由于步进电机失步导致了您的跟随误差是10,复位会使您丢失误差值,尽管现在您离正确的位置有10 counts的距离。在复位之前您知道您的电机偏离10 counts,但是在复位后您仍然偏离10 counts,但是您不会知道。
  2. 如果您正在使用一个伺服电机,稳态偏差为50。由于稳态误差,这些跳跃非常快,对于操作者,电机以及任何靠近或与这个电机相连的东西都是危险的。

这些变化是如何影响我的系统的?

  1. 如果您的伺服电机有一个稳态的偏差,当复位时,您的电机就不再跳跃。
  2. 当您不需要担忧丢失您的跟随误差值时,您可以随时复位您的设备(这在使用步进电机时非常重要)。
  3. 如果您曾经写过些代码来补偿由于老的设置带来的问题,现在使用NI-Motion 7.2,这些代码就不必要了。

我如何复位我的跟随误差?

  1. 您可以在一个移动过程中执行停止操作(halt)。
  2. 如果您不是正在执行一个移动,您可以执行kill操作,再执行停止操作。
  3. 您执行一个找原点的顺序,在(如方法1)一个移动过程中本质上会执行一个停止。
在NI-Motion 7.2 Reset Position.flx中的这些改变是对以前驱动的改进。只有一种情况,才需要使用老的设置。这种情况用来补偿由于老的设置带来的问题的代码,可以使能,这样代码就能在NI-Motion 7.2或以后版本还是可以正常使用,不需要重写以前的代码。

通过运行Set u32.flx,您可以返回到老的Reset Position效果。连接x0900(十六进制)到函数的资源输入端,0或1到函数的值的输入。0禁止新的功能,1使能这个新功能。

相关链接:

附件:





报告日期: 05/16/2006
最近更新: 05/19/2006
文档编号: 3UKKFIAJ