Comtrol UP DeviceMaster Quick Start

EtherNet®/IP
Interface Configuration Quick Start
Trademark Notices
Document Number: 2000424 Rev D
Patents Pending
Comtrol, DeviceMaster, and PortVision are registered trademarks of Comtrol Corporation.
ControlLogix, PLC-5 and Rockwell Automation are registered trademarks of Rockwell Automation.
PLC is a registered trademark of Allen-Bradley Company, Inc.
Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation.
SIMATIC and Step7 are registered trademarks of Siemens AG.
Portions of SocketServer are copyrighted by GoAhead Software, Inc. Copyright © 2001. GoAhead Software, Inc. All Rights Reserved.
Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries.
Other product names mentioned herein may be trademarks and/or registered trademarks of their respective owners.
Fourth Edition, July 24, 2013 Copyright © 2005-2013. Comtrol Corporation. All Rights Reserved.
Comtrol Corporation makes no representations or warranties with regard to the contents of this document or to the suitability of the Comtrol product for any particular purpose. Specifications subject to change without notice. Some software or features may not be available at the time of publication. Contact your reseller for current product information.

Table of Contents

Overview...................................................................................................................................5
Installation Overview ................................................................................................................................... 5
Locating the Latest Software and Documentation ............................................................................... 6
Data Type Definitions................................................................................................................................... 7
Configuring Read-Only Serial Devices .............................................................................9
Prerequisites................................................................................................................................................... 9
Embedded Web Page Configuration ......................................................................................................... 9
Configuring Read-Only Ethernet TCP/IP Devices .......................................................13
Prerequisites................................................................................................................................................. 13
Embedded Web Page Configuration ....................................................................................................... 13
Configuring Read/Write Devices ......................................................................................19
Prerequisites................................................................................................................................................. 19
Embedded Web Page Configuration ....................................................................................................... 19
Configuring ControlLogix family PLCs ................................................................................................. 20
Configuring SLC/PLC-5/MicroLogix PLCs ............................................................................................ 22
Filtering/Data Extraction Configuration .......................................................................25
PLC Filtering/Data Extraction ................................................................................................................. 25
RFID (EPCglobal Formats) ...................................................................................................................... 25
Barcode (UPC/EAN Formats) .................................................................................................................. 26
Application Filtering/Data Extraction ................................................................................................... 28
RFID (EPCglobal Formats) ...................................................................................................................... 28
Barcode (UPC/EAN Formats) .................................................................................................................. 29
Application Socket Configuration....................................................................................31
Troubleshooting and Technical Support........................................................................33
Troubleshooting Checklist ....................................................................................................................... 33
General Troubleshooting........................................................................................................................... 34
Daisy-Chaining DeviceMaster UP 2E/4-Port Units .............................................................................. 35
Technical Support ....................................................................................................................................... 36
DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D Table of Contents - 3
Table of Contents
4 - Table of Contents DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Overview

This Quick Start is intended to help you quickly set-up serial or Ethernet devices. with the DeviceMaster UP and EtherNet/IP, for example:
Read-only devices such as barcode scanners and some RFID readers
Read/write devices such as printers and some weigh scales

Installation Overview

