Omron NX Series Network Connection Manual

Omron NX Series Network Connection Manual

Machine automation controller, io-link connection guide
Hide thumbs Also See for NX Series:

Advertisement

Machine Automation Controller NX Series
IO-Link Connection Guide
OMRON Corporation
Safety Light Curtain
Safety Light Curtain/Multi-Beam Safety Sensor
(F3SG-SR)
(F3SG-PG)
Intelligent Tap
(F39-SGIT-IL3)
[IO-Link Master Unit]
OMRON Corporation
NX-series IO-Link Master Unit
(NX-ILM)
F108-E1-02

Advertisement

Table of Contents
loading

Summary of Contents for Omron NX Series

  • Page 1 Machine Automation Controller NX Series IO-Link Connection Guide OMRON Corporation Safety Light Curtain Safety Light Curtain/Multi-Beam Safety Sensor (F3SG-SR) (F3SG-PG) Intelligent Tap (F39-SGIT-IL3) [IO-Link Master Unit] OMRON Corporation NX-series IO-Link Master Unit (NX-ILM) F108-E1-02...
  • Page 2 Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products. Company names and product names in this document are the trademarks or registered...
  • Page 3: Table Of Contents

    Contents 1. Related Manuals ..........................1 2. Terms and Definitions ........................2 3. Precautions ............................3 4. Introduction ............................4 5. Target Devices and Device Configurations ..................6 6. Communication Related Settings....................10 7. Mounting the IO-Link Master Unit ....................11 8.
  • Page 4: Related Manuals

    1 Related Manuals 1. Related Manuals To ensure the safe use of systems, be sure to obtain the manuals, instruction sheets and other documentation for the devices and equipment that comprise the system, and check Safety Precautions, Precautions for Safe Use, and other safety related precautions before using the system.
  • Page 5: Terms And Definitions

    2 Terms and Definitions 2. Terms and Definitions Term Description and Definition IO-Link device A device with a sensor or actuator that can perform IO-Link communications with the IO-Link Master Unit. IO-Link Master Unit A device that performs IO-Link communications with the IO-Link devices in the IO-Link System and simultaneously functions as a slave for host communications.
  • Page 6: Precautions

    (4) No part of this publication may be reproduced, stored in a retrieval system, or redistributed, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the permission of OMRON Corporation. (5) The content of this document is current as of September, 2020.
  • Page 7: Introduction

    Curtain/Multi-Beam Safety Sensor F3SG-SR/PG series (simply referred to as "safety light curtain" from here on) to the OMRON Machine Automation Controller NX series (simply referred to as "controller" from here on) via the OMRON Intelligent Tap by the IO-Link System.
  • Page 8 4. Introduction In this document, sample programs for making checking of the following easier are introduced in 10.2 Sample Program for Acquiring Service Data (Error Code) and 10.3 Sample Program for Acquiring Service Data (Amount of Incident Light). • Acquisition of error codes •...
  • Page 9: Target Devices And Device Configurations

    This document describes the connection procedure up to establishment of communications. It does not describe operation, installation and wiring other than the connection procedure, and the functions and operations of devices. Refer to the manuals, instruction sheets and other documentation, or contact OMRON.
  • Page 10 Model Version OMRON NX-series CPU Unit NX102-1000 Version 1.40 or later Power supply for controller (24 VDC) --- OMRON NX series NX-SL5500 Version 1.3 or later Safety CPU Unit OMRON NX series NX-PF0730 Version 1.0 or later Additional I/O Power Supply Unit...
  • Page 11 OSSD, and the functions and operations of devices. For details on safety I/O functions, refer to either the manuals, instruction sheets and other documentation for the safety controllers, or contact OMRON. Additional Information Refer to the NX-series IO-Link Master Unit User’s Manual (Cat. No. W567) for information on the unit power supply to the IO-Link Master Unit and specifications of power supplies that can be used as the I/O power supply.
  • Page 12 5 Target Devices and Device 5.3 IO-Link Connection Procedure This section describes the procedure for using the Intelligent Tap to make an IO-Link connection to the safety light curtain. In this document, the IO-Link Master Unit is mounted on the same CPU as on the NX-series Controller.
  • Page 13: Communication Related Settings

    6. Communication 6. Communication Related Settings This section describes the settings of parameters that are set in this document and the settings of device variables. 6.1 IO-Link Connection Parameters The following describes the parameter settings for connecting the IO-Link Master Unit and safety light curtain by IO-Link.
  • Page 14: Mounting The Io-Link Master Unit

    7 IO-Link Connection 7. Mounting the IO-Link Master Unit 7.1 Mounting the IO-Link Master Unit This section describes the procedure for mounting the IO-Link Master Unit of the NX Unit on a DIN Track. Refer to the user's manual of the CPU Unit to which the NX Unit is connected for information on preparations for mounting and installation in a control panel.
  • Page 15 7 IO-Link Connection 7.2 Wiring the Terminals Wire the Intelligent Tap to the IO-Link Master Unit. The IO-Link Master Unit uses a screwless clamping terminal block. So, ferrules that are attached to the twisted wires can be easily wired simply by inserting into the terminal holes of the terminal block.
  • Page 16: Io-Link Master Unit Communications Setup

    8 IO-Link Master Unit Communications Setup 8. IO-Link Master Unit Communications Setup 8.1 Setting Up the System Configuration Set up the system configuration that includes the IO-Link Master Unit. Additional Information For details on how to create a new project, refer to 3-3 Creating a Project in the Sysmac Studio Version 1 Operation Manual (Cat.
  • Page 17 8 IO-Link Master Unit Communications Setup A project file is created and the window on the right is displayed. A project file is created with the specified device already inserted. Select Configurations and Setup in the Multiview Explorer. Double-click CPU/Expansion Racks - CPU Rack.
  • Page 18 8 IO-Link Master Unit Communications Setup Select System Unit Device from the Groups List in the Toolbox, and double- click NX-PF0730 Ver1.0. NX-PF0730 Ver1.0 is added to the CPU and Expansion Racks tab page. Select Safety Digital Input Device from the Groups List in the Toolbox, and double-click NX-SIH400 Ver1.1.
  • Page 19 8 IO-Link Master Unit Communications Setup 8.2 IO-Link Master Unit Settings Set up the controller. 8.2.1 How to Use IO-Link Master Simple Settings Set the device variables to be used on the IO-Link Master Unit at IO-Link Master Simple Settings. Make sure that the IO-Link Master Unit is in the offline mode.
  • Page 20 8 IO-Link Master Unit Communications Setup At I/O map select Generate process data structure of the IO-Link device. Precautions for Correct Use When the CPU Unit version of the NJ/NX/NY controller is 1.40 or later, the function to generate I/O ports according to the process data structure of the preset IO-Link devices to the I/O Map is supported.
  • Page 21 8 IO-Link Master Unit Communications Setup 8.2.2 Setting Device Variables Double-click I/O Map in the Multiview Explorer. Navigate to NX Bus Master - NX-ILM400.
  • Page 22 8 IO-Link Master Unit Communications Setup Right-click NX-ILM400 and click Display Node Location Port. Right-click NX-ILM400 and click Create Device Variable. The variable name is added to the Variable column. This completes setting of the device variable. Additional Information The device variables are named automatically from a combination of the device name and the port names.
  • Page 23 8 IO-Link Master Unit Communications Setup 8.3 Transferring the Project Data Place the Sysmac Studio online, and transfer the project data to the controller. When transferring a user program, configuration data, setup data, device variables, or values in memory used for CJ-series Units from Sysmac Studio, the devices or machines may perform unexpected operation regardless of the operating mode of the CPU Unit.
  • Page 24 8 IO-Link Master Unit Communications Setup The Synchronization dialog box is displayed. Make sure that the check box of the data to transfer (in the figure on the right, NX102) is selected. Clear the Do not transfer the following. (All items are not transferred.) check box, and click Transfer to Controller.
  • Page 25: Checking Io-Link Communications

    9 Checking IO-Link Communications 9. Checking IO-Link Communications Make sure that cyclic communications are being executed on the IO-Link System. When performing I/O wiring, the device may be damaged if the power supply is still turned ON. Before performing wiring, check safety precautions in the manuals, instruction sheets and other documentation for the devices to ensure that wiring is performed in the appropriate state.
  • Page 26 9 Checking IO-Link Communications 9.2 Checking Receive Data This section describes how to check that the CPU Unit is correctly receiving data from the safety light curtain by the IO-Link connection. To check this, the data that is being received by the Intelligent Tap from the safety light curtain is checked to see if it matches the data on Sysmac Studio that is being received by the CPU Unit.
  • Page 27 9 Checking IO-Link Communications Make sure that True is displayed at online value in the Watch (Project)1 Tab Page when the mode changes to online. The safety output information being received by the Intelligent Tap from the safety light curtain can be checked to see if it matches the safety output information on Sysmac Studio that is being received by the CPU Unit.
  • Page 28: Programming Using Io-Link

    10 Programming Using IO-Link 10. Programming Using IO-Link This section describes how to create a program in Sysmac Studio and the procedure for acquiring each of the process data and service data of the safety light curtain. 10.1 Sample Program for Acquiring Process Data 10.1.1 Reading the Power Supply Voltage of the Receiver The values of the power supply voltage of the receiver are read from the process data that is shared between the safety light curtain and the IO-Link Master Unit by cyclic communications.
  • Page 29 10 Programming Using IO-Link 10.1.2 Programming Make sure that the IO-Link Master Unit is in the offline mode. If the IO-Link Master Unit is online, set it to the offline mode. Select Programming in the Multiview Explorer. Open POUs - Programs - Program0 - Section0 . When Section0 is already used for another program, right-click Program0 and click Add - Section .
  • Page 30 10 Programming Using IO-Link Right-click the bottommost variable in the list of global variables, and click Create New . Set the following variable name and data type. Variable name: SLC_Power_Supply Data type: WORD Select Programming in the Multiview Explorer, and open Programming - POUs - Programs - Program0 - Section0 .
  • Page 31 10 Programming Using IO-Link 10.1.3 Monitoring Process Data Values This section describes how to check process data after it has been output by the program created in 10.1.2 Programming. Monitoring is performed by setting in the Watch Tab Page. Select View - Watch Tab Page . Enter the following variable that was created in 10.1.2 Programming to Name .
  • Page 32 10 Programming Using IO-Link Make sure that the color of the text of the synchronized data is the same color as the text at Synchronized displayed in the legend at the right, that the message The Synchronization process successfully finished. is displayed, and click Close.
  • Page 33 10 Programming Using IO-Link 10.2 Sample Program for Acquiring Service Data (Error Code) 10.2.1 Reading Error Codes Error codes for the primary sensor receiver of the safety light curtain are acquired from the service data that is acquired via IO-Link. Index(Dec) Sub-Index(Dec) Stored information...
  • Page 34 10 Programming Using IO-Link <Sample programming 2> (1) Specify the location of the safety light curtain to read error codes from as follows: • Specify the unit type from which the data is read as NX Unit. • Specify the node location where the IO-Link Master Unit is mounted by the value of device variable N5_Node_location_information.
  • Page 35 10 Programming Using IO-Link <Variables and instructions used in the sample program> Variables are generated automatically by the procedure in 8.2.2 Setting Device Variables. Variable Name Data type Description Remarks table This is generated at Device variable execution of Create N5_Node_location_ _sNXUNIT_ID Node location information...
  • Page 36 10 Programming Using IO-Link Right-click on the first ladder in the Section0-Program0 Pane in the Edit Pane, and click Insert Input (C). Click Enter Variable, and enter the following variable name. Variable name: start Right-click on the ladder at the right of the inserted input, and click Insert Function.
  • Page 37 10 Programming Using IO-Link Right-click the @MOVE block, and click Paste. The block is reused for creating the block that specifies the node location where the IO-Link Master Unit is mounted. Again, right-click the @MOVE block, and click Paste. The block is reused for creating the block that specifies the port No.
  • Page 38 10 Programming Using IO-Link Enter the following function name. Function name: MOVE Click Enter Variable at In and Out in the MOVE block, and enter each of the following variable names. In: UINT#10#81 Out: Variable name: DeviceObject Data type: _sIOLOBJ_ACCESS Specify the index No.
  • Page 39 10 Programming Using IO-Link Drag-and-drop the IOL_ReadObj block onto the MOVE block on the second tier. Double-click Data - Global Variables in the Multiview Explorer.
  • Page 40 10 Programming Using IO-Link Right-click the bottommost variable in the list of global variables, and click Create New. Set the following variable name and data type. Variable name: SLC_Error_Code Data type: ARRAY[0..255] OF BYTE Select Programming in the Multiview Explorer. Set the I/O of the IOL_ReadObj block as follows.
  • Page 41 10 Programming Using IO-Link 10.2.3 Monitoring Service Data (Error Codes) Values This section describes how to check service data after it has been output by the program created in 10.2.2 Programming. Monitoring is performed by setting in the Watch Tab Page. Select View - Watch Tab Page(Table).
  • Page 42 10 Programming Using IO-Link The dialog box on the right is displayed. Confirm that there are no problems, and click Yes. The dialog box on the right is displayed. Confirm that there are no problems, and click Yes. The synchronization in progress window is displayed.
  • Page 43 10 Programming Using IO-Link Double-click start on the ladder, and click True. If an error has occurred, the values of "0" to "7" changes. In this example, error code "4F" is displayed. The meaning of this error code is as follows. Error description Troubleshooting Cap error...
  • Page 44 10 Programming Using IO-Link 10.3 Sample Program for Acquiring Service Data (Amount of Incident Light) 10.3.1 Acquiring the Amount of Incident Light The amount of incident light of each optical axis of the safety light curtain is acquired from the service data of the safety light curtain.
  • Page 45 10 Programming Using IO-Link <Sample programming 3> Program 2 for the operation check is used as it is. Specify the No. of the service data where the amount of incident light of each optical axis of the safety light curtain is stored as follows: •...
  • Page 46 10 Programming Using IO-Link <Variables and instructions used in the sample program> Variable Name Data type Description Remarks table This is generated at N5_Node_ Device variable execution of Create location_ _sNXUNIT_ID Node location information Device Variable in 8.2.2 information is stored. Setting Device External Variables.
  • Page 47 10 Programming Using IO-Link Step 30 Change the I/O of the IOL_ReadObj block to be set as follows. Click Enter Function Block, and enter the following instance variable name: Instance variable name: ReadLevel DevicePort: DevicePort DeviceObj: DeviceObject ReadDat : SLC_Receiver_Level 10.3.3 Monitoring Service Data (Amount of Incident Light Level) Values This section describes how to check service data after it has been output by the program created in 10.3.2 Programming.
  • Page 48: Initialization Method

    11 Initialization 11. Initialization Method This document presumes that the device is in the factory default state. When using a device that has been changed from its initial setting state, programming sometimes cannot be proceeded with according to the procedure. 11.1.
  • Page 49 11 Initialization 11.2 Initializing the IO-Link Master Unit This section describes the procedure for returning the IO-Link Master Unit to its initial setting state. Double-click CPU/Expansion Racks - CPU Rack in the Edit Pane to display the CPU/Expansion Racks area. Double-click NX Unit No.
  • Page 50: Revision History

    12 Revision 12. Revision History Revision Date Revised content code October 2019 Original production September 2020 Revised...

Table of Contents