FP
Σ
User's Manual
8.6 Program Controlled Communication
199
"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
name
Port
number
Special
internal
relay
Function name
System variable name
Bit
status
TOOL 0
R903F
sys_bIsToolPortTransmissionDone
COM1 1
R9039
sys_bIsComPort1TransmissionDone
COM2 2
R9049
IsTransmissionDone
sys_bIsComPort2TransmissionDone
TRUE
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
name
Port
number
Special
internal
relay
Function name
System variable name
Bit
status
TOOL 0
R900E
sys_bIsToolPortCommunicationError
COM1 1
R9037
sys_bIsComPort1CommunicationError
COM2 2
R9047
IsCommunicationErro
r
sys_bIsComPort2CommunicationError
TRUE
Содержание FPS Series
Страница 7: ......
Страница 17: ......
Страница 18: ...Chapter 1 Safety Measures...
Страница 21: ......
Страница 22: ...Chapter 2 Overview...
Страница 32: ...Chapter 3 CPU Types...
Страница 47: ...CPU Types FP User s Manual 30 LD Body...
Страница 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Страница 55: ...CPU Types FP User s Manual 38 LD Body...
Страница 57: ......
Страница 58: ...Chapter 4 Expansion...
Страница 73: ......
Страница 74: ...Chapter 5 I O Allocation...
Страница 81: ......
Страница 82: ...Chapter 6 Installation and Wiring...
Страница 104: ...FP User s Manual 6 4 Input and Output Wiring 87 A FP 1 Output terminal 2 Load 3 Inductor COM 2 1 3...
Страница 115: ......
Страница 116: ...Chapter 7 High Speed Counter and Pulse Output...
Страница 169: ......
Страница 170: ...Chapter 8 Communication...
Страница 227: ...Communication FP User s Manual 210 LD Body ST Body...
Страница 233: ...Communication FP User s Manual 216 POU Header LD Body...
Страница 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Страница 237: ...Communication FP User s Manual 220 2 2 ST Body...
Страница 266: ...Chapter 9 Security Functions...
Страница 273: ......
Страница 274: ...Chapter 10 Other Functions...
Страница 277: ......
Страница 278: ...Chapter 11 Troubleshooting...
Страница 289: ......
Страница 290: ...Chapter 12 Appendix...