Panasonic FP-E Programming Manual page 446

Fp series
Table of Contents

Advertisement

High−level Instructions
Conversion Example
The following shows conversion from 32−bit decimal format data to ASCII codes.
Example of converting a negative number
32−bit data
FF
Converted
result
D+4
D+3
38
37
36
35
34
8
7
6
5
4
ASCII code
Range specified by S2 (10 bytes)
Example of converting a positive number
32−bit data
00
Converted
result
D+3
38
37
36
8
7
6
Range specified by S2 (8 bytes)
Decimal characters to express ASCII HEX code
Decimal
characters
SPACE
+
0
1
2
3
4
5
6
7
8
9
3 − 182
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
S1+1
S1
43
9E
B2
K−12345678
F77 (DBIA) instruction execution
D+2
D+1
D
33
32
31
2D
3
2
1
Extra byte
S1+1
S1
BC
61
4E
K12345678
F77 (DBIA) instruction execution
D+2
D+1
D
35
34
33
32
5
4
3
2
ASCII code
ASCII HEX
code
H20
H2B
H2D
H30
H31
H32
H33
H34
H35
H36
H37
H38
H39
20
(Space)
31
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents