Panasonic FP Series Programming Manual page 624

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Availability of F71_HEX2A (see page 1326)
PLC types
Data types
Variable
s1_Start
s2_Number
d_Start
Operands
For
s1_Start
s2_Number
d_Start
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable Start is set to true, the number of data bytes given in
BytesToConvert in HexInput is converted to ASCII code and stored in ASCOutput. Note that two
characters that make up one byte are interchanged when stored. One Monitor Header shows the
Hex values, and the other the ASCII values.
Data type
Function
ANY16
starting 16-bit area for hexadecimal number (source)
INT
specifies number of source data bytes to be converted
ANY16
starting 16-bit area for storing ASCII code (destination)
Relay
WX
WY
WR
WL
SV
WX
WY
WR
WL
SV
-
WY
WR
WL
SV
Set
permanently
for an instant
T/C
Register
EV
DT
LD
FL
EV
DT
LD
FL
EV
DT
LD
FL
If
 the byte number specified by
s2_Number exceeds the area specified
by s1_Start
 the calculated result exceeds the area
specified by d_Start.
 the data specified by s2_Number is
recognized as "0".
Conversion instructions
Constant
-
dec. or hex.
-
623

Advertisement

Table of Contents
loading

Table of Contents