D - detailed flowcharts, General, Detailed flowcharts – Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual
Page 205
Appendix
D
DĆ1
Detailed Flowcharts
This appendix presents flowcharts that give detailed views of an example
of software logic for implementing full-duplex protocol. The flowcharts
in Chapter 4 gave you a simplified view of this software logic.
We have not shown any error checking or recovery relating to interaction
with the modem handshake driver, a third process. To do this would
overly complicate the flowcharts and, in many cases, such error checking
and recovery are not needed.
Here is a list of the figures in this appendix:
Figure
Title
Page
D.1
D.2
D.3
D.4
D.5
D.6
D.7
D.8
D.9
D.10
D.11
D.12
D.13
D.14
D.15
D.16
D.17
D.18
D.19
D.20
D.21
D.22
D.23
D.24
D.25
D.26
D.27
D.28
D.29
Data Flow Diagram for FullĆDuplex Protocol
Transmitter Routine for FullĆDuplex Protocol
WTAK Subroutine
SENDM Subroutine
STARTTIME Subroutine
STOPTIME Subroutine
TIMEOUT Subroutine
GETMSG Subroutine
SIGOK/SIGFAIL Subroutine
Sharing the Transmit Side of UART
SENDCTL Subroutine
SENDTX Subroutine
SEND Subroutine
SENDDATA Subroutine
TXALLOC Subroutine
TXFREE Subroutine
TRANSMIT INTERRUPT Subroutine
SLEEP and WAKEUP Subroutines
SLEEP and WAKEUP Interaction
POWERUP Routine
Message Queue
UNLINK Subroutine
LINK Subroutine
Receiver Routine for FullĆDuplex Protocol
XMSG Subroutine
GETCODE Subroutine
GETRAW Subroutine
SENDNET Subroutine
GETFREE Subroutine
2
3
4
5
6
6
7
7
8
9
10
11
12
13
14
14
15
15
16
17
17
18
18
19
20
21
22
23
23
General