Hi aniket-b, this error has nothing to do with the scara3 kinematics, or robotics, or SoftMotion. It means that the EtherCAT bus is not synchronized. The usual cause is that the realtime of the PLC is not sufficient. See https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_basic_common_errors.html for details and ways to solve the problem. You can also check the PLC log for additional information about the error. Best regards, Georg
Hi aniket-b, this error has nothing to do with the scara3 kinematics, or robotics, or SoftMotion. It means that the EtherCAT bus is not synchronized. The usual cause is that the realtime of the PLC is not sufficient. See https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_basic_common_errors.html for details and ways to solve the problem. Best regards, Georg
Hi bertus, thanks for the additional information. Setting bAbort on a restart is not needed. Calling all FBs starting from the decoder up to checkvelocities with bExecute = FALSE and then giving a new rising edge on bExecute is what should be done. Do you also restart the Interpolator? (I don't think that has anything to do with the issue, but still...) Best regards, Georg
Hi kenth1973, it is not a matter of who created the function block. It is just that we don't have, and don't provide, documentation about internal implementation details... Hope you can understand that, Georg
Hi kenth1973, it is not a matter of who created the function block. It is just that we don't have, and don't provide, documentation about internal implementation details... Hope you can understand that, Georg
Hi kenth1973, it is not a matter of who created the function block. It is just that we don't have, and don't provide, information about internal implementation details... Hope you can understand that, Georg
Hi bertus, I cannot see any problem in the code you posted. Just some ideas: What is the value of D_ANGLE_TOL? - Do you need the assignment bAbort := NOT bDecoder? Does it help to leave it out? Any errors (e.g. SMC_SmoothPath.Error/ErrorID) or PLC log messages? What if you comment out SMC_SmoothMerge and SMC_LimtiDynamics, is corner smoothing still not working? Is bDecode written from a different task (e.g. visu)? Then I would recommend to assign to a local variable (bDecodeLocal := bDecode) and...
Hi kenth1973, no, we do not have this kind of information on internal variables. iPhasingState has been removed and is no longer present in current versions of SoftMotion. Best regards, Georg