Comments (9)
Best guess is VxWorks don't support some socket option, PF_PACKET? We have a not yet released VxWork port that use the L2 mux API, I believe that is the easiest way.
from soem.
I was in contact with WRS and after installing 6.9.4 the bind() works. However I am not able to see a slave with slaveinfo.c. I will test in the next days with wireshark if data are going out and something is coming back from my WAGO slave.
from soem.
My master does now send data but I do not have any response form the slave. Any idea what the probl is?
from soem.
From your screen capture I can see you have a good receive. All packets shown are received packages (WC = 1). Somehow they are not fed into the SOEM stack.
from soem.
I don't think VxWorks and sockets are the way to go, look into muxLib.
from soem.
@ArthurKetels This is a wireshark sreenshot are you shure that these packages are the answer from the salve?
@nakarlsson Do you have a example code with the muxLib? I have never used that lib before.
from soem.
Yes it is answers from an EtherCAT slave, the WC = 1 so it is a response.
from soem.
Yes, it is the answer form the slave my fault. Attched waht the master send out. I will check with WRS why I do not receive the date on the socket the next days.
from soem.
I have now the EtherCAT running with VxWorks 6.9 target. I used all Linux version files. What is needed is VxWorks 6.9.4.9 as a minimum because from that version on bind() is supporting raw sockets. I have update the nicdriv.c(Linux version) so that it is running with VxWorks.
To let VxWorks transfer receive EtherCAT raw packages a change in ..\components\ip_net2-6.9\ipcom\port\src\ipcom_drv_eth.c must be done too.
See attached files
from soem.
Related Issues (20)
- SOEM and Slave communication issue HOT 2
- DC config issues HOT 3
- How to determine the required iomap size at runtime for dynamic allocation? HOT 4
- cannot changeinto preop state HOT 5
- iomap size as reported in `slavelist[0]` appears incorrect after `ecx_config_overlap_map_group` HOT 1
- How to check if the interface is disconnected? HOT 5
- the meaning of alia address HOT 2
- Problem with using ODOT CN-8033 HOT 1
- When using SOEM to control ELMO Gold series Drive, the elmo will switch to switch-on-disabled state sometimes HOT 4
- DC Mode Bus shift and Master shift
- DC Mode Bus shift and Master shift HOT 9
- Narrowing conversion / integer overlfow in slaveinfo.c ebus current calculation from SII HOT 2
- Multiple device reading errors using SDO HOT 5
- Not able to send command to slave which is LAN9255 HOT 3
- PDO and SDO Testing - Motor pulses only once HOT 4
- ec_slave.outputs is changed in ec_receive_processdata HOT 5
- Struct using ec_slave[].inputs not populating, also stepper motor not moving help HOT 25
- Question for the relation between Wireshark "Display Filter Reference" and SOEM HOT 1
- LAN9252 slave cannot go OP under DC sync HOT 3
- SDO read fails on retries HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soem.