I am currently working on a project with a Siemens S7-313 Cpu. I was wondering if it is possible to control a time value of a timer using a 10K Potentiometer connected to an Analog Input??
Hello !
I ones made a projects where one could change the timer time in the program. Ok it was S5 I used a ineteger value kf eg. 5 and added
a timer value eg. kt 0.2, then the value would be kt 5.2 wich should be 5 seconds. (it's been a little bit of time since that project or S5in general so It can be that I remember the KT and KF in the wrong way)
In general:
read the analog analog value scale it -> transform to integer ? and try to add it to the S5T# 0sek...? -> move the value to the timer.
I don't know how the timer will react if you change the value while the timer is running or do you need to add eg. a button wich will trigger the move command to the timer.
If you would use eg. a OP-oanel everything would be much more easier....
Because the S5 Time format is used for the preset time, it is difficult to move the signal from the analog input to the timer. I have created a project, with a timer block, that will allow the analog signal to be the value X100ms and have attached it for you.
Thanks Phil, for making the file attachment large enough for this file.
Hi Alan, I was wondering if you had your problem sorted out yet?
I have used something very similar to what you want to do for controling the speed of an inverter through a plc using a Pot for an analog value scaled through the PLC.