Output question with Logix 500

tacm

Member
Join Date
Jan 2008
Location
usa
Posts
105
Hi Guys, on line 5 of the following code. What is the easiest way to keep that output energised for 3/4 of a second. TOF? Latch and then unlatch with timer?
Thanx
untitled.jpg
 
Use xic from t4:2/dn, this should trigger a new bit b3/3 just for a scan ( use a ONS ), next rung b3/3 will start a new timer with a preset of 3/4 secs ( 75=pre, time base=.001), mantain that timer on with timer/EN ( use a branch), then and use XIO timer/dn on the same rung to turn off timer, in paralell with timer use a branch and put your solenoid O:0/3, this way your solenoid wil stay on as long as your time is on i.e. 3/4 of a sec.
 
Last edited:
Put a TON activated by T4:2/DN in the program and on line 5 use an XIO/DN from the TON that will shut it down after the 3/4 second.
 
It will reset when T4:2/DN is no longer true, and T4:3/TT is no longer true...
So, it will ensure that the output is energized for a duration equal to T4:3.PRE each time that T4:2/DN makes a false to true transition.

Actually, I think you'll want to do away with the TOF T4:2, and trigger the logic as brownhat posted by replacing XIC T4:2/DN with T4:1/EN or DN depending on when you want the output to energize.
 
Last edited:
You don't have to reset it when power is taken off the TON and then reapplied it will start at zero.

Already explained by OkiePC, must have posted seconds before me.
 
Last edited:
I usually use the .EN seal in with a not .DN drop out as well. It's closer to the basic start/stop circuit and easier for a lot of people to understand.
 
Sorry, but I abhor the use of TOFs...If it were mine, I'd do it like this. Check my math, this was quick off the top and prone to mistakes, but if I understand your logic, you are wanting to pulse a solenoid for 1800 seconds with a frequency of every 60 seconds for a duration of .75 seconds. The only caveat is that the first pulse is at time 60, not time 0. If that's a problem there's an easy fix.

testpulser3.JPG
 
Last edited:

Similar Topics

Hello guys I have to make a program using a SQI and SQO instruction in order to extend/retract 8 cylinders, one at a time. Each cylinder has 2...
Replies
1
Views
1,854
I am new to AOIs, and do not have a processor handy to test my program. I have a couple of simple questions, which I have not been able to find an...
Replies
10
Views
10,154
Hello, I'm trying to implement parts of a program sent to me from tech support, they are currently out on calls toady and was wondering if in the...
Replies
6
Views
7,212
Situation: Logix 5330 A few discrete I/O A 1769-OF2 2 channel analog voltage/current output card..... All of the discrete I/O are functioning...
Replies
5
Views
11,508
Hi all, Well, here I find myself at a former client after I left water treatment trying to help him get the plant back up and running after a...
Replies
2
Views
1,053
Back
Top Bottom