manualshive.com logo in svg
background image

Machine Automation Controller

NJ/NX-series

CPU Unit Built-in EtherNet/IP™ Port

User’s Manual

NX701-1

£££

NX102-1

£££

NX102-90

££

NX1P2-1

£££££

NX1P2-9

£££££

NJ501-

££££

NJ301-

££££

NJ101-10

££

NJ101-90

££

CPU Unit

W506-E1-23

Содержание Sysmac NX1P2-10 1 Series

Страница 1: ...Machine Automation Controller NJ NX series CPU Unit Built in EtherNet IP Port User s Manual NX701 1 NX102 1 NX102 90 NX1P2 1 NX1P2 9 NJ501 NJ301 NJ101 10 NJ101 90 CPU Unit W506 E1 23...

Страница 2: ...s publication Trademarks Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products Microsoft Windows Excel and V...

Страница 3: ...FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing FA systems and facilities For programming this manual is intended for personnel who understand t...

Страница 4: ...J NX series Motion Control Instructions Reference Manual NJ NX series CPU Unit Built in EtherCAT Port User s Manual NJ NX series CPU Unit Built in EtherNet IP Port User s Manual NJ NX series CPU Unit...

Страница 5: ...User s Manual NJ NX series Troubleshooting Manual Writing the user program Using motion control Using EtherCAT Using EtherNet IP Using OPC UA Using FINS Using the database connection service Using the...

Страница 6: ...below until they click into place Precautions for Correct Use Precautions for Correct Use 4 3 1 Connecting Controller Components Connector Hook Hook holes Slider Lock Release Move the sliders toward t...

Страница 7: ...ns and functionality for Controller with different unit versions and for different versions of the Sysmac Studio is given Precaution on Terminology In this manual download refers to transferring data...

Страница 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 9: ...age Communications Socket Service 1 2 3 4 5 7 8 9 1 2 3 4 5 6 7 8 7 Appendices A Index I Introduction Installing Ethernet Networks 6 FTP Client Automatic Clock Adjustment SNMP Agent Communications Per...

Страница 10: ...al Tool Versions 26 Related Manuals 27 Revision History 30 Section 1 Introduction 1 1 Introduction 1 2 1 1 1 EtherNet IP Features 1 2 1 1 2 Features of Built in EtherNet IP Port on NJ NX series CPU Un...

Страница 11: ...defined Variables Related to the Built in Ether Net IP Port 3 1 System defined Variables Related to the Built in EtherNet IP Port 3 2 3 2 System defined Variables 3 3 3 3 Specifications for Individua...

Страница 12: ...es 7 49 7 2 8 Connecting the Network Configurator to the Network 7 52 7 2 9 Downloading Tag Data Link Parameters 7 58 7 2 10 Uploading Tag Data Link Parameters 7 61 7 2 11 Verifying Tag Data Link Para...

Страница 13: ...bles 8 83 8 6 1 Read Service for Variables 8 83 8 6 2 Write Service for Variables 8 84 8 7 Variable Data Types 8 87 8 7 1 Data Type Codes 8 87 8 7 2 Common Format 8 87 8 7 3 Elementary Data Types 8 88...

Страница 14: ...for the FTP Server Function 11 7 11 4 FTP Server Application Example 11 9 11 5 Using FTP Commands 11 11 11 5 1 Table of Commands 11 11 11 5 2 Using the Commands 11 11 11 6 Using SD Memory Card Operati...

Страница 15: ...s 15 22 15 3 1 Timing of Data Transmissions 15 22 15 3 2 Built in EtherNet IP Port Data Processing Time 15 23 15 3 3 Relationship between Task Periods and Packet Intervals RPIs 15 25 15 3 4 Maximum Ta...

Страница 16: ...ettings A 43 A 5 Variable Memory Allocation Methods A 46 A 5 1 Variable Memory Allocation Rules A 46 A 5 2 Important Case Examples A 55 A 6 Precautions When Accessing External Outputs in CPU Units A 5...

Страница 17: ...ing Product or iii repay or credit Buyer an amount equal to the purchase price of the non complying Product provided that in no event shall Omron be re sponsible for warranty repair indemnity or any o...

Страница 18: ...AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCT S IS PRO...

Страница 19: ...ative at any time to confirm actual specifications of purchased Product Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate how ever no respon...

Страница 20: ...dware User s Manual Cat No W535 NX series NX102 CPU Unit Hardware User s Manual Cat No W593 NX series NX1P2 CPU Unit Hardware User s Manual Cat No W578 NJ series CPU Unit Hardware User s Manual Cat No...

Страница 21: ...Hardware User s Manual Cat No W535 NX series NX102 CPU Unit Hardware User s Manual Cat No W593 NX series NX1P2 CPU Unit Hardware User s Manual Cat No W578 NJ series CPU Unit Hardware User s Manual Cat...

Страница 22: ...t Hardware User s Manual Cat No W535 NX series NX102 CPU Unit Hardware User s Manual Cat No W593 NX series NX1P2 CPU Unit Hardware User s Manual Cat No W578 NJ series CPU Unit Hardware User s Manual C...

Страница 23: ...Hardware User s Manual Cat No W535 NX series NX102 CPU Unit Hardware User s Manual Cat No W593 NX series NX1P2 CPU Unit Hardware User s Manual Cat No W578 NJ series CPU Unit Hardware User s Manual Ca...

Страница 24: ...rsions on the ID information indications or with the Sysmac Studio Checking Unit Versions on ID Information Indications The unit version is given on the ID information indication on the side of the pr...

Страница 25: ...ormation on an NX series NX1P2 CPU Unit is shown below PORT1 PORT2 Ver 1 HW Rev LOT No DDMYY xxxx ID information indication Lot number Serial number Unit version MAC address Hardware revision Note The...

Страница 26: ...Right click CPU Rack under Configurations and Setup CPU Expansion Racks in the Multi view Explorer and select Production Information The Production Information Dialog Box is displayed Checking the Uni...

Страница 27: ...an EtherCAT Slave You can use the Production Information while the Sysmac Studio is online to check the unit version of an EtherCAT slave Use the following procedure to check the unit version 1 Double...

Страница 28: ...X series CPU Unit use the versions of the Network Configurator and the Sysmac Studio that are given in the following table OK Supported Not supported CPU Unit Network Configurator for EtherNet IP Sysm...

Страница 29: ...he basic specifications of the NX1P2 CPU Units including introductory information design ing installation and maintenance Mainly hardware in formation is provided An introduction to the entire NX1P2 s...

Страница 30: ...ions are descri bed NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505 NX701 NX102 NX1P2 NJ501 NJ301 NJ101 Using the built in EtherCAT port on an NJ NX series CPU Unit Information on the...

Страница 31: ...tected in an NJ NX series Controller and information on individual errors are descri bed Sysmac Studio Version 1 Operation Manual W504 SYSMAC SE2 Learning about the operating procedures and functions...

Страница 32: ...ersion 1 04 of the CPU Units Corrected mistakes 06 April 2013 Corrected mistakes 07 June 2013 Added information on functional support for unit version 1 06 of the CPU Units 08 December 2013 Added info...

Страница 33: ...ts Added information on functional support for unit version 1 30 of the CPU Units Consolidated descriptions related to event codes and errors into the NJ NX series Troubleshooting Manual Corrected mis...

Страница 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 35: ...ations 1 8 1 3 2 Part Names and Functions 1 12 1 4 Introduction to Communications Services 1 19 1 4 1 CIP Common Industrial Protocol Communications Services 1 19 1 4 2 IP Routing 1 21 1 4 3 Packet Fil...

Страница 36: ...led tag data links in this manual with EtherNet IP devices Tag Data Link Cyclic Communications Cycle Time Tag data links cyclic communications operate at the cyclic period specified for each applicati...

Страница 37: ...Controllers connected to Ethernet can be automatically adjusted to the time of the clock in the NTP server If all of the clocks in the system are automatically adjusted to the same time time stamps c...

Страница 38: ...ith the NX SL5 Safety Control Unit you can build a system which uses CIP Safety on EtherNet IP communications in networks between Controllers and field networks Safety communications by CIP Safety is...

Страница 39: ...port CJ2H CPU EIP CJ2M CPU3 CJ series EtherNet IP Unit 1 CJ1W EIP21 CS series EtherNet IP Unit CS1W EIP21 These Units are used to connect to an EtherNet IP network 2 Twisted pair cable The twisted pai...

Страница 40: ...details on the Sysmac Studio Tag Data Link Settings Network Configurator Use the Network Configurator to set the tag data links for the built in EtherNet IP port The Net work Configurator is included...

Страница 41: ...g data links Refer to A 2 Use the Sysmac Studio to Set the Tag Data Links EtherNet IP Connections on page A 3 for details on setting the tag data links on the Sysmac Studio 1 Introduction 1 7 NJ NX se...

Страница 42: ...d CSMA CD Modulation Baseband Transmission paths Star form Baud rate 1 000 Mbps 1000Base T 100 Mbps 100Base TX Transmission me dia Shielded twisted pair STP cable Category 5 5e or higher Transmission...

Страница 43: ...d Number of tags per connection 1 tag set 8 7 tags when the tag set includes the Controller status Maximum link data size per node 739 328 bytes 38 400 bytes 19 200 bytes Maximum data size per connec...

Страница 44: ...e processed in one second 3 If the two built in EtherNet IP ports are used simultaneously the maximum communications data size for two ports in total will be reached 4 An NX102 CPU Unit with unit vers...

Страница 45: ...TCP 21 NTP client UDP 123 SNMP agent UDP 161 SNMP trap UDP 162 TCP UDP message service NX102 TCP UDP 64000 10 A CPU Unit with unit version 1 01 or later and Sysmac Studio version 1 02 or higher are r...

Страница 46: ...IP NET ERR LINK ACT SD PWR SD BUSY NET RUN PORT2 EtherNet IP PORT3 EtherCAT NET ERR LINK ACT NET RUN NET ERR LINK ACT MAC Address Notation A MAC address is uniquely allocated to each device connected...

Страница 47: ...PORT3 EtherCAT MAC Address Notation A MAC address is uniquely allocated to each device connected to the Ethernet network The MAC address of each built in EtherNet IP port is represented in 12 digit he...

Страница 48: ...MAC addresses LOT No DDMYY xxxx PORT1 PORT2 Ver HW Rev 1 Introduction 1 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 49: ...ss is uniquely allocated to each device connected to the Ethernet network The MAC address of the built in EtherNet IP port is represented in 12 digit hexadecimal format and listed in the place of the...

Страница 50: ...address of the built in EtherNet IP port is represented in 12 digit hexadecimal format and listed in the two places of the Unit as shown below MAC address 12 digits NJ501 XXXX PORT1 XXXXXXXXXXXX PORT2...

Страница 51: ...ator Col or Status Operating status NET RUN Not lit Ethernet communications are not possible The power supply is OFF or the Controller is reset A MAC address error or communications Controller error i...

Страница 52: ...Lit A user non recoverable error is occurring A MAC address error or communications Controller error is occurring LINK ACT Not lit The link is not established The cable is not connected The power sup...

Страница 53: ...CPU Unit 32 connections NJ series CPU Unit 32 connections Refer to 1 3 1 Specifications on page 1 8 for the built in EtherNet IP port tag and tag set specifica tions EtherNet IP Tag ii Originator dev...

Страница 54: ...P Unit CIP routing function for message communications The maximum number of levels of CIP routing via the ports is eight for any combination of CS CJ NJ and NX series CPU Units Note that the number o...

Страница 55: ...1 4 2 IP Routing The built in EtherNet IP on the NX701 CPU Unit and NX102 CPU Unit have the IP routing function The IP routing function sends IP packets to other network segments based on the routing...

Страница 56: ...her IP packets than those addressed to the Controller are discarded Refer to 5 1 TCP IP Settings Display on page 5 2 for details This function can be used only for the NX102 CPU Unit Additional Inform...

Страница 57: ...address and cannot go online with the Sysmac Studio Refer to Troubleshooting When You Cannot Go Online from the Sysmac Studio in the NJ NX series Troubleshooting Manual Cat No W503 for details 1 4 4...

Страница 58: ...st computer and the Controller with the Controller as the FTP client and the host computer as the FTP server NJ NX series Controller Built in EtherNet IP Port Ethernet Host computer FTP server File da...

Страница 59: ...ved for a receive instruction is stored in the specified variables The connection is closed with a close instruction and communications end For TCP you can also read the socket status and received dat...

Страница 60: ...ame IP address Precautions for Correct Use A DNS server is required to use the server host names for the DNS client 1 4 10 SNMP Agent The SNMP agent has the following functions SNMP Agent The SNMP age...

Страница 61: ...authorized SNMP agent Built in EtherNet IP port Trap SNMP manager Controller turned ON 1 4 11 TCP UDP Message Service This function supports TCP UDP socket communications which allow simple access to...

Страница 62: ...55 255 0 NJ series CPU Unit Built in EtherNet IP port Set any IP address Obtain from the BOOTP server 3 Perform a communications test with a PING command from a computer Section 6 Testing Communica ti...

Страница 63: ...odes of the instructions Done Err and ErrID Using the Socket Services 1 Execute the socket service instructions in the user program Section 9 Socket Service on page 9 1 2 Check operation Use the Sysma...

Страница 64: ...settings of the Ether Net IP Function Module Section 14 SNMP Agent on page 14 1 Set the SNMP settings Set the SNMP trap settings 2 Check operation Check the event log to see if the SNMP agent started...

Страница 65: ...lection 2 4 2 2 Network Installation 2 7 2 2 1 Basic Installation Precautions 2 7 2 2 2 Recommended Network Devices 2 7 2 2 3 Precautions When Laying Twisted pair Cable 2 7 2 2 4 Precautions When Inst...

Страница 66: ...nications cables and connectors vary depending on the used baud rate For 100Base TX and 10Base T use an STP shielded twisted pair cable of category 5 or higher You can use either straight or cross cab...

Страница 67: ...whether the Ethernet switch supports these functions when you select the Ethernet switch Multicast filtering QoS Quality of Service for TCP UDP port numbers L4 Multicast Filtering Multicast filtering...

Страница 68: ...and the settings in the Controller configurations and setup In addition if the Ethernet switch supports advanced functions special settings are required for the functions When you select an Ethernet...

Страница 69: ...in the tag data links No special settings are required for an L2 Ethernet switch without multicast filtering L2 Ethernet Switch with Multicast Filtering We recommend this kind of Ethernet switch when...

Страница 70: ...the device may affect tag data link communications and cause tag data links to be broken even if the device is not related to tag data link communications Precautions for Correct Use Ask the Ethernet...

Страница 71: ...round lines between the devices For grounding methods refer to the NJ series CPU Unit Hardware User s Manual Cat No W500 NX series CPU Unit Hardware User s Manual Cat No W535 NX series NX102 CPU Unit...

Страница 72: ...ctor Connector Connector Connector Connect shield to connector hood Built in EtherNet IP port Built in EtherNet IP port on NX series CPU Unit Power Supply Unit Built in EtherNet IP port on NJ series C...

Страница 73: ...iate this problem by connecting the shield only at the Ethernet switch side as described in 2 rather than connect ing both ends as described in 1 1000Base T Connect the shields to respective connector...

Страница 74: ...subject to high temperatures or high humidity Do not install the twisted pair cable in locations subject to excessive dirt dust oil mist or other con taminants Recommended Clamp Core and Attachment M...

Страница 75: ...tal resistance specifications Ethernet Switch Connection Methods Connect Ethernet switches with twisted pair cables as follows Connect an MDI port to an MDI X port with a straight cable Connect two MD...

Страница 76: ...gs for each Ethernet switch communications mode Auto Nego Auto negotiation Full Full duplex Half Half duplex Ethernet switch Built in EtherNet IP port Auto Nego 10 Mbps fixed 100 Mbps fixed 1 000 Mbps...

Страница 77: ...ta DC BI_DC Input output 5 Communication data DC BI_DC Input output 6 Communication data DB BI_DB Input output 7 Communication data DD BI_DD Input output 8 Communication data DD BI_DD Input output 2 3...

Страница 78: ...t the twisted pair cable to the connector on the built in EtherNet IP port Be sure to press the connectors both the Ethernet switch side and Ethernet side until they lock into place 2 Installing Ether...

Страница 79: ...Net IP Port 3 1 System defined Variables Related to the Built in EtherNet IP Port 3 2 3 2 System defined Variables 3 3 3 3 Specifications for Individual System defined Variables 3 36 3 1 NJ NX series...

Страница 80: ...ution Error MAC Address Error Communications Controller Error IP Address Duplication Error Basic Ethernet Setting Error IP Address Setting Error IP Route Table Error BOOTP Server Error DNS Server Conn...

Страница 81: ...ror status variable for the built in EtherNet IP port NX series CPU Units Represents the collective status of the following error flags _EIP1_PortErr Communications Port1 Error _EIP2_PortErr Communica...

Страница 82: ..._IPRTblErr IP Route Table Error NJ series CPU Units Represents the col lective status of the following error flags _EIP_MacAdrErr MAC Address Error _EIP_LanHwErr Communications Controller Error _EIP_E...

Страница 83: ..._EIP1_BootpErr Port1 BOOTP Serv er Error _EIP_DNSCfgErr DNS Setting Error _EIP_DNSSrvErr DNS Server Con nection Error _EIP_IPRTblErr IP Route Table Error Note If a Link OFF Detected or Built in EtherN...

Страница 84: ...Error _EIP2_BootpErr Port2 BOOTP Serv er Error _EIP_DNSCfgErr DNS Setting Error _EIP_DNSSrvErr DNS Server Con nection Error _EIP_IPRTblErr IP Route Table Error Note If a Link OFF Detected or Built in...

Страница 85: ...cations1 Multiple Switches ON Error NJ series CPU Units Represents the col lective status of the following error flags _EIP_IdentityErr Identity Error _EIP_TDLinkCfgErr Tag Data Link Setting Error _E...

Страница 86: ...NX ser ies CPU Units WORD 16 0000 to 16 00F0 page 3 39 _EIP2_CipErr CIP Communica tions2 Error This is the error status variable for CIP communications 2 It represents the collective status of the fol...

Страница 87: ...E Normal Note You can use this system de fined variable only for NX ser ies CPU Units BOOL TRUE or FALSE page 3 40 _EIP2_MacAdrErr Port2 MAC Address Error Indicates that an error occurred when the MAC...

Страница 88: ...ailed TRUE Setting incorrect or read failed FALSE Normal BOOL TRUE or FALSE page 3 41 _EIP1_EtnCfgErr Port1 Basic Ethernet Setting Error Indicates that the Ethernet communica tions speed setting Speed...

Страница 89: ...t FALSE Normal Note You can use this system de fined variable only for NX ser ies CPU Units BOOL TRUE or FALSE page 3 42 _EIP2_IPAdrCfgErr Port2 IP Address Setting Error Indicates the IP address setti...

Страница 90: ...ver Error NX series CPU Units Indicates that a BOOTP server connection failure occur red on the communications port 1 TRUE There was a failure to connect to the BOOTP server timeout FALSE The BOOTP is...

Страница 91: ...unica tions 1 which you cannot overwrite is in correct Or a read operation failed TRUE Setting incorrect or read failed FALSE Normal NJ series CPU Units Indicates that the identity information which y...

Страница 92: ...peration failed TRUE Setting incorrect or read failed FALSE Normal Note You can use this system de fined variable only for the NX701 CPU Units and NX102 CPU Units BOOL TRUE or FALSE page 3 46 _EIP_TDL...

Страница 93: ...ink parameters is different from the actual node informa tion There was no response from the re mote node FALSE Other than the above Note You can use this system de fined variable only for the NX701 C...

Страница 94: ...tag settings The I O direction that is set in the tag data link settings does not agree with the I O direction of the variable in the CPU Unit There is no network variable in the CPU Unit that corres...

Страница 95: ...olution failed i e the ad dress could not be identified from the tag name The following causes are possi ble The size of the network variable is dif ferent from the tag settings The I O direction that...

Страница 96: ...E page 3 51 _EIP_NTPSrvErr NTP Server Connec tion Error TRUE The NTP client failed to connect to the server timeout FALSE NTP is not set Or NTP is set and the connection was successful BOOL TRUE or FA...

Страница 97: ...iSwONErr Multiple Switches ON Error _EIP_Tcp AppErr TCP Ap plication Communi cations Error _EIP_TcpAppCfgErr TCP Application Setting Error _EIP_NTPSrvErr NTP Server Connection Error Hierarchical Relat...

Страница 98: ...cations1 Tag Data Link Connection Failed _EIP1_TDLinkErr CIP Communications1 Tag Data Link Communications Error _EIP1_TagAdrErr CIP Communications1 Tag Name Resolution Error _EIP1_MultiSwONErr CIP Com...

Страница 99: ..._ErrSta Controller Error Status _CJB_ErrSta I O Bus Error Status _CJB_MstrErrSta I O Bus Master Error Status _CJB_UnitErrSta I O Bus Master Unit Status _NXB_ErrSta NX Bus Function Module Error Status...

Страница 100: ...is the link is ON IP ad dress is defined and there are no errors TRUE The built in EtherNet IP port s communications can be used FALSE The built in EtherNet IP port s communications is disabled due t...

Страница 101: ...ates that at least one connection is in normal operation in CIP communica tions 1 TRUE Normal operation FALSE Other than the above Note You can use this system de fined variable only for NX ser ies CP...

Страница 102: ...herNet IP port is the originator Array x is TRUE The connection to the node with a target node ID of x is registered Array x is FALSE The connection to the node with a target node ID of x is not regis...

Страница 103: ...SE The connection to the node with a target node ID of x was not established or an error occurred NJ series CPU Units Gives a list of no des that have normally established built in EtherNet IP connect...

Страница 104: ...the originator The array elements are valid only when the corresponding Normal Target Node Information is TRUE If the corresponding Normal Target Node Information is FALSE it indicates the previous o...

Страница 105: ...0 255 OF BOOL TRUE or FALSE page 3 56 _EIP2_TargetPLC ModeSta 255 CIP Communica tions2 Target PLC Operating Mode Shows the operating status of the target node Controllers that are connected for CIP c...

Страница 106: ...mation is TRUE The immediately pre ceding value is retained if this variable is FALSE Array x is TRUE A fatal or non fatal error occurred in the target Controller with a target node ID of x Array x i...

Страница 107: ...corresponding Normal Target Node Infor mation is TRUE The immediately pre ceding value is retained if this variable is FALSE Array x is TRUE A fatal or non fatal error occurred in the target Controll...

Страница 108: ...error occurred in the target Controller the Tar get PLC Error Information is TRUE NJ series CPU Units Indicates that the connection for the Registered Target Node Information was not established or th...

Страница 109: ...Information is FALSE or a con nection was established with the target node but an error occurred in the target Controller Array x is FALSE The target node is not registered for a target node ID of x t...

Страница 110: ...se this system de fined variable only for the NX701 CPU Units and NX102 CPU Units ARRAY 0 255 OF BOOL TRUE or FALSE page 3 59 _EIP_NTPResult NTP Operation Infor mation Use the GetNTPStatus instruction...

Страница 111: ...The information is not valid because the target node is not registered For the NX series Controller the communications status of CIP communications 1 and CIP communications 2 is shown by the combinat...

Страница 112: ...this system de fined variable only for NX ser ies CPU Units BOOL TRUE or FALSE page 3 60 _EIP2_TDLink StartCmd CIP Communica tions2 Tag Data Link Communications Start Switch Change this variable to TR...

Страница 113: ...CPU Units BOOL TRUE or FALSE page 3 61 _EIP2_TDLink StopCmd CIP Communica tions2 Tag Data Link Communications Stop Switch Change this variable to TRUE to stop tag data links for CIP communications 2 I...

Страница 114: ...Functional Classification EtherNet IP Communications Errors Variable name _EIP_ErrSta Meaning Built in EtherNet IP Error Global local Global Function This is the error status variable for the built in...

Страница 115: ...ork Publish Published Usage in user pro gram Possible Related in structions You can access this variable from the user program with the following instruc tion GetEIPError Variable name _EIP1_PortErr M...

Страница 116: ...bal Function This is the error status variable for CIP communications NX series CPU Units Represents the collective status of the following error flags _EIP1_IdentityErr CIP Communications1 Identity E...

Страница 117: ...IP Communications2 Tag Data Link Connection Failed _EIP2_TDLinkErr CIP Communications2 Tag Data Link Communications Error _EIP2_TagAdrErr CIP Communications2 Tag Name Resolution Error _EIP2_MultiSwONE...

Страница 118: ...ble Related in structions Variable name _EIP2_MacAdrErr Meaning Port2 MAC Address Error Global local Global Function Indicates that an error occurred when the MAC address was read on the communication...

Страница 119: ...that the Ethernet communications speed setting Speed Duplex for the communi cations port 1 is incorrect Or a read operation failed TRUE Setting incorrect or read failed FALSE Normal NJ series CPU Unit...

Страница 120: ...ts Indicates the IP address setting errors TRUE There is an illegal IP address setting A read operation failed The IP address obtained from the BOOTP server is inconsistent The default gateway setting...

Страница 121: ...ish Published Usage in user pro gram Possible Related in structions Variable name _EIP1_IPAdrDupErr Meaning Port1 IP Address Duplication Error Global local Global Function Indicates that the same IP a...

Страница 122: ...ed Usage in user pro gram Possible Related in structions Variable name _EIP1_BootpErr Meaning Port1 BOOTP Server Error Global local Global Function Indicates that a BOOTP server connection failure occ...

Страница 123: ...twork Publish Published Usage in user pro gram Possible Related in structions Variable name _EIP1_IdentityErr Meaning CIP Communications1 Identity Error Global local Global Function Indicates that the...

Страница 124: ...ct Or a read operation failed TRUE Setting incorrect or read failed FALSE Normal Note You can use this system defined variable only for NX series CPU Units Data type BOOL Range of values TRUE or FALSE...

Страница 125: ...ag data link connection failed due to one of the following causes The information registered for a target node in the tag data link parameters is different from the actual node information There was n...

Страница 126: ...nications 1 TRUE A timeout occurred FALSE Other than the above Note You can use this system defined variable only for NX series CPU Units Data type BOOL Range of values TRUE or FALSE R W access R Reta...

Страница 127: ...e CPU Unit that corresponds to the tag setting FALSE Other than the above Data type BOOL Range of values TRUE or FALSE R W access R Retained Not retained Network Publish Published Usage in user pro gr...

Страница 128: ...More than one data link start stop switch changed to TRUE at the same time FALSE Other than the above Data type BOOL Range of values TRUE or FALSE R W access R Retained Not retained Network Publish P...

Страница 129: ...sible Related in structions Functional Classification EtherNet IP Communications Status Variable name _EIP_EtnOnlineSta Meaning Online Global local Global Function NX series CPU Units Indicates that t...

Страница 130: ...le only for the NX701 CPU Units and NX102 CPU Units Data type BOOL Range of values TRUE or FALSE R W access R Retained Not retained Network Publish Published Usage in user pro gram Possible Related in...

Страница 131: ...Related in structions Variable name _EIP1_TDLinkAllRunSta Meaning CIP Communications1 All Tag Data Link Com munications Status Global local Global Function Indicates that all tag data links are commu...

Страница 132: ...for CIP communications 1 This variable is valid only when the built in EtherNet IP port is the originator Array x is TRUE The connection to the node with a target node ID of x is registered Array x is...

Страница 133: ...ray x is TRUE The connection to the node with a target node 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 occu...

Страница 134: ...P communications 1 with the built in EtherNet IP port as the originator The array elements are valid only when the corresponding Normal Target Node Information is TRUE If the corre sponding Normal Tar...

Страница 135: ...for CIP communications 1 with the built in EtherNet IP ports as the originator The array elements are valid only when the corresponding Normal Target Node Information is TRUE The immediately precedin...

Страница 136: ...Target Node Infor mation is FALSE or a connection was normally established with the target node the Registered Target Node Information is TRUE and the Normal Target Node Information is TRUE An error...

Страница 137: ...ocal Global Function Gives the last time that NTP processing ended normally The time that was obtained from the NTP server is stored when the time is obtained normally The time is not stored if it is...

Страница 138: ...Usage in user pro gram Possible Related in structions Variable name _EIP2_TDLinkStartCmd Meaning CIP Communications2 Tag Data Link Communi cations Start Switch Global local Global Function Change thi...

