2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
97
2
■
Converting Unicode character string to Shift JIS character string
■
Converting shift JIS character string to Unicode character string (without byte order mark)
■
Converting shift JIS to Unicode (with byte order mark)
■
Detecting a string length
■
Extracting string data from the right/left
■
Extracting/replacing the specified string data
■
Searching string data
■
Inserting string data
■
Deleting string data
Instruction symbol
Processing details
Reference
WS2SJIS
Converts the Unicode character string in the device specified by (s) to the shift JIS character string,
and stores the converted data in the device specified by (d).
WS2SJISP
Instruction symbol
Processing details
Reference
SJIS2WS
Converts the shift JIS character string in the device specified by (s) to a Unicode character string,
and stores the converted data in the device specified by (d).
SJIS2WSP
Instruction symbol
Processing details
Reference
SJIS2WSB
Converts the shift JIS character string in the device specified by (s) to the Unicode character string,
add a byte order mark to the head of the converted data, and stores it in the device specified by (d).
SJIS2WSBP
Instruction symbol
Processing details
Reference
LEN
Stores the length (the number of characters) of the character string data, which is stored in the
device specified by (s), in the device specified by (d).
LENP
Instruction symbol
Processing details
Reference
RIGHT
Stores the (n) characters from the last character of the character string, which is stored in the
device specified by (s), in the device specified by (d).
RIGHTP
LEFT
Stores the (n) characters from the first character of the character string, which is stored in the
device specified by (s), in the device specified by (d).
LEFTP
Instruction symbol
Processing details
Reference
MIDR
Retrieves the character string in the device specified by (s1) by the number of specified characters
from the location in the device specified by (s2), and stores the retrieved data in the device
specified by (d).
MIDRP
MIDW
Retrieves the specified number of characters from the character string in the device specified by
(s1), and stores the retrieved data at the location specified by (s2) in the character string stored in
the device specified by (d).
MIDWP
Instruction symbol
Processing details
Reference
INSTR
Searches the character string in the device specified by (s2), starting from the (s3)th character, for
the character string in the device specified by (s1), and stores the matching location in the device
specified by (d).
INSTRP
Instruction symbol
Processing details
Reference
STRINS
Inserts the character string data in the device specified by (s1) to the (s2)th character (insertion
position) from the head of the character string data in the device specified by (d).
STRINSP
Instruction symbol
Processing details
Reference
STRDEL
Deletes the (n) characters starting from the position (deletion start position) specified by the (s)th
character from the head of the character string data in the device specified by (d).
STRDELP
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......