Headerfile for ethercatconfig.c. More...
Go to the source code of this file.
Defines | |
#define | EC_NODEOFFSET 0x1000 |
#define | EC_TEMPNODE 0xffff |
Functions | |
int | ec_config_init (uint8 usetable) |
Enumerate and init all slaves. | |
int | ec_config_map (void *pIOmap) |
Map all PDOs from slaves to IOmap. | |
int | ec_config_map_group (void *pIOmap, uint8 group) |
Map all PDOs in one group of slaves to IOmap. | |
int | ec_config (uint8 usetable, void *pIOmap) |
Enumerate / map and init all slaves. | |
int | ec_recover_slave (uint16 slave) |
Recover slave. | |
int | ec_reconfig_slave (uint16 slave) |
Reconfigure slave. |
Headerfile for ethercatconfig.c.
Definition in file ethercatconfig.h.
#define EC_NODEOFFSET 0x1000 |
Definition at line 49 of file ethercatconfig.h.
#define EC_TEMPNODE 0xffff |
Definition at line 50 of file ethercatconfig.h.
int ec_config | ( | uint8 | usetable, | |
void * | pIOmap | |||
) |
Enumerate / map and init all slaves.
[in] | usetable | = TRUE when using configtable to init slaves, FALSE otherwise |
[out] | pIOmap | = pointer to IOmap |
Definition at line 907 of file ethercatconfig.c.
int ec_config_init | ( | uint8 | usetable | ) |
Enumerate and init all slaves.
[in] | usetable | = TRUE when using configtable to init slaves, FALSE otherwise |
Definition at line 139 of file ethercatconfig.c.
int ec_config_map | ( | void * | pIOmap | ) |
Map all PDOs from slaves to IOmap.
[out] | pIOmap | = pointer to IOmap |
Definition at line 896 of file ethercatconfig.c.
int ec_config_map_group | ( | void * | pIOmap, | |
uint8 | group | |||
) |
Map all PDOs in one group of slaves to IOmap.
[out] | pIOmap | = pointer to IOmap |
[in] | group | = group to map, 0 = all groups |
Definition at line 474 of file ethercatconfig.c.
int ec_reconfig_slave | ( | uint16 | slave | ) |
Reconfigure slave.
[in] | slave | = slave to reconfigure |
Definition at line 962 of file ethercatconfig.c.
int ec_recover_slave | ( | uint16 | slave | ) |
Recover slave.
[in] | slave | = slave to recover |
Definition at line 921 of file ethercatconfig.c.