Difference between revisions of "EtherCAT:EC ETHERCAT INIT"
m |
|||
Line 5: | Line 5: | ||
The flag EC_ADDRESS_BY_ALIAS determines whether slave addressing is position based (ZERO) or is done according | The flag EC_ADDRESS_BY_ALIAS determines whether slave addressing is position based (ZERO) or is done according | ||
to dip switch setting (ONE).<br/> | to dip switch setting (ONE).<br/> | ||
− | The global flag EC_BUSID determines the | + | The global flag EC_BUSID determines the fieldbus that will be used. Currently only EtherCAT exists, and the flag |
− | is automatically set to zero. In the future it will have a bigger role. | + | is automatically set to zero. <!-- In the future it will have a bigger role. --> |
Revision as of 12:48, 13 January 2015
Initialize 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 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