EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #579 background imageLoading...
Page #579 background image
7-205
STR(P),DSTR(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.9 Conversion from BIN 16-bit or 32-bit to character string (STR(P),DSTR(P))
7.11.9 Conversion from BIN 16-bit or 32-bit to character string
(STR(P),DSTR(P))
STR(P),DSTR(P)
Function
STR
(1) Adds a decimal point to the BIN 16-bit data designated by at the location designated by
, converts the data to character string data, and stores it in the area starting from the
device number designated by .
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: Head number of the devices where the digits numbers for the numerical value to be converted are stored
(BIN 16 bits)
: BIN data to be converted (BIN 16/32 bits)
: Head number of the devices where the converted character string will be stored (character string)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– ––
––
–– –– –– ––
Process
High
performance
Redundant
Universal
Ver.
Basic
LCPU
Command
Command
P
S1
S2
D
S1 S2
D
STRP,DSTRP
STR,DSTR
indicates an instruction symbol of STR/DSTR.
S1
S2
D
S1
S2
D
S2
S1
D
Total number of digits
Number of digits in decimal fraction
BIN data
Sign
.
S1
S1
S2
ASCII code for the
(total number of digits -1)
th digit
ASCII code for the
(total number of digits -3)
th digit
ASCII code for the
(total number of digits -5)
th digit
ASCII code for the
(total number of digits -7)
th digit
ASCII code for the sign
ASCII code for the
(total number of digits -2)
th digit
ASCII code for the
(total number of digits -4)
th digit
ASCII code for the
(total number of digits -6)
th digit
D
D
D
D
D
b15 b8b7
b0
Designated total
number of digits
Automatically stored at
the end of the character string
00
H
5
1
+1
1 2 3
.
+2
31
H
(1)
32
H
(2)2E
H
(.)
b15 b7
b0
33
H
(3)
00
H
+1
12
3
S1
S2
D
S1
D
D
2D
b8
( )

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals