Jinx Posted October 3, 2018 Report Posted October 3, 2018 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
sczot Posted October 3, 2018 Report Posted October 3, 2018 hello, something like this? if it doesn't help would you share your SW or important parts of it?
Jinx Posted October 3, 2018 Author Report Posted October 3, 2018 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]
Sergei Troizky Posted October 3, 2018 Report Posted October 3, 2018 The complete instruction would be: <> K4M801 H0
sczot Posted October 4, 2018 Report Posted October 4, 2018 (edited) its zero, you have to compare value from K4M801 against something Edited October 4, 2018 by sczot
Jinx Posted October 4, 2018 Author Report Posted October 4, 2018 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.
WattUp Posted October 5, 2018 Report Posted October 5, 2018 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)
kaare_t Posted October 6, 2018 Report Posted October 6, 2018 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now