The SCP, also known as the scale with parameters, is an instruction which is commonly used for working with analog signals. It’s an instruction which can be utilized in ladder logic as well as function blocks. The instruction will take input, use input minimum & maximums parameters as well as outputs min/max parameters and convert the output scaling based on them.
This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/plc-programming-advanced-mathematical-instructions-scp-scale-with-parameters