EasyManua.ls Logo

Delta Electronics EXIO14RAE - Page 118

Delta Electronics EXIO14RAE
157 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...
Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014 D-37
Mnemonic Operands Function
INC D
D
Increment
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
D
y Note:
1. If D is used in device F, only 16-bit instruction is applicable.
16-bit instruction (3 Steps)
INC
Continuous
execution
32-bit instruction (5 Steps)
DINC
Continuous
execution
y Flags: None
Operands:
D
: Destination device
Explanations:
1. If the instruction is not a pulse execution one, the content in the designated device D will plus “1”
in every scan period whenever the instruction is executed.
2. In 16-bit operation, 32,767 pluses 1 and obtains -32,768. In 32-bit operation, 2,147,483,647
pluses 1 and obtains -2,147,483,648.
3. The operation results will not affect any flags.
Program Example:
When X0 = OffOn, the content in D0 pluses 1 automatically.
X0
INCP D0

Related product manuals