EtherCAT:EC SLAVE SET HOMING PARAMETERS/zh-hans

From SoftMC-Wiki
< EtherCAT:EC SLAVE SET HOMING PARAMETERS
Revision as of 07:08, 7 May 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

描述

在从站中设置回零参数。

输入

Generic axis, Parameter number, Parameter's new value

输出

None

返回值

Void

声明

public sub EC_SLAVE_SET_HOMING_PARAMETERS(ax as generic axis, byval paramNum as long, byval paramVal as long)

限制

可用的参数代号和范围如下:
1 - HOMING_METHOD [1 to 36]
2 - HOMING_OFFSET ....
3 - FAST_HOMING_SPEED [0 to 4294967295]
4 - SLOW_HOMING_SPEED [0 to 4294967295]
5 - HOMING_ACCELERATION/DECELERATION [0 to 4294967295]

有关回零的更多详细信息,请参阅CDHD CANopen参考手册。

例子

call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_METHOD, 34)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_OFFSET, 4)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, FAST_HOMING_SPEED, 2083334)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, SLOW_HOMING_SPEED, 416668)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_ACCELERATION, 16666664)

参见