Page 703 - Mechanical Engineers' Handbook (Volume 2)
P. 703

694   General-Purpose Control Devices
















                                      (b)              Figure 11 (Continued)






           Table 8 IEC Standard Functions for Programmable Controllers
           Standard Name             Function            Standard Name              Function
           Numeric Functions
           ABS                Absolute value              ACOS              Arc cosine
           SQRT               Square root                 ATAN              Arc tangent
           LN                 Natural logarithm           ADD or            Addition
           LOG                Logarithm base 10           SUB or            Subtraction
           EXP                Natural exponential         MUL or *          Multiplication
           SIN                Sine                        DIV or /          Division
           COS                Cosine                      MOD               Modulo
           TAN                Tangent                     EXPT or **        Exponentiation
           ASIN               Arc sine                    MOVE or :         Assignment
           Bit String Functions
           SHL                Shift left, zero filled      SHR               Shift right, zero filled
           ROL                Rotate left circular        ROR               Rotate right circular
           AND or &           Bitwise Boolean             OR or   1         Bitwise Boolean
                              AND                                           OR
           XOR or  2k 1       Bitwise Boolean exclusive   NOT               Bitwise Boolean complement
                                OR
           Selection and Comparison Functions
           SEL                Binary (1 of 2) selection   MUX               Multiplexer (1 of N) selection
           MIN                Minimum of N inputs         MAX               Maximum of N inputs
           LIM                Hard upper/lower limiter    GT or             Greater than
           GE or              Greater than or equal to    EQ or             Equal to
           LE or              Less than or equal to       LT or             Less than
           NE or              Not equal
           Character String Functions
           CONCAT             Concatenate N strings       INSERT            Insert one string into another
           DELETE             Delete a portion of a string  REPLACE         Replace a portion of one string
                                                                              with another
           NE or              Not equal

           Source: From Ref. 3.
   698   699   700   701   702   703   704   705   706   707   708