Panasonic FP Series Programming Manual page 638

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

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 function is carried out. This programming example is
based on the example for the conversion of a negative number outlined above. The monitor value
icon is activated for both the LD and IL bodies; the monitor header icon is activated for the LD
body.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F75_BIN2A( s1:=
s2_Number:=
d_Start=> ASCOutput[0] );
END_IF;
Set
If
permanently
 the number of bytes specified by s2
exceeds the area specified by d.
 the data specified by s2 is recognized as
"0".
 the converted result exceeds the area
specified by d.
for an instant
 the number of bytes of converted result
exceeds the number of bytes specified
by s2.
DataInput
,
6
,
Conversion instructions
637

Advertisement

Table of Contents
loading

Table of Contents