Comments (6)
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.
@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.
If the dc_sync()
not work, the PDO frame will not include the DC information?
from pysoem.
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.
@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.
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)
- IO-Link Ethercat module (EL6224) HOT 2
- Returning PDO frame late (Windows) HOT 2
- Handle Safety HOT 2
- ConnectionError: could not open interface on Ubuntu HOT 3
- Motion control HOT 1
- read and write PDOS question HOT 2
- Add meaning of 'network adapter ID' to documentation HOT 3
- Script crashes when Python debugger inspects `CdefSlave` HOT 3
- OD version bug HOT 1
- maybe a BUGm needs deeg in HOT 1
- How to pack / unpack single `BIT`s in PDO `input` / `output` HOT 3
- Open function returns always None HOT 2
- slave.write_eeprom() bug? HOT 2
- Transfer `pysoem` into the `OpenEtherCATsociety` Github group HOT 2
- Code completion / Intellisense not working HOT 3
- Setuptool version clash HOT 1
- no SDO info for slave device
- no SDO info for slave device
- ReadTheDocs documentation is not updating
- Servo State Change
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 pysoem.