Iβm working on implementing continuous movement in Codesys, but I've run into some trouble. I've tried using ALL SM3 Basic and SML without success. Iβm specifically looking for a library that supports continuous updates and can fetch values from a server in real time. Does anyone know of a library or approach that fits these requirements? Any advice or suggestions would be greatly appreciated!
i read plcopen documentaion as well as codesys
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do you mean by continuous movement? You want to continuously follow a dynamic target position? SMC_ControlAxisByPos, which is typically used with CNC Interpolators, could work for that. Instead of feeding the target position in from the Interpolator, feed in the target position from your server instead. Once you enable the FB, it will continuously move the axis to track the fSetPosition input.
Hi everyone,
Iβm working on implementing continuous movement in Codesys, but I've run into some trouble. I've tried using ALL SM3 Basic and SML without success. Iβm specifically looking for a library that supports continuous updates and can fetch values from a server in real time. Does anyone know of a library or approach that fits these requirements? Any advice or suggestions would be greatly appreciated!
i read plcopen documentaion as well as codesys
Thank you!
What do you mean by continuous movement? You want to continuously follow a dynamic target position? SMC_ControlAxisByPos, which is typically used with CNC Interpolators, could work for that. Instead of feeding the target position in from the Interpolator, feed in the target position from your server instead. Once you enable the FB, it will continuously move the axis to track the fSetPosition input.
https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/Direct-Axis-Control/SMC_ControlAxisByPos.html