Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Talk

FAQ - Frequently asked Questions about CODESYS
FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

What wrong with FB SMC_Interpolator?
by xabier
48 minutes ago
5048
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

Raspberry PI 5 not working
by eschwellinger
11 hours ago
2097
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

Visualization - table element
by damian177
5 days ago
886
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

CNC / G01 Speed is very slow (or go-stop motion) in Continuous short seg...
by gseidel
2 hours ago
434
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

Set several bits in WORD
by stdenits
7 days ago
2155
Deutsch πŸ‡©πŸ‡ͺ

German forum

Example_PackML.project benΓΆtigt
by jw97ke
2024-04-23
4436
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

File transfer via visu and codesys automation server
by eschwellinger
2024-03-11
30
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

Could not be resolved - Library error
by ademarvribeiro
1 day ago
172

Recent Activities

    CODESYS Forge

  • xabier posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    hi Getdone I have the same problem with you...Could resolved this problem?? Can you move with more speed??... I have cicle time 1 ms and the moment increase speed >5mm/s the FB SMC_Interpolator not fine work....Tell me plese if you resolved this problem Thanks Regards XABI

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi k2saki, 1.SMC_ReadNCFile2 2.SMC_Interpreter 3.SMC_SmoothMerge 4.SMC_SmoothPath 5.SMC_CheckVelocities I attached a simple example project. Best regards, Georg

  • k2saki posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi, gseidel. Thank you so much for your advice. I have created a program to preprocess G-code as follows 1.SMC_ReadNCFile2 2.SMC_Interpreter 3.SMC_CheckVelocities Then I put SMC_OUT_QUEUE in SMC_Interpolator. Where should I insert SMC_SmoothMerge and SMC_SmoothPath? Or are there any example link for it ?

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi kumareasu, yes, correct. Best regards, Georg

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi niallel, yes, you are right, Cams would be the preferred mechanism. Best regards, Georg

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi peterned, the start position given in the CNC properties is only used if you use the compile mode OutQueue. With compile mode SMC_CNC_REF, you need to provide the start position in the IEC application. The function block SMC_NCInterpreter has an input piStartPosition. You can initialize it with the output of the forward kinematic transormation FB for your machine. In your case probably SMC_TRAFOF_Gantry2. Best regards, Georg

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi jonasz, you already solved it, I'm answering here for the sake of others with a similar question. You can provide the slope of the A/B/C axis with the U/V/W word. See example 3 here: https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cnc_din66025_additional_axis.html If you don't want to change the G-Code, the function block SMC_RecomputeABCSlopes can compute the slopes automatically. https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/SoftMotion-Function-Blocks/SMC_RecomputeABCSlopes.html...

  • gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi k2saki, I would recommend to have a look at SMC_SmoothMerge, followed by SMC_SmoothPath. SmoothMerge will combine the small G1 elements to longer splines, SmoothPath will avoid stops between the splines. https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/SoftMotion-Function-Blocks/SMC_SmoothMerge.html For SmoothMerge to work, you have to configure a tolerance, i.e. by how much it may deviate from the lines. To graph the output of the interpolator, you can use...

  • TimvH TimvH posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If you use 3.5 SP10, then Git is not supported. SVN will work fine, but with this version you do need a USB key, because software licenses are not supported with this version. Off course you can work without SVN (or Git), but especially if you work with multiple developers on one project, it will save you a lot of time and you can keep track of all changes and improvements much easier. So how much is this worth to you?

  • TimvH TimvH posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    What we are trying to explain is that, yes CODESYS creates the software, but Epis decides how they implement it on their hardware, which runtime version they use and they decide which functionality they support. So it is always a combination of the two. What CODESYS provides is a runtime with options for e.g. visualization or softmotion. Epis could add this softmotion license as default to their controller, but if they don't then CODESYS provides another option with a single license in a "Wibu CodeMeter"...