Speed函数

用于返回当前设置的PTP动作速度。

格式
Speed [(参数编号)]

参数

参数编号
从下述编号中指定1个设置值编号。省略时,视为指定1。

  • 1:PTP动作速度
  • 2:JUMP转移速度
  • 3:JUMP接近速度

返回值
返回1~100的整数值。

参阅
Speed

Speed函数使用示例

Function SpeedEx
    Integer savSpeed

    savSpeed = Speed(1)
    Speed 50
    Go pick
    Speed savSpeed
Fend