Omron V330-F Series Connection Manual

Omron V330-F Series Connection Manual

Auto focus multi code reader
Hide thumbs Also See for V330-F Series:

Advertisement

Quick Links

Machine Automation Controller NX-series
EtherNet/IP
OMRON Corporation
Auto Focus Multi Code Reader
V330-F / V430-F-series
Connection Guide
TM
Z420-E1-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the V330-F Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron V330-F Series

  • Page 1 Machine Automation Controller NX-series EtherNet/IP Connection Guide OMRON Corporation Auto Focus Multi Code Reader V330-F / V430-F-series Z420-E1-01...
  • Page 2 ODVA, EtherNet/IP are trademarks of ODVA. Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products. Company names and product names in this document are the trademarks or registered...
  • Page 3: Table Of Contents

    Contents Related Manuals ..................3 Terms and Definitions ................4 Restrictions and Precautions ..............5 Overview ....................6 Applicable Devices and Device Configuration ........7 5.1. Applicable Devices ................7 5.2. Device Configuration ................8 EtherNet/IP Settings ................11 6.1. Parameters ..................11 6.2.
  • Page 4: Related Manuals

    To ensure system safety, make sure to always read and follow the information provided in all Safety Precautions and Precautions for Safe Use in the manuals for each device which is used in the system. The following OMRON Corporation (hereinafter referred to as “OMRON”) manuals are related to this document: Cat. No.
  • Page 5: Terms And Definitions

    2. Terms and Definitions 2. Terms and Definitions Below is a list of terms used in this manual and their definitions. Term Description/Definition Node It refers to a relay point, a branch point or a terminal on an EtherNet/IP network comprised of equipment having an EtherNet/IP port. Devices with one EtherNet/IP port are recognized as one node on the EtherNet/IP network, and devices with two EtherNet/IP ports are recognized as two nodes.
  • Page 6: Restrictions And Precautions

    (4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this document without the permission of OMRON Corporation. (5) The information contained in this document is current as of July 2022.
  • Page 7: Overview

    4. Overview 4. Overview This document describes the procedures for connecting the OMRON code reader products (V330-F/V430-F Series) to an NX Series Machine Automation Controller (hereinafter referred to as the controller) via EtherNet/IP and for checking their connections. Refer to Section 6. EtherNet/IP Settings and Section 7. EtherNet/IP Connection Procedure to understand setting methods and key points to operate EtherNet/IP tag data links.
  • Page 8: Applicable Devices And Device Configuration

    5. Applicable Devices and Device Configuration 5. Applicable Devices and Device Configuration 5.1. Applicable Devices The applicable devices that can be connected are as follows: Manufacturer Name Model Version OMRON NX Series CPU Unit NX701-□□□□ Same or NX102-□□□□ later NX1P2-□□□□ version as...
  • Page 9: Device Configuration

    (Connect to output side) (Connect to PoE injector LAN cable input side) 24 VDC power supply Manufacturer Name Model Version OMRON NX Series CPU Unit NX1P2-9024DT Ver. 1.16 (Built-in EtherNet/IP Port) OMRON Power Supply Unit NJ-PA3001 OMRON Switching hub W4S1-05C...
  • Page 10 Ethernet cable I/O Cable V430-WE-3M V430-W8-3M LAN cable 24 VDC power supply 24 VDC power supply Manufacturer Name Model Version OMRON NX Series CPU Unit NX1P2-9024DT Ver. 1.16 (Built-in EtherNet/IP Port) OMRON Switching hub W4S1-05C OMRON Sysmac Studio SYSMAC-SE2□□□ Ver. 1.28...
  • Page 11 5. Applicable Devices and Device Configuration Precautions for Correct Use Ensure that the Sysmac Studio is updated to the version specified in this documentation, or to a higher version. If you use a version other than the version specified in this section, there may be differences in the procedures in Section 7 and later.
  • Page 12: Ethernet/Ip Settings

    6. EtherNet/IP Settings 6. EtherNet/IP Settings This section shows the specifications of the parameters, global variables, tag sets, and tag data link table that you set in this document. In subsequent sections, the code reader may also be referred to as “target device” depending on the description.
  • Page 13: Data Types To Use For Tag Data Links

    6. EtherNet/IP Settings 6.2. Data Types to Use for Tag Data Links This section describes an example of using data types for the code reader’s tag data link data. <Input and Output Assemblies> • Input Assembly: 1 Decode Input Assembly (103) •...
  • Page 14 6. EtherNet/IP Settings Name of data type Data type Code reader data S_EIPInput103 STRUCT INFO_BITS BYTE INFO BIT RESERVED1 BYTE Reserved for future use RESERVED2 BYTE Reserved for future use RESERVED3 BYTE Reserved for future use DEVICE_STATUS Device_Status Status Signal (32 bits) FAULT CODE DINT Error code...
  • Page 15: Global Variables

    6. EtherNet/IP Settings 6.3. Global Variables The controller treats the data in tag data links as global variables. The settings for global variables are shown below. The global variables below are set in the “project file”. Variable Network Publish Data type Application EIPOutput S_EIPOutput197 For data links to the Output Area...
  • Page 16 6. EtherNet/IP Settings ■ EIPInput Structure Code reader data Variable name Data type INFO BIT EIPInput.INFO_BITS BYTE Reserved for future use EIPInput. RESERVED1 BYTE Reserved for future use EIPInput. RESERVED2 BYTE Reserved for future use EIPInput. RESERVED3 BYTE Status Signal (32 bits) EIPInput.DEVICE_STATUS BOOL[32] Error code...
  • Page 17 6. EtherNet/IP Settings Note The Sysmac Studio has two input methods to specify an array for a data type. If an array is specified in (1), it is converted to (2) after input, and the data type is always displayed in (2). (1) BOOL[16] and (2) ARRAY[0..15] OF BOOL In this document, the data type is described in BOOL[16] for simplicity.
  • Page 18: Tag Set

    6. EtherNet/IP Settings 6.4. Tag Set The settings of a tag set to use tag data links are shown below. Set the data in the tag set in ascending order of the OUT No. or IN No. as shown below. ■...
  • Page 19: Ethernet/Ip Connection Procedure

    7. EtherNet/IP Connection Procedure 7. EtherNet/IP Connection Procedure This section describes the procedures for connecting the code reader and controller on an EtherNet/IP network. In this document, it is assumed that the controller and the code reader use the factory default settings.
  • Page 20: Code Reader Setup

    7. EtherNet/IP Connection Procedure 7.2. Code Reader Setup Set up the code reader. 7.2.1. Setting the Parameters Set the parameters for the code reader. Set the IP address of your PC to 192.168.188.100 and its subnet mask to 255.255.0.0. [Using V330-F] Switching hub V330-F064N12M W4S1-05C...
  • Page 21 7. EtherNet/IP Connection Procedure Set the IP Address of the PC. For the IP address, enter 192.168.188.100. For the subnet mask, enter 255.255.0.0. For the procedure to open the screen on the right, please refer to step 4. Static connection (Setting the fixed IP address) (1) From the Windows Start Menu, select Control Panel –...
  • Page 22 7. EtherNet/IP Connection Procedure If the WebLink startup screen does not appear, it means that communications are not established between the code reader and the PC. Please check the following. • Does the code reader and the PC have a proper physical (cable) connection? •...
  • Page 23 7. EtherNet/IP Connection Procedure The Advanced Settings Screen appears. Check the settings shown in the red frames. EtherNet/IP connection is Enabled by default, so you do not need to change the settings with the default setting. If you need to change the IP address, for example when connecting multiple code readers, change the IP...
  • Page 24 7. EtherNet/IP Connection Procedure Finally, check the version number of the code reader. Click on the gear icon on the upper right of the screen and select About WebLink. Check the current version of the code reader in About WebLink. Make sure that 2.1.0 or later version is shown in the red frame.
  • Page 25: Controller Setup

    7. EtherNet/IP Connection Procedure 7.3. Controller Setup Set up the controller. 7.3.1. Setting the IP Address Start the Sysmac Studio and set the IP address of the controller. Install the Sysmac Studio on the PC beforehand. Connect a LAN cable to the Controller End Cover Built-in EtherNet/IP Port...
  • Page 26 7. EtherNet/IP Connection Procedure The Project Properties Screen is displayed. * This document assumes that the project name is New Project. Make sure that, in Select Device, Category and Device are set for the device to use. Select an applicable version from the Version pull-down list.
  • Page 27 7. EtherNet/IP Connection Procedure The New Project Window is displayed. This window consists of the Toolbox following panes. Left: Multiview Explorer Multiview Edit Pane Upper right: Toolbox Explorer Lower right: Controller Status Pane Top middle: Edit Pane Controller Status Pane In the lower center of the window, the tabs for the following tab pages are...
  • Page 28 7.3.2. Installing the EDS File Install the EDS file for V330-F/V430-F. The EDS file can be downloaded from the OMRON web page. Note that, for V430, the required EDS file differs depending on the version. Select EtherNet/IP Connection Settings from the Tools Menu.
  • Page 29 7. EtherNet/IP Connection Procedure The EDS Library Dialog Box is displayed. Select Install. Select the EDS file that you downloaded and then select Open. Note that there are two EDS files, one for V330-F and the other for V430-F. Select Microscan Systems,Inc.
  • Page 30 7. EtherNet/IP Connection Procedure 7.3.3. Registering the Target Device Register the target device. Select EtherNet/IP Connection Settings from the Tools Menu. In the Edit Pane, the EtherNet/IP Device List Tab Page is displayed. Right-click on Built-in EtherNet/IP Port Settings and select Edit from the menu.
  • Page 31 7. EtherNet/IP Connection Procedure The target device registration dialog box appears. In Node address, enter 192.168.188.2. In Model name and Revision, set the following values by clicking on the corresponding field and selecting from the pull- down menu. Model name: V430-F Revision: 2 * Example of using V430 with version 2.1 or later...
  • Page 32 7. EtherNet/IP Connection Procedure 7.3.4. Setting the Global Variables Set the global variables to use for the tag data links. An example of using the following assemblies is shown here. • Input Assembly: 1 Decode Input Assembly (103) • Output Assembly: Output Assembly (197) Double-click Data Types under Programming –...
  • Page 33 7. EtherNet/IP Connection Procedure Create a data type to check the Status Signal details of the Input Assembly. In Name and Base Type, enter the name and data type of each signal as shown in the figure on the right. Assign also the byte offset and bit offset values in Offset Byte and Offset Bit as shown in the...
  • Page 34 7. EtherNet/IP Connection Procedure In Name and Base Type, enter the name and data type of each signal as shown in the figure on the right. For a detailed explanation of the data shown in the figure on the right, refer to Appendices A-2 EtherNet/IP Specifications in the Autofocus Multicode Reader MicroHAWK V320-F/V330-...
  • Page 35 7. EtherNet/IP Connection Procedure Double-click Programming – Data – Global Variables in the Multiview Explorer. The Global Variables Tab Page is displayed in the Edit Pane. Click in the Name field to enter a new variable. In the Name field, enter EIPOutput.
  • Page 36 7. EtherNet/IP Connection Procedure Double-click Configurations and Setup – Task Settings in the Multiview Explorer. The Task Settings Tab Page is displayed in the Edit Pane. Click on VAR. Click on +. The new area is added. Click on the down arrow in the Variable to be refreshed field for the added area (on the left side of the tab page).
  • Page 37 7. EtherNet/IP Connection Procedure 7.3.5. Registering the Tags Register the tags and tag sets. In the Built-in EtherNet/IP Port Settings Connection Settings Tab Page, select Tag Set. In Tag Sets, select the Input Tab Page. Right-click in the Input Tab Page and select Create New Tag Set from the menu.
  • Page 38 7. EtherNet/IP Connection Procedure Select the Output Tab Page. Right-click in the Output Tab Page and select Create New Tag Set from the menu. You can now enter a new tag set name. Using the same procedure as in step 3, enter EIPOutput.
  • Page 39 7. EtherNet/IP Connection Procedure 7.3.6. Setting Up the Connections Set the target variables (the side on which connections are to be established) and the originator variables (the side on which you want to establish connections) to add connections, and then set up the connections (in the tag data link table). In the Built-in EtherNet/IP Port Settings Connection Settings Tab Page, select Connection.
  • Page 40 7. EtherNet/IP Connection Procedure Click in the Target Variable field for Input. Press the Ctrl + Space Keys on the keyboard to display available assembly numbers. * Entering even the first character 1 displays a list of matching assembly numbers. Select the assembly number.
  • Page 41 7. EtherNet/IP Connection Procedure 7.3.7. Transferring the Project Data Place the Sysmac Studio online and transfer the connection settings and project data to the controller. When you transfer a user program, Configurations and Setup data, device variables, or memory values for CX Units from the Sysmac Studio, the devices and machines may operate unexpectedly regardless of the operating mode of the CPU Unit.
  • Page 42 7. EtherNet/IP Connection Procedure Select Communications Setup from the Controller Menu. The Communications Setup Dialog Box is displayed. Make sure that the Ethernet connection via a hub option is selected in Connection type. Also, enter 192.168.188.200 in Remote IP Address. Click on Ethernet Communications Test and confirm that Communications...
  • Page 43 7. EtherNet/IP Connection Procedure Select Synchronization from the Controller Menu. The Synchronization Dialog Box is displayed. Confirm that the data to transfer is selected. (In the figure on the right, the check box for NX1P2 is selected.) Clear the check box for Do not transfer the EtherNet/IP connection settings (i.e., tag data link settings).
  • Page 44 7. EtherNet/IP Connection Procedure Confirm that the synchronized data is now shown in the color of Synchronized and The Synchronization process successfully finished message is displayed. If there is no problem, click Close. * The Synchronization process successfully finished message indicates that the data in the controller matches the project data in the Sysmac Studio.
  • Page 45: Checking The Ethernet/Ip Communications

    7. EtherNet/IP Connection Procedure 7.4. Checking the EtherNet/IP Communications Check that the EtherNet/IP tag data links are operating normally. 7.4.1. Checking the Connection Status Check the EtherNet/IP connection status and connect the code reader to the WebLink. Check the LED indicators on the controller to confirm that the tag data links are operating normally.
  • Page 46 7. EtherNet/IP Connection Procedure Select the Connection Status Tab Page. Check that the connection is shown with a blue dot ● in the Connection Name field. Check that 00:0000 is shown in the Status field. Select the Tag Status Tab Page. Check that all tags are listed with a blue dot ●...
  • Page 47 7. EtherNet/IP Connection Procedure 7.4.2. Checking the Sent and Received Data Check that the correct data is sent and received. To do so, place a readable code symbol in the code reader’s field of view in advance. If you change variable values online in the Watch Tab Page, the devices connected to Output Units may operate regardless of the operating mode of the CPU Unit.
  • Page 48 7. EtherNet/IP Connection Procedure The Read processing completes and the result is reflected on the WebLink screen. EIPInput.DECODE_LENGTH and EIPInput.DECODE_DATA will display the following for this example string. <Decoded String: 123456> EIPInput.DECODE_LENGTH: 6 EIPInput.DECODE_DATA[0]: 31(1) EIPInput.DECODE_DATA[1]: 32(2) EIPInput.DECODE_DATA[2]: 33(3) EIPInput.DECODE_DATA[3]: 34(4) EIPInput.DECODE_DATA[4]: 35(5) EIPInput.DECODE_DATA[5]: 36(6) DECODE_DATA should be set to...
  • Page 49: Initializing The System

    8. Initializing the System 8. Initializing the System In this document, it is assumed that the controller and the code reader uses the factory default settings. If you change their settings from the default, you may not be able to perform various setting procedures as described.
  • Page 50: Appendices How To Use The Project File

    9. Appendices How to Use the Project File This section explains the procedure for using the following project file. The project file contains the settings described in 7.3. Controller Setup. Obtain the latest version of the project file from OMRON Corporation. Name Filename...
  • Page 51: Controller Setup

    Select the project file OMRON_V330_NX_EIP_V100. csm2 or OMRON_V430_NX_EIP_V100. csm2 and click Open. * Obtain the latest version of the project file from the OMRON website. The New Project Dialog Box is displayed. Confirm the information and click No. The Project Screen is displayed.
  • Page 52 9. Appendices How to Use the Project File Select Change Device from the Controller Menu. The Change Device Dialog Box is displayed. Confirm that the Device and Version settings for the device are as shown in the figure on the right. Click Cancel.
  • Page 53: Revision History

    10. Revision History 10. Revision History Revision Code Revision Date Revised Page and Reason July 2022 First Publication...
  • Page 54 10. Revision History...
  • Page 56 The Netherlands Hoffman Estates, IL 60169 U.S.A. Tel: (31)2356-81-300/Fax: (31)2356-81-388 Tel: (1) 847-843-7900/Fax: (1) 847-843-7787 © OMRON Corporation 2022 All Rights Reserved. OMRON (CHINA) CO., LTD. OMRON ASIA PACIFIC PTE. LTD. In the interest of product improvement, Room 2211, Bank of China Tower, No.

This manual is also suitable for:

V430-f seriesV430-fV420-fV330-fV320-f

Table of Contents