Skip to content

[NEW-FEATURE]KukaKss - #65

Merged
peterbarancek merged 2 commits into
devfrom
64-_NEW-FEATURE_KukaKss
Oct 20, 2026
Merged

peterbarancek merged 2 commits into
devfrom
64-_NEW-FEATURE_KukaKss

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

closes #64

github-actions Bot and others added 2 commits October 16, 2026 11:47
- Implemented TcoKukaKss_StopProgramTask_v_9_3_x function block for stopping the KSS program.
- Updated TcoKukaRobotics.plcproj to include new DUTs and POUs for KSS 9.3.
- Enhanced GVL to include additional robot instances for testing.
- Modified MAIN program to initialize KSS test context.
- Created TcoKukaKssTestContext for simulating KSS 9.3 behavior in tests.
- Added eTcoKukaKssTests enumeration for test identification.
- Developed unit tests for KSS 9.3 functionality, including motor control and program execution.
- Updated WPF UI to include KSS 9.3 robot controls.
@peterbarancek
peterbarancek marked this pull request as ready for review October 20, 2026 06:14
Copilot AI balanced review requested due to automatic review settings October 20, 2026 06:14
@peterbarancek
peterbarancek merged commit 062d179 into dev Oct 20, 2026
0 of 3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

One or more issues must be addressed before approval.

8 open issues
1 file not reviewed
  • src/TcoKukaRobotics/src/TcoKukaRobotics.Wpf/Properties/strings.Designer.cs: Generated file
What changed in this PR

Adds KSS 9.3 robot support to TcOpen’s KUKA robotics library.

Changes:

  • Adds PROFINET/EtherCAT components, data structures, and robot operation tasks.
  • Adds a PLC simulator and NUnit integration tests.
  • Adds WPF service views, sandbox integration, and localized diagnostics.
File Description
src/​TcoKukaRobotics/​tests/​TcoKukaRoboticsUnitTests/​PlcExectutedTests/​TcoKukaKssTests.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​tests/​TcoKukaRobotics.Wpf.Sandbox/​MainWindow.xaml Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​Tests/​TcoKukaKss/​TcoKukaKssTestContext.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​Tests/​TcoKukaKss/​eTcoKukaKssTests.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​Tests/​TcoContext/​WpfContext.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​TcoKukaRoboticsTests.plcproj Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​POUs/​MAIN.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRoboticsTests/​GVLs/​GVL.TcGVL Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​TcoKukaRobotics.plcproj Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKssTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StopProgramTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StopMovementsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StopMovementsAndProgramTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StopMotorsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartProgramTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartMovementsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartMotorsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartMotorsProgramAndMovementsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartMotorsAndProgramTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_StartAtMainTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​RoboticsTasks/​Kss_v_9_3_x/​TcoKukaKss_ResetAllOutputsTask_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​TcoKukaKssPn_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​TcoKukaKssEcat_v_9_3_x.TcPOU Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​IO/​TcoKukaKssPn_IO_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​IO/​TcoKukaKssEcat_IO_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​IO/​TcoKukaKss_Outputs_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​POUs/​Prototypes/​KSS/​IO/​TcoKukaKss_Inputs_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​DUTs/​Kss/​TcoKukaKss_Status_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​DUTs/​Kss/​TcoKukaKss_State_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​DUTs/​Kss/​TcoKukaKss_Control_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​XaeTcoKukaRobotics/​TcoKukaRobotics/​DUTs/​Kss/​TcoKukaKss_Config_v_9_3_x.TcDUT Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​Properties/​Localizations.sk-SK.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​Properties/​Localizations.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​Properties/​Localizations.es-ES.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​Properties/​Localizations.de-DE.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​Properties/​Localizations.cs-CZ.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​pex/​TcoKukaKssPn_v_9_3_x.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRoboticsConnector/​pex/​TcoKukaKssEcat_v_9_3_x.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​TcOpen.Inxton.TcoKukaRobotics.Wpf.csproj Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.sk-Sk.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.es-ES.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.Designer.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.de-DE.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Properties/​strings.cs-CZ.resx Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssPn_v_9_3_xServiceViewModel.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssPn_v_9_3_xServiceView.xaml.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssPn_v_9_3_xServiceView.xaml Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssEcat_v_9_3_xServiceViewModel.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssEcat_v_9_3_xServiceView.xaml.cs Updated as part of this pull request.
src/​TcoKukaRobotics/​src/​TcoKukaRobotics.Wpf/​Kss/​Service/​TcoKukaKssEcat_v_9_3_xServiceView.xaml Updated as part of this pull request.

Review effort: Balanced

Comment on lines +28 to +33
var numberFromString = string.Join(string.Empty, Regex.Matches(onlineMsg, @"\d+").OfType<Match>().Select(m => m.Value));


uint errorCode;

UInt32.TryParse(numberFromString, out errorCode);
Comment on lines +28 to +33
var numberFromString = string.Join(string.Empty, Regex.Matches(onlineMsg, @"\d+").OfType<Match>().Select(m => m.Value));


uint errorCode;

UInt32.TryParse(numberFromString, out errorCode);
_control.GlobalSpeed := 0;
_control.ActivateInterface := FALSE;
_control.ErrorConfirmation := FALSE;
_control.ExternalStart := FALSE;
_control.GlobalSpeed := 0;
_control.ActivateInterface := FALSE;
_control.ErrorConfirmation := FALSE;
_control.ExternalStart := FALSE;
Comment on lines +51 to +53
IF inoStatus.State.CutEnableDrives THEN
inoControl.DrivesOn := _blink.outQ;
END_IF
Comment on lines +155 to +156
inoControl.MoveEnable := FALSE;
END_IF
Comment on lines +51 to +53
IF inoStatus.State.CutEnableDrives THEN
inoControl.DrivesOn := _blink.outQ;
END_IF

IF _progress = 1 THEN
// AX step 0: waiting for 'DrivesReady' to be off
inoControl.DrivesOn := TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NEW-FEATURE]KukaKss

2 participants