changing valve

jimcav

Member
Join Date
Dec 2004
Location
new jersey
Posts
229
ok guys i am having a brain **** I am using a micro logix 1100 i have an n7:1 value if does not change within 3 sec, I need to set an alarm. Thoughts?

Thanks much
 
you may try this
2qm21sk.jpg
 
If N7:1 not equal to N7:2 then one shot Move N7:1 Into N7:2

If N7:1 = N7:2 then run alarm timer.

If alarm time done then fault.
 
Tarik:

Your code will not work. While the timer is timing (i.e., not DN), N7:1 will always be made equal. Then, when the timer is done, they are equal, and you always get the alarm.
 
Lose the one-shot, just in case N7:1 changes before the next scan (I assume this is heartbeat logic, and N7:1 is being messaged; communication is asynchronous to scan).

Instead of the one-shot, RES the timer
 
Heartbeat logic. I use it a lot.

If N7:1 is equal to N7:2 start the timer TON T4:0. Branch around the EQU with the done bit in series with a reset bit to seal in the rung once it becomes true if this is desirable in your application.

The next rung unconditionally moves N7:1 to N7:2
 
Adding a one-shot doesn't solve the problem.

Timer starts ticking. One-shot fires, making N7:2 equal to N7:1
After one second, N7:1 changes (say).
When the timer is done, the values are different, so no alarm. So far, so good.
Timer resets, one-shot fires, and the two values are the same again.

But N7:1 hasn't changed for 2 sec already. The alarm should fire in just 1 sec of inactivity, but won't until a total of 5 sec has elapsed, and it will "forgive" changes every 4 sec, which was not the requirement.
 
This is a working example with a 5 minute timeout (with no seal in/reset branch)

I put the MOV on a branch instead of a separate rung because order of execution is important and that will help future editors of this logic from inadvertently moving them out of order.

heartbeat alarm.jpg
 

Similar Topics

Hi to all. We need to change a bad powerFlex 525 to a new one. How do you save the configuration to install in the new one? Thank you all for...
Replies
5
Views
217
Hi all, I am having an issue where some of my HMI push Buttons and Indicators go in to error when I navigate to a new screen. I am using a...
Replies
16
Views
419
We have a new machine that uses an armor block to transfer input signals for conveyor position that continuously alarms out on no position change...
Replies
0
Views
83
Hello everyone, I am trying to change the IP address of the Omron PLC (NJ30-1200) and HMI (NB7W-TW01B) to fetch the network on our network...
Replies
7
Views
278
Dear Experts, I'm just started working with GEO SCADA and I need your valuable help. Currently, I'm trying to edit the alarm limits on MIMIC...
Replies
0
Views
206
Back
Top Bottom