Precautions Concerning Communication; Precautions When A Start Code Is Valid - Panasonic FP2 User Manual

Serial data unit
Hide thumbs Also See for FP2:
Table of Contents

Advertisement

Precautions Regarding Serial Data Unit Operation and Programs
5.2

Precautions Concerning Communication

5.2
Precautions Concerning Communication
5.2.1

Precautions When a Start Code is Valid

When receiving data
When operating with a valid start code, be aware that the data between the most recent
start code received and the end code is processed as one frame.
STX
If no end code is received because of a communication problem or for another reason,
the serial data unit waits for an end code to be received.
To prevent the system from waiting endlessly,
Send the data again from the RS232C device on the other side.
If the RS232C device on the other side is not capable of resend
processing, the sequence program should be set up so that time
out and retry processing are carried out, and a request is sent to the
device on the other side to send the data again.
When the re−sent data is received from the RS232C device on the other side, the serial
data unit proceeds as follows.
When start code
STX
is not valid:
When start code
STX
is valid:
5 − 4
STX
When start code is valid: 1 frame
When start code is not valid
Interrupted frame
To shared memory, as received frame
Interrupted frame
This becomes invalid.
STX: Start code
ETX
ETX: End code
STX
ETX
Re−sent frame
STX
ETX
Re−sent frame
To shared memory,
as received frame
FP2 Serial Data Unit

Advertisement

Table of Contents
loading

Table of Contents