Comments (6)
Hi @ngblume,
You are talking about the digital input and digital output devices (EL1872/EL2872)? They don't support DC-Synchronisation, so for both of those guys you don't need any DC settings.
If I understand you right the outputs work fine on both 10ms and 100ms process data cycle time. But the inputs stay FALSE in both cases. So the digital inputs don't work at all?
from pysoem.
Hi @bnjmnp,
thanks for your answer!
I got it working properly (not the DC stuff, but the inputs and outputs including conversion to physical units), but I think it would help to get an idea of what DC is and how it is used (when not using TwinCat)..
Same for the timing in general..
I figured that the processdata thread updates info in the master object with each execution of the send and rec'v cycle.
So setting an output and directly afterwards reading it back with another module (i.e. setting with EL4114 and reading back with EL3144) might result in no immediate update on the outputs/inputs yet because the processdata thread hasn't run since the changes. Makes sense...
But I might need a little more infos....
Could you point me in the direction of some more info regarding these continuous tasks ?
I'm trying to understand the basic working principles of an EtherCAT master and from there work my way towards DC and setting custom PDOs, etc. ...
Thanks !
Cheers
Niels
from pysoem.
Hi Niels,
So far I don't know of any good books about this topic. But I find the datasheet of Beckhoff's ESC IP Core very helpful, and this is freely available on the net:
https://download.beckhoff.com/download/Document/io/ethercat-development-products/ethercat_esc_datasheet_sec1_technology_2i3.pdf
On the ETG Website you might also find some basic information, ether under technology or here under downloads in form of PDF documents.
Good luck!
Benjamin
from pysoem.
Hi,
thanks.. I will start there reading into the topic..
Last question: Can you give a rough guidance, as to how to set the cycle time for the separate send and receive process data thread? Just in general, not specific, since it clearly relies on the specific system...
Is usually 0.01 sufficient oder even already quite a high load for bus and / or computer / network interface ?
Thanks !
Cheers
Niels
from pysoem.
I'm not an expert but I think 1ms is a usual cycle time for PLCs. But that is dedicated hardware. However on a PC based system 10ms should not be to much of an issue.
from pysoem.
Forget to close this one...
from pysoem.
Related Issues (20)
- Ethercat Ring Topology HOT 1
- How to install soem to raspberry pi 4 ? HOT 1
- IAI Motor Controller (PCON-CB) - Not Getting to OP State Correctly HOT 6
- config_init append slaves to CdefMaster slaves attribute, but never clean it HOT 1
- 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 2
- Script crashes when Python debugger inspects `CdefSlave`
- 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 for HOT 2
- Setuptool version clash
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.