PLC programming using TwinCAT 3 tutorial – part 9

Dear existing & future PLC software developers, I have published part 9 of my free PLC programming using TwinCAT 3 tutorial.
In this part we’ll learn how to use one of the most used Beckhoff libraries for various purposes. We’ll learn how to measure execution time of PLC code, how to use a FIFO buffer and how to combine the power of using a TwinCAT real-time program with an application running in user-space (Windows).

  • Share on:

3 Comments, RSS

  1. Max

    Thank’s a lot.
    I work many years with Twincat…and never know about a ring buffer FB in Beckhoff library
    (every time a need i make it by myself)

    your tutorials are amazing!
    I can feel youy passion for this issues

  2. advan

    Hi Jakob
    I am a engineer in Taiwan , Your webside & video is really great,I fullly agree with your thoughts

    I like to share one ideaI I used to try. Use NT_Startprocess to start progeam & redirection output to get result
    eg ping , you can ues “where ping” in command prompt to get program path.
    use “>” redirection to anouther file for TwinCAT PLC get the result,But I got problem on I can’t pass redirection via NT_Startprocess , eventually i use batch file instead,but It’s not work on WinCE@@
    I still trying on it,Just sharing my experience hope it’s help.

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.