Operator - Performs a subtraction of inputs.

Inputs

Input

Data type

Description

IN1

ANY_NUM / TIME

First input.

IN2

ANY_NUM / TIME

Second input.

Outputs

Output

Data type

Description

Q

ANY_NUM / TIME

Result: IN1 - IN2.

Remarks

All inputs and the output must have the same type. In LD language, the input rung (EN) enables the operation, and the output rung keeps the same value as the input rung.

ST Language

Q := IN1 - IN2;

FBD Language

Fixed_Image

LD Language

The subtraction is executed only if EN is TRUE.
ENO is equal to EN.

Fixed_Image

Fixed_Image See also

+  *  /


Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer