Start Code: No-Stx; End Code: Cr - Panasonic FPS Series User Manual

Table of Contents

Advertisement

Communication

8.6.5.1 Start Code: No-STX; End Code: CR

Receiving and sending data:
1
A
B
C
2
3
4
5
A
A
A
B
B
C
6
7
<1>
<2>
<3>
Data received from external device
1
"Reception done" flag
2
F159_MTRN execution
3
"Transmission done" flag
4
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. When the end code is received, the "reception done" flag turns to TRUE. Reception of
any further data is prohibited. (Character D is not stored.)
3. F159_MTRN is executed to send response data to the external device. When
F159_MTRN is executed:
- The receive buffer is reset.
- The "reception done" flag turns to FALSE.
- The "transmission done" flag turns to FALSE.
- The communication error flag turns to FALSE.
- Characters 1, 2, and 3 are sent to the external device.
200
CR
D
1
2
8
A
B
C
<0>
E
F
3
CR
E
E
B
F
C
C
<1>
<2>
Data sent to external device
5
Receive buffer
6
Number of bytes received
7
Write pointer
8
FPΣ User's Manual
G
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
E
B
G
<3>

Advertisement

Table of Contents
loading

Table of Contents