Mitsubishi Electric MELDAS C6 Programming Manual page 297

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

ENCO, ENCOP ... 256
Bit device
X
Y M
L
F
B SB T SM V T
S
D
n
ENCO
ENCOP
Function
n
(1) The 2
bits of the device designated with S are encoded, and the results are stored in the
low-order n bits from the device designated with D as the encoded data.
(2) 1 to 8 can be designated for n.
(3) No process is executed when n = 0, and the details of the device designated with D will not
change.
(4) The word device is handled as 16 bits.
(Note 1) An error will occur if n is other than the range of 0 to 8.
(Note 2) An error will occur when 2
(Note 3) An error will occur when all data of 2
Execution conditions
The execution conditions for ENCO, ENCOP are as shown below.
Decode command OFF
ENCO
DECOP
8. Function Commands
ENCO, ENCOP
8 bit encoding
Usable device
Word device
C D R W SW Z SD K
Encode command
n
bits from S exceeds the corresponding device range.
n
bits from S is 0.
ON
Executed per scan
- 288 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
ENCO
S
D
ENCOP
S
D
Setting data
No. of device where
S
data to be encoded
is set.
Head No. of device to
D
store the encoding results.
Valid bit length
n
(1 to 8)
Executed per scan
Digit
No. of
desig-
Index
steps
nation
P
5
n
n

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents