Omron NJ Series Connection Manual
Omron NJ Series Connection Manual

Omron NJ Series Connection Manual

Machine automation controller
Hide thumbs Also See for NJ Series:

Advertisement

Quick Links

Machine Automation Controller NJ-series
Connection Guide
EtherCAT(R)
OMRON Corporation
Vision Sensor
(FQ-MS12[](-M)-ECT)
P610-E1-01

Advertisement

Table of Contents
loading

Summary of Contents for Omron NJ Series

  • Page 1 Machine Automation Controller NJ-series Connection Guide EtherCAT(R) OMRON Corporation Vision Sensor (FQ-MS12[](-M)-ECT) P610-E1-01...
  • Page 2 EtherCAT(R) is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Sysmac is a trademark or registered trademark 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

    Table of Contents Related Manuals ..................1 Terms and Definitions ................. 2 Precautions ....................3 Overview ...................... 4 Applicable Devices and Device Configuration ........4 5.1. Applicable Devices ................4 5.2. Device Configuration ................5 EtherCAT Settings ..................7 6.1. Setting the Vision Sensor Parameters ..........
  • Page 4: Related Manuals

    1.Related Manuals 1. Related Manuals The table below lists the manuals related to this document. To ensure system safety, make sure to always read and heed the information provided in all Safety Precautions, Precautions for Safe Use, and Precaution for Correct Use of manuals for each device which is used in the system.
  • Page 5: Terms And Definitions

    2.Terms and Definitions 2. Terms and Definitions Term Explanation and Definition PDO Communications This method is used for cyclic data exchange between the (Communications using master unit and the slave units. Process Data Objects) PDO data (i.e., I/O data that is mapped to PDOs) that is allocated in advance is refreshed periodically each EtherCAT process data communications cycle (i.e., the period of primary periodic task).
  • Page 6: 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 2014. It is subject to change without notice for improvement.
  • Page 7: Overview

    4. Overview This document describes the procedure for connecting Vision Sensor (FQ-MS12[](-M)-ECT, hereinafter referred to as Vision Sensor) of OMRON Corporation (hereinafter referred to as OMRON) to NJ-series Machine Automation Controller (hereinafter referred to as Controller) via EtherCAT and provides the procedure for checking their connection.
  • Page 8: Device Configuration

    (Built-in EtherCAT port) OS:Windows 7) Ethernet cable USB cable Ethernet cable * I/O cable 24 VDC power supply Manufacturer Name Model Version OMRON CPU Unit NJ501-1500 Ver.1.08 (Built-in EtherCAT port) OMRON Power Supply Unit NJ-PA3001 OMRON Sysmac Studio SYSMAC-SE2[][][] Ver.1.09...
  • Page 9 5.Applicable Devices and Device Configuration Precautions for Correct Use The connection line of EtherCAT communication cannot be shared with other Ethernet networks. Do not use devices for Ethernet such as a switching hub. Use the cable (double shielding with aluminum tape and braiding) of Category 5 or higher, and use the shielded connector of Category 5 or higher.
  • Page 10: Ethercat Settings

    6.EtherCAT Settings 6. EtherCAT Settings This section describes the specifications such as parameters and device variables for the Vision Sensor that are set in this document. Hereinafter, the Vision Sensor is referred to as the "Destination Device" or the "Slave Unit" in some descriptions.
  • Page 11: Device Variables

    6.EtherCAT Settings 6.2. Device Variables The PDO communications data for the Destination Device are allocated to the Controller's device variables. The device variables and the data types are shown below. ■ Output area (from Controller to Destination Device) Global variable Data type Meaning E001_Vision_Control_Flag...
  • Page 12: Ethercat Connection Procedure

    7.EtherCAT Connection Procedure 7. EtherCAT Connection Procedure This section describes the procedure for connecting the Controller to the Vision Sensor via EtherCAT. This document explains the procedures for setting up the Controller and the Vision Sensor from the factory default setting. For the initialization, refer to Section 8. Initialization Method. 7.1.
  • Page 13: Hardware Settings Of The Vision Sensor

    7.EtherCAT Connection Procedure 7.2. Hardware Settings of the Vision Sensor Make the hardware settings of the Vision Sensor. 7.2.1. Hardware Settings Set the hardware switches on the Vision Sensor and connect the cables. Precautions for Correct Use Make sure that the power supply is OFF when you perform the setting up. Make sure that the power supply to the Vision Sensor is OFF.
  • Page 14 7.EtherCAT Connection Procedure Connect the Controller to the Ethernet cable EtherCAT input connector with Controller an Ethernet cable. Connect the Personal computer I/O cable 24 VDC to the Ethernet connector with power supply an Ethernet cable. Ethernet cable Connect the 24 VDC power Personal computer supply to the I/O connector with (Bottom view of Vision Sensor)
  • Page 15: Setting Up The Controller

    7.EtherCAT Connection Procedure 7.3. Setting Up the Controller Set up the Controller. 7.3.1. Starting the Sysmac Studio and Setting the EtherCAT Network Configuration Start the Sysmac Studio and set the EtherCAT network configuration. Install the Sysmac Studio and USB driver in the Personal computer beforehand. Connect the Ethernet cable to CPU Unit the built-in EtherCAT port...
  • Page 16 7.EtherCAT Connection Procedure The Connect to Controller Dialog Box is displayed. Select the Direct connection via USB Option of Connection type. Uncheck both the Upload the project Check Box and the Display the Troubleshooting Dialog Box Check Box of Operation after Connection. Click the Connect Button.
  • Page 17 7.EtherCAT Connection Procedure The Auto Connect Project Dialog Box is displayed online. When an online connection is established, a yellow bar is Toolbox displayed on the top of the Edit Pane. Status Monitor Pane Multiview This window consists of the Edit Pane Explorer following panes.
  • Page 18 7.EtherCAT Connection Procedure Right-click Master and select Compare and Merge with Actual Network Configuration. A screen is displayed stating "Get information is being executed". The Compare and Merge with Actual Network Configuration Dialog Box is displayed. Node address 1 and FQ-MS12x-M-ECT Rev:1.0 are added to the Actual network configuration after the...
  • Page 19 7.EtherCAT Connection Procedure Node address 1, E001, and FQ-MS12x-M-ECT Rev:1.0 are added to the Network configuration on Sysmac Studio. Confirm that the data above are added and click the Close Button. Node address 1, E001, and FQ-MS12x-M-ECT Rev:1.0 are added to the EtherCAT Tab Page on the Edit Pane.
  • Page 20 7.EtherCAT Connection Procedure 7.3.2. Setting the Device Variables Set the device variables used for the EtherCAT Slave Unit. Select Offline from the Controller Menu. The yellow bar on the top of the Edit Pane disappears. Select FQ-MS12x-M-ECT Rev:1.0 in the EtherCAT Tab Page.
  • Page 21 7.EtherCAT Connection Procedure Double-click I/O Map under Configurations and Setup in the Multiview Explorer. The I/O Map Tab Page is displayed on the Edit Pane. Confirm that Node1 is displayed in the Position Column and the Slave Unit is displayed. *To manually set a variable name for the Slave Unit, click a column under the Variable...
  • Page 22 7.EtherCAT Connection Procedure Additional Information The device variables are named automatically from a combination of the device names and the port names. The default device names are “E" followed by a serial number that starts from 001. Additional Information In this document, device variables are automatically named for a unit (a slave). Device variables can also be manually named for ports.
  • Page 23 7.EtherCAT Connection Procedure 7.3.3. Transferring the Project Data Transfer the project data from the Sysmac Studio to the Controller. Always confirm safety at the Destination Device before you transfer a user program, configuration data, setup data, device variables, or values in memory used for CJ-series Units from the Sysmac Studio.
  • Page 24 7.EtherCAT Connection Procedure Confirm that "0 Errors" and "0 Warnings" are displayed in the Build Tab Page. Select Online from the Controller Menu. Select Synchronization from the Controller Menu. The Synchronization Dialog Box is displayed. Confirm that the data to transfer (NJ501 in the right dialog box) is selected.
  • Page 25 7.EtherCAT Connection Procedure A confirmation dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. A screen stating "Synchronizing" is displayed. A confirmation dialog box on the right is displayed. Confirm that there is no problem and click the No Button.
  • Page 26: Setting The Vision Sensor Parameters

    7.EtherCAT Connection Procedure 7.4. Setting the Vision Sensor Parameters Set the parameters for the Vision Sensor. 7.4.1. Parameter Settings Set the Vision Sensor parameters from the Sysmac Studio. Precautions for Correct Use Use the Sysmac Studio on the Personal computer to set up or adjust the Vision Sensor via Ethernet.
  • Page 27 7.EtherCAT Connection Procedure Right-click System Data under Configurations and Setup - EtherCAT - Node1:FQ-MS12x-M-ECT-v1.5 (E001):Offline - System in the Multiview Explorer and select Edit from the menu. The System Data Tab Page is displayed in the Edit Pane. The Trigger settings Dialog Box is displayed.
  • Page 28 7.EtherCAT Connection Procedure Right-click Node1:FQ-MS12x-M -ECT-v1.5 (E001):Offline under Configurations and Setup - EtherCAT in the Multiview Exp lorer and select Edit from the menu. The Node1:FQ-MS12x-M-ECT-v 1.5 Tab Page is displayed in t he Edit Pane Click the Online Icon on the left to the Node1:FQ-MS12x-M-ECT-v1.5 Tab Page.
  • Page 29 7.EtherCAT Connection Procedure The Connection destination Dialog Box is displayed. Confirm that FQ-MS120-M-ECT and 1.5 (model and ver. of Vision Sensor) are displayed. Click the Connect Button. *If the Smart Motion Tool Dialog Box is displayed, check the model (version) of “Project” and “Connection destination”...
  • Page 30 7.EtherCAT Connection Procedure Click the Setup Button of Switch the sensor mode. The Confirm change to Setup mode Dialog Box is displayed. Click the Transfer to Sensor Button. Confirm that Switch the sensor mode changes to Setup. Click the Save data Button of Transfer/Save Data.
  • Page 31 7.EtherCAT Connection Procedure Click the Tool Icon on the left to Node1:FQ-MS12x-M-ECT-v1.5 Tab Page. The Tool Display is displayed. Click the Restart Button of Sensor setup. The Restart Dialog Box is displayed. Confirm that there is no problem and click the Yes Button.
  • Page 32 7.EtherCAT Connection Procedure A message indicating "A Link OFF state occurred" is displayed in the Troubleshooting Window. Click the Reset All Button. The Troubleshooting Dialog Box is displayed. Check the contents and click the Yes Button. A message indicating "No Error" is displayed in the Details Field in the Troubleshooting Window.
  • Page 33: Checking The Ethercat Communications

    7.EtherCAT Connection Procedure 7.5. Checking the EtherCAT Communications Confirm that the PDO Communications of EtherCAT are performed normally. 7.5.1. Checking the Connection Status Check the connection status. Confirm that the EtherCAT communications are performed normally by checking the LED indicators on the Controller. The LED indicators in normal status are as follows: [NET RUN]: Lit green...
  • Page 34 7.EtherCAT Connection Procedure 7.5.2. Checking the Data that are Sent and Received Confirm that the correct data are sent and received. Select the Watch (Project) Tab Page. Enter the following names in the Watch (Project) Tab Page for monitoring. Click an Input Name… in the Name Column to enter a new name.
  • Page 35 7.EtherCAT Connection Procedure The Monitoring Window for the Vision Sensor is displayed. In the right example, Count is 0. Confirm that the Online value of E001_TRIG is False and click TRUE in the Modify Column in the Watch (Project) Tab Page. Confirm that the Online value changes to True.
  • Page 36: Initialization Method

    8.Initialization Method 8. Initialization Method This document explains the setting procedure from the factory default setting. Some settings may not be applicable as described in this document unless you use the devices with the factory default setting. 8.1. Initializing the Controller To initialize the settings of the Controller, select Clear All Memory from the Controller Menu of the Sysmac Studio.
  • Page 37: Revision History

    9.Revision History 9. Revision History Revision Date of revision Revision reason and revision page code Jul. 7, 2014 First edition...
  • Page 38 2014 P610-E1-01 0714(-)

Table of Contents