Data transfer within the PLC
844
Part III FP Instructions
Variable Data type Function
d1_Start starting word address
d2_End
ANY16
ending word address
The same type of operand should be specified for d1_Start and d2_End.
For Relay T/C Register Constant
d1_Start WX WY - WL SV EV DT - FL dec. or hex.
d2_End WX WY - WL SV EV DT - FL dec. or hex.
Data types
Operands
Example
In this example the function has been programmed in ladder diagram (LD) and structured text
(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;