Help: PLC Logic for specific condition using one shot rising

dpionk

Member
Join Date
May 2012
Location
michigan
Posts
9
RSLogix 500 v9
OSR storage bit & output bit

I am programming a sonic welding generator and I am stuck on an operation I need to perform and I'm kind of stuck on the best way to keep track of what I need to do.

The process I need to keep track of number of welds performed. The only signal I have from the generator is a ready signal. When I send the process on signal my ready signal goes low then high then I need to drop out my process on signal 20ms after that. I have that part down but I can't figure out how to count my welds I was thinking a OSR bit but cant figure out how to use it with the storage bit and output bit.

Sequence of events:
Ready signal is 1.
I output my process on signal to 1.
ready signal changes to 0
sonic welds.
ready signal changes to 1
25ms delay I turn off process on signal.

 
I think I would parallel the counter below the timer and use the timer done bit to count. Timer Done is Weld complete. So that's when you count. When count equals correct value and process is complete then Reset. No need for one shot if you use CTU Instruction, It transitions once on false to true and will only give a 1 count per transition. If you use an ADD Instruction that would require a one shot because it will add while true on each scan cycle.
 
Unless I'm missing something, you should be able to just trigger a counter instruction (CTU) with one of your process control bits such as B10:0/1. The RSLogix counter instructions only increment on a false-to-true transition of the input logic... think of it like a built-in one-shot.
 

Similar Topics

I need to know how to take a schematic like this and solve it for let’s say a run time of 5 seconds By solve I mean determine which rungs are...
Replies
33
Views
9,180
I logged on to one of my machines today to try to communicate with the machine (Micrologix 1000) and there are only two plc's on the network, but...
Replies
5
Views
2,123
Hi, I am using visilogic to control a system that i have designed. I have designed a automated color sorting mechanism using a color sensor. I...
Replies
2
Views
1,432
I have a DL205, dl250-1 cpu and a ecom100 module. I have a 16bit register utlizing bits 0-10. I am trying to figure how to set up a sequence for...
Replies
3
Views
1,243
Hello! I have a couple years of experience programming Siemens PLCS so I am a bit lost on programming the Direct Logic 205. I would really...
Replies
3
Views
3,540
Back
Top Bottom