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 14 of 27

AdaptaScan Software (Cat. No. 2755-ASN) User Manual: 8 - Communication Port Settings

Pages 110 to 121 of 224, from AdaptaScan Software (Cat. No. 2755-ASN) User Manual

The original document is the PDF (2.8 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 Accu-Sort 2755-SN3, Accu-Sort 2755-SN5, Allen-Bradley 2755-SN5, Accu-Sort 2755-SN8 and Allen-Bradley 2755-SN8

Page 110

Chapter

8

Communication Port Settings Chapter Objectives

This chapter shows how to configure the Reader’s communications ports. Section

Page

Communication Ports

8–2

Protocols

8–2

Configuring DeviceNet Parameters

8–3

Configuring the Serial Port

8–5

Configuring Terminal Communications

8–8

Configuring DF1 Communications

8–10

Configuring DH-485 Communications

8–11

Used By Dialog

8–12

Page 111

8–2

Communication Ports

Terminal block connections in the wiring base provide all power, I/O, and communication links to a Reader. The RS-422/RS-485 or RS-232 port may be used at the same time as the DeviceNet link.

DeviceNet Supports multiple Readers and allows them to communicate with other devices on the network. The DeviceNet cable consist of four wires (2 power and 2 communications) and a shield connected to the Reader wiring base.

RS-422 / RS-485 Port An RS-422 / RS-485 port allows multidrop communications with a single device or network such as a SLC 500 DH-485 network.

RS-232 Port Provides point-to-point communications with a device having an RS-232 port such as a PLC-5 Channel 0 port configured for RS-232. Note: The Configuration Port Connector on the Reader is used to download configurations, not the RS-232 connection.

Protocols

The RS-485/RS-422 and RS-232 serial ports support these protocols.

Terminal Use dumb terminal (ASCII) protocol to communicate with a variety of devices. This is the least secure of the protocols.

DF1 Use DF1 protocol to communicate with devices such as a PLC-5 that also supports DF1 protocol. DF1 protocol provides error checking capabilities.

DH-485 Use DH485 protocol to communicate with DH485 devices such as an SLC 500 DH485 network or point-to-point link.

Publication 2755-838

Page 112

8–3

Configuring DeviceNet Parameters

Two dialogs define DeviceNet parameters, one defines the baud rate of the project, the other defines a Reader address within the project.

Project Dialog The Project dialog defines the baud rate for all Readers on the same DeviceNet network. The project name and description fields are defined on page 2–17. The Project dialog opens whenever you open a new project or when selecting Edit from the Project menu.

DeviceNet Baud Rate Select a rate for all Readers defined within the project. Baud Rate:

Supports maximum cable length of:

125 Kbps

1600 feet (500 meters)

250 Kbps

600 feet (200 meters)

500 Kbps

300 feet (100 meters)

Publication 2755-838

Page 113

8–4

Device Dialog The Device dialog sets the Reader DeviceNet address. Open the Device dialog by selecting the Device button on the Project dialog or by double-clicking a Reader name in the project window. If the Device is online but not in the project database, the following dialog is displayed:

If the Device is online and in the current project database, the following dialog is displayed:

Each reader must be assigned a unique DeviceNet address. Shipped from the factory, the Reader is assigned a default node address of 63. Assign each Reader an address between 0 and 63. The DeviceNet Buffer dialog defines the warning provided when the message buffer reaches 75% capacity. If the buffer capacity is exceeded, message data will be lost. Access the buffer configuration dialog by selecting the More button on the Device Dialog.

When the warning buffer is enabled, you must specify both the Reader and the output that will be activated. DeviceNet provides an adjustable background heartbeat that indicates to a device receiving data that the AdaptaScan is online and still active. Set the heartbeat pulse period from 0 to 65535 milliseconds (3,000 is the default).

Publication 2755-838

Page 114

8–5

Configuring the Serial Port

The Serial Port dialog configures the Reader’s serial port. Open this dialog by selecting the Serial Port button on the Project dialog.

Protocol Specifies the communication protocol for the Reader. Select:

To:

Terminal

Communicate with devices that support terminal communications using ASCII protocol. Communicate with a device supporting DF1 protocol such as a PLC-5. Communicate with a DH-485 device using a point-to-point or network connection (such as SLC 500).

DF1 DH-485

Select the Edit button to edit the selected protocol.

Publication 2755-838

Page 115

8–6

Scanner Protocol For most applications this check box should be cleared. Select the Scanner Protocol check box only when you need to:

• Configure a Reader using a computer connected to a serial port in the Reader’s wiring base. • Use Allen-Bradley APM (Application Protocol Messages) protocol to configure a Reader. APM protocol is often used by system integrators who want to design custom applications without using the AdaptaScan Configuration software. Contact Allen-Bradley for additional information on APM protocol. Baud Rate Specifies the baud rate of the serial port. Set the baud rate to match the device you are communicating with. Maximum Length Specifies the maximum length of data (in bytes) that is transmitted or received. Specify a maximum length when the device the Reader is communicating with has a limited buffer for receiving messages. The Reader will truncate messages sent or received that are greater than the specified length. A length of 0 disables length checks. Parity Specifies the parity used by the Reader when sending messages. Select None, Even or Odd. None is the default for Terminal and DF1 protocols. Parity is automatically set to Even for DH-485 protocol. Data Bits Specifies the number of data bits sent with each message from the Reader. The default is 8. Data bits only applies to terminal protocol. For DH-485 and DF1 protocols, the data bits are automatically set to 8. Stop Bits Specifies the number of stop bits sent with messages from the Reader. The default is 1 for Terminal and DF1 protocols. Stop bits is automatically set to 1 for DH-485 protocol.

Publication 2755-838

Page 116

8–7

Message Buffer Specifies the number of messages held in the message buffer and the limit at which a warning occurs if the buffer size is exceeded. Use the message buffer when the host device cannot handle high data rates from the Reader. Note: Do not set the buffer size >1 when data sent to a host device must be coordinated with the I/O on a Reader. Select

To

Enable Warning

Enable the buffer full warning.

Warning At

Specify the warning limit for the buffer (default is 2). When the limit is met or exceeded, a warning is provided. Specify the maximum number of messages the message buffer can store (default is 5). Buffer is always active whether or not warning is enabled / disabled.

Buffer Size

Device Output

Select the Reader that will provide the buffer warning. Select the output to energize when the buffer limit is reached.

Connection Select the communications port that can connect to the host. Select RS-232, RS-422 or RS-485. Enable Pass-Through to DeviceNet Allows data from the serial port to pass through to a DeviceNet network. Page 10–15 shows an example of how to use this feature.

Publication 2755-838

Page 117

8–8

Configuring Terminal Communications

The Terminal dialog configures parameters of the Terminal protocol. Open this dialog by selecting Terminal protocol on the Serial Port dialog and then selecting the Edit button.

Flow Control Specifies the type of handshaking between the Reader and the host device. Select

For

XON/XOFF

Software flow control.

CTS/RTS

Hardware flow control in which the sending device transmits a Request to Send and the receiving device replies with a Clear to Send before transmitting the data.

None

No flow control.

Header Specifies a 1 to 32 ASCII character string to precede each message. Only messages with the specified header are accepted and sent. The default is no header. See Appendix A for an ASCII table and instructions on how to enter non–printable characters. Trailer Specifies a 1 to 32 ASCII character string that is appended to each message. Only messages with the specified trailer are accepted and sent. The default is no trailer. Note: You must either provide a trailer or specify a Maximum Length (see page 8–6). The trailer or message length are used to indicate the end of a message. See Appendix A for an ASCII table and instructions on how to enter non–printable characters.

Publication 2755-838

Page 118

8–9

Special Protocol Specifies a custom ACK/NAK protocol to communicate with a host. The ACK character is sent by the host to acknowledge the receipt of a message. The Reader holds the last transmitted message until receiving an ACK. The NAK character is sent by the host when a message is not received, prompting the decoder to resend the message. Select

To

Enable

Use special ACK/NAK protocol.

ACK

Enter the decimal equivalent value of an ASCII character from 0 - 255. See Appendix A. Enter the decimal equivalent value of an ASCII character from 0 - 255. See Appendix A.

NAK

Hex Conversion When selected, messages sent to a host are converted to a hexadecimal format. Use Hex conversion when sending non-printable data in a printable format. This option is usually only used when using APM protocol to configure a Reader (see Scanner Protocol on page 8–6). The default is disabled. Transmission Check Specifies the type of transmission check bytes sent with each message. Use transmission checks to verify that messages have been correctly received by the Reader or host device. Appendix D describes the transmission checks and provides an example. Select

To

None

Perform no transmission check.

LRC

Enable Longitudinal Redundancy Check characters.

Checksum LSB

Enable 16 bit checksum where the least significant byte is transmitted first. Enable 16 bit checksum where the most significant byte is transmitted first.

Checksum MSB

Publication 2755-838

Page 119

8–10

Configuring DF1 Communications

The DF1 dialog configures parameters of DF1 protocol. Open this dialog by selecting DF1 protocol on the Serial Port dialog and then selecting the Edit button.

Retries Specifies the number of retries when sending a message. Select a value between 0 and 20. The default is 10. A value of 0 specifies an unlimited number of retries. Timeout Specifies the number of milliseconds to wait before a communication error is detected and a message retry occurs. The default is 3000 milliseconds (3 seconds). A value of 0 indicates no timeout. Verification Specifies the type of verification used to check the validity of a message. Select

Publication 2755-838

To

BCC

Select Block Check Character verification of messages.

CRC

Select Cyclic Redundancy Check verification of messages.

Page 120

8–11

Configuring DH485 Communications

The DH-485 dialog configures parameters of DH485 protocol. Open this dialog by selecting DH485 protocol on the Serial Port dialog and then selecting the Edit button.

Node Specifies a unique node address of the Reader on the DH485 network. If you are communicating point-to point, you must still provide a node address different than the host device. The DH-485 node address may be different than the DeviceNet address assigned for downloading configurations. Important: When configuring an SLC DH-485 network with AdaptaScan Readers, the nodes must be in sequential order. The SLC must be node 1 and the Readers must follow (node 2, node 3, ...) Do not allow gaps between node addresses. Maximum Node (Master Mode only) Specifies the highest node number used by a device on the DH485 network. A low maximum node number improves network performance since nodes above the maximum node are not scanned. Master/Slave Specifies whether the Reader is operating as a master or slave device on the DH485 network. The default is slave. As a slave, the Reader cannot initiate messages but only respond to requests from a host. Master mode is only for communications with an SLC. PCCC Enabled Enables or disables the PCCC application layer. You must enable PCCC when you are communicating with an SLC 500 (master or slave) using DH485 protocol.

Publication 2755-838

Page 121

8–12

Destination Specify the destination node and address to receive the bar code data when the Reader is selected as a Master. Select:

To:

Node

Specify the node address of the device that is to receive the bar code data. Select a value 0 to 31. Specify the processor interface file offset address to receive the bar code message. Select an address in the range of 0 to 32,765. The default is 100.

N9:Offset

Viewing Readers with the Same Serial Port Configuration

The Used By dialog lists other Readers that use the same serial port configuration. Use this dialog when you make changes to a configuration and you want to make changes to other Readers using the same configuration.

Currently Used By

☞ Or double-click a configuration and click the Goto button.

Publication 2755-838

Displays the Reader configurations that use the same serial port setup. Highlight the configuration you want to access and click the Goto button.