EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Page 421

LS Industrial Systems XBC-DR10E
542 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...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-304 Ve r. 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

Table of Contents

Related product manuals