Dataserver not start
CODESYS Forge
talk
(Thread)
Dataserver not start
Last updated: 2016-03-06
MoveLinearRelative track not ideal
CODESYS Forge
talk
(Thread)
MoveLinearRelative track not ideal
Last updated: 2019-09-30
Raspberry softmotion not included
CODESYS Forge
talk
(Thread)
Raspberry softmotion not included
Last updated: 2020-02-04
Crypto Example not working
CODESYS Forge
talk
(Thread)
Crypto Example not working
Last updated: 2021-04-26
OPCUA Example not working
CODESYS Forge
talk
(Thread)
OPCUA Example not working
Last updated: 2015-12-30
var_dyn not implemented
CODESYS Forge
talk
(Thread)
var_dyn not implemented
Last updated: 2009-11-19
SFC not available
CODESYS Forge
talk
(Thread)
SFC not available
Last updated: 2022-11-17
FB output not updating
CODESYS Forge
talk
(Thread)
FB output not updating
Last updated: 2016-04-11
TON ET not running
CODESYS Forge
talk
(Thread)
TON ET not running
Last updated: 2021-08-19
GPIO not responding
CODESYS Forge
talk
(Thread)
GPIO not responding
Last updated: 2016-12-30
Visualization not following points
CODESYS Forge
talk
(Thread)
Visualization not following points
Last updated: 2021-10-18
Can not generate code
CODESYS Forge
talk
(Thread)
Can not generate code
Last updated: 2018-10-23
Installation not possible
CODESYS Forge
talk
(Thread)
Installation not possible
Last updated: 2021-07-27
RecipeManCommands.SetRecipeValues not working
CODESYS Forge
talk
(Thread)
RecipeManCommands.SetRecipeValues not working
Last updated: 2020-02-14
Codesys Key not recognized
CODESYS Forge
talk
(Thread)
Codesys Key not recognized
Last updated: 2020-01-16
IF NOT AND question
CODESYS Forge
talk
(Thread)
IF NOT AND question
Last updated: 2018-11-26
CmpCodeMeter library not signed
CODESYS Forge
talk
(Thread)
CmpCodeMeter library not signed
Last updated: 2016-09-20
eth1: raspberry not found
CODESYS Forge
talk
(Thread)
eth1: raspberry not found
Last updated: 2018-01-24
Packages not installing
CODESYS Forge
talk
(Thread)
Packages not installing
Last updated: 2021-09-14
INT_TO_WORD function not working
CODESYS Forge
talk
(Thread)
INT_TO_WORD function not working
Last updated: 2024-01-26
DataSource not working
CODESYS Forge
talk
(Thread)
DataSource not working
Last updated: 2024-02-01
EtherCAT drive not moving
CODESYS Forge
talk
(Thread)
EtherCAT drive not moving
Last updated: 2024-03-05
Identifier 'IoDrvGPIO' not defined
CODESYS Forge
talk
(Thread)
Identifier 'IoDrvGPIO' not defined
Last updated: 2024-04-11
New License not working.
CODESYS Forge
talk
(Thread)
New License not working.
Last updated: 2024-05-24
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: 2026-09-25
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.