Rockwell Automation Publication 1769-UM012B-EN-P - January 2014
83
I/O Memory Mapping
Chapter 3
Byte Swap Mode
To help with compatibility with end serial devices, the 1769-ASCII module
supports user-configurable options to byte swap data received from or
transmitted to the ASCII devices. Byte swapping of data is supported on 16- or
32-bit boundaries.
When Byte Swap mode is enabled, the user-defined Receive/Transmit Buffer
Length parameters must be evenly divisible by the bit boundary, 16- or 32-bit.
Transmit Serial ASCII Data
The Max Number of Transmit Characters parameter determines whether the
1769-ASCII module transmits data to a serial device.
If TX_String_Length = 0
The 1769-ASCII module receives data sent from the CompactBus Master and
uses the delimiter to determine how much data is sent to the serial device:
•
If a transmit (or exclude) delimiter is in the string, all characters up to and
including the defined delimiter are sent to the ASCII device.
•
If no delimiter is contained within the string, then the 1769-ASCII
module sends data received from the CompactBus Master to the ASCII
device.
If TX_String_Length > 0
The 1769-ASCII module receives data sent from the CompactBus Master
ignoring any embedded terminator. It sends the number of characters defined in
the Max Number of Transmit Chars parameter or the total sent by the Master,
whichever is less.
Receive ASCII Serial Data
The 1769-ASCII module receives and sends strings as defined in the Max
Number of Receive Characters parameter until the module receives a delimiter.
The 1769-ASCII module also sends the overflow error until a delimiter is
received. This process continues indefinitely until the ASCII device transmits the
specified delimiter.
IMPORTANT
Byte Swap mode is valid only for nonzero length strings or non-character-
terminated data. It does not work with character-terminated strings when
the length byte is left at zero.
Termination characters are counted as part of the length of the nonzero
length strings.
Содержание Allen-Bradley 1769-ASCII
Страница 1: ...Compact I O ASCII Module Catalog Numbers 1769 ASCII User Manual ...
Страница 4: ...4 Rockwell Automation Publication 1769 UM012B EN P January 2014 Summary of Changes Notes ...
Страница 20: ...20 Rockwell Automation Publication 1769 UM012B EN P January 2014 Chapter 1 Compact I O ASCII Module Notes ...
Страница 65: ...Rockwell Automation Publication 1769 UM012B EN P January 2014 65 Configure the 1769 ASCII Module Chapter 2 ...
Страница 67: ...Rockwell Automation Publication 1769 UM012B EN P January 2014 67 Configure the 1769 ASCII Module Chapter 2 ...
Страница 86: ...86 Rockwell Automation Publication 1769 UM012B EN P January 2014 Chapter 3 I O Memory Mapping Notes ...
Страница 96: ...96 Rockwell Automation Publication 1769 UM012B EN P January 2014 Appendix B Status Indicators Notes ...
Страница 101: ...Rockwell Automation Publication 1769 UM012B EN P January 2014 101 Error Codes Appendix C ...
Страница 112: ...112 Rockwell Automation Publication 1769 UM012B EN P January 2014 Appendix E Using Electronic Keying Notes ...
Страница 114: ...114 Rockwell Automation Publication 1769 UM012B EN P January 2014 Appendix F History of Changes Notes ...
Страница 117: ......