Difference between revisions of "EtherCAT:EC ETHERCAT INIT"

From SoftMC-Wiki
Jump to: navigation, search
Line 4: Line 4:
 
Initialize EtherCAT. This subroutine uses two flags.<br/>
 
Initialize EtherCAT. This subroutine uses two flags.<br/>
 
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).
+
to dip switch setting (ONE).<br/>
 
The global flag EC_BUSID determines the field bus that will be used. At the moment only EtherCAT exists, and the flag
 
The global flag EC_BUSID determines the field bus that will be used. At the moment 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:52, 9 January 2013