EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Shifting Data in Units of 4 Bits

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
498
6 BASIC INSTRUCTIONS
6.7 Data Transfer Instructions
Shifting data in units of 4 bits
SMOV(P)
These instructions distribute and combine data in units of 4 bits.
Execution condition
Setting data
Description, range, data type
*1 Set values so that (n2)(n1) and (n2)(n3).
The RnCPU and RnENCPU with firmware version "17" or later support this instruction. (Use an engineering tool with version "1.020W" or later.)
Ladder ST
ENO:=SMOV(EN,s,n1,n2,n3,d);
ENO:=SMOVP(EN,s,n1,n2,n3,d);
FBD/LD
Instruction Execution condition
SMOV
SMOVP
Operand Description Range Data type Data type (label)
(s) Device where the specified units of data is stored 16-bit signed binary ANY16
(n1)
*1
Start position where the data to be shifted is stored 1 to 4 16-bit unsigned binary ANY16_U
(n2)
*1
Number of units to be shifted 1 to 4 16-bit unsigned binary ANY16_U
(d) Device where the shifted data is stored 16-bit signed binary ANY16
(n3)
*1
Start unit position of shit destination 1 to 4 16-bit unsigned binary ANY16_U
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s) (n1) (n2) (d) (n3)
EN ENO
s
n1
d
n2
n3

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals