FP
Σ
9.6 Flag Operations When Using Serial Communication
9 - 33
9.6
Flag Operations When Using Serial Communication
This section explains about the operation of “reception done flag” and “transmission
done flag” when using serial communication.
9.6.1
When “STX not exist” is Set for Start Code and “CR” is Set for End
Code
When receiving data:
Relationship between the various flags “Reception done flag and Transmission done
flag” and the
F159 (MTRN)
instruction
External received
data
Reception
done flag
“R9038 or R9048”
F159 (MTRN)
instruction
execution
A
B
C
CR
D
E
F
G
Transmission
done flag
“R9039 or R9049”
Transmitted data
1
2
3
CR
Duplex transmission
disabled while
F159 (MTRN)
instruction is being executed
Cannot be stored when
reception done flag is on.
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>
Reception
buffer
Number of recep-
tion bytes
Stored
Number of bytes received is
cleared when
F159 (MTRN)
instruction is executed
on
off
on
off
on
off
*
: Write pointer
Write pointer
*
: Write pointer
Figure 197: FP
Σ
Flag operation when receiving data (STX not exit and CR setting)
Half-duplex transmission method should be used for general-purpose serial
communication.
Reception is disabled when the reception done flag “R9038 or R9048” is on.
next page
Содержание FP Series
Страница 15: ...FP Functions and Restrictions of the Unit 1 2...
Страница 25: ...FP Specifications and Functions of Control Unit 2 2...
Страница 37: ...FP Expansion 3 2...
Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Страница 45: ...FP I O Allocation 4 2...
Страница 51: ...FP Installation and Wiring 5 2...
Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Страница 135: ...FP Communication Cassette 7 2...
Страница 147: ...FP Communication Function 1 Computer Link 8 2...
Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...
Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Страница 233: ...FP Other Functions 11 2...
Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...
Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Страница 251: ...FP Specifications 13 2...
Страница 323: ...Index FP I 4...
Страница 325: ...FP Record of changes R 2...