Discussion:
[etherlab-dev] how to send process data master to slave
veeranjaneyulu
2015-04-23 13:16:03 UTC
Permalink
Respected sir
I am using master as a SOEM1.3.0 and slave as a ecslave-code these two
packages I am installing in two linux pc's ,and my question is by using
simple_test program i am able to connect the Slave,able to make slave to
operational state.But issue is where to insert my data(just hello world)in
simple_test.c so that i can send my data to Slave node. in below i am
adding master slave outputs please see.
Please give me some suggestions regarding this issues

*sample outputs*
*master side*
***@anji simple_test]# ./simple_test eth0
SOEM (Simple Open EtherCAT Master)
Simple test
Starting simple test
ec_init on eth0 succeeded.
wkc = 1
1 slaves found and configured.
Slaves mapped, state to SAFE_OP.
segments : 1 : 0 0 0 0
Request operational state for all slaves
Calculated workcounter 0
Operational state reached for all slaves.
Processdata cycle 10000, WKC 0 , O: I: T:0
Request init state for all slaves
End simple test, close socket
End program

*slave side *
DACPC:~/ecslave-code # ./ec_slave eth_s0_0
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
Silly print to bypass pcap bug
LINK 0 eth_s0_0 UP
Dave Page
2015-04-24 22:15:52 UTC
Permalink
Post by veeranjaneyulu
Respected sir
I am using master as a SOEM1.3.0 and slave as a ecslave-code these two
packages I am installing in two linux pc's ,and my question is by using
simple_test program i am able to connect the Slave,able to make slave to
operational state.But issue is where to insert my data(just hello world)in
simple_test.c so that i can send my data to Slave node. in below i am
adding master slave outputs please see.
Please give me some suggestions regarding this issues
Sorry, but this list is for IgH Etherlab master. Not sure where the
SOEM list is. Sorry

- Dave
--
------------------------------------------------------------------------
David Page, Chief Embedded Architect
Dynamic Systems Inc.
PO Box 1234
Poestenkill, NY 12140
Telephone: +1 (518) 283-5350 | Fax: +1 (518) 283-3160 |
Loading...