Sign in to follow this  
Followers 0
Rod_Hackney

Midline Instruction S7-300 processor

3 posts in this topic

I have a processing line in one our facility that was programmed by a vendor. It has several midline output instructions used in the logic. (#) They have M addresses associated with it. As soon as the preceding logic prior to the midline output is true, it is my understanding a 1 is stored in that memory location. Do you have to repeat the (#) midline instruction wtih a INOTI instruction in front of it to place a 0 in the M location? Help files are not very clear on this issue. Any assistance is appreciated.

Share this post


Link to post
Share on other sites
The midline coil is just a coil, if the preceding logic is true, the address associated with the coil is true, if its false the address is false. The logic after the midline continues as if it was not there. Change the view to STL and you will see how it works. So no, you don't need anything special to change it to zero, the logic will change it to zero when the logic becomes false, same as any other coil.

Share this post


Link to post
Share on other sites
Thanks, I will check the logic out with this in mind.

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