Communication
FP
Σ
User's Manual
200
8.6.5.1 Start Code: No-STX; End Code: CR
Receiving and sending data:
A
B
C
CR
F
G
1
3
CR
A
A
B
B
C
A
B
C
A
B
C
E
F
C
E
B
G
E
<1>
<2>
<3>
<0>
<1>
<2>
<3>
E
2
D
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
1
2
3
4
5
6
7
8
1
Data received from external device
5
Data sent to external device
2
"Reception done" flag
6
Receive buffer
3
F159_MTRN execution
7
Number of bytes received
4
"Transmission done" flag
8
Write pointer
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.
Summary of Contents for FPS Series
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures...
Page 21: ......
Page 22: ...Chapter 2 Overview...
Page 32: ...Chapter 3 CPU Types...
Page 47: ...CPU Types FP User s Manual 30 LD Body...
Page 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Page 55: ...CPU Types FP User s Manual 38 LD Body...
Page 57: ......
Page 58: ...Chapter 4 Expansion...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output...
Page 169: ......
Page 170: ...Chapter 8 Communication...
Page 227: ...Communication FP User s Manual 210 LD Body ST Body...
Page 233: ...Communication FP User s Manual 216 POU Header LD Body...
Page 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Page 237: ...Communication FP User s Manual 220 2 2 ST Body...
Page 266: ...Chapter 9 Security Functions...
Page 273: ......
Page 274: ...Chapter 10 Other Functions...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting...
Page 289: ......
Page 290: ...Chapter 12 Appendix...