Chapter 6 Instruction Details
XBC E-Type Main Unit
6-304
Ver. 1
6.43.3 ABS, ABSP, DABS, DABSP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
ABS(P)
DABS(P)
D
O O O
-
O
-
-
-
O
-
-
-
O O O O
2
-
-
-
Operand
Description
Data Type
D
Area to convert absolute value.
WORD/DWORD
1) ABS (Absolute Value)
(1) Converts the absolute value in specified area D to save in D area.
P00003
ABSP D00010
classification
Before executed
After executed
Area
D0010
D0010
Data
-00030(hFFE2)
00030(h001E)
2) DABS (Double Absolute Value)
(1) Converts the absolute value in specified area D, D+1 to save in D, D+1 area.
3) Program Example
ABS P1000
P00000
ABS, DABS
means ABS/DABS
P
ABSP, DABSP
D
D
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...