Mitsubishi MELSEC-Q/L Programming Manual page 68

Table of Contents

Advertisement

Category
RIGHT
RIGHTP
LEFT
LEFTP
MIDR
MIDRP
MIDW
Character
string
MIDWP
INSTR
INSTRP
STRINS
STRINSP
STRDEL
STRDELP
Floating
EMOD
decimal point
EMODP
BCD
BCD
EREXP
Floating
EREXPP
decimal point
66
Symbol
RIGHT
S D
n
RIGHTP
S D
n
LEFT
S D
n
LEFTP
S D
n
MIDR
S1
D
S2
MIDRP
S1
D
S2
MIDW
S1
D
S2
MIDWP
S1
D
S2
INSTR
S1 S2 D
n
INSTRP
S1 S2 D
n
STRINS
S D n
STRINSP S D n
STRDEL
D n1 n2
STRDELP D n1 n2
EMOD
S1 S2 D
EMODP
S1 S2 D
EREXP
S1 S2 D
EREXPP S1 S2 D
Processing Details
• Stores n characters from the end of a
character string designated by (S) at the
device designated by (D).
• Stores n characters from the beginning of a
character string designated by (S) at the
device designated by (D).
• Stores the designated number of characters
in the character string designated by (S1)
from the position designated by (S2) at the
device designated by (D).
• Stores the character string of (S1) in the
specified number to the character string of
(D) at the position specified by (S2).
• Searches character string (S1) from the nth
character of character string (S2), and stores
matched positions at (D).
• Inserts the character string data specified by
(S) to the (n)th character (insert position)
from the initial character string data specified
by (D).
• Deletes the (n2) characters data specified by
(D) starting from the device(insert position)
specified by n1.
• Converts 32-bit floating decimal point data
(S1) to BCD data with number of decimal
fraction digits designated by (S2) , and stores
at device designated by (D).
• Converts BCD data (S1) to 32-bit floating
decimal point data with the number of
decimal fraction digits designated by (S2),
and stores at device designated by (D).
Execution
Condition
Page
4
-
485
Page
4
-
487
Page
5
-
491
Page
4
-
492
Page
4
-
494
Page
4
-
496
Page
4
-
498

Advertisement

Table of Contents
loading

Table of Contents