EasyManua.ls Logo

FATEK FBs-CB2 - INCREMENT

FATEK FBs-CB2
348 pages
Print Icon
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...
Basic Function Instruction
6-32
FUN 15 D P
(+1
INCREMENT
(Adds 1 to the D value)
FUN 15 D P
(+1
Operand
D : The register to be increased
D may combine with V, Z, P0~P9 to serve
indirect addressing
WY WM WS TMR CTR HR OR HR HSCR RTCR SR ROR DR XR Range
Ope-
rand
WY0
WY240
WM0
WM1896
WS0
WS984
T0
T255
C0
C255
R0
R3839
R3904
R3919
R3920
R4047
R4096
R4127
R4128
R4135
R4136
R4167
R5000
R8071
D0
D4095
V Z
P0~P9
D * *
Adds 1 to the register D when the increment control input "EN" =1 or "EN" ( P instruction) from 0 to 1. If
the value of D is already at the upper limit of positive number 32767 or 2147483647, adding one to this
value will change it to the lower limit of negative number -32768 or -2147483648. At the same time, the
overflow flag FO0 (OVF) is set to 1.
Example 16-bit increment register
Ladder diagram Key operations Mnemonic code
X0
EN
15.
(+1) R 0V
OVF
ORG
ORG TU X 0
FUN 15
D : R 0V
When V1000100100
D
R100 1
Ø
X0
D
R100 2

Other manuals for FATEK FBs-CB2

Related product manuals