Aljubovic
Member
I need to change my program to increase a IP transducer by 0.5 psi every 5 seconds. I am making a automated pressure tester using a pump, IP transducer, pressure transmitter and more.
Right now I have the program setup where it starts to ramp up the IP transducer by 1 psi every second. Once the program detects that it has passed a certain pressure point using the pressure transmitter, it switches to 0.5 psi every second.
I do this by just putting a 1 second edge NO command on the rung, and the output is a math function that adds 0.5 psi to the Ip trasnducer. Inststead of adding 0.5 psi every second to the IP transducer, I want to send 0.5 psi every 5 seconds. Is there a special clock I can use in the click program to enable the math function every 5 seconds?
I was thinking about using a timer for 5 seconds and when it is done it enables a command that sends 0.5 psi to the transducer. Then it resets after it is done and repreats after 5 seconds until it stops. Not sure how I will reset it after every 5 seconds thought. Is there an easier way to do this?
Right now I have the program setup where it starts to ramp up the IP transducer by 1 psi every second. Once the program detects that it has passed a certain pressure point using the pressure transmitter, it switches to 0.5 psi every second.
I do this by just putting a 1 second edge NO command on the rung, and the output is a math function that adds 0.5 psi to the Ip trasnducer. Inststead of adding 0.5 psi every second to the IP transducer, I want to send 0.5 psi every 5 seconds. Is there a special clock I can use in the click program to enable the math function every 5 seconds?
I was thinking about using a timer for 5 seconds and when it is done it enables a command that sends 0.5 psi to the transducer. Then it resets after it is done and repreats after 5 seconds until it stops. Not sure how I will reset it after every 5 seconds thought. Is there an easier way to do this?
Last edited: