Detailed flowcharts appendix d – Rockwell Automation 1775-KA PLC-3 Communication Adapter Module User Manual User Manual

Page 233

Advertising
background image

Detailed Flowcharts

Appendix D

DĆ23

Figure D.27

GETRAW Subroutine

GETRAW

Disable Processor
Interrupts

Enable UART
Receive Interrupt

Byte in
UART
?

Disable UART
Received Interrupt

Check Parity,
Framing, and ???

SLEEP

Wait For RXD
Interrupt at
RXDWAIT

Error
?

Get Byte
From UART

Enable Processor
Interrupts

RETURN

Set Receiver
Error Flag

Discard
Bad Data

Reset UART
Error Flag

10097–I

NOTE: This figure assumes the use of
a Z80 S10.

No

Yes

Yes

No

Advertising