Posted 20 Feb 2017 Hello, So i am trying to use real numbers input from an Omron screen and compare them with a bank of numbers to enable a bit like a password. We currently use Mitsubishi and we have a memory bank we can store numbers and when a code is input on a screen the plc compares it to the entire bank with in the range we set. is there an easy way to do this other than putting a compare for every password we need? Share this post Link to post Share on other sites
Posted 20 Feb 2017 BCMP will compare 16 words and turn bits on in a register for each match but I do not believe it will do floating point - will do integers though. Share this post Link to post Share on other sites
Posted 21 Feb 2017 The plc I am using a a cp1e. I cant seem to get the bits on in a register part to work and i need to compare 200 consecutive words. Would a loop be in my best interest and if so how can i get a bit to increment. Thanks for all the help. Share this post Link to post Share on other sites