Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 19 of 42

DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 12 - Configuration: Host Communications

Pages 163 to 169 of 361, from DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755)

The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 2755-DD and Allen-Bradley 2755-DS

Page 163

Chapter

12

Configuration: Host Communications Host Communications

Function 7 on the Select Operation menu accesses the Host Communications menu screen from which you can control communications for the HOST port of the decoder. The screen displays with the first field highlighted. The default settings are displayed the first time you access this screen. Make changes appropriate for your application. If the factory defaults are satisfactory, you can exit the configuration software by pressing [Esc] twice, or move on to the AUX Terminal Data Entry configuration screen by pressing [Esc][Return]

Host communication parameters (Baud Rate, Bits/Char, Parity, Host Protocol, Device Address, ACK/NAK Char) do not take effect until you SAVE them and restart the decoder. Each parameter is defined below along with its field type and possible values. The default value is shown in the table in bold letters.

Publication 2755-833

Page 164

12–2

Configuration: Host Communications

Baud Rate Field Type Options 9600 4800 2400 Select 1200 300 19200 38400

Selects the baud rate (data transmission speed) for the HOST port. The default is 9600 the first time the decoder is started. From then on, operation is determined at restart by the contents of storage memory.

Bits/Char Field Type Options 8 Data 1 Stop 8 Data 2 Stop Select 7 Data 1 Stop 7 Data 2 Stop

Selects the number of data and stop bits transmitted with each character via the HOST port. The default is 8 Data Bits, 1 Stop Bit the first time the decoder is started. From then on, operation is determined at restart by the contents of storage memory.➀

Parity Field Type Options None Select Even Odd

Selects the parity bit for each character transmitted or received at the HOST port. The default is None the first time the decoder is started. From then on, operation is determined at restart by the contents of storage memory.

➀ The contents of storage memory can be reviewed by performing a Recall. Parameters are saved to s memory with the Save command.

Publication 2755-833

Page 165

Configuration: Host Communications

12–3

Host Protocol Field Type Options RS232 RS232 XON/XOFF RS232 CTS/RTS – 1 RS232 CTS/RTS – 2 RS422 Select RS422 XON/XOFF DH485 PCCC – 1 DH485 PCCC – 2 DH485 ASCII – 1 DH485 ASCII – 2

Selects a communication interface and protocol for the HOST port. The default is RS-232 (with no flow control) the first time the decoder is started. From then on, operation is determined at restart by the contents of storage memory. Other options include:

• RS232 XON/XOFF uses XON/XOFF flow control • RS232 CTS/RTS-1 uses half duplex RTS, CTS and DTR modem •

• • • • • • control lines to control the flow of data from the decoder to the host. RS232 CTS/RTS-2 uses RTS, CTS and DTR modem control lines for bidirectional (full duplex) flow control between the decoder and the 2760-RA/RB module (when the module has modem control enabled). RS422 (no flow control) uses no flow control. RS422 XON/XOFF uses XON/XOFF flow control. DH485 PCCC-1 uses PCCC commands with write replies. DH485 PCCC-2 uses PCCC commands without write replies. DH485 ASCII-1 uses ASCII commands with responses. DH485 ASCII-2 uses ASCII commands without responses.

Device Address Field Type Options Edit Numeric

00 through 31 01

Specifies the node address of the decoder if operating as a node on an RS-485 network. Each node on the network must have a unique node address from 00 to 31. The default device address for the decoder is 01 the first time the decoder is started. From then on, operation is determined at restart by the contents of storage memory.

Publication 2755-833

Page 166

12–4

Configuration: Host Communications

ACK Character Field Type Options Edit ASCII

0 through 255 255 = None

Defines an Acknowledge (ACK) character for ACK/NAK protocol. The first time the decoder is started, the default is None, which means an ACK character is not defined. From then on, the default is determined at restart by the contents of storage memory.① The ACK character is sent by the host to acknowledge receipt of a message. The decoder holds the last transmitted message until an ACK is returned to the decoder. Any command the decoder receives from the host is also interpreted as an ACK character. You must define ACK and NAK characters to enable ACK/NAK protocol with the host. ACK/NAK protocol only applies to bar code data sent to the host. It is typically used with the transmission check to provide error detection. You can also use ACK/NAK protocol to provide flow control.

NAK Character Field Type Options Edit ASCII

0 through 255 255 = None

