Panasonic FP Series Programming Manual page 684

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

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 checks whether the data connected at
s2_AsciiData can be converted when the control string is 'D-16' and the conversion method
16#214.
LD
ST
When programming with structured text, enter the following:
IF
DF(bExecute)
F252_ACHK(s1_Control
:= sString1,
IF
(sys_bIsEQ)
bAsciiDataAreCorrect
END_IF;
END_IF;
THEN
:= 'D-16',
Offs
:= 2),
n_ConversionMethod
THEN
:= TRUE;
s2_AsciiData
:=
Adr_Of_VarOffs(Var
:= 16#214);
Conversion instructions
683

Advertisement

Table of Contents
loading

Table of Contents