TwinCAT/BSD in a virtual machine

One of the most anticipated products that Beckhoff has released this year is TwinCAT/BSD, which is Beckhoff’s new operating system which is an alternative to Windows for the PLCs. Did you ever want to play around/learn TwinCAT/BSD, but don’t want to spend the money to buy a PLC with it pre-installed? No worries, it’s entirely possible to run it fully virtualized in a virtual machine. Not only that, it’s also possible to run your TwinCAT 3 software in that virtual machine! I’ve created a step-by-step tutorial where I will show how you can run it locally on your PC. Start the video to join me on an adventure & let’s have some fun!

  • Share on:

8 Comments, RSS

  1. Nils

    Hi Jakob,
    because you noted, there is not so much information available about TwinCAT/BSD. The behavior of Beckhoff is similar as to Windows based TwinCAT before: It is the standard operation system FreeBSD, so you should search for information in this domain. In the FreeBSD domain there is nearly no limitation of usages and use cases.
    TwinCAT/BSD in VirtualBox, check this out: https://gitlab.com/-/snippets/2101537.
    Best regards, Nils

    • Hi Nils! Fair point! What I primarily meant about not much information was specifically for running it in a virtual machine. But as you have stated, you are completely right that you can any source/information regarding FreeBSD also applies to Tc/BSD, which is really convenient. Thanks for the link, it was new for me! Very good job with Tc/BSD by the way, I look forward to using it more and more for customers projects!

  2. Dirk Gerdes

    Dear Jakob,
    I really like your videos – It’s amazing that you share all this knowledge with us.

    I tried to install Beckhoff BSD in a virtual machine and faced an issue.
    (I did it a couple of month ago, everything was fine.)

    But now I had the following issue: After removing the USB-Disk-harddrive, the device nodes changed: the harddisk, I installed BSD on, got /dev/ada0 instead of /dev/ada1
    – that conflicetd with /etc/fstab and the system didn’t boot properly.
    My workaround was to copy the virtual harddisk so the content was available under /dev/ada0 and /dev/ada1 in addition

    Than I edited /etc/fstab by hand

    Did you also face this issue with the latest version? Is there a smarter way to solve this?

    Kind Regards,
    Dirk

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.