Panasonic FP Series Programming Manual page 759

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer via communication ports
"Reception done" flag
When the end code is received, the "reception done" flag turns to TRUE. Reception of any further data is
prohibited. F159_MTRN (see page 741) turns the "reception done" flag to FALSE.
The "reception done" flag can be evaluated using the IsReceptionDone (see page 760) function. Or use the
system variable sys_bIsComPort1ReceptionDone, sys_bIsComPort2ReceptionDone, or
sys_bIsToolPortReceptionDone, depending on the port. The end of reception can also be determined by
time-out using the IsReceptionDoneByTimeOut (see page 761) function or by checking the contents of the
receive buffer.
The status of the "reception done" flag may change while a scan is being carried out. For example, if the flag is
used more than once as an input condition, different statuses may exist within one scan. To ensure proper
execution of the program, the status of the special internal relay should be copied to a variable at the beginning
of the program.
FP0:
Port
Port
Special
name
number
internal
relay
COM
1
R9038
FP0R:
Port
Port
Special
name
number
internal
relay
TOOL
0
R903E
COM1
1
R9038
FP, FP-X:
Port
Port
Special
name
number
internal
relay
TOOL
0
R903E
COM1
1
R9038
COM2
2
R9048
FP2/FP2SH/FP10SH:
Port
Port
Special
name
number
internal
relay
COM
0
R9038
MCU:
Port name
Port number
COM1
16#xx01
COM2
16#xx02
xx = slot number (hexadecimal)
For detailed information on the MCU input (X) flags, see Getting in RUN Mode via the Input (X) Flags (see page
732).
758
Function name
System variable name
IsReceptionDone (see
sys_bIsComPort1ReceptionDone
page 760)
Function name
System variable name
IsReceptionDone (see
sys_bIsToolPortReceptionDone
page 760)
sys_bIsComPort1ReceptionDone
Function name
System variable name
IsReceptionDone (see
sys_bIsToolPortReceptionDone
page 760)
sys_bIsComPort1ReceptionDone
sys_bIsComPort2ReceptionDone
Function name
System variable name
IsReceptionDone (see
sys_bIsComPort1ReceptionDone
page 760)
Input
Function name
X0
IsReceptionDone (see page 760)
X2
Bit
status
TRUE
Bit
status
TRUE
Bit
status
TRUE
Bit
status
TRUE
Bit
status
TRUE

Advertisement

Table of Contents
loading

Table of Contents