Posted 7 Mar 2021 (edited) Hello from korea :) i got some problem writing loop code in sysmac studio what i wanna do is simple, running process together with loop if u see the picture that i attached there is IF condition, i want my machine run loop in "if" condition but if i use while loop maybe other process dead right lol? in words... running process, i want my machine check the "if" condition.... What can i do in this case? Do i have to run whole process in loop? is there any way to run loop with Other process keep going.... Thanks for reading! Edited 7 Mar 2021 by Codepark Share this post Link to post Share on other sites
Posted 7 Mar 2021 You should leave this in the Sysmac forum where you started it instead of posting the same question in multiple forums. Get more answers from the Omron forum than general. I don't know why you are trying to write the motion function block in a loop. You only need to pulse the Execute input to make it run. Why would you loop so it triggers it every single program cycle? Remember PLC runs in cycles, so you are doing this same code every 1ms. 1 person likes this Share this post Link to post Share on other sites
Posted 8 Mar 2021 @Crossbow That would be my fault not the original poster. I moved his original question to the Omron Sysmac forum in hopes of getting him a better answer, but left the original as a 30 day link so he could find it. @Codepark .I am doing the same with this quesiton. 1 person likes this Share this post Link to post Share on other sites