EasyManua.ls Logo

Panasonic FP Series - Page 759

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data transfer via communication ports
758
Part III FP Instructions
"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 "re
cep
tion done" flag can be evaluated using the IsReceptionDone (see page 760) function. Or use the
system vari
a
b
le sys_bIsComPort1
ReceptionDone, 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
re
ceive 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
name
Port
number
Special
internal
relay
Function name System variable name Bit
status
COM 1 R9038 IsReceptionDone (see
page 760)
sys_bIsComPort1ReceptionDone
TRUE
FP0R:
Port
name
Port
number
Special
internal
relay
Function name System variable name Bit
status
TOOL 0 R903E sys_bIsToolPortReceptionDone
COM1 1 R9038
IsReceptionDone (see
page 760)
sys_bIsComPort1ReceptionDone
TRUE
FP, FP-X:
Port
name
Port
number
Special
internal
relay
Function name System variable name Bit
status
TOOL 0 R903E sys_bIsToolPortReceptionDone
COM1 1 R9038 sys_bIsComPort1ReceptionDone
COM2 2 R9048
IsReceptionDone (see
page 760)
sys_bIsComPort2ReceptionDone
TRUE
FP2/FP2SH/FP10SH:
Port
name
Port
number
Special
internal
relay
Function name System variable name Bit
status
COM 0 R9038 IsReceptionDone (see
page 760)
sys_bIsComPort1ReceptionDone
TRUE
MCU:
Port name Port number Input Function name Bit
status
COM1 16#xx01 X0
COM2 16#xx02 X2
IsReceptionDone (see page 760) TRUE
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).

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals