ethercatconfig.h File Reference

Headerfile for ethercatconfig.c. More...


Defines

#define EC_NODEOFFSET   0x1000

Functions

int ec_config_init (uint8 usetable)
int ec_config_map (void *pIOmap)
int ec_config (uint8 usetable, void *pIOmap)


Detailed Description

Headerfile for ethercatconfig.c.


Define Documentation

#define EC_NODEOFFSET   0x1000


Function Documentation

int ec_config ( uint8  usetable,
void *  pIOmap 
)

Enumerate / map and init all slaves.

Parameters:
[in] usetable = TRUE when using configtable to init slaves, FALSE otherwise
[out] pIOmap = pointer to IOmap
Returns:
Workcounter of slave discover datagram = number of slaves found

int ec_config_init ( uint8  usetable  ) 

Enumerate and init all slaves.

Parameters:
[in] usetable = TRUE when using configtable to init slaves, FALSE otherwise
Returns:
Workcounter of slave discover datagram = number of slaves found

int ec_config_map ( void *  pIOmap  ) 

Map all PDOs from slaves to IOmap.

Parameters:
[out] pIOmap = pointer to IOmap
Returns:
IOmap size


Generated on Sat Sep 12 23:04:10 2009 for SOEM by  doxygen 1.5.8