Data transfer via network
788
Part III FP Instructions
Variable Data type Function
s1 DWORD 32-bit area for storing control data
s2 starting 16-bit area for storing source data (data area at the
source station)
d type of destination operands for storing data in the
destination station. Be sure to select the area by setting the
address 0 (e.g. DT0 or WR0, ...) (destination data area at
another station)
n*
ANY16
starting 16-bit area address for the destination operand
specified in d (destination data area in another station)
Must be a constant
The variables s2 and d have to be the same data type.
For Relay T/C Register Constant
s1 DWX DWY DWR DWL DSV DEV DDT DLD DFL -
s2 WX WY WR WL SV EV DT LD FL -
d - WY WR WL SV EV DT LD FL
n* - - - - - - - - - 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 is set to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF start THEN
F145_SEND( specify_value, send_address, dest_address, 5);
END_IF;