Ho to insert the character <"> in a Wstring
CODESYS Forge
talk
(Thread)
Ho to insert the character <"> in a Wstring
Last updated: 2019-11-26
Restrictions - No use of this product in the USA
CODESYS Forge
talk
(Thread)
Restrictions - No use of this product in the USA
Last updated: 2016-09-28
Reading and writing .txt files in the python scripts
CODESYS Forge
talk
(Thread)
Reading and writing .txt files in the python scripts
Last updated: 2018-08-14
Function in Codesys and the wrong return value
CODESYS Forge
talk
(Thread)
Function in Codesys and the wrong return value
Last updated: 2021-03-17
Adding comments in the IL editor
CODESYS Forge
talk
(Thread)
Adding comments in the IL editor
Last updated: 2011-09-11
Variables defined in the Visualization interface editor prevent instantiation
CODESYS Forge
talk
(Thread)
Variables defined in the Visualization interface editor prevent instantiation
Last updated: 2021-03-03
Changing the Scaling of a softmotion drive in Codesys
CODESYS Forge
talk
(Thread)
Changing the Scaling of a softmotion drive in Codesys
Last updated: 2019-02-08
Recover application running in the controller (not not application)
CODESYS Forge
talk
(Thread)
Recover application running in the controller (not not application)
Last updated: 2020-06-29
How to hide elements in the editor
CODESYS Forge
talk
(Thread)
How to hide elements in the editor
Last updated: 2023-07-03
Managing the CoDeSys projects in V2.3
CODESYS Forge
talk
(Thread)
Managing the CoDeSys projects in V2.3
Last updated: 2017-11-06
How should I define the sensor ID In CODESYS???
CODESYS Forge
talk
(Thread)
How should I define the sensor ID In CODESYS???
Last updated: 2015-02-23
Saving Data in the Simplest Way
CODESYS Forge
talk
(Thread)
Saving Data in the Simplest Way
Last updated: 2008-01-10
Working with Modbus RTU in the cyclic scan
CODESYS Forge
talk
(Thread)
Working with Modbus RTU in the cyclic scan
Last updated: 2023-02-16
Can't see any documentation in the Library manager
CODESYS Forge
talk
(Thread)
Can't see any documentation in the Library manager
Last updated: 2017-08-27
Working with Modbus RTU in the cyclic scan
CODESYS Forge
talk
(Thread)
Working with Modbus RTU in the cyclic scan
Last updated: 2023-02-16
Multiple use of the same visualization in different frame
CODESYS Forge
talk
(Thread)
Multiple use of the same visualization in different frame
Last updated: 2021-11-29
SysDirRead - miss 1 file in the folder list research
CODESYS Forge
talk
(Thread)
SysDirRead - miss 1 file in the folder list research
Last updated: 2023-12-13
Is it possible in the log to see previous shutdown
CODESYS Forge
talk
(Thread)
Is it possible in the log to see previous shutdown
Last updated: 2024-02-09
How to get the system time in milliseconds?
CODESYS Forge
talk
(Thread)
How to get the system time in milliseconds?
Last updated: 2024-02-28
i can't declear the address in GVL - codesys SP19 Patch5
CODESYS Forge
talk
(Thread)
i can't declear the address in GVL - codesys SP19 Patch5
Last updated: 2024-05-13
Open a POU in the editor via scripting
CODESYS Forge
talk
(Thread)
Open a POU in the editor via scripting
Last updated: 2024-05-30
Synaxis of library declarations in the ST
CODESYS Forge
talk
(Thread)
Synaxis of library declarations in the ST
Last updated: 2025-11-26
Auto Declare window disappears by itself in the Ladder editor
CODESYS Forge
talk
(Thread)
Auto Declare window disappears by itself in the Ladder editor
Last updated: 2026-01-27
file library ifm CR2033 .lib in the CODESYS v2.3
CODESYS Forge
talk
(Thread)
file library ifm CR2033 .lib in the CODESYS v2.3
Last updated: 2026-04-22
Post by gseidel on Absolute movement controlled by an external encoder.
CODESYS Forge
talk
(Post)
Hi polyautomacao, basically, there are two ways to approach this. My first choice would be to check whether your servo drives supports an external encoder, connect the encoder to the servo and configure the servo accordingly. In this case, you would not need to change anything in the CODESYS application. If that is not an option, you could use SM_DrivePosControl, a drive that closes the position loop in the PLC, and feed it with the external encoder positions. See (0). You can switch your servo drive to velocity control mode (SMC_SetControllerMode) and use SMC_FollowVelocity to apply the fSetVelocity of the SM_DrivePosControl to your servo. The MC_MoveAbsolute can then be performed on the SC_DrivePosControl Hope that helps. (0) https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_example_poscontrol.html Best regards, Georg
Last updated: 2026-03-04
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.