
36
Rockwell Automation Publication 5069-UM003A-EN-P - May 2018
Chapter 3
Compact 5000 I/O Serial Module Features
Data Received from the Serial Port in Master/Slave
Handshake Mode
The serial port works in a handshake mode using the following steps.
1. The serial module receives the packet.
2. If any of the following conditions occur, the serial module creates a
record.
a. The Message Timeout timer expires.
b. The number of received bytes equals the configured Read Buffer Size.
c. Termination Delimiter bytes were received.
3. The record is added into the RxBuffer.
4. Once the RxID (Consume Tag) is incremented by the user logic, the
serial module takes the oldest record from RxBuffer, copies the data into
the ASCII.RxData input tag, copies the number of characters received
into the ASCII.RxDataLength input tag, and sends it to the controller.
Figure 8 - Serial Port Handshake Mode
Controller
RPI
Comes
RPI
Comes
Receive
Data
Produce
Data
Consume
Data
Produce
Data
Update
Switch
5069-SERIAL
RxBuffer
The Oldest Record
Decided Record
Decided Record
The Latest Record
RxFIFO
Binary
Data
Binary
Data
UART
Send
Data
Target
IMPORTANT
If Master/Slave Handshake is selected, dispose additional receiving data
from the serial port for saved data in the receiving buffer of the firmware.
Summary of Contents for 5069-SERIAL
Page 1: ...Compact 5000 I O Serial Module Catalog Number 5069 SERIAL User Manual OriginalInstructions...
Page 9: ...Rockwell Automation Publication 5069 UM003A EN P May 2018 9 Preface Notes...
Page 10: ...10 Rockwell Automation Publication 5069 UM003A EN P May 2018 Preface...
Page 88: ...88 Rockwell Automation Publication 5069 UM003A EN P May 2018 Appendix A Module Tags Notes...
Page 101: ...Rockwell Automation Publication 5069 UM003A EN P May 2018 103 Programming Example Appendix C...
Page 104: ...106 Rockwell Automation Publication 5069 UM003A EN P May 2018 Appendix C Programming Example...
Page 109: ......