|
|
Topic: P120 |
Scale (Non-Linear) (SCLN) Instruction |
|
Icon / Button =

Scale a Non-Linear variable Input into a Non-Linear Output, using up to 16 Break Points.
|
Parameter |
Parameter Type |
Requirements |
Description |
|
Enable |
Ladder Input |
Must Have |
Level-driven. When Enable is ON, the instruction will operate every scan. When Enable is OFF, the instruction is not solved and it's outputs are not updated. |
|
Input |
Numerical Tag / Constant |
Must Have |
Input value to be Scaled. |
|
Input |
Numerical Tag / Constant |
Must Have |
Value for Input break points (up to 16 points). |
|
Desired |
Numerical Tag / Constant |
Must Have |
Scaled value for corresponding Input break point (up to 16 Outputs). |
|
Output |
Numerical Tag |
Must Have |
Scaled Output value. |
Note: Each Input Value must have a Desired Output. Input Values may be positive or negative but must be increasing in value (low to high).
Note: Tag Values are updated immediately as each Ladder Rung is executed, top to bottom. However, Tag Values representing physical Outputs are only applied to the physical Output after the END statement of the last Task to be scanned is reached. Outputs in Remote Base Groups have additional limitations regarding Update Intervals.
When Scale Non-Linear Instruction is selected the window shown below opens.
Notice on the example chart provided below that inside each segment there is a Linear fit. The more Break Points a user provides, the more accurate the Output will be. However, notice that each segment is a straight line.