Panasonic FP Series Programming Manual page 762

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

IsReceptionDone
This function returns the value of the "reception done" flag. The "reception done" flag is TRUE if
Description
the end code has been received at the assigned communication port of the PLC.
See also: IsReceptionDoneByTimeOut (see page 761)
Data types
Input variable
Port
Output variable
IsDone
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.
LD
ST
bIsDone:=IsReceptionDone(Port
Evaluation of "reception done" flag for all ports
Data type
Function
ANY16
 Communication port
 Must be a constant
FP-X, FP
and FP2, FP2SH (V1.4 or later):
 PLC communication ports:
Value: SYS_COM1_PORT or SYS_COM2_PORT or
SYS_TOOL_PORT
 MCU communication port:
Value: 16#xx01 (COM1), 16#xx02 (COM2)
xx = slot number (hexadecimal) of the MCU (e.g. 16#0001: COM1 in slot
0, 16#0A02: COM2 in slot 10, 16#1401: COM1 in slot 20)
Other PLCs:
The command will be compiled to F144_TRNS, which works on the COM
port of the CPU (the parameter d_Port will be ignored)
BOOL
set to TRUE, if the end code has been received. The end code is
specified in the corresponding system register under COM port settings.
:= iPort);
Data transfer via communication ports
761

Advertisement

Table of Contents
loading

Table of Contents