Communication
N o t e
6.6.5.2 Start code: STX, end code: ETX
Receiving data:
136
While F159_MTRN is being executed, no data can be received. (The
"transmission done" flag is FALSE.)
4. When the specified number of bytes has been sent, the "transmission
done" flag turns to TRUE.
5. Characters E, F, and G received from the external device are stored in
the receive buffer.
Resetting the receive buffer sets the number of bytes received in
offset 0 to 0 and moves the write pointer back to offset 1. The next
data will be stored starting at offset 1 and overwriting the existing
data.
Q Data received from external device R Receive buffer
W "Reception done" flag
E F159_MTRN execution
When receiving data, operation is as follows:
1. Characters A, B, and C received from the external device are stored in
the receive buffer.
2. The start code "STX" resets the receive buffer.
T Number of bytes received
Y Write pointer
FP0R User's Manual