Use the following steps to install the DeviceMaster UP.
1. C
ONNECT THE DEVICEMASTER UP to the network.
2. I
NSTALL PORTVISION DX from the CD or download and install the latest version.
3. C
ONFIGURE THE DEVICEMASTER UP network settings using PortVision DX.
4. Depending on the DeviceMaster UP model, do the following:
Models without EtherNet/IP loaded, you must install the software assembly (.msi) from the CD or download and install the latest file, which contains the EtherNet/IP firmware and supporting files required for Step 5.
Models with EtherNet/IP loaded on the DeviceMaster UP, you should check to see if a later version of EtherNet/IP is available for installation. Check the EtherNet/IP version in PortVision DX against the web site to see if a later version is available. Typically, you should download and install the latest .msi file and upload the latest version, which may include updates or enhancements.
Note: Models that have EtherNet/IP loaded on the DeviceMaster UP are identified in PortVision DX and
5. I
6. Configure the serial or Ethernet TCP/IP socket port characteristics using the DeviceMaster UP embedded web page (Server Configuration).
If you have Read-only or read/write devices, you can use the appropriate procedures for your device, which are located in this Quick Start:
Read-only devices (barcode scanners and some RFID readers), go to
Read/write devices (printers and some weigh scales), first perform the appropriate procedure for a
Optionally, the E
this Quick Start.
You may want to reference the P
User Guide.
7. Optionally, reference the
8. C
9. Verify any Ethernet TCP/IP devices are connected to the same subnet as the DeviceMaster UP.
the DeviceMaster UP is labeled accordingly.
F NECESSARY, UPLOAD the EtherNet/IP firmware into the DeviceMaster UP using PortVision DX.
Configuring Read-Only Serial
Devices on Page 9or Configuring Read-Only Ethernet TCP/IP Devices on Page 13.
read-only device and then go to
THERNET/IP USER GUIDE provides detailed information about each web page discussed in
EXAMPLE PLC PROGRAMS in the DeviceMaster UP EtherNet/IP User Guide.
ONNECT any serial device or devices.
Configuring Read/Write Devices on Page 19.
ROGRAMMING INTERFACE chapter in the DeviceMaster UP EtherNet/IP
DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D Overview - 5

Locating the Latest Software and Documentation

You can use the links in this table to check for updated software or documentation.
Software and Documentation FTP
Use PortVision DX to manage Comtrol Ethernet-attached devices to:
Scan the network for attached devices
View networked devices in real-time
Access product-specific network settings configurations
Assign IP addresses and network settings to one or multiple devices
Upload the latest firmware or Bootloader
PortVision DX
(Windows)
EtherNet/IP Firmware
DeviceMaster UP Hardware Installation and Configuration Guide
Save and load configuration files
Access DeviceMaster UP configuration web pages
Access Telnet/SSH sessions
Remotely reboot devices
Download technical documentation
Enable event logging to assist in monitoring and troubleshooting
Create shortcuts to quickly access your favorite applications
Organize devices into folders and create multiple views
Enter notes about a folder or device
This is the application that may or may not have been loaded on the DeviceMaster UP depending on the model that was ordered.
You may need to use PortVision DX to load this firmware.
This contains hardware installation, configuration information, and connector information.
This includes using PortVision DX to configure the IP address and if necessary, how to update the firmware.
Overview
EtherNet/IP Interface Configuration Quick Start
This document with web interface configuration procedures.
The User Guide contains detailed information about the EtherNet/IP (application) firmware, which includes additional information about
EtherNet/IP User Guide
the web configuration interface for EtherNet/IP.
It also discusses the example PLC programs that were installed on your system and provides a Programming Interface chapter.
This Guide discusses the data extraction and filtering processes in the DeviceMaster UP are designed to off load as much work as possible
DeviceMaster UP Filtering and Data Extraction Reference
from the PLC and/or application and provide a very simple and easy to use interface for standard RFID and barcode data.
Guide
This functionality and interface is designed to save dozens, possibly hundreds of lines of ladder logic in a typical PLC program.
6 - Overview DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Data Type Definitions

The following data type definitions apply in this Interface Configuration Guide.
Data Type Definition
USINT Unsigned short integer (8-bit) UINT Unsigned integer (16-bit) UDINT Unsigned double integer (32-bit) BYTE Bit string (8-bit)
Overview
DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D Overview - 7
Overview
8 - Overview DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Configuring Read-Only Serial Devices

Prerequisites

Before you can configure the serial ports for read-only serial devices, make sure that you have done the following:
Installed the hardware
Installed PortVision DX
Configured the DeviceMaster UP IP address using PortVision DX
Uploaded the EtherNet/IP firmware (V3.x or higher) using PortVision DX
If you need to perform any of these procedures or locate the latest files, see

Embedded Web Page Configuration

