Scaling Analog Input using SCL Instruction in PLC Scale Data
Scaling Analog Input using SCL Instruction in PLC [Scale Data] Use with processors SLC 5/02SLC 5/03SLC 5/04SLC 5/05 All MicroLogix Example Description Use this instruction to scale data from your analog module and bring it into the limits prescribed by the process variable or another analog module. For example, use SCL to convert a 4-20 mA input signal to a PID process variable. Or use SCL to scale an analog input to control an analog output. When rung conditions are true, this instruction multiplies the source by a specified rate.The rounded result is added to an offset value and placed in the destination. You can use indexed or indirect addresses for the source or destination parameters. Equations used in calculating a linear relationship: Scaled value = (input value x rate) + offset Rate = (scaled max. - scaled min.) / (input max. - input min.) Offset = scaled minimum - (input minimum x rate) Entering Parameters Values must be between -32768 and +32767 for the following para...