EasyManua.ls Logo

Mitsubishi MELSEC Q Series

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
Loading...
5.2 Standard Functions of One Numeric Variable
5.2.1 Absolute value
5-119
5
APPLICATION
FUNCTIONS
ABS(_E)
ABS(_E)
5.2 Standard Functions of One Numeric Variable
5.2.1 Absolute value
ABS(_E)
Function
Operation processing
(1) Outputs the absolute value of word (signed), double word (signed), single-precision real or
double-precision real type data input to from in the same data type as that of .
Assuming that the input value is A and the operation output value is B, the relationship is
expressed by the following equality.
(2) The value to be input to is word (signed), double word (signed), single-precision real or
double-precision real type data.
(3) When the data type of is word (signed) type and the input value is -32768, 32768 is
output from .
When the data type of is double word (signed) type and the input value is -2147483648,
2147483648 is output from .
(No operation error occurs. In case of ABS_E, TRUE is output from ENO.)
ABS(_E)
_E: With EN/ENO
indicates any of the following
functions.
ABS ABS_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :ANY_NUM
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :ANY_NUM
Universal
UD
High
Performance
EN ENO
ds
ABS_E
(EN, s, d);ENO:=
Structured ladder
ST
ABS_E
s
d
s
B= A
s
s
d
s
d

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals