EtherCAT:EC ETHERCAT INIT/zh-hans

From SoftMC-Wiki
< EtherCAT:EC ETHERCAT INIT
Revision as of 16:22, 5 May 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

描述

初始化EtherCAT。 该子程序使用两个全局标志。
标志EC_ADDRESS_BY_ALIAS确定从站寻址是基于位置(ZERO)还是根据DIP开关设置(ONE)完成。
全局标志EC BUSID确定将要使用的现场总线。 目前只有EtherNET存在,标志被自动设置为零。

输入

None

输出

None

返回值

void

声明

public sub EC_ETHERCAT_INIT

例子

call EC_ETHERCAT_INIT