Arithmetic

Sign And Value

Description Splits an analog input into a logic Sign output and a rectified (absolute value) Output. The Sign equals integer 0 (Logic=False) when Input is Positive (+) and integer 1 (Logic=True) when Negative (-).
Availability
  • Requires library: Process Control (option -05)
  • Firmware versions 0x100E and later
savvy-SFD Graphic signValue
Graphic with Parameters signValue

Parameters

Input Input, Read-write, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
Sign Output, Read-only, Boolean (signed 16-bit integer)
0 = Positive
1 = Negative
Equals integer 0 (Logic=False) when Input is positive (+) and integer 1 (Logic=True) when negative (-).
Output Output, Read-only, Analog (signed 16-bit integer)
0.00 % to 327.67 %
The absolute value of the Input.