
adccommunitymod (AutomationDirect) asked a question.
Counter Reset
Created Date: February 18,2014
Created By: adohrman
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I would like to know if there is a way to reset the counter within the program. I have attached the program that I wrote. I am using a Click PLC.
Created Date: February 18,2014
Created by: bcarlton
Make either contact (X0005 or C5) on the RESET leg of the counter TRUE.
Created Date: February 19,2014
Created by: adohrman
I am new to PLC's. I don't know how to make the reset leg true.
Created Date: February 19,2014
Created by: bcarlton
X0005 is a physical input. While the program is running in the Click apply the appropriate signal to its input.
C5 is an internal bit. Create a DataView and add C5 to it. Enable 'Edit ' then change the state to ON.
Did you create your program from nothing, copy from another type PLC, copy from a wired ladder logic?
Created Date: February 20,2014
Created by: AlbertL
I noticed that the program never sets the C1 (VIRTUAL START) bit. As Bernie mentioned, the C addresses are single-bit internal "contacts ". They 're controlled by the program itself, rather than by external, physical inputs like the X addresses. So if you want to turn a C bit on or off, you have to do it in one of your program rungs.
Created Date: February 18,2014
Created by: adohrman
I would like to know if there is a way to reset the counter within the program. I have attached the program that I wrote. I am using a Click PLC.