Omron NX-series User Manual

Omron NX-series User Manual

Safety network controller communication control unit built-in function
Hide thumbs Also See for NX-series:
Table of Contents

Advertisement

Safety Network Controller
NX-series
Communication Control Unit
User's Manual
Built-in Function
NX-CSG£££
Communication Control Unit

Advertisement

Table of Contents
loading

Summary of Contents for Omron NX-series

  • Page 1 Safety Network Controller NX-series Communication Control Unit User's Manual Built-in Function NX-CSG£££ Communication Control Unit...
  • Page 2 Moreover, because OMRON is constantly striving to improve its high-quality products, the infor- mation contained in this manual is subject to change without notice. (3) Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON as- sumes no responsibility for errors or omissions.
  • Page 3: Intended Audience

    Introduction Thank you for purchasing an NX-series Communication Control Unit. This manual contains information that is necessary to use the NX-series Communication Control Unit. Please read this manual and make sure you understand the functionality and performance of the Unit before you attempt to use it in a control system.
  • Page 4 Introduction NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 5: Table Of Contents

    Reading the Clock Data ......................1 - 4 1-2-5 Logging .............................1 - 4 1-2-6 Related System-defined Variables ....................1 - 5 Section 2 Automatic Clock Adjustment Automatic Clock Adjustment....................2 - 2 2-1-1 Overview ...........................2 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 6 Section 5 Security Overview of Security Functions ..................5 - 2 Overall Project File Protection....................5 - 3 5-2-1 Operating Procedure .........................5 - 3 Operation Authority Verification..................5 - 4 5-3-1 Introduction ..........................5 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 7 Controller Object (Class ID: C4 hex) ..................8 - 37 Read and Write Services for Variables ................8 - 39 8-5-1 Read Service for Variables......................8 - 39 8-5-2 Write Service for Variables ......................8 - 40 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 8 PLC Function Module, Category Name: _PLC ..............A - 57 A-5-3 NX Bus Function Module, Category Name: _NXB ..............A - 59 A-5-4 EtherNet/IP Function Module, Category Name: _EIP ............A - 61 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 9 CONTENTS Index NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 10: Relevant Manuals

    Relevant Manuals Relevant Manuals The following table provides the relevant manuals for the NX-series Safety Control Unit / Communica- tion Control Unit. Read all of the manuals that are relevant to your system configuration and applica- tion before you use the product.
  • Page 11: Manual Structure

    Manual name NJ-series CPU Unit Hardware User’s Manual (W500) This illustration is provided only as a sample. It may not literally appear in this manual. NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 12: Special Information

    Sysmac Studio is given. Precaution on Terminology In this manual, the directions in relation to the Units are given in the following figure, which shows up- right installation. Left Right Down NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 13: Terms And Conditions Agreement

    Omron’s exclusive warranty is that the Products will be free from defects in materials and work- manship for a period of twelve months from the date of sale by Omron (or such other period ex- pressed in writing by Omron). Omron disclaims all other warranties, express or implied.
  • Page 14: Application Considerations

    WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY. Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted. Application Considerations...
  • Page 15 Product. Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate; how- ever, no responsibility is assumed for clerical, typographical or proofreading errors or omissions. NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 16: Safety Precautions

    Safety Precautions Safety Precautions Refer to the following manual for details on safety precautions. NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 17: Precautions For Safe Use

    Precautions for Safe Use Precautions for Safe Use Refer to the following manuals for precautions for safe use. NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 18: Precautions For Correct Use

    Precautions for Correct Use Precautions for Correct Use Refer to the following manuals for precautions for correct use. NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 19: Regulations And Standards

    Regulations and Standards Regulations and Standards Refer to the following manual for the standards that the NX-series Communication Control Unit is certi- fied for. NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 20: Versions

    Lot number and serial num- Gives the lot number and the serial number of the Unit. DDMYY: Lot number, £: Used by OMRON, SSSS: Serial number “M” gives the month (1 to 9: January to September, X: October, Y: November,...
  • Page 21: Unit Versions Of Units And Sysmac Studio Versions

    Unit Versions of Units and Sysmac Studio Versions The functions that are supported depend on the unit version of the NX-series Communication Control Unit. The version of Sysmac Studio that supports the functions that were added for an upgrade is also required to use those functions.
  • Page 22: Related Manuals

    Sysmac Studio. NX-series W523 NX-PD1£££ Learning how to use The hardware and functions of the NX-ser- System Units NX-PF0£££ NX-series System ies System Units are described. User’s Manual NX-PC0£££ Units NX-TB£££X NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 23: Terminology

    User programming for safety controls in the Safety CPU Unit. This term is used to differentiate from the user program of the standard controller. Safety programs are programmed in the FBD language. NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 24 The set of information that specifies the I/O data to be processed by I/O refreshing. On the Sysmac Studio, this is shown as configuration information and includes the Unit con- figuration information. NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 25 On the Sysmac Studio, this is shown as configuration information and includes the I/O allo- cation information. safety application data The data that contains the settings that are used to operate the NX-series Safety Control Units. It consists of the safety programs, safety task, and variables. You use the Sysmac Studio to create this data, and then transfer and execute it on the Safety CPU Unit.
  • Page 26: Revision History

    A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. Cat. No. Z396-E1-01 Revision code Revision Date Revised content code April 2018 Original production NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 27: Sections In This Manual

    SNMP Agent Clock Functions Automatic Clock Appendices Adjustment Management Functions Index for NX Units SD Memory Card Operations Security Event Logs Changing Event Levels CIP Message Communications TCP/UDP Message Service Function NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 28 Sections in this Manual NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 29: Data Management And Clock Functions

    Correcting the Clock from an NTP Server ............ 1 - 4 1-2-4 Reading the Clock Data................1 - 4 1-2-5 Logging ......................1 - 4 1-2-6 Related System-defined Variables..............1 - 5 1 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 30: Clearing All Memory

    Connect the Sysmac Studio to the Communication Control Unit online, and select the Clear All Memory from the Controller Menu. Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for specific procedures. 1 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 31: Clock

    You can set the time zone and local time from the Sysmac Studio in the Controller Clock Dialog Box. 1-2-2 Setting the Clock Data Use one of the following methods. 1 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 32: Correcting The Clock From An Ntp Server

    When you change the clock data, an event is recorded in the event log. However, nothing is recorded in the event log if the time is corrected for the NTP. 1 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 33: Related System-Defined Variables

    1 Data Management and Clock Functions 1-2-6 Related System-defined Variables Variable names Meaning Function Data type _CurrentTime System Time This variable contains the Communication DATE_AND_TIME Control Unit’s internal clock data. 1 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 34 1 Data Management and Clock Functions 1 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 35: Automatic Clock Adjustment

    Procedure to Use the Automatic Clock Adjustment Function....2 - 4 2-2-1 Procedure ..................... 2 - 4 2-2-2 Settings Required for Automatic Clock Adjustment ........2 - 4 2 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 36: Overview

    At specified times or at established.* at specified intervals* specified intervals* *1. This is performed when the Get Option is selected for the NTP server clock information in the NTP Settings Display. 2 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 37 (For example, if the time interval is set to 60 minutes, the information is updated 60 minutes after the last time it was updated even if the time in the Communication Control Unit is changed.) 2 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 38: Procedure To Use The Automatic Clock Adjustment Function

    Make the settings in the NTP Settings Display if automatic clock adjustment is used. Refer to A-1-4 NTP Settings Display on page A - 8 for information on the NTP Settings Display. 2 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 39 Monitoring Total Power-ON Time for NX Units on the Communi- cation Control Unit ..................3 - 13 3-5-1 Specifications of Monitoring Total Power-ON Times........3 - 13 3-5-2 Checking Total Power-ON Times..............3 - 13 3 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 40: Nx Bus Function Module

    NX Unit Message Enabled Status NX Unit Message Enabled Status NX Unit I/O Data Active Status NX Unit I/O Data Active Status NX Unit Error Status NX Unit Error Status 3 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 41 Each bit is updated when the operating status changes on the corresponding NX Unit. If both of NX Unit Registration Status and NX Unit I/O Data Active Status are TRUE, the target NX Units operate normally. 3 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 42: I/O Data For Individual Nx Units

    I/O port names are determined by the model number of the NX Unit and the functionality for I/O data for NX Units mounted on the Communication Control Unit. 3 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 43 When power is turned ON after a power in- terruption • When the mode is changed to RUN mode • When a major fault level Controller error oc- curs 3 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 44 Network This attribute allows you to use CIP communi- Not published. Allowed. Publish cations or data links to read/write variables from outside of the Controller. 3 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 45: Mounting Settings Of Nx Units On The Communication Control Unit

    (set as an Information of unit to be unmounted unmounted unmounted created Unit) Unit) Unit) Register the Unit configuration information as an unmounted and ensure the I/O area. 3 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 46: Setting Nx Units As Unmounted Units

    NX Unit Mounting Setting to Disabled. The selected NX Unit is set as an unmounted Unit. After you change the settings for any NX Units, always transfer the Unit configuration information to the ac- tual device. 3 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 47: Restarting Nx Units On The Communication Control Unit

    Control Unit are restarted. In the same way, right-click the NX Unit to restart and select Restart for NX Bus/NX Unit – Yes. The specified NX Unit is restarted. 3 - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 48: Fail-Soft Operation For Nx Units On The Communication Control Unit

    Precautions for Safe Use If you change the fail-soft operation setting, the output status when the error occurs may also change. Confirm safety before you change the setting. 3 - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 49: Operations For Errors

    The following errors are examples of the errors to which fail-soft operation applies. • NX Bus Communications Error • Registered NX Unit Not Mounted • NX Unit Communications Timeout • NX Unit Initialization Error 3 - 11 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 50: Causes Of Unit Configuration Verification Errors And Error Operation

    Unit number 5 even though for any of the NX Units. its NX Unit Mounting Setting is set to Disable. Unit E has the NX Unit Mounting Setting set to Disable. 3 - 12 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 51: Monitoring Total Power-On Time For Nx Units On The Communication Control Unit

    If the total power-ON time cannot be recorded because of a non-volatile memory hardware error, the total power-ON time is displayed as Invalid record on the Sysmac Studio. 3 - 13 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 52 "---" on the Sysmac Studio. Display When Reading the Time Failed If reading the time failed, the total power-ON time is displayed as "---" on the Sysmac Studio. 3 - 14 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 53: Sd Memory Card Operations

    SD Memory Card Life Expiration Detection ..........4 - 18 SD Memory Card Self-diagnostic Functions ........... 4 - 19 Exclusive Control of File Access in SD Memory Cards ......4 - 21 4 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 54: Sd Memory Card Operations

    The I/O data is recorded in the chronological order in the SD Memory Card. Safety Data Logging Refer to the NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) for details. 4 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 55: Specifications Of Supported Sd Memory Cards, Folders, And Files

    The NJ/NX-series Controllers support both SD cards and SDHC cards. However, operation was con- firmed only for the OMRON SD Memory Card given in the following table. Correct operation may not be possible if you use any other SD or SDHC card.
  • Page 56 Root directory FAT16 FAT32 65,533 Subdirectory FAT16, FAT32 65,533 Maximum Size of One File The maximum size of any one file is 2,147,483,647 bytes (2 GB −1 byte). 4 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 57: Ftp Server

    Uses the currently specified file data type to append a local file to the remote host. close: Disconnects the FTP server. bye: Closes the FTP client. quit: Closes the FTP client. 4 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 58: Ftp Server Function Details

    Use the Built-in EtherNet/IP Port Settings to set any login name and password. l Login Messages Status Message Normal connection 220 xxx.xx.xx.xx FTP server ready. xxx.xx.xx.xx: Communication Control Unit model (example: NX-CSG320) 4 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 59: Using The Ftp Server Function

    Select Controller Setup - Built-in EtherNet/IP Port Settings on the Sysmac Studio. Make the following settings on the FTP Settings Display. • FTP server • Port number • Login name • Password 4 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 60: Ftp Server Application Example

    (1) Make sure that an SD Memory Card is inserted and turn ON the power supply to the Control- ler. (2) Connect to the FTP server from a computer on the Ethernet by entering the text that is under- lined in the following diagram. 4 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 61: Using Ftp Commands

    4-3-6 Table of Commands The FTP commands which can be sent to the built-in EtherNet/IP port are listed in the following table. 4 - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 62: Using The Commands

    • Connects the FTP server. Normally, the FTP server IP address is specified to execute this com- mand automatically when the FTP client is booted. user l Format user [user_name] 4 - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 63 • It displays the same information as command [ls -l]. • Specify a file on the SD Memory Card for the remote_file_name. • If the_local_file name is specified, the file information is stored in the specified file. 4 - 11 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 64 • Creates a directory of the specified name on the remote host (on the SD Memory Card). • An error will occur if a file or directory of the same name already exists in the working directory. 4 - 12 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 65 The MEMCARD1 directory does not exist if an SD Memory Card is not inserted in the Communi- cation Control Unit or if the SD Memory Card power indicator on the Communication Control Unit is not lit. 4 - 13 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 66 • You can save the transfered file with the name you specify for the destination_file_name. • Any existing file with the same name in the remote host (on the SD Memory Card) is overwritten by the contents of the transferred file. 4 - 14 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 67 • With wildcards (*) included in the file_name, deletes multiple remote files from the SD Memory Card. close l Format close l Function • Disconnects the FTP server of the built-in EtherNet/IP port. l Format 4 - 15 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 68 4 SD Memory Card Operations l Function • Ends the FTP session. quit l Format quit l Function • Ends the FTP session. 4 - 16 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 69: File Operations From The Sysmac Studio

    You can perform file operations from the Sysmac Studio for the SD Memory Card inserted in the Com- munication Control Unit. In addition to Controller files, you can also store document files or other files on the SD Memory Card. 4 - 17 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 70: Sd Memory Card Life Expiration Detection

    SD Memory Card is inserted. When the end of the life of the SD Memory Card is detected, save the data on the SD Memory Card and replace the SD Memory Card. 4 - 18 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 71: Sd Memory Card Self-Diagnostic Functions

    The SD Memory Not lit Not lit Observation Replace the SD Card failed. Memory Card. 4 - 19 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 72 An attempt is made by the SD Memory Card restoration function to restore any corrupted files. If the restoration fails, these files may be deleted automatically at startup. 4 - 20 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 73: Exclusive Control Of File Access In Sd Memory Cards

    Avoid accessing the same file at the same time. 4 - 21 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 74 4 SD Memory Card Operations 4 - 22 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 75: Security

    Communication Control Unit Names and Serial IDs......... 5 - 8 5-5-1 Introduction ....................5 - 8 5-5-2 Setting Methods................... 5 - 8 5-5-3 Serial IDs ...................... 5 - 9 5 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 76: Overview Of Security Functions

    ID on the computer and in the Control Unit Names Communication Control Unit are the same and Serial IDs on to prevent going online with the wrong page 5 - 8 Controller. 5 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 77: Overall Project File Protection

    If you try to open or import a project file for which a password is set, the Enter a password Dialog Box is displayed. Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for specific procedures. 5 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 78: Operation Authority Verification

    Examples of the online operations that are allowed for each operation authority are given below. Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for details. 5 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 79 Resetting the Controller Resetting errors for troubleshooting Communication Control Unit write-protection Password Specifications Item Description Valid number of characters 8 to 32 Applicable characters Single-byte alphanumeric characters (case sensitive) 5 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 80: Communication Control Unit Write Protection

    Setting and Removing Write Protection from the Sysmac Studio In the Sysmac Studio, go online and select Security − Communication Control Unit Write Protection from the Controller Menu to toggle write protection. 5 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 81 5 Security Sysmac Studio Communication Control Unit None Enable/disable write protection Power ON Setting of write Enabled protection Disabled Toggled by the Sysmac Studio Write protected Write enabled command 5 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 82: Communication Control Unit Names And Serial Ids

    After that, when you connect to the Communication Control Unit online, the Sysmac Studio re- fers to the Communication Control Unit name in the project and the Communication Control 5 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 83: Serial Ids

    Communication Communication Control Unit name Control Unit name Serial ID Serial ID 2. Check if Communica- tion Control Unit names and serial IDs are identical when connected online 5 - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 84 5 Security 5 - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 85 Event Levels ....................6 - 4 6-2-6 Displaying Event Logs .................. 6 - 4 6-2-7 Clearing Event Logs ..................6 - 5 6-2-8 Exporting Event Logs..................6 - 5 6 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 86: Overview

    ON or OFF, and the time when operation is started. • You can check these records based on the time. You can therefore use them to isolate the causes of errors when problems occur. 6 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 87: Detailed Information On Event Logs

    6-2-4 Event Codes Event codes are assigned to Controller events by the system in advance according to the type of event. Controller event codes are 8-digit hexadecimal values. 6 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 88: Event Levels

    If an event occurs in the Controller that is not supported by the version of the Sysmac Studio, the source is displayed as Unknown and the event name is displayed as Unknown Event. The event code and attached information are displayed correctly. 6 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 89: Clearing Event Logs

    Clearing Event Logs with the Clear All Memory Operation When you perform the Clear All Memory operation for an NX-series Communication Control Unit from the Sysmac Studio, you can select whether to clear the event logs.
  • Page 90 6 Event Logs 6 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 91: Changing Event Levels

    Applications of Changing Event Levels............. 7 - 3 Events for Which the Event Level Can Be Changed......... 7 - 4 Procedure to Change an Event Level............7 - 5 7 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 92: Overview Of Changing Event Levels

    Refer to 6-2-5 Event Levels on page 6 - 4 for details on event levels. You can change the event levels that are assigned to some of the Controller events. 7 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 93: Applications Of Changing Event Levels

    For example, the ERROR indicator flashes for minor fault level events and stays unlit for observation level events. You can change the lighting pattern of the ERROR indicator so that it goes out or flashes for a given event. 7 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 94: Events For Which The Event Level Can Be Changed

    Whether an event level can be changed depends on the specific event. Refer to the NX-series Safety Control Unit/Communication Control Unit User's Manual (Cat. No. Z395) for details on the types and levels of the Controller events, and whether the event levels can be changed.
  • Page 95: Procedure To Change An Event Level

    If the same event occurs after the download is completed, the Controller will operate according to the new level. 7 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 96 7 Changing Event Levels 7 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 97: Cip Message Communications

    Data Type Codes ..................8 - 43 8-6-2 Common Format..................8 - 43 8-6-3 Elementary Data Types ................8 - 44 8-6-4 Derived Data Types ..................8 - 45 8 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 98: Overview Of The Cip Message Communications Service

    The CIP Safety-compliant Communication Control Unit has the CIP message communications server capabilities. You can use the CIP message communications clients on CS/CJ-series CPU Units or NJ/NX-series CPU Units to read and write the memory of the CIP Safety-compliant Communication Control Unit.
  • Page 99: Cip Communication Server Function

    (*1) Instance ID to access. according to the service. *1. Refer to 8-4 CIP Object Services on page 8 - 11 for information about the service codes. 8 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 100: Cip Message Structure For Accessing Variables

    *2. Refer to 8-3-5 Specifying Variable Names in Request Paths on page 8 - 7 for information about how to specify variables names. *3. Refer to 8-6 Variable Data Types on page 8 - 43 for details about how to specify data formats. 8 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 101: Specifying Request Path

    Logical Segments are joined to form the request path that specifies the object to access. Logical Segment Logical Segment Logical Segment (Class ID) (Instance ID) (Attribute ID) Specify the Class ID. Specify the Instance ID. Specify the Attribute ID. 8 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 102: Examples Of Variable Specifications

    An 8-bit,16-bit, or 32-bit logical address can be used for the instance ID. 8-3-4 Data Segment A data segment is used to give the specified variable name in the request path. 8 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 103: Specifying Variable Names In Request Paths

    Variable_name Octet 00 hex. One byte is padded if the variable (pad) name length is an odd number of bytes. Variable Names Variable names are encoded in UTF-8. 8 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 104 • Specify the number of elements to access in the Num of Element field. Specification Examples This example shows how to specify VarAA.MemB[1.2] for the following structure variable. struct UINT MemA; BOOL MemB[10][10]; } VarAA; Variable Name Specification Format 8 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 105 0x28 0x01 0x28 0x02 VAR://VarAA.member[1][2] VarAA.memB[1.2] This example shows how to specify VarAA[1].MemB[1.2] for the following structure variable. struct UINT MemA; BOOL MemB[10][10]; } VarAA[3] Variable Name Specification Format 8 - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 106 02 hex Array index for the second element Specification Example for Structure Array 0x91 0x05 “VarAA” 0x00 0x28 0x01 0x91 0x04 “MemB” 0x28 0x01 0x28 0x02 VAR://VarAA.member[1][2] VarAA[1].memB[1.2] 8 - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 107: Cip Object Services

    Input one of the following values for Request Service Data to ported specify the reset method. 00 hex: Resets the built-in EtherNet/IP port. 02 hex: Clears the saved tag data link settings and resets the built-in EtherNet/IP port. 8 - 11 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 108 07 hex Product Name Product name Read STRING Set value (a) Product Codes for Each Model Model: NX-CSG320 Product code: 0BC0 hex (b) Major and Minor CIP Revisions 8 - 12 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 109 Other than the above. Request Paths (IOIs) to Specify Objects When you specify an object, specify the request path (IOI) for each service code as given below. 8 - 13 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 110: Nx Configuration Object (Class Id: 74 Hex)

    Read NX object are given below. Request Format Parameter name Description Data type Value (hex) Service Service code USINT Request Path Size Size of request path USINT 8 - 14 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 111 Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). l Write NX Object (Service Code: 34 hex) The request format, format for normal responses, format for error responses, and CIP error codes for the Write NX object are given below.
  • Page 112 Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). 8 - 16 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 113 Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). A vendor specific error will occur if you execute this service for an NX Unit that does not support restarting.
  • Page 114 Store operation failure Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). 8 - 18 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 115 Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). 8 - 19 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 116 Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). 8 - 20 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 117 Communication Control Unit Error Member name Meaning Data Type Index UDINT Index number of current error Event occurred time Time when error occurred ULINT Event source Event source UINT 8 - 21 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 118 OF BYTE These numbers are attached in the order that the errors occurred. Refer to Error Descriptions and Corrections in the NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) for details. Format for Error Response...
  • Page 119 General status code (hex) Error code Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). l Get Event Log (Service Code: 3B hex) The request format, format for normal responses, format for error responses, and CIP error codes for the Get event log object are given below.
  • Page 120 OF BYTE These numbers are attached in the order that the errors occurred. Refer to Error Descriptions and Corrections in the NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) for details. Format for Error Response...
  • Page 121 Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). l Clear Event Log (Service Code: 3C hex) The request format, format for normal responses, format for error responses, and CIP error codes for the Clear event log object are given below.
  • Page 122 After this service is executed, the NX Unit Memory All Cleared event (event code 95810000hex) is regis- tered. The NX-series Safety CPU Units do not support this service. An error will occur if you execute this service for an NX-series Safety Control Unit.
  • Page 123 Not enough data Too much data Vendor specific error Invalid parameter For details of the individual errors, refer to the appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). Class ID Specify 74 hex.
  • Page 124: Tcp/Ip Interface Object (Class Id: F5 Hex)

    "0C hex" (Object State Conflict) is returned. Class ID Specify F5 hex. Instance ID Specify 00 or 01 hex. 00: Specify the class 8 - 28 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 125 FALSE) bit 6: AcdStatus: FALSE = IP address collisions have not been detected. TRUE = IP address collisions have been detected. bit 7 to 31: Reserved (always FALSE) 8 - 29 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 126 • Specifying a service for an in- to 03 hex 10 hex Set_Attribute_Single stance: 01 hex • Reading and writing an in- stance attribute: 01 to 06 hex 8 - 30 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 127: Ethernet Link Object (Class Id: F6 Hex)

    01: Built-in EtherNet/IP port Attribute ID The attribute ID specifies the information to read. l Class Attribute ID The class attribute ID specifies the attribute of the entire object. 8 - 31 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 128 Flags Details, below. 03 hex Physical Address Gives the MAC address of Read ARRAY Reads the current val- the interface. [0...5] OF ue of the MAC ad- USINT dress. 8 - 32 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 129 Out Discards The number of discarded sent UDINT Reads the current val- packets. Out Errors The number of sent packets UDINT Reads the current val- that had errors. 8 - 33 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 130 Refer to (b) Control duplex for Ethernet communi- Bits Details, below. cations. Forced Interface Speed Gives the set value of the UINT Reads the setting val- Ethernet baud rate. 8 - 34 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 131 The number of multicast ULINT Reads the current val- packets sent through the in- terface. HCOutBroadcastPkts The number of broadcast ULINT Reads the current val- packets sent through the in- terface. 8 - 35 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 132 04 hex: Auto-negotiation was not attempted. Manual Setting Requires Always FALSE: Changes can be applied automatically. Speed Local Hardware Fault Always FALSE 7 to 31 Reserved Always FALSE 8 - 36 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 133: Controller Object (Class Id: C4 Hex)

    Writes a value to the specified attribute. Support- Not sup- ported 51 hex Reset_Sys- Clears all errors of Communication Control Unit. Support- Not sup- tem_Alarm_All ported Class ID Specify C4 hex. 8 - 37 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 134 0E hex Get_Attribute_Single C4 hex 00 hex Specifies the attribute of the class to read or write: 01 hex, 02 10 hex Set_Attribute_Single hex, or 64 to 66 hex 8 - 38 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 135: Read And Write Services For Variables

    The service ended normally. RESOURCE_UNAVAILABLE The internal processing buffer is not available. PATH_SEGMENT_ERROR The request path specification is not cor- rect. PATH_DESTINATION_UNKNOWN The variable specification is not correct. 8 - 39 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 136: Write Service For Variables

    8-5-2 Write Service for Variables Specify service code 4D hex to write the value of the variable that is specified by the request path. 8 - 40 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 137 There is an error in tag memory. NOT_ENOUGH_DATA The data length was too short for the speci- fied service. TOO_MUCH_DATA The data length was too long for the speci- fied service. 8 - 41 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 138 An attempt was made to write an out-of- range value for a variable for which a subrange is specified. • An attempt was made to write an unde- fined value to an enumeration variable. 8 - 42 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 139: Variable Data Types

    “CIP Common” indicates codes that are defined in the CIP Common Specifications. “Vendor Specific” indi- cates codes that are assigned by OMRON. 8-6-2 Common Format The basic format on the data line is shown below. Data Format 8 - 43 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 140: Elementary Data Types

    Applicable data types: DINT, UDINT, UDINT BCD, REAL, and DWORD Data Format USINT Data Type USINT UINT Num of Elem 01 hex 00 hex Data (LL) (LH) (HL) (HH) 8 - 44 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 141: Derived Data Types

    Accessing More Than One Element at the Same Time l Arrays • Accessing an Entire Array If you access an array variable without specifying an element, the entire array is accessed. 8 - 45 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 142 Data Format USINT C1 hex (data type code for BOOL) USINT 00 hex (WORD) b[1][2] b[1][1] b[1][0] b[0][2] b[0][1] b[0][0] • Exceptions When Specifying the Num of Element Field 8 - 46 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 143 Data Format USINT Data Type A0 hex (Abbreviated STRUCT) USINT 02 hex UINT CRC value for the structure definition UINT Num of Elem 01 hex 00 hex Data 8 - 47 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 144 8 CIP Message Communications 8 - 48 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 145 System Configuration for Using the TCP/UDP Message Service .... 9 - 3 TCP/UDP Message Service Specifications ..........9 - 4 9-3-1 TCP/IP and UDP/IP Message Format ............9 - 4 9 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 146: Overview Of The Tcp/Udp Message Service Function

    Sysmac Studio also allows you to enable and disable the TCP/UDP message service function. Refer to A-1-7 TCP/UDP Message Service Settings Display on page A - 13 for details. 9 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 147: System Configuration For Using The Tcp/Udp Message Service

    For a device that does not support EtherNet/IP, you can use the TCP/UDP message service as an al- ternative to EtherNet/IP communications. Devices such as computers or other controllers can send and receive Omron specific TCP/IP commands and UDP/IP commands to access CIP objects as shown in the figure below.
  • Page 148: Tcp/Udp Message Service Specifications

    Data size 2 bytes Reserved 2 1 byte Service code 1 byte Class ID 2 bytes Instance ID 2 bytes Attribute ID 2 bytes Data 490 bytes max. 9 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 149 The data size from the next parameter to the end of the 0600 data is stored. The unit is bytes. Size range: 4 to 500 Reserved Always set to 0. 9 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 150 Message Service Specifications on page 9 - 4. Other error codes Refer to an appendix of NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395). 9 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 151 30 seconds and connection active at all times. a 9th client attempted a connection. In this condition, an idle ac- tive client will be au- tomatically closed. 9 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 152 9 TCP/UDP Message Service Function 9 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 153 10-2 Procedure to Use the SNMP Agent ............10 - 20 10-2-1 Procedures ....................10 - 20 10-2-2 Settings Required for the SNMP Agent ............ 10 - 20 10 - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 154: Overview

    You can use the SNMP manager to monitor the built-in EtherNet/IP port. SNMP manager SNMP agent Information requested (SNMP command). Information sent (management information). Built-in EtherNet/IP port The SNMP manager has a SNMP command to request MIB information. 10 - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 155: Specifications

    When links are established • When an SNMP agent fails to be authorized Supported MIB com- GetRequest/GetNextRequest mands 10-1-3 SNMP Messages The structure of SNMP messages is as follows: 10 - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 156: Mib Specifications

    -system (1) Unit information interface (2) Interface information ip (4) IP information icmp (5) ICMP information tcp (6) TCP information udp (7) UDP information snmp (11) SNMP information 10 - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 157 [(6) RW] Support- Set by the user. The physical location of the device. sysServices [(7) RO] Support- The value of the provided service. 10 - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 158 The sysUpTime (in 0.01 seconds) at the last ard. change in ifOperStatus for this interface. ifInOctets The number of octets received through this Support- According to the stand- interface. This includes framing characters. ard. 10 - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 159 The number of packets that could not be sent ard. because of an error. ifOutQLen [(21) RO] Support- Always 0 The size of the send packet queue (i.e., the number of packets). 10 - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 160 [(7) RO] Support- According to the stand- The number of IP datagrams that were re- ard. ceived but discarded because they were of an unsupported or unrecognized protocol. 10 - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 161 The number of IP datagrams received that ard. were not successfully reassembled. ipFragOKs [(17) RO] Support- According to the stand- The number of IP datagrams that were suc- ard. cessfully fragmented. 10 - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 162 The ID number of the interface required to ard. send to the next destination host in this route. This ID number is the same number as ifIndex, which is used to identify the interface. 10 - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 163 (10) ciscolgrp (11) bbnSpflgp (12) ospf (13): OSPF bgp (14) ipRouteAge [(10) RW] Support- Always 0 The elapsed time since this route was updat- ed (in seconds). 10 - 11 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 164 Standard [(identifier) attribute] Support plementation icmpInMsgs [(1) RO] Support- According to the stand- The total number of received ICMP messag- ard. es. This includes messages counted by icm- pInErrors. 10 - 12 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 165 According to the stand- The number of Time Exceed messages sent. ard. icmpOutParmProbs [(18) RO] Support- According to the stand- The number of Parameter Problem messag- ard. es sent. 10 - 13 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 166 [(4) RO] Support- According to the stand- The total number of supported TCP connec- ard. tions. If the maximum number of connections is dynamic, this value is -1. 10 - 14 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 167 [(12) RO] Support- According to the stand- The total number of resent segments. ard. tcpConnTable [(13) NA] The information table specific to the TCP connection. 10 - 15 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 168 Standard [(identifier) attribute] Support ifications udpInDatagrams [(1) RO] Support- According to the stand- The total number of UDP datagrams (i.e., the ard. number of packets) sent to the UDP user. 10 - 16 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 169 ASN.1 error or BER error during decoding. snmpInTooBigs [(8) RO] Sup- According to the The total number of PDUs received with an er- ported standard. ror status of tooBig. 10 - 17 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 170 According to the The total number of GetNextRequest PDUs standard. ported sent. snmpOutSetRequests [(27) RO] Sup- According to the The total number of SetRequest PDUs sent. ported standard. 10 - 18 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 171 The total number of trap PDUs sent. ported standard. snmpEnableAuthen- [(30) RW] Sup- According to the Traps Determines if the agent generates verification ported standard. failed traps. enabled (1) disabled (2) 10 - 19 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 172: 10-2 Procedure To Use The Snmp Agent

    Set an IP address or a host name as the Host name SNMP trap destination. Community name Specified by user. Version Required Set the version of the SNMP manager. 10 - 20 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 173 Refer to A-1-6 SNMP Trap Settings Display on page A - 11 for information on the SNMP Settings Display. Refer to A-1-6 SNMP Trap Settings Display on page A - 11 for information on the SNMP Trap Settings Display. 10 - 21 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 174 10 SNMP Agent 10 - 22 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 175: Appendices

    PLC Function Module, Category Name: _PLC ........... A - 57 A-5-3 NX Bus Function Module, Category Name: _NXB ........A - 59 A-5-4 EtherNet/IP Function Module, Category Name: _EIP......... A - 61 A - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 176: Sysmac Studio Settings For The Built-In Ethernet/Ip Port

    Subnet mask These settings are required if you set IP address setting method to Fixed setting. Refer to the NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) for details on the IP address setting. l IP Address - Port 2 Set an IP address for the built-in EtherNet/IP port 2.
  • Page 177 Subnet mask These settings are required if you set IP address setting method to Fixed setting. Refer to the NX-series Safety Control Unit / Communication Control Unit User's Manual (Cat. No. Z395) for details on the IP address setting. Precautions for Correct Use You cannot set IP addresses that make two built-in EtherNet/IP ports belong to the same net- work.
  • Page 178 IP router using the IP routing function for the built-in EtherNet/IP port. You can set up to 64 combinations of IP addresses and gateway addresses. Specify 0 for the host portions of the IP addresses. A - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 179 Select the method of filtering incoming IP packets that IP address are permitted. specifica- tion • IP address specification • Specify an IP address that is permitted to receive in- None IP Address coming packets. A - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 180: A-1-2 Link Settings Display

    • 10 Mbps Half Duplex • 10 Mbps Full Duplex • 100 Mbps Half Duplex • 100 Mbps Full Duplex For Port 2, you can select Auto only. A - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 181: A-1-3 Ftp Settings Display

    The following ports are used by the system and cannot be set by the user: 20, 23, 25, 80, 110, 9610, and 44818. The login name and password are case sensitive. Additional Information Refer to 4-3 FTP Server on page 4 - 5 for details on the FTP server. A - 7 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 182: Ntp Settings Display

    The NTP server is accessed when the specified period of time has 60 minutes passed. (Setting range: 1 to 1,440 minutes) Specify this setting if the NTP operation timing is set to the Specify a time interval Option. A - 8 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 183: A-1-5 Snmp Settings Display

    Specify whether to use the SNMP monitor service. Do not use If the Do not use Option is selected, an SNMP manager cannot connect from an external device. A - 9 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 184 (Single-byte alphanumeric characters, dots, and hyphens: 255 characters max.) l Recognition 2 If the Use Option is selected for SNMP service, you need to make the following settings. A - 10 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 185: Snmp Trap Settings Display

    Set the community name to enable the SNMP manager to ac- public cess information from the built-in EtherNet/IP port. (Single-byte alphanumeric characters, dots, and hyphens: 255 characters max.) A-1-6 SNMP Trap Settings Display A - 11 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 186 Do not use • • Do not use Recognition method Set the specifying method for the SNMP manager destination for IP address SNMP traps. • IP address • Host name A - 12 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 187: A-1-7 Tcp/Udp Message Service Settings Display

    Specify a TCP/IP port number or a UDP/IP port number used for 64000 Port 2. For the details on the port number range, refer to 9-3 TCP/UDP Message Service Specifications on page 9 - 4. A - 13 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 188: A-2 Testing Communications

    The following example shows how to use the PING command in the host computer. Application Method Input the following command at the host computer's prompt ($): $ ping IP_address (host_name) A - 14 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 189 ---- 130.25.36.8 PING Statistics ---- 9 packets transmitted, 0 packets received, 100% packet loss Refer to the command reference manual for your computer's OS for details on using the PING command. A - 15 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 190: A-3 Variable Memory Allocation Methods

    The alignments and the amounts of memory that are allocated for the basic data types and enumera- tions are given below. Amount of memory that is al- Data type Alignment [bytes] located [bytes] BOOL BYTE, USINT, or SINT A - 16 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 191 The largest amount of memory that is allocated for any of members the members BOOL arrays are an exception. Refer to Precautions for Correct Use, below, for the amount of memory that is allocated for BOOL arrays. A - 17 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 192: A-3-2 Basic Data Types

    Variable B, 1 byte BYTE Variables with Two-byte Alignments (e.g., BOOL and WORD) Two bytes of memory are allocated for the two-byte alignment. Example: Two consecutive BOOL variables A - 18 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 193 If a variable with a four-byte alignment, such as DWORD data, is inserted, four bytes of un- used memory will remain. Example: Consecutive variables in the following order: LWORD, WORD, and LWORD A - 19 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 194: Arrays

    4 bytes (integer multiple of 2) First byte + 9 First byte + 10 Variable E, First byte + 11 2 bytes Example: INT array with five elements A - 20 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 195: Structures

    Example: The alignments and the amounts of memory that are allocated for the four variable declara- tions given in the following figure are given in the following table. Variable Alignment [bytes] Amount of memory that is allocated [bytes] A - 21 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 196 Example: The alignments and the amounts of memory that are allocated for the four variable declara- tions given in the following figure are given in the following table. Variable Alignment [bytes] Amount of memory that is allocated [bytes] A - 22 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 197: Unions

    Example: The alignments and the amounts of memory that are allocated for the four variable declara- tions given in the following figure are given in the following table. Variable Alignment [bytes] Amount of memory that is allocated [bytes] A - 23 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 198 First byte + 18 Variable D, First byte + 19 8 bytes D[1].c D[1].d First byte + 20 First byte + 21 First byte + 22 First byte + 23 A - 24 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 199: A-4 System-Defined Variables

    Communication Control Unit. Refer to A-5 Specifications for Individual System-defined Variables on page A - 53 for details on the specifications for individual system-defined variables. A - 25 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 200: A-4-1 System-Defined Variables For The Overall Controller (No Category)

    The system updates the flag every 100 ms. Because of this, access to the SD Memory Card is shown by this flag with a delay of up to 100 ms. A - 26 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 201 • When no error is detected in the bat- tery-backup memory check at startup. • When the Clear All Memory operation is performed. A - 27 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 202: Plc Function Module, Category Name: _Plc

    FALSE when there is no Controller error that involves the PLC Function Module. Refer to A-4-5 Meanings of Error Status Bits on page A - 52 for the meanings of the error status bits. A - 28 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 203 TRUE: The I/O data in the NX Unit is val- FALSE: The I/O data in the NX Unit is in- valid. The status is FALSE for NX Units that are set as unmounted Units. A - 29 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 204: Meanings Of Error Status Bits

    16#40F2 Status Communication Control Unit. Note Refer to A-4-5 Meanings of Er- ror Status Bits on page A - 52 for the meanings of the error status bits. A - 30 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 205: Ethernet/Ip Function Module, Category Name

    _EIP_TcpAppErr (TCP Application Communications Error) Note Refer to A-4-5 Meanings of Er- ror Status Bits on page A - 52 for the meanings of the error status bits. A - 31 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 206 ON. Refer to A-4-5 Meanings of Er- ror Status Bits on page A - 52 for the meanings of the error status bits. A - 32 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 207 ON. Refer to A-4-5 Meanings of Er- ror Status Bits on page A - 52 for the meanings of the error status bits. A - 33 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 208 TRUE. Refer to A-4-5 Meanings of Error Status Bits on page A - 52 for the meanings of the error status bits. A - 34 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 209 TRUE. Refer to A-4-5 Meanings of Error Status Bits on page A - 52 for the meanings of the error status bits. A - 35 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 210 A - 66 Setting Error tions speed setting (Speed/Duplex) for FALSE the communications port 1 is incorrect. Or, a read operation failed. TRUE: Setting incorrect or read failed. FALSE: Normal A - 36 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 211 Indicates that the DNS or hosts settings BOOL TRUE or page A - 68 are incorrect. Or, a read operation failed. FALSE TRUE: Setting incorrect or read failed. FALSE: Normal A - 37 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 212 BOOL TRUE or page A - 70 Error for CIP communications 1 are incorrect. FALSE Or, a read operation failed. TRUE: Setting incorrect or read failed. FALSE: Normal A - 38 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 213 Indicates that a timeout occurred in a tag BOOL TRUE or page A - 72 munications Error data link connection for CIP communica- FALSE tions 1. TRUE: A timeout occurred. FALSE: Other than the above. A - 39 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 214 I/O direction of the variable in the Communication Control Unit. • There is no network variable in the Communication Control Unit that cor- responds to the tag setting. FALSE: Other than the above. A - 40 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 215 TRUE: It shows IP address switch of BOOL TRUE or page A - 75 Change during Oper- Port1 was changed during operation. FALSE ation Error FALSE: Other than the above. A - 41 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 216 TRUE. Therefore, you can check the values of system- defined variables in a higher level to see if an error has occurred for a variable in a lower level. A - 42 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 217 Note You can access the same values of the system-defined variables whose variable names with _EIP1 and the system-defined variables whose variable names with _EIP. For example, you can access the same values of _EIP1_PortErr (Communications Port1 Error) and _EIP_PortErr (Communications Port Error). A - 43 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 218 Communications Sta- municating in CIP communications 1. FALSE TRUE: Tag data links are communicating in all connections as the originator. FALSE: An error occurred in at least one connection. A - 44 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 219 ID of x was established normally. Array[x] is FALSE: The connection to the node with a target node ID of x was not established, or an error occurred. A - 45 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 220 FALSE, it indicates the previous operat- ing status. Array[x] is TRUE: This is the operating state of the target Controller with a node address of x. Array[x] is FALSE: Other than the above. A - 46 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 221 FALSE. Array[x] is TRUE: A fatal or non-fatal error occurred in the target Controller with a target node ID of Array[x] is FALSE: Other than the above. A - 47 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 222 (the Registered Target Node Information is TRUE and the Normal Tar- get Node Information is TRUE). An error occurred in the target Controller (the Target PLC Error Information is TRUE). A - 48 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 223 (the Registered Target Node Information is TRUE and the Normal Tar- get Node Information is TRUE). An error occurred in the target Controller (the Target PLC Error Information is TRUE). A - 49 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 224 • _EIP1_TargetPLCErr (CIP Communications1 Target PLC Error Information) • _EIP1_TargetNodeErr (CIP Communications1 Target Node Error Information) • CIP Communications 2 • _EIP2_RegTargetSta (CIP Communications2 Registered Target Node Information) A - 50 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 225 Note Do not force this switch to change to FALSE from the Sysmac Studio or other means before it automatically changes to FALSE. A - 51 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 226: A-4-5 Meanings Of Error Status Bits

    This bit indicates whether an observation level Controller error has occurred. TRUE: An observation level Controller error has occurred. FALSE: An observation level Controller error has not occurred. 0 to 3 Reserved. A - 52 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 227: Specifications For Individual System-Defined Variables

    This variable contains 0000 hex when there is no user-defined error. Data type WORD Range of values 16#0000 to 16#00FF R/W access Retained Not retained. Network Publish Published. A - 53 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 228 The system updates the flag every 100 ms. Because of this, access to the SD Memory Card is shown by this flag with a delay of up to 100 ms. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 54 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 229 Function TRUE when a backup, restoration, or verification is in progress. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 55 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 230 When no error is detected in the battery-backup memory check at startup. • When the Clear All Memory operation is performed. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Not published. A - 56 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 231: Plc Function Module, Category Name: _Plc

    FALSE. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A-5-2 PLC Function Module, Category Name: _PLC A - 57 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 232 When this flag is TRUE, it means that the logging has completed. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Not published. A - 58 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 233: Nx Bus Function Module, Category Name: _Nxb

    The status is FALSE for NX Units that are set as unmounted Units. Data type ARRAY [0..32] OF BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 59 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 234 The status is "FALSE" for NX Units that are set as unmounted Units. Data type ARRAY [0..32] OF BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 60 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 235: A-5-4 Ethernet/Ip Function Module, Category Name

    Bits on page A - 52 for the meanings of the error status bits. Data type WORD Range of values 16#0000 to 16#00F0 R/W access Retained Not retained. Network Publish Published. A - 61 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 236 Bits on page A - 52 for the meanings of the error status bits. Data type WORD Range of values 16#0000 to 16#00F0 R/W access Retained Not retained. Network Publish Published. A - 62 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 237 TRUE. Refer to A-4-5 Meanings of Error Status Bits on page A - 52 for the meanings of the error status bits. Data type WORD Range of values 16#0000 to 16#00F0 R/W access Retained Not retained. Network Publish Published. A - 63 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 238 Indicates that an error occurred when the MAC address was read on the communications port 1 at startup. TRUE: Error FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 64 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 239 Indicates that a communications controller failure occurred on the communications port 1. TRUE: Failure FALSE: Normal Data type BOOL Range of values TTRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 65 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 240 Or, a read operation failed. TRUE: Setting incorrect or read failed. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 66 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 241 The IP address obtained from the BOOTP server is inconsistent. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 67 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 242 Indicates that the DNS or hosts settings are incorrect. Or, a read operation failed. TRUE: Setting incorrect or read failed. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 68 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 243 Indicates that the default gateway settings or IP router table settings are incorrect. TRUE: Setting incorrect or read failed. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 69 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 244 Indicates that the tag data link settings for CIP communications 1 are incorrect. Or, a read operation failed. TRUE: Setting incorrect or read failed. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 70 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 245 There was no response from the remote node. FALSE: Other than the above. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 71 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 246 Indicates that a timeout occurred in a tag data link connection for CIP communications 2. TRUE: A timeout occurred. FALSE: Other than the above. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 72 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 247 There is no network variable in the Communication Control Unit that corresponds to the tag setting. FALSE: Other than the above. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 73 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 248 TRUE: At least one of the set values for a TCP/IP application (FTP, NTP, SNMP) is incorrect. Or, a read operation failed. FALSE: Normal Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 74 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 249 TRUE: It shows IP address switch of Port2 was changed during operation. FALSE: Other than the above. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 75 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 250 Indicates that at least one connection is in normal operation in CIP communications 1. TRUE: Normal operation FALSE: Other than the above. Data type BOOL Range of values TRUE or FALSE R/W access Retain Not retained. Network Publish Published. A - 76 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 251 Array[x] is FALSE: The connection to the node with a target node ID of x is not registered. Data type ARRAY [0..255] OF BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 77 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 252 Array[x] is FALSE: The connection to the node with a target node ID of x was not established, or an error occur- red. Data type ARRAY [0..255] OF BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 78 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 253 Array[x] is TRUE: A fatal or non-fatal error occurred in the target Controller with a target node ID of x. Array[x] is FALSE: Other than the above. Data type ARRAY [0..255] OF BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 79 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 254 Information is TRUE and the Normal Target Node Information is TRUE). An error occurred in the target Controller (the Target PLC Error Information is TRUE). Data type ARRAY [0..255] OF BOOL Range of values TRUE or FALSE R/W access Retain Not retained. Network Publish Published. A - 80 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 255 Note Do not force this switch to change to FALSE from the user program or from the Sysmac Studio. It changes to FALSE automatically. Data type BOOL Range of values TRUE or FALSE R/W access Retain Not retained. Network Publish Published. A - 81 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 256 Note Do not force this switch to change to FALSE from the user program or from the Sysmac Studio. It changes to FALSE automatically. Data type BOOL Range of values TRUE or FALSE R/W access Retained Not retained. Network Publish Published. A - 82 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 257 Index I - 1 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 258 ................ A - 39,A - 71 Destination IP Address............A - 4 CIP Communications1 Tag Data Link Setting Error....Destination Mask IP Address.......... A - 4 ................ A - 39,A - 71 I - 2 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 259 Link Communications Start Switch)....A - 51,A - 81 ................ A - 36,A - 64 _EIP1_TDLinkStopCmd (CIP Communications1 Tag Data Link Communications Stop Switch)....A - 51,A - 82 I - 3 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 260 NTP Server Connection Error......A - 41,A - 75 NTP Settings Display............A - 8 Gateway Address............A - 4 NX Bus Function Module Error Status....A - 30,A - 60 get..................4 - 14 I - 4 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 261 Tag Data Link Setting Error........ A - 38,A - 70 ................ A - 42,A - 75 Tag Name Resolution Error........ A - 40,A - 73 Port2 MAC Address Error........A - 36,A - 65 I - 5 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 262 Unit Version........... 18,A - 28,A - 57 _UnitVersion (Unit Version)........ A - 28,A - 57 user................4 - 10 User-defined Error Status........A - 26,A - 53 Version............18,A - 12,A - 13 I - 6 NX-series Communication Control Unit Built-in Function User's Manual (Z396)
  • Page 263 OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICE São Paulo, SP, Brasil • 55.11.2101.6300 • www.omron.com.br OMRON EUROPE B.V. • Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. • +31 (0) 23 568 13 00 • www.industrial.omron.eu Authorized Distributor: Controllers & I/O •...

This manual is also suitable for:

Nx-csg series

Table of Contents