EasyManua.ls Logo

Xinje XD5 - Increment [INC] & Decrement [DEC]

Xinje XD5
389 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...
123
4-6-5Increment [INC] & Decrement [DEC]
1. Summary
Increase or decrease the number
Increase one [INC]
16 bits
INC
32 bits
DINC
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Decrease one [DEC]
16 bits
DEC
32 bits
DDEC
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
D
The increase or decrease data address
16 bits / 32bits,BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
< Increment [INC]>
INC D0
X0
D·
will increase one when X0 is ON.
For 16 bits operation, when +32767 increase one, it will become -32768; for 32 bits
operation, +2147483647 increases one is -2147483647. The flag bit will act.
<Decrement [DEC]>
DEC D0
X1
D·
will decrease one when X1 is ON.
Word
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
D
Description
(D0) 1(D0)
D·
(D0) 1 (D0)
D·

Table of Contents

Related product manuals