Difference between revisions of "EtherCAT:EC ETHERCAT INIT/zh-hans"
(Created page with "{{Languages}} {{Template:EtherCAT-Function |DESCRIPTION= Initializes EtherCAT. This subroutine uses two global flags.<br/> The flag EC_ADDRESS_BY_ALIAS determines whether sla...") |
|||
Line 1: | Line 1: | ||
− | {{Languages}} | + | {{Languages|EtherCAT:EC_ETHERCAT_INIT}} |
− | |||
− | + | == 描述 == | |
− | + | 初始化EtherCAT。 该子程序使用两个全局标志。<br/> | |
− | + | 标志EC_ADDRESS_BY_ALIAS确定从站寻址是基于位置(ZERO)还是根据DIP开关设置(ONE)完成。<br/> | |
− | + | 全局标志EC BUSID确定将要使用的现场总线。 目前只有EtherNET存在,标志被自动设置为零。 <!-- In the future it will have a bigger role. --> | |
− | |||
− | |||
− | + | == 输入 == | |
− | |||
None | None | ||
− | + | == 输出 == | |
None | None | ||
− | + | == 返回值 == | |
void | void | ||
− | + | == 声明 == | |
public sub EC_ETHERCAT_INIT | public sub EC_ETHERCAT_INIT | ||
− | + | == 例子 == | |
− | |||
call EC_ETHERCAT_INIT | call EC_ETHERCAT_INIT | ||
− | |||
− |