Panasonic FP Series Programming Manual page 845

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
Data types
Variable
Data type
d1_Start
ANY16
d2_End
The same type of operand should be specified for d1_Start and d2_End.
Operands
For
d1_Start
d2_End
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable start changes from FALSE to TRUE, the function is carried out. To update
WX10 and WY10 based on the master I/O map configuration, set d1 = 10 and d2 = 10.
LD
ST
When programming with structured text, enter the following:
(* PLCs with backplanes FP-C/FP2/FP2SH/FP3/FP10SH *)
IF
start
THEN
(* Updates the input/output relay of word no. 0 to 1 *)
F143_IORF( 0, 1);
END_IF;
ST
(* PLCs without backplanes FP0, FP-Sigma *)
IF
start
THEN
(* Updates the input/output relay of word no. 0 to 1 *)
F143_IORF(WX0, WX1);
F143_IORF(WY0, WY1);
END_IF;
844
Function
starting word address
ending word address
Relay
WX
WY
-
WL
WX
WY
-
WL
T/C
Register
SV
EV
DT
-
FL
SV
EV
DT
-
FL
Constant
dec. or hex.
dec. or hex.

Advertisement

Table of Contents
loading

Table of Contents