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.
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.