36
Rockwell Automation Publication 5069-UM003B-EN-P - January 2020
Chapter 3
Compact 5000 I/O Serial Module Features
Generic ASCII Receive Methods
When receiving the ASCII packet based on a fixed number of characters, the
number of characters is configured in the Read Buffer Size parameter.
• For this method, configure Termination Mode for Ignore End Delimiter.
When receiving the ASCII packed based on timeout since the last character was
received, the timeout in milliseconds is configured in the Message Timeout
parameter.
• For this method, configure Termination Mode for Ignore End Delimiter.
When receiving the ASCII packed based on Termination delimiters at the end of
the packet, if termination mode is “Include”, then the termination bytes remain
appended to the end of the data copied into the ASCII.RxData input tag. If the
termination mode is “Exclude”, then the termination bytes are stripped off.
For Generic ASCII Sample Code, see
Modbus Master
Data Exchange
For the Modbus Master data exchange, the following definitions apply:
• Write—the Modbus Master writes data to the Modbus Slave.
• Read—the Modbus Master reads data from the Modbus Slave.
The Compact 5000 I/O Serial Module can get Modbus Data from
Produced/Consumed Data command, every RPI.
Figure 9 - Modbus Master Write Command
ControlLogix
®
5580/CompactLogix
™
5380
5069-SERIAL Modbus Master
Config Tag
Command List
Output Tag Output
Data to Slave
Modbus Data
Input Tag Input
Data from Slave
Modbus Data
Produced Data
Consumed Data
Modbus Data
CH0
Config Data
Consumed Data
Produced Data
CH1
Command List Interpreter
Modbus RTU/ASCII
Command with
Write Data
Modbus Slave
Response
Command List Table