beautypg.com

Detailed flowcharts appendix d – Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual

Page 216

background image

Detailed Flowcharts

Appendix D

DĆ12

Figure D.13

SEND Subroutine

SEND

Disable Processor
Interrupts

Enable UART
Transmit Interrupt

UART
Transmitter
Empty
?

Yes

Disable UART
Transmit Interrupt

No

SLEEP

Suspend at
TXWAIT

Output Byte
to UART

Enable Processor
Interrupts

Return

Indivisible Zone

Input

Link Data Byte

Common

TXWAIT: A Sleep Variable

11669

NOTE:

a Z80 S10.

This figure assumes the use of