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
Good day ,
I was given the task of making a 6-axis CNC machine (X/Y/Z/A/B/C).
The machine is a coil winder, where the A/B/C axes are the axes that rotate the spindles, and the Z axis is the axis that moves the wire from one extreme position of the coil to the other.
The problem is the discontinuity of A/B/C axis movement (velocity profile).
In the path preprocessing step, I am not able to get continuous ABC axis movement.
Here is the test G-code:
In the attachments I present the movement of the Z/X/A axis.
X-axis motion is what I need.
This is how the movement of the A axis should look like. Unfortunately, it looks like in the attachment to the A axis.
Is there any way to "force" the ABC axes to behave like XYZ axes?
Good day ,
I was given the task of making a 6-axis CNC machine (X/Y/Z/A/B/C).
The machine is a coil winder, where the A/B/C axes are the axes that rotate the spindles, and the Z axis is the axis that moves the wire from one extreme position of the coil to the other.
The problem is the discontinuity of A/B/C axis movement (velocity profile).
In the path preprocessing step, I am not able to get continuous ABC axis movement.
Here is the test G-code:
N000 G91
N010 G01 Z10 A360 F100 E1000 E-1000 FA100 EA10000 EA-100000
N020 G01 Z-10 A360
N030 G01 Z10 A360
N040 G01 Z-10 A360
N050 G01 Z10 A360
N060 G01 Z-10 A360
N070 G90
G-Code using the X-axis:
N000 G91
N010 G01 Z10 X360 F100 E1000 E-1000
N020 G01 Z-10 X360
N030 G01 Z10 X360
N040 G01 Z-10 X360
N050 G01 Z10 X360
N060 G01 Z-10 X360
N070 G90
In the attachments I present the movement of the Z/X/A axis.
X-axis motion is what I need.
This is how the movement of the A axis should look like. Unfortunately, it looks like in the attachment to the A axis.
Is there any way to "force" the ABC axes to behave like XYZ axes?
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
Best regards,
Georg
Good morning,
I solved the problem. I was hoping for support, unfortunately.
Hello. Good morning.
I have a same problem with short-segment G01 in GCode even in XY Axis.
( I'm using SMC_ReadNcFile2, SMC_NcInterpreter, SMC_CheckVelocities before IPO , watching Youtube tutorial video.. )
How did you solve this problem ?