GithubHelp home page GithubHelp logo

Comments (9)

nakarlsson avatar nakarlsson commented on August 20, 2024

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.

HolgerNie avatar HolgerNie commented on August 20, 2024

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.

HolgerNie avatar HolgerNie commented on August 20, 2024

My master does now send data but I do not have any response form the slave. Any idea what the probl is?

ethercat_01

from soem.

ArthurKetels avatar ArthurKetels commented on August 20, 2024

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.

nakarlsson avatar nakarlsson commented on August 20, 2024

I don't think VxWorks and sockets are the way to go, look into muxLib.

from soem.

HolgerNie avatar HolgerNie commented on August 20, 2024

@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.

nakarlsson avatar nakarlsson commented on August 20, 2024

Yes it is answers from an EtherCAT slave, the WC = 1 so it is a response.

from soem.

HolgerNie avatar HolgerNie commented on August 20, 2024

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.

ethercat_02

from soem.

HolgerNie avatar HolgerNie commented on August 20, 2024

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

VxWorks_nicdrv.zip

from soem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.