1152 bug cmmt as while in torque control loses axis position#1166
Merged
kuh0005 merged 6 commits intoJun 2, 2026
Merged
Conversation
added 3 commits
June 1, 2026 06:53
…-in-torque-control-loses-axis-position
Document the AxoCmmtAs torque-control position-loss fix: in-position window gate, ZSW1 bit-position annotations, and the disabled 1542 torque-control guard. - per-library CHANGELOG 0.61.1 + GitVersion.yml bump - TROUBLES: position-loss + 1542 issues, ZSW1 diagnostics, InPositionWindow tuning, known limitations - AxoCmmtAs.md: positioning-tolerance section - central CHANGELOG.md: [FIX] entry Refs #1152, #1166
Contributor
|
@kuh0005 can you please add the information about drive settings that are required for torque mode to operate properly? Thanks. |
PTKu
approved these changes
Jun 2, 2026
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.
Summary
AxoCmmtAsno longer "loses" axis position while in torque control — a positioning move now completes only whentargetPosReached(ZSW1.X10) AND the actual position is within the newInPositionWindowtolerance.1542whentargetPosReachedasserted during torque-control states.InPositionWindow(LREAL, default0.05) toAxoDrive_Config(components.drives) to back the in-position check.PROFIdriveTelegram_111_ZSW1signals with hardware bit positions (X0–X15); disables an unfinished dynamic-torque-boost write (PNU 13073).Changes from CHANGELOG
AxoCmmtAs loses axis position while in torque control
Note: PLC bug fix in
src/components.festo.drives(AxoCmmtAs,PROFIdriveTelegram_111) andsrc/components.drives(AxoDrive_Config). No public-API removal. Branch:1152-bug-cmmt-as-while-in-torque-control-loses-axis-position. Issue #1152, PR #1166.AxoCmmtAspositioning no longer advances past the target-reached step on theTelegram111_In.ZSW1.targetPosReached(X10) bit alone. It now additionally requiresABS(Position - ActualPosition) <= _AxisReference^.Config.InPositionWindowbefore transitioning, so a drive that assertstargetPosReachedwhile still off target (e.g. after a torque-control phase) no longer loses its position.1542(eAxoMessageCategory#ProgrammingError,MC_TorqueControlErrorID := 1542) whenevertargetPosReachedbecame true during torque-control states126/127. Disabled pending further investigation.AxoDrive_Configgains anInPositionWindowparameter (LREAL, default0.05).PROFIdriveTelegram_111_ZSW1status signals with hardware bit positions (X0–X15) and added matching comments to the ZSW1 mapping inAxoCmmtAs.13073).components.festo.drivesdocs (CHANGELOG0.61.1, TROUBLES,AxoCmmtAs.md).Commits
Other:
(merge commit
478a31fomitted)Diff stat
Test plan
apax build; affected positioning + torque-control sequences exercised in PLCSIM Advanced / on a CMMT-AS axisInPositionWindowper axis and confirm a move neither stalls (too small) nor completes off-target (too large)Generated by
/pr-description-update. Last regenerated: 2026-06-01.closes #1152