Mitsubishi Electric MELSEC-Q/L Programming Manual page 66

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Category
Instruction
symbol
Hexadecimal
ASC
BIN  ASCII
ASCP
ASCII 
HEX
Hexadecimal
BIN
HEXP
Character
RIGHT
string
RIGHTP
LEFT
LEFTP
MIDR
MIDRP
MIDW
MIDWP
INSTR
INSTRP
STRINS
STRINSP
STRDEL
STRDELP
Floating
EMOD
decimal
point  BCD
EMODP
BCD 
EREXP
Floating
decimal
EREXPP
point
2 INSTRUCTION TABLES
64
2.5 Application Instructions
Symbol
ASC
S D
n
ASCP
S D
n
HEX
S D
n
HEXP
S D
n
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
• Converts the 1-word BIN value
at the device numbers
designated by (S) to
hexadecimal ASCII, and stores
n characters of them at the
device numbers designated by
(D) and after.
• Converts n hexadecimal ASCII
characters of the device
numbers designated by (S) and
after to BIN values, and stores
them at the device numbers
designated by (D).
• 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
Number
Subset Reference
condition
of basic
steps
4
4
4
4
5
4
4
4
4
Page 572
Page 574
Page 576
Page 579
Page 584
Page 586
Page 588
Page 590
Page 592

Advertisement

Table of Contents
loading

Table of Contents