EasyManuals Logo

Emerson DSM314 User Manual

Emerson DSM314
519 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #305 background imageLoading...
Page #305 background image
User Manual Chapter 12
GFK-1742F Jan 2020
Local Logic Language Syntax 294
12.4.1 Operator +
Adds source1 to source2 and stores the result in destination
Syntax
destination := source1 + source2;
The + operator syntax has these parts:
Overflow Set if the result of an addition is greater than 2,147,483,647 or less than -
2.147,483,648. The Module_Status_Code is set to a value of 16#0095, which is a status-
only error.
12.4.2 Operator -
Subtracts source2 from source1 and stores the result in destination
destination := source1 source2;
The operator syntax has these parts:
Overflow Set if the result of a subtraction is greater than 2,147,483,647 or less than -
2,147,483,648. The Module_Status_Code is set to a value of 16#0095, which is a status-
only error.
Remarks
The operator may not be used as a unary operator except with a decimal (base 10)
constant (e.g. P001 := -P003; is illegal). To negate a variable, subtract it from zero, e.g. P001
:= 0 P003;.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Emerson DSM314 and is the answer not in the manual?

Emerson DSM314 Specifications

General IconGeneral
BrandEmerson
ModelDSM314
CategoryController
LanguageEnglish

Related product manuals