Combining Data In Units Of 4 Bits - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Combining data in units of 4 bits

UNI(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions store the lower 4 bits of the (n) points of 16-bit binary data in another 16-bit device.
Ladder
(s)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
UNI
UNIP
Setting data
■Description, range, data type
Operand
Description
(s)
Start device where the combination target data is stored
(d)
Device for storing the combined data
(n)
Number of combination units
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
(n)
6 BASIC INSTRUCTIONS
480
6.6 Data Conversion Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(n)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=UNI(EN,s,n,d);
ENO:=UNIP(EN,s,n,d);
Range
1 to 4
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit signed binary
ANY16
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
*1
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents