Panasonic FP-E Programming Manual page 439

Fp series
Table of Contents

Advertisement

Conversion Example
The following shows conversion from 16−bit decimal data to ASCII codes.
When a negative number is converted
16−bit data
Converted
D+2
result
30
30
31
0
0
ASCII code
Range specified by S2 (6 bytes)
When a positive number is converted
16−bit data
Converted
D+2
result
34
33
32
4
3
ASCII code
Range specified by S2 (6 bytes)
Decimal characters to express ASCII HEX code
Decimal
characters
SPACE
0
1
2
3
4
5
6
7
8
9
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
S1
FF
9C
K−100
F75 (BINA) instruction execution
D+1
D
2D
20
20
1
(Space) (Space)
Extra bytes
S1
04
D2
K1234
F75 (BINA) instruction execution
D+1
D
21
20
20
2
1
(Space) (Space)
Extra bytes
ASCII HEX
code
H20
H2D
H30
H31
H32
H33
H34
H35
H36
H37
H38
H39
High−level Instructions
3 − 175

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents