Code Monkey home page Code Monkey logo

Comments (6)

bnjmnp avatar bnjmnp commented on August 16, 2024

It is not possible to send the NOP command with pysoem, same with SOEM I guess, if you use the available API functions.

I don't think that the missing NOP command is the problem here. The NOP command should pretty much be ignored by the drive.
Did you try to send and receive the process data cyclically, like in the examples? (using function send_processdata and receive_processdata)
I guess the drive dose not go to operational state, right? Is at least SDO communication working?

from pysoem.

jackie-wayland avatar jackie-wayland commented on August 16, 2024

@bnjmnp the drive goes to OP state, but the DC is not enable. send_processdata and receive_processdata are used cyclically. But the dc_sync() not work, I don't know the alternatives to this function. I always get the PLL is lost error from the drive after enable the drive.

from pysoem.

jackie-wayland avatar jackie-wayland commented on August 16, 2024

If the dc_sync() not work, the PDO frame will not include the DC information?

from pysoem.

bnjmnp avatar bnjmnp commented on August 16, 2024

Not sure. Did you try calling config_dc() after the call to config_map(). This may be required to get de_sync working. How do you see that dc_sync() is not working? Did you try changing the rate on witch send_processdata and receive_processdata are called?

from pysoem.

jackie-wayland avatar jackie-wayland commented on August 16, 2024

@bnjmnp I configured the DC after config_map(), but the ado 0x981 of the slave did not show the enable sync0 information. Could you wrap the ethercat base command, I think this is very convenient for basic debugging.

from pysoem.

bnjmnp avatar bnjmnp commented on August 16, 2024

Thees base functions are the lower layer of the SOEM stack. They are not meant to be called from the application. In fact wrapping them won't go along well with the current pysoem API.

  • Did you try building a C application directly with SOEM?
  • Did you try to get in contact with Kollmorgen support on the NOP thing?
  • Or did you got the drive running using a Windows PC with TwinCAT?

from pysoem.

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.