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

Page 226

Advertising
background image

Detailed Flowcharts

Appendix D

DĆ22

Figure D.27

GETRAW Subroutine

GETRAW

Disable Proces-
sor
Interrupts

Enable UART
Receive Interrupt

Byte in
UART
?

Disable UART
Received Interrupt

Check Parity,
Framing, and
Receiver Overrun

SLEEP

Wait for RXD
Interrupt at
RXDWAIT

Error
?

Get Byte
from UART

Enable Proces-
sor
Interrupts

RETURN

Set Receiv-
er
Error Flag

Discard
Bad Data

Reset UART
Error Flag

11680

No

Yes

Yes

No

NOTE:

use of a Z80 S10.

This figure assumes the

Advertising