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以上整數,代表相對於最大加速度的比例(單位:%)。
  • PointToPointDecel
    1以上整數,代表相對於最大減速度的比例(單位:%)。
  • JumpDepartAccel
    1以上整數,代表Jump時的起始加速度(可省略)。
  • JumpDepartDecel
    1以上整數,代表Jump時的起始減速度(可省略)。
  • JumpApproAccel
    1以上整數,代表Jump時的接近加速度(可省略)。
  • JumpApproDecel
    1以上整數,代表Jump時的接近減速度(可省略)。

另請參閱
AccelS方法, Speed方法

Accel範例
VB 例:

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

C# 例:

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