Appendix A
ASCII Module with ControlLogix System Application Examples
Figure 2 - Receive Record Ladder Logic Example
If data is received frequently, we recommend storing the receive data into
some kind of large rotary buffer so as not to overwrite an older packet before it
is decoded.
Transmit Data from ControlLogix Through the ASCII Modules
For this example, Controller Tags Edit Tags function is used to separate the
header bytes into their own data locations.
Figure 3
illustrates that the
transmit record number is in AENTR_IP85:1:O.TransmitRecordNumber and
the length is in AENTR_IP85:1:O.Length. The ASCII data starts in
AENTR_IP85:1:O.Data[0].
Figure 3 - Transmit Record Number Location in Controller Tags Dialog
The ladder logic in
Figure 4 on page 40
increments a counter every 8 seconds
and then copies the accumulator value of the counter into the Transmit Record
Rockwell Automation Publication 1734-UM009C-EN-P - August 2022
39