Arithmetic Operations

PLCopen motion icon

All Functions and Operators (Alphabetically)

Name

Description

Addition +

Performs an addition of all inputs.

Divide /

Performs a division of all inputs.

limit

Limits a numeric value between low and high bounds.

max

Get the maximum of two integers.

min

Get the minimum of two integers.

mod / modLR / modR

Calculation of modulo.

Multiply

Performs a multiplication of all inputs.

NEG -

Performs a negation of the input. (unary operator)

odd

Test if an integer is odd.

SetWithin

Force a value when inside an interval.

Subtraction -

Performs a subtraction of all inputs.

Standard Functions

These are arithmetic functions.

Name

Description

limit

Limits a numeric value between low and high bounds.

max

Get the maximum of two integers.

min

Get the minimum of two integers.

mod / modLR / modR

Calculation of modulo.

odd

Test if an integer is odd.

SetWithin

Force a value when inside an interval.

Standard Operators

These are the arithmetic operators.

Name

Description

Addition +

Performs an addition of all inputs.

Divide /

Performs a division of all inputs.

Multiply

Performs a multiplication of all inputs.

NEG -

Performs a negation of the input. (unary operator)

Subtraction -

Performs a subtraction of all inputs.