Keen
Member
Hi,
I am attempting to turn on an output for one second, every thirty seconds, but am having some trouble.
I have a XIC with S:1/15 (first pass) as the first condition, with the first TON timer on the other side of the rung. It counts to 30, then on the next rung a XIC DN condition triggers the next timer (a one second timer), which is followed on the next rung by a TT bit and the output I am firing. There is a branch on that timer to reset the first timer. Then going back up to rung 0 there is a branch under the XIC S:1/15 condition with a XIC DN bit for the second timer, so that once the second timer is done it starts the first timer.
Hopefully that is not too confusing. Again, essentially all I am trying to do is cylce an output for one second, every thirty seconds, while the plc (micrologix 1000) is powered on.
I am attempting to turn on an output for one second, every thirty seconds, but am having some trouble.
I have a XIC with S:1/15 (first pass) as the first condition, with the first TON timer on the other side of the rung. It counts to 30, then on the next rung a XIC DN condition triggers the next timer (a one second timer), which is followed on the next rung by a TT bit and the output I am firing. There is a branch on that timer to reset the first timer. Then going back up to rung 0 there is a branch under the XIC S:1/15 condition with a XIC DN bit for the second timer, so that once the second timer is done it starts the first timer.
Hopefully that is not too confusing. Again, essentially all I am trying to do is cylce an output for one second, every thirty seconds, while the plc (micrologix 1000) is powered on.