The text of a manual · part 20 of 24
AccuLazr AL5010 Product Line Manual, pages 191 to 200
Pages 191 to 200 of 236
The original document is the PDF (13 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 AL5010
Page 191
Controller indicates a problem with a Client connection. RED indicates a Controller with incompatible settings tried to initiate a Client connection.
Read Performance
I/O 1 through I/O 4 – Indicates the status of the programmable relay I/O lines. Read Quality – Graph 0-100) The large percentage bar maps to the values displayed on the reader bar graph. The graph is a dynamic measure of "how well” the bar code was read. Scans/Code – Indicates how many passes of the laser (scan lines) contributed to the reading of the code. Code Position – Indicates the bar code's position in the reader's scan line (from zero to 4095). Code Quality (QQ) – Laser 1 / Laser 2 - Indicates the QQ (code quality) value for each laser that read the bar code.
Messages
Diagnostic messages from the reader are displayed here. This is primarily information on each bar code read. Use the buttons below the Messages area to start and stop (freeze) the messages being displayed for better diagnostics. To copy text, highlight the text and then perform a copy function. Paste the text into an external text program.
Box Information
Belt Speed (FPM) – Displays the belt speed in feet per minute. Box Length (inch) – Displays the box length in inches. The box length is influenced by the extend front or extend back option in the Tracking screen. Example: If the extend front is set to 2 and a 10 inch box is sent throu gh the system, then the Box Length is reported as 12 inches Code Position (inch) – Displays the code position on the box in inches. Scans/Trigger – Displays the number of scans per trigger cycle.
Message Monitor
Distance (in) – Displays the approximate distance from the scanner to the bar code in inches. Use the Message Monitor to view the messages being sent from any of the reader host ports (either serial or network). Select the communication port you want to monitor from the option group below the message monitor.
Start Test Mode Click Start Test Mode to put the scanner in timed test mode. The scanner will then read any readable bar code place in its beam.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 192
Diagnostics > Log Viewer
Use this screen to review the performance logs saved by the reader. The three most commonly viewed logs are available by selecting one of the three buttons: Read Rate System Counters Message Log
You can also enter a log request in the Command field.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 193
Diagnostics > Update Firmware
Use Update Firmware to reload the reader firmware. CAUTION: This function should only be performed under the guidance of Accu-Sort Technical Support.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 194
186
Appendix C: AccuLazr™ User Interface
AccuLazr™ AL5010 Product Line Manual
Notes:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 195
AL5010 Networking Guide Introduction The AL5010 bar code reader includes a built-in Ethernet interface that can be used both for receiving bar code data from the AL5010 as well as monitoring and configuring the AL5010.
AL5010 Ethernet Hardware Configuration The AL5010 Ethernet hardware supports a 10/100mbps full or half-duplex Ethernet link. (Wiring information is provided in Chapter 4 and Appendix F.) Use the AccuLazr User Interface Log Viewer’s DISP ENET command to monitor for Ethernet errors. The AL5010 hardware will detect the swapping of the Transmit and Receive lines and configure appropriately. This allows a straight cable to be used to connect two AL5010s.
AL5010 Network Software Configuration The AL5010 browser-based user interface makes it possible to connect to the AL5010 over the network. Currently, the AL5010 only supports static IP addresses. The defaults for the AL5010 network settings are listed below: Parameter IP Address Net Mask Gateway
Default Value 192.168.3.100 255.255.255.0 0.0.0.0
If you are adding your AL5010 to a larger network, you must obtain an IP addresses (as well as the other parameters) from your network administrator. If the AL5010s are to operate on a closed network, you may assign your own IP addresses. This is typically by just incrementing the last number from the default (192.168.3.101, 192.168.3.102, etc.).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 196
Controller/Client Communications Up to fourteen (14) AL5010s can be configured to operate together as a single unit. All communications between readers is accomplished over an Ethernet network. In this configuration, one AL5010 must be set up as a Controller. The Controller initiates connections with the remaining readers, configuring them to operate as Clients. The trigger input (such as a photoeye) is only connected to the Controller.
Setting up AL5010s for a Multi-Reader Network Wiring If only two readers are to be communicating, and the Ethernet network is not needed for diagnostics or host communications, the readers can be connected directly with a CAT6 network cable. However, it is recommended to use an network switch when connecting any combination of scanners, so that diagnostics can be performed while the system is running. Tachometer and trigger are connected to the controller AL5010. The controller AL5010 transmits speed and trigger messages to the Clients over the network.
Configuration 1. All readers should be operating on the network with unique IP addresses. 2. All AL5010s that are to communicate together should be assigned the same Group Number. A Group Number of zero (which is the default) disables the Controller/Client capability. 3. The Number of Client Readers should be changed from zero on the Controller in order to identify this unit as the Controller. After being configured as a Controller, it will broadcast messages onto the network to discover the specified number of Clients.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 197
When using Controller/Client configuration, the client Tach Source must be set to Constant/Internal. The Clients will rely on a speed message sent from the Controller eliminating the need to provide a tachometer input to the clients. In an AL5010 multi-reader network, bar codes are sent from the clients to the controller as soon as they are read. The Controller AL5010 is responsible for transmitting the bar code data to the host.
Restrictions
If a controller is configured with tracking enabled, all clients must also have tracking enabled. All units must have the same bar code types enabled, in the same order. Clients do not transmit data messages through their serial or network host ports.
Multi-Reader Network LED and Troubleshooting The main AL5010 diagnosis tool is the Network LED. An AL5010 controller will FLASH the LED red once a second if it cannot locate the specified number of Clients. When all connections are made, the Network LED becomes a solid green. For a client, the Network LED remains off until a Controller initiates a connection. Once a connection is made, the LED becomes a solid green.
Network Administrator Information All communications from a Controller to the Clients is done using TCP/IP Multicasting. The default multicast IP address used is 239.255.0.x, where x is called the Controller Group Number (value from 0 to 255). If multiple Controller/Client Groups are on the same network, it is important that they be assigned unique group numbers so that each group is using a unique Multicast IP address. It is important that the network be configured so that Multicast network traffic will be transmitted between these readers. The AL5010 multicast messages are configured with a Time-To-Live of 1, so they will not pass through a router. Additionally, an Ethernet Switch which supports IGMP snooping may be utilized to restrict the multi-cast traffic seen by the AL5010s as well as any other items on the same network. All communications from the Clients back to the Controller uses standard UDP messaging.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 198
Network Host Communications The AL5010 provides a number of options for transmitted bar code to another computer (typically referred to as the “host”). Additionally, two host network connections are supported each with different message definition and formatting. These connections use ports 3001 and 3002 by default, but these values are modifiable.
TCP/IP Server Operation as a TCP/IP server is the default configuration for the AL5010. In this case, for an application to communicate with an AL5010 from a "host computer", the application should just initiate a simple TCP/IP socket connection. When a socket connection to the AL5010 is established, the green AL5010 network LED will be illuminated (unless client/controller mode is in use in which the LED indicates the status of the inter-AL5010 network connections). One issue should be considered when designing such an application: As with any socket connection, if one side or the other terminates the connection without properly closing it - the connection can be left open. For example, if a host computer has initiated a connection to an AL5010 and the host computer "crashes" - the connection on the AL5010 will remain open until the AL5010 attempts to send the next message (normally the next bar code). At this point, the AL5010 will detect the connection from the host computer has been terminated and clear the connection allowing the host computer to reconnect. However, it is possible that the AL5010 might be powered off while a host connection is active (or if the power is cycled on an intermediate piece of network equipment such as a hub or a switch). In this case, the AL5010 socket connection will be closed but the host computer may not be aware of this change. To handle this situation, it may be desirable to implement a means by which the host computer can test the state of the network connection. One option is to periodically send a simple message (e.g., just a null character or just a single STX character) to the AL5010 verifying the link is still active. Another option is for a heartbeat message to be enabled on the AL5010. This both provides the host computer with a means for determining if the link has been lost (by lost of the heartbeat) and provides the AL5010 with quicker determination of lost of communications with the host computer. This is the recommended approach.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 199
TCP/IP Client It is also possible to configure the AL5010 to operate as a TCP/IP Client. In this case, you must also specify the IP address of the computer to which the AL5010 is to attempt to initiate a connection. If a connection cannot be established, the AL5010 will reattempt the connection after the specified number of seconds (default is 5 seconds).
Similar issues exist regarding improper closing of connections as described in the TCP/IP Server section. As a result, it is also recommended that a heartbeat message be enabled for TCP/IP Client connections.
UDP Messaging For UDP messaging, only the destination IP address and port need to be specified. Since this is a connectionless means of transfer, there are no issues with checking for loss of connection.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Page 200
EtherNet/IP The AL5010 supports the EtherNet/IP™ Industrial Networking protocol. EtherNet/IP™ simplifies the communication of bar code and input/output data with other EtherNet/IP enabled devices, such as a programmable controller. EtherNet/IP is not enabled by default on the AL5010. To enable, select EtherNet/IP as the Connect Type for Net Host Port 1 on the Network Settings page of the user interface. When EtherNet/IP is enabled, all of the other network capabilities of the AL5010 remain active. For example, an AL5010 controller can be configured for EtherNet/IP communications with a programmable controller while still communication with one or more AL5010 clients. Once enabled, EtherNet/IP allows the AL5010 to communicate with other EtherNet/IP enabled devices. This can be done using:
Explicit Messaging, I/O Messaging, and On-Demand Messaging (a special AL5010 protocol for ControlLogix Controllers only)
All of the AL5010 EtherNet/IP Object definitions are defined later in this appendix. Refer to this appendix when setting up the interface to your device. Explicit Messaging is used when a peer-to-peer network is needed for communication. For example: In order to read parameters from the AL5010, a PLC (Programmable Logic Controller) must issue a Peer-To-Peer Read command to the AL5010. In order to write parameters to the AL5010, the PLC must issue a Peer-To-Peer Write Command to the AL5010. I/O messaging can be used to monitor and set AL5010 I/O bits as well as to obtain bar code data from the AL5010. The disadvantage is the I/O messages are always sent at scheduled intervals creating a lot of network traffic. On-Demand Messaging only works with ControlLogix Controllers. This option uses standard EtherNet/IP messaging, but allows bar code data to be sent to the Controller only when a bar code is read. It can be used in conjunction with I/O messaging.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net