+ All Categories
Home > Documents > EtherNet/IPTM Connection Guide OMRON Corporation · 2017. 11. 14. · document without the...

EtherNet/IPTM Connection Guide OMRON Corporation · 2017. 11. 14. · document without the...

Date post: 31-Jan-2021
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
74
Machine Automation Controller NJ-series EtherNet/IP TM Connection Guide OMRON Corporation FZ4-series Vision Sensor P530-E1-01
Transcript
  • Machine Automation Control ler NJ-series

    EtherNet/IPT M Connection Guide OMRON Corporation FZ4-series Vision Sensor

    P530-E1-01

  • About Intellectual Property Right and Trademarks

    Microsoft product screen shots reprinted with permission from Microsoft Corporation. Windows is registered trademark of Microsoft Corporation in the USA and other countries. EtherNet/IPTM is registered trademark of ODVA. EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Other company names and product names in this document are the trademarks or registered trademarks of their respective companies

  • Table of Contents 1. Related Manuals .................................................................................................1 2. Terms and Definition ..........................................................................................2 3. Remarks ..............................................................................................................3 4. Overview .............................................................................................................5 5. Applicable Devices and Support Software.......................................................6

    5.1. Applicable Devices......................................................................................6 5.2. Device Configuration...................................................................................8

    6. EtherNet/IP Settings .........................................................................................10 6.1. EtherNet/IP Communications Settings ......................................................10 6.2. Allocation of Tag Data Links......................................................................10

    7. Connection Procedure .....................................................................................13 7.1. Overview of Setting Tag Data Links ..........................................................13 7.2. Work Flow .................................................................................................14 7.3. Setting up the Vision Sensor.....................................................................15 7.4. Setting up the Controller ...........................................................................19 7.5. Setting up the Network..............................................................................23 7.6. Checking the EtherNet/IP Communications ..............................................28

    8. Initialization Method.........................................................................................32 8.1. Controller ..................................................................................................32 8.2. Vision Sensor ............................................................................................34

    9. Appendix 1 Detailed Settings of the Tag Data Links .....................................35 9.1. Global Variable Table ................................................................................35 9.2. Relationship between Destination Device and Global Variables ...............36 9.3. Associating the Tag Data Links .................................................................38

    10. Appendix 2 Setting Procedure without the Configuration Files ..................................39 10.1. Overview of Setting Procedure without the Configuration Files ................39 10.2. Work Flow of "Procedure for Setting Parameters from the Beginning" .....40 10.3. Setting up the Controller without the Configuration Files ..........................42 10.4. Setting up the Network with Network Configurator....................................53

    11. Revision History ...............................................................................................69

  • 1. Related Manuals

    1

    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.

    Cat. No. Model Manual name W500 NJ501-[][][][] NJ-series CPU Unit Hardware User's Manual W501 NJ501-[][][][] NJ-series CPU Unit Software User's Manual W506 NJ501-[][][][] NJ-series CPU Unit Built-in EtherNet/IPTM Port User's

    Manual W504 SYSMAC-SE2[][][] Sysmac Studio Version 1 Operation Manual Z318 FZ4 series FZ4 Series Vision Sensor User's Manual

  • 2. Terms and Definition

    2

    2. Terms and Definition

    Terms Explanation and Definition Tag data link A function that enables cyclic tag data exchanges on an EtherNet/IP

    network between Controllers or between Controllers and with other devices without using a user program in the Controllers.

    Tag With the tag data link, a unit of a data area used to specify its memory area and the remote memory area is called "tag". Tags can be specified by using network variable names or physical addresses.

    Tag set With the tag data link, when a connection is established, one or multiple tags (up to 8 tags including the Controller status) are configured as a tag set. This is called a "Tag set". Each tag set represents the data that is linked for a tag data link connection.

    Connection A connection is used to exchange data as a unit within which data synchronicity is maintained. Thus, data concurrency is maintained for all the data exchanged for a tag or multiple tags in one data set.

    Originator and Target

    In tag data links, one node requests the opening of a communications line called "connection" to exchange data with another node. The node that requests opening the connection is called "originator", and the node that receives the request is called "target".

    Node With EtherNet/IP network, 1 node is 1 EtherNet/IP port. Tag data link parameter

    The tag data link parameter is the tag data link setting data which involves tag setting, tag set setting, and connection setting.

  • 3. Remarks

    3

    3. Remarks (1) Understand the specifications of devices which are used in the system. Allow some

    margin for ratings and performance. Provide safety measures, such as installing safety circuit in order to ensure safety and minimize risks for abnormal occurrence.

    (2) To ensure system safety, 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 used in the system.

    (3) The users are encouraged to confirm the standards and regulations that the system must conform to.

    (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 2012. The information on this manual is subject to change for improvement without notice.

  • 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.

    Additional Information Provides useful information. Additional information to increase understanding or make operation easier.

    4

  • 4. Overview

    5

    4. Overview This document describes the procedure for connecting the Vision Sensor (FZ4 series) of OMRON Corporation (hereinafter referred to as OMRON) to the NJ-series Machine Automation Controller (hereinafter referred to as Controller) on EtherNet/IP and provides the procedure for checking their connection. Specifically, it describes the procedure for connecting the EtherNet/IP using the EtherNet/IP settings of the project file prepared beforehand (hereinafter referred to as "procedure for using the configuration files"). Sections 9 A-1 and 10 A-2 describe the procedures for setting parameters without the prepared configuration files (hereinafter referred to as the "procedure for setting parameters from the beginning". To follow the "procedure for using configuration files", obtain the latest "Sysmac Studio project file" and "Network Configurator v3 network configuration file" (they are referred to as "configuration files") from OMRON in advance.

    Name File name Version Sysmac Studio project file (extension: SMC)

    OMRON_FZ4_EIP_EV100.SMC Ver.1.00

    Network Configurator version 3 network configuration file (extension: NVF)

    OMRON_FZ4_EIP_EV100.NVF Ver.1.00

  • 5. Applicable Devices and Support Software

    5. Applicable Devices and Support Software

    5.1. Applicable Devices The following devices can be connected.

    Manufacturer Name Model Version OMRON NJ series CPU Unit NJ501-[][][][] OMRON Vision Sensor

    FZ4 series FZ-Lite series

    FZ4-11[][](-10) FZ4-H11[][](-10) FZ4-7[][](-10) FZ4-H7[][](-10) FZ4-6[][](-10) FZ4-H6[][](-10) FZ4-L35[](-10)

    OMRON 0.3 megapixel digital camera 0.3 megapixel small digital camera 0.3 megapixel small digital pen-shaped camera 0.3 megapixel high-speed camera 2 megapixel digital camera 5 megapixel digital camera Intelligent camera Intelligent compact camera Auto-focus camera

    FZ-SC/S FZ-SFC/SF FZ-SPC/SP FZ-SHC/SH FZ-SC2M/S2M FZ-SC5M2/S5M2 FZ-SLC15/SLC100 FZ-SQ010F/SQ050F

    /SQ100F/SQ100N FZ-SZC15/SZC100

    Versions listed in Section 5.2 and higher versions

    Additional Information As applicable devices above, the devices listed in Section 5.2. are actually used in this document to check the connection. When using devices not listed in Section 5.2, check the connection by referring to the procedure in this document.

    Additional Information This document explains the connection procedure to establish the communications between the devices. It does not explain the method of operation, installation, or wiring of individual device. For details on the above products (other than communication connection procedures), refer to the manuals for the corresponding products or contact your OMRON representative.

    6

  • 5. Applicable Devices and Support Software

    Precautions for Correct Use You can connect devices with the versions listed in Section 5.2 or higher versions. For devices whose versions are not listed in Section 5.2, versions are not managed or there is no version restriction. To connect a device whose model number is not listed in Section 5.2, use the same version of the device that is listed.

    7

  • 5. Applicable Devices and Support Software

    5.2. Device Configuration

    The hardware components to reproduce the connection procedure of this document are as follows.

    NJ501-1500 FZ4-650 Personal computer

    8

    Manufacturer Name Model Version OMRON NJ series CPU Unit

    (Built-in EtherNet/IP port) NJ501-1500

    OMRON Power Supply Unit NJ-PA3001 OMRON Switching Hub W4S1-05C OMRON Sysmac Studio SYSMAC-SE2[][][] Ver.1.00 OMRON Network Configurator (Provided with Sysmac

    Studio.) Ver.3.40

    OMRON Sysmac Studio project file OMRON_FZ4_EIP_EV100.SMC

    Ver.1.00

    OMRON Network Configurator version 3 network configuration file

    OMRON_FZ4_EIP_EV100.NVF

    Ver.1.00

    - Personal computer (OS:Windows7)

    -

    - USB cable (USB 2.0 type B connector)

    -

    - LAN cable (Ethernet STP (Shielded twisted-pair) cable of category 5 or higher)

    -

    OMRON Vision Sensor Controller FZ4-650 OMRON Camera FZ-SLC15 OMRON Camera Cable FZ-VS OMRON Monitor (analog RGB monitor) FZ-M08 - Pointing device Commercially available

    USB connected mouse

    Precautions for Correct Use To use the configuration files, obtain the two latest files from OMRON beforehand: "Sysmac Studio project file" and "Network Configurator version 3 network configuration file". (To obtain the files, contact your OMRON representative.)

    Additional Information Update the Sysmac Studio to the version specified in this section or higher version using the auto update function. If a version not specified in this section is used, the procedures described in Section 7 and subsequent sections may not be applicable. In that case, use the equivalent procedures described in the Sysmac Studio Version 1 Operation Manual (Cat.No. W504) and Network Configurator Online Help.

    (Sysmac Studio installed, (Built-in EtherNet/IP port)

    OS:Windows7)

    USB cable

    LAN cable

    Switching Hub W4S1-05C

  • 5. Applicable Devices and Support Software

    Additional Information In this document, a USB is used to connect with the Controller. For information on how to install a USB driver, refer to A-1 Driver Installation for Direct USB Cable Connection of the Sysmac Studio Version 1 Operation Manual (Cat.No. W504).

    9

  • 6. EtherNet/IP Settings

    10

    6. EtherNet/IP Settings This section describes the specifications such as communication parameters and variables that are set in this document. Hereinafter, the Vision Sensor is referred to as "destination device" in some descriptions.

    6.1. EtherNet/IP Communications Settings The Controller settings are shown below.

    Controller (node 1) Vision Sensor (node 2) IP address 192.168.250.1 192.168.250.2 Subnet mask 255.255.255.0 255.255.255.0

    6.2. Allocation of Tag Data Links The data in the tag data links of the destination device are allocated to global variables of the Controller. The relationship between the device data and the global variables is shown below. The following global variables are defined in the "Configuration file". ■Output area (Controller → Vision Sensor): 20 bytes

    Offset Destination device data Global variable name Data type

    +0 to +1 Control signals (32 bits) EIP002_Vision_Control_Flag_OUT

    BOOL[32]

    +2 to +3 Command code (CMD-CODE)

    EIP002_Vision_Command_OUT

    DWORD

    +4 to +9 Command parameter (CMD-PARAM)

    EIP002_Vision_Command_Parameter_OUT

    UDINT[3]

    *Allocation of control signals

    Allocation 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0EIP002_Vision_Control_

    Flag_OUT[15] to [0] EXE

    EIP002_Vision_Control_Flag_OUT[31] to [16] DSA

    EXE: Command execution bit: The specified command is executed when this bit is turned ON.

    DSA: Data output request bit: A request is made to output the next data when this bit is turned ON.

  • 6. EtherNet/IP Settings

    ■Input area (Controller ← Vision Sensor): 48 bytes

    Offset Destination device data Global variable name Data type

    +0 to +1 Control outputs (32 bits) EIP002_Vision_Status_Flag_IN

    BOOL[32]

    +2 to +3 Command code (CMD-CODE)

    EIP002_Vision_Response_IN

    DWORD

    +4 to +5 Response code (RES-CODE)

    EIP002_Vision_Response_Code_IN

    DWORD

    +6 to +7 Response data (RES-DATA)

    EIP002_Vision_Response_Data1_IN

    DWORD

    +8 to +9 Output data 0 (DATA0) +10 to +11 Output data 1 (DATA1) +12 to +13 Output data 2 (DATA2) +14 to +15 Output data 3 (DATA3) +16 to +17 Output data 4 (DATA4) +18 to +19 Output data 5 (DATA5) +20 to +21 Output data 6 (DATA6) +22 to +23 Output data 7 (DATA7)

    EIP002_Vision_Data_Output_IN

    UDINT[8]

    *Allocation of control outputs

    Allocation 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0EIP002_Vision_Status

    _Flag_IN[15] to [0] RUN OR BUSY FLG

    EIP002_Vision_Status_Flag_IN[31] to [16] GATE

    FLG: Command completion bit: Turns ON when the execution of the command is completed.

    BUSY: Command execution bit: Turns ON during the execution of the command.

    OR: Overall judgment bit: Turns ON when the result of the overall judgment is NG.

    GATE: Data output completion bit: Turns ON when the data output is completed.

    Additional Information For details on the command codes and response codes, refer to Control/Output through EtherNet/IP under Section 7 Methods for Connecting and Communicating with External Devices in the FZ4 Series Vision Sensor User's Manual (Cat. No. Z318).

    11

  • 6. EtherNet/IP Settings

    Additional Information With the Sysmac Studio, the data type is expressed as ARRAY[0..2] OF WORD when an array is specified for a data type. However, the data type of an array is simplified in this document (e.g. WORD[3]). It is possible to set either of the following to specify an array for a data type with the Sysmac Studio.

    •ARRAY[0..2] OF WORD •WORD [3]

    In the example above, 3 WORD array elements are secured.

    12

  • 7. Connection Procedure

    7. Connection Procedure This section describes how to connect the Controller on the EtherNet/IP network using the "procedure for using configuration files". This document explains the setting procedure of the Controller and Vision Sensor from the factory default setting. For the initialization, refer to Section 8 Initialization Method.

    Personal computer

    Controller

    13

    Destination device

    7.1. Overview of Setting Tag Data Links The following figure shows the relationship between processes to operate the tag data links using the "procedure for using configuration files".

    Transferring project data

    Sysmac Studio

    Importing project file

    Transferring tag data link parameters

    Opening network configuration file

    Network Configurator

    Sysmac Studio project file Network Configurator version 3 network configuration file

    Configuration files

  • 7. Connection Procedure

    7.2. Work Flow

    Take the following steps to make the tag data link connection settings for EtherNet/IP.

    7.3 Setting up the Vision Sensor Set up the Vision Sensor. ↓

    7.3.1 Parameter Setting Set the parameters of the Vision Sensor.

    ↓ 7.4 Setting up the Controller Set up the Controller.

    ↓ 7.4.1 Starting the Sysmac Studio and

    Importing the Project File

    Start the Sysmac Studio Automation Software, and import the Sysmac Studio project file.

    ↓ 7.4.2 Going Online and Transferring

    Project Data

    Connect online with the Sysmac Studio and transfer the project data to the Controller.

    ↓ 7.5 Setting up the Network Set the tag data links for the EtherNet/IP.

    ↓ 7.5.1 Starting the Network

    Configurator and Opening the Network Configuration File

    Start the Network Configurator and open the Network Configurator version 3 network configuration file.

    ↓ 7.5.2 Going Online and Transferring

    Tag Data Link Parameters

    Go online with the Network Configurator and transfer the tag data link parameters to the Controller.

    ↓ 7.6 Checking the EtherNet/IP

    Communications

    Confirm that the EtherNet/IP communications are performed normally.

    ↓ 7.6.1 Checking the Connection Status Check the connection status of EtherNet/IP.

    ↓ 7.6.2 Checking Data that are Sent and

    Received

    Confirm that the correct data are sent and received.

    Precautions for Correct Use Obtain the latest "Sysmac Studio project file" and "Network Configurator version 3 network configuration file" from OMRON in advance. (To obtain the files, contact your OMRON representative.)

    14

  • 7. Connection Procedure

    7.3. Setting up the Vision Sensor

    Set up the Vision Sensor.

    7.3.1. Parameter Setting Set the parameters of the Vision Sensor.

    1 Refer to the figure on the right and connect the camera, monitor, mouse and LAN cable. Connect the power cable to the power supply terminal.

    2 Turn ON the power supply to the Vision Sensor. The Language setting Dialog Box is displayed when starting up for the first time. Select a language and click the OK Button. To set the language, click the Yes Button.

    3 Select Controller - Setup setting from the System Menu.

    15

  • 7. Connection Procedure

    4 In the Startup setting Dialog Box, select the Communication Tab. Select EtherNet/IP from Fieldbus. After you change the setting, click the OK Button.

    5 The Startup setting Dialog Box is displayed. Click the OK Button. *The setting changed in the Startup setting Dialog Box will take effect after the setting is saved and the Controller is restarted.

    6 Select Data save from the Data Menu.

    7 The Data save Dialog Box is displayed. Click the Yes Button.

    16

  • 7. Connection Procedure

    8 Select Controller - System restart from the System Menu.

    9 The System restart Dialog Box is displayed. Click the OK Button.

    10 After restart, select Communication - Ethernet: Normal (UDP) from the System Menu.

    11 Select the Use the following IP address Option in the Ethernet Dialog Box. Set the following values and click the OK Button. IP address: 192.168.250.2 Subnet mask:

    255.255.255.0 *To change the values, click to the right of each octet of the IP address. The numeric keypad is displayed as shown on the right. Use the mouse and enter values. After entering, click OK on the numeric keypad.

    12 Select Data save from the Data Menu.

    17

  • 7. Connection Procedure

    13 The Data save Dialog Box is displayed. Click the Yes Button.

    18

  • 7. Connection Procedure

    7.4. Setting up the Controller

    Set up the Controller.

    7.4.1. Starting the Sysmac Studio and Importing the Project File Start the Sysmac Studio Automation Software, and import the Sysmac Studio project file. The software and USB driver must be installed beforehand. Connect a USB cable to the personal computer and to the Controller, and turn ON the power supply to the Controller.

    1 Start the Sysmac Studio. Click the Import Button. *If a confirmation dialog for an access right is displayed at start, select to start.

    2 The Import File Dialog Box is displayed. Select OMRON_FZ4_EIP_EV100.SMC (Sysmac Studio project file) and click the Open Button. *Obtain the Sysmac Studio project file from OMRON.

    3 The OMRON_FZ4_EIP_EV100 project is displayed. The left pane is called Multiview Explorer, the right pane is called Toolbox and the middle pane is called Edit Pane. Multiview

    Explorer Edit Pane Edit Pane Toolbox

    19

  • 7. Connection Procedure

    7.4.2. Going Online and Transferring the Project Data

    Connect online with the Sysmac Studio and transfer the project data to the Controller.

    Always confirm safety at the destination node 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. The devices or machines may perform unexpected operation regardless of the operating mode of the CPU Unit.

    1 Select Communications Setup from the Controller Menu.

    2 The Communications Setup Dialog Box is displayed. Select the Direct Connection via USB Option from Connection Type. Click the OK Button.

    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).

    20

  • 7. Connection Procedure

    3 Select Online from the Controller Menu. A confirmation dialog box is displayed. Click the Yes Button. *The displayed dialog depends on the status of the Controller used. Select the Yes Button to proceed with the processing.

    *The displayed serial ID differs depending on the device.

    4 When an online connection is established, a yellow bar is displayed on the top of the Edit Pane.

    5 Select Synchronization from the Controller Menu.

    6 The Synchronization Dialog Box is displayed. Check that the data to transfer (NJ501 in the right figure) is selected. Then, click the Transfer to Controller Button.

    21

  • 7. Connection Procedure

    7 A confirmation dialog is displayed. Click the Yes Button. A screen stating "Synchronizing" is displayed. A confirmation dialog is displayed. Click the Yes Button.

    8 Check that the synchronized data is displayed with the color specified by “Synchronized”, and check 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.

    22

  • 7. Connection Procedure

    7.5. Setting up the Network

    Set the tag data links for the EtherNet/IP.

    7.5.1. Starting the Network Configurator and Opening the Network Configuration File Start up the Network Configurator and open the Network Configurator version 3 network configuration file.

    Precautions for Correct Use Please confirm that the LAN cable has been connected before proceeding to the following steps. If it is not connected, turn OFF the power to the devices, and then connect the LAN cable.

    1 Start the Network Configurator.

    2 Select Open from the File Menu.

    Network window Hardware List Window

    23

  • 7. Connection Procedure

    3 The Open Dialog Box is displayed. Select OMRON_FZ4_EIP_EV100.NVF (Network Configurator version 3 network configuration file). Then, click the Open Button. *Obtain the Network Configurator version 3 network configuration file from OMRON.

    4 The following devices are displayed in the Network Configuration Pane as shown on the right figure. IP address of node 1:

    192.168.250.1 IP address of node 2:

    192.168.250.2

    24

  • 7. Connection Procedure

    7.5.2. Connecting Online and Transferring the Tag Data Link Parameters

    Connect the Network Configurator online and transfer the tag data link parameters to the Controller.

    1 Select Select Interface - NJ Series USB Port from the Option Menu.

    2 Select Connect from the Network Menu.

    3 The Select Connect Network Port Dialog Box is displayed. Select TCP:2 and click the OK Button.

    4 The Select Connected Network Dialog Box is displayed. Click the OK Button.

    25

  • 7. Connection Procedure

    5 When an online connection has been established normally, the icon shown on the figure turns blue.

    Additional Information If an online connection cannot be made to the Controller, check the cable connection. Or, return to step 1, check the settings and follow each step again. For details, refer to 7-2-8 Connecting the Network Configurator to the Network in Section 7 Tag Data Link Functions of the NJ-series CPU Unit Built-in EtherNet/IP Port User's Manual (Cat. No. W506).

    6 Right-click node 1 device on the Network Configuration Pane and select Parameter - Download. The dialog box on the right is displayed. Click the Yes Button.

    7 The List of Devices that are executing Dialog Box is displayed. Click the Download after changed to Program mode Button. *If the Controller used is in PROGRAM mode, the dialog on the right is not displayed. In that case, proceed to the next step.

    26

  • 7. Connection Procedure

    8 The tag data link parameters are downloaded from the Network Configurator to the Controller.

    9 The dialog on the right is displayed. Click the Yes Button. The dialog on the right is displayed. Click the OK Button.

    27

  • 7. Connection Procedure

    7.6. Checking the EtherNet/IP Communications

    Confirm that the EtherNet/IP communications are performed normally.

    7.6.1. Checking the Connection Status Check the connection status of EtherNet/IP

    1 Check the LED indicators on the Controller to see if the tag data links are normally in operation. LED indicators in normal status:

    [NET RUN]: Lit green [NET ERR]: Not lit LINK/ACT: Flashing yellow (Flashing while packets are being sent and received)

    (Controller)

    2 Check the status information on the Device Monitor Window of the Network Configurator and make sure the tag data links are normally performed. Right-click node 1 device icon on the Network Configuration Pane, and select Monitor.

    28

  • 7. Connection Procedure

    3 The dialog on the right shows the Status 1 Tab Page of the Device Monitor Dialog Box. When the items selected in the right dialog are selected, the data links are normally performed.

    4 The dialog on the right shows an example of a connection error that occurred in the target node.

    5 Select the Controller Log Tab. You can check the details on the error.

    6 Exit the Network Configurator.

    Number: Node number Blue: Connection normal

    Number: Node number Red: Connection error

    29

  • 7. Connection Procedure

    7.6.2. Checking Data That Are Sent and Received

    Confirm that the correct data are sent and received.

    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.

    1 Check the Monitor Button and Stop Monitoring Button on the toolbar of the Sysmac Studio to see if the Controller is in monitor status. Check that the Monitor Button is selected and grayed out and that the Stop Monitoring Button is selectable (monitor status) as shown in the right figure. *If the Controller is not in monitor status, select Monitor from the Controller Menu of the Sysmac Studio.

    *If the Sysmac Studio is offline, go online by following steps 1 to 4 of Section 7.4.2.

    Monitor Stop Monitoring

    2 Select Watch Tab Page from the View Menu.

    3 The Watch Tab Page is displayed in the lower section of the Edit Pane.

    30

  • 7. Connection Procedure

    4 The following names are entered in the Watch Tab Page for monitoring.

    EIP002_Vision_Control_Flag_OUT[0] EIP002_Vision_Command_OUT EIP002_Vision_Response_IN EIP002_Vision_Response_Code_IN

    5 Enter 00101010 in the Modify Column for EIP002_Vision_Command_OUT. (Command code [00101010]: Measure) Press the Enter Key to set the value. The Online value for EIP002_Vision_Command_OUT changes to 0101010. Click TRUE in the Modify Column for EIP002_Vision_Control_Flag_OUT[0]. The Online Value changes to True. (EIP002_Vision_Control_Flag_OUT [0]: Command execution bit)

    6 The measurement is completed and OK is displayed on the screen of the Vision Sensor.

    7 The values of EIP002_CMDC_IN and EIP002_RESC_IN changes as follows: EIP002_Vision_Response_IN:00101010

    The sent command code is returned.

    EIP002_Vision_Response_Code_IN:00000000

    The execution result of the command (0: OK) is reflected.

    31

  • 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. Controller To initialize the Controller, it is necessary to initialize the CPU Unit and EtherNet/IP port. Change to the PROGRAM mode before initialization.

    8.1.1. EtherNet/IP Port Delete the connection information and tag information that are set for the EtherNet/IP port. Follow the procedure below to set blank connection information and blank tag information and delete them using the Network Configurator.

    (1)Deleting connection information In the Connections Tab Page of the Edit Device Parameters Dialog Box, move all devices registered in the Register Device List to the Unregister Device List. If a confirmation dialog is displayed when you remove devices from the registration list, click the Yes Button.

    No registered devices

    32

  • 8. Initialization Method

    (2)Deleting tag information

    In the Tag Sets Tab Page of the Edit Parameters Dialog Box, click the Delete all of unused Tag Sets Button. If a confirmation dialog box is displayed when deleting, click the Yes Button.

    No registered tags

    Usage count: 0/32

    (3)Download

    Right-click the Controller and select Parameter - Download from the menu that is displayed.

    33

  • 8. Initialization Method

    8.1.2. CPU Unit

    To initialize the settings of the Controller, select Clear All Memory from the Controller Menu of the Sysmac Studio. On the Clear All Memory Dialog Box that is displayed, click the OK Button.

    8.2. Vision Sensor

    For information on how to initialize the Vision Sensor, refer to Returning Controller to Factory Settings in Section 1 Before Operation of the FZ4 Series Vision Sensor User's Manual (Cat. No. Z318).

    34

  • 9. Appendix 1 Detailed Settings of the Tag Data Links

    9. Appendix 1 Detailed Settings of the Tag Data Links This section describes the detailed settings necessary to perform tag data links set in this document.

    9.1. Global Variable Table The Controller accesses the data in the tag data links as global variables. The following are the settings of the global variables. Use the Sysmac Studio to register a global variable table.

    Name Data type Network publish

    Destination device allocation

    EIP002_Vision_Control_Flag_OUT BOOL[32] Output Control signals

    (4 bytes)

    EIP002_Vision_Command_OUT DWORD Output Command code

    (4 bytes)

    EIP002_Vision_Command_Parameter_OUT UDINT[3] Output Command parameter

    (12 bytes)

    EIP002_Vision_Status_Flag_IN BOOL[32] Input Control outputs

    (4 bytes)

    EIP002_Vision_Response_IN DWORD Input Command code

    (4 bytes)

    EIP002_Vision_Response_Code_IN DWORD Input Response code

    (4 bytes)

    EIP002_Vision_Response_Data_IN DWORD Input Response data

    (4 bytes)

    EIP002_Vision_Data_Output_IN UDINT[8] Input Output data 00 to 7

    (32 bytes)

    Additional Information With the Sysmac Studio, the data type is expressed as ARRAY[0..2] OF WORD when an array is specified for a data type. However, the data type of an array is simplified in this document (e.g. WORD[3]). It is possible to set either of the following to specify an array for a data type with the Sysmac Studio.

    •ARRAY[0..2] OF WORD •WORD [3]

    In the example above, 3 WORD array elements are secured.

    35

  • 9. Appendix 1 Detailed Settings of the Tag Data Links

    36

    9.2. Relationship between Destination Device and Global Variables

    The global variables must be sorted in order of offsets of the destination device when setting the tag data link parameters. The relationship between the memory allocation (offset) of the destination device and the global variables are shown below. ■Output area (Controller → Vision Sensor): 20 bytes

    Offset Destination device data Global variable name Data type

    +0 to +1 Control signals (32 bits) EIP002_Vision_Control_Flag_OUT

    BOOL[32]

    +2 to +3 Command code (CMD-CODE)EIP002_Vision_Command_OUT

    DWORD

    +4 to +9 Command parameter (CMD-PARAM)

    EIP002_Vision_Command_Parameter_OUT

    UDINT[3]

    *Allocation of control signals

    Allocation 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0EIP002_Vision_Control_

    Flag_OUT[15] to [0] EXE

    EIP002_Vision_Control_Flag_OUT[31] to [16] DSA

    EXE: Command execution bit: The specified command is executed when this bit is turned ON.

    DSA: Data output request bit: A request is made to output the next data when this bit is turned ON.

  • 9. Appendix 1 Detailed Settings of the Tag Data Links

    37

    ■Input area (Controller ← Vision Sensor): 48 bytes Offset Destination device data Global variable name Data type

    +0 to +1 Control outputs (32 bits) EIP002_Vision_Status_Flag_IN

    BOOL[32]

    +2 to +3 Command code (CMD-CODE) EIP002_Vision_Response_IN

    DWORD

    +4 to +5 Response code (RES-CODE) EIP002_Vision_Response_Code_IN

    DWORD

    +6 to +7 Response data (RES-DATA) EIP002_Vision_Response_Data_IN

    DWORD

    +8 to +9 Output data 0 (DATA0) +10 to +11 Output data 1 (DATA1) +12 to +13 Output data 2 (DATA2) +14 to +15 Output data 3 (DATA3) +16 to +17 Output data 4 (DATA4) +18 to +19 Output data 5 (DATA5) +20 to +21 Output data 6 (DATA6) +22 to +23 Output data 7 (DATA7)

    EIP002_Vision_Data_Output_IN

    UDINT[8]

    *Allocation of control outputs

    Allocation 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0EIP002_Vision_Status

    _Flag_IN[15] to [0] RUN OR BUSY FLG

    EIP002_Vision_Status_Flag_IN[31] to [16]

    GATE

    FLG: Command completion bit: Turns ON when the execution of the command is completed.

    BUSY: Command execution bit: Turns ON during the execution of the command. OR: Overall judgment bit: Turns ON when the result of the overall judgment is NG. GATE: Data output completion bit: Turns ON when a data output is completed.

  • 9. Appendix 1 Detailed Settings of the Tag Data Links

    38

    9.3. Associating the Tag Data Links

    Tag data link parameters are required to perform tag data links with the destination device. Follow the procedure below to associate the tag data links. (1)Use the Sysmac Studio to define the global variables to publish on the network. Store the created global variables in a CSV file to use in the Network Configurator. (2)Read the CSV file (tag list) created in step 1 to the Network Configurator. (3)Install the EDS file of the destination device in the Network Configurator. (4)Make a single tag set that includes the tag lists.

    (5)Link the tag set with the destination device information and create tag data link parameters.

    The numbers shown in the tables below correspond to the steps above. ■Output area (Controller →Vision Sensor)

    Controller setting (Set with Sysmac Studio. )

    Tag data link parameter setting (Set with Network Configurator. )

    Destination device information (EDS file setting contents)

    (1)

    Tag set: EIP002_OUT

    20 bytes (5)

    ← (3)

    Output_100-[20 Bytes]

    Global variable (4) Tag list

    EIP002_Vision_Control_Flag_OUT BOOL[32]

    EIP002_Vision_Control_Flag_OUT

    (4 bytes)

    EIP002_Vision_Command_OUT

    DWORD EIP002_Vision_

    Command_OUT(4 bytes)

    EIP002_Vision_Command_Parameter_OUT

    UDINT[3]

    → (2)

    EIP002_Vision_Command_Parameter_OUT

    (12 bytes)

    *For details, refer to Section 9.2.

    ■Input area (Controller ← Vision Sensor)

    Controller setting (Set with Sysmac Studio. )

    Tag data link parameter setting (Set with Network Configurator. )

    Destination device information (EDS file setting contents)

    (1)

    Tag set: EIP002_IN 48 bytes (5)

    ←(3)

    Input_101-[48 Bytes]

    Global variable (4) Tag list EIP002_Vision_Status_Flag_IN

    BOOL[32] EIP002_Vision_Status_Flag_IN (4 bytes)

    EIP002_Vision_Response_IN

    DWORD EIP002_Vision_Response_IN (4 bytes )

    EIP002_Vision_Response_Code_IN

    DWORD EIP002_Vision_Response_Code_IN

    (4 bytes)

    EIP002_Vision_Response_Data1_IN

    DWORD EIP002_Vision_Data_Output_IN (4 bytes)

    EIP002_DATA_IN UDINT[8]

    →(2)

    EIP002_DATA_IN (32 bytes)

    *For details, refer to Section 9.2.

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10. Appendix 2 Setting Procedure without the Configuration Files This section describes the procedure for setting the Controller without using the configuration files (Procedure for setting parameters from the beginning). It also describes the procedure for changing the parameters of the configuration files.

    Personal computer

    39

    Global variable

    (CSV file)

    Destination device

    Controller

    10.1. Overview of Setting Procedure without the Configuration Files The following figure shows the relationship between processes to perform the tag data links using the "procedure for setting parameters from the beginning".

    Settings made with Sysmac Studio •Setting parameters (IP address, etc.) •Setting global variables (name, network setting and task setting, etc.)

    •Exporting global variables •Building •Settings in the Watch Tab Page

    Settings made with Network Configurator •Uploading network configuration •Importing CSV file (tag name) •Tag registration •Connection setting (associating tags with the EDS file of destination device)

    Network Configurator Sysmac Studio

    Transferring tag data link parameters

    Transferring project data

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.2. Work Flow of "Procedure for Setting Parameters from the Beginning"

    Use the following procedures to make connection settings for tag data links of the EtherNet/IP using the "procedure for setting parameters from the beginning". This section describes the detailed procedures for "10.3 Setting up the Controller without the Configuration Files" and "10.4 Setting up the Network with Network Configurator" (in red frames below) without using the "configuration files". The procedures for 7.3 Setting up the Vision Sensor and 7.6 Checking the EtherNet/IP communications" are the same as for the "procedure for using the configuration files". Refer to the procedures in Section 7.

    7.3 Setting up the Vision Sensor Set up the Vision Sensor. ↓

    7.3.1 Checking the Hardware Settings Check the hardware switch settings of the Vision Sensor.

    ↓ 7.3.2 Parameter Setting Setting the IP address of the Vision Sensor.

    ↓ 10.3 Setting up the Controller without

    the Configuration Files

    Set up the Controller using the software.

    ↓ 10.3.1 Starting the Sysmac Studio and

    Setting the Parameters for the Controller

    Start the Automation Software Sysmac Studio and set the parameters for the Controller.

    ↓ 10.3.2 Setting the Global Variables Set the global variable to use for the tag data links.

    ↓ 10.3.3 Building Execute the program check on the project data that

    was created and build the program. ↓

    10.3.4 Exporting the Global Variables Export the global variables in a CSV file to use as tags in the Network Configurator.

    ↓ 10.3.5 Going Online and Transferring

    the Project Data

    Connect online with the Sysmac Studio and transfer the project data to the Controller.

    ↓ 10.3.6 Making Settings in Watch Tab

    Page

    To check data that is sent and received, make settings in the Watch Tab Page.

    40

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.4 Setting up the Network with Network Configurator

    Set the tag data links for the EtherNet/IP by using the software.

    ↓ 10.4.1 Starting the Network

    Configurator and Uploading the Configuration

    Start the Network Configurator, go online with the Controller, and upload the network configuration.

    ↓ 10.4.2 Importing Files and Registering

    Tags

    Import the CSV file that was saved, and register tags of the originator's send area and receive area.

    ↓ 10.4.3 Setting the Connections Associate the tags of target device with the tags of

    originator. ↓

    10.4.4 Transferring the Tag Data Link Parameters

    Transfer the tag data link parameters that were set to the Controller.

    ↓ 7.6 Checking the EtherNet/IP

    Communications

    Confirm that the EtherNet/IP communications are performed normally.

    ↓ 7.6.1 Checking the Connection Status Check the connection status of EtherNet/IP.

    ↓ 7.6.2 Checking Data that are Sent and

    Received

    Confirm that the correct data are sent and received.

    41

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3. Setting up the Controller without the Configuration Files

    Set up the Controller using the software.

    10.3.1. Starting the Sysmac Studio and Setting the Parameters for the Controller Start the Automation Software Sysmac Studio and set the parameters for the Controller.

    1 Start the Sysmac Studio. Click the New Project Button. *If a confirmation dialog for an access right is displayed at start, select to start.

    2 The Project Properties Dialog Box is displayed. Click the Create Button. *In this document, New Project is set as the project name.

    3 The New Project is displayed. The left pane is called Multiview Explorer, the right pane is called Toolbox and the middle pane is called Edit Pane.

    Edit Pane Edit Pane Multiview Explorer

    Toolbox

    42

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    4 Double-click Built-in EtherNet/IP Port Settings under Configurations and Setup - Controller Setup in the Multiview Explorer.

    5 The Built-in EtherNet/IP Port Settings Tab Page is displayed in the Edit Pane. Click the TCP/IP Setting Button, select the Fixed Setting Option in the IP Address Field, and make the following settings.

    IP address: 192.168.250.1 Subnet mask: 255.255.255.0

    43

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3.2. Setting Global Variables

    Set the global variable to use for the tag data links.

    1 Double-click Global variables under Programming - Data in the Multiview Explorer.

    2 The Global Variables Tab is displayed in the Edit Pane. Click a Name Cell to enter a new variable. Enter EIP002_Vision_Control_Flag_OUT in the Name Cell. Enter BOOL[32] in the Data Type Cell. *When the data have been entered, ARRAY[0..31] OF BOOL is displayed as shown on the right figure.

    Select Output from the Network Publish Menu.

    3 After entering values, right-click and select Create New from the menu.

    44

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    4 Enter the following data in the new cells in the same way as steps 2 and 3.

    •Name: EIP002_Vision_Command_OUT Data Type: DWORD Network Publish: Output

    •Name: EIP002_Vision_Command_Parameter_OUT Data Type: UDINT[3] Network Publish: Output

    5 Enter the following data in the new cells in the same way as steps 2 and 3.

    •Name: EIP002_Vision_Status_Flag_IN Data Type: BOOL Network Publish: Input

    •Name: EIP002_Vision_Response_IN Data Type: DWORD Network Publish: Input

    •Name: EIP002_Vision_Response_Code_IN Data Type: DWORD Network Publish: Input

    •Name: EIP002_Vision_Response_Data_IN Data Type: DWORD Network Publish: Input

    •Name: EIP002_Vision_Data_Output_IN Data Type: UDINT[8] Network Publish: Input

    6 Double-click the Task Settings under Configurations and Setup in the Multiview Explorer. The Task Settings Tab Page is displayed in the Edit Pane. Click VAR. Click the + Button.

    45

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    7 Click the Down Button under Variable to be refreshed. The variables set in steps 2 to 5 are displayed. Select EIP002_Vision_Control_Flag_OUT.

    8 Click the + Button and select a variable to be refreshed. *The data types are displayed automatically, and they do not have to be set.

    Add all variables set in steps 4 and 5 as shown in the right figure.

    46

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3.3. Building

    Execute the program check on the project data that was created and build the program.

    1 Select Check All Programs from the Project Menu.

    2 The Build Tab Page is displayed in the Edit Pane. Check that “0 Errors” and “0 Warnings” are displayed.

    3 Select Rebuild Controller from the Project Menu. A screen is displayed indicating the conversion is being performed.

    4 Check that Check that “0 Errors” and “0 Warnings” are displayed in the Build Tab Page.

    47

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3.4. Exporting the Global Variable

    Export the global variables in a CSV file to use as tags in the Network Configurator.

    1 Double-click Global variables under Programming - Data in the Multiview Explorer.

    2 The Global Variables Tab is displayed in the Multiview Explorer. Right-click on the pane and Select Select All. All the selected variables are highlighted.

    3 Select Export Global Variables - Network Configurator from the Tools Menu.

    4 The Save As Dialog Box is displayed. Enter EIP002 in the File name Field. Click the Save Button.

    48

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3.5. Going Online and Transferring the Project Data

    Connect online with the Sysmac Studio and transfer the project data to the Controller.

    Always confirm safety at the destination node 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. The devices or machines may perform unexpected operation regardless of the operating mode of the CPU Unit.

    1 Select Communications Setup from the Controller Menu.

    2 The Communications Setup Dialog Box is displayed. Select the Direct Connection via USB Option from Connection Type. Click the OK Button.

    3 Select Online from the Controller Menu. A confirmation dialog is displayed. Click the Yes Button. *The displayed dialog depends on the status of the Controller used. Select the Yes Button to proceed with the processing.

    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).

    49

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    4 When an online connection is established, a yellow bar is displayed on the top of the Edit Pane.

    5 Select Synchronization from the Controller Menu.

    6 The Synchronization Dialog Box is displayed. Check that the data to transfer (NJ501 in the right figure) is selected. Then, click the Transfer to Controller Button.

    7 A confirmation dialog is displayed. Click the Yes Button. A screen stating "Synchronizing" is displayed. A confirmation dialog is displayed. Click the Yes Button.

    50

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    8 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.

    51

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.3.6. Making Settings in the Watch Tab Page

    To check data that is sent and received, make settings in the Watch Tab Page.

    1 Select Watch Tab Page from the View Menu.

    2 The Watch Tab Page is displayed in the lower section of the Edit Pane.

    3 Enter the following names to monitor in the Name Cell on the Watch Tab Page. To enter a new name, click a cell stating Input Name.

    EIP002_Vision_Control_Flag_OUT[0] EIP002_Vision_Command_OUT EIP002_Vision_Response_IN EIP002_Vision_Response_Code_IN

    *You will use the settings in 7.6.2. Checking the Data That are Sent and Received.

    52

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.4. Setting up the Network with Network Configurator

    Set the tag data links for the EtherNet/IP by using the software.

    10.4.1. Going Online and Uploading Configuration Start the Network Configurator, go online with the Controller, and upload the network configuration.

    Precautions for Correct Use Please confirm that the LAN cable has been connected before proceeding to the following steps. If it is not connected, turn OFF the power to the devices, and then connect the LAN cable.

    1 Start the Network Configurator.

    2 Select Select Interface - NJ Series USB Port from the Option Menu.

    3 Select Connect from the Network Menu.

    Network window Hardware List Window

    53

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    4 The Select Connect Network Port Dialog Box is displayed. Select TCP:2 and click the OK Button.

    5 The Select Connected Network Dialog Box is displayed. Click the OK Button.

    6 When an online connection has been established normally, the icon shown on the figure turns blue.

    Additional Information If an online connection cannot be made to the Controller, check the cable connection. Or, return to step 2, check the settings and follow each step again. For details on the online connections to a Controller, refer to 7-2-8 Connecting the Network Configurator to the Network in Section 7 Tag Data Link Functions of the NJ-series CPU Unit Built-in EtherNet/IP Port User's Manual (Cat. No. W506).

    54

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    7 Select Upload from the Network Menu to upload the device information on the network.

    8 The dialog on the right is displayed. Click the Yes Button.

    9 The Target Device dialog will be isplayed. Click the OK Button.

    *

    ect e Add and Edit

    d The addresses displayed depends on the environment. Display addresses to connby using thButton.

    10 The device parameters are uploaded. When uploading is completed, the dialog on the

    Click the OK Button. right is displayed.

    55

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    11 After uploading is completed, confirm that the Network Configuration Pane shows the updated IP Addresses of devices. IP address of node 1:

    192.168.250.1 IP address of node 2

    192.168.250.2

    12 Right-click the node 2 device and select Parameter - Edit.

    13 The Edit Device Parameters Dialog Box is displayed. Confirm the values are set as follows and click the OK Button. •Output Size :20 •Input Size :48

    56

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.4.2. Importing the File and Registering the Tags

    Import the CSV file that was saved, and register tags of the originator's send area and receive area. This section explains the receive settings and send settings of the target node.

    1 On the Network Configuration Pane of the Network Configurator, right-click the node 1 device and select Parameter - Edit.

    2 The Edit Device Parameters Dialog Box is displayed. Click the To/From File Button.

    3 Select Import from File.

    4 The Import Connection Configuration Dialog Box is displayed. Select EIP002.csv and click the Open Button. *In the Look in Field, specify the folder in which the file is saved in Section 10.3.4.

    57

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    5 Dialog boxes shown in this step may not be displayed depending on the Controller used and the status of the software. In such a case, proceed to the next step. Click the Yes Button in the right dialog. Click the No Button in the right dialog. Make sure tag sets are not created automatically.

    6 The Edit Device Parameters Dialog Box is displayed again. Click the Tag Sets Tab.

    7 The Edit Tags Dialog Box is displayed. Select the In-Consume Tab and click the Edit Tags Button. Here, register an area (node 2->node 1) where node 1 consumes data.

    8 The Edit Tag Dialog Box is displayed. The dialog shows the variable names that were set in Section 10.3.2 and are listed in Section 9.2.

    58

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    9 Select the Out-Produce Tab. In the same way as step 8, the tab page shows the variable names that were set in Section 10.3.2 and are listed in Section 9.2. Click the OK Button.

    10 The Edit Tags Dialog Box is displayed again. Click the New Button.

    59

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    11 The Edit Tag Set Dialog Box is displayed. Select EIP002_Vision_Status_Flag_IN from the Candidate Tag List and click the

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    13 Enter EIP002_IN in the Name Field. Click the Regist Button.

    14 Click the Close Button.

    15 The Edit Device Parameters Dialog Box is displayed. EIP002_IN and 48Byte are displayed.

    16 Select the Out-Produce Tab. Click the New Button.

    61

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    17 The Edit Tag Set Dialog Box is displayed. Move the variables from the Candidate Tag List to the Tag List in the same way as steps 11 and 12. *Make sure that the tag list shows the variables in order of the offsets listed in Section 9.2.

    18 Enter EIP002_OUT in the Name Field. Click the Regist Button.

    62

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    19 Click the Close Button.

    20 The Edit Device Parameters Dialog Box is displayed. EIP002_OUT and 20Byte are displayed.

    63

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.4.3. Setting the Connections

    Associate the tags of target device (node that receives the open request) with the tags of originator (node that requests opening).

    1 Select the Connections Tab in the Edit Device Parameters Dialog Box. Then, select 192.168.250.2 in the Unregister Device List Field. Click the Down Button that is shown in the dialog.

    2 192.168.250.2 is registered in the Register Device List. Select 192.168.250.2 and click the New Button.

    3 The Edit Connection Dialog Box is displayed. Select Consume Data From/Produce Data To from the Connection I/O Type Pull-down Menu. In the same way, set the value listed in the table below in each field of Originator Device and Target Device.

    64

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    ■Settings of Connections Connection I/O type Consume Data From/Produce Data To

    Input Tag Set EIP002_IN -[48Byte] Connection Type Multi-cast connection Output Tag Set EIP002_OUT -[20Byte]

    Originator device

    Connection Type Point to Point connection Output Tag Set Input_101 - [48Byte] Target Device Input Tag Set Output_100 - [20Byte]

    4 Confirm that settings are correct and click the Regist Button.

    5 The Edit Connection Dialog Box is displayed. Do not make any setting and click the Close Button.

    65

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    6 The Edit Device Parameters Dialog Box is displayed again. Click the OK Button.

    7 When the connection setting is completed, the registered node address will be displayed under the destination device icon on the Network Window.

    66

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    10.4.4. Transferring Tag Data Link Parameters

    Transfer the tag data link parameters that were set to the Controller.

    1 Right-click node 1 device on the Network Configuration Pane and select Parameter - Download. The dialog on the right is displayed. Click the Yes Button.

    2 The List of Devices that are executing Dialog Box is displayed. Click the Download after changed to Program mode Button. *If the Controller that is used is in PROGRAM mode, the dialog on the right is not displayed. In that case, proceed to the next step.

    3 The tag data link parameters are downloaded from the Network Configurator to the Controller.

    67

  • 10. Appendix 2 Setting Procedure without the Configuration Files

    4 The dialog on the right is displayed. Click the Yes Button. The dialog on the right is displayed. Click the OK Button.

    68

  • 11. Revision History

    69

    11. Revision History

    Revision code

    Date of revision Revision reason and revision page

    01 Jan. 31, 2013 First edition

  • 70

  • 2013

    0213(-)P530-E1-01

    1. Related Manuals2. Terms and Definition3. Remarks4. Overview5. Applicable Devices and Support Software5.1. Applicable Devices5.2. Device Configuration

    6. EtherNet/IP Settings6.1. EtherNet/IP Communications Settings6.2. Allocation of Tag Data Links

    7. Connection Procedure7.1. Overview of Setting Tag Data Links7.2. Work Flow7.3. Setting up the Vision Sensor7.3.1. Parameter Setting

    7.4. Setting up the Controller7.4.1. Starting the Sysmac Studio and Importing the Project File7.4.2. Going Online and Transferring the Project Data

    7.5. Setting up the Network7.5.1. Starting the Network Configurator and Opening the Network Configuration File7.5.2. Connecting Online and Transferring the Tag Data Link Parameters

    7.6. Checking the EtherNet/IP Communications7.6.1. Checking the Connection Status7.6.2. Checking Data That Are Sent and Received

    8. Initialization Method8.1. Controller8.1.1. EtherNet/IP Port8.1.2. CPU Unit

    8.2. Vision Sensor

    9. Appendix 1 Detailed Settings of the Tag Data Links9.1. Global Variable Table9.2. Relationship between Destination Device and Global Variables9.3. Associating the Tag Data Links

    10. Appendix 2 Setting Procedure without the Configuration Files10.1. Overview of Setting Procedure without the Configuration Files10.2. Work Flow of "Procedure for Setting Parameters from the Beginning"10.3. Setting up the Controller without the Configuration Files10.3.1. Starting the Sysmac Studio and Setting the Parameters for the Controller10.3.2. Setting Global Variables10.3.3. Building10.3.4. Exporting the Global Variable10.3.5. Going Online and Transferring the Project Data10.3.6. Making Settings in the Watch Tab Page

    10.4. Setting up the Network with Network Configurator10.4.1. Going Online and Uploading Configuration10.4.2. Importing the File and Registering the Tags10.4.3. Setting the Connections10.4.4. Transferring Tag Data Link Parameters

    11. Revision History


Recommended