Personal Data

Username:
samw
Joined:
2022-11-07 10:53:06

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi did you check my other post? A guy explained the issue quite clearly. Hope this helps.

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Thank you Hermsen for the detailed explanation. I have took some time to review some courses and I'll go deeper on the subject when I have the time. The hint that you have given: Busy will stay TRUE until a specific input and/or internal condition of the FB has been met. After this the FB state will either go to Done or Error (with the according ErrorID). To reset the FB for a new "job", just feed it a falling and rising Edge on Execute. During execturion, Busy will be TRUE, when the FB has fininished,...

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Thank you for the example Fless, is the example using CFC? How do I keep it in a continuous loop? I still can't get rid of the issue with the MoveRelative Function Block stuck on busy, it seems if any contacts linked to execute is high the FB will always stuck on busy even when no power is going through the line.

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Thank you so so much gseidel this fixes the problem. The DC synchron also need to be disabled for anyone who is having the same issue. Now I can get the motor to do some basic movements but having issues trying to spin the motor back and forth. I put a new post titled 'SoftMotion Function Block stuck on busy' I hope you could take a look thanks! Wishing you a happy new year!

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    I created a subroutine that supposed to swing an axle back and forth but for some reasons the first MoveRelative function block always stuck on Busy and keep turning until I set the input (the Var Swing) from the main program (PLC PRG) to false. The second MoveRelative FB will then run but it won't pass the '.Done' variable to the first FB and start the process again. I just want to spin a motor axle back and forth continously until a trigger/input from the main program to stop it. I can only use...

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Dear Sgronchi I don't need hard real time, I already set the synchronisation to DC and not SM. Will uncheck the enable box in the distributed clock in one of the slave option have any effect? Is it possible to use the Soft Motion function blocks without the RTE runtime? I could modify the PDOs in the EhterCAT I/O mapping and control the motor that way as a work around but obviously this is not an ideal solution.

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    I believe the error is related to synchronisation, see attached photo. Is there a way to get around the problem? I don't need perfect synchronisation. Many thanks!

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi eschwellinger I get the same error code: SMC_DI_GENERAL_COMMUNICATION_ERROR and SM_Drive_ETC_GenericDSP402: There is a configuration error. What parameters can I check to fix this problem? Do I have to manually start up SoftMotion? I have checked the drop down menu on Device the SoftMotion is Enabled. I think my issue is slightly different as I use a SoftPLC don't need hard real time. I have been trying to fix this bug for a week already. Now I am completely lost and don't know where to look anymore....

View All