Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-224
EVAL(P)
7.11.12 Conversion from character string to floating decimal point
data (EVAL(P))
EVAL(P)
Function
(1) Converts character string stored in the area starting from the device number designated by
to 32-bit floating point type real number, and stores result at device designated by .
(2) The designated character string can be converted to 32-bit floating point type real number
data either in the decimal point format or the exponent format.
(a) When using decimal point format
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: Character string data to be converted to 32-bit floating decimal point real number data or head number of the
devices where the character string data is stored (character string)
:
Head number of the devices where the converted 32-bit floating decimal point real number data will be stored
(real number)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– –– –– ––
–– –– –– –– ––
Process
High
performance
Redundant
Universal
Ver.
Basic
Command
Command
EVAL
EVALP
S D
S D
EVAL
EVALP
S
D
S
D
S
D
+1
ASCII code for the signASCII code for the 1st character
ASCII code for the 3rd character
b15 b8
b7
b0
+2
ASCII code for the 5th character
ASCII code for the 7th character
+3
00
H
+4
Indicates the end
of character string
+1
32-bit floating-point
real number
S
S
S
S
S
ASCII code for the 2nd character
ASCII code for the 4th character
ASCII code for the 6th character
D D
+1
2DH (-)31H (1)
2E
H (.)30H (0)
+2
37
H (7)38H (8)
31
H (1)32H (2)
+3
00
H
+4
0
7
8
1 2.1-
+1
32-bit floating-point
real number
7-1 .
08
12
S
D
S
S
S
S
b15 b8
b7
b0
D