Panasonic FP Series Programming Manual page 628

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

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 function is carried out. In this example, the value for
s2, i.e. the number of bytes to be converted from ASCII code to hexadecimal code, is entered
directly at the contact pin.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F72_A2HEX( s1_Start:= AscInput[0],
s2_Number:= 4,
d_Start=> HexOutput);
Conversion instructions
627

Advertisement

Table of Contents
loading

Table of Contents