What is potentially portable to Codesys? #633
-
What is Potenially portable to Codesys? I don't have TwinCats installed and I have never actually used it before, but I use Codesys heavily and I am familiar with .net from previous jobs. Just looking through the code via the github code view, It looks like the logger is single layer wrappers around Serilog, and since I can't call .net code in any direct way in Codesys, that is out as a potential port and I would need to reimplement my own structured Logger in IEC. But what else is potentially portable to Codesys? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There are some missing pieces if you want to implement the same concept in Codesys:
Considering these dependencies, a direct porting of TcOpen logger to Codesys would indeed be challenging. Key functionalities of TcOpen logger that hinge on both Inxton and ADS would probably need significant adaptation or even comprehensive reimplementation to function in a Codesys framework. |
Beta Was this translation helpful? Give feedback.
Hi @TheColonel2688
There are some missing pieces if you want to implement the same concept in Codesys:
TcOpen leverages Inxton technology to create a .NET twin representation of the PLC program. Since Inxton is specifically tailored for TwinCAT, this presents a substantial challenge. To port features that involve .NET side from TcOpen (like Logger) to Codesys, you would essentially need an equivalent tool or method, or be prepared to rework the logic to operate without such a bridge. This is a non-trivial task.
ADS Communication: TcOpen utilizes the ADS communication layer, which is native to Beckhoff's TwinCAT environment. Transitioning this aspect to Codesys would require identifyin…