Accel 方法

描述

设置 PTP动作命令 Go、Jump 和 Pulse 的加速度和减速度。

语法
Sub Accel (PointToPointAccel As Integer, PointToPointDecel As Integer, _[JumpDepartAccel As Integer], [JumpDepartDecel As Integer], _[JumpApproAccel As Integer], [JumpApproDecel As Integer])

参数

  • PointToPointAccel
    1-100 之间表示最大加速率百分比的整数表达式。
  • PointToPointDecel
    1-100 之间表示最大减速率百分比的整数表达式。
  • JumpDepartAccel
    可选。表示Jump时的退避加速度的整数表达式(不小于1)。
  • JumpDepartDecel
    可选。表示Jump时的退避减速度的整数表达式(不小于1)。
  • JumpApproAccel
    可选。表示Jump时的接近加速度的整数表达式(不小于1)。
  • JumpApproDecel
    可选。表示Jump时的接近减速度的整数表达式(不小于1)。

参阅
AccelS 方法, Speed 方法

Accel 示例
VB 例:

m_spel.Accel(50, 50)  
m_spel.Go ("pick")  

C# 例:

m_spel.Accel(50, 50);  
m_spel.Go ("pick");