Panasonic FP-E Programming Manual page 867

Fp series
Table of Contents

Advertisement

FPΣ/FP−X/FP0R
5
F250
(BTOA)
Outline
Converts 16−bit/32−bit binary data to ASCII code.
Program example
Trigger
R0
10
F250 BTOA, 16−D, DT10, DT20, DT100
S1
S2
N
D
Operands
Relay
Operand
Operand
WX WY WR WL
S1
A
A
S2
A
A
N
A
A
D
N/A
A
Operation
Converts the binary data stored in the area specified by S2 to ASCII codes using the conversion method of N
according to 4 control characters specified by S1. The converted result is stored in the area specified by D.
Specifying the various items
Specifying control strings and the meanings [S1]
M 16−D
Converts 16−bit data to decimal ASCII codes.
M 32−D
Converts 32−bit data to decimal ASCII codes.
M 16+H
Converts 16−bit data to hexadecimal ASCII codes. (Normal direction)
M 32+H
Converts 32−bit data to hexadecimal ASCII codes. (Normal direction)
M 16−H
Converts 16−bit data to hexadecimal ASCII codes. (Reverse direction)
M 32−H
Converts 32−bit data to hexadecimal ASCII codes. (Reverse direction)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Binary
ASCII conversion
Ladder Diagram
Ladder Diagram
M
S1
S2
Control string
Starting 16−bit area for storing binary data
Conversion method
Starting 16−bit area for storing ASCII codes of converted result
Timer/Counter Register
SV
EV
DT
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
*The details of the normal and reverse directions are described later.
N
D
Index register
LD
IX
IY
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
High−level Instructions
Availability
FP−X/FPΣ 32k/FP0R
Boolean
Address
Instruction
10
ST
R
11
F250(BTOA)
M
DT
DT
DT
Constant
Index
Index
M
M
modifier
K
H
N/A
N/A
A
A
N/A
N/A
N/A
A
A
A
N/A
A
N/A
N/A
N/A
A
A:
Available
N/A: Not Available
3 − 603
0
16−D
10
20
100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents