Transferring Unicode String 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

Transferring Unicode string data

$MOV_WS
This instruction transfers character string [Unicode] data to the specified device number and later.
ST
ENO:=STRINGMOV_WS(EN,s,d);
■Execution condition
Instruction
$MOV_WS
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Character string [Unicode] to be transferred (maximum of 255 characters) or the start device
containing the character string [Unicode]
(d)
Start device for storing the transferred character string [Unicode]
EN
Execution condition
ENO
Execution result
■Applicable devices/labels
Operand
Bit
SB
(s)
(d)
Processing details
• This instruction transfers the character string [Unicode] data in the device specified by (s) to the device number specified by
(d) and later. The character strings [Unicode] specified by (s) or the character strings [Unicode] from the device number
specified by (s) to the device number containing 0000H are transferred all at once.
(s)
1st character
(s)+1
2nd character
(s)+2
3rd character
(s)+n-1
''n'th character
(s)+n
0000H
Operation error
Error code
Description
2820H
There is no 0000H in the setting area specified by (s) and later in the device/label memory.
3405H
The number of characters in the character string [Unicode] specified by (s) exceeds 16383.
3406H
The entire character string [Unicode] cannot be stored in the setting area specified by (d) in the device/label memory. (The number of
required points is insufficient.)
9 STRING PROCESSING
104
9.1 String Processing Instructions
Execution condition
Word
RX, RY, LB
SW
(d)
(d)+1
(d)+2
(d)+n-1
(d)+n
Range
Constant
G, RWw, RWr, LW
K, H
1st character
2nd character
3rd character
''n'th character
0000H
Data type
ANYSTRING_DOUBLE
ANYSTRING_DOUBLE
BOOL
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents