EtherCAT:EC SET BUS CYCLETIME/zh-hans

From SoftMC-Wiki
< EtherCAT:EC SET BUS CYCLETIME
Revision as of 17:44, 6 May 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 描述 == 该功能设置运动总线周期时间。 在EC_SET_CYCLE和EC_STARTMASTER调用之前,它将从EC_SETUP.PRG的...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

描述

该功能设置运动总线周期时间。 在EC_SET_CYCLE和EC_STARTMASTER调用之前,它将从EC_SETUP.PRG的上下文中调用。

输入

运动周期时间: 4000 μs, 2000 μs, 1000 μs, 500 μs or 250 μs. 如果选择了500μs或250μs的周期时间,则添加到/ FFS0 / FWCONFIG的行:hpetfreq = 2000

输出

None

返回值

None

声明

public sub EC_SET_BUS_CYCLETIME(byval cycle_time as long)

格式

call EC_SET_BUS_CYCLETIME(<cycle_time>)

例子

call EC_SET_BUS_CYCLETIME(4000)


参见