Absolute

Function

This statement returns the absolute value and the algebraic sign of an analog value.

Fig. 1.   Wire-sheet Icon

Fig. 2.   Property Sheet

Fig. 3.   Slot Sheet

Inputs and Outputs

Table 1.   Inputs

Inputs

Type

Functional description

In Value

analog

Analog input value

In Enabled

boolean

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 2.   Outputs

Outputs

Type

Functional description

Out Absolute Value

boolean

One digital output “Out Is Negative” (true (1) if input is negative)


Parameter List

No parameters.