Arithmetic

Sign Changer

Description This function block forces an analog input value to change sign when the Negate input is enabled (Integer 1, Logic=True).
Availability
  • Requires library: Process Control (option -05)
  • Firmware versions 0x100E and later
savvy-SFD Graphic signChanger
Graphic with Parameters signChanger

Parameters

Input Input, Read-write, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
Negate Input, Read-write, Boolean (signed 16-bit integer)
0 = Inactive
1 = Negate
When integer value of 0, Negate = Inactive (Logic = False). When integer value of 1, Negate = Negate (Logic=True).
Output Output, Read-only, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
If Negate is enabled (Integer 1, Logic=True) , Output= -1 * Input.