EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1381

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
11 PROCESS CONTROL INSTRUCTIONS
11.5 Arithmetic Operation Instructions
1379
11
Block memory
Processing details
This instruction outputs the absolute value of the input value (E1).
The S.ABS instruction performs the following operations.
BW=|E1|
The instruction determines the sign of the input value (E1) and outputs the result to the sign determination bits (BB1 and BB2)
of the input value (E1).
Operation error
Operand: (d1)
Device Symbol Name Recommended range Data type Standard
value
Set by
+0
+1
BW Output value 0 to 999999 Single-precision
real number
System
+2 BB BB1 Sign
determination of
Input value (E1)
E1 > 0: BB1 = 1
E1 < 0: BB2 = 1
E1 = 0: BB1 = BB2 = 0
16-bit unsigned
binary
System
BB2
E1 status BB1 BB2
E1>0 1 0
E1 < 0 0 1
E1=0 0 0
Error code Error content
3402H (s1) is a subnormal number or NaN (not a number).
b15 b1
b0
...
BB1
BB2
BW
0
t
0
ABS
E1
BB1
BB2
t

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals