EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 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 #162 background imageLoading...
Page #162 background image
5-128
5.3 Standard Arithmetic Functions
5.3.3 Subtraction
SUB(_E)
5.3.3 Subtraction
SUB(_E)
Function
Operation processing
(1) Performs subtraction ( ) on word (signed), double word (signed), single-precision real
or double-precision real type data input to and , and outputs the operation result from
in the same data type as that of .
(Example) Word (signed) type data
(2) The values to be input to and are word (signed), double word (signed), single-
precision real or double-precision real type data.
SUB(_E)
_E: With EN/ENO
indicates any of the following
functions.
SUB SUB_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s1:
Input :ANY_NUM
s2:
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :ANY_NUM
Universal
UD
High
Performance
SUB_E
(EN, s1, s2, d);ENO:=
Structured ladder
ST
SUB_E
EN ENO
s1 d
s2
s1
s2
s1
s2
d
s
12345 6789 5556
-
IN1(word (signed) type) IN2(word (signed) type) Word (signed) type
s1
s2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals