13.33
Date Code 20171006 Instruction Manual SEL-400 Series Relays
SELOGIC Control Equation Programming
SEL
OGIC Control Equation Operators
ABS
Use the ABS operation to calculate absolute value of the argument. Use parenthe-
ses to group a math expression as the argument of an ABS operation. If the argu-
ment of the ABS operation is negative, the result is the value multiplied by –1. If
the argument of the ABS operation is positive, the result is the same quantity as
the argument. Example 13.18 contains examples of the ABS operator in use.
CEIL
Use the CEIL operator to round the argument to the nearest integer toward posi-
tive infinity. Use parentheses to group a math expression as the argument of a
CEIL operation. Example 13.19 contains examples of the CEIL operator.
Example 13.17 Using the ASIN and ACOS Operators
The freeform math SELOGIC control equations below are examples of ASIN
and ACOS.
# ASIN examples
AMV001 := ASIN (AMV010) # Arc sine of AMV010
AMV002 := ASIN (AMV010 + AMV011) # Arc sine of the sum
AMV003 := ASIN (AMV012) # Produces an error if |AMV012| > 1
# ACOS examples
AMV004 := ACOS (AMV010) # Arc cosine of AMV010
AMV005 := ACOS (AMV010 + AMV011) # Arc cosine of the sum
AMV006 := ACOS (AMV012) # Produces an error if |AMV012| > 1
Example 13.18 Using the ABS Operator
The freeform math SELOGIC control equations below show examples of the
ABS operator usage.
# ABS examples
AMV001 := ABS (-6) # Stores 6 in AMV001
AMV002 := ABS (6) # Stores 6 in AMV002
AMV003 := ABS (AMV009) # Absolute value of AM009
AMV004 := ABS (AMV005 + AMV034) # Absolute value of the sum
Example 13.19 Using the CEIL Operator
The freeform math SELOGIC control equations below show examples of the
CEIL operator usage.
# CEIL examples
AMV001 := CEIL (5.99) # Stores 6 in AMV001
AMV002 := CEIL (–4.01) # Stores –4 in AMV002