Panasonic FP7 Series Command Reference Manual page 661

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

● The result (ASCII code) should have twice the size of the source data.
Conversion example
Example 1) Operation unit: 16 bits (US, SS)
[i]...US,SS
[S1]...DT0
[D]...DT10
[S1]...DT0
[S2]...DT1
DT2
Example 2) Operation unit: 32 bits (UL, SL)
[i]...UL,SL
[S1]...DT0
[D]...DT10
[S1]...DT0
[S2]...DT1
DT2
DT3
Example 3) Operation unit: 16 bits (US, SS)
[i]...US,SS
[S1]...DT0
[D]...DT10
[S1]...DT0
DT1
[S2]...DT2
DT3
Precautions for programming
● The two characters that make up one byte are interchanged when stored.
● Converts two bytes as one section.
[S1]
①②
[S1+1]
⑤⑥
Hexadecimal data
WUME-FP7CPUPGR-12
14.3 HEXA (Conversion: HEX → Hexadecimal ASCII)
[S2]...DT1
H ABCD
H 0002
[S2]...DT1
H ABCD
H 0002
H 0000
[S2]...DT2
H 1234
H 5678
H 0004
③④
⑦⑧
(characters)
[D]
DT10
H 4443
DC
DT11
H 4241
BA
DT12
DT13
DT14
(characters)
[D]
DT10
H 4443
DC
H 4241
DT11
BA
DT12
DT13
DT14
(characters)
[D]
DT10
H 3433
43
DT11
H 3231
21
DT12
H 3837
87
DT13
H 3635
65
DT14
[D+1]
[D+3]
Conversion result
[D]
[D+2]
14-11

Advertisement

Table of Contents
loading

Table of Contents