Страница 139: ...me _EIP2_TDLinkStopCmd Meaning CIP Communications2 Tag Data Link Communi cations Stop Switch Global local Global Function Change this variable to TRUE to stop tag data links for CIP communications 2 I...

Страница 140: ...3 System defined Variables Related to the Built in EtherNet IP Port 3 62 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 141: ...termining IP Addresses 4 5 4 2 2 Setting IP Addresses 4 5 4 2 3 Online Connection 4 8 4 2 4 Checking the Current IP Address 4 11 4 3 Private and Global Addresses 4 12 4 3 1 Private and Global Addresse...

Страница 142: ...Class A Small 224 2 max 16 777 214 max Class B Medium 216 2 max 65 534 max Class C Large 28 2 max 254 max The 32 bits of binary data in an IP address are divided into four sections of eight bits each...

Страница 143: ...y each network A network address enables users to determine whether multiple nodes belong to the same network A network address is calculated by performing a logical AND operation on the IP address an...

Страница 144: ...e can be divided as required to more efficiently use IP address space For example using a subnet mask setting with CIDR enables building a horizontally distributed net work exceeding 254 nodes even if...

Страница 145: ...ds to automatically obtain an IP address Obtain an IP address from the BOOTP server each time the power is turned ON Obtain an IP address from the BOOTP server at initial power on and set the address...

Страница 146: ...the following methods to download the IP address that was set on the Sysmac Stu dio to the NJ NX series CPU Unit 1 Go online with the Controller and then select Synchronization from the Controller Me...

Страница 147: ...d the project from the NJ NX series Controller and check the Controller Status Pane If you cannot obtain the IP address from the BOOTP server the Fix at the IP address obtained from BOOTP server Optio...

Страница 148: ...t be changed It can be changed if you use both methods or an IP address table method The FINS node address is required for FINS communications e g to connect to the CX Inte grator and other Support So...

Страница 149: ...ses are automatically assigned from the address 169 254 0 0 to 169 254 255 255 If the Sysmac Studio is connected online via a built in EtherNet IP port changing the IP ad dress of the connected built...

Страница 150: ...ons are not possible via the EtherNet IP network Use the Sysmac Studio to set the IP address again in direct connection via Ethernet The IP address range shown below is used by the system and cannot b...

Страница 151: ...ver you can check the obtained IP address by synchronizing and uploading the controller settings from the Sysmac Studio If the IP address of the built in EtherNet IP port is not registered due to the...

Страница 152: ...as shown below global addresses in the intranet are allocated only to IP routers such as broadband routers interfaced with the Internet All other nodes in the intranet which includes the built in Ethe...

Страница 153: ...rivate addresses only A device such as a personal computer CIP applications including the Network Configurator cannot connect online and communicate over the Internet with a built in EtherNet IP port...

Страница 154: ...and communicate over the Internet with a built in EtherNet IP port that has a global address The TCP port number 44818 or UDP port number 44818 that is used for EtherNet IP cannot be used because it...

Страница 155: ...1 TCP IP Settings Display 5 2 5 2 LINK Settings Display 5 8 5 3 FTP Settings Display 5 9 5 4 NTP Settings Display 5 10 5 5 SNMP Settings Display 5 12 5 6 SNMP Trap Settings Display 5 14 5 1 NJ NX ser...

Страница 156: ...EtherNet IP port 1 2 192 168 250 1 Subnet mask 2 Set the subnet mask for the built in EtherNet IP port 1 255 255 255 0 1 These settings are required if you set IP address setting method to Fixed setti...

Страница 157: ...built in EtherNet IP port 192 168 250 1 Subnet mask 2 Set the subnet mask for the built in EtherNet IP port 255 255 255 0 Default gateway 3 Set the IP address of the default gateway for the built in E...

Страница 158: ...fault Use Do not use DNS When you specify a host name for CIP communications instruc tions socket instructions or NTP server settings select the Use Option if you use DNS for resolving host name A DNS...

Страница 159: ...o FINS TCP or socket services If the Linger Option is specified the port number is immediately opened even before the port number is released after the socket closes approx 1 minute Specify Do not spe...

Страница 160: ...packets to be re ceived at the communications port Do not use Pass Frame Set the following items as the conditions of IP packets to be re ceived at the communications port You can set the conditions u...

Страница 161: ...ysmac Studio to a Controller with the Direct connection via Ethernet Option selected for the connection type Select Controller Communications Setup to confirm that the Ethernet connection via a hub Op...

Страница 162: ...Mbps Half Duplex 10 Mbps Full Duplex 100 Mbps Half Duplex 100 Mbps Full Duplex 1000 Mbps Full Duplex NX701 CPU Unit Auto LINK Settings NJ series CPU Unit and NX1P2 CPU Unit Setting Description Default...

Страница 163: ...P port via FTP You can use up to 12 alphanumeric characters 3 None Password 1 Set the password to externally connect to the built in EtherNet IP port via FTP You can use 8 to 32 alphanumeric character...

Страница 164: ...e server specifying method is set to the Host name Option You can use up to 200 single byte alphanumeric characters dots and hyphens including up to 63 single byte alphanumeric charac ters between dot...

Страница 165: ...when the fourth retry processing times out 10 seconds 1 This setting is required when the Get Option is selected for the NTP server clock information 2 The following ports are used by the system and c...

Страница 166: ...rs for each item None Location None Send a recognition trap Set whether to send an authentication trap If you select Send a recognition trap and there is access from an SNMP manager that is not set in...

Страница 167: ...fault Recognition 2 Specify whether to use the recognition 2 settings Use Do not use Do not use Recognition method Set the method to use to specify SNMP managers for which ac cess is permitted IP addr...

Страница 168: ...4 2 for details on the SNMP trap Trap 1 If the Use Option is selected for SNMP trap you need to make the following settings Setting Description Default Specifying method Set the specifying method for...

Страница 169: ...ss of the SNMP manager Set this setting if the Specifying method in the Trap 2 settings is set to the IP address Option None Host name Set the host name of the SNMP manager Set this setting if the Spe...

Страница 170: ...5 Sysmac Studio Settings for the Built in EtherNet IP Port 5 16 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 171: ...Communications 6 1 Testing Communications 6 2 6 1 1 PING Command 6 2 6 1 2 Using the PING Command 6 2 6 1 3 Host Computer Operation 6 2 6 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manu...

Страница 172: ...n EtherNet IP port supports both the ICMP echo request and response functions If the remote node returns a normal response to the PING command then the node is physically con nected correctly and Ethe...

Страница 173: ...36 8 icmp_seq 0 time 0 ms 130 25 36 8 PING Statistics 9 packets transmitted 9 packets received 0 packets loss min avg max 0 1 16 Executes the PING command round trip ms Press the Ctrl C Keys to cancel...

Страница 174: ...6 Testing Communications 6 4 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 175: ...ng Connections by Dragging and Dropping Devices 7 49 7 2 8 Connecting the Network Configurator to the Network 7 52 7 2 9 Downloading Tag Data Link Parameters 7 58 7 2 10 Uploading Tag Data Link Parame...

Страница 176: ...J series CPU Unit I O refreshed I O refreshed Var_Out_d Var_Out_e Var_Out_f Var Out1 Var Out2 Var Out3 Var_In_a Var_In_b Var_In_c DM00200 WR300 DM20100 Input Input Outputs Output Tag set name ABC Tag...

Страница 177: ...connection This is called a tag set Each tag set represents a unit of data for one tag data link connection Tag data links are therefore created through a connection between one tag set and another t...

Страница 178: ...ce tag sets Each tag set can contain either input tags or output tags The same input tag cannot be included in more than one input tag set Number of Tags in Tag Sets You can set one or more tags for e...

Страница 179: ...t to one tag set EtherNet IP Individual tags Connection Tag set SP2_IN Connection I O memory CJ series CPU Unit Tag set SP1_OUT Tag set SP1_IN group of tags a b and c Tag set SP2_OUT group of tags d a...

Страница 180: ...um number of tags per tag set 8 7 when Controller status is included Maximum number of words per tag set 722 words 1 444 bytes 300 words 600 bytes Maximum number of tag sets 256 total of 512 with two...

Страница 181: ...tions data size al lowed for two ports in total will be reached 7 An NX102 CPU Unit with unit version 1 31 or later is required to use the CIP Safety routing 7 1 4 Overview of Operation In this manual...

Страница 182: ...ications of the settable num bers and the ranges differ depending on the CPU Unit or the version of the CPU Unit For de tails refer to 1 3 1 Specifications on page 1 8 1 Creating the Configuration Inf...

Страница 183: ...e limits to the packet interval RPI set tings Refer to 15 2 Adjusting the Communications Load on page 15 7 and set an appropriate packet interval RPI If multicast connections are used however use an E...

Страница 184: ...error and a major fault level Controller error occur at the same time only the flag for the major fault level Controller error bit 7 will change to TRUE and the flag for the minor fault level Controll...

Страница 185: ...may be duplicated depending on the IP address of the target node In this case it is necessary to change the target node ID on the Network Configurator so that the same address could not be used by mor...

Страница 186: ...therNet IP port 2 NX1P2 CPU Unit _EIP1_TargetPLCErr for the built in EtherNet IP port 1 NJ series CPU Unit _EIP_TargetPLCErr This variable shows the error status logical OR of fatal and non fatal erro...

Страница 187: ...ionship between Task Periods and Packet Intervals RPIs on page 15 25 for details on the variable access time and data transfer 1 If you set a refreshing task for network variables you must set a varia...

Страница 188: ...for the user program that accesses the network varia bles tags The difference between the operation of tags with a refreshing task that is the same as the user pro gram and tags without a refreshing...

Страница 189: ...n there is no influence from tasks and tag data links NX102 CPU Units The communications bridge service tag data link service and system service can be executed in parallel with the tasks The order of...

Страница 190: ...of the tag data link service is given priority over execution of the priority 17 periodic task However execution of the primary periodic task and priority 16 periodic task is given even higher priori...

Страница 191: ...ks updated NJ NX series CPU Unit Refreshing task Refreshing task EtherNet IP Variable c Variable b Variable a Tag set Variable f Variable e Variable d Tag set This variable may already be written by a...

Страница 192: ...n the Settings for Exclusive Control of Variables in Tasks in the Task Setup Tab Page on the Sysmac Studio 2 Set the variable access time for each refreshing task For details refer to NJ NX series CPU...

Страница 193: ...r Use the following procedure to start the Network Configurator Using the Windows Start Menu To start the Network configurator select OMRON Sysmac Studio Network Configurator for EtherNetIP Network Co...

Страница 194: ...rk To manage two or more networks you can select Network Add You can add a new Network Con figuration Pane To change the network name displayed in the Network Tab Page select Network Property You can...

Страница 195: ...nks are operating normally by using the indicators for the built in EtherNet IP port refer to NJ NX series Troubleshooting Manual Cat No W503 and the de vice monitor function of the Network Configurat...

Страница 196: ...Hardware List Unit version CIP revisions Major revision Revision name in Hardware List NX701 Unit version 1 10 or later 2 None NX102 Unit version 1 30 or later 2 None NX1P2 Unit version 1 13 or later...

Страница 197: ...istered device s icon to display the pop up menu and select Change IP Address 3 Set the IP address to match the node address IP address actually used in the device and click the OK Button 4 Repeat ste...

Страница 198: ...ouble click the icon of the device for which to create a tag set to display the Edit Device Parameters Dialog Box Or right click the icon to display the pop up menu and select Parameter Edit 2 Click t...

Страница 199: ...ut consume tags and output produce tags separately 2 Click the In Consume Tab and then click the New Button The Edit Tag Dialog Box is displayed 7 Tag Data Link Functions 7 25 NJ NX series CPU Unit Bu...

Страница 200: ...rt with numerals 0 to 9 The maximum length of a tag name is 255 bytes Specify array variables structure variables and union variables if any as shown below Specifying array elements Example array 2 3...

Страница 201: ...riable with a Network Publish attribute NX701 CPU Unit If you apply the notation that specifies the above I O memory address for a tag name a Tag Name Resolution Error occurs A tag data link will not...

Страница 202: ...the following settings to refresh all of the tag data in one tag set at the same time Use the Sysmac Studio in advance to specify the same refreshing task for all of the varia bles that are assigned...

Страница 203: ...gistered in an input tag set and you want to change its registration to a different input tag set it is necessary to delete the tag from the tag set in which it was origi nally registered Open the Edi...

Страница 204: ...set or select the tag set and click the Edit Button The Edit Tag Set Dialog Box is displayed The Tag List on the left side of the dialog box shows tags that are already registered and the Candidate T...

Страница 205: ...the new tag by following steps 1 in Creating a Tag Set to 7 in Creating and Adding Tags In this example input tags Var_In_e and Var_In_f are newly added 8 After you register the tags click the OK Butt...

Страница 206: ...he tags that you want to add from the Candidate Tag List and click the Button You can register up to eight tags in a tag set If you include the Controller status in the tag set you can register up to...

Страница 207: ...recautions for Correct Use Variables with a Network Publish attribute that have variable names that are the same as the I O memory address notation such as 0000 and H0000 are not exported to CSV files...

Страница 208: ...or click the No Button to set up tag sets manually If you select the Yes Button in the previous step the variables will be imported as shown below on the Tag Sets Tab Page Each variable will be impor...

Страница 209: ...delete the tag set so click the No Button Click the New Button to create a new tag set To place more than one tag in an existing tag set double click the tag set or select it and click the Edit Butto...

Страница 210: ...n the originator only The connections settings are not necessary on the target device Precautions for Correct Use Make the connections settings after you create tag sets for all of the devices involve...

Страница 211: ...that are registered in the Register Device List The target node ID serves as the bit array position for the following variables in the originator Controller Target Node Controller Mode Target Node Co...

Страница 212: ...tions You can edit each connection separately Refer to Editing Settings for All Connections on page 7 40 for information on how to edit all the connections in a table format 1 Click the Connections Ta...

Страница 213: ...in multicast or unicast point to point form The default setting is multicast Multi cast connection Select when the same data is shared by multiple nodes This setting is usually used Point to point co...

Страница 214: ...times the packet interval RPI Connection Name Set a name for the connection 32 single byte characters max 1 For CPU unit version 1 02 or earlier you can set the RPI between 10 and 10 000 ms in 1 ms in...

Страница 215: ...nodes In a unicast transmission other nodes are not burdened with an unnecessary load Refer to 7 1 4 Overview of Operation on page 7 7 for details on using mul ti cast and unicast connections and coun...

Страница 216: ...rameters Dialog Box If the Cancel Button is clicked and the dialog box is closed all the settings you made here are discarded 4 If you change the size of a tag set for the originator or a target node...

Страница 217: ...Multicast or unicast connections can be specified for a connection RPI The default setting is used Timeout The default setting is used Example 1 Automatic Connections with the Same Tag Set Names The f...

Страница 218: ...2 Select Auto Connection Configuration from the Network Menu A dialog box will appear to set forward and backward ellipses for both output and input tag sets as soon as automatic connection setting pr...

Страница 219: ...e tree to change the RPI and timeout settings if necessary Device Connection Structure Tree Connection settings can be displayed on the network configuration Select View Device s Connection Structure...

Страница 220: ...en OMRON PLCs following the instructions provided by the Wizard Additional Information The Wizard can be used only with the following OMRON EtherNet IP devices Device name Remarks CJ1W EIP21 NJ CJ1W E...

Страница 221: ...d then select Device Parameters Wizard from the menu The following message box will be displayed before the Wizard starts Click the Yes Button to delete the connections that are set with OMRON PLCs be...

Страница 222: ...output tag sets are not selected The connections for this tag set will be deleted Device No applicable tag sets Note Tag sets used in connections that are already set are not displayed The following...

Страница 223: ...ended even if the input tag set includes a blank row In that case a con nection is not created for the blank row You can delete a connection by deleting the input tag sets that were previously set 7...

Страница 224: ...n the settings if the target is one of the OMRON EtherNet IP devices given above If the target is another EtherNet IP device refer to the manual of that device and perform settings as required 2 A dia...

Страница 225: ...nd output tag sets at the originator If there is no applicable tag set at the originator you can create a new one by using the Edit Tag Sets Button and the Edit Tag Button The following view will appe...

Страница 226: ...701 CPU Units provide two EtherNet IP ports the Network Configura tor treats these two ports as two different units and connects them individually Connecting through Ethernet Connect to the built in E...

Страница 227: ...ttom of the window The network connection icon is displayed in blue on the Network Tab Page in which the Net work Configurator is connected Network connection icon Select Network Change Connect Networ...

Страница 228: ...4 The following dialog box is displayed 5 Click the OK Button Select the network to connect to 7 Tag Data Link Functions 7 54 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 229: ...t work Configurator on Windows XP Windows Vista or Windows 7 or Higher on page A 43 Connections through CPU Unit s USB Port Use the following procedure to connect to the built in EtherNet IP port via...

Страница 230: ...et tings If connection with the Controller is blocked due to the firewall set tings disable the blocking For the firewall settings refer to A 4 Precautions for Using the Net work Configurator on Windo...

Страница 231: ...ect the Interface Card to connect and click the OK Button When you select one of the options listed as CPU Unit model IP number the following dia log box is displayed 4 Select TCP 2 and then click the...

Страница 232: ...ewall set tings disable the blocking For the firewall settings refer to A 4 Precautions for Using the Net work Configurator on Windows XP Windows Vista or Windows 7 or Higher on page A 43 7 2 9 Downlo...

Страница 233: ...n of the device registered with the Network Configurator is the same as the major CIP revision of the NJ NX series CPU Unit that you use If the major CIP revisions are not the same the parameters may...

Страница 234: ...and the parameters are downloaded Confirm safety for all con trolled equipment before you change the CPU Units to PROGRAM mode You can restore the operating modes after the parameters are downloaded Y...

Страница 235: ...wing procedure shows how to upload the parameters For details on how to connect to the network from the Network Configurator refer to 7 2 8 Connecting the Network Configurator to the Net work on page...

Страница 236: ...the Yes Button in step 2 the following dialog box is displayed Clicking the Yes Button Parameters are uploaded only from the devices registered in the Network Configuration Pane Parameters are not up...

Страница 237: ...to the network Select the icon of the EtherNet IP Unit from which you want to upload parameters To select multiple nodes press and hold the Shift Key or the Ctrl Key while you select additional icons...

Страница 238: ...ameters Tag data link parameters such as tag set settings and connection settings can be compared with the parameters of the built in EtherNet IP ports in the EtherNet IP network The following procedu...

Страница 239: ...ane with the devices connected on the EtherNet IP network and check the IP addresses and device types This function does not verify device parameters 1 Connect the Network Configurator to the network...

Страница 240: ...vice types and device parameters are compared 1 Connect the Network Configurator to the network 2 Click the icon of the built in EtherNet IP port to verify To select multiple nodes press and hold the...

Страница 241: ...he following dialog box is displayed Differences Not Found in the Comparison Differences Found in the Comparison 7 Tag Data Link Functions 7 67 NJ NX series CPU Unit Built in EtherNet IP Port User s M...

Страница 242: ...r of the selected nodes 7 2 12 Starting and Stopping Tag Data Links Automatically Starting Tag Data Links Tag data links are automatically started immediately after the data link parameters are downlo...

Страница 243: ...and stop tag data links on a device basis by changing the values of the following sys tem defined variables from FALSE to TRUE in the user program Refer to Section 3 System de fined Variables Related...

Страница 244: ...automatically Using the Network Configurator You can select I O Connection Start or Stop from the Network Menu to start and stop tag data links for individual devices Starting and Stopping Tag Data Li...

Страница 245: ...ork Configurator version 3 57 or lower the tag data link settings are not cleared Refer to Additional Information in this section for the procedure to clear the tag data link settings from the Network...

Страница 246: ...Object for the CPU Unit to clear the tag data link settings The procedure to execute the service from the Network Configurator is given below 1 Connect the Network Configurator to the network 2 Select...

Страница 247: ...is completes the network configuration file save operation 3 When the network configuration is changed later you can overwrite the existing network con figuration file if you select File Save or click...

Страница 248: ...work Configuration File You can read out a previously saved network configuration file into the Network Configurator 1 Select File Open or click the Button The following dialog box is displayed 7 Tag...

Страница 249: ...at file name is displayed in the File name Field 3 Click the Open Button to read out the network configuration file 4 The Network Configurator s Title Bar will display the name of the file that was re...

Страница 250: ...created with the Network Configurator for EtherNet IP version 2 or lower if you select External Data Import from the File Menu 7 2 16 Checking Connections You can check the consistency of connection...

Страница 251: ...iguration with the Network Configurator Select Change Device from the Device Menu to display a list of the possible devices to change You can change a device only when there is complete or upward comp...

Страница 252: ...a network variable is specified as a tag r2 Cannot be changed if the maximum size of a tag name or tag set name size after conversion into UTF 8 exceeds 48 bytes r3 Cannot be changed if the following...

Страница 253: ...ding when the Controller is in RUN mode yellow Warning status including when there is a partial fault or non fatal error in the Con troller red Alarm status including when there is a major fault or fa...

Страница 254: ...a Normal Target Node Information variable 2 the bit corre sponding to the target node address is TRUE Condition of the Controller operating mode operating or stopped only for OMRON Controllers The fol...

Страница 255: ...ed variable for NJ series CPU Units For NX701 and NX102 CPU Units the variable varies depending on the built in EtherNet IP port as shown below Built in EtherNet IP port 1 _EIP1_TargetPLCErr Built in...

Страница 256: ...e is as below Built in EtherNet IP port 1 _EIP1_EstbTargetSta 3 This is a system defined variable for NJ series CPU Units For NX701 and NX102 CPU Units the variable varies depending on the built in Et...

Страница 257: ...t in EtherNet IP port as shown below Built in EtherNet IP port 1 _EIP1_EtnOnlineSta Built in EtherNet IP port 2 _EIP2_EtnOnlineSta For NX1P2 CPU Units the variable is as below Built in EtherNet IP por...

Страница 258: ...ode C data processing Node B data processing MC MCR MCR MCR Precautions for Correct Use Even if an error occurs in communications with a target device the input data from the target device will remain...

Страница 259: ...a 255 3 Normal Tar get Node Information This status is not included in the Control ler status This variable gives a list of nodes that have normally established built in EtherNet IP connections Array...

Страница 260: ...er status 300 words 299 words when the tag set includes the Control ler status 20 words 19 words when the tag set in cludes the Controller status 640 words 639 words when the tag set in cludes the Con...

Страница 261: ...sets exceeds 40 a Number of Tag Sets for Tag Data Links Exceeded 840E0000 hex event oc curs 3 To use data of 505 bytes or more large forward open an optional CIP specification should be supported The...

Страница 262: ...CS1 CPU Unit CS1W EIP21 CS1W EIP21 No Yes 1 To specify an I O memory address for tag assignment do not specify the address directly Instead cre ate a variable with an AT specification of the I O memo...

Страница 263: ...ructure for Accessing CIP Objects 8 39 8 3 2 CIP Message Structure for Accessing Variables 8 40 8 4 Specifying Request Path 8 41 8 4 1 Examples of CIP Object Specifications 8 41 8 4 2 Examples of Vari...

Страница 264: ...8 7 3 Elementary Data Types 8 88 8 7 4 Derived Data Types 8 89 8 CIP Message Communications 8 2 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 265: ...Message Communications Service Specifications Item Specification Message type Either of the following can be selected CIP UCMM connectionless messages CIP class 3 connection messages Execution method...

Страница 266: ...he following CIP communications instructions are available For details on CIP communications instructions refer to the NJ NX series Instructions Reference Manual Cat No W502 Instruc tions Name Descrip...

Страница 267: ...ection that is specified by the handle Version Information A CPU Unit with unit version 1 06 or later and Sysmac Studio version 1 07 or higher are re quired to use the CIPOpenWithDataSize instruction...

Страница 268: ...te up to 32 CIP communications instructions at the same time regardless of the instruction types Use exclusive control in the user program so that the number of CIP communications instruc tions execut...

Страница 269: ...ss Output from the built in EtherNet IP port 2 b 01 backplane port 01 unit address of the CPU Unit CPU 01 for built in EtherNet IP port 2 communications c 02 communications port IP address Route Path...

Страница 270: ...a Unit on the CPU Rack 01 backplane port Unit address of the destination Unit Refer to Additional Informa tion below 2 Output from a communications port on a Communications Unit 02 built in EtherNet...

Страница 271: ...et IP port IP address 2 1 IP address Unit address Communications port 02 Backplane port 01 NJ series CPU Unit 1 When Routing the Output to a Unit on the CPU Rack Route the output to the backplane port...

Страница 272: ...Network type number 02 Output to the communications port Destination address Specify the destination IP address Route Path 02 192 168 250 2 2 Using the built in EtherNet IP port 2 local CPU 01 Local C...

Страница 273: ...type number 01 Output to Backplane port Destination address 01 CPU 01 Route Path 02 192 168 250 2 01 01 a b 4 Communicating with the destination built in EtherNet IP port 1 destination CPU 00 via the...

Страница 274: ...00 Unit address 00 hex CPU 01 Unit address 01 hex Built in EtherNet IP port 1 Built in EtherNet IP port 2 Built in EtherNet IP port 1 Built in EtherNet IP port 2 Built in EtherNet IP port 1 Built in...

Страница 275: ...cations port Destination address Specify the destination IP address c Relay backplane to relay CPU 00 Network type number 01 Output to Backplane port Destination address 00 CPU 00 Note This is in orde...

Страница 276: ...e destination IP address Route path 02 192 168 250 2 2 Communicating from a Built in EtherNet IP Port to an EtherNet IP Unit Example Communicating from the built in EtherNet IP port on CPU Unit 1 to C...

Страница 277: ...internal backplane port Destination address 00 Unit address of the CPU Unit 01 11 02 192 168 250 2 01 00 Route path 1 2 3 Version Information You can use the CJ1W EIP21 EtherNet IP Unit mounted to an...

Страница 278: ...of Request Path In the CIP world each device is modeled as a collection of objects An Object abstractly represents the specific configuration elements of a device Object Instance Data Data Data Data P...

Страница 279: ...is varia ble you specify the object to access with the user program A structure in which the Class ID Instance ID and Attribute ID are specified is provided for the data type of a variable for a reque...

Страница 280: ...ture _sREQUEST_PATH for a CIP communications instruction Select a standard structure for the data type of variable A Variable table Data type _sREQUEST_PATH A Name 2 Input a value for each standard st...

Страница 281: ...th Request Path for a CIP communications instruction first you need to create an extension structure user defined varia ble When you create a variable in a variable table select the pre registered ext...

Страница 282: ...s stored in array variables Preparing Array Variables to Input and Output Service Data and Re sponse Data This section describes the array variables for storing service data and response data that CIP...

Страница 283: ...ent Array variable A 0 1 2 3 Number of elements 2 1 0 2 3 4 5 6 7 8 9 Variable D 10 Array variable C 0 9 Use the following procedure to create a variable in the variable table Specify the element firs...

Страница 284: ...the read value is stored in the ReadDat variable OriginalDat must be defined as a global variable at the remote node and the Network Publish attribute must be set 3 The CIPUCMMSend instruction is use...

Страница 285: ...CIPUCMMRead CIPUCMMSend_instance CIPUCMMSend CIPUCMMWrite_instance Error CIPUCMMRead _instance Busy OperatingEnd CIPUCMMWrite_instance Done CIPUCMMSend_instance Error CIPUCMMRead_instance Error Trigge...

Страница 286: ...CIPUCMMWrite_instance Execute Done RoutePath Busy TimeOut Error DstDat ErrorID Size ErrorIDEx SrcDat 02 192 168 250 2 UINT 20 OriginalDat ReadDat ReadDat UINT 1 CIPUCMMRead CIPUCMMRead_instance Execut...

Страница 287: ...nOnlineSta Port2 Online depending on the built in EtherNet IP port which is used For an NX1P2 CPU Unit replace the variable with _EIP1_EtnOnlineSta Port1 Online Start sequence when Trigger changes to...

Страница 288: ...t Source variable name Size UINT 1 Number of elements to read DstDat ReadDat Read data IF CIPUCMMRead_instance Done TRUE THEN Stage INT 3 Normal end ELSIF CIPUCMMRead_instance Error TRUE THEN Stage IN...

Страница 289: ...nts of the WriteDat is written to it WritingDat must be defined as a global variable at the remote node and the Network Publish attribute must be set 3 The CIPRead instruction is used to read the valu...

Страница 290: ...ariable Data type Initial value Comment OperatingEnd BOOL False Processing com pleted Trigger BOOL False Execution condi tion Operating BOOL False Processing WriteDat INT 1234 Write data ReadDat INT 0...

Страница 291: ...n_ instance Busy CIPRead_ instance Busy CIPWrite_instance Done CIPRead_instance Done CIPClose_instance Done CIPSend_instance Done Operating CIPSend_ instance Busy OperatingEnd Set Q1 Reset1 RS_instanc...

Страница 292: ...ce Execute Done RoutePath Busy TimeOut Error ErrorID ErrorIDEx Handle CIPOpen_instance Handle WritingDat UINT 1 WriteDat CIPWrite CIPWrite_instance Execute Done Handle Busy DstDat Error Size ErrorID S...

Страница 293: ...D 0 isAttributeID False Attribu teID 0 Request path RespDat ARRAY 0 10 OF BYTE 11 16 0 Response data Dummy BYTE 16 0 Dummy CIPOpen_instance CIPOpen CIPWrite_instance CIPWrite CIPRead_instance CIPRead...

Страница 294: ...CIPClose_instance Execute FALSE Initialize instance END_IF IF DoCIPTrigger TRUE THEN CASE Stage OF 1 Open CIP Class 3 Connection Large_Forward_Open CIPOpen_instance Execute TRUE TimeOut UINT 20 Timeou...

Страница 295: ...ReqPath AttributeID UINT 07 CIPSend_instance Execute TRUE Handle CIPOpen_instance Handle Handle ServiceCode BYTE 16 0E Service code RqPath ReqPath Request path ServiceDat Dummy Service data Size UINT...

Страница 296: ...cution The following timing chart shows the operation of the output variables 7 Execute 0x1234 0x0000 ErrorID Error Done Busy Executing 1 2 3 4 5 6 8 Changes to FALSE because Execute changes to FALSE...

Страница 297: ...te Done Busy Executing Busy Executing Changes to FALSE in next task period When Execute changes to FALSE Done returns to FALSE Example 1 Example 2 8 2 10 Response Codes This section describes the resp...

Страница 298: ...lation A permission privilege check failed 10 Device state conflict The device s current mode state prohibits the execution of the re quested service 11 Reply data too large The data to be transmitted...

Страница 299: ...included as the first segment in the path does not match the destination module The object specific status must indicate which part of the key check failed 26 Path Size Invalid The size of the path th...

Страница 300: ...4 Unconnected_Send service timed out while waiting for a response 01 0205 Parameter error in Unconnected_Send service 01 0206 Message too large for unconnected message service 01 0207 Unconnected ackn...

Страница 301: ...how to use CIP communications instructions for CIP message communications Computer NJ NX series Controller NJ NX series Controller You can read and write variables with CIP communications instruction...

Страница 302: ...ents and then joined to make the message Example Reading the Present Value of One Member of the VarAA MemB 1 2 Structure Variable Example for Using the CIP Read Data Service for a Variable Object CIP...

Страница 303: ...P specifications Segment Type Meaning 7 6 5 0 0 0 Port Segment 0 0 1 Logical Segment 0 1 0 Network Segment 0 1 1 Symbolic Segment 1 0 0 Data Segment 1 0 1 Data Type 1 1 0 Data Type 1 1 1 Reserved The...

Страница 304: ...nce ID 0 1 0 Member ID 0 1 1 Connection Point 1 0 0 Attribute ID 1 0 1 Special Do not use the logical addressing definition for the Logical Format 1 1 0 Service ID Do not use the logical addressing de...

Страница 305: ...0 0 Simple Data Segment 1 0 0 0 1 ANSI Extended Symbol Segment A data segment is mainly used for an ANSI extended symbol segment This segment sub type is used to read and write the values of variable...

Страница 306: ...65 535 H Range Specifications with the Num of Element Field There is a Num of Element field in the request data for the variable read and variable write services You can use these services to access t...

Страница 307: ...ied in the symbolic segment ANSI extended symbol segment must be converted to a text string to pass it to the communications thread The following conversion rules apply Specification Example for Struc...

Страница 308: ...ble name in bytes Array of octet M Variable name e m B BYTE 28 hex Logical Segment Member ID USINT 01 hex Array index for the first element BYTE 28 hex Logical Segment Member ID USINT 02 hex Array ind...

Страница 309: ...d reads TCP IP settings page 8 72 Ethernet link object Reads Ethernet settings Reads Ethernet status page 8 75 Controller object Gets the Controller status Changes the operating mode of the Controller...

Страница 310: ...01 hex Instance ID Specify 00 or 01 hex Attribute ID The attribute ID specifies the information to read Class Attribute ID The class attribute ID specifies the attribute of the entire object Attribut...

Страница 311: ...x NJ501 14 0666 hex NJ501 15 0667 hex NJ301 11 066B hex NJ301 12 066C hex NJ101 0680 hex 2 Major and Minor CIP Revisions Unit version CIP revisions Major revision Minor revision Unit version 1 00 01 h...

Страница 312: ...EtherNet IP port b7 b6 b5 b4 0 1 0 1 A major fault occurred 0 0 1 0 A timeout occurred in one or more target connections 0 0 1 1 Indicates that there are no tag data link settings 0 1 1 0 Indicates th...

Страница 313: ...l power on time of the specified NX Unit Not sup ported Support ed page 8 58 3A hex Get current error Obtains the current errors of the Controller or specified NX Unit Not sup ported Support ed page 8...

Страница 314: ...atus USINT Code indicating normal 00 hex Size of Additional Status USINT Size of Additional Status 00 hex Length UINT Read data size Byte Read data Depends on data type Read data When the processing f...

Страница 315: ...t Service Code 34 hex Write the NX object of the specified NX Unit Request Data Format Parameter name Data type Description Service USINT Write NX object service 34 hex Request Path Size USINT Size of...

Страница 316: ...ect which is not modifiable is specified 10 Device state conflict Carried out writing in a state that was not the parameter write mode The state of the NX object is not in a state to execute the requi...

Страница 317: ...rt NX Unit service error codes are returned General status 1F hex Additional status 2601 hex 2 When the General Status of the response code is 1F hex Vendor specific error becomes 01 hex 3 This is sto...

Страница 318: ...eter name Data type Description Reply Service USINT Save parameter service response B6 hex Reserved USINT Reserved 00 hex General Status USINT Current error code defined by CIP Size of Additional Stat...

Страница 319: ...t When the processing is successful Parameter name Data type Description Reply Service USINT Switch parameter write mode service response B7 hex Reserved USINT Reserved 00 hex General Status USINT Cod...

Страница 320: ...pe Description Service USINT Read total power on time service 38 hex Request Path Size USINT Size of Request Path 02 hex Request Path Padded EPATH Request path 2074 2401 hex Class ID 74 hex Instance I...

Страница 321: ...he supported range The Unit does not exist Get Current Error Service Code 3A hex Obtain the current errors of the Controller or specified NX Unit Request Data Format Parameter name Data type Descripti...

Страница 322: ...the specifications of the structure re fer to Current Error Record Structure on page 8 60 When the processing failed Parameter name Data type Description Reply Service USINT Get current error service...

Страница 323: ...tional information 31 Array of BYTE Attached information system information of event CIP Error Codes General sta tus code hex Error name Cause 02 Resource unavailable Resources needed for the object t...

Страница 324: ...number of readout records does not reach the Number of registered record it means that some records have not been read yet Specify the following parameters and exe cute Get current error again Start...

Страница 325: ...r of read records an error does not occur and all the registered event logs are read Response Data Format When the processing is successful Parameter name Data type Description Reply Service USINT Get...

Страница 326: ...he General Status of the response code is 1F hex Vendor specific error becomes 01 hex 2 This is stored only when the Size of Additional Status is 01 hex Event Log Record Structure The format of the ev...

Страница 327: ...riority USINT Event level Event occurred time UDINT Event occurred time Product code UDINT Product code of the Unit in which event occurred Event code UDINT Event code Additional information 0 to Addi...

Страница 328: ...rd value is re tained as the record index during the previous readout When the second response onwards is obtained the record index during the previous readout and Latest index of registered record va...

Страница 329: ...he processing is successful Parameter name Data type Description Reply Service USINT Clear event log service response BC hex Reserved USINT Reserved 00 hex General Status USINT Code indicating normal...

Страница 330: ...e If the Initialize unit operation parameter is executed without carrying out this step error will result and Device state conflict 10 hex will be returned to the General Status This service does not...

Страница 331: ...ufficient 15 Too much data Extra data for the execution of the required service is includ ed 1F Vendor specific error The service could not be executed due to internal reasons 20 Invalid parameter The...

Страница 332: ...s of the specifications of the structure re fer to User Error Record Structure When the processing failed Parameter name Data type Description Reply Service USINT Get current user error service respon...

Страница 333: ...revious error update count UINT 2 Specify the following parameters and execute Get current user error 3E hex Unit No Unit number subject to error information readout Start number of read record 0 Numb...

Страница 334: ...e port number 1 or 2 of the built in EtherNet IP port to access Service Codes Specify the service to execute with the service code Service code Parameter name Description Supported services Classes In...

Страница 335: ...ce attribute ID specifies the attribute of the instance Attribute ID Parameter name Description Attrib ute Read write data Data type Value 01 hex Interface Configura tion Status Indicates the IP addre...

Страница 336: ...NS enabled Bits 5 to 31 Reserved always FALSE 04 hex Physical Link Object The path to the link object in the physical layer Read Struct Path size The path size WORD size UINT 0002 hex Path The path to...

Страница 337: ...ations command the RoutePath in out variable to specify the port number 1 or 2 of the built in EtherNet IP port to access Service Codes Specify the service to execute with the service code Service cod...

Страница 338: ...UINT 0001 hex Instance Attribute ID The instance attribute ID specifies the attribute of the instance Attribute ID Parameter name Description Attrib ute Read write data Data type Value 01 hex Interfac...

Страница 339: ...mber of discarded in coming packets received through the interface UDINT Reads the current value In Errors The number of incoming packets that had errors This is not included in InDiscards UDINT Reads...

Страница 340: ...eads the current value Late Collisions The number of collisions de tected in packets that were sent after 512 bit times UDINT Reads the current value Excessive Collisions The number of frames that fai...

Страница 341: ...e 64 bit edition of In Ucast Pack ets ULINT Reads the current value HCInMulticastPkts The number of multicast packets received through the interface ULINT Reads the current value HCInBroadcastPkts The...

Страница 342: ...cReceiveErrors The number of frames that could not be received through the interface due to an inter nal MAC sublayer reception error This counter is the 64 bit edition of MAC Receive Errors ULINT Re...

Страница 343: ...ibute 01 to 06 hex 0C hex and 0D hex 10 hex Set_Attribute_Single 4C hex Get_and_Clear Specify an attribute to clear the value to 0 04 hex 05 hex 0C hex 0D hex 8 5 6 Controller Object Class ID C4 hex T...

Страница 344: ...ontroller error Changes to TRUE when a fatal or non fa tal error occurs Read UINT 0000 hex There is no Con troller error 0001 hex There is a Con troller error 66 hex PLC Model Indicates the model of t...

Страница 345: ...h The size of the AddInfo area is stored only when accessing a structure variable Set 02 hex for a structure variable Otherwise set 00 hex AddInfo The CRC code of the structure definition is stored on...

Страница 346: ...mation in the request data 8017 More than one element was specified for a variable that does not have elements 8018 Zero elements or data that exceeded the range of the array was specified for an arra...

Страница 347: ...ents in the array Do not specify 0000 hex an error will oc cur For variables other than arrays set 0001 hex Actual data Specify the actual data in little endian format If 0001 hex is specified for an...

Страница 348: ...riable that does not have elements 8018 Zero elements or data that exceeded the range of the array was specified for an ar ray 8021 A value other than 0 and 2 was specified for an AddInfo area 8022 Th...

Страница 349: ...on WORD 1 word hexadecimal D2 CIP Common DWORD 2 word hexadecimal D3 CIP Common TIME 8 byte data DB CIP Common LWORD 4 word hexadecimal D4 CIP Common Abbreviated STRUCT A0 CIP Common STRUCT A2 CIP Com...

Страница 350: ...plicable data types BYTE USINT and SINT Data Format USINT Data Type USINT 00h UINT Num of Elem L 01 hex H 00 hex USINT Data USINT 0 padding 00 hex Fixed length 2 byte Data Applicable data types INT UI...

Страница 351: ...s and structures are handled as derived data types Accessing One Member The data format for accessing one element of an array or one member of a structure is the same as the data format for the corres...

Страница 352: ...ed s that has two elements with the data quantity per element is set to 4 bytes when s 0 ab and s 1 is d Individual 0 D0 00 03 00 61 62 63 hex Entire array D0 00 62 61 00 00 64 hex Invalid data Handli...

Страница 353: ...Gives the number of elements in the array H USINT Status 01 hex TRUE 00 hex FALSE USINT Status Structure Variables Accessing an Entire Structure If a structure variable is specified it is treated as a...

Страница 354: ...8 CIP Message Communications 8 92 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 355: ...vices 9 13 9 6 1 Using the Socket Services 9 13 9 6 2 Procedure to Use Socket Services 9 13 9 6 3 Timing Chart for Output Variables Used in Communications 9 15 9 6 4 UDP Sample Programming 9 16 9 6 5...

Страница 356: ...bers for Socket Services Ports 0 to 1023 to be used for TCP IP are reserved as well known ports In addition ports 1024 to 49151 are reserved as registered ports by the protocols that are used Therefor...

Страница 357: ...ta to send are specified when the send request is made UDP Communications Data is simply sent to the destination node and neither acknowledgment nor resends are performed like they are for TCP To incr...

Страница 358: ...n SktTCPSend Instruction Execution of the Socket Function Send The data is stored in the send buffer by the normal completion of the SktTCPSend instruction Instruction completed Instruction completed...

Страница 359: ...976 bytes 976 bytes Data A Data A Data A Data B Data B Data B Original data User program 2 000 bytes 1 Send request Sending node Controller Receiving node host computer Ethernet line Data is delivere...

Страница 360: ...t is passed to the user program 9 2 3 Data Receive Processing This section describes data receive processing for TCP and UDP TCP Receive Processing In TCP communications receive data stored in the rec...

Страница 361: ...the receiving node When the Size of the Variable Specified in the Receive Request Is Smaller Than the Data Sent with the Send Request If receive data exceeds the size of the variable specified in the...

Страница 362: ...ne receive request regardless of the size of the data Example 2 1 000 Byte Receive Request Is Made for 200 Byte Data Sent for Two Send Requests 1 The data is divided to be sent in two sends from the s...

Страница 363: ...e two following types of broadcast addresses Local Broadcast If no destination IP address is specified the following IP address is specified automatically Network segment The network segment of the lo...

Страница 364: ...application Intranet Ethernet Overview of Socket Services with Socket Service Instructions You can use socket services by executing socket service instructions The maximum total number of UDP and TCP...

Страница 365: ...k Required TCP IP Keep Alive Optional Change when the default setting of 5 minutes is un acceptable Linger Option Optional Additional Information Make this setting in the TCP IP Settings Display Refer...

Страница 366: ...t instruction SktTCPRcv TCP Socket Receive instruction SktTCPSend TCP Socket Send instruction SktGetTCPStatus Read TCP Socket Status instruction Services for both UDP and TCP sockets SktClose Close TC...

Страница 367: ...process to use socket services With TCP open processing is performed until a connection is established Close processing This process ends the use of the socket With TCP it closes the connection Send...

Страница 368: ...y Output variable Error TRUE Error End Check error details based on the error code and take suitable actions Output variable ErrorID Execute SktTCPSend instruction Send Processing Output variable Done...

Страница 369: ...ls based on the error code and take suitable actions Output variable ErrorID Check error details based on the error code and take suitable actions Output variable ErrorID Check error details based on...

Страница 370: ...unications error occurs Error changes to TRUE and the ErrorID is stored Also Busy and Done change to FALSE 8 When Execute changes to FALSE Error changes to FALSE Precautions for Correct Use If Execute...

Страница 371: ...v instruction is used to make a receive request The received data is stored in RcvSocketDat 4 The SktClose instruction is used to close the socket ST Internal varia bles Variable Data type Initial val...

Страница 372: ...FALSE SendDat SendSocketDat 0 Dummy SktUDPRcv_instance Initialize instance Execute FALSE RcvDat RcvSocketDat 0 Dummy SktClose_instance Execute FALSE Initialize instance END_IF IF DoSendAndRcv TRUE THE...

Страница 373: ...SktClose_instance Execute TRUE Socket WkSocket Socket IF SktClose_instance Done TRUE THEN Stage INT 0 Normal end ELSIF SktClose_instance Error TRUE THEN Stage INT 40 Error end END_IF 0 Normal end DoSe...

Страница 374: ...d SktUDPRcv_instance SktUDPRcv SktClose_instance SktClose External variable Variable Data type Constant Comment _EIP_EtnOnlineSta 1 BOOL Online 1 For an NX701 CPU Unit and an NX102 CPU Unit replace th...

Страница 375: ...Receive data size RcvDat RcvSocketDat 0 Receive data IF SktUDPRcv_instance Done TRUE THEN Stage INT 3 Normal end ELSIF SktUDPRcv_instance Error TRUE THEN Stage INT 20 Error end END_IF 3 Send request...

Страница 376: ...his example programming is also required in the remote node The order of sending and receiving is reversed in comparison with the above procedure IP address 192 168 250 1 TCP port number Automatically...

Страница 377: ...tClearBuf_instance SktClearBuf SktGetTCPStatus_in stance SktGetTCPStatus SktTCPSend_instance SktTCPSend SktTCPRcv_instance SktTCPRcv SktClose_instance SktClose External variable Variable Data type Con...

Страница 378: ...00 Destination TCP port number Socket WkSocket Socket IF SktTCPConnect_instance Done TRUE THEN Stage INT 2 Normal end ELSIF SktTCPConnect_instance Error TRUE THEN Stage INT 10 Error end END_IF 2 Recei...

Страница 379: ...ive data size RcvDat RcvSocketDat 0 Receive data IF SktTCPRcv_instance Done TRUE THEN Stage INT 6 Normal end ELSIF SktTCPRcv_instance Error TRUE THEN Stage INT 50 Error end END_IF 6 Request to close t...

Страница 380: ...rocessing Stage INT 0 Status change RcvSocketDat ARRAY 0 1999 OF BYTE 2000 16 0 Receive da ta WkSocket _sSOCKET Handle 0 SrcAdr PortNo 0 IpAdr DstAdr PortNo 0 IpAdr Socket SendSocketDat ARRAY 0 1999 O...

Страница 381: ...ort UINT 6000 Local TCP port number TimeOut UINT 0 Timeout value Socket WkSocket Socket IF SktTCPAccept_instance Done TRUE THEN Stage INT 2 Normal end ELSIF SktTCPAccept_instance Error TRUE THEN Stage...

Страница 382: ...T 30 Error end END_IF 4 Request to close the socket SktClose_instance Execute TRUE Socket WkSocket Socket IF SktClose_instance Done TRUE THEN Stage INT 0 Normal end ELSIF SktClose_instance Error TRUE...

Страница 383: ...reliability of communications when you use UDP sockets make sure the user program confirms that data is sent and resends the data when necessary 9 7 3 Precautions for TCP Socket Services If the TCP s...

Страница 384: ...ons line where the connection was established The built in EtherNet IP port responds to checks from other nodes even if keep alive is not specified For TCP sockets the send data is resent up to 12 tim...

Страница 385: ...be read with the TCP UDP message service 496 bytes Port number Port number used in the TCP UDP message service Default value 64000 decimal number 9 8 3 Settings Required for TCP UDP Message Service Wh...

Страница 386: ...at 2 The offset address will be 14 if the attribute ID is specified 3 The size will be 488 bytes if the attribute ID is specified Response Command Parameter name Offset ad dress Size bytes Description...

Страница 387: ...ends normally If the service ends in error the Additional status will be stored for the word size stored in the Additional status size parameter 2F00 1 Hexadecimal data in little endian format 9 Socke...

Страница 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 389: ...Function 10 2 10 2 Modbus TCP Master Function Details 10 3 10 2 1 Modbus TCP Instruction Type 10 3 10 2 2 Modbus TCP Instruction Function 10 3 10 3 Modbus TCP Master Function Procedure 10 4 10 1 NJ NX...

Страница 390: ...unction sends Modbus commands to the Modbus TCP slave and receives responses from the Modbus TCP slave Built in EtherNet IP port Ethernet Modbus TCP Master Omron RFID etc Sending Modbus command Sendin...

Страница 391: ...ction ModbusTCPCmd The ModbusTCPCmd instruction sends Modbus commands of the specified proto col data unit PDU to the specified Modbus TCP slave and receives responses ModbusTCPRead The ModbusTCPRead...

Страница 392: ...SktSetOption The application of the TCP NODELAY option in the TCP IP settings with the Mod bus standard is recommended Set it before the execution of the Modbus TCP in struction after the TCP IP conne...

Страница 393: ...o the ErrorID output variable and take suitable actions Error end Output variable ErrorID TRUE Check error details based on the error code which is output to the ErrorID output variable and take suita...

Страница 394: ...10 Modbus TCP Master Function 10 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 395: ...ings Required for the FTP Server Function 11 7 11 4 FTP Server Application Example 11 9 11 5 Using FTP Commands 11 11 11 5 1 Table of Commands 11 11 11 5 2 Using the Commands 11 11 11 6 Using SD Memor...

Страница 396: ...mdir Displays file names and details in multiple remote hosts rename Changes a file name mkdir Creates a new directory in the working directory on the remote host rmdir Deletes a directory from the wo...

Страница 397: ...acters Password consists of 8 to 32 characters Protocol used FTP Port No 20 TCP 21 TCP Number of connec tions 6 11 FTP Server 11 3 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 11...

Страница 398: ...t in EtherNet IP Port Settings in the Sysmac Studio to set the FTP login name and password Additional Information When a general purpose FTP application is used you can use a graphical user interface...

Страница 399: ...use file operation instructions Change File Name Copy File etc or communica tions commands and perform exclusive control Exclusive Control When Accessing the Same File on the SD Memory Card First acce...

Страница 400: ...rom the FTP server frequently in a short period of time access to the server may be restricted temporarily for system protection If you cannot con nect to the FTP server wait for 10 minutes and try ag...

Страница 401: ...Built in EtherNet IP Port Settings to log in to the built in EtherNet IP port 8 After you are logged in you can use ftp commands such as cd Change Directory and get Obtain File for the MEMCARD1 direc...

Страница 402: ...ngs in the FTP Settings Display if the FTP server is used Refer to 8 5 CIP Object Services on page 8 47 for information on the FTP Settings Display 11 FTP Server 11 8 NJ NX series CPU Unit Built in Et...

Страница 403: ...ng diagram Password hidden Login name Results IP address of built in EtherNet IP port C ftp 192 168 250 1 Connected to 192 168 250 1 220 NJ501 1500 FTP server ready User 192 168 250 1 none user1 331 P...

Страница 404: ...e data connection for file list usr bin MEMCARD1 dev 226 Transfer complete ftp bytes received in 0 seconds bytes s ftp cd MEMCARD1 250 CWD command successful ftp get ABC DEF BIN 200 PORT command succe...

Страница 405: ...n the remote host to the specified directory pwd Displays the work directory on the remote host type Changes the file transfer type get Transfers a specified remote file to the local host mget Transfe...

Страница 406: ...he switch is not set only the file names are displayed 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...

Страница 407: ...list Input a hyphen to display a list of the current working directory If the_local_file_name is specified the file information is stored in the specified file Input a hy phen to display a list of the...

Страница 408: ...ormat append local_file_name remote_file_name Function Uses the file data type that is specified by the type command to append the local file to the re mote host on the SD Memory Card cd Format cd dir...

Страница 409: ...le to be received on the local host by setting receive file name mget Format mget file_name Function With wildcards included in the file_name transfers multiple remote files from the SD Memory Card to...

Страница 410: ...tents of the transferred file delete Format delete file_name Function Deletes the specified remote file on the SD Memory Card mdelete Format mdelete file_name Function With wildcards included in the f...

Страница 411: ...Ends the FTP session quit Format quit Function Ends the FTP session 11 FTP Server 11 17 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 11 5 Using FTP Commands 11 11 5 2 Using the...

Страница 412: ...with SD Memory Card instructions 11 6 1 SD Memory Card Types Use the SD or SDHC Memory Card specified in the table below Operation may not be dependable if another SD or SDHC Memory Card is used Model...

Страница 413: ...delimiter between the file name and extension Extensions are determined by the file type Directory You can create up to five levels of directories to store files on the SD Memory Card count the root...

Страница 414: ...attached file in binary format Var_A 16 1234 16 4567 16 abcd 16 0987 12344567 abcd0987 Binary file Variable values are written to the binary file in sequence from the beginning SaveVar instruction exe...

Страница 415: ...The workstation prompt is indicated as and the cur sor is indicated as 1 Start the FTP application and connect to the built in EtherNet IP port ftp nj connected to nj 220 IPaddress NJ501 1300 FTP serv...

Страница 416: ...s port bytes 226 Transfer complete bytes received in seconds bytes s ftp 7 Write the file PLAN BIN to the Memory Card Write file ftp put PLAN BIN 200 PORT command successful 150 opening data connectio...

Страница 417: ...er Options 12 3 12 1 4 Other Functions 12 4 12 2 FTP Client Communications Instructions 12 5 12 2 1 Functions of the FTP Client Communications Instructions 12 5 12 2 2 Restrictions on the FTP Client C...

Страница 418: ...a file list from the FTP server FTPGetFile Downloads one or more files from the FTP server FTPPutFile Uploads one or more files to the FTP server FTPRemoveFile Deletes one or more files from the FTP...

Страница 419: ...ween the FTP server and FTP client should be opened TCP connections include control connections to control communications and data connec tions to transfer data When a data connection is opened the co...

Страница 420: ...ecify the files to transfer These functions are described in the following sections Retrying Connection Processing with the FTP Server If connection processing fails to connect with the FTP server the...

Страница 421: ...the FTP Client Communications Instructions This section describes the functions of the FTP client communications instructions FTPGetFileList Instruction The FTPGetFileList instruction gets a list of f...

Страница 422: ...ing options Transfer mode Open Mode for data connection Deleting files after transfer Overwriting FTP server Downloading One or more files Ethernet FTP client FTPPutFile Instruction The FTPPutFile ins...

Страница 423: ...time You can specify the following option Open Mode for data connection FTP server One or more files are deleted FTP client Ethernet FTPRemoveDir Instruction The FTPRemoveDir instruction deletes the...

Страница 424: ...rm exclusive control of the instructions in the user program If you execute an FTP client communications instruction to read or write data in the SD Memory Card at the same time as another operation t...

Страница 425: ...e Parameter Value IP address 192 168 250 2 UDP port number 21 User name FtpUser Password 12345678 The following procedure is used 1 The BackupToMemoryCard instruction is used to save backup related fi...

Страница 426: ...BackupToMemory Card Instance of BackupToMe moryCard instruction Prepare connected FTP server settings P_First_RunMode 192 168 250 2 FTPUser 12345678 FTPAddr Adr FTPAddr UserName FTPAddr Password FTPA...

Страница 427: ...oryCard_instance Done BackupToMemoryCard_instance Error Operating Processing after normal end Inline ST Inline ST FTPPutFile_instance Done FTPPutFile_instance Error 1 Processing after normal end 2 Ope...

Страница 428: ...assword END_IF Accept trigger R_TRIG_instance Trigger UP_Q IF UP_Q TRUE AND BackupToMemoryCard_instance Busy FALSE AND FTPPutFile_instance Busy FALSE THEN DoFTPTrigger TRUE Stage INT 1 BackupToMemoryC...

Страница 429: ...ame PutFileResult PutResult Uploaded file res ults IF FTPPutFile_instance Done TRUE THEN Stage INT 0 Normal end ELSIF FTPPutFile_instance Error TRUE THEN Stage INT 20 Error end END_IF 0 Processing aft...

Страница 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 431: ...1 1 Overview 13 2 13 1 2 Specifications 13 2 13 2 Procedure to Use the Automatic Clock Adjustment Function 13 4 13 2 1 Procedure 13 4 13 2 2 Settings Required for Automatic Clock Adjustment 13 4 13 1...

