EasyManuals Logo
Home>Allen-Bradley>Control Unit>Compact 5000

Allen-Bradley Compact 5000 User Manual

Allen-Bradley Compact 5000
110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
32 Rockwell Automation Publication 5069-UM003A-EN-P - May 2018
Chapter 3 Compact 5000 I/O Serial Module Features
Generic ASCII Transmit Functions
In Generic ASCII mode, you can define any kind of data to be transmitted to
communicate to serial devices. Some examples are barcode scanners, dial up
modems, serial printers, temperature controllers, and so on.
Generic ASCII Transmit Methods
To transmit the ASCII packet based on the number of characters, follow these
steps:
1. For this method, configure Termination Mode for Ignore End
Delimiter.
2. After copying the characters into the ASCII.TxData output tag array,
write the number of characters into the ASCII.TxDataLength output
tag, then increment the ASCII.TxID output tag.
To transmit the ASCII packet based on the termination delimiter characters,
follow these steps:
1. For this method, configure Termination Mode for either Include or
Exclude.
2. After copying the characters into the ASCII.TxData output tag array,
copy the two configured termination delimiter characters as the next
two characters in the array, then increment the ASCII.TxID output tag.
While doing this, keep the TxDataLength output tag at 0.
Table 5 - Generic ASCII Transmit Functions
Parameter Definition Available Options
Swap Mode Select whether swapping will be done or what swapping method is to be
used before the module sends output data to the Serial Port or after the
module receives input data from the Serial Port.
No Change (default)
Word Swap - After executing a word swap on 32-bit hex value
11112222, the result is 22221111.
Byte Swap - After executing a byte swap on 32-bit hex value
11223344, the result is 22114433.
Word and Byte Swap - After executing a word and byte swap on 32-bit
hex value 11223344 the result is 44332211.
Termination Mode/
Delimiter
Selecting the termination mode of each channel. Choose to ignore or
include the delimiter.
Ignore End Delimiter (default) - Transmits packet based on number of
bytes specified only.
Exclude Delimiter - Determines end of data when it finds the
Termination Delimiter characters, but doesn’t transmit the
Termination Delimiter bytes with the packet.
Include Delimiter - Determines end of data by Termination Delimiters
and transmits them.
Termination Delimiter 1 Configure the channel's termination delimiter. 7 bit $00…$7F
8 bit $00…$FF
Termination Delimiter 2 Configure the channel's termination delimiter. 7 bit $00…$7F
8 bit $00…$FF ($FF = disabled)
TIP Include transmits the packet with termination delimiter characters, and
exclude does not.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Compact 5000 and is the answer not in the manual?

Allen-Bradley Compact 5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelCompact 5000
CategoryControl Unit
LanguageEnglish

Related product manuals