Post by kishan on SMC_Interpolator / CNC Abort – ControlAxisByPos Sometimes Remains Busy and Axis Continues Moving
CODESYS Forge
talk
(Post)
Hello, I am working with CODESYS SoftMotion CNC using a preprocessing chain, SMC_Interpolator, and SMC_ControlAxisByPos for controlling the CNC axes. I have noticed an issue when aborting CNC execution. When I execute the Abort command, I abort both the CNC preprocessing blocks and SMC_Interpolator. Normally the CNC process stops correctly. However, occasionally after the abort: SMC_Interpolator has already been aborted. CNC preprocessing has also been aborted/reset. But SMC_ControlAxisByPos.bBusy remains TRUE. The corresponding physical axis can still continue moving for some distance. This does not happen every time. My basic sequence is similar to: G-code / CNC preprocessing ↓ SMC_Interpolator ↓ Transformation ↓ SMC_ControlAxisByPos ↓ SoftMotion Axis When the operator requests CNC Abort, I set the Abort inputs of the interpolator and preprocessing function blocks. My questions are: Does SMC_Interpolator.bAbort only stop/reset the interpolator, or should it also stop the motion currently being executed by SMC_ControlAxisByPos? Can SMC_ControlAxisByPos remain Busy after the interpolator has been aborted? If bAvoidGaps = TRUE, could SMC_ControlAxisByPos still be trying to reach the last fSetPosition using the fGapVelocity / fGapAcceleration / fGapDeceleration settings after the interpolator has stopped? What is the recommended sequence for safely aborting a running CNC program? For example, should the sequence be something like: Stop / Abort Interpolator Disable SMC_ControlAxisByPos Execute MC_Stop for all physical axes Wait until all axes reach standstill Abort/reset preprocessing blocks and CNC queues Reset CNC state Re-enable axis controllers Or is there a recommended CODESYS CNC method for performing a complete CNC Abort? I would especially like to understand why SMC_ControlAxisByPos.bBusy can occasionally remain TRUE and continue moving the axis even though the interpolator and preprocessing blocks have already been aborted. CODESYS SoftMotion CNC is being used with real EtherCAT servo axes. Any explanation about the correct abort/stop sequence would be appreciated.
Last updated: 3 days ago
Date Picker
CODESYS Forge
talk
(Thread)
Date Picker
Last updated: 2026-01-14
Post by ilarioimi on Date Picker
CODESYS Forge
talk
(Post)
Hello, I am new here and need some help. I have added the Date Picker to a visualization page. The date selection works, but the current day is not highlighted. The date and time are displayed correctly by the system, which is set by default to “VisuElems.Visu_DateTime.DisplayUTC:= FALSE;”. Is there some project setting or Visualization Manager setting that I am missing? Thank you. Ilario.
Last updated: 2026-01-14
Visu 4.9.1 auto-logon/login
CODESYS Forge
talk
(Thread)
Visu 4.9.1 auto-logon/login
Last updated: 2026-01-14
Post by amira on Visu 4.9.1 auto-logon/login
CODESYS Forge
talk
(Post)
Hello Julian, could you please check in Chrome Password Manager Settings if the option "Offer to save passwords" is set? With this option selected, a pop-up message will then show up asking whether or not to save the password. Choose OK. Hope this helps.
Last updated: 2026-01-14
Problem with missing content in Dialog Windows in Win11
CODESYS Forge
talk
(Thread)
Problem with missing content in Dialog Windows in Win11
Last updated: 2026-01-14
Post by schelchpaul on Problem with missing content in Dialog Windows in Win11
CODESYS Forge
talk
(Post)
Hello, i have the big Problem that dialog windows in Codesys 2.3 are cut off, as seen in the attached screenshots. I've tried to adjust the screen resolution, i tried changing scaling, i tried the compatibility options. To keep it short, nothing worked. If someone already had that problem and knows a fix, please answer.![]
Last updated: 2026-01-14
Post by schelchpaul on Problem with missing content in Dialog Windows in Win11
CODESYS Forge
talk
(Post)
Last updated: 2026-01-14
Problem with missing content in Dialog Windows in Win11
CODESYS Forge
talk
(Thread)
Problem with missing content in Dialog Windows in Win11
Last updated: 2026-01-14
Get the Best Deals on Dune Awakening Items | U4N Shop
CODESYS Forge
talk
(Thread)
Get the Best Deals on Dune Awakening Items | U4N Shop
Last updated: 2026-01-15
Post by blisk2000 on Scheduler
CODESYS Forge
talk
(Post)
Hi, I am looking for a scheduler like attached picture. Is a scheduler like this already available in Codesys? Thank you! Best regards! Zdenko
Last updated: 2026-01-16
Post by dim54 on Disabling automatic logout from the owner user
CODESYS Forge
talk
(Post)
Hello! Please tell me how I can disable the automatic logout as the Owner user (CODESYS 3.5 SP15 Path 2). I have to reconnect multiple times during the workday. Thanks!
Last updated: 2026-01-16
Disabling automatic logout from the owner user
CODESYS Forge
talk
(Thread)
Disabling automatic logout from the owner user
Last updated: 2026-01-16
Scheduler
CODESYS Forge
talk
(Thread)
Scheduler
Last updated: 2026-01-16
(no subject)
CODESYS Forge
talk
(Thread)
(no subject)
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on (no subject)
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Sysfile Konfiguration
CODESYS Forge
talk
(Thread)
Sysfile Konfiguration
Last updated: 2026-01-19
Sysfile Konfiguration
CODESYS Forge
talk
(Thread)
Sysfile Konfiguration
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Sysfile Konfiguration
CODESYS Forge
talk
(Thread)
Sysfile Konfiguration
Last updated: 2026-01-19
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.