How Do I Write A Program To Operate A Motor For A Time Directly Proportional To The 1 To 5 VDC Signal?

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).