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.
2. Terms and Definition 2. Terms and Definition Terms Explanation and Definition This method is used for cyclic data exchange between the master unit Communications and the slave units. (Communications PDO data (i.e., I/O data that is mapped to PDOs) that is allocated in using Process Data advance is refreshed periodically each EtherCAT process data objects)
(4) It is prohibited to copy, to reproduce, and to distribute a part of or whole part of this document without the permission of OMRON Corporation. (5) This document provides the latest information as of March 2013. The information on this manual is subject to change for improvement without notice.
Page 6
3. Remarks The following notation is used in this document. Precautions for Safe Use Indicates precautions on what to do and what not to do to ensure using the product safely. Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and performance.
4. Overview This document describes the procedure for connecting the Sensor Communication Unit (E3X-ECT) of OMRON Corporation (hereinafter referred to as OMRON) to NJ-series Machine Automation Controller (hereinafter referred to as Controller) on EtherCAT and provides the procedure for checking their connection.
NJ501-1500 Personal computer (Built-in EtherCAT port) E3X-HD0 (3 units) (Sysmac Studio installed, OS:Windows7) Ethernet cable USB cable Manufacturer Name Model Version OMRON CPU Unit NJ501-1500 (Built-in EtherCAT port) OMRON Power Supply Unit NJ1W-PA3001 OMRON Sysmac Studio SYSMAC-SE2[][][] Ver.1.01 Personal computer...
6. EtherCAT Settings 6. EtherCAT Settings This section describes the specifications such as communication parameters and variables that are set in this document. 6.1. EtherCAT Communications Settings The following is the setting of the destination device. E3X-ECT Node address 6.2. Allocating the Global Variables The device variables of the destination device are allocated to the Controller's global variables.
Page 10
6. EtherCAT Settings Destination device data Global variable name Data type Input bits 16 to 31 E001_Read_input_2nd_word WORD Sensor 9 output 1 E001_In_Bit16 BOOL Sensor 9 output 2 E001_In_Bit17 BOOL Sensor 10 output 1 E001_In_Bit18 BOOL Sensor 10 output 2 E001_In_Bit19 BOOL Sensor 11 output 1...
7. Connection Procedure 7. Connection Procedure This section describes how to connect the Sensor Communication Unit via EtherCAT. This document explains the procedures for setting up the Controller and Sensor Communication Unit from the factory default setting. For the initialization, refer to Section 8 Initialization Method.
7. Connection Procedure 7.2. Setting Up the Sensor Communication Unit Set up the Sensor Communication Unit. 7.2.1. Hardware Settings Check the hardware switches on the Sensor Communication Unit. Precautions for Correct Use Make sure that the power supply is OFF when you perform the settings. Make sure that the power supply of the Sensor Communication Unit is turned OFF.
Page 13
7. Connection Procedure Refer to the right figure and check the hardware switches located on the front panel of the Sensor Communication Unit. Set the NODE ADDRESS switches as follows: x 100 x 10 Set the node address to 001. Connect the Ethernet Communication cable to the built-in EtherCAT port on the...
7. 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 Automation Software Sysmac Studio and set the EtherCAT network configuration. Install the software and USB driver beforehand. Start the Sysmac Studio.
Page 15
7. Connection Procedure Select Communications Setup from the Controller Menu. Additional Information For details on the online connections to a Controller, refer to Section 5 Going Online with a Controller in the Sysmac Studio Version 1.0 Operation Manual (Cat. No. W504). The Communications Setup Dialog Box is displayed.
Page 16
7. Connection Procedure A confirmation dialog is displayed. Click the Yes Button. Check that the controller status on the Toolbox is changed to the PROGRAM mode. Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-click EtherCAT under Configurations and Setup and select Edit.
Page 17
7. Connection Procedure A confirmation dialog box is displayed. Click the Apply Button. Check that node address 1 and E001 E3X-ECT Rev:1.0 are added to the Network configuration on Sysmac Studio. Node address 1 and E001 E3X-ECT Rev:1.0 are added to the EtherCAT Tab Page in the Edit Pane.
Page 18
7. Connection Procedure 7.3.2. Setting Global Variables Set global variables to use for the EtherCAT Slave Unit. Select Offline from the Controller Menu. Double-click I/O Map under Configurations and Setup on the Multiview Explorer, or right-click I/O Map and select Edit. The I/O Map Tab is displayed on the Edit Pane.
Page 19
7. Connection Procedure The Variable names and Variable Types are automatically set. Additional Information The device variable names are created automatically from a combination of the device names and the I/O port names. For slave units, the default device names start with an "E" followed by a sequential number starting from "001".
Page 20
7. Connection Procedure 7.3.3. Transferring Project Data Transfer the project data from the Sysmac Studio to the Controller. Select Online from the Controller Menu. When an online connection is established, a yellow bar is displayed on the top of the Edit Pane.
Page 21
7. Connection Procedure Check that the synchronized data is displayed with the color specified by “Synchronized”, and that a message is displayed stating "The synchronization process successfully finished". If there is no problem, click the Close Button. *If the synchronization fails, check the wiring and repeat the procedure described in this section.
Page 22
7. Connection Procedure 7.3.4. Setting the Number of Sensors to Connect Set the number of Sensors connected to the Sensor Communication Unit Double-click the Parameter under Configurations and Setup - EtherCAT - Node1:E3X-ECT(E001) in the Multiview Explorer or right-click Parameter and select Edit from the menu.
Page 23
7. Connection Procedure A confirmation dialog box is displayed. Click the Transfer Button. A screen is displayed indicating the transfer is being performed. A screen is displayed indicating the setting was written in the salve. Click the Close Button. After the transfer is completed, click the OK Button.
Page 24
7. Connection Procedure The Troubleshooting Dialog Box is displayed. A link OFF error is occurring. Click the Reset All Button. A confirmation dialog is displayed. Click the Yes Button. Check that a message stating No error is displayed. Click the button to exit.
7. Connection Procedure 7.4. Checking the Connection Status Check the EtherCAT network connection status. 7.4.1. Checking the Connection Status Check that the EtherCAT communication is normally performed. Check the LED indicators on the Controller and confirm that the EtherCAT communications are performed normally.
Page 26
7. Connection Procedure ■LED indicators on the Sensor Communication Unit Status Description Status Description Status Description [PWR] indicator [L/A IN] indicator [L/A OUT] indicator Link not established in Link not established in Not lit Unit power OFF state Not lit Not lit physical layer physical layer...
Page 27
7. Connection Procedure 7.4.2. Checking Data That Are Sent and Received Check if the correct data are sent and received. Select Mode - RUN Mode from the Controller Menu. A confirmation dialog is displayed. Click the Yes Button. Check that the controller status on the Toolbox is changed to the RUN mode.
Page 28
7. Connection Procedure Check the Monitor Button and Stop Monitoring Button on the toolbar of the Sysmac Studio to see if the Controller is in monitor status. Monitor Check that the Monitor Button is Stop Monitoring selected and is not selectable and that the Stop Monitoring Button is selectable (monitor status) as shown in the right figure.
Page 29
7. Connection Procedure Now, characters can be entered. Enter the device variable name. Enter E001_In_Bit00 (input 00). Type the first character E. A list of device variables starting with E is displayed. Double-click E001_In_Bit00. E001_In_Bit00 is entered in the Name Column. Click the cell that states Input Name at the bottom of the Watch Tab Page.
8. Initialization Method 8. Initialization Method This document explains the setting procedure from the factory default setting. If the device settings have been changed from the factory default setting, some settings may not be applicable as described in this procedure. 8.1.
Need help?
Do you have a question about the Sysmac NJ Series and is the answer not in the manual?
Questions and answers