Skip to content

1168 bug update krc4 following the updates on krc5#1177

Merged
PTKu merged 18 commits into
devfrom
1168-bug-update-krc4-following-the-updates-on-krc5
Jun 11, 2026
Merged

1168 bug update krc4 following the updates on krc5#1177
PTKu merged 18 commits into
devfrom
1168-bug-update-krc4-following-the-updates-on-krc5

Conversation

@PeterKormanak

@PeterKormanak PeterKormanak commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • AxoKrc5 input bit %X2 repurposed from Inputs.Automatic to Inputs.LocalEstopOk ("Local Emergency Stop OK"); new error 20006 raised unconditionally whenever the local E-stop circuit reports not-OK.
  • Safety message 20002 rekeyed to Inputs.ExternalAutomatic = FALSE (still Info on KRC5).
  • Task-duration watchdog reinstated as opt-in: per-task ThrowWhen armed only when Config.TaskTimeout > T#0s; defaults changed to ErrorTime = LT#0S, TaskTimeout = LT#0S.
  • Robot-side stop messages are now auto-acknowledged: Outputs.ErrorConfirmation pulses while Inputs.StopMess is active during task waiting phases; blinker centralised to one 1 s _blink tick per cycle.
  • Docs (AxoKrc5.md, TROUBLES.md, library + central CHANGELOG.md) updated for all of the above; version bumped to 0.63.0.
  • Tuning extras: AxoCylinderView tweaks, Slovak translation updates, AxoTaskLight and incident-bar view touch-ups.

Changes from CHANGELOG

components.kuka.robotics 0.63.0

New features:

Bug fixes:

Other:

  • AxoKrc5 blinker centralised: _blink.Blink() is ticked once per Run()
    cycle with a new BLINKER_TIME : TIME := T#1S internal constant — the
    per-task 500 ms blink calls were removed ([BUG] Update KRC4 following the updates on KRC5 #1168).
  • AxoKrc5_Config defaults changed: ErrorTime LT#5S → LT#0S,
    TaskTimeout LT#50S → LT#0S (watchdog disabled out of the box).
  • AxoKrc5View.razor — header badge and inputs panel now bind to
    Inputs.LocalEstopOk (EStop badge, badge-danger when not OK) instead
    of Inputs.Automatic; polling updated in AxoKrc5View.razor.cs.
  • AxoKrc5.md — divergence note rewritten for [BUG] Update KRC4 following the updates on KRC5 #1168 (LocalEstopOk / 20006,
    20002 rekey, opt-in watchdog, auto error-ack, 1 s blinker); Configuration
    section records the new LT#0S defaults.
  • TROUBLES.md — 20002 rows record the per-class keying input split;
    new 20006 entry with the unconditional-gate note; task-timeout bullet
    rewritten (KRC4 default-on vs KRC5 opt-in); auto error-ack documented.
  • AxoKrc4 is unchanged in this release.

Breaking changes:

  • AxoKrc5 public input Inputs.Automatic was renamed to
    Inputs.LocalEstopOk with new semantics (E-stop OK instead of AUT mode,
    [BUG] Update KRC4 following the updates on KRC5 #1168). .NET twin consumers and Blazor bindings referencing
    Inputs.Automatic on AxoKrc5 must migrate; AxoKrc4.Inputs.Automatic
    is unaffected.

Commits

docs

Other

Diff stat

 CHANGELOG.md                                       | 16 +++++
 GitVersion.yml                                     |  2 +-
 .../Resources/Strings.sk-SK.resx                   | 22 +++----
 .../Resources/Strings.sk.resx                      | 28 ++++-----
 .../ctrl/src/AxoKrc5/v_5_x_x/AxoKrc5.st            | 68 ++++++++++++++++++----
 .../TypesStructuresAndEnums/AxoKrc5_Config.st      |  4 +-
 .../TypesStructuresAndEnums/AxoKrc5_State.st       |  4 +-
 src/components.kuka.robotics/docs/AxoKrc5.md       | 53 +++++++++++------
 src/components.kuka.robotics/docs/CHANGELOG.md     | 51 ++++++++++++++++
 src/components.kuka.robotics/docs/TROUBLES.md      | 42 +++++++++----
 .../AxoKrc5/v_5_x_x/AxoKrc5View.razor              |  8 +--
 .../AxoKrc5/v_5_x_x/AxoKrc5View.razor.cs           |  2 +-
 .../AxoKrc5/v_5_x_x/AxoKrc5.cs                     |  2 +
 .../AxoCylinder/AxoCylinderView.razor              |  6 +-
 src/core/ctrl/src/AxoTask/AxoTaskLight.st          |  1 +
 .../AxoMessenger/Static/AxoIncidentBarView.razor   |  2 +-
 16 files changed, 232 insertions(+), 79 deletions(-)

Test plan

  • apax build of components.kuka.robotics/ctrl succeeds; KRC5 task sequences exercised against a KRC5 cell (or PLCSIM) — verify 20006 raised on local E-stop drop and 20002 on external-auto drop
  • Verify TaskTimeout > 0s aborts a stalled task with '{TaskName} timeout.', and default LT#0S never aborts
  • Verify Outputs.ErrorConfirmation pulses while robot reports StopMess during a task waiting phase
  • dotnet build of AXOpen.Components.Kuka.Robotics + .blazor succeeds; showcase page renders AxoKrc5View with the EStop badge bound to LocalEstopOk
  • AxoCylinderView and incident-bar render correctly after the view/translation tuning commits
  • CHANGELOG entries (library + central) cover all branch commits and flag the breaking Inputs.AutomaticLocalEstopOk rename

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

@PeterKormanak PeterKormanak linked an issue Jun 11, 2026 that may be closed by this pull request
PTKu added 4 commits June 11, 2026 09:32
Docs were stale after the KRC5 estop/watchdog rework:

- AxoKrc5.md: Inputs.LocalEstopOk on %X2 + unconditional error 20006,
  20002 rekeyed to ExternalAutomatic, TaskTimeout watchdog reinstated
  as opt-in (default LT#0S), auto ErrorConfirmation ack, 1s blinker
- TROUBLES.md: per-class 20002 keying split, 20006 entry, KRC4
  default-on vs KRC5 opt-in watchdog
- CHANGELOG.md: 0.63.0 entry; breaking Inputs.Automatic rename
  recorded for twin consumers
- GitVersion.yml: next-version 0.61.1 -> 0.63.0 (base 0.62.3 from
  origin/dev, minor bump)

StartMotorsTask lacks the reinstated ThrowWhen watchdog - suspected
source oversight, documented as-is.

Refs #1168
…ttps://github.com/Inxton/AXOpen into 1168-bug-update-krc4-following-the-updates-on-krc5

# Conflicts:
#	CHANGELOG.md
#	GitVersion.yml
@PTKu PTKu merged commit e28fbd7 into dev Jun 11, 2026
1 check passed
@PTKu PTKu deleted the 1168-bug-update-krc4-following-the-updates-on-krc5 branch June 11, 2026 09:36
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] Update KRC4 following the updates on KRC5

2 participants