Skip to content

[KUKA] Remove unnecessary & annoying tasks throwing errors at timeout when proper message from the component is present#1167

Merged
PTKu merged 2 commits into
devfrom
1165-bug-kuka-issue-with-robot-reset
Jun 1, 2026
Merged

[KUKA] Remove unnecessary & annoying tasks throwing errors at timeout when proper message from the component is present#1167
PTKu merged 2 commits into
devfrom
1165-bug-kuka-issue-with-robot-reset

Conversation

@PTKu
Copy link
Copy Markdown
Contributor

@PTKu PTKu commented Jun 1, 2026

Summary

  • KRC5-only PLC fix: AxoKrc5 no longer throws spurious task-timeout errors when the component has already reported the proper condition.
  • Removed the ThrowWhen watchdog calls (_errorTimer.output and Duration >= Config.TaskTimeout) from all eight AxoKrc5 tasks.
  • AxoKrc4 is intentionally unchanged and keeps both watchdogs.
  • Documentation and changelogs updated; library bumped to 0.61.1.

Changes from CHANGELOG

[FIX] AxoKrc5 no longer throws spurious task-timeout errors

Note: PLC bug fix in src/components.kuka.robotics/ctrl/src/AxoKrc5/v_5_x_x/AxoKrc5.st. KRC5-only — AxoKrc4 is unchanged. No public-API change. Branch: 1165-bug-kuka-issue-with-robot-reset.

  • fix: Removed the ThrowWhen watchdog calls (_errorTimer.output and Duration >= Config.TaskTimeout) from every AxoKrc5 task — StartAtMain, StartMotors, StartProgram, StartMotorsAndProgram, StartMotorsProgramAndMovements, StartMovements, StopMotors, and StopMovementsAndProgram. A stalled task now surfaces through the component's own status message instead of an additional, redundant task-timeout error that fired even when the component had already reported the proper condition.
  • docs: src/components.kuka.robotics/docs/AxoKrc5.md and TROUBLES.md record the divergence (a 4th KRC5-only difference; ErrorTime / TaskTimeout no longer abort KRC5 tasks; the TaskTimeout watchdog troubleshooting bullet is now flagged KRC4-only). Library CHANGELOG bumped to 0.61.1.

Impact: Operating a KRC5 robot no longer produces nuisance task-timeout errors on top of the component's genuine status message. AxoKrc4 retains both watchdogs.

Risks/Review: KRC5 tasks no longer self-abort on duration; long-running or stuck tasks rely on the component status message and operator intervention rather than the TaskTimeout watchdog.

Commits

docs

Other

Diff stat

 CHANGELOG.md                                        | 13 +++++++++++++
 GitVersion.yml                                      |  2 +-
 .../ctrl/src/AxoKrc5/v_5_x_x/AxoKrc5.st             | 21 ---------------------
 src/components.kuka.robotics/docs/AxoKrc5.md        | 11 +++++++++++
 src/components.kuka.robotics/docs/CHANGELOG.md      | 19 +++++++++++++++++++
 src/components.kuka.robotics/docs/TROUBLES.md       |  7 +++++--
 6 files changed, 49 insertions(+), 24 deletions(-)

Test plan

  • PLC code compiles via apax build; affected KRC5 sequences exercised in PLCSIM Advanced (verify no spurious task-timeout errors during long/stalled tasks)
  • CHANGELOG entry covers all branch commits and flags breaking changes

Generated by /pr-description-update. Last regenerated: 2026-06-01.

wip
remove task timeout krc5
@PTKu PTKu linked an issue Jun 1, 2026 that may be closed by this pull request
@PTKu PTKu changed the title Remove unecessary & annoying tasks throwing errors at timeout when proper message from the component is present Remove unnecessary & annoying tasks throwing errors at timeout when proper message from the component is present Jun 1, 2026
@PTKu PTKu changed the title Remove unnecessary & annoying tasks throwing errors at timeout when proper message from the component is present [KUKA] Remove unnecessary & annoying tasks throwing errors at timeout when proper message from the component is present Jun 1, 2026
Record the KRC5-only fix (AxoKrc5 tasks no longer ThrowWhen on
ErrorTime/TaskTimeout) across library and central changelogs.

- AxoKrc5.md: 4th KRC5-only divergence + Configuration note
- TROUBLES.md: TaskTimeout watchdog bullet flagged KRC4-only
- library CHANGELOG + GitVersion: bump to 0.61.1
- central CHANGELOG: [FIX] AxoKrc5 spurious task-timeout entry

Refs #1167
@PTKu PTKu merged commit 9fc7ca5 into dev Jun 1, 2026
3 checks passed
@PTKu PTKu deleted the 1165-bug-kuka-issue-with-robot-reset branch June 1, 2026 19:22
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.

[BUG] kuka issue with robot reset

1 participant