Efficient Way to Detect Large Number of Inputs in Logic

Wow, didn't know we had so many FSC haters. I still say that's the way I would do it. Making AOI's or UDT's!!!! talk about a Bubba Stumper. I would align my array with the bin Number 1-125 and use Control.pos for Fault detection and Display. A simple expression [ArrayInput1 <> ArrayOutput1] and one line of code. If Control.Fd for Time then Fault.
 
Last edited:
I wouldn't call a UDT a bubba stumper. If anything, a well constructed UDT should make it clearer to Bubba.

If he can't understand XIC Bin[1].Door_Is_Open then he should not be in there at all.
 
Alaric, I Agee but if we are going to Assume Bubba can Read... Then A Rung Comment would fix any problem.
 
I personally would use a UDT, exploring a single timer for both functions. View your current scan time to see if your anywhere close to your 'bounds'. You could probably go over your code and free up a bunch of space by reassigning bools if need be.
 
Wouldn't the DDT do what is required?

Doug,

I believe this instruction (DDT) changes the reference to match the source after the comparison. This compares DINT array's(double words) and not bits. So not sure if this will work. But this could come in handy one day. Did not know this even existed.

Thanks.
 

Similar Topics

Hello, I have to deal with iFix again and am looking at the most efficient way to create alarms to display in iFix, i.e. not creating an...
Replies
0
Views
166
Hey all, I'm doing a more standardize version of one of my programs and organizing things into UDTs and whatever else I can do to shrink the...
Replies
0
Views
434
Hello All, I’m working on a project that requires filling/discharging from 30 batch tanks that are the exact same. Simplifying things some here...
Replies
7
Views
1,873
Hello, I have a modicon background where there is a "Pulse" function that accepts an input for the deisred pulse time length. I effectively...
Replies
8
Views
2,085
RSLogix5000 I have an application where I would like to be able to ADD the values of multiple arrays, or even "all" the arrays, in a given data...
Replies
11
Views
4,145
Back
Top Bottom