Advanced Function Instruction
7 -7
FUN 28
D
P
ABS
ABSOLUTE
(Take the absolute value)
FUN 28
D
P
ABS
D : Register to be taken absolute value
D may combine with V, Z, P0~P9 to serve indirect address
application
WY
WM
WS
TMR CTR
HR
OR
SR
ROR
DR
XR
Range
Ope-
rand
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
V
、
Z
P0~P9
D
○
○
○
○
○
○
○
○
*
○
*
○
○
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction) from 0 to 1, calculate the absolute value of the
content of the register specified by D, and write it back into the original D register.
R 0
X0
EN
28DP
ABS
z
The instruction at left calculates the absolute value of
the R0 register, and stores it back in R0.
D R1
R0
−
12345
)
CFC7H
Ø
X0
=
D R1
R0 12345
)
3039H
Содержание FBs-CBE
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...