Sign in to follow this  
Followers 0
kilicustasi

Omron Cqm1 Compile-Subroutine Error

2 posts in this topic

margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 226px; text-align: left; overflow: auto">[Ladder Section Name : Section1][Ladder Section Name : Section2][Ladder Section Name : Section3]ERROR: Step at rung 16 (6, 1) - SBN not defined - 41[Ladder Section Name : Section4][Ladder Section Name : Section5][Ladder Section Name : Section6]WARNING: SBN without RET at rung 98 (6, 0)WARNING: Nested SBN at rung 104 (6, 0)ERROR: Step at rung 104 (6, 0) - Invalid in SBN[Ladder Section Name : Section7]NewProgram1 - 2 errors, 2 warnings.I've erased PLC program, and couldn't restore from backup. In fact, do not seem for any error. When I delete the relevant part, error goes to the next subroutine. How can i solve this? Sorry for my bad English. orjinal program.zip

Share this post


Link to post
Share on other sites
there is a RET(93) instruction missing in a subroutine 39. you add rung before SBN(92) 41 (that is rung 104 in Section 6) with RET(93) instruction, compile and there is no errors. also, I couldn't open the project as it's called (probable there is non-ASCII chars) so I've renamed it and then I could open it. regards Edited by tashinz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0