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
370
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,463
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,974
I was wondering if anyone could help i am trying to use a SLC 500 with a 5/05 processor to set up an incremental encoder to a HSCE2 card? The card...
Replies
2
Views
167
I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
166
Back
Top Bottom