Use the following procedure to configure read-only serial ports.
1. Access the Server Configuration web page by entering the DeviceMaster UP IP address in your web
browser or by highlighting the DeviceMaster UP in PortVision DX and clicking Webpage.
Note: If the browser does not display the web page correctly, clear the browser history and refresh the
DeviceMaster UP web page.
2. Click the Serial Device Configuration link.
Installation Overview on Page 5.
DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D Configuring Read-Only Serial Devices - 9
Configuring Read-Only Serial Devices
3. Click the appropriate Port N link to open the Edit Serial Port Configuration page.
4. Set up the Serial Configuration for the device that you plan on attaching to this port.
5. Set up the Serial Packet Identification.
a. Set STX (Start of
transmission) Rx Detect in decimal format.
b. Set ETX (End of
transmission) Rx Detect in decimal format.
c. Set the PLC specific
Strip Rx STX/ETX Chars setting if you do
not wish to receive the STX/ETX bytes in the received data packet.
Note: Refer to your serial device's User Manual for the Start and End of Transmission byte(s) value(s).
You may also be able to use the Serial Interface Logs page to determine these settings.
10 - Configuring Read-Only Serial Devices DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D
Configuring Read-Only Serial Devices
6. Set up the Ethernet/IP Settings. a. Set Rx (To PLC) Ethernet
Transfer Mode to Write-to-Tag/ File.
b. Set PLC IP Address in
xxx.xxx.xxx.xxx format.
c. If ControlLogix, set the PLC
Controller Slot Number. This
varies from zero to (max slot number –1), but must always be zero for CompactLogix. For example, if the PLC has seven slots, the slot number range would be zero to six. (This field is ignored for SLC/ PLC-5 PLCs.)
d. If necessary, change the Maximum PLC Update Rate (Write-To-Tag/File) in seconds. e. If necessary, change the Maximum Rx Data Packet Size in bytes. f. Set Oversized Rx Packet Handling to Truncate or Drop, depending on your environment. g. Set the Rx (To PLC) Produced Tag Name for the PLC type.
ControlLogix PLCs: Set the Rx (To PLC) Produced Tag Name to the name of the tag where you want the data placed. The tag must be an array of SINTs (bytes) large enough to hold the maximum sized data plus four bytes for the sequence number and length fields. The maximum size is 444 SINTs.
SLC or PLC-5 PLCs:
•SettheRx (To PLC) Produced Tag Nametothefilenumberwhereyouwantthedataplaced.Thismustbe
anintegerfileorfilesinsequencelargeenoughforthemaximumsizeddataplustwointegersforthe sequencenumberandlengthfields.
•Set(PLC-5/SLC) Rx MS Byte FirstifyouwishtoreceivedataMSbytefirst(lefttorightinintegerformat).
7. Set the Filtering/Data Extraction Configuration:
If no filtering/data extraction is required, leave all filtering/data extraction settings to defaults.
If filtering/data extraction is required, go to
Filtering/Data Extraction Configuration on Page 25.
8. Set the Application TCP Connection Configuration.
If no application socket interface is required, leave all application socket interface settings at defaults
and verify that the Application Enable option is not selected.
If an application socket interface is required, go to
Application Socket Configuration on Page 31.
9. Verify Reset Port and Save in Flash are selected and click Submit.
10. Optionally, save the settings in a configuration file using PortVision DX, which saves the network settings and the protocol settings. You can use configuration files to upload the settings to multiple DeviceMaster UPs or for restoration purposes.
a. In PortVision DX, right-click the DeviceMaster UP in the Device List pane (lower), and click
Configuration > Save.
b. Enter a file name for the configuration file (filename.dc) and click Save.
If all is set up correctly, the DeviceMaster UP places the data packets into the specified tag(s) or file locations. The first integer received is the sequence number. This is incremented with each new data packet. The next integer is the length, which indicates the number of bytes of data received. The rest is data.
DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D Configuring Read-Only Serial Devices - 11
Loading...
+ 25 hidden pages