Comments (3)
What error is reported when trying to enter OP?
@ArthurKetels : What do you say?
from soem.
The local clock offset is reset to zero after a power cycle. As is the local clock itself.
So after reconfig the master needs to read the local clock value. Then compute the (almost) correct offset to pull the clock back / forward to the reference clock. Then program the clock offset register.
The DC packet will then take care to lock the local clock again to the reference clock. The 0x92c register should now drop to low values very quickly. If not fast enough send a burst of DC packets.
When you pull this off you are superior to most of the masters out there ;-)
from soem.
@nakarlsson No AL error reported, only the clock offset stays large.
@ArthurKetels Looking at the complexity, I'll leave it as a nice-to-have feature for later. If a slave goes offline I think the safe thing to do is disable all others and bring our robots to a safe state.
from soem.
Related Issues (20)
- No socket connection form issue HOT 7
- Use of ec_dcsync0 CyclShift HOT 3
- SOEM on visual studio code (windows) HOT 5
- DC start time diff HOT 4
- invalid requested state change HOT 2
- How can I reduce the latency of the `ec_receive` function ? HOT 22
- PDO Adresse do not match between output of slaveinfo -map and in ethercat-sdk HOT 6
- ERROR information in ecx_err2string() function HOT 3
- Communicate with arduino UNO HOT 4
- SDORead fails after transitioning from OPERATIONAL to SAFE_OP HOT 7
- Unable to get power supply and drives to SAFE_OP (AX8000) HOT 2
- How to compile and generate DLL? HOT 1
- ecx_init_redundant() parameter if2name should be typed as const char * HOT 1
- 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
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.