Post by farren on Codesys complains about matching versions
CODESYS Forge
talk
(Post)
Success!! Thanks! -Farren
Last updated: 2025-12-16
Post by reinier-geers on Monitor active Codesys connection
CODESYS Forge
talk
(Post)
HI, did you find the solution ?
Last updated: 2026-03-29
Post by vstrom on Codesys v3.5.22.10 - Fail to create a project Archive
CODESYS Forge
talk
(Post)
Hello TimvH, thanks a lot! :)
Last updated: 2026-04-27
Post by totorovic on Ladder editor bug with 3.5.21.20
CODESYS Forge
talk
(Post)
Can a Codesys member explain this ?
Last updated: 2026-05-20
Automation Server π¬π§
CODESYS Forge
talk
(Discussion)
The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers
Last updated: 2026-06-16
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)
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
Conversion of analogue input into Real measurement value
CODESYS Forge
talk
(Thread)
Conversion of analogue input into Real measurement value
Last updated: 2026-01-26
Post by william on Unit testing support / libraries for EcoStruxure Machine Expert (CODESYS)
CODESYS Forge
talk
(Post)
Thank you, I will try it!
Last updated: 2026-02-20
Post by mjam04 on AM243 LaunchPad as PROFINET Device with CODESYS β RPC Aborted error when scanning devices
CODESYS Forge
talk
(Post)
Attachment
Last updated: 2026-03-13
Post by nicolasquintin on Codesys Installation Always Freeze when the installing is almost done
CODESYS Forge
talk
(Post)
Indeed that worked, thanks!
Last updated: 2026-04-05
Post by eschwellinger on V3.5 SP22 Patch1
CODESYS Forge
talk
(Post)
I would suggest to send the projectarchive to the CODESYS support.
Last updated: 2026-05-06
Post by eschwellinger on RaspberryPi 5 gateway problem
CODESYS Forge
talk
(Post)
Which CODESYS version and which runtime version do you use?
Last updated: 2026-05-22
Post by eschwellinger on too much data for the controller
CODESYS Forge
talk
(Post)
Retains used in the project?
Last updated: 2026-06-02
too much data for the controller
CODESYS Forge
talk
(Thread)
too much data for the controller
Last updated: 2026-06-02
Automating SCADA Reports with ATSCADA IExcelPouringTools
CODESYS Forge
talk
(Thread)
Automating SCADA Reports with ATSCADA IExcelPouringTools
Last updated: 2026-06-13
Post by bertus on Can't get SMC_SmoothPath to work
CODESYS Forge
talk
(Post)
Hello all, I am trying to run a XY trajectory from a static G-Code file. Everything works except the smoothing/blending of the corners. My setup: Codesys v3.5sp18 Raspberry Pi 4 CODESYS Control for Raspberry Pi SL, using demo license. Zero axes (only using the interpolator). The order of processing for my decoding is: SMC_NCDecoder (ok) SMC_SmoothMerge (ok) SMC_SmoothPath (not ok) SMC_LimitDynamics SMC_CheckVelocities I created following instances and buffers: fbNCDecoder: SMC_NCDecoder; fbSmoothMerge: SMC_SmoothMerge; fbSmoothPath: SMC_SmoothPath; fbLimitDynamics: SMC_LimitDynamics; fbCheckVelocities: SMC_CheckVelocities; aNCDecoderBuffer: ARRAY[0..49] OF SMC_GeoInfo; // buffer stage 1 (fbNCDecoder) aSmoothMergeBuffer: ARRAY[0..19] OF SMC_GeoInfo; // buffer stage 2 (fbSmoothMerge) aSmoothPathBuffer: ARRAY[0..99] OF SMC_GeoInfo; // buffer stage 3 (fbSmoothPath) aLimitDynamicsBuffer: ARRAY[0..39] OF SMC_GeoInfo; // buffer stage 4 (fbLimitDynamics) My original G-Code file has a lot of short G1 elements but this example, I reduced it to a simple square: N000 G51 D10 N010 G38 O1 N020 G00 X0 Y0 F50 E1000 E-1000 N030 G01 X0 Y-37.5 N040 G01 X-75 Y-37.5 N050 G01 X-75 Y37.5 N060 G01 X0 Y37.5 N070 G01 X0 Y0 N080 G50 N090 G39 O1 In the Codesys CNC settings, I have these instances activated: SMC_SmoothMerge SMC_SmoothPath SMC_LimitDynamics SMC_CheckVelocities And with those settings (and the path-preprocessing button actived), the G-Code viewer shows the square with nicely blended corners (see attached picture). However, when running it on the PLC, it doesn't blend the corners at all. Below the relevant part of my code. The process is started with bDecode. // stage 1: decoding G-code fbNCDecoder( ncprog := square, bExecute:= bDecode, bAbort:= NOT bDecode, nSizeOutQueue := SIZEOF(aNCDecoderBuffer), pbyBufferOutQueue := ADR(aNCDecoderBuffer) ); // stage 2: merge short linear segments fbSmoothMerge( bExecute := bDecode, poqDataIn := fbNCDecoder.poqDataOut, nSizeOutQueue := SIZEOF(aSmoothMergeBuffer), pbyBufferOutQueue := ADR(aSmoothMergeBuffer), piMaxDifference := PI_MAX_DIFFERENCE, usiMaxDegree := 5, wFeatureFlag := 1, wAdditionalParamNumber := 0, dMinimumCurvatureRadius := D_MIN_CURVATURE_RADIUS ); // stage 3: smooth corners fbSmoothPath( bExecute := bDecode, bAbort := NOT bDecode, poqDataIn := fbSmoothMerge.poqDataOut, eMode := SMC_SMOOTHPATHMODE.SP_SPLINE5_MIN_CURVATURE, eAddAxMode := SMC_SMOOTHPATHADDAXMODE.SPAA_NONE, nSizeOutQueue := SIZEOF(aSmoothPathBuffer), pbyBufferOutQueue := ADR(aSmoothPathBuffer), dAngleTol := D_ANGLE_TOL, bSymmetricalDistances := TRUE, bImprovedSymmetricCuts := TRUE ); // stage 4: keep acc/dec and velocity within limits fbLimitDynamics( bExecute := bDecode, bAbort := NOT bDecode, poqDataIn := fbSmoothPath.poqDataOut, wAxis := 16#07, nSizeOutQueue := SIZEOF(aLimitDynamicsBuffer), pbyBufferOutQueue := ADR(aLimitDynamicsBuffer), bIncludePathSettings := TRUE, dMaxVel := 2500, dMaxAccDec := 10000 ); // stage 5: check the path speed fbCheckVelocities( bExecute := bDecode, bAbort := NOT bDecode, poqDataIn := fbLimitDynamics.poqDataOut, dAngleTol := D_ANGLE_TOL); pathQueue := fbCheckVelocities.poqDataOut; // repeat until MaxDuration ... Any idea what I'm doing wrong? Is smooth path supposed to work at all when using a demo license? Thanks.
Last updated: 2025-12-17
web visu on IFM
CODESYS Forge
talk
(Thread)
web visu on IFM
Last updated: 2023-08-18
Project size increasing continuously
CODESYS Forge
talk
(Thread)
Project size increasing continuously
Last updated: 2023-08-23
Function block not autofilling
CODESYS Forge
talk
(Thread)
Function block not autofilling
Last updated: 2023-08-24
Connection to device closed
CODESYS Forge
talk
(Thread)
Connection to device closed
Last updated: 2023-08-25
Modbus Extended Registers
CODESYS Forge
talk
(Thread)
Modbus Extended Registers
Last updated: 2023-08-26
Ping By Name
CODESYS Forge
talk
(Thread)
Ping By Name
Last updated: 2023-08-29
XY Chart
CODESYS Forge
talk
(Thread)
XY Chart
Last updated: 2023-08-30
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.