EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #639 background imageLoading...
Page #639 background image
Conversion instructions
638
Part III FP Instructions
F76_A2BIN
ASCII -> 16-bit BIN conversion
The ASCII codes being converted should be stored in the direction of the last
address in the specified area.
If the area specified by s1 and s2 is more than that required for the data you
want to convert, place "0" (ASCII HEX code: 16#30) or "SPACE" (ASCII HEX
code: 16#20) into the extra bytes.
ASCII codes with signs (such as +: 16#2B and -: 16#2D) are also converted. The
+ codes can be omitted.
Example of converting an ASCII code indicating a negative number
2D
s1[2] s1[1] s1[0]
31
3030
001
3030
d
– 100
9CFF
(0) (0)
Range specified by s2
ASCII code
Extra bytes
Converted result
F76_A2BIN instruction execution
ASCII code
Example of converting an ASCII code indicating a positive number
s[2] s[1] s1[0]
20
31
1
3030
00
2020
d
100
6400
Converted result
ASCII code
ASCII code
Extra bytes
Range specified by s2
F76_A2BIN instruction execution
(Space)(Space)(Space)
ASCII HEX code to express decimal characters:
Description
Converts the ASCII codes that express the decimal digits, starting from the 16-bit area specified by
s1 to 16-bit data as specified by s2. The converted result is stored in the area specified by d. s2
specifies the number of source data bytes to be converted using decimal number. (This
specification cannot be made with BCD data.)

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals