Question
How do I write a program to operate a motor for a time directly proportional to the 1 to 5 VDC signal?
Answer
The water level signal (1 to 5 VDC) from the Liquid Level Indicator is an analog signal, so first it must be converted into a digital signal using an Analog Input Unit. The following introduces programming that will convert the digital value into a stirring time (***.* seconds) using the SCALING instruction (SCL).
A/D Conversion for Analog Input Units
Relationship between Water Level, Measurement Signal, and Stirring Time
Program and Operation