EtherCAT:EC ETHERCAT INIT/zh-hans

From SoftMC-Wiki
< EtherCAT:EC ETHERCAT INIT
Revision as of 15:55, 5 May 2017 by Chi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: [[::EtherCAT:EC ETHERCAT INIT|English]]  • [[::EtherCAT:EC ETHERCAT INIT/zh-hans|中文(简体)‎]]

Initializes EtherCAT. This subroutine uses two global flags.
The flag EC_ADDRESS_BY_ALIAS determines whether slave addressing is position-based (ZERO) or is done according to a DIP switch setting (ONE).
The global flag EC_BUSID determines the fieldbus that will be used. Currently only EtherCAT exists, and the flag is automatically set to zero.

Input

None

Output

None

Return Value

void

Declaration

public sub EC_ETHERCAT_INIT

Examples

call EC_ETHERCAT_INIT