GithubHelp home page GithubHelp logo

Comments (3)

nakarlsson avatar nakarlsson commented on August 20, 2024

What error is reported when trying to enter OP?

@ArthurKetels : What do you say?

from soem.

ArthurKetels avatar ArthurKetels commented on August 20, 2024

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.

jespersmith avatar jespersmith commented on August 20, 2024

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

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.