Hello,
I just wanted to thank in advance for taking the time to read and help if possible.
I'm currently working on a project creating the Logic for a Modicon M241 PLC. The site will be inputting values from other PLCs. To scale the values to the appropriate range I wrote a custom scaling function block. I've added to the post the logic for my custom function block.
My question is why is my output variable staying at 0. According to the logic the equation should equal 60. But no matter values I input my output variable is always equal to 0. See image below.
I just wanted to thank in advance for taking the time to read and help if possible.
I'm currently working on a project creating the Logic for a Modicon M241 PLC. The site will be inputting values from other PLCs. To scale the values to the appropriate range I wrote a custom scaling function block. I've added to the post the logic for my custom function block.
My question is why is my output variable staying at 0. According to the logic the equation should equal 60. But no matter values I input my output variable is always equal to 0. See image below.