Need help in a small plc program

rohit_plc

Member
Join Date
Jun 2013
Location
delhi
Posts
81
Hello all, I need help in a small plc program in Allen Bradley plc.

Need to generate a 1 second pulse on every ON and OFF of a bit.

Suppose for example a bit b3:0/0 when ON an output (o:0/0)will be on for 1sec. And then OFF and same bit (b3:0/0)when OFF same output (o:0/0) will ON for 1sec. And then OFF.
 
Use a TON for the ON pulse, trigger with XIC (from your example) B3/0 : if B3/0 is not on for at least 1 second, then seal it in with the TON.TT bit. That same bit is your 1 second pulse for when B3/0 comes on.

Use another TON for the OFF pulse, trigger with XIO B3/0 : again seal it in with the TON.TT bit if B3/0 can be OFF for less than 1 second. That same bit is your 1 second pulse for when B3/0 goes off.

Of course B3/0 can't toggle faster than once per second, or the pulses will get missed, I assume that's not an issue.
 

Similar Topics

Hi all, I’m new to programming and want to write a simple routine. Push start button, turns on sensor. 2 second delay before anymore logic read...
Replies
1
Views
329
Dear sir. i have one Automation Direct hmi, if you have the CMORE Programming software,i will send you .eap file in email, can you please...
Replies
3
Views
2,439
Hi guys we are constructing a small production line 5 km away from our factory that includes hydrolic presses and small machines. We want to get...
Replies
8
Views
3,950
I'm fairly new to Rockwell software, I've had some basic training in the past but nothing too advanced. My company and I use Reliable products for...
Replies
11
Views
332
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
160
Back
Top Bottom