Panasonic FP Series Programming Manual page 677

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
In this example, the same POU header is used for all programming languages.
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When bExecute is set to TRUE, the instruction is carried out. It converts two 16-bit units to 2 x 4
decimal ASCII data. Offset = 1 ASCII character (8-bit).
LD
ST
When programming with structured text, enter the following:
IF
DF(bExecute)
F250_BTOA(s1_Control
s2_BinaryData
n_ConversionMethod
d_AsciiData
END_IF;
676
THEN
:= '16-D',
:= iArray1,
:= 16#214,
=> iAscii1);

Advertisement

Table of Contents
loading

Table of Contents