fbarresi / BeckhoffJsonReadWriter

Read and write json file from a Beckhoff PLC
MIT License
23 stars 4 forks source link

TwinCAT BSD #8

Open vanoo1983 opened 8 months ago

vanoo1983 commented 8 months ago

Hello and thank you for this great Library.

Is it planned to make the TFU003 also working on a TwinCAT BSD system? Or is it somehow already possible to run it on BSD?

fbarresi commented 8 months ago

Hi!

This would be basically possible and I'm also willing to port the project to BSD (leveraging the new cross-platform dotnet implementations), BUT the .net for BSD isn't fully ready yet. (see wiki.freebsd.org).

Once it is I can add .net6/7/8 to the target frameworks.

I know there are first binaries of .net8 that might already work under BSD, but I don't have the chance to test them on my own. If you already have the chance to test a .net8 application on your own twincat BSD machine, let me know and I can prepare a new testing version for you 👍 .

Best regards, FB

vanoo1983 commented 5 months ago

Sorry for my late reply.

I am not that familiar with .NET and also not so much with BSD. I have set up a TwinCAT BSD in a virtual machine (under VirtualBox) to simulate a PLC (according to https://cookncode.com/twincat/2022/08/11/twincat-bsd.html). I could also test in this virtual machine. But I would still have to find out how to install and run .NET8 on this machine.

Best regards, Silvano

heikiv commented 1 month ago

Hi,

.NET runtime is available from the Beckhoff package repository: https://tcbsd.beckhoff.com/TCBSD/14/stable/packages/All/: image

I was even able to run a .NET Blazor project from TC/BSD.

Best regards, Heiki