Mitsubishi Electric MELDAS C6 Programming Manual page 201

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

DDEC, DDECP ... (32-bit BIN data) –1
Bit device
X
Y M
L
F
B SB T SM V T
D
DDEC
DDECP
Function
(1) The device (32-bit data) designated with D is decremented by one.
D+1
B31 ......... B16 B15 ......... B0
73500 (BIN)
(2) If DDEC or DDECP 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 DDEC, DDECP commands are as shown below.
Command OFF
DDEC
DDECP
8. Function Commands
DDEC, DDECP
Usable device
Word device
C D R W SW Z SD K
Decrement command
DDEC
DDECP D
D
-1
ON
Executed per scan
- 192 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
P
D
Setting data
Head No. of device to be
D
decremented (-1)
D+1
D
B31 ......... B16 B15 ......... B0
73499 (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