Code Monkey home page Code Monkey logo

fellowwithlaptop's Projects

fb_casestatemachine icon fb_casestatemachine

A simple function block to make it easier and clearer to program a state machine in structured text (IEC 61131-3). If you write your state machine with a CASE instruction and an enum, you might miss functions like an entry and exit step, timeout functions or logging possibilities. This module should show you how you can implement all these things. The example was created with TwinCAT and uses the TwinCAT Eventlogger. The basic concept is also possible in Codesys.

twincat_executionpoint icon twincat_executionpoint

In TwinCAT there are some functions available for debugging. The best known is probably the breakpoint. But this is used with caution, because it stops a running machine immediately. Therefore it is often avoided by programmers by using counters or flags to check the sequence of a control. In addition to the breakpoint, there is also the execution point, which does not stop the machine. I suspect that many are not aware of this feature and so I would like to share it briefly.

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.