ethercatconfig.h File Reference
Headerfile for ethercatconfig.c.
More...
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