
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 26,2020
Created By: BurgerShark
**** 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.****
Hi, I am trying to write a program to start and stop a pump based on three inputs. I have a Click C0-02DR-D PLC. I can get a limited program to work with 1 input in the override mode but I cant seem to get it to work with the actual switch hooked up to C1 and X1. I messed around with the high speed input settings but no success. I have a main power switch (NO,) a NC low limit, and NO interlock on the VFD that closes when the drive is in Run with no faults of errors. I want it to close Y1 when the main switch closes, the low limit is closed, and the NO interlock closes. Any of those three changing state would trigger Y1 to open, if they re close the pump would start, with the exeption of the NC low limit, I would like an on delay timer that would allow the tank to refill before Y1 turns on again. Any help would be appreciated!
Created Date: March 26,2020
Created by: BurgerShark
Hi, I am trying to write a program to start and stop a pump based on three inputs. I have a Click C0-02DR-D PLC. I can get a limited program to work with 1 input in the override mode but I cant seem to get it to work with the actual switch hooked up to C1 and X1. I messed around with the high speed input settings but no success.
I have a main power switch (NO,) a NC low limit, and NO interlock on the VFD that closes when the drive is in Run with no faults of errors. I want it to close Y1 when the main switch closes, the low limit is closed, and the NO interlock closes. Any of those three changing state would trigger Y1 to open, if they re close the pump would start, with the exeption of the NC low limit, I would like an on delay timer that would allow the tank to refill before Y1 turns on again.
Any help would be appreciated!
Created Date: March 26,2020
Created by: Tom@Pton
C1 is common. X1 is an input back from your switch. Does the X pilot light come on when that switch is made?
Created Date: March 26,2020
Created by: Tinker
"with the actual switch hooked up to C1 and X1 "
The inputs on the CLICK need to have voltage applied, simply connecting a switch between C1 and X1 will not work. One way that would work is to connect C1 to DC common, one side of switch to DC+ and other side of switch to X1. If desired one could alternatively connect DC+ to C1 then switch between X1 and DC common
Created Date: March 26,2020
Created by: kewakl
The inputs on the CLICK need to have voltage applied, simply connecting a switch between C1 and X1 will not work. One way that would work is to connect C1 to DC common, one side of switch to DC+ and other side of switch to X1. If desired one could alternatively connect DC+ to C1 then switch between X1 and DC common
https://cdn.automationdirect.com/sta...cs/c002drd.pdf
Created Date: March 26,2020
Created by: Todd Dice
The wiring schematic of your Click, and an attempt to write the PLC code based on my understanding of what you want. You'll want to open DataView 1 to edit DS1 which is the setpoint value of timer 1.
Edit: by default, the time base of Click timers are ms, so if you need a delay time longer than 32.767 seconds, you'll want to change the time base accordingly.
{ "alt ": "Click image for larger version Name:\tClick Wring.png Views:\t0 Size:\t620.6 KB ID:\t129687 ", "data-align ": "none ", "data-attachmentid ": "129687 ", "data-size ": "full "}
Created Date: March 30,2020
Created by: bsinkovich
{ "data-align ": "none ", "data-size ": "custom ", "height ": "221 ", "title ": "Capture.JPG ", "width ": "640 ", "data-attachmentid ":129828}
Try this when you get the I/O working correctly.
Created Date: March 31,2020
Created by: BurgerShark
Thank you all very much! I totally missed the voltage need for the inputs. I was used to using the dry contacts on the GS series drives for our work projects, which can use either. I will rewire my test panel and test it this weekend.
Created Date: March 31,2020
Created by: Todd Dice
{ "data-align ": "none ", "data-size ": "custom ", "height ": "221 ", "title ": "Capture.JPG ", "width ": "640 ", "data-attachmentid ":129828}
Try this when you get the I/O working correctly.
Your code makes sense compared to mine. It did not dawn on me the timer was for a fill time.:o
Created Date: April 01,2020
Created by: NevergoldMel
Without a level sensor or a set of float switches you 're going to beat up that pump and it will break.
A fill time delay timer is just going to constantly turn that poor pump on for mere seconds. You need another float at least to start high assuming low limit switch is a float and can be used to stop low.