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 #686 background imageLoading...
Page #686 background image
Example 3) Converting signed 32-bit binary data (2 data) to decimal ASCII data
(number of digits not specified)
The low byte of DT100 is set as the beginning of the storage area. For a positive number, a
space is inserted. Since the number of digits is not specified, the number of characters after
conversion and the size of the area where the data is stored will vary according to the value of
the binary data that is converted.
H34
H2D
H33 H32
H31 H20
1
3 2
H36 H35
H FFFF
H 04D2
DT100
DT3
DT101
DT102
DT103
(characters)
[S2]…DT0
[D]…DT100
[D]
DT104
[i]…SL
[S1]…"%␣d"
[N]…H
DT0
DT4
K 1234
Convert 32-bit data into decimal ASCII data
(For a positive number, a space is inserted)
ASCII data (reverse direction)
00020001
Storage start position (0) [D]+0 bytes
Conversion data amount (2) Convert [S2] and [S2]+2
[S2]
[S2+1]
[S2+2]
[S2+3]
[S2]
Storage start position = +0 bytes
Conversion data amount = 2
DT0 to DT1: U 1234 (H 0000 04D2) DT100 to DT102: "␣1234 "
DT2 to DT3: U 4294967240 (H FFFF FFC8) DT102 to DT103: "-56"
H FFC8
H 0000
DT2
DT1
K -56
4
-
6
5
Example 4) Converting signed 32-bit binary data (2 data) to decimal ASCII data (10
digits x 2)
The low byte of DT100 is set as the beginning of the storage area. It is right-aligned (high word
side), and a space is inserted before the data is stored.
H 2020
H 2020
H 2020
4 3
2 1
H 2020
H 2020
H 2020
H 3231
H 3433
H FFFF
H 04D2 DT100
DT3
DT101
DT102
DT103
(characters)
[S2]…DT0
[D]…DT100
[D]
DT104
[i]…SL
[S1]…"%10d"
[N]…H
DT0
DT4
DT105
DT106
DT107
Convert 32-bit data into decimal ASCII data (10 digits)
ASCII data (reverse direction)
00020001
Storage start position (0) [D]+0 bytes
Conversion data amount (2) Convert [S2] and [S2]+2
[S2]
Storage start position = +0 bytes
Conversion data amount = 2
DT0 to DT1: U 1234 (H 0000 04D2) DT100 to DT104: " ␣␣ 1234"
DT2 to DT3: U 4294967240 (H FFFF FFC8) DT105 to DT109: "␣␣ -56"
6 5
H 3635
H 2D20
DT108
DT109
DT110
H FFC8
H 0000
DT2
DT1
K 1234
K -56
-
[S2]
[S2+1]
[S2+2]
[S2+3]
14.9 BTOA (Conversion: BIN → ASCII)
14-36 WUME-FP7CPUPGR-12

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