Panasonic FPS Series User Manual page 216

Table of Contents

Advertisement

FPΣ User's Manual
"Transmission done" flag
When the specified number of bytes has been sent, the "transmission done" flag turns to
TRUE. New data may be sent or received. F159_MTRN turns the "transmission done" flag to
FALSE. While F159_MTRN is executed, no data can be received.
The "transmission done" flag can be evaluated using the IsTransmissionDone function. Or
use the system variable sys_bIsComPort1TransmissionDone,
sys_bIsComPort2TransmissionDone, or sys_bIsToolPortTransmissionDone, depending on
the port.
Port
Port
name
number
TOOL
0
COM1
1
COM2
2
Communication error flag
If the communication error flag turns to TRUE during reception, reception continues. Execute
F159_MTRN to turn the error flag to FALSE and to move the write pointer back to offset 1.
The communication error flag can be evaluated using the IsCommunicationError function. Or
use the system variable sys_bIsComPort1CommunicationError,
sys_bIsComPort2CommunicationError, or sys_bIsToolPortCommunicationError, depending
on the port.
Port
Port
name
number
TOOL
0
COM1
1
COM2
2
Special
internal
Function name
relay
R903F
IsTransmissionDone
R9039
R9049
Special
internal
Function name
relay
R900E
IsCommunicationErro
R9037
r
R9047
8.6 Program Controlled Communication
System variable name
sys_bIsToolPortTransmissionDone
sys_bIsComPort1TransmissionDone
sys_bIsComPort2TransmissionDone
System variable name
sys_bIsToolPortCommunicationError
sys_bIsComPort1CommunicationError
sys_bIsComPort2CommunicationError
Bit
status
TRUE
Bit
status
TRUE
199

Advertisement

Table of Contents
loading

Table of Contents