Страница 432: ...the clock informa tion from the NTP server to the local CPU Unit Obtains the clock information from the NTP server set up on the Network and applies the information obtained to the local CPU Unit NTP...

Страница 433: ...ming is set for a specified time interval the timing will not change even if the time in the CPU Unit is changed during operation For example if the time interval is set to 60 minutes the information...

Страница 434: ...lock adjustment Tab page Setting Setting conditions Reference NTP NTP server clock informa tion Required page 5 10 Port No Specified by user 1 Server specifying method Required IP address One of these...

Страница 435: ...cifications 14 3 14 1 3 SNMP Messages 14 3 14 1 4 MIB Specifications 14 4 14 2 Procedure to Use the SNMP Agent 14 21 14 2 1 Procedures 14 21 14 2 2 Settings Required for the SNMP Agent 14 21 14 1 NJ N...

Страница 436: ...1 1 Overview SNMP Agent The built in EtherNet IP port has its own management information called the MIB management infor mation base This information can be provided to the SNMP manager The SNMP mana...

Страница 437: ...pending on the network status some traps may not reach the SNMP manager Built in EtherNet IP port SNMP manager Trap SNMP agent MIB Controller power supply turned ON 14 1 2 Specifications Item Specific...

Страница 438: ...scribes the specifications of the MIB that is supported by the built in EtherNet IP port MIB System Diagram The built in EtherNet IP port MIB consists of the following tree structure root iso 1 org 3...

Страница 439: ...attribute Support Implementation spec ifications sysDescr 1 RO Device information including hardware OS software names and versions ASCII characters only Support ed OMRON Corporation CPU Unit model C...

Страница 440: ...CPU Unit 1 to 3 NX1P2 CPU Unit 1 to 2 NJ series CPU Unit 1 to 2 ifDescr 2 RO Information related to the interface includes manufacturer name product name and hard ware interface version Support ed NX7...

Страница 441: ...and ard ifLastChange 9 RO The sysUpTime in 0 01 seconds at the last change in ifOperStatus for this interface Support ed According to the stand ard ifInOctets 10 RO The number of octets received throu...

Страница 442: ...to a send buffer overflow etc Support ed According to the stand ard ifOutErrors 20 RO The number of packets that could not be sent because of an error Support ed According to the stand ard ifOutQLen 2...

Страница 443: ...ng Support ed According to the stand ard ipInUnknownProtos 7 RO The number of IP datagrams that were re ceived but discarded because they were of an unsupported or unrecognized protocol Support ed Acc...

Страница 444: ...es if the datagram is frag mented You can use that flag to identify frag ments Support ed According to the stand ard ipReasmOKs 15 RO The number of IP datagrams received that were successfully reassem...

Страница 445: ...t ed According to the stand ard ipAdEntBcas tAddr 4 RO The value of the least significant bit of the ad dress when an IP broadcast is sent An ad dress represented by all 1 bits is used for broadcastin...

Страница 446: ...this metric this is also the same for ipRouteMetric 2 through 4 Support ed According to the stand ard ipRouteMetric2 4 RW The alternative routing metric for this route Support ed According to the sta...

Страница 447: ...and ard ipRouteAge 10 RW The elapsed time since this route was updat ed in seconds Support ed Always 0 ipRouteMask 11 RW The subnet mask value in relation to ipRou teDest On systems that do not suppor...

Страница 448: ...le if there was not enough buffer space because of other routing entries Support ed According to the stand ard Ip Group Icmp Name Standard identifier attribute Support Implementation spec ifications i...

Страница 449: ...tand ard icmpOutDestUnreachs 16 RO The number of Destination Unreachable messages sent Support ed According to the stand ard icmpOutTimeExcds 17 RO The number of Time Exceed messages sent Support ed A...

Страница 450: ...rt ed According to the stand ard tcpMaxConn 4 RO The total number of supported TCP connec tions If the maximum number of connections is dynamic this value is 1 Support ed According to the stand ard tc...

Страница 451: ...the con nection changes to the CLOSE state The in dices are tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress and tcpConnRemPort tcpConnState 1 RW The status of the TCP connection closed 1 liste...

Страница 452: ...to the stand ard udpOutDatagrams 4 RO The total number of sent UDP datagrams Support ed According to the stand ard udpTable 5 NA The information table for the UDP listener udpEntry 1 NA An entry relat...

Страница 453: ...According to the standard snmpInGenErrs 12 RO The total number of PDUs received with an er ror status of genErr Sup ported According to the standard snmpInTotalReqVars 13 RO The total number of MIB o...

Страница 454: ...Request PDUs sent Sup ported According to the standard snmpOutGetNexts 26 RO The total number of GetNextRequest PDUs sent Sup ported According to the standard snmpOutSetRequests 27 RO The total number...

Страница 455: ...red page 5 12 Port No Specified by user Required to change from the default value of 161 Contact location Specified by user Send a recognition trap Specified by user Select this check box to send a re...

Страница 456: ...f the SNMP agent is used Refer to 5 5 SNMP Settings Display on page 5 12 for information on the SNMP Settings Dia log Box Refer to 5 6 SNMP Trap Settings Display on page 5 14 for information on the SN...

Страница 457: ...Link Bandwidth Usage and RPI 15 9 15 2 3 Adjusting Device Bandwidth Usage 15 10 15 2 4 Changing the RPI 15 11 15 2 5 RPI Setting Examples 15 16 15 3 I O Response Time in Tag Data Links 15 22 15 3 1 T...

Страница 458: ...n Period If packet interval is shorter than 100ms the heartbeat frame transmission period is 100ms If packet interval is equal to or larger than 100ms the heartbeat frame transmission period is the sa...

Страница 459: ...ons Connections set as target connections must be added too The following shows the maximum number of packets that each CPU Unit can send and receive per second via the built in EtherNet IP port throu...

Страница 460: ...maximum number of connections per built in EtherNet IP port on a CPU Unit is as follows NX701 CPU Unit 256 NX102 CPU Unit 32 NX1P2 CPU Unit 32 NJ series CPU Unit 32 The maximum number of connections f...

Страница 461: ...2 Node 1 15 1 3 Packet Interval RPI Accuracy A send processing delay occurs in a built in EtherNet IP port when data packets are sent based on a packet interval RPI This delay varies within the RPI e...

Страница 462: ...10 12 14 16 RPI ms RPI error 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 15 Communications Performance and Communications Load 15 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Man...

Страница 463: ...1 NX102 NX1P2 Unit ver sion 1 00 to 1 02 Unit ver sion 1 03 or later Network bandwidth Physical Ether net baud rate 1 000 Mbps 100 Mbps or 10 Mbps Allowed tag data link communica tions bandwidth Maxim...

Страница 464: ...iguration Window Item Description The IP address of the device Comment A description of the device The comment is displayed below the device icon The model number of the device is displayed by default...

Страница 465: ...d net work bandwidth usage with the values given for an Ethernet switch without multicast filtering i e the values in parentheses These values can be adjusted as described in 15 2 4 Changing the RPI o...

Страница 466: ...odel is as follows NX701 CPU Unit 1 000 Mbit s NX102 CPU Unit 100 Mbit s NX1P2 CPU Unit 100 Mbit s NJ series CPU Unit 100 Mbit s Ethernet Switches without Multicast Filtering Is the Mbit s without Mul...

Страница 467: ...thernet switch is functioning correctly If the number of multicast filters on the Ethernet switch is less than the number of Total usage of IP multicast addresses the bandwidth for some transmission p...

Страница 468: ...g the pack et interval RPI for the relevant device There are three methods for changing the RPI as shown below Method 1 Set the Same RPI for All the Connections You can adjust the Usage of Capacity wi...

Страница 469: ...ticast Filter values for the target devices of the connections are also changed 1 Click the Set Packet Interval RPI Button in the Usage of Device Bandwidth Dialog Box 2 The Set Packet Interval RPI Dia...

Страница 470: ...Usage of Capacity without Multicast Filter value for the target device of the connection are also changed 1 Click the Close Button in the Usage of Device Bandwidth Dialog Box 2 Double click the device...

Страница 471: ...n 4 The Edit Connection Dialog Box for the device is displayed Input a new packet interval RPI value and click the OK Button 15 Communications Performance and Communications Load 15 15 NJ NX series CP...

Страница 472: ...k Configuration Window to check the bandwidth usage as described in 15 2 1 Checking Bandwidth Usage for Tag Data Links on page 15 8 It is important to check the bandwidth usage particularly after you...

Страница 473: ...300 17 Units Connection RPI 120 ms 17 network variables 100 words each 192 168 250 1 NJ501 1300 NJ501 1300 NJ501 1300 NJ501 1300 192 168 250 3 192 168 250 17 192 168 250 2 100CH 100CH 100CH 100CH IP a...

Страница 474: ...data link bandwidth is 40 83 for all the devi ces as given in the Usage of Capacity column and the RPI is set to 120 ms for all the connections In the next example change the RPI to 40 ms so as to inc...

Страница 475: ...devices to which this RPI change is not applied all the devices except 192 168 250 1 and 192 168 250 10 Input 30 ms as the new RPI value and click the OK Button The usage rate of allowable tag data li...

Страница 476: ...pecific Connection In this example set faster tag data links for a specific connection of a device 192 168 250 1 Double click the device 192 168 250 1 in the Network Configuration Window Since the Reg...

Страница 477: ...apacity column and this indicates that the RPI for the specific connection is set shorter Note that the usage rate of allowable tag data link bandwidth for the device 192 168 250 10 is also increased...

Страница 478: ...g 1 Motion control System common processing 2 Output data processing Primary periodic task Data received Controller Processing Data exchange processing Controller task period You can specify either of...

Страница 479: ...6 68 NJ301 0 0015 2 0 560 3 2 15 7 52 NJ101 0 0015 0 560 3 83 7 52 1 The value is 0 58 for CPU Units with unit version 1 02 or earlier 2 The value is 0 0009 for CPU Units with unit version 1 02 or ear...

Страница 480: ...shows an example to explain how to calculate the time required for tag data transfer CPU Unit model NJ501 Refreshing task Primary periodic task Task period 500 s variable access time 3 Settings of ta...

Страница 481: ...e time calculated in step 1 Use the Sysmac Studio to set the variable access time and task period settings Refer to NJ NX series CPU Unit Software User s Manual Cat No W501 for details Adjusting Packe...

Страница 482: ...um I O response time by adding up the time of 1 to 6 in the following figure Example of data transfer processing over 3 task periods 1 2 3 Output device Input device Transmission path Task period Cont...

Страница 483: ...period multiplied by the number of transfers For details on the send data processing time refer to 15 3 2 Built in EtherNet IP Port Data Proc essing Time on page 15 23 3 Packet Interval RPI This is t...

Страница 484: ...increases 6 Output ON Response Time This is the delay time from when an output command is issued by the Controller until the output is executed on the external output device Output ON response time Ou...

Страница 485: ...ode Task period remote node Task period local node Task period remote node Line Line Maximum transmission delay time Send delay System service execution time Transmission delay Receive delay System se...

Страница 486: ...tion the window size of each network node traffic load on the built in EtherNet IP port e g simultaneous tag data link communications and the system configura tion CIP communications instructions are...

Страница 487: ...y and trou bleshoot errors which may occur due to the tag data link connection status 16 1 Overview of Troubleshooting 16 2 16 2 Checking Status with the Network Configurator 16 3 16 2 1 The Network C...

Страница 488: ...CJ series Units and NX Units NJ NX series CPU Unit Sysmac Studio Error management range for NJ NX series Controller Troubleshooting Network Configurator Checking Network Status EtherCAT Troubleshoote...

Страница 489: ...y Control Unit User s Manual Cat No Z930 for details on confirming CIP Safety commu nications status Status 1 Tab Page The following check boxes are displayed for the status If a check box is checked...

Страница 490: ...nections as the originator Configuration Er ror Status Ethernet Link Status TRUE when a link is established with the Ethernet switch Ethernet Basic Settings Log ic Error TRUE when the following setti...

Страница 491: ...6 Troubleshooting 16 5 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 16 2 Checking Status with the Network Configurator 16 16 2 1 The Network Configurator s Device Monitor Functio...

Страница 492: ...Mode _EIP1_TargetPLCErr CIP Communications1 Target PLC Error Information CIP Communications 2 _EIP2_EstbTargetSta CIP Communications2 Normal Target Node Information _EIP2_TargetPLCModeSta CIP Communic...

Страница 493: ...ode is stopped In addition in the Connection Status Area the Status Column shows the current status of each connection that is set as the originator This information can be used to identify the cause...

Страница 494: ...ored in the CPU Unit The error history shows errors that have occurred It can be saved in a file in the computer Refer to the operation manual of the CPU Unit for details on error information 16 Troub...

Страница 495: ...he CPU Unit for the specified tag setting A connection will not be established for a tag for which this error occurs Attribute error 1 Writing is not possible for Read Only and Constant attributes 2 T...

Страница 496: ...the built in Ethernet IP port The error counter information can be used to confirm whether communications problems have oc curred The tag data link information can be used to confirm characteristics...

Страница 497: ...s Configuration 3 Products from other manufacturers CS1W EIP21 CJ1W EIP21 CJ2H CPU EIP CJ2M CPU3 NJ501 NJ301 NJ101 NX701 NX102 NX1P2 Connection status Source of error Handling General Status hex Addit...

Страница 498: ...ufacturer Only multicast and point to point connec tions can be set Check which connection types can be used by the originator An error will occur if a connection other than a multicast or point to po...

Страница 499: ...ntact the target device s manufacturer Check that the target device s EDS file is cor rect Check the orig inator s con nection set tings 01 0115 Error code returned from target The Product Type did no...

Страница 500: ...ork Configurator s device monitor to check the bandwidth us age and cor rect the load If there are pla ces where broadcast storms occur such as loop connections in the network connection for mat then...

Страница 501: ...302 Error code generated by originator or re turned from target The tag data link s allowable bandwidth pps was exceeded Check the con nection set tings number of connections and RPI at the originator...

Страница 502: ...rget device s manufacturer Depends on the originator s specifications Contact the originator devi ce s manufac turer 01 031C Error code generated by originator Some other error occurred This error doe...

Страница 503: ...ror code is defined by each ven dor so it de pends on the target s specifi cations Contact the target device s manufacturer Depends on the originator s specifications Contact the originator devi ce s...

