EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 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
Page #58 background imageLoading...
Page #58 background image
2 - 38 2 - 38
MELSEC-Q/QnA
2 INSTRUCTION TABLES
Table 2.28 Character String Processing Instructions (Continued)
Category
Instruction
Symbols
Symbol
Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
ASC
ASC nSD
Hexadeci-
mal BIN to
ASCII
ASCP
ASCP nSD
• Converts 1-word BIN values of the device
number and later designated by (S) to
ASCII, and stores only n characters of
them at the device number designated by
(D).
4 7-218
HEX
HEX nSD
ASCII to
hexadeci-
mal BIN
HEXP
HEXP nSD
• Converts only n ASCII characters of the
device number and later designated by (S)
to BIN values, and stores them at the
device number designated by (D).
4 7-220
RIGHT
RIGHT nSD
RIGHTP
RIGHTP nSD
• Stores n characters from the end of a
character string designated by (S) at the
device designated by (D).
LEFT
LEFT nSD
LEFTP
LEFTP nSD
• Stores n characters from the beginning of
a character string designated by (S) at the
device designated by (D).
4 7-222
MIDR
MIDR S1 S2D
MIDRP
MIDRP S1 S2D
• 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).
MIDW
MIDW S1 S2D
MIDWP
MIDWP S1 S2D
• 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 7-225
INSTR
INSTR nS1 S2 D
Character
string
processing
INSTRP
INSTRP nS1 S2 D
• Searches character string (S1) from the
nth character of character string (S2), and
stores matched positions at (D).
5 7-229
EMOD
EMOD S1 S2 D
Floating
decimal
point to
BCD
EMODP
EMODP S1 S2 D
• Converts 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 7-231
EREXP
EREXP S1 S2 D
BCD to
floating
decimal
point data
EREXPP
EREXPP S1 S2 D
• Converts BCD data (S1) to floating
decimal point data with the number of
decimal fraction digits designated by (S2),
and stores at device designated by (D).
4 7-233
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals