Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 643

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

Advertisement

Processing details
• These instructions transfer the Unicode character string data in the device specified by (s) to the device number specified
by (d) and later. The Unicode character strings from the one enclosed by double quotes (") or 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
• Even when the device range ((s) to (s)+n)) in which the Unicode character string data to be transferred and the device
range ((d) to (d)+n) for storing the transferred data are overlapping, the processing is performed normally. For example, the
character strings stored in the devices specified by D10 to D13 are transferred to the devices specified by D11 to D14 as
shown below.
b15
∙∙∙
D10
0031H (1)
D11
0032H (2)
D12
0033H (3)
D13
0000H
D14
A: Same as before transfer
Operation error
Error code
Description
(SD0)
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 Unicode string specified by (s) exceeds 16383.
3406H
The entire Unicode string cannot be stored in the setting area specified by (d) in the device/label memory. (The number of required points
is insufficient.)
(d)
(d)+1
(d)+2
(d)+n-1
(d)+n
b0
b15
D10
D11
D12
D13
D14
1st character
2nd character
3rd character
''n'th character
0000H
∙∙∙
b0
A
0031H (1)
0031H (1)
0032H (2)
0033H (3)
0000H
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
7
641

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents