EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 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
Page #370 background imageLoading...
Page #370 background image
368
7 APPLICATION INSTRUCTION
7.6 Character string operation instruction
Transferring character strings
$MOV(P)
These instructions transfer the character string data specified by (s) to the device specified by (d) and later.
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Processing details
These instructions transfer the character string data specified by (s) to the device specified by (d) and later. A character
string enclosed with double quotation marks and specified by (s) or stored in the devices from the device specified by (s) to
the device storing 00H is transferred in a batch.
Even though the device range of the data to be transferred (s) to (s)+n and the device range for storing the transferred data
(d) to (d)+n overlap, the processing is performed normally. For example, when a character string stored in D10 to D13 is
transferred to D11 to D14, the transfer is executed as shown below:
When "00H" is stored in the lower byte of (s)+n, "00H" is stored to both the upper byte and lower byte of (d)+n.
Ladder diagram Structured text
Not supported
Operand Description Range Data type Data type (label)
(s) Character string to be transferred (up to 255 characters) or head
device number storing a character string
Character string Character string
(d) Head device number storing transferred character string Character string Character string
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s) 
*1

(d) 
*1

(s) (d)
(s)
(s)+1
(s)+2
(s)+n
b15 b0
b7b8
00H
(d)
(d)+1
(d)+2
(d)+n
b15 b0
b7b8
00H
Indicates the end of the character string.
2nd character
4th character
1st character
3rd character
5th character
"n"th character
6th character
2nd character
4th character
1st character
3rd character
5th character
"n"th character
6th character
b15 b0
D11
D10
D12
D13
D14
32H (2)
b8
31H (1)
b7
33H (3)34H (4)
35H (5)36H (6)
0000H
b15 b0
D11
D10
D12
D13
D14
32H (2)
b8
31H (1)
32H (2) 31H (1)
b7
33H (3)34H (4)
35H (5)36H (6)
0000H
It is the same as the character string before transfer.
b15
42H (B)
b8 b7 b0
44H (D)
41H (A)
43H (C)
00H45H (E)
(s)
(s)+1
(s)+2
b15 b0
00H
(d)+1
(d)
(d)+2
42H (B)
b8
41H (A)
b7
43H (C)44H (D)
00H
It is the same as the character string before transfer.
The high-order byte is not transferred. "00H" is automatically stored in the high-order byte.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals