PLC programming in Linux
PLC-programming in Linux?
Traditionally PLC-programming platforms are targeted at Windows. If you like to use Linux in your daily work, how can you combine this with PLC-software development? That’s what we will look at in this video.
Secure your spot at SASE Onsite, October 2024:
Enabling virtualization in BIOS:
You like the content on this channel? Please support this channel by either:
– A donation by using the “Thanks” button under the video
– A donation through PayPal →
– Becoming a Patron →
Need help with your automation project? I’m offering consultancy and programming services through my company →
Subscribe so you don’t miss new videos →
00:00 Intro
02:02 KVM installation
03:55 Windows 11 download/installation
06:10 Sponsorship message
06:37 TwinCAT 4026 + usermode runtime installation
08:17 Project creation + execution
09:27 Final discussion
#PlcProgramming #Linux #TwinCAT
[ad_2]
source
Love KVM on linux, also some tips: install VirtIO drivers on windows and configure the devices in the KVM settings, you can bound some cores of the cpu to the VM, you can change the number of hugepages for fit the VM ram and so on. Withouth KVM, you can also only use Virtualbox/WMware and use the same VM's that you are using on windows, they run a lot smoother on linux.
I'm running it in Proxmox on a W10Pro machine. It does glitch from time to time though. But when combining it with a TwinCAT BSD I'm also running on the Proxmox server, it works like a charm.
Great video Jakob 🙂 Looking forward to give this a try during the weekend and see if I can connect to my CX7000 from a VM 😀
For a year now I use TC XAE/XAR on Win10 on Proxmox, which is Debian+KVM+Graphical layer.
It works very fine.
What's your experience in the difference between using Proxmox or the bare KVM ?
Hey Jakob, I have been running this setup since 2022. And working as a charme. especially usb and tty passthough is perfect and flawless. Great video.
Thanks to share your experience Jacob. I use myself Linux Mint as main desktop and use Virt-manager/Qemu/KVM for all my automation VM using Windows 10. It took a bit time to use it like Virtual Box (especially Networks and file sharing config), but now I see all the power of KVM with gives much better performance than VB or VMWare.
Great video. Loved the thumbnail.
Can you imagine the situation if VSCode existed when Twincat3 was developed? I bet that Beckhoff would have gone with VSCode and now we’d have a cross platform editor and the runtime could be inside a freebsd virtual machine 😭
Great video. Thank you. How does the performance compare to VMware / Hyper-V / VirtualBox? If anyone has a comparison, please let me know.