Mitsubishi Electric MELDAS C6 Programming Manual page 199

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

DEC, DECP ... (16-bit BIN data) –1
Bit device
X
Y M
L
F
B SB T SM V T
D
DEC
DECP
Function
(1) The device (16-bit data) designated with D is decremented by one.
B15.................................B0
5678 (BIN)
(2) If DEC or DECP is executed when the data of the device designated with D is 0, -1 will be stored
in the device designated with D.
Execution conditions
The execution conditions for the DEC, DECP commands are as shown below.
Command OFF
DEC
DECP
8. Function Commands
DEC, DECP
Usable device
Word device
C D R W SW Z SD K
Decrement command
DEC
DECP
D
-1
ON
Executed per scan
- 190 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
P
D
Setting data
No. of device to be
D
decremented (-1)
D
D
B15.................................B0
5677 (BIN)
Executed per scan
Digit
No. of
desig-
Index
steps
nation
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents