Activity for samw

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

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

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

    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,...

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

    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.

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

    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!

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

    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...

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

    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.

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

    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!

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

    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....

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

    Software: CODESYS V3.5 SP18 Patch 3+ (64bit) CODESYS Control Win V3 x64 Ver. 3.5.18.30 CODESYS Gateway V3 - x64 Ver. 3.5.18.30 Hardware: Windows 11 VM Realtek USB Gb Ethernet JMC iSHV57 EC servo motor CAT 5e cable Dear All I am new to PLC programming and motion control software so I'd like to apologise in advance for any silly questions or incorrect use of tech lingo. However I do have experience in programming with Arduino, LabView and some python and c/c++. Recently an integrated motor iSHV57 by...

  • samw samw posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Software: CODESYS V3.5 SP18 Patch 3+ (64bit) CODESYS Control Win V3 x64 Ver. 3.5.18.30 CODESYS Gateway V3 - x64 Ver. 3.5.18.30 Hardware: Windows 11 VM Realtek USB Gb Ethernet JMC iSHV57 EC servo motor CAT 5e cable Dear All I am new to PLC programming and motion control software so I'd like to apologise in advance for any silly questions or incorrect use of tech lingo. However I do have experience in programming with Arduino, LabView and some python and c/c++. Recently an integrated motor iSHV57 by...

1