Hello all,
I'm in the process of trying to set up a program that reads in pressures and resistances. It has digital inputs that trigger counters. It also has an alarm that triggers when the test goes out of a certain resistance range for a certain amount of time.
Basically, I only want the resistance alarm to trigger once during the entire test (not every time it makes a false-true transition). I also would like for "FAIL - ?1 STEPS" to display the entire time after the resistance alarm has been triggered.
I thought I had something that would work, but upon testing it, I wasn't able to get the resistance alarm (lines 018 and 019) to trigger. This is what I have so far:
014: RA"A"("B:",ALARMS:OV:100KB,DATA:OV:10MB)2S LOGONA GA
015: 3*L("Pressure (psi)",180)
016: 3HSC("Steps taken",=1CV)
017: ALARMR(4DS("Trigger")>0.5000){[3HSC=1]}
018: ALARM2(1R(3W,"Resistance (ohm)")<>0.0000,2500.0000)AND
019: ALARM3(2CV<0.5/3S)"FAIL - ?1 STEPS"{[2CV=1]}
020: END
Why is this the case?
Best Regards,
Lisa
Hello all,
I'm in the process of trying to set up a program that reads in pressures and resistances. It has digital inputs that trigger counters. It also has an alarm that triggers when the test goes out of a certain resistance range for a certain amount of time.
Basically, I only want the resistance alarm to trigger once during the entire test (not every time it makes a false-true transition). I also would like for "FAIL - ?1 STEPS" to display the entire time after the resistance alarm has been triggered.
I thought I had something that would work, but upon testing it, I wasn't able to get the resistance alarm (lines 018 and 019) to trigger. This is what I have so far:
````
014: RA"A"("B:",ALARMS:OV:100KB,DATA:OV:10MB)2S LOGONA GA
015: 3*L("Pressure (psi)",180)
016: 3HSC("Steps taken",=1CV)
017: ALARMR(4DS("Trigger")>0.5000){[3HSC=1]}
018: ALARM2(1R(3W,"Resistance (ohm)")<>0.0000,2500.0000)AND
019: ALARM3(2CV<0.5/3S)"FAIL - ?1 STEPS"{[2CV=1]}
020: END
````
Why is this the case?
Best Regards,
Lisa