Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-206
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
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
( )