Repository navigation
[NEW-FEATURE]KukaKss - #65
Merged
Merged
Conversation
- 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.
There was a problem hiding this comment.
🟡 Changes recommended
One or more issues must be addressed before approval.
8 open issues
Parse typed EventId instead of digits from diagnostic message · New Parse typed EventId instead of digits from diagnostic message · New Clear DrivesOn and StartAtMain during task restore · New Clear DrivesOn and StartAtMain during task restore · New Clear DrivesOn when drive permission is lost · New Abort delegated startup task during parent cancellation · New Clear DrivesOn when drive permission is lost · New Clear DrivesOn when stopping the motors · New
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

closes #64