diff --git a/TcAutomation/TWINCAT_SETUP.md b/TcAutomation/TWINCAT_SETUP.md index 550cba7..9cec6cb 100644 --- a/TcAutomation/TWINCAT_SETUP.md +++ b/TcAutomation/TWINCAT_SETUP.md @@ -40,9 +40,9 @@ TwinCAT requires a valid license to run. For development and testing purposes, y **Note:** The 7-day trial license needs to be renewed after expiration. You can renew it by repeating the process above. -## 4 Hyper-V Compatibility Issue +## 4 Windows Compatibility Issues -TwinCAT requires direct hardware access and **does not work with Hyper-V enabled**. If you're running Windows with Hyper-V or WSL2, you need to disable it. +TwinCAT requires direct hardware access and is incompatible with certain Windows security and virtualization features. Both **Hyper-V** and **Core Isolation** must be disabled. ### 4.1 Disable Windows Core Isolation (Memory Integrity) @@ -53,7 +53,6 @@ Windows Core Isolation with Memory Integrity can interfere with TwinCAT. You nee 3. Turn off **Memory Integrity** 4. Restart your computer - ### 4.2 Solution: Dual Boot Configuration Instead of permanently disabling Hyper-V, you can create a dual boot option that allows you to choose whether to boot Windows with or without Hyper-V. @@ -115,4 +114,4 @@ After setup, verify that TwinCAT is correctly installed: 1. Open TwinCAT XAE (Visual Studio Shell) 2. Check that TwinCAT system tray icon appears (orange/blue) -3. Switch to Config Mode and then Run Mode to verify functionality \ No newline at end of file +3. Switch to Config Mode and then Run Mode to verify functionality diff --git a/language/README.md b/language/README.md index 382a4e7..fea52a4 100644 --- a/language/README.md +++ b/language/README.md @@ -88,10 +88,13 @@ Currently the following target platforms are supported: #### 3.3.1 Beckhoff +The end-to-end deployment has been validated on a **CX8190** with the following KBus terminals: KL1002, KL2622, KL3044, KL4004, KL9010. Other CX controllers and KBus terminals are modelled in the code but have not been tested. + In addition to the standard libraries provided by Beckhoff, the following libraries are supported: - `Tc3_DALI`: Please note that this library integration is not fully tested. + ## 4 Future Work - Add support for more target platforms (e.g., Siemens, Codesys) diff --git a/language/example/showcase/showcase.bcsctrl b/language/example/showcase/showcase.bcsctrl deleted file mode 100644 index 85340ec..0000000 --- a/language/example/showcase/showcase.bcsctrl +++ /dev/null @@ -1,23 +0,0 @@ -control ShowcaseController { - enum OpMode { - Auto, - Manual, - Off - } - functionblock HeatingLogic { - inputs { - var iTemp: REAL; - var iMode: OpMode; - } - outputs { - var oHeating: BOOL; - } - logic { - oHeating = iMode == OpMode.Auto && iTemp < 20.5; - } - } - unit MorningWarmUp at TOD#06:00:00 { - var currentMode: OpMode = OpMode.Auto; - use HeatingLogic(iTemp: RoomSensor.Temperature, iMode: currentMode) -> HeatingActuator.IsActive; - } -} \ No newline at end of file diff --git a/language/example/showcase/showcase.bcshw b/language/example/showcase/showcase.bcshw deleted file mode 100644 index c4fe046..0000000 --- a/language/example/showcase/showcase.bcshw +++ /dev/null @@ -1,79 +0,0 @@ -bus FieldBus type KBus { - masterDevice: "CX8190" - box TerminalBlock { - product: KBusTerminals - module Zwei_Kanal_Digital_Eingang_Modul { - product: KL1002 - slot: 1 - } - module Zwei_Kanal_Relais_Ausgang_Modul { - product: KL2622 - slot: 2 - } - module Vier_Kanal_Analog_Eingang_Modul { - product: KL3044 - slot: 3 - } - module Vier_Kanal_Analog_Ausgang_Modul { - product: KL4004 - slot: 4 - } - module Endklemme { - product: KL9010 - slot: 5 - } - } -} - -controller ShowcaseController { - - portgroup FourAnalogInputs { - module: Vier_Kanal_Analog_Eingang_Modul - ioType: ANALOG_INPUT - channels: 4 - } - - portgroup Room1DigitalInputs { - module: Zwei_Kanal_Digital_Eingang_Modul - ioType: DIGITAL_INPUT - channels: 2 - } - - portgroup TwoDigitalOutputs { - module: Zwei_Kanal_Relais_Ausgang_Modul - ioType: DIGITAL_OUTPUT - channels: 2 - } - - portgroup FourAnalogOutputs { - module: Vier_Kanal_Analog_Ausgang_Modul - ioType: ANALOG_OUTPUT - channels: 4 - } - - datapoint MotionSensor { - portgroup: Room1DigitalInputs - channels: { - channel Value: BOOL link "Channel 1^Input" - } - } - - datapoint RoomSensor { - portgroup: Room1DigitalInputs - channels: { - channel Temperature: REAL link "Channel 2^Input" - } - } - - datapoint HeatingActuator { - portgroup: TwoDigitalOutputs - channels: { - channel IsActive: BOOL link "Channel 1^Output" - } - } -} - -network { - hostname: "CX-301714" - ipAddress: "169.254.225.85" -} \ No newline at end of file