Encoding 256-Bit Data To 8-Bit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Encoding 256-bit data to 8-bit data

ENCO(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions encode the bit data of 'n'th power of 2.
Ladder
(s)
(d)
(n)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
ENCO
ENCOP
Setting data
■Description, range, data type
Operand
Description
(s)
Device where the encode data is stored
(d)
Start number of the device for storing the encoded data
(n)
Effective bit length
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=ENCO(EN,s,n,d);
ENO:=ENCOP(EN,s,n,d);
Range
Data type
Bit/Word
Bit/16-bit signed binary
1 to 8
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.6 Data Conversion Instructions
Data type (label)
ANY_ELEMENTARY
ANY_ELEMENTARY
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
473

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents