EasyManua.ls Logo

Panasonic FP-E - Page 867

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 603
Outline Converts 16−bit/32−bit binary data to ASCII code.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
10
F250 BTOA, 16−D, DT10, DT20, DT100
S1
Trigger
R0
S2
DN
M
10
11
ST R 0
F250(BTOA)
M16−D
DT 10
DT 20
DT 100
S1 Control string
S2 Starting 16−bit area for storing binary data
N Conversion method
D Starting 16−bit area for storing ASCII codes of converted result
Operands
Operand
Relay Timer/Counter Register Index register Constant
M
Inde
x
Operand
WX WY WR WL SV EV DT LD IX IY K H
M
Index
modifier
S1 A A A A A A A A A A N/A N/A A A
S2 A A A A A A A A A A N/A N/A N/A A
N A A A A A A A A A A A A N/A A
D N/A A A A A A A A A A N/A N/A 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]
M16−D Converts 16−bit data to decimal ASCII codes.
M32−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)
M16−H Converts 16−bit data to hexadecimal ASCII codes. (Reverse direction)
M32−H Converts 32−bit data to hexadecimal ASCII codes. (Reverse direction)
*The details of the normal and reverse directions are described later.
FPΣ/FP−X/FP0R
Binary ASCII conversion
5
F250
(BTOA)
Availability
FP−X/FPΣ 32k/FP0R
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com