I have a large moving block that I'm monitoring the four corners of, and would like to make sure that any single corner doesn't move too far or too little compared to the others.
I've done this with long, narrow, things before by just subtracting the two values and making sure the difference between the two values doesn't exceed a set amount. If I expanded this to four corners I'd end up with 6 different combinations of numbers, and I think that while it would be easy to understand, there has to be a better way to do it. How would you go about making sure four values don't get too far apart?
Just interested in how other people would do it. Maybe I only really need to monitor the difference between the two sets of opposite corner to ensure that the block is moving straight?
I'm using a Micrologix 1400 and RSLogix 500
I've done this with long, narrow, things before by just subtracting the two values and making sure the difference between the two values doesn't exceed a set amount. If I expanded this to four corners I'd end up with 6 different combinations of numbers, and I think that while it would be easy to understand, there has to be a better way to do it. How would you go about making sure four values don't get too far apart?
Just interested in how other people would do it. Maybe I only really need to monitor the difference between the two sets of opposite corner to ensure that the block is moving straight?
I'm using a Micrologix 1400 and RSLogix 500