Omron NX Series Network Connection Manual

Omron NX Series Network Connection Manual

Auto focus multi code reader
Hide thumbs Also See for NX Series:

Advertisement

Quick Links

Machine Automation Controller NX-series
Serial (RS-232C) Communications
Connection Guide
OMRON Corporation
Auto Focus Multi Code Reader
V320-F / V420-F / V430-F-series
Z465-E1-01

Advertisement

Table of Contents
loading

Summary of Contents for Omron NX Series

  • Page 1 Machine Automation Controller NX-series Serial (RS-232C) Communications Connection Guide OMRON Corporation Auto Focus Multi Code Reader V320-F / V420-F / V430-F-series Z465-E1-01...
  • Page 2 Microsoft product screen shots used with permission from Microsoft. Windows is a registered trademark of Microsoft Corporation in the USA and other countries. Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products.
  • Page 3: Table Of Contents

    Contents Related Manuals ..................1 Restrictions and Precautions ..............2 Overview ...................... 3 Applicable Products and Support Tools ..........4 4.1. Applicable Products ................4 4.2. Device Configuration ................5 Serial Communications Settings ............. 10 5.1. Serial Communications Settings ............10 5.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: 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 April 2023.
  • Page 6: Overview

    3. Overview 3. Overview This document describes the procedures for connecting the OMRON code reader products (V320-F/V420-F/V430-F) to an NX Series Machine Automation Controller with a Serial Communications Unit (hereinafter referred to as “controller”) via serial communications and for checking their connections.
  • Page 7: Applicable Products And Support Tools

    For details on the above products (other than communication connection procedures), please refer to the instruction manual for the product or contact OMRON. Precautions for Correct Use The connection and connection check procedures described in this document use the devices listed in section 4.2, from among the above applicable devices.
  • Page 8: Device Configuration

    Windows 10) V/F320-F adapter for all LAN cable V420-F cable accessories, RJ50 to DB-15 V320-WRX-2M Manufacturer Name Model Version OMRON NX Series CPU Unit NX1P2-9024DT Ver. 1.19 (Built-in EtherNet/IP Port) OMRON Serial Communications Unit NX-CIF210 Ver. 2.1 OMRON Sysmac Studio SYSMAC-SE2...
  • Page 9 V/F320-F adapter for all V420-F USB breakout cable cable accessories, RJ50 to DB-15 V420-WUB-1M V320-WR-1M Manufacturer Name Model Version PC (OS: Windows 10) OMRON Code reader Ver. 2.1.0 V320-F000M12M-SRX OMRON V/F320-F adapter for all V420- V320-WR-1M F cable accessories, RJ50 to DB-15 OMRON...
  • Page 10 Windows 10) Cable (RS-232 breakout (DB-15) and external power supply input) LAN cable V420-WRX-1M Manufacturer Name Model Version OMRON NX Series CPU Unit NX1P2-9024DT Ver. 1.19 (Built-in EtherNet/IP Port) OMRON Serial Communications Unit NX-CIF210 Ver. 2.1 OMRON Sysmac Studio SYSMAC-SE2...
  • Page 11 WebLink cannot be used for RS-232C connection. To use WebLink, the following system components for USB connection are required. (OS: Windows 10) V420-F000M12M-SRX USB breakout cable V420-WUB-1M Manufacturer Name Model Version PC (OS: Windows 10) OMRON Code reader Ver. 2.1.0 V420-F000M12M-SRX OMRON USB breakout cable V420-WUB-1M...
  • Page 12 *1: The Ethernet cable is used for WebLink connection. Precautions for Correct Use Obtain the latest version of the Sysmac Studio Project File from OMRON in advance. (Contact OMRON for information on how to obtain this file.) Precautions for Correct Use Ensure that the Sysmac Studio and CX-Protocol are updated to the versions specified in this section or higher.
  • Page 13: Serial Communications Settings

    5. Serial Communications Settings 5. Serial Communications Settings This section shows the specifications of the communication parameter settings, cable wiring, and other information provided in this document. Note You need to modify the program to use communication settings that are not described in this section.
  • Page 14: Cable Wiring Diagram

    5. Serial Communications Settings 5.2. Cable Wiring Diagram For details on cable wiring, refer to Section 4 Installation and Wiring in the NX-series Communications Interface Units User’s Manual (Cat. No. W540). Check the connector shape and signal lines (pin assignment) before you prepare the cable. ...
  • Page 15: Example Of Connection Check For Communications

    For details on the ladder program, please refer to Appendix 2. Ladder Program. The “Read code” message is sent and received between the NX Series CPU Unit and the code reader. An overview of the operation is shown below.
  • Page 16: Connection Procedure

    6. Connection Procedure 6. Connection Procedure This section describes the procedures for connecting the code reader to the controller for serial communications. In this document, it is assumed that the controller and the code reader use the factory default settings. For how to initialize the devices, refer to Appendix 1. Initializing the System. 6.1.
  • Page 17: Code Reader Setup

    6. Connection Procedure 6.2. Code Reader Setup Set up the code reader. 6.2.1. Setting the Communication 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 V320-F/V420-F] Establish a USB connection between the V320/V420 and the PC according to the configuration shown on page 6 or page 8.
  • Page 18 6. Connection Procedure [V430-F Series Only] Switching hub W4S1-05C Connect the Ethernet connector on the code reader to the PC using the Ethernet cable V430- WE-3M. Ethernet Turn ON the 24 VDC power Connector supply. Connect the PC to the switching LAN cable hub with a LAN cable.
  • Page 19 6. Connection Procedure Static connection (Setting the fixed IP address) • Using Windows 10 (1) From the Windows Start Menu, select Windows Settings – Network & Internet. (2) Under Change your network settings, click Change adapter options. (3) In Network Connections, right-click on the Ethernet icon and select Properties. (4) In the Ethernet Properties Dialog Box, select Internet Protocol Version 4 (TCP / IPv4), and click the Properties Button.
  • Page 20 6. Connection Procedure The WebLink screen appears. Click on the Setup Tab and, in Read Cycle Sequence, set Cycle to Triggered. Click on the gear icon on the upper right of the screen and select Advanced. The Advanced Settings Screen appears.
  • Page 21 6. Connection Procedure Click on the icon shown in the red frame to save the settings to the code reader. 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.
  • Page 22: Controller Setup

    6. Connection Procedure 6.3. Controller Setup Set up the controller. 6.3.1. Setting the Hardware Check the connection of the Serial Communications Unit. Precautions for Correct Use Turn OFF the power supply before setting the hardware. Confirm that the power supply to the controller is OFF.
  • Page 23 The Import file Dialog Box is displayed. Select OMRON_V320_V420_V430_N X_RXD_V100.smc2 and click Open. * Obtain the latest version of the project file from the OMRON website. The OMRON_V320_V420_ V430_NX_RXD_V100.smc2 Project Window is displayed. The window consists of three panes: “Multiview Explorer” on the left side, “Edit Pane”...
  • Page 24 6. Connection Procedure 6.3.3. Checking Parameters and Executing Build Check the setting parameters. Then, perform program checks and build on project data. Double-click Built-in EtherNet/IP Port Settings under Configurations and Setup – Controller Setup in the Multiview Explorer. The Built-in EtherNet/IP Port Settings Tab Page is displayed in the Edit Pane.
  • Page 25 6. Connection Procedure * If the setting is different, right- click on Node location information and select Create Device Variable from the menu, as shown in the figure on the right. Double-click Task Settings under Configurations and Setup in the Multiview Explorer. The Task Settings Tab Page is displayed in Edit Pane.
  • Page 26 6. Connection Procedure 6.3.4. Going Online and Transferring the Project Data Place the Sysmac Studio online and transfer the project data to the controller. Always confirm safety at the destination node before you transfer a user program, configuration and setup data, device variables, or values in memory used for NX- series Units from the Sysmac Studio.
  • Page 27 6. Connection Procedure 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.1 in Remote IP Address. Click on Ethernet Communications Test and confirm that Communications test OK is displayed.
  • Page 28 6. Connection Procedure When you are online, a yellow border appears in the upper part of the Edit Pane. Select Synchronize from the Controller Menu. The Synchronization Dialog Box is displayed. Confirm that the check box for the data to transfer (i.e. NX1P2 on the figure on the right) is selected, and click Transfer to Controller.
  • Page 29 6. Connection Procedure Select Reset Controller from the Controller Menu. * If Reset Controller is grayed out, the operating mode is RUN mode. Select Mode – PROGRAM from the Controller Menu to change to PROGRAM mode, and then perform the procedure in this section.
  • Page 30 6. Connection Procedure 6.3.5. Transferring the Unit Settings Transfer the setting data for the Serial Communications Unit. Select Mode – PROGRAM Mode from the Controller Menu. A confirmation dialog box appears. Click Yes. In Controller Status, PROGRAM mode is shown. Double-click CPU Rack under Configurations and Setup –...
  • Page 31 6. Connection Procedure Confirm that the Result and Actual Unit Configuration columns show Matched and NX-CIF210, respectively. Click OK. Select the Serial Communications Unit in the tab page. Click Edit Unit Operation Settings. The Unit 1[NXBusMaster] Tab Page is displayed. Click All parameters and select Ch2.
  • Page 32 6. Connection Procedure Open the Parameter group to show pull-down menu and select All parameters▼Ch2. Click Compare. Check that ≠ (mismatch) is not shown in the red frame in the figure on the right.
  • Page 33: Checking That Serial Communications Work

    6. Connection Procedure 6.4. Checking That Serial Communications Work Execute the program to check that serial communications work correctly. Sufficiently confirm safety before you change the values of variables on a Watch Tab Page when the Sysmac Studio is online with the CPU Unit. Incorrect operation may cause the devices that are connected to Output Units to operate regardless of the operating mode of the controller.
  • Page 34 6. Connection Procedure In the Sysmac Studio, select Watch Tab Page from the View Menu. The Watchwindow (Project) 1 Tab Page is displayed under the Edit Pane. Confirm that the variables shown in the figure on the right Program start bit are listed in the Name column.
  • Page 35 6. Connection Procedure 6.4.2. Checking the Receive Data In the Sysmac Studio, check that correct data is written to the controller variables. Check the received data (read code) in the Watch Tab Page of the Sysmac Studio. * In the example figure on the right, the data stored in RecvStringDat is “4912345678904”.
  • Page 36: Appendix 1. Initializing The System

    Appendix 1. Initializing the System Appendix 1. Initializing the System This document assumes that each device uses the factory default settings. If you change their settings from the defaults, you may not be able to perform various setting procedures as described. A1.1.
  • Page 37: A1.2. Initializing The Code Reader

    Appendix 1. Initializing the System A1.1.2 CPU Unit To return the controller to its default settings, select Clear All Memory from Controller Menu in the Sysmac Studio. When the Clear All Memory Dialog Box is displayed, click OK. A1.2. Initializing the Code Reader For information on initializing the code reader, please refer to How to initialize the settings? in Q&A in Appendices of the MicroHAWK V320-F/V330-F/V420-F/V430-F Series Barcode Reader User Manual (Cat.
  • Page 38: Appendix 2. Ladder Program

    This section describes the ladder program specifications and functions for connecting the code reader to an NX Series Serial Communications Unit. This ladder program stores “code data” from the code reader in the memory of the NX Series CPU Unit.
  • Page 39 Instruction Descriptions in the NJ/NX-series Instructions Reference Manual (Cat. No. W502). Operation  The NX_SerialRcv instruction reads data in No-protocol Mode from a serial port on an NX Series Communications Interface Unit or Option Board. NX_SerialRcv Instruction  Variables and Data Types Used in SerialRcv Instruction...
  • Page 40 Appendix 2. Ladder Program...
  • Page 41: A2.2. Program In Ladder Language

    Appendix 2. Ladder Program A2.2. Program in Ladder Language A2.2.1. Functional Components of Program This program is written in the ladder language. The functional components of the program are as follows. Type Function 1. Trigger condition generation Reads the code when the Input_Start bit changes to TRUE.
  • Page 42: A2.3. Variables Used

    Appendix 2. Ladder Program A2.3. Variables Used This section describes variables used in the program. A2.3.1. User-defined Variables The tables below list data types, external variables (user-defined global variables, device variables for the NX Unit, and system-defined variables), and internal variables used in this program.
  • Page 43 Appendix 2. Ladder Program A2.3.2. Program Contents The contents of the program are shown below. ● Program: CD_Recv (Serial Communications Connection Check Program for V Series Code Reader)
  • Page 44: Revision History

    Revision History Revision History Revision Code Revision Date Revised Reason and Page April 2023 First Publication...
  • Page 46 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 2023 All Rights Reserved. OMRON ASIA PACIFIC PTE. LTD. OMRON (CHINA) CO., LTD. In the interest of product improvement, 438B Alexandra Road, #08-01/02 Alexandra Room 2211, Bank of China Tower, specifications are subject to change without notice.

Table of Contents