EasyManuals Logo

Panasonic FP7 Series Command Reference Manual

Panasonic FP7 Series
1222 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 #703 background imageLoading...
Page #703 background image
Example 8) Converting two exponential notation ASCII data (with comma delimiters)
to two 32-bit single-precision real numbers
The conversion starts from the high byte of DT0. If there is no specification for the number of
digits, it is processed considering commas as the data delimiter. It is converted in reverse
direction (the low word side of [S2] is considered as high-order numerical data).
H 2C32
, 2
H 2C33
, 3
H 312B
1 +
H 312D
1 -
H 322E
H 31
E 5
2 .
E 3
1
2 .
4 3
H 4533
H 322E
H 4535
H 3433
SF 1.2345E+12
DT0
DT1
DT2
DT3
(characters)
[S2]…DT0
[D]…DT100
[S2]
DT4
[i]…SF
[S1]…"%e"
[N]…H
DT100
DT5
DT6
DT7
Converts exponential notation ASCII data to 32-bit single-precision
real number data (Data end: ',')
ASCII data (reverse direction)
00020101
Conversion starting position (1) [S2]+1 byte
[D]
Conversion starting position = +1 byte
Amount of data to be converted = 2
DT0 to DT5: "1.2345E+12," DT100 to DT101: SF 1.2345E+12
DT6 to DT10: "-1.23E-23," DT102 to DT103: SF -1.23E-23
2 -
H 322D
DT8
DT9
SF -1.23E-23
DT102
DT104
DT10
**
**
DT101
DT103
Amount of conversion data (2) → 2 data separated by a comma
Example 9) Converting two decimal ASCII data (5 digits) to two 16-bit unsigned
binary data (decimal)
The conversion starts from the high byte of DT0. It is converted in reverse direction (the low
word side of [S2] is considered as high-order numerical data).
14.11 ATOB (Conversion: ASCII → BIN)
WUME-FP7CPUPGR-12 14-53

Table of Contents

Other manuals for Panasonic FP7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP7 Series and is the answer not in the manual?

Panasonic FP7 Series Specifications

General IconGeneral
BrandPanasonic
ModelFP7 Series
CategoryController
LanguageEnglish

Related product manuals