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 #636 background imageLoading...
Page #636 background image
Conversion instructions
635
Part III FP Instructions
F75_BIN2A
16-bit BIN -> ASCII conversion
If a positive number is converted, the "+" sign is not converted.
When a negative number is converted, the "-" sign is also converted to ASCII
code (ASCII HEX code: 16#2D).
If the area specified by s2 is more than that required by the converted data, the
ASCII code for "SPACE" (ASCII HEX code: 16#20) is stored in the extra area.
Data is stored in the direction towards the final address, so the position of the
ASCII code may change, depending on the size of the data storage area.
2D313030 2020 2020
d[2] d[1] d[0]
001
d[3]
When s2 = 8 (8 bytes)
Extra bytes
ASCII code
Range specified by s2
(Space) (Space) (Space)(Space)
If the number of bytes of ASCII codes following conversion (including the minus
sign) is larger than the number of bytes specified by the s2, an operation error
occurs. Make sure the sign is taken into consideration when specifying the object
of conversion for the s2.
The following illustrations show conversions from 16-bit decimal data to ASCII codes.
When a negative number is converted:
2D
d[2] d[1] d[0]
31
3030
001
2020
s1
–100
9CFF
Converted
result
F75_BIN2A instruction execution
ASCII code
Extra bytes
Range specified by s2 (6 bytes)
(Space)(Space)
16-bit data
Description
Converts the 16-bit data specified by s1 to ASCII codes that express the equivalent decimal value.
The converted result is stored in the area starting from the 16-bit area specified by d as specified
by s2. Specify the number of bytes in decimal number in s2. (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