Page top

page-top

Omron uses cookies to improve your experience on this website. By continuing to use the website, you hereby agree to our Privacy and Cookie Policy

Lead Contents

PLC: Program to Operate A Motor

FAQ No. FAQ01067

Primary Contents

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