Abby Posted July 8, 2022 Report Share Posted July 8, 2022 Hello, I need to make a program in Visilogic that based on repeating 15 minute timer. when the 15 minutes is completed the ph. value will be read and if its above 10.5ph it will decrease a valve turn by 1%. If its between 10.5-8.5 it does nothing. If its below 8.5ph it will increase the valve turn by 1%. After this the timer restarts. I am having a lot of trouble with the timer and I thought of using greater thans, within range and less thans. but I don't think this is the best way. Any help is greatly appreciated Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 8, 2022 MVP 2023 Report Share Posted July 8, 2022 You do not post any info about your setup. Please try to use something like this ladder. Please note - Visilogic operate with integer value. And if you read PH 10.5 - you must convert it to 105 integer (or use float numbers in ladder and float compare function for correct operation). 1 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted July 10, 2022 MVP 2023 Report Share Posted July 10, 2022 On 7/8/2022 at 9:59 AM, Abby said: I am having a lot of trouble with the timer Self-resetting timer, as in kratmel's rung #1, is a very useful tool. And kratmel smartly recognizes that the direct contact of TD 1 is the same as a positive transition contact in this case, thus you don't need to waste the limited number of positive transition contacts available. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now