EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 66

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
64
2 INSTRUCTION TABLES
2.5 Application Instructions
Hexadecimal
BIN ASCII
ASC 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.
4 Page 572
ASCP
ASCII
Hexadecimal
BIN
HEX 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).
4 Page 574
HEXP
Character
string
RIGHT Stores n characters from the end
of a character string designated
by (S) at the device designated
by (D).
4 Page 576
RIGHTP
LEFT Stores n characters from the
beginning of a character string
designated by (S) at the device
designated by (D).
LEFTP
MIDR 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).
4 Page 579
MIDRP
MIDW Stores the character string of
(S1) in the specified number to
the character string of (D) at the
position specified by (S2).
MIDWP
INSTR Searches character string (S1)
from the nth character of
character string (S2), and stores
matched positions at (D).
5 Page 584
INSTRP
STRINS Inserts the character string data
specified by (S) to the (n)th
character (insert position) from
the initial character string data
specified by (D).
4 Page 586
STRINSP
STRDEL Deletes the (n2) characters data
specified by (D) starting from the
device (insert position) specified
by n1.
4 Page 588
STRDELP
Floating
decimal
point BCD
EMOD 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).
4 Page 590
EMODP
BCD
Floating
decimal
point
EREXP 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).
4 Page 592
EREXPP
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
ASC nSD
ASCP nSD
HEX nSD
HEXP nSD
RIGHT nSD
RIGHTP nSD
LEFT nSD
LEFTP nSD
MIDR S1 S2D
MIDRP S1 S2D
MIDW S1 S2D
MIDWP S1 S2D
INSTR nS1 S2 D
INSTRP nS1 S2 D
STRINS SDn
STRINSP SDn
STRDEL Dn1n2
STRDELP Dn1n2
EMOD S1 S2 D
EMODP S1 S2 D
EREXP S1 S2 D
EREXPP S1 S2 D

Table of Contents

Related product manuals