Data Transfer Instructions; Transferring 16-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

6.4

Data Transfer Instructions

Transferring 16-bit binary data

MOV
This instruction transfers the 16-bit binary data in the device specified.
ST
ENO:=MOV(EN,s,d);
■Execution condition
Instruction
MOV
Setting data
■Description, range, data type
Operand
Description
(s)
Transfer source data or the number of the device where the transfer
source data is stored
(d)
Transfer destination device number
EN
Execution condition
ENO
Execution result
■Applicable devices/labels
Operand
Bit
SB
(s)
(d)
Processing details
• This instruction transfers the 16-bit binary data in the device specified by (s) to the device specified by (d).
• If (s) is a digit-specified bit device, the digit-specified bits are targeted. If data specified by (s) is less than 16 bits, 0s are
added and transferred.
b15
(s)
(1)
b15
(d)
0
0
0
0
0
(1) If data specified by (s) is less than 16 bits, 0s are added and transferred.
Operation error
There is no operation error.
6 BASIC INSTRUCTIONS
86
6.4 Data Transfer Instructions
Execution condition
RX, RY, LB
∙∙∙
b7
0
1
1
1
0
b8
b7
∙∙∙
0
0
0
0
1
1
1
0
Range
-32768 to 32767
Word
SW
b0
0
1
0
b0
0
1
0
Data type
ANY16
ANY16
BOOL
BOOL
Constant
G, RWw, RWr, LW
K, H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents