EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data transfer within the PLC
842
Part III FP Instructions
Example
In this example, the same POU header is used for all programming languages. For an 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. It exchanges the data of ARRAY
data_field_1 (from the 2
nd
to the 5
th
element) with the data of ARRAY data_field_2 (from the 3
rd
element on).
LD
ST
When programming with structured text, enter the following:
IF start THEN
F18_BXCH(
d1_Start=> d1[2], d2_End=> d1[4], d3_Start=> d2[1]);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals