[etherlab-dev] how to send process data master to slave

veeranjaneyulu anji7086 at gmail.com
Thu Apr 23 15:16:03 CEST 2015


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*
root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20150423/acd73e25/attachment.html>


More information about the etherlab-dev mailing list