Abs (Absolute Value) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

7.3 ABS (Absolute Value)

7.3 ABS (Absolute Value)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S
The device address where the data for taking an absolute value are stored, or the constant
D
Storage device address
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
(Note 4)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 5)
Can be specified only when the operation unit is unsigned integer (US, UL).
Outline of operation
● This instruction takes the absolute value of the device address or the constant specified by
[S], and stores it in the device address specified by [D].
Processing
7-6
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
K
(N
(N
(N
H
SF
ote
ote
ote
3)
4)
5)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
D
(Note 2)
" "
F

Advertisement

Table of Contents
loading

Table of Contents