Defines a Negative Acknowledge (NAK) character for ACK/NAK protocol. The first time the decoder is started, the default is None, which means a NAK character is not defined. From then on, the default is determined at restart by the contents of storage memory.① The NAK character is sent by the host when a message is not received properly and prompts the decoder to retransmit the last message up to three times.

① If any of the characters below are used as single character commands (ACK/NAK or Start/ Characters), then the escape sequence (ESC=!) must be used with all two character comm start with that character. ABCDHIM NO PR ST If the single character commands do not use these uppercase characters, you do not have to start command sequence. For example, if N is used as the NAK command, then it would b impossible to send the NR command without preceding it with the ESC=! start command s If n is used instead, then no start command sequence would be necessary to send an NR co Therefore, we recommend using only lowercase letters for single character command Refer to Chapter 15 for additional information.

Publication 2755-833

Page 167

Configuration: Host Communications

12–5

You must define ACK and NAK characters to enable ACK/NAK protocol with the host. ACK/NAK protocol only applies to bar code data sent to the host. It is typically used with the transmission check to provide error detection. You can also use ACK/NAK protocol to provide flow control.

Start Scan Character Field Type Options Edit ASCII

0 through 255 255 = None

This parameter is used with the stop scan character and only applies when the Decode Mode is set to Host. Defines the character that tells the scanner(s) to start scanning. There is a field for both Scanner A and, if present, Scanner B. The default is None, which means a start scan character is not defined.①

Stop Scan Character Field Type Options Edit ASCII

0 through 255 255 = None

This parameter is used with the start scan character and only applies when the Decode Mode is set to Host. Defines the character that tells the scanner(s) to stop scanning. There is a field for both Scanner A and, if present, Scanner B. The default is None, which means a stop scan character is not defined.①

① If any of the characters below are used as single character commands (ACK/NAK or Start/ Characters), then the escape sequence (ESC=!) must be used with all two character comm start with that character. ABC DH IM NO PR ST If the single character commands do not use these uppercase characters, you do not have to start command sequence. For example, if N is used as the NAK command, then it would b impossible to send the NR command without preceding it with the ESC=! start command s If n is used instead, then no start command sequence would be necessary to send an NR co Therefore, we recommend using only lowercase letters for single character command Refer to Chapter 15 for additional information.

Publication 2755-833

Page 168

12–6

Configuration: Host Communications

Large Buffer Field Type Options Select

Yes No

Enables or disables use of the 8K byte buffer on the HOST port. The default is No, which disables use of this buffer. The 8K byte buffer allows the decoder to decode and buffer messages to the host. This feature is useful for applications where the host is incapable of handling high burst rates of data from the decoder. If No is selected, the decoder will only buffer one message.

!

ATTENTION: Do not use the large buffer if the data sent to the host must be coordinated with the output modules, because the buffering may delay receipt of the data by the host.

Send Message to Host Field Type Options At End of Trigger Select Immediately After Valid Package

Specifies when the decoder sends data to the host or activates an output module. The default is At End of Trigger. The end of trigger condition is determined by the decode mode. The end of trigger conditions for the triggered decode modes are: Timing End of Trigger (send message to host at end of trigger) Immediately After Valid Package

Host Stop scan character No-read timer expires Symbols/package count met

Package Detect Detect signal goes inactive No-read timer expires Symbols/package count met

Internal Timer

No-read timer expires Symbols/package count met

The response mode for the continuous and continuous/unique decode modes is always Immediately After Valid Package. The decoder sends data and activates the outputs immediately after a valid package (symbols/package count is met) or a no-read, whichever comes first. Use this mode for maximum speed.

Publication 2755-833

Page 169

Configuration: Host Communications

12–7

Transmission Check Field Type Options None LRC Select Checksum – LSB Checksum – MSB

Specifies the type of transmission check that is generated at the end of a message sent to the host. The default is None, which means no transmission check is generated. The decoder can generate three types of transmission checks: 1. LRC (Longitudinal Redundancy Check). A byte developed by an exclusive OR of all bytes in a message. 2. Checksum–MSB. Sixteen bit sum of all the bytes in a message with the most significant byte transmitted first. 3. Checksum–LSB. Sixteen bit sum of all the bytes in a message with the least significant byte transmitted first. Appendix C provides an example of a transmission check. Do not use XON/XOFF flow control with transmission check. The transmission check bytes could be interpreted as an XOFF character.

Publication 2755-833