I give motion to my CNC machine by using Codesyste SMC_Interpolator, SMC_Trafo_Gantry3 and SMC_ControlAxisByPos blocks together. These blocks work beautifully together! That is, when the tool to be used during the operation is changed, the predetermined offset values for the XYZ axes of this tool come into play. This means: When the offset value changes, the output of the Gantry block also changes. But this is undesirable! If this happens, the axis moves by the difference from the previous offset positions. This should never happen! Even if the offset changes (it may be increased or decreased), the axis should not move to absurd positions when this change occurs.it should go to the position without deviating from the offset.
There are too many tools in the machine and this working system is very bad when switching between tools! Anyone know how to prevent this?
Hello,
I give motion to my CNC machine by using Codesyste SMC_Interpolator, SMC_Trafo_Gantry3 and SMC_ControlAxisByPos blocks together. These blocks work beautifully together! That is, when the tool to be used during the operation is changed, the predetermined offset values for the XYZ axes of this tool come into play. This means: When the offset value changes, the output of the Gantry block also changes. But this is undesirable! If this happens, the axis moves by the difference from the previous offset positions. This should never happen! Even if the offset changes (it may be increased or decreased), the axis should not move to absurd positions when this change occurs.it should go to the position without deviating from the offset.
There are too many tools in the machine and this working system is very bad when switching between tools! Anyone know how to prevent this?
Thanks, good work!
Last edit: ByCNC 2023-05-22
Hi ByCNC,
have you seen G43?
https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cnc_din66025_preprocessor.html
https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/SoftMotion-Function-Blocks/SMC_ToolLengthCorr.html
https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_example_tool_correction_usage.html
Is this the functionality you are looking for?
Hope this helps!