SOEM
v1.4.0
|
Example code for Simple Open EtherCAT master. More...
Macros | |
#define | EC_TIMEOUTMON 500 |
Functions | |
void | simpletest (char *ifname) |
OSAL_THREAD_FUNC | ecatcheck (void *ptr) |
int | main (int argc, char *argv[]) |
Variables | |
char | IOmap [4096] |
OSAL_THREAD_HANDLE | thread1 |
int | expectedWKC |
boolean | needlf |
volatile int | wkc |
boolean | inOP |
uint8 | currentgroup = 0 |
Example code for Simple Open EtherCAT master.
Usage : simple_test [ifname1] ifname is NIC interface, f.e. eth0
This is a minimal test.
(c)Arthur Ketels 2010 - 2011
#define EC_TIMEOUTMON 500 |
OSAL_THREAD_FUNC ecatcheck | ( | void * | ptr | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
void simpletest | ( | char * | ifname | ) |
uint8 currentgroup = 0 |
int expectedWKC |
boolean inOP |
char IOmap[4096] |
boolean needlf |
OSAL_THREAD_HANDLE thread1 |
volatile int wkc |