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 22 of 26

AXIOM / AXIOM-X Product Line Manual: Appendices, pages 187 to 195

Pages 187 to 195 of 230, from AXIOM / AXIOM-X Product Line Manual

The original document is the PDF (7.2 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 Axiom 400 and Accu-Sort Axiom-X

Page 187

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

The only optional configuration parameter is that when using tracking, if the tachometer type for the Client(s) is set to Constant Tach; the Clients will rely on a speed message sent from the Controller eliminating the need to provide a tachometer input to the clients. The Controller always triggers the Client readers and it will properly configure the trigger settings on the clients when connecting. It is recommended that the trigger settings for Controller and Clients be set the same. It is NOT necessarily to set the Transmit delay or Transmit point to a different value on the Clients, as is done using the “traditional master/slave” architecture of other Accu-Sort readers. In an AXIOM multi-reader network, bar codes are sent from the clients to the controller as soon as they are read.

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 NOTE: The following LED functions are overridden if EtherNet/IP communications are used. (See Chapter 4.)

The main AXIOM diagnosis tool is the Network LED. An AXIOM controller will FLASH the LED red once a second if it cannot locate the specified number of Clients. When all connects 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 AXIOM 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 AXIOMs as well as any other items on the same network. All communications from the Clients back to the Controller uses standard UDP messaging.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Accu-Sort Systems, Inc.

187

Page 188

188

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

Network Host Communications The AXIOM provides a number of options for transmitted bar code to another computer (typically referred to as the “host”). Additionally, two simultaneous 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 AXIOM. In this case, for an application to communicate with an AXIOM from a "host computer", the application should just initiate a simple TCP/IP socket connection. When a socket connection to the AXIOM is established, the green AXIOM network LED will be illuminated (unless client/controller mode is in use in which the LED indicates the status of the inter-AXIOM 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 AXIOM and the host computer "crashes" - the connection on the AXIOM will remain open until the AXIOM attempts to send the next message (normally the next bar code). At this point, the AXIOM 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 AXIOM 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 AXIOM 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 AXIOM verifying the link is still active. Another option is for a heartbeat message to be enabled on the AXIOM. 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 AXIOM with quicker determination of lost of communications with the host computer. This is the recommended approach.

Accu-Sort Systems, Inc.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Page 189

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

TCP/IP Client It is also possible to configure the AXIOM to operate as a TCP/IP Client. In this case, you must also specify the IP address of the computer to which the AXIOM is to attempt to initiate a connection. If a connection cannot be established, the AXIOM 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.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Accu-Sort Systems, Inc.

189

Page 190

190

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

EtherNet/IP The AXIOM 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. To enable, select EtherNet/IP as the Connect Type for Net Host Port 1 on the Network Settings page of AXCESS. When EtherNet/IP is enabled, all of the other network capabilities of the AXIOM remain active. For example, an AXIOM controller can be configured for EtherNet/IP communications with a programmable controller while still communication with one or more AXIOM clients.

Once enabled, EtherNet/IP allows the AXIOM to communicate with other EtherNet/IP enabled devices. This can be done using: ƒ ƒ ƒ

Explicit Messaging I/O Messaging On-Demand Messaging (a special AXIOM protocol for ControlLogix Controllers only)

All of the EtherNet/IP Object definitions are given later in this appendix. Refer to this appendix when setting up the interface to your device. Use I/O messaging to monitor and set AXIOM I/O bits as well as to obtain bar code data from the AXIOM. 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. For monitoring purposes, an AXIOM EDS file is included with the AXCESS software download. To install this file with the Rockwell Software RSLinx software, use the EDS Hardware Installation Tool included with the RSLinx Tools. RSLinx provides a means to monitor the status of your AXIOM.

Accu-Sort Systems, Inc.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Page 191

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

EtherNet/IP Options When EtherNet/IP is enabled, new parameters become available within AXCESS that allow you to configure some additional options.

These parameters are described in more detail earlier in this manual, but a quick overview provides some context here. (See Chapter 5.) The Bar Code Data parameters allow you to manipulate the format of the bar code data. Most notable if your bar codes only contain numeric digits, you can configure the AXIOM to convert the bar codes to a numeric value instead of transmitting them as ASCII text. Additionally, you can enable the On-Demand Messaging Option for ControlLogix Processors. This is described in more detail later in this document. If the EtherNet/IP Trigger Input is enabled, the AXIOM Trigger settings are ignored and the AXIOM is triggered solely by manipulating the Trigger Bit in the Output Word (contained in the AXIOM Assembly and Output Objects). The AXIOM Outputs function the same as AXIOM relay outputs, but they manipulate bits within the AXIOM Input Word (contained in the AXIOM Assembly and Input Objects). The AXIOM can relinquish control of the internal AXIOM relays to another EtherNet/IP device. When this has been done, these relays are controlled by bits within the Output Word.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Accu-Sort Systems, Inc.

191

Page 192

192

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

I/O Messaging Example The following example illustrates how an AXIOM can be configured to communicate with a ControlLogix processor using I/O messaging. Utilizing this information along with the AXIOM Object definitions, it should be possible to adapt these directions for other EtherNet/IP devices. When EtherNet/IP is enabled on the AXIOM, EtherNet/IP I/O Messaging is automatically enabled. No further configuration is needed to setup I/O messaging. Since the ControlLogix processor will treat the AXIOM as an I/O device, to setup an EtherNet/IP I/O message transfer between an AXIOM and a ControlLogix processor, you need to configure your AXIOM as a Generic Ethernet Module in the ControlLogix I/O tree. To add a module: 1. Under the I/O Configuration Tree, right-click on the entry for your Ethernet module (e.g., 1756-ENET/A) and select New Module. 2. You will be presented with a list of options similar to what is shown below. From this list select ETHERNET-MODULE for the Generic Ethernet Module.

3. Specify the Module Properties for your AXIOM. a. The most important step is that you must first set the Comm Format to Data-INT. This must be done first since it cannot be changed later. b. After this you can specify the Name, Description and IP Address of the AXIOM. 4. The Connection Parameters must be specified as follows: Input Output Configuration

Accu-Sort Systems, Inc.

Assembly Instance 100 112 128

Size 68 2 0

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Page 193

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

NOTE: You can only “schedule” I/O message transfers to the AXIOM at a fixed interval. The Connection Tab allows you to specify this interval. The AXIOM will handle intervals down to 10 milliseconds. However, intervals this small may affect the overall AXIOM performance.

After this module definition for the AXIOM has been completed, tags will be created in the controller based on the name you specified for this AXIOM on the properties page for the module. These tags will consist of the name followed either by the letter ‘C’ (Configuration), the letter ‘O’ (Outputs) or the letter ‘I’ (Inputs). These tags are based on the AXIOM assembly objects.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Accu-Sort Systems, Inc.

193

Page 194

194

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

AXIOM:C Configuration Data This data is not used.

AXIOM:I Input Data Tag Name AXIOM:I.Data[0] AXIOM:I.Data[1]

Value Discrete Input Word Bar Code Sequence Number

AXIOM:I.Data[2] AXIOM:I.Data[3]

Bar Code Status Bar Code Size (words)

AXIOM:I.Data[4-67]

Bar Code Data

Description See bit definitions. This field is updated every time the bar code data is updated. However, the bar code data will only be updated when the “Last Bar Code Sequence Number” (see Output Data) is set equal to this value. Not currently used. Number of words which contain the bar code data

Discrete Input Word Bit 0 1 2 3 4 5 6 7 8-15

AXIOM Programmable Output #1 AXIOM Programmable Output #2 AXIOM Programmable Output #3 AXIOM Programmable Output #4 AXIOM Programmable Output #5 AXIOM Programmable Output #6 AXIOM Programmable Output #7 AXIOM Programmable Output #8 Unused

AXIOM:O Output Data Tag Name AXIOM:O.Data[0] AXIOM:O.Data[1]

Value Discrete Output Word Last Bar code Sequence Number Received

Discrete Output Word Bit Bit = 0 0* Trigger Off 1–7 Unused 8* AXIOM Relay #1 Off 9* AXIOM Relay #2 Off 10* AXIOM Relay #3 Off 11* AXIOM Relay #4 Off 12-15 Unused * If enabled on AXIOM

Accu-Sort Systems, Inc.

Description See bit definitions. This field must be updated to match the Bar Code Sequence Number each time the bar code data has been processed. Bit = 1 Trigger On Unused AXIOM Relay #1 On AXIOM Relay #2 On AXIOM Relay #3 On AXIOM Relay #4 On Unused

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Page 195

AXIOM™ / AXIOM-X™ Product Line Manual

Appendices

On-Demand Messaging (ControlLogix) On-Demand messaging provides another option for transferring bar code data to your ControlLogix processor. With on-demand messaging, the data transfer occurs as soon as the bar code data is available, not as the result of constant messaging at a schedule interval. Typically, On-Demand messaging is used in conjunction with I/O messaging. For applications requiring only the transfer of bar code data, using OnDemand Messaging allows the I/O packet interval to be increased (just to provide a heartbeat with the AXIOM) reducing overall network utilization. On-Demand messaging can be enabled on the AXIOM from the EtherNet/IP window within AXCESS. When enabled, you need to specify the IP address and slot for the ControlLogix processor, along with the name of the Tag to contain the bar code data.

Once this is complete, you need to define a new Tag on the ControlLogix. The new tag should have a type of INT and a dimension of 67 words. The name must match the name specified on the AXIOM.

These tags will be updated every time a bar code is read. The following table defines the format of the data within this tag.

A1-AXIOM-AXIOM-X_Appendices_R10.doc

Accu-Sort Systems, Inc.

195