Linearization can be used to convert analog values from I/Os into decimal or other integer values. An analog value from a temperature probe, for example can be converted to degrees Celsius and displayed on the controller's display screen.
Note that the linearized value created in this way may be displayed-- but the value cannot be used anywhere else within the project for further calculations or operations.
You can enter an Analog value, such as temperature, via the keypad, then convert that value into a Digital value for comparison with a digital value from a temperature probe by selecting Enable Linearization in the linked Variable.
This conversion process is Reverse Linearization.
To enable Analog to Digital conversion:
Create a Display for entering the analog value.
Create an Integer Variable.
Select keypad entry and enable linearization.
Enter the linearization values for the x and y axes.
According to the above example:
A temperature entry of 1000 C will be converted to 1023 Digital value.
A temperature entry of 500 C will be converted to 512 Digital value.
You can also linearize values in your Ladder and display them on the LCD.
In your Ladder project, use SI 80 - 85 to set the (x,y) variable ranges. Use SB 80 to activate the Linearization function.
The linearization values created here can be displayed by linking SI 85 to a Display; the valuecanbe used elsewhere within the project for further calculations or operations.
Example: write the variable ranges into SI 80 - 83, then writing an analog input into SI 84: