Jump to content

Recommended Posts

Posted

Hi, I have a program where the output stays on through a shift register sequence of m coils from m800 to m816 but they have programmed each m coil as an OR function holding the output on.

I am in the middle of adding new OR functions to hold output on in seperate machine sequence but im having an error 'OVER THE EDIT RANGE'

How do i create an input for example [=>m801 =<m8016] (stay on from m801 to m816)

I am using Q series PLC


Posted

hi Scot,

Like the above but im using simple ladder format.

The NE function block im assuming is not equals.. so in ladder format i would write [<> k4m801]

Posted

thats a great help. thank you all. i have managed to write the the input in that configuration. i will test it on my machine today.

 

 

Posted

The above will work, but just to give you more options.. I have been a fan of the NOT-NOT style rungs for large groups of OR.

 

|/A|---|/B|---|/C|---|/D|---|/E|---|/F|---|/G|---|/H|---/----(OUT)

Posted

Since people are offering multiple solutions to the same problem, I might as well also throw in the following:

If you have a lot of bits (or in some cases words) in series that needs comparing with a "binary" output state you can also look into a FOR-NEXT loop. Just compare one device in each loop and trigger a flag that states if one (or more) have been triggered as either true or false.

In some cases this is more efficient.

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
×
×
  • Create New...