
roglc (Customer) asked a question.
What affects the status of the Reset coil?
I am using the Reset coil to reset a range of C bits. Initially the rung is false and the Reset coil is Off. When the rung goes true the Rest coil is ON and the bits reset. My problem is when the rung becomes false again the Reset coil is staying ON and the C bits are being held off and I can't change their status back to ON. How do I turn the Reset coil Off to allow the C bits to be manipulated again?
Hi rogic,
Can you post your logic?
Off hand I would use the leading edge on the trigger for the reset coil.
Regards,
Garry
https://accautomation.ca/series/click-plc/
Thanks for the reply.
Thanks rogic,
The first thing that I notice is that the Reset PB looks like it should be "OR" in your logic instead of 'AND' with the leading edge of MCR (C399)
This rung looks fine.
Since C1 to C100 are reset and cannot be set elsewhere in the program, it looks like you may have some other location in the program also resetting this bit.
Try looking at the cross reference. Main Menu | Program | Cross Reference View...
Call up the specific bit that you are looking to control to see where in the program it is being controlled.
I hope this helps you out.
Regards,
Garry
Can you post the cross reference view for the C bit that you are monitoring?
Thanks,
Garry
Once you have the cross reference view of the C bit. Look at the rungs in which it is controlled. You can then look at the status at each of the rungs.
I've gone through this exercise before only to find that the CPU was in program mode!
Regards,
Garry
Is this in a subroutine?
It is not part of a subroutine. When the status is ON for the Reset coil does that mean that the rung to the coil is true or does it mean that the range of bits it controls are false?
I would have expected them to go low on the next scan. I've seen coils get stuck when they're not in the main program and the task/subroutine is exited in the same scan as they are set.
" When the status is ON for the Reset coil does that mean that the rung to the coil is true or does it mean that the range of bits it controls are false?"
That is an interesting question, My guess would be that means one ot the bits is on, not the rung, I'd think it most likely the first bit in the range, I can't imagine the status monitor evaluating the whole range, and if it did, then suppose exactly half were on, what would the status show?
I would have gone the other way that the reset function is active. Which appears to be how it is behaving.
Which can happen without the rung passing power (IE subroutine/task, below (END))