Страница 504: ...so it de pends on the target s specifi cations Contact the target device s manufacturer The meaning of this error code is defined by each vendor so it depends on the origina tor s specifica tions Cont...

Страница 505: ...EDS Files A 40 A 3 4 Saving EDS Files A 41 A 3 5 Searching EDS Files A 41 A 3 6 Displaying EDS File Properties A 42 A 3 7 Creating EDS Index Files A 42 A 4 Precautions for Using the Network Configura...

Страница 506: ...ent of PLC Controller s in ternal clock OK OK OK OK OK OK OK Error history OK 1 OK 1 OK 1 OK 1 OK OK OK OK Response to PING command OK OK OK OK OK OK OK OK SNMP SNMP trap OK OK OK OK OK OK CIDR functi...

Страница 507: ...ation Sysmac Studio version 1 10 or higher is required to use the Tag Data Link EtherNet IP Con nection Settings Acceptable System Configuration Conditions for Setting the Ether Net IP Connection Sett...

Страница 508: ...P ports Two built in EtherNet IP ports Use the Network Configurator if a CS CJ series PLC operates as the originator device NJ NX series Controller CS CJ series PLC Settings for the target device Sett...

Страница 509: ...Moni tor Tab Page Stopping and starting connections 1 Variables with its Network Publish attribute set to Output or Input in the Global Variable Table are called network variables A 2 3 EtherNet IP Co...

Страница 510: ...n set tings are not transferred from the Synchronization Window the Transfer to the Controller Dia log Box or the Transfer from the Controller Dialog Box as long as the data in the computer is synchro...

Страница 511: ...following information Connection Name Connection I O Type I O target device tag set target variable originator device tag set originator variable Packet Interval RPI and Timeout Value Refer to Setting...

Страница 512: ...ne When online you can start and stop connections Refer to A 2 5 Checking Communications Status with the Sysmac Studio and Troubleshooting on page A 30 for information on how to check the EtherNet IP...

Страница 513: ...ator device Target device Sysmac Studio Ethenet Net_Out1 Target device tag set Net_In1 Tag set Originator device tag set Net_Out1 Data type WORD Network variable Network Publish attribute Output Net_I...

Страница 514: ...to the tag used for the EtherNet IP connection for Controller 1 originator device This network variable receives data from Controller 2 target device Select Input or Output for Network Publish of a va...

Страница 515: ...rk variables specify even byte numbers i e sizes of the tags 1 to the network variables Data concurrency To maintain concurrency in the values of network variables that are assigned to tags you must s...

Страница 516: ...d tag sets independently 1 Right click anywhere in the Input Tab Page of the EtherNet IP Connection Setting Tab Page and select Create New Tag Set from the menu 2 Enter the tag set name Net_In1 direct...

Страница 517: ...al Variable Table and also have the Network Publish attribute set to Input or Output 2 Select the variable to register as a tag and then click the Register Button 3 The automatically registered tag is...

Страница 518: ...the tag data size in bits Selected Set the size in bits Not selected Set the size in bytes Size Byte Gives the size of the tag in bytes Size Bit Gives the size of the tag in bits Output at Fatal Error...

Страница 519: ...Setting Tab Page is displayed 3 Click the Show Connection Display icon in the EtherNet IP Connection Setting Tab Page 4 Select CJ1W EIP21 NJ from Target Device in the Toolbox on the right of the tab p...

Страница 520: ...1 NJ301 or NJ101 When you create EtherNet IP connection for another target device select the connection I O type specified in the device s EDS file Use the Input Only ID type setting when the originat...

Страница 521: ...can be set to 4 8 16 32 64 128 256 or 512 times the packet inter val The default setting is RPI x 4 The timeout value must be at least 10 ms 7 The Toolbox displays the target devices if the devices a...

Страница 522: ...elected project will be displayed Select the target devices to import and click the Import Button Note Only the project for which the EtherNet IP connection settings are set will be displayed The impo...

Страница 523: ...Import Tag Set Button to import the tag sets that are set in the Network Configurator to the target devices Select To From File Export to File in the Tag Sets Tab Page of the Edit Device Parameters Di...

Страница 524: ...adding devices to the Target Device List in the Toolbox of the EtherNet IP Connection Setting Tab Page Changing the Target Device Settings after Making Connection Set tings If you change the IP addres...

Страница 525: ...e Apply the change to other connections Check Box 3 To apply the same change to other connections select the Apply the change to other connections Check Box 4 Click the OK Button Changing All Target D...

Страница 526: ...1 originator device Set the Network Publish attribute to Input or Output in the Global Variable Table for the varia ble so that the variable serves as a network variable i e the variable can be used f...

Страница 527: ...only check the bandwidth being used for the EtherNet IP connections from one originator device to its target devices The actual bandwidth used for the EtherNet IP network must be calculated by taking...

Страница 528: ...et IP connections between Controllers 1 to 3 in the EtherNet IP network Connection type Relevant devices in the EtherNet IP connections Device bandwidth usage PPS Connection 1 NJ series Controller 2 t...

Страница 529: ...thod If the calculation result value exceeds the values in the specifications of the devices used in the EtherNet IP connections re evaluate the overall network configuration and correct it by taking...

Страница 530: ...evices check the operating specifications and implement safety countermeasures The built in EtherNet IP port and the port on the EtherNet IP Unit are automatically restarted after the parameters are d...

Страница 531: ...n settings are transferred along with the not synchronized data If no EtherNet IP connection settings are set in the Sysmac Studio no data will be sent Transferring all data 1 Establish an online conn...

Страница 532: ...as the data in the computer is synchronized with the data in the Controller Transferring Only the EtherNet IP Connection Settings You can transfer tag sets and connections to the EtherNet IP devices...

Страница 533: ...tically Starting EtherNet IP Connections The EtherNet IP device is automatically restarted and EtherNet IP connections are automatically started immediately after the connection settings are downloade...

Страница 534: ...ns Status with the Sysmac Studio and Troubleshooting You can monitor the communications status of the EtherNet IP connections after their settings are set You can also check errors Precautions for Cor...

Страница 535: ...hat has not been established Gray There are no connections or the connection operation is stopped Type Gives the connection type Status Gives the current status on each connection with codes Normal op...

Страница 536: ...cause this error 1 Writing is not possible for constant attributes 2 The I O direction that is set in the tag data link settings does not agree with the I O direction of the variable in the CPU Unit...

Страница 537: ...arget in milliseconds T O Heartbeat transmis sion cycle ms Gives the heartbeat transmission period of the connections from the target to the originator in milliseconds O T Timeout Gives the timeout ti...

Страница 538: ...errors and de tails on errors Troubleshooting When Transferring and Monitoring the EtherNet IP Connection Settings Fail with Sysmac Studio Version 1 10 or High er The first time you establish an onlin...

Страница 539: ...dio displays the following error message and the data will not be transferred Transfer to Controller Dia log Box The Sysmac Studio displays the following error dialog box and the data will not be tran...

Страница 540: ...NX series Controller to connect If your computer is on an inhouse network make sure that security will not be jeopardized before you change the settings Windows XP 1 Open the Control Panel from the W...

Страница 541: ...Turn Windows Firewall On or Off The Customize Settings Dialog box is displayed 3 Clear the Block all incoming connections including those in the list of allowed programs Check Box and click the OK But...

Страница 542: ...io Properties Dialog Box make the following set tings General Select Enabled Action Select Allow the connections Method 2 Cycle the power supply to the Controller Cycle the power supply to the NJ NX s...

Страница 543: ...restart the Network Configurator again Install Create Delete and Create EDS Index File un der EDS File When you start the Network Configrator select Run as administrator as below 1 Select the Network...

Страница 544: ...ce information from the device on the net work if it is online 3 The device is added to the Hardware List as a new device just like when you install an EDS file Additional Information You cannot set d...

Страница 545: ...1 Select EDS File Find The following dialog box is displayed 2 Input the character string to search for and click the Find Next Button 3 If a matching device is found the cursor moves to the position...

Страница 546: ...eated is displayed along with the device informa tion A 3 7 Creating EDS Index Files EDS File Create EDS Index File When an EDS file is manually added or when a device is not correctly indicated in th...

Страница 547: ...puter is connected to an in house network make such changes only after confirming that they have no security impact on the network A 4 1 Changing Windows Firewall Settings Windows XP 1 When you attemp...

Страница 548: ...of the dialog box 5 Follow the steps below to make the settings in the New Inbound Rule Wizard Dialog Box Se lect the specified option at each step and click the Next Button to move to the next step R...

Страница 549: ...y Alert Dialog Box is displayed 8 Click the Allow access Button On Windows 7 This allows USB connection and EtherNet IP connection to the Network Con figurator and you will be able to connect to the N...

Страница 550: ...termined for each data type The data size is the minimum amount of memory that is required to store the value or values of that data type On the other hand memory for variables is automatically struct...

Страница 551: ...ts and the amounts of memory that are allocated for arrays structures and unions are determined by the variable declarations as described below Data type Alignment Amount of memory that is allocated A...

Страница 552: ...19 elements Therefore the following formula gives the amount of memory that is allocated for a BOOL array For 1 to 16 elements 2 bytes are allocated For 17 to 32 elements 4 bytes are allocated Amount...

Страница 553: ...t byte First byte 1 First byte 2 First byte 3 First byte 4 First byte 5 First byte 6 First byte 7 First byte 8 First byte 9 First byte 10 First byte 11 Not used First byte integer multiple of 2 First...

Страница 554: ...gnment of an array is the same as alignment of the data type of the elements Example Continuous variables in the following order two BOOL variable one BOOL array with five elements one BOOL array with...

Страница 555: ...byte 12 First byte 13 First byte 14 First byte 15 Variable Table Bytes Memory Example WORD array with three elements for each dimension with two dimensional array Data type ARRAY 0 2 0 2 OF WORD B 0...

Страница 556: ...hat is allocated is the inte gral multiple of the alignment that is larger than the total amount of memory that is allocated when the members are arranged in order at integral multiples of the alignme...

Страница 557: ...First byte 35 First byte 36 First byte 37 First byte 38 First byte 39 First byte 40 First byte 41 First byte 42 First byte 43 First byte 44 First byte 45 First byte 46 First byte 47 Not used Variable...

Страница 558: ...type Structure STR_C Structure STR_D ARRAY 0 1 OF STR_C ARRAY 0 1 OF STR_D Name Structure STR_D c d Data type STRUCT BYTE ARRAY 0 7 OF BOOL First byte integer multiple of 2 First byte integer multiple...

Страница 559: ...teger multiple of 4 First byte integer multiple of 4 A 5 2 Important Case Examples When you exchange structure variable data between an NJ NX series CPU Unit and a remote device you must align the mem...

Страница 560: ...the member offsets for a structure variable when you register the structure data type To communicate with a CJ series CPU Unit you can set the offset type to CJ to automatically use the CJ series memo...

Страница 561: ...st byte 11 Not used Memory Bytes First byte First byte 1 First byte 2 First byte 3 First byte 4 First byte 5 First byte 6 First byte 7 First byte 8 First byte 9 First byte 10 First byte 11 Variable a...

Страница 562: ...le CJ_X Data type Structure Y Data Type Definitions Name Structure Y a b b2 c Data type STRUCT DINT INT INT DINT Bytes NJ NX series Structure Variable NJ_X First byte First byte 4 First byte 6 First b...

Страница 563: ...tput slave NJ series CPU Unit The devices variables or global variables that are assigned to an I O port of a CJ series Basic Output Unit The global variables with AT specifications to output bits tha...

Страница 564: ...request FIN and are waiting for acknowledgment ACK LAST ACK The server sent a connection close request FIN and is waiting for acknowledgment ACK FIN WAIT 2 The client is waiting for a connection close...

Страница 565: ...received ACK sent CLOSE FIN sent CLOSE FIN sent FIN received ACK sent CLOSE WAIT ACK for FIN received CLOSE Passive OPEN Active OPEN SYN sent ACK for FIN received FIN received ACK sent CLOSE FIN sent...

Страница 566: ...X Configuration object service Version Information You can perform the NX Unit setting using the NX Configuration object service only with NX102 CPU Units A 8 1 Changing the Unit Operation Settings fo...

Страница 567: ...are set in the NX Unit with unit number 2 0x74 NX Configuration object 0x01 0x36 Save parameter 0x02 7 Restart the NX Unit with unit number 1 0x74 NX Configuration object 0x01 0x35 Restart NX unit 0x0...

Страница 568: ...Data Size instruction Addition page 8 4 1 06 1 07 Client function Addition 1 page 8 16 1 11 1 15 Socket services Number of supported sockets Change page 9 10 1 03 1 04 SktSetOption instruc tion Additi...

Страница 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...

Страница 570: ...ications Error 3 15 3 48 CIP Communications1 Tag Data Link Communications Start Switch 3 34 3 60 7 69 CIP Communications1 Tag Data Link Communications Sta tus 3 23 3 52 CIP Communications1 Tag Data Li...

Страница 571: ...IP_MacAdrErr MAC Address Error 3 9 3 40 _EIP_MultiSwONErr Multiple Switches ON Error 3 17 3 50 _EIP_NTPResult NTP Operation Information 3 32 _EIP_NTPResult ExecNormal NTP Operation Result 3 32 3 59 _E...

Страница 572: ...rErr CIP Communications2 Tag Name Reso lution Error 3 17 3 50 _EIP2_TargetNodeErr CIP Communications2 Target Node Error Information 3 32 3 59 _EIP2_TargetPLCErr CIP Communications2 Target PLC Error In...

Страница 573: ...Packet Interval RPI 7 9 7 40 packet interval RPI accuracy 15 5 passwords 5 9 PING command 6 2 port numbers 5 9 5 10 5 12 5 14 port numbers for socket services 9 2 Port1 Basic Ethernet Setting Error 3...

Страница 574: ...t request paths 8 17 subnet mask 4 2 5 2 5 3 Sysmac Studio 1 6 system defined variables 3 2 T table of commands 11 11 tag data link bandwidth usage and RPI 15 9 Tag Data Link Communications Error 3 15...

Страница 575: ...communications instructions 8 5 V verifying device parameters 7 66 verifying tag data link parameters 7 64 verifying the network configuration 7 65 Version 22 versions 5 15 Index I 7 NJ NX series CPU...

Страница 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...

Страница 577: ......

Страница 578: ...IL 60169 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron...

Отзывы: