background image

Industrial PC Platform

NY-series

IPC Machine Controller
Industrial Panel PC / Industrial Box PC

Industrial Panel PC
Industrial Box PC

Built-in EtherNet/IP

TM

 Port 

User’s Manual

W563-E1-03

NY532-1500
NY532-1400
NY532-1300
NY532-5400
NY512-1500
NY512-1400
NY512-1300

Summary of Contents for Sysmac NY512-1300

Page 1: ...es IPC Machine Controller Industrial Panel PC Industrial Box PC Industrial Panel PC Industrial Box PC Built in EtherNet IPTM Port User s Manual W563 E1 03 NY532 1500 NY532 1400 NY532 1300 NY532 5400 NY512 1500 NY512 1400 NY512 1300 ...

Page 2: ...of the information contained in this publication 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 Visual Basic are either registered trademarks or trademarks of Microsoft Corpora tion in the United States and other countries EtherCAT is registered trademark and patented tech...

Page 3: ...a safe place where it will be available for reference during operation This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent Personnel in charge of introducing FA systems Personnel in charge of designing FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing F...

Page 4: ... series IPC Machine Controller Industrial Panel PC Industrial Box PC Software User s Manual NY series Instructions Reference Manual NY series IPC Machine Controller Industrial Panel PC Industrial Box PC Motion Control User s Manual NY series Motion Control Instructions Reference Manual NY series IPC Machine Controller Industrial Panel PC Industrial Box PC Built in EtherCAT Port User s Manual NY se...

Page 5: ...r and locking the sliders by moving them toward the back of the Units The End Cover is connected in the same way to the Unit on the far right side of the Controller 1 Join the Units so that the connectors fit exactly 2 The yellow sliders at the top and bottom of each Unit lock the Units together Move the sliders toward the back of the Units as shown below until they click into place Precautions fo...

Page 6: ...re the data for the Sysmac Studio on the computer with the data in the physical Controller and transfer the data in the direction that is specified by the user Special Information Precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performanc...

Page 7: ...dio Settings for the Built in Ether Net IP Port Testing Communications Tag Data Link Functions CIP Message Communications Socket Service FTP Server SNMP Agent Checking Communications Status of Network and Troubleshooting Communications Per formance and Commu nications Load Appendices Index 1 10 2 11 3 12 4 13 5 7 8 9 1 10 2 11 3 12 4 13 5 14 6 7 I 9 14 I 7 I Introduction Installing Ethernet Networ...

Page 8: ...tion and Configuration Devices 1 5 1 2 1 Devices Required to Construct a Network 1 5 1 2 2 Support Software Required to Construct a Network 1 6 1 3 Built in EtherNet IP Port 1 7 1 3 1 Specifications 1 7 1 3 2 Part Names and Functions 1 10 1 4 Introduction to Communications Services 1 12 1 4 1 IP Communications with Windows 1 12 1 4 2 CIP Common Industrial Protocol Communications Services 1 12 1 4 ...

Page 9: ...les 3 13 Section 4 Determining IP Addresses 4 1 IP Addresses 4 2 4 1 1 IP Address Configuration 4 2 4 1 2 Allocating IP Addresses 4 3 4 1 3 Subnet Masks 4 3 4 1 4 CIDR 4 4 4 2 Controller IP Address Settings 4 5 4 2 1 Determining IP Addresses 4 5 4 2 2 Setting IP Addresses 4 6 4 2 3 Online Connection 4 8 4 2 4 Checking the Current IP Address 4 10 4 3 Private and Global Addresses 4 11 4 3 1 Private ...

Page 10: ...7 2 16 Checking Connections 7 69 7 2 17 Changing Devices 7 71 7 2 18 Displaying Device Status 7 72 7 3 Ladder Programming for Tag Data Links 7 73 7 3 1 Ladder Programming for Tag Data Links 7 73 7 3 2 Status Flags Related to Tag Data Links 7 77 7 4 Tag Data Links with Other Models 7 78 Section 8 CIP Message Communications 8 1 Overview of the CIP Message Communications Service 8 3 8 1 1 Overview of...

Page 11: ...sing 9 7 9 2 4 Broadcasting 9 10 9 3 Overview of Built in EtherNet IP Port Socket Services 9 11 9 3 1 Overview 9 11 9 3 2 Procedure 9 11 9 4 Settings Required for the Socket Services 9 12 9 5 Socket Service Instructions 9 13 9 6 Details on Using the Socket Services 9 14 9 6 1 Using the Socket Services 9 14 9 6 2 Procedure to Use Socket Services 9 15 9 6 3 Timing Chart for Output Variables Used in ...

Page 12: ...s 12 4 12 2 Procedure to Use the SNMP Agent 12 21 12 2 1 Procedures 12 21 12 2 2 Settings Required for the SNMP Agent 12 21 Section 13 Communications Performance and Communications Load 13 1 Communications System 13 2 13 1 1 Tag Data Link Communications Method 13 2 13 1 2 Calculating the Number of Connections 13 4 13 1 3 Packet Interval RPI Accuracy 13 5 13 2 Adjusting the Communications Load 13 6...

Page 13: ...tings A 5 A 2 4 Making the EtherNet IP Connection Settings with the Sysmac Studio A 10 A 2 5 Checking Communications Status with the Sysmac Studio and Troubleshooting A 33 A 2 6 Troubleshooting A 37 A 3 EDS File Management A 43 A 3 1 Installing EDS Files A 44 A 3 2 Creating EDS Files A 44 A 3 3 Deleting EDS Files A 45 A 3 4 Saving EDS Files A 45 A 3 5 Searching EDS Files A 46 A 3 6 Displaying EDS ...

Page 14: ...equal to the purchase price of the non complying Product provided that in no event shall Omron be responsible for warranty repair indemnity or any other claims or expenses regarding the Products unless Omron s analysis confirms that the Products were properly handled stored installed and maintained and not subject to contamination abuse misuse or inappropriate modification Return of any Products b...

Page 15: ...panies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Data presented in Omron Company websites catalogs and other materials is provided as a guide for the user in determining suitability and does not constitute a warranty It may represent the result of Omron s test conditions and the user must correlate it to actual application requirements...

Page 16: ...er s Manual W563 Safety Precautions Refer to the following manuals for safety precautions NY series Industrial Panel PC Hardware User s Manual Cat No W557 NY series Industrial Box PC Hardware User s Manual Cat No W556 NY series Industrial Panel PC Industrial Box PC Software User s Manual Cat No W558 ...

Page 17: ...s Manual W563 Precautions for Safe Use Refer to the following manuals for precautions for safe use NY series Industrial Panel PC Hardware User s Manual Cat No W557 NY series Industrial Box PC Hardware User s Manual Cat No W556 NY series Industrial Panel PC Industrial Box PC Software User s Manual Cat No W558 ...

Page 18: ...Manual W563 Precautions for Correct Use Refer to the following manuals for precautions for correct use NY series Industrial Panel PC Hardware User s Manual Cat No W557 NY series Industrial Box PC Hardware User s Manual Cat No W556 NY series Industrial Panel PC Industrial Box PC Software User s Manual Cat No W558 ...

Page 19: ...ity EN 61131 2 EMI Electromagnetic Interference EN 61131 2 Radiated emission 10 m regulations Conformance to EU Directives The NY series Controllers comply with EU Directives To ensure that the machine or device in which the NY series Controller is used complies with EU Directives the Controller must be installed as fol lows The NY series Controller must be installed within a control panel You mus...

Page 20: ...The unit version is given on the ID information indication on the back side of the product The ID information on an NY series NY5 2 Controller is shown below You can use the Sysmac Studio to check unit versions The procedure is different for Units and for Eth erCAT slaves Checking the Unit Version of an NY series Controller You can use the Production Information while the Sysmac Studio is online t...

Page 21: ...ction 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 click EtherCAT under Configurations and Setup in the Multiview Explorer Or right click EtherCAT under Configurations and Setup and select Edit from the menu The EtherCAT Tab Page is displayed 2 Right click the master on the EtherCAT Tab P...

Page 22: ...n NY series Controller use the versions of the Network Configurator and the Sysmac Studio that are given in the following table Unit Versions of Controllers and Peripheral Tool Versions CPU Unit Network Configurator for EtherNet IP Sysmac Studio Model Version Version 3 59 or lower Version 3 60 Version 1 16 or lower Version 1 17 NY5 2 Version 1 12 or later NA OK NA OK ...

Page 23: ...preparations to use Controllers The following information is provided on an introduction to the entire NY series system Two OS systems Initial settings Industrial PC Support Utility NYCompolet Industrial PC API Backup and recovery NY series IPC Machine Controller Industrial Panel PC Industrial Box PC Software User s Manual W558 NY532 NY512 Learning how to pro gram and set up the Controller functio...

Page 24: ...5300 NY532 5400 Learning about the specifications of the G code M code instructions The G code M code instructions are described Use this manual together with the NJ NY series NC Integrated Controller User s Manual Cat No O030 when programming NY series Troubleshooting Manual W564 NY532 NY512 Learning about the errors that may be detected in an NY series Industrial PC Concepts on managing errors t...

Page 25: ...ion code appears as a suffix to the catalog number on the front and back covers of the manual Revision code Date Revised content 01 September 2016 Original production 02 April 2017 Added information on functional support for unit version 1 14 of the CPU Units Corrected mistakes 03 October 2017 Corrected mistakes W563 E1 03 Revision code Cat No ...

Page 26: ...Revision History 24 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 27: ...2 Support Software Required to Construct a Network 1 6 1 3 Built in EtherNet IP Port 1 7 1 3 1 Specifications 1 7 1 3 2 Part Names and Functions 1 10 1 4 Introduction to Communications Services 1 12 1 4 1 IP Communications with Windows 1 12 1 4 2 CIP Common Industrial Protocol Communications Services 1 12 1 4 3 IP Routing 1 14 1 4 4 BOOTP Client 1 17 1 4 5 FTP Server 1 17 1 4 6 FTP Client 1 18 1 4...

Page 28: ...s Cycle Time Tag data links cyclic communications operate at the cyclic period specified for each application regardless of the number of nodes Data is exchanged over the network at the refresh cycle set for each connection so the communications refresh cycle will not increase even if the number of nodes is increased i e the concurrency of the connection s data is maintained Because the refresh cy...

Page 29: ...he Controller so that you can read and write files on workstations and computers that have an FTP server from the Controller You can use the FTP client communications instructions to transfer one or more files between the Controller and an FTP server Socket Services Socket services can be used to send receive data between general purpose applications and Con trollers You can use these communicatio...

Page 30: ...l CIP is a shared industrial protocol for the OSI application layer The CIP is used in networks such as EtherNet IP CompoNet and DeviceNet Data can be routed easily between networks that are based on the CIP You can therefore easily configure a transparent network from the field device level to the host level The CIP has the following advantages Destination nodes are specified by a relative path w...

Page 31: ...therNet IP port NJ501 301 or 101 NX series built in EtherNet IP port NX701 OMRON PLCs CJ2 built in EtherNet IP port CJ2H CPU EIP or CJ2M CPU3 CJ series EtherNet IP Unit CJ1W EIP21 CS series EtherNet IP Unit CS1W EIP21 These Units are used to connect to an EtherNet IP net work 2 Twisted pair cable The twisted pair cable has a RJ45 Modular Connector at each end This cable is used to connect the buil...

Page 32: ...tor are given below 1 Setting and Monitoring Tag Data Links Connections The network device configuration and tag data links connections can be created and edited After connecting to the network the device configuration and tag data link settings can be uploaded and monitored 2 Multi vendor Device Connections EDS files can be installed and deleted so that you can construct set and manage networks t...

Page 33: ...ons Media access method CSMA CD Modulation Baseband Transmission paths Star form Baud rate 1 000 Mbps 1000Base T Transmission media Shielded twisted pair STP cable Category 5 5e or higher Transmission dis tance 100 m max distance between hub and node Number of cascade connections There is no limitation when an Ethernet switch is used CIP service Tag data links cyclic communications Number of conne...

Page 34: ... the tag set contains the Controller status Maximum link data size per node 184 832 bytes Maximum data size per connection 1 444 bytes 3 Data concurrency is maintained within each connection Refer to 7 1 7 Concurrency of Tag Data Link Data for methods to maintain concurrency Number of regis trable tag sets 128 1 connection 1 tag set Maximum size of 1 tag set 722 words The Controller status uses 1 ...

Page 35: ...he same port number for more than one TCP UDP service Service Protocol Port number Remarks EIP data links UDP 2222 Fixed values Used by system UDP 2223 2224 TCP 9610 TCP 9900 CIP messages TCP 44818 FTP client data transfer port TCP 20 DNS client TCP UDP 53 BOOTP client UDP 68 HTTP server TCP 80 Used by system other TCP UDP 9600 You can change the port number in the Unit Settings on the Sysmac Stud...

Page 36: ...ach device connected to the Ethernet network A MAC address of the built in EtherNet IP port is given in 6 digit hexadecimal on the ID information indication on the back side of the product as shown below 1 3 2 Part Names and Functions Parts and Names Built in EtherNet IP port MAC address of built in EtherNet IP port MAC ADDRESS PORT 1 PORT 2 PORT 3 ID information indication ...

Page 37: ...When the built in EtherNet IP port is set to disable all the indicators will not light Refer to 5 1 TCP IP Settings Display for the information on setting the built in EtherNet IP port Indicators LEDs Indicator Color Status Operating status LINK ACT Not lit Link not established The cable is not connected The power supply is OFF or was reset Yellow Flashing Data communications in progress after est...

Page 38: ...th the Network Configurator to start communications for tag data links for a built in EtherNet IP port One con nection is used per tag set In this example a connection is established with the originator s tag list with tags a to g inputs which are in a tag set called SP1_IN and the target s tag list with tags i and ii outputs which are in a tag set called SP1_OUT 1 4 1 IP Communications with Windo...

Page 39: ...sing an L3 Ethernet switch is not counted in the number of levels of CIP routing via the ports In addition CIP messages can be routed between Windows installed in an NY series Industrial PC and devices on an EtherNet IP network via the internal ports and the built in EtherNet IP port on the Con troller Additional Information In CIP routing a node Unit that routes information subtracts the equivale...

Page 40: ... NY series Controller The following figure is an example of communications between the Controller in an NY series Industrial PC and an NJ series Controller on a different network segment Here you need to set the route infor mation for communicating via the built in EtherNet IP port on the NX series Controller in the IP router table and default gateway settings for the Controller in an NY series In...

Page 41: ... packets is disabled the function discards IP packets that are not destined to the Controller Additional Information You can route IP packets to EtherNet IP devices on a network segment different from that where Windows in an NY series Industrial PC is located In this case you need the IP routing and default gateway settings in Windows Ethernet port NY series Industrial PC Windows Controller Inter...

Page 42: ...s from only networks whose source IP address is set to the IP address of the internal port will be received otherwise IP packets will be relayed to another network NAT Function This function converts the source IP address in IP packets to a different IP address when relaying IP packets from one network to another Enabling the NAT function allows the built in EtherNet IP port to automatically conve...

Page 43: ...ller from computers at other Ethernet nodes This makes it possi ble to exchange data files between a computer and the Controller with the computer as the FTP client and the Controller as the FTP server 1 4 4 BOOTP Client 1 4 5 FTP Server Ethernet The built in EtherNet IP port IP address is obtained from the BOOTP server when the power is turned ON BOOTP client Built in EtherNet IP port Built in Et...

Page 44: ...r files between the Controller and computers on Ethernet This makes it possible to exchange data files between a computer and the Controller with the Controller as the FTP client and the computer as the FTP server 1 4 6 FTP Client NY series Controller Built in EtherNet IP port File data Virtual SD Memory Card File data Computer FTP sever Ethernet Virtual SD Memory Card File data Virtual SD Memory ...

Page 45: ...tatus and received data You can use a total of 16 TCP ports and UDP ports You can directly specify IP addresses but you can also use the host names instead of the IP addresses for SNMP managers or the destinations of socket instructions and CIP communications instructions DNS client or hosts settings Example Setting Host Names on the DNS Server Precautions for Correct Use Precautions for Correct U...

Page 46: ...ification reports to the SNMP manager The SNMP manager can learn about changes in status even without periodically monitoring of the built in EtherNet IP port Status notification reports are sent under the following conditions When the Controller is turned ON When links are established When an SNMP agent fails to be authorized 1 4 9 SNMP Agent SNMP Agent SNMP Traps Device that supports SNMP SNMP a...

Page 47: ...sk 255 255 255 0 Set any IP address Obtain from BOOTP server 3 Perform a communications test with a PING command from a com puter Section 6 Testing Communi cations 4 Use the Sysmac Studio to set the initial settings of the EtherNet IP Function Module Section 5 Sysmac Studio Settings for the Built in Eth erNet IP Port Set the TCP IP settings and Ethernet settings as required 1 Import the variable s...

Page 48: ...nitor function of the Network Configurator to confirm that the tag data links are in normal operation 1 Execute CIP communications instructions in the user program Section 8 CIP Message Communications 2 Check operation 1 3 2 Part Names and Func tions Section 14 Checking Com munications Status of Net work and Troubleshooting Use the Sysmac Studio to check the communications status with the end code...

Page 49: ...FTP client communications instructions in the user pro gram Section 11 FTP Client 2 Check operation Use the Sysmac Studio to check the communications status with the end codes of the instruction Done Error and ErrorID 1 Use the Sysmac Studio to set the initial settings of the EtherNet IP Function Module Section 12 SNMP Agent Set the SNMP settings Set the SNMP trap settings 2 Check operation Check ...

Page 50: ...1 Introduction 1 24 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 51: ...ch Functions 2 3 2 1 4 Precautions for Ethernet Switch Selection 2 4 2 2 Network Installation 2 6 2 2 1 Basic Installation Precautions 2 6 2 2 2 Recommended Network Devices 2 6 2 2 3 Precautions When Laying Twisted pair Cable 2 6 2 2 4 Precautions When Installing and Connecting Ethernet Switches 2 9 2 3 Connecting to the Network 2 10 2 3 1 Ethernet Connectors 2 10 2 3 2 Connecting the Cable 2 11 I...

Page 52: ...twork Devices Manufacturer Model Description OMRON W4S1 03B Packet priority control QoS EtherNet IP control data priority Failure detection Broadcast storm LSI error detection 10 100Base TX Auto negotiation Number of ports three for the W4S1 03B or five each for the W4S1 05B and W4S1 05C Failure detection output W4S1 05C only W4S1 05B W4S1 05C Cisco Systems Inc Consult the manufacturer http www ci...

Page 53: ...icast filtering multicast packets are sent to all nodes just like broadcast packets which increases the traffic in the network Settings must be made in the Ethernet switch to enable this function There must be enough multicast filters for the network QoS Quality of Service Function for TCP UDP Port Numbers L4 This function controls the priority of packet transmissions so that packets can be sent w...

Page 54: ...ry multicast packets so the tag data links can operate at higher speed If either of the following conditions exists the amount traffic will be the same for both kinds of L2 Ethernet switches with or without multicast filtering The tag data links are set to share the same data with all nodes in the network The multicast packets are transferred to all nodes in the network just like a broadcast The t...

Page 55: ...oS Functions We recommend this kind of Ethernet switch when both tag data links and message communications are executed If you set tag data links for higher priority transmission you can prevent problems such as transmission delays due to message communications traffic and packet losses due to buffer overflow Special settings must be made in the Ethernet switch when using the multicast filtering f...

Page 56: ...grounding methods refer to the NY series Industrial Box PC Hardware User s Manual Cat No W556 or NY series Industrial Panel PC Hardware User s Manual Cat No W557 To obtain information on laying EtherNet IP cable contact ODVA ODVA web site http www odva org When you install an EtherNet IP network that combines an information network with the control sys tem and the communications load may be heavy ...

Page 57: ... due to ground loops which can occur due to improper shield connections and grounding methods When using a baud rate of 100 Mbps or less it may be possible to alleviate this problem by connecting only the Ethernet switch side as described in b rather than connecting both ends as described in a 1000Base T Connect the shields at the both ends of the cable to respective connector hoods This connec ti...

Page 58: ...air cable in locations subject to high temperatures or high humidity Do not lay the twisted pair cable in locations subject to excessive dirt and dust or to oil mist or other contaminants If you connect a shielded cable with only the Ethernet switch side connected to the connector hood you must attach a clamp core on the built in EtherNet IP port side The recommended clamp core and attachment meth...

Page 59: ... by appearance Incorrect cables will cause communications to fail We recommend cascade connections with straight cables whenever possible Some Ethernet switches can automatically distinguish between MDI and MDI X When this kind of Ethernet switch is used straight cable can be used between Ethernet switches Precautions for Correct Use Precautions for Correct Use Adjust the built in EtherNet IP port...

Page 60: ...rnet Switch Types 2 3 1 Ethernet Connectors 10Base T and 100Base TX Connector pin Signal name Abbr Signal direc tion 1 Transmission data TD Output 2 Transmission data TD Output 3 Reception data RD Input 4 Not used 5 Not used 6 Reception data RD Input 7 Not used 8 Not used 1000Base T Connector pin Signal name Abbr Signal direc tion 1 Communication data DA BI_DA Input output 2 Communication data DA ...

Page 61: ...U Unit dimensions when the communications cable is connected to the Unit refer to the NY series Industrial Box PC Hardware User s Manual Cat No W556 or NY series Industrial Panel PC Hardware User s Manual Cat No W557 The required space depends on the communica tions cable and connector that are used Consult the manufacturer or sales agent 1 Lay the twisted pair cable 2 Connect the cable to the Eth...

Page 62: ...2 Installing Ethernet Networks 2 12 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 63: ...et IP Port User s Manual W563 3 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 13 System defined Variables Related to the Built in EtherNet IP Port ...

Page 64: ... internal port 1 Refer to Hierarchical Relationship of System defined Variables Related to Ether Net IP Errors in the NY series Controller Error status variable for TCP application function Error status variable for CIP communications Error status variable for communications port Error status variable for EtherNet IP Function Module TCP Application Setting Error NTP Server Connection Error Identit...

Page 65: ...error flags _EIP1_PortErr Communications Port1 Error _EIPIn1_PortErr Internal Port1 Error _EIP_CipErr CIP Communications Error _EIP_TcpAppErr TCP Application Communications Error Note Refer to information on the mean ings of the error status bits at the end of this appendix for details WORD 16 0000 to 16 00F0 page 3 13 _EIP_PortErr Communications Port Error This is the error status variable for th...

Page 66: ...end of this appendix for details WORD 16 0000 to 16 00F0 page 3 14 _EIPIn1_PortErr Internal Port1 Error This is the error status variable for the internal port 1 It represents the collective status of the following error flags _EIPIn1_IPAdrCfgErr Internal Port1 IP Address Setting Error _EIP1_IPAdrDupErr Internal Port1 IP Address Duplication Error _EIP_DNSCfgErr DNS Setting Error _EIP_DNSSrvErr DNS...

Page 67: ...ontroller Indicates that a com munications controller failure occurred on the communications port 1 TRUE Failure FALSE Normal BOOL TRUE or FALSE page 3 16 _EIP1_LanHwErr Port1 Communica tions Controller Error Indicates that a communications controller failure occurred on the communications port 1 TRUE Failure FALSE Normal BOOL TRUE or FALSE page 3 16 _EIP_EtnCfgErr Basic Ethernet Setting Error NY ...

Page 68: ...ore than one node for the communications port 1 TRUE Duplication occurred FALSE Other than the above BOOL TRUE or FALSE page 3 18 _EIPIn1_IPAdrDupErr Internal Port1 IP Address Duplication Error Indicates that the same IP address is assigned to more than one node for the internal port 1 TRUE Duplication occurred FALSE Other than the above BOOL TRUE or FALSE page 3 18 _EIP_DNSCfgErr DNS Setting Erro...

Page 69: ...ed for a target node in the tag data link parameters is different from the actual node informa tion There was no response from the remote node FALSE Other than the above BOOL TRUE or FALSE page 3 19 _EIP_TDLinkErr Tag Data Link Com munications Error NY series Controller Indicates that a time out occurred in a tag data link connection for CIP communications 1 TRUE A timeout occurred FALSE Other tha...

Page 70: ...led FALSE Normal BOOL TRUE or FALSE page 3 20 _EIP_NTPSrvErr NTP Server Connec tion Error Always FALSE for an NY series Control ler BOOL TRUE or FALSE page 3 20 _EIP_DNSSrvErr DNS Server Connec tion Error TRUE The DNS client failed to connect to the server timeout FALSE DNS is not enabled Or DNS is enabled and the connection was successful BOOL TRUE or FALSE page 3 20 Level 1 Level 2 Level 3 Varia...

Page 71: ...ndicates whether a major fault level Controller error has occurred TRUE A major fault level Controller error has occurred FALSE A major fault level Controller error has not occurred 6 This bit indicates whether a partial fault level Controller error has occurred TRUE A partial fault level Controller error has occurred FALSE A partial fault level Controller error has not occurred 5 This bit indicat...

Page 72: ...IP communications 1 TRUE Normal operation FALSE Other than the above BOOL TRUE or FALSE page 3 21 _EIP_TDLinkAllRun Sta All Tag Data Link Communications Sta tus NY series Controller Indicates that all tag data links are communicating in CIP com munications 1 TRUE Tag data links are communicating in all connections as the origina tor FALSE An error occurred in at least one connection BOOL TRUE or F...

Page 73: ... diately preceding 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 is FALSE Other than the above ARRAY 0 255 OF BOOL TRUE or FALSE page 3 22 _EIP_TargetNodeErr 255 Target Node Error Information NY series Controller Indicates that the connection for the Registered Target Node Information for ...

Page 74: ...ection with the target node was established normally and there is no error in the target PLC TRUE TRUE A connection with the target node was established but there is an error in the target PLC FALSE Disabled TRUE A connection with the target node was not established normally FALSE Disabled Disabled Disabled The information is not valid because the target node is not registered Variable name Meanin...

Page 75: ...able is given Network Publish The Network Publish attribute of the variable is given Usage in user program Whether you can use the vari able directly in the user pro gram is speci fied Related instruc tions The instructions that are related to the variable are given If you cannot use the variable directly in the user program the instructions that access the variable are given Variable name _EIP_Er...

Page 76: ...ained Not retained Network Publish Published Usage in user program Possible Related instruc tions You can access this variable from the user program with the following instruction GetEIPError Variable name _EIP1_PortErr Meaning Communications Port1 Error Global local Global Function This is the error status variable for the communications port 1 It represents the collective status of the following...

Page 77: ... If a Tag Name Resolution Error occurs it is recorded in the event log and this variable changes to TRUE Refer to Meanings of Error Status Bits for the meanings of the error status bits Data type WORD Range of values 16 0000 to 16 00F0 R W access R Retained Not retained Network Publish Published Usage in user program Possible Related instruc tions You can access this variable from the user program...

Page 78: ...l local Global Function Indicates that a communications controller failure occurred on the communications port 1 TRUE Failure FALSE Normal Data type BOOL Range of values TRUE or FALSE R W access R Retained Not retained Network Publish Published Usage in user program Possible Related instructions Variable name _EIP_EtnCfgErr Meaning Basic Ethernet Setting Error Global local Global Function NY serie...

Page 79: ...failed The IP address obtained from the BOOTP server is inconsistent FALSE Normal Data type BOOL Range of values TRUE or FALSE R W access R Retained Not retained Network Publish Published Usage in user program Possible Related instructions Variable name _EIPIn1_IPAdrCfgErr Meaning Internal Port1 IP Address Setting Error Global local Global Function Indicates the IP address setting errors for the i...

Page 80: ...ues TRUE or FALSE R W access R Retained Not retained Network Publish Published Usage in user pro gram Possible Related instructions Variable name _EIP_BootpErr Meaning BOOTP Server Error Global local Global Function NY series Controller Indicates that a BOOTP server connection failure occurred on the communications port 1 TRUE There was a failure to connect to the BOOTP server timeout FALSE The BO...

Page 81: ...ing incorrect or read failed FALSE Normal 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 instructions Variable name _EIP_TDLinkOpnErr Meaning Tag Data Link Connection Failed Global local Global Function NY series Controller Indicates that establishing a tag data link connection for CIP communications...

Page 82: ...ame time in CIP communications 1 TRUE 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 Published Usage in user pro gram Possible Related instructions Variable name _EIP_TcpAppCfgErr Meaning TCP Application Setting Error Global local Global Function TR...

Page 83: ...Not retained Network Publish Published Usage in user pro gram Possible Related instructions Variable name _EIPIn1_EtnOnlineSta Meaning Internal Port1 Online Global local Global Function Indicates that the built in EtherNet IP port s communications can be used via the internal port 1 that is the link is ON IP address is defined and there are no errors TRUE The built in EtherNet IP port s communicat...

Page 84: ...ons Variable name _EIP_TargetPLCModeSta 255 Meaning Target PLC Operating Mode Global local Global Function NY series Controller Shows the operating status of the target node Controllers that are connected for CIP commu nications 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 spondin...

Page 85: ...e initial value Data type Structure _sNTP_RESULT Members DATE_AND_TIME Range of values Depends on data type R W access R Retained Not retained Network Publish Published Usage in user pro gram Not possible Related instructions You can read the contents of this variable with the GetNTPStatus instruction Variable name _EIP_NTPResult Member name ExecNormal Meaning NTP Operation Result Global local Glo...

Page 86: ...3 System defined Variables Related to the Built in EtherNet IP Port 3 24 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 87: ...DR 4 4 4 2 Controller IP Address Settings 4 5 4 2 1 Determining IP Addresses 4 5 4 2 2 Setting IP Addresses 4 6 4 2 3 Online Connection 4 8 4 2 4 Checking the Current IP Address 4 10 4 3 Private and Global Addresses 4 11 4 3 1 Private and Global Addresses 4 11 4 3 2 Using a Private Address for the Built in EtherNet IP Port 4 12 4 3 3 Using a Global Address for the Built in EtherNet IP Port 4 13 De...

Page 88: ...cording to the class The 32 bits of binary data in an IP address are divided into four sections of eight bits each IP addresses are represented by the decimal equivalent of each of the four octets in the 32 bit address each separated by a period For example the binary address 10000010 00111010 00010001 00100000 would be represented as 130 58 17 32 4 1 1 IP Address Configuration Class Number of net...

Page 89: ... The subnet mask can be set to 192 0 0 0 to 255 255 255 252 If subnetworks are not used set the following subnet mask values for IP address classes A to C A network address is information derived from a subnet mask and used to identify each network A net work address enables users to determine whether multiple nodes belong to the same network A net work address is calculated by performing a logica...

Page 90: ...ses that do not use classes IP addresses that use classes are separated into blocks according to network IDs and host IDs resulting in inefficient usage of IP address space CIDR does not use classes so IP address space 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 network exceeding 2...

Page 91: ...e built in EtherNet IP port or if you need to use the built in EtherNet IP port with another EtherNet IP node set the IP address to the required value For an NX series CPU Unit you cannot set IP addresses that make two built in EtherNet IP ports belong to the same network Automatically Obtaining the IP Address from the BOOTP Server There are two methods to automatically obtain an IP address Obtain...

Page 92: ...nnot set IP addresses that make the built in EtherNet IP port and the internal port belong to the same network 2 Connect the Sysmac Studio to the NY series Controller via a USB connection or the Ethernet network 3 Connect the Sysmac Studio online to the NY series Controller Refer to 4 2 3 Online Connection for the procedure to connect online 4 Use one of the following methods to download the IP ad...

Page 93: ...is automatically saved in the Controller and then the same address is used Additional Information The TCP IP Settings Display is not updated even if the IP address is obtained normally from the BOOTP server To check the IP address that was obtained from the BOOTP server on the TCP IP Display upload the project from the NY series Controller If you cannot obtain the IP address from the BOOTP server ...

Page 94: ...udio In the case switch the Sysmac Studio status to offline change to the IP address of the con nected built in EtherNet IP port and then switch back the Sysmac Studio status to online This will allow you to reconnect 4 2 3 Online Connection Types of Connections between the Controller and Computer That Runs the Sysmac Studio Direct Connection via Ethernet 1 1 Connection with AutoIP Ethernet Connec...

Page 95: ...t IP address an IP Address Setting Error is recorded in the event log Precautions for Correct Use Precautions for Correct Use If the IP address is duplicated or not set correctly communications are not possible via the EtherNet IP network The IP address range shown below is used by the system and cannot be specified 169 254 0 0 to 169 254 255 255 192 168 255 0 to 192 168 255 255 Due to Ethernet re...

Page 96: ...tus Pane of the Sysmac Studio either when it is set manually or obtained from the BOOTP server Additional Information If you obtain the IP address from the BOOTP server 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 following reasons the IP address fi...

Page 97: ...address These are IP addresses that connect directly to the Internet Allocated by application to NIC each address is unique in the world and as many as 4 3 billion can be allocated world wide Private address These are IP addresses for Intranet LAN use Direct con nection to the Internet is not possible Frames that include private IP addresses are restricted by the router from being sent outside the...

Page 98: ...cautions for Correct Use Network Security and Firewalls To set up an intranet through a global address involves network security considerations Be sure to consult with a network specialist in advance and consider installation of a firewall After a fire wall has been set up by a communications company technician there may be some applications that cannot be used Be sure to check first with the comm...

Page 99: ...and Firewalls To set a global IP address for a built in EtherNet IP port involves network security consider ations It is recommended that the user contract with a communications company for a dedicated line rather than for a general line such as a broadband line Also be sure to consult with a net work specialist and consider security measures such as a firewall After a firewall has been set up by ...

Page 100: ...4 Determining IP Addresses 4 14 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 101: ...Net IP Port User s Manual W563 5 5 1 TCP IP Settings Display 5 2 5 2 Link Settings Display 5 6 5 3 FTP Display 5 7 5 4 SNMP Settings Display 5 8 5 5 SNMP Trap Settings Display 5 10 5 6 CIP Settings Display 5 12 Sysmac Studio Settings for the Built in EtherNet IP Port ...

Page 102: ... cannot set IP addresses that make the built in EtherNet IP port and the internal port belong to the same network Setting Description Default IP address setting method Select one of the following IP address setting methods for the built in EtherNet IP port Fixed setting Obtain from BOOTP server Fix at the IP address obtained from BOOTP server Fixed setting IP address 2 Set the IP address for the b...

Page 103: ...to six host names You can use up to 200 single byte alpha numeric characters dots and hyphens with up to 63 single byte alphanumeric characters between dots None IP Address Set the IP addresses of the registered hosts None Setting Description Default Keep Alive Set whether to use the remote node keep alive function of connected servers and clients such as socket services FTP server Sysmac Studio a...

Page 104: ... in an NY series Industrial PC and an IP router you need to set the default gateway and other settings for IP routing in Win dows in addition to the IP router table of the Controller Setting Description Default Default gateway Set the IP address of the default gateway for the built in EtherNet IP port This setting is not required when the default gateway is not used 1 None Parameter Description De...

Page 105: ...ting Description Default Packet Filter Specify whether to set conditions for the IP packets received by the internal port Use 1 Pass Frame Specify the conditions for the IP packets permitted to be received by the internal port by setting the items shown below You can set a maximum of 32 conditions for the IP packets permitted to be received This setting is valid only if you set Packet Filter to Us...

Page 106: ...IP Port User s Manual W563 5 2 Link Settings Display LINK settings EtherNet IP Port Set for each built in EtherNet IP port Setting Description Default LINK settings Set the baud rate for the built in EtherNet IP port Auto 10 Mbps Half Duplex 10 Mbps Full Duplex 100 Mbps Half Duplex 100 Mbps Full Duplex 1000 Mbps Full Duplex Auto ...

Page 107: ...erver Setting Description Default FTP server Specify whether to use the FTP server FTP connections from external devices will not be possible if the Do not use Option is selected Do not use Port No 1 3 Set the FTP port number of the built in EtherNet IP port It is normally not necessary to change this setting The FTP control port is set here The FTP data transfer port is always port 20 21 Login na...

Page 108: ...r cannot connect from an external device Do not use Port No 2 Set the port number to use to connect to the SMTP server that is used to connect from an SNMP man ager This setting does not normally need to be changed 161 Address Set the communications device administrator name and installation location as text information You do not necessarily have to input all items This information is read by the...

Page 109: ... enable the SNMP manager to access information from the built in EtherNet IP port Single byte alphanumeric characters dots and hyphens 255 charac ters max public Setting Description Default 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 access is permitted IP address Host name Mak...

Page 110: ...lowing ports are used by the system and cannot be set by the user 25 53 68 110 2222 2223 2224 9600 and 44818 Additional Information Refer to 12 1 1 Overview for details on the SNMP trap Setting Description Default SNMP trap Specify whether to use the SNMP trap network error detec tion 1 If the SNMP trap service is not used SNMP traps are not sent to the SNMP manager Do not use Port No 2 Set the po...

Page 111: ...me You can use up to 255 single byte alphanumeric characters public Version Set the version of the SNMP manager SNMP version 1 SNMPv1 SNMP version 2C SNMPv2C SNMPv1 Setting Description Default Trap 2 Specify whether to use the trap 2 settings Use Do not use Do not use Specifying method Set the specifying method for the SNMP manager destination for SNMP traps IP address Host name IP address IP addr...

Page 112: ...uilt in EtherNet IP Port User s Manual W563 5 6 CIP Settings Display CIP Settings Setting Description Default CIP routing Specify whether to route the CIP messages received by the built in EtherNet IP port or internal port to other ports If you select Do not use CIP messages that you receive will be dis carded Use ...

Page 113: ...rial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 6 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 3 Testing Communications ...

Page 114: ...ications are normal The PING command uses the ICMP echo request and responses The echo response packet is automatically returned in the ICMP The PING command is normally used to check the connections of remote nodes when you set up a net work The built in EtherNet IP port supports both the ICMP echo request and response functions If the remote node returns a normal response to the PING command the...

Page 115: ...e at IP address 130 25 36 8 The in the exam ple represents the host computer prompt Normal Execution Error Refer to the command reference manual for your computer s OS for details on using the PING com mand 6 1 3 Host Computer Operation Application Method Application Example ping 130 25 36 8 PING 130 25 36 8 56 data bytes 64 bytes from 130 25 36 8 icmp_seq 0 time 0 ms 64 bytes from 130 25 36 8 icm...

Page 116: ...6 Testing Communications 6 4 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 117: ... 32 7 2 6 Creating Connections Using the Wizard 7 42 7 2 7 Creating Connections by Device Dragging and Dropping 7 45 7 2 8 Connecting the Network Configurator to the Network 7 48 7 2 9 Downloading Tag Data Link Parameters 7 53 7 2 10 Uploading Tag Data Link Parameters 7 56 7 2 11 Verifying the Tag Data Links 7 59 7 2 12 Starting and Stopping Tag Data Links 7 63 7 2 13 Clearing the Device Parameter...

Page 118: ...roller and an I O device the connection information is set in the built in EtherNet IP port that is the originator If an I O device is used the Network Configura tor must have an EDS file installed that includes connection information for the I O device Refer to A 3 EDS File Management for the installation procedure The output words and input words for each node for which data is exchanged are set...

Page 119: ...ag Data Link Data for details When a connection is established from 1 to 8 tags including Controller status is configured as a tag set Each tag set represents the data that is linked for a tag data link connection Tag data links are therefore created through a connection between one tag set and another tag set A tag set name must be set for each tag set Note A connection is used to exchange data a...

Page 120: ...sets There are both input consume and output produce tag sets Each tag set can contain only input tags or only output tags The same input tag cannot be included in more than one input tag set EtherNet IP IP address N Tag Set Outputs Tag set name SP1_OUT Connection Controller status Controller status Tag i Tag ii Tag g Tag c Tag b Tag a Tag set name SP1_IN Tag Set Inputs Packet interval RPI Target ...

Page 121: ...wn below tags can be grouped You can place up to eight tags up to 722 words in total in one tag set Note To enable a connection each tag set must include only input tags or only output tags Both input and output tags cannot be included in the same tag set EtherNet IP Individual tags I O memory CJ series CPU Unit Variable c Tag set SP1_OUT tag c Connection Connection Tag set SP1_IN tag a Tag set SP...

Page 122: ...twork You can export the network variables that you created on the Sysmac Studio to a CSV file You can then import the file to the Network Configurator and assign the network variables to tags After the parameters are downloaded the EtherNet IP ports are restarted to start the tag data links Tags Supported variable types You can specify the following network variables as tags 1 2 Global variables ...

Page 123: ...work variables Precautions for Correct Use Precautions for Correct Use You cannot use the following notation which specifies an I O memory address in the variable name of any variable used in a tag data link 1 Variable names that contain only single byte numerals Example 001 2 Variable names with the following single byte letters uppercase or lowercase followed by single byte numerals H Example H3...

Page 124: ...utput tag set in one packet to multiple nodes and make allocations to the input tag sets A unicast connection separately sends one output tag set to each node and so it sends the same number of packets as the number of input tag sets Therefore multi cast connections can decrease the communications load if one output tag set is sent to multiple nodes To use a multi cast connection and send an out p...

Page 125: ...ing status of the Controller operating information error information Controller error level If the Controller status is specified as an output send tag the Controller status is added to the start of the tag set in the following format Select the Include Option for the Controller Status in the upper right of the Edit Tag Set Dialog Box Of the flags in bits 5 to 7 that indicate the current error lev...

Page 126: ...t ID with the Network Configurator so that the same address is not used twice For information on how to change the target node ID refer to step 4 under 7 2 5 Connection Settings _EIP_TargetPLCModeSta Target PLC Operating Mode Value of last byte 2 0 1 2 255 254 IP address 192 168 250 2 Controller status Target ID 002 EtherNet IP NY series Controller I O memory Controller status CJ series CPU Unit I...

Page 127: ...escription of operation Controller Operating Flag Target PLC Operating Mode EIP_TargetPLCModeSta This flag shows the operation information of the Controller at the target node When the Built in EtherNet IP Port Is the Originator of the Con nection The array element that corresponds to the target ID at the target is TRUE when all information for all connections of the relevant target node is shows ...

Page 128: ...bles with a Net work Publish attribute must satisfy the following four conditions 1 The tags must be assigned to the same tag set connection 2 A refreshing task must be set for the network variables assigned to the tags and the refreshing task must be the same for all tags in the tag set 3 The variable access time set for each task must be set to a higher value than is required to transfer the tag...

Page 129: ...ask is described below 1 Tag network variable with a refreshing task In this example the primary periodic task is set as the refreshing task Values are written to the network variables tags in the next primary periodic task after the tag data link service Connection Tag data links updated NY series Controller NJ NX series Controller Refreshing task Refreshing task EtherNet IP 100 10 10 Value of va...

Page 130: ...ain the concurrency of data in tag data links you must specify the same refreshing task on both the output Controller and the input Controller Primary period Task period Tag data is read from the tag set The values are written to the network variables tags in a system service Task period Interrupted High Low MC IOUPG MC IOUPG MC IOUPG MC IOUPG MC IOUPG UPG UPG UPG Execution priority Priority 16 pe...

Page 131: ... data may not occur during the packet interval RPI period set for each connection Therefore you need to adjust the packet interval RPI settings to match the period of the task specified as the refreshing task Refer to 13 3 3 Relationship between Task Periods and Packet Intervals RPIs for details Task Setup Procedure 1 Set the global variables for which to specify a refreshing task and set the refr...

Page 132: ... EtherNet IP Connections for details on setting the tag data links in the Sysmac Studio Tag data links are set from the Network Configurator 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 Configurator from the Windows Start Menu When the Network Confi...

Page 133: ...m To manage two or more networks you can select Network Add to add a new Network Configuration Pane You can add a new Network Configuration Pane To change the name displayed in the Network Tab Page select Network Property You can change the name set in the Comment Field of the Network Property Dialog Box Main Window Network Configuration Pane This is used to configure the network by placing device...

Page 134: ...e connections with one of the following methods 1 Basic Operation 1 Create tags and tag sets for all registered devices built in Eth erNet IP ports Refer to 7 2 4 Creating Tags and Tag Sets 2 Create a connection for the originator device i e the registered device that receives data as input data Refer to 7 2 5 Connection Settings 2 Create the connections by dragging registered devices Refer to 7 2...

Page 135: ...tton over the icon move the icon to the destina tion and release the mouse button You can also select a device in the Hardware List and press the Enter Key to register it The icon of the device is displayed in the Network Configuration Pane as shown in the following dia gram The device names and major CIP revisions Rev are displayed in the hardware list For NY series Controller device names and ma...

Page 136: ...e name is different an error message Specified device can not be accessed or wrong device type will be displayed and the download will fail If a revision is different Wrong unit revision will be displayed and the download will fail The above also applies when uploading or comparing tag data link parameters In any of the above cases refer to 7 2 17 Changing Devices and change the device 2 Right cli...

Page 137: ...Network Publish attribute from the Sysmac Studio to the Network Config urator 2 below Then it explains how to effectively use network variables for tags 1 Creating Tags and Tag Sets with the Network Configurator s Device Parameter Edit ing Function 2 Importing Variables with a Network Publish Attribute Created in the Sysmac Studio to the Network Configurator Creating a Tag Set 1 Double click the i...

Page 138: ... Manual W563 2 Click the Tag Sets Tab at the top of the Edit Device Parameters Dialog Box There are two kinds of tag sets input consume and output produce Creating and Adding Tags 3 Click the Edit Tags Button The Edit Tags Dialog Box is displayed Register the input consume tags and output produce tags separately ...

Page 139: ... Correct Use Precautions for Correct Use You cannot use the following notation which specifies an I O memory address in the variable name of any variable used in a tag data link 1 Variable names that contain only single byte numerals Example 001 2 Variable names with the following single byte letters uppercase or lowercase followed by single byte numerals H Example H30 W Example w30 D Example D100...

Page 140: ...ajor fault occurs Clear output at major fault Clear Output data is cleared to 0 when a major fault occurs Precautions for Correct Use Precautions for Correct Use Connections are cut off if any of the following errors occurs in the CPU Unit that is the originator while tag data links are active Major fault level Controller error Partial fault level Controller error 9 After you register all of the r...

Page 141: ...fications in I O memory and tag variables that do not have AT specifications in the same tag set 10 At this point a confirmation dialog box is displayed to check whether the registered tag names are used as the tag set names A tag set can contain up to eight tags but tag sets are registered with one tag per tag set if the tag names are registered as tag set names In this case click the Yes Button ...

Page 142: ...it was originally registered Open the Edit Device Parameters Dialog Box select the tag set containing the tag that you want to delete on the Tag Sets Tab Page and click the Delete Button in the Edit Tags Dialog Box If there are other tags registered in that tag set it is possible to delete just one tag by selecting the tag that you want to delete in the Edit Tag Set Dialog Box and clicking the But...

Page 143: ... already registered and the Candidate Tag List on the right side of the dialog box shows the other tags that are not reg istered yet To add a tag select it in the Candidate Tag List and click the Button 14 To include the Controller status in the tag set select the Include Option at the upper right corner of the dialog box 15 To confirm a change click the OK Button in the Edit Tag Set Dialog Box 16...

Page 144: ...t and click the Edit Button The Tag List on the left side of the dialog box shows the tags that are already registered and the Candidate Tag List on the right side of the dialog box shows the other tags that are not reg istered yet 21 Select the 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 st...

Page 145: ...or the import procedure described below Importing to the Network Configurator Importing to the Network Configurator Precautions for Correct Use Precautions 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 1 Variable names that contain only single byte numeral...

Page 146: ...ile from the To From File Button A confirmation dialog box is displayed that asks you how you want to import the variables as shown below To import all variables with a Network Publish attribute click the Yes Button To import only some of these variables click the No Button After you import the variables to the tags click the Yes Button to automatically create tag sets or click the No Button to se...

Page 147: ...tag set you must delete the input tags that were registered Select the tag set containing the vari ables you want to put into a tag set then click the Delete Button A confirmation dialog box is displayed to confirm that you want to delete the selected tag set and the tags contained in that tag set You only want to delete the tag set so click the No Button Click the New Button to create a new tag s...

Page 148: ...ection name optional Make the connections settings in the originator only The connections settings are not necessary in the target device Precautions for Correct Use Precautions for Correct Use Make the connections settings after you create tag sets for all of the devices involved in tag data links Registering Devices in the Register Device List 1 Double click the icon of the device for which to m...

Page 149: ... devices 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 Controller Error Information Target Node Error Information Registered Target Node Information and Normal Target Node Informa tion By default the target ID is automatically set to the rightmost 8...

Page 150: ...tely Note Refer to the following section for information on how to perform batch editing in a table format 1 Click the Connections Tab and then click the New Button The following Edit Connection Dia log Box is displayed according to the type of device that is selected Using Built in EtherNet IP Ports as Targets for Input Only Using Other EtherNet IP Devices as Targets for Settings Other Than Input...

Page 151: ...tting Connection Type Select whether the data is sent in multi cast or unicast point to point format The default setting is multi cast Multi cast connection Select when the same data is shared by multiple nodes This setting is usually used Point to Point connection Select when the same data is not shared by multiple nodes In a unicast transmission other nodes are not burdened with an unnecessary l...

Page 152: ...tput produce tag set Out Select the target s input consume tag set Originator Variable Select the originator node s tag set to assign it In Select the originator s input consume tag set Out Select the originator s output produce tag set Connection Type Select whether the data is sent in multi cast or unicast point to point form The default setting is multi cast Multi cast connection Select when th...

Page 153: ...onnections are set Precautions for Correct Use Precautions for Correct Use After you have made all of the settings always click the OK Button before you close the Edit Device Parameters Dialog Box If the Cancel Button is clicked and the dialog box is closed the new settings are discarded 4 If the tag set s size is changed in either the originator or target after the connection was set the size wil...

Page 154: ...re set as forward ellipses 1 Set the same tag set names for the output and input tag sets for the connection The tag set names can also include forward and backward ellipses Automatically Setting Connections Network Auto Connection Output tag set names for connec tion setting Except for specified ellipses the output tag set name must be the same as the input tag set name Ellipses can be set for th...

Page 155: ...onnections will be set automatically A dialog box will appear to set forward and backward ellipses for both output and input tag sets as soon as automatic connection setting processing has begun Input the ellipses and click the OK Button Processing for automatic setting is started 3 If there are tag sets that meet the conditions for automatic connection setting they are dis played Click the OK But...

Page 156: ...rial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 4 A device connection structure tree is displayed when processing is completed 5 Use the device connection structure tree as required to change the RPI and timeout settings ...

Page 157: ...nection Structure Tree from the Network Menu You can use the Display the detail of Connection Check Box to switch between device level and con nection level displays of tag data link communications An asterisk is displayed after the device name of the originator set for the connection The Edit Device Parameters Dialog Box is displayed if you select a connection and click the Edit But ton You can e...

Page 158: ...t the registered device for which you want to create a connection in the Network Con figuration Window of the Network Configurator and then select Device Parameters Wizard from the menus The following dialog box will be displayed before the Wizard starts Click the Yes Button to delete the connections that have been set with OMRON PLCs before starting the Wizard 7 2 6 Creating Connections Using the...

Page 159: ...l appear when you click the Show Detail Button The specified values for detailed parameters will be displayed Change the values as required The connection name cannot be set They are automatically created using the following rule default_N where N is a 3 digit number 001 002 etc starting from 1 Icon Display position Status All All output tag sets for all devices are selected Device All output tag ...

Page 160: ...onnections that are already set To prevent duplicate settings input tag sets that have been used are not displayed in the list box for input tag sets If there is no applicable input tag set you can edit a tag set or create a new one by using the Edit Tag Sets Button and Edit Tag Button 6 Once the input tag set settings have been completed click the Finish Button You can check the set connection by...

Page 161: ...ta links by dragging and dropping devices 1 Set the tags and tag sets for the target device that will be dragged 1 Refer to 7 2 4 Creating Tags and Tag Sets for information on creating the settings if the target is one of the OMRON EtherNet IP devices given above 2 If the target is another EtherNet IP device refer to the manual of that device and per form settings as required 7 2 7 Creating Connec...

Page 162: ...the originator you can create a new one by using the Edit Tag Sets Button and Edit Tag Button 2 Using Other EtherNet IP Devices as Target The connection I O type list box in the upper part of the Connection Settings Dialog Box dis plays the connection I O types that can be selected Select the connection I O type accord ing to your application The connection I O types that can be selected depend on...

Page 163: ...wing rule default_N where N is a 3 digit number 001 002 etc starting from 1 Additional Information The following dialog box will be displayed if a target device that does not have I O data is dropped Before dropping again refer to the manual of the applicable device and create the I O data i e output tag sets required to create a connection 3 After you have set all of the connection click the Regi...

Page 164: ...s XP SP2 or higher Windows Vista or Windows 7 you much change the Windows firewall settings For the procedure refer to A 4 Pre cautions for Using the Network Configurator on Windows XP Windows Vista or Windows 7 or Higher 1 Select Option Select Interface Ethernet I F 2 Select Network Connect If there are multiple Ethernet interfaces on the computer the Select Connect Network Port Dialog Box is dis...

Page 165: ...tton Select the network to connect The Network Configurator will connect to the EtherNet IP network If the Network Configurator goes online normally Online is displayed in the status bar at the bottom of the window The network connection icon is displayed in blue on the Network Tab Page in which the Network Configurator is connected Select Network Change Connect Network to switch the connected net...

Page 166: ...u go online with an NY series Controller refer to the following table for possible causes and corrections Assumed cause Correction The cable is not connected correctly Check if the cable is disconnected or loose Connection with the Controller is blocked due to the firewall settings If connection with the Controller is blocked due to the firewall settings disable the blocking For the firewall setti...

Page 167: ...een set on the computer 1 Select the communications interface Select Option Select Interface NJ NX NY Series Ethernet Direct I F 2 Select Network Connect and click the OK Button The Setup Interface Dialog Box is displayed if there are several Controllers that you can con nect to 3 Select the Interface Card to connect and click the OK Button Select from the options displayed as Controller model IP ...

Page 168: ...wing dialog box appears in the Network Configurator when you go online with an NY series Controller refer to the following table for possible causes and corrections Assumed cause Correction The cable is not connected correctly Check if the cable is disconnected or loose Connection with the Controller is blocked due to the firewall settings If connection with the Controller is blocked due to the fi...

Page 169: ...meters check to confirm that the network variables are set in the Controller Check whether the network vari able tag and connection settings are correct On the Connection and Tag Status Tab Pages described in 14 1 1 Starting the Device Monitoring If a communications error occurs the output status depends on the specifications of the device being used When a communications error occurs for a device...

Page 170: ...ect Network Download The following dialog box is displayed Downloading Individually to Particular Devices Select the icon of the EtherNet IP Unit to which you want to download To select multiple nodes hold down the Shift Key or the Ctrl Key while you click the icons In the following example 2 nodes are selected 192 168 250 1 and 192 168 250 2 Right click the icon to display the pop up menu and sel...

Page 171: ...the Controllers to PROGRAM mode You can restore the operating modes after the parameters are downloaded You can click the Download with Current mode Button to download the parameters even when one or more Controllers is in RUN mode The Download with Current mode Button is disabled if the EtherNet IP Unit does not support this function e g revision 1 of CJ1W EIP21 or CS1W EIP21 During the download ...

Page 172: ...ters may not be uploaded To determine whether uploading is possi ble refer to 7 2 3 Registering Devices There are two ways to upload the parameters Uploading from All Devices in the Network 1 Connect the Network Configurator online and then select Upload from the Network Menu 2 The following dialog box is displayed Clicking the Yes Button The tag data link parameters in the current project are upl...

Page 173: ...meters are uploaded from all devices on the network The current Network Configuration Information will be lost The following dialog box will be displayed Select the devices for which to upload parameters and click the OK Button Clicking the Cancel Button The upload operation is cancelled The upload is not performed 4 If you click the No Button in step 2 the following dialog box is displayed Select...

Page 174: ...elect multiple nodes press and hold the Shift Key or the Ctrl Key while you select additional icons In the following example 2 nodes are selected 192 168 250 1 and 192 168 250 2 Right click the icon to display the pop up menu and select Parameter Upload 2 The following dialog box is displayed Click the Yes Button or the No Button 3 During the upload the following progress monitor is displayed to s...

Page 175: ...r is the same as the major CIP revision of the Controller that you use If the major CIP revisions are not the same the parameters may not be compared To determine whether comparison is possi ble refer to 7 2 3 Registering Devices You can use the following procedure to compare the list of registered devices in the Network Configura tion Pane with the devices connected on the EtherNet IP network and...

Page 176: ... Configuration Pane with those of the devices connected on the EtherNet IP network The IP addresses device types and device parameters are compared 1 Connect the Network Configurator online 2 Click the icon of the built in EtherNet IP port to verify To select multiple nodes press and hold the Shift Key or the Ctrl Key while you select additional icons In the following example 2 nodes are selected ...

Page 177: ...etting Tag Data Links 7 7 2 11 Verifying the Tag Data Links 3 The following dialog box is displayed Click the Yes Button or the No Button 4 The following dialog box is displayed Differences Not Found in the Comparison Differences Found in the Comparison Differences Found in the Device Type Click the OK Button or the Close Button ...

Page 178: ...al Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 5 If multiple nodes have been selected and compared the following message is displayed Click the Yes Button The comparison results are displayed in order of the selected nodes ...

Page 179: ...ons Stop Switch system defined variable stop tag data links you cannot start them from the Network Configurator Using Commands in the User Program You can change the corresponding elements in the following system defined variables to TRUE in the user program to start and stop tag data links for individual devices Refer to Section 3 System defined Variables Related to the Built in EtherNet IP Port ...

Page 180: ...hich the device is the originator Stop Connection Button Stops all connections for which the device is the originator You can clear the tag data link settings or return them to their factory settings that are saved in the registered EtherNet IP device The following procedure shows how to clear the tag data link settings For details on how to connect to the network from the Network Configurator ref...

Page 181: ... 4 The following dialog box is displayed Yes Button The following dialog box is displayed Select the Initialize tag data link configuration and then emulate cycling power Option and then click the OK Button Precautions for Correct Use Precautions for Correct Use The Controller is not restarted Both the built in EtherNet IP port and internal port are reset No Button The tag data link settings will ...

Page 182: ... Parameters on the main window Then the dialog box for the general parameter settings are displayed 3 Specify the target device and message to send Target Node Address Enter the IP address of the target device Service Select Reset Class Enter 01 Instance Enter 01 Attribute Enter 00 Data Enter 02 4 Click the Send Button You can save device parameters set in the Network Configurator or device parame...

Page 183: ... Save Button This completes the network configuration file save operation 3 When the network configuration is changed later you can overwrite the existing network config uration file if you select File Save or click the Button 4 You can select the Select target network Check Box in the Option Area to save a network con figuration file with only the required networks Select the check boxes of the n...

Page 184: ...urator 1 Select File Open or click the Button The following dialog box is displayed If the network configuration file that you want to read is not displayed change to another folder 2 If you select the network configuration file that you want to read that file name is displayed in the File name Field 3 Click the Open Button to read the network configuration file 7 2 15 Reading a Network Configurat...

Page 185: ...for EtherNet IP version 2 or lower if you select External Data Import from the File Menu You can check the consistency of connection parameters for network configuration files with device parameters that were set with the Network Configurator or device parameters uploaded from the net work 1 Select Check Connection from the Network Menu The following dialog box is displayed if parameters are norma...

Page 186: ...layed details and review the settings If an inconsistency is found open the originator s Edit Device Parameter Dialog Box and click the Connection Tab The inconsistent connection in the Register Device List is displayed with a icon instead of the normal icon To change the connection setting and select a different target variable select the connection as shown below and click the Edit Button icon n...

Page 187: ...patibil ity with the device Yes Can be changed No Cannot be changed Cannot be changed in any of the following cases The number of I O connections number of tags number of tag sets or size of one tag set exceeds the per missible settings for the device after the change RPI exceeds the permissible settings or is set in 0 5 ms increments such as 10 5 ms 7 2 17 Changing Devices Device Changes Model af...

Page 188: ... Mode from the View Menu 7 2 18 Displaying Device Status Icon Status white Offline gray Default including no Controller Configurations and Setup green Idle including when CPU Unit of Controller is in PROGRAM mode blue Normal communications state including when Controller is in RUN mode yellow Warning status including when there is a partial fault or non fatal error red Alarm status including when ...

Page 189: ...The bit corresponding to the target node address in the Normal Target Node Informa tion variable _EIP_EstbTargetSta is TRUE Condition for the Controller operating mode operating or stopped of the target node valid for OMRON Controllers only 4 The bit corresponding to the target node address in the Target PLC Operating Mode _EIP_TargetPLCModeSta is TRUE Condition for the Controller error status fat...

Page 190: ...nal port _EIPIn1_EtnOnlineSta Online _EIP_EtnOnlineSta 1 Normal Target Node Information 1 _EIP_EstbTargetSta 1 Normal Target Node Information 2 _EIP_EstbTargetSta 2 Target PLC Operating Mode 2 _EIP_TargetPLCModeSta 2 Target PLC Operating Mode 1 _EIP_TargetPLCModeSta 1 Target PLC Error Information 1 _EIP_TargetPLCErr 1 Target PLC Error Information 2 _EIP_TargetPLCErr 2 Node 1 data link operation no...

Page 191: ... IP port _EIP1_EtnOnlineSta Internal port _EIPIn1_EtnOnlineSta Data Processing Programming Example The following type of programming can be used to process data only when the data links are operating normally Online _EIP_EtnOnlineSta 1 Normal Target Node Information 2 _EIP_EstbTargetSta 2 Node 2 error output Normal Target Node Information 2 _EIP_EstbTargetSta 2 Normal Target Node Information 1 _EI...

Page 192: ...ons with a target device the input data from the target device will remain stored in words allocated in memory to the local node To prevent malfunc tions write the user program so that no input processing is performed when the following Built in EtherNet IP Error _EIP_ErrSta bits are TRUE Major fault Bit 7 Partial fault Bit 6 Minor fault Bit 5 Node B data link normal operation flag Node C data lin...

Page 193: ...s FALSE Other than the above _EIP_TargetNodeErr 255 Target Node Error Information Corresponds to the Controller Error Flag in the Controller status This variable indicates that the connection for the Registered Target Node Information was not established or that an error occurred in the target Controller The information in this area is valid only when the Registered Target Node Information is TRUE...

Page 194: ...ks with Other Models The performance of tag data links depends on the Controller and EtherNet IP Unit model as shown below When you use tag data links between the built in EtherNet IP port on the NY series Controller and another Controller or EtherNet IP Unit use tag data link settings of the Unit with the lower commu nications performance ...

Page 195: ...er status 300 words 299 words when the tag set includes the Controller status 20 words 19 words when the tag set includes the Controller status 640 words 639 words when the tag set includes the Control ler status 722 words 721 words when the tag set includes the Control ler status Number of tags per tag set 8 7 tags when the tag set includes the Controller status Note Input and output variables ca...

Page 196: ...ory addresses or net work variables The supported tag specification methods for each Controller are listed in the table below Yes Supported No Not supported To specify an I O memory address for a tag do not specify the I O memory address for the tag directly Instead create a variable set an AT specification of the I O memory address on the Sysmac Studio and then specify the variable with the AT sp...

Page 197: ...8 10 8 2 6 Service Data and Response Data 8 14 8 2 7 Sample Programming for CIP Connectionless UCMM Message Communications 8 15 8 2 8 Sample Programming for CIP Connection Class 3 Message Communications 8 20 8 2 9 Operation Timing 8 27 8 2 10 Response Codes 8 28 8 3 CIP Communication Server Functions 8 32 8 3 1 CIP Message Structure for Accessing CIP Objects 8 33 8 3 2 CIP Message Structure for Ac...

Page 198: ...ct Class ID 01 Hex 8 40 8 5 3 TCP IP Interface Object Class ID F5 hex 8 44 8 5 4 Ethernet Link Object Class ID F6 Hex 8 47 8 5 5 Controller Object Class ID C4 Hex 8 52 8 6 Read and Write Services for Variables 8 53 8 6 1 Read Services for Variables 8 53 8 6 2 Write Service for Variables 8 55 8 7 Variable Data Types 8 57 8 7 1 Data Type Codes 8 57 8 7 2 Common Format 8 58 8 7 3 Elementary Data Type...

Page 199: ...view of the CIP Message Communications Service 8 1 2 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 CIPSend Send Explicit Message Class 3 instruction or CIPUC MMSend Send Explicit Message UCMM instruction Data contents Sending required CIP command...

Page 200: ... CIP Communication Server functions The NY series Controller executes CIP communications instructions in the user program and send CIP messages In this way you can use CIP messages to execute instructions such as reading and writing variables data of the NJ NX series Controller on the EtherNet IP network 8 2 1 Overview EtherNet IP Specify the CIP communications parameters such as the route path as...

Page 201: ...ion on the service codes and response codes that are used with the NY series Controllers CIPOpen Open CIP Class 3 Connection Large_For ward_Open Opens a CIP class 3 connection Large_Forward_Open with the specified remote node CIP class 3 con nection mes sage CIPOpenWithD ataSize Open CIP Class 3 Connection with Specified Data Size Opens a CIP class 3 connection with the specified remote node that ...

Page 202: ...nec tions 1 Execute this process before you use a CIP message Open pro cessing is continued until a CIP class 3 connection is established CIPOpen CIPOpenWithDataSize Sending and receiving vari able data 2 This process is used to read and write data for specified variables with the Network Publish attributes CIPUCMMRead CIPUCMMWrite CIPRead CIPWrite Sending CIP commands You can set the required CIP...

Page 203: ...nd to the built in EtherNet IP port Specify the IP address as the address of the remote node 2 When Routing the Output from the Controller to Windows in an Industrial PC Output the command to the internal port Specify the IP address as the address of the remote node Additional Information Unit Addresses A unit address is used to discriminate between several devices connected to a single node on a ...

Page 204: ... Example Communicating from the built in EtherNet IP port on Controller 1 to Controller 2 via the EtherNet IP Unit mounted to Controller 2 1 Controller 1 to EtherNet IP Unit 2 Network type number 02 Output the command via EtherNet IP port Remote address Specify the remote IP address 2 EtherNet IP Unit 2 to Controller 2 Network type number 01 Output the command via internal backplane port Remote ad...

Page 205: ...rt Remote address Specify the remote IP address 4 EtherNet IP Unit 3 to Controller 3 Network type number 01 Output the command via internal backplane port Remote address 00 unit address of Controller When Routing the Output from the Controller to Windows in an Industrial PC Network type number 03 Output the command via internal port Destination address Specify the destination IP address Route path...

Page 206: ...services These are called Internal Object Identifiers IOI because they identify the Class ID Instance ID and Attribute ID within the device Refer to 8 5 CIP Object Services for the class ID instance ID attribute ID and service code for each object 8 2 5 Request Path IOI Overview of Request Path Term Definition Object An abstract representation of a particular component within a device Class A set ...

Page 207: ...structure the size is always set to 16 bits When a Standard Structure Variable Is Used Example Using a standard structure variable to input values into RqPath Request Path for the CIPSend instruction 1 Create a standard structure variable To use a standard structure variable to input values into RqPath Request Path for a CIP com munications instruction first you need to create a standard structure...

Page 208: ...rst you need to create an extension structure user defined vari able When you create a variable in a variable table select the pre registered extension structure _sREQUEST_PATH_EX for a CIP communications instruction Member name of RqPath data type Variable name MOVE EN IN1 2 3 TRUE A isAttributeID A ClasslD A InstancelD OUT1 MOVE EN IN1 OUT1 MOVE EN IN1 OUT1 1 A AttributelD MOVE EN IN1 OUT1 Insta...

Page 209: ...arameters that were registered as mem bers of the extension structure variable Select an extension structure for the data type of variable A Variable table Data type _sREQUEST_PATH_EX A Name Member name of RqPath data type Variable name MOVE EN IN1 _8BIT 3 A InstanceIDLogicalFormat A ClassIDLogicalFormat A ClasslD OUT1 MOVE EN IN1 OUT1 MOVE EN IN1 OUT1 256 A InstancelD MOVE EN IN1 OUT1 TRUE A isAt...

Page 210: ...ables 8 2 6 Service Data and Response Data Preparing Array Variables to Input and Output Service Data and Response Data 1 Input the service data to send The data to send is stored in array variable A If only certain elements are spec ified in array variable A specify the number of elements in variable B 2 The data that is received is stored in vari able C The byte size of the data that was actuall...

Page 211: ...ed as a global variable at the remote node and the Network Publish attribute must be set 2 The CIPUCMMRead instruction is used to read the value of a variable at a remote node The value of the variable OriginalDat at the other node is read and 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 ...

Page 212: ...e CIPUCMMRead CIPUCMMSend_instance CIPUCMMSend Built in EtherNet IP port Built in EtherNet IP port IP address 192 168 250 2 Message sent to read identity information product name Response RespDat Value of variable read ReadDat Variable name OriginalDat Global variable Network Publish attribute Value of variable written WriteDat Variable name WritingDat Global variable Network Publish attribute CIP...

Page 213: ...e Done RoutePath Busy TimeOut Error ServiceCode ErrorID RqPath ErrorIDEx ServiceDat RespSize Size RespServiceDat 02 192 168 250 2 UINT 20 WritingDat UINT 1 WriteDat CIPUCMMWrite 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 Execute Done RoutePath Busy ...

Page 214: ...viceDat RespDat Dummy END_IF IF DoUCMMTrigger TRUE THEN CASE Stage OF 1 Request writing value of variable CIPUCMMWrite_instance Execute TRUE RoutePath 02 192 168 250 2 Route path TimeOut UINT 20 Timeout value DstDat WritingDat Source variable name Size UINT 1 Number of elements to write SrcDat WriteDat Write data Internal Variables Variable Data type Initial value Comment Trigger BOOL False Execut...

Page 215: ...ReadDat Read data IF CIPUCMMRead_instance Done TRUE THEN Stage INT 3 Normal end ELSIF CIPUCMMRead_instance Error TRUE THEN Stage INT 40 Error end END_IF 3 Send message ReqPath ClassID UINT 01 ReqPath InstanceID UINT 01 ReqPath isAttributeID TRUE ReqPath AttributeID UINT 07 CIPUCMMSend_instance Execute TRUE RoutePath 02 192 168 250 2 Route path TimeOut UINT 20 Timeout time ServiceCode BYTE 16 0E Se...

Page 216: ...he variable OriginalDat at the other node is read and 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 4 The CIPSend instruction is used to send an explicit message to a remote node The contents of the message is to read identity information product name The class ID instance ID attrib...

Page 217: ...False AttributeID 0 Request path RespDat ARRAY 0 10 OF BYTE 11 16 0 Response data Dummy BYTE 16 0 Dummy RS_instance RS CIPOpen_instance CIPOpen CIPWrite_instance CIPWrite CIPRead_instance CIPRead CIPSend_instance CIPSend CIPClose_instance CIPClose CIPOpen_instance Error CIPWrite_ instance Busy Determine if instruction execution is completed Accept trigger OperatingEnd CIPOpen_instance Done CIPRead...

Page 218: ...Ex ServiceDat RespSize Size RespSize RespServiceDat RespDat RespDat 02 192 168 250 2 UINT 20 CIPOpen CIPOpen_instance 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 SrcDat ErrorIDEx CIPOpen_instance Done CIPOpen_instance Handle OriginalDat UINT 1 CIPR...

Page 219: ...n 8 8 2 8 Sample Programming for CIP Connection Class 3 Message Communications Operating CIPClose_instance Done Processing after normal end 1 Processing after normal end Inline ST 2 Operating Processing after error end CIPOpen_instance Error CIPRead_instance Error Inline ST 1 Processing after error end 2 CIPWrite_instance Error CIPClose_instance Error CIPSend_instance Error ...

Page 220: ...Execute FALSE Dummy DstDat ReadDat Dummy CIPSend_instance Execute FALSE Initialize instance ServiceDat Dummy Dummy RespServiceDat RespDat Dummy CIPClose_instance Execute FALSE Initialize instance END_IF Internal Variables Variable Data type Initial value Comment Trigger BOOL False Execution condition DoCIPTrigger BOOL False Processing Stage INT 0 Status change WriteDat INT 1234 Write data ReadDat ...

Page 221: ...nce Error TRUE THEN Stage INT 10 Error end END_IF 2 Request writing value of variable CIPWrite_instance Execute TRUE Handle CIPOpen_instance Handle Handle DstDat WritingDat Source variable name Size UINT 1 Number of elements to write SrcDat WriteDat Write data IF CIPWrite_instance Done TRUE THEN Stage INT 3 Normal end ELSIF CIPWrite_instance Error TRUE THEN Stage INT 20 Error end END_IF 3 Request ...

Page 222: ...rviceDat Dummy Service data Size UINT 0 Number of elements RespServiceDat RespDat Response data IF CIPSend_instance Done TRUE THEN Stage INT 5 Normal end ELSIF CIPSend_instance Error TRUE THEN Stage INT 40 Error end END_IF 5 Request closing CIP class 3 connection CIPClose_instance Execute TRUE Handle CIPOpen_instance Handle Handle IF CIPClose_instance Done TRUE THEN Stage INT 0 ELSIF CIPClose_inst...

Page 223: ...E and Busy changes to FALSE 3 When Execute changes to FALSE Done returns to FALSE 4 When Execute changes to TRUE again Busy changes to TRUE 5 Execute is ignored if it changes to TRUE during instruction executed i e when Busy is TRUE 6 If an error occurs several retries are attempted internally The error code in the ErrorID is not updated during the retries 7 When a communications error occurs Erro...

Page 224: ... Codes General sta tus code hex Status name Description of status 00 Success Service was successfully performed by the object speci fied 01 Connection failure A connection related to service failed along the connection path 02 Resource unavailable Resources needed for the object to perform the requested service were unavailable 03 Invalid parameter value See Status Code 20 hex 04 Path segment erro...

Page 225: ...st An object that does not exist was specified for the requested service 17 Service fragmentation sequence not in progress The fragmentation sequence for this service is not cur rently active for this data 18 No stored attribute data The attribute data of this object was not saved prior to the requested service 19 Store operation failure The attribute data of this object was not saved due to a fai...

Page 226: ...9 Member not settable A request to modify a non modifiable member was received 2A Group 2 only server general fail ure This error code is reported only by group 2 only servers with 4K or less of code space and only in place of Service not supported Attribute not supported or Attribute not set table 2B CF Reserved by CIP for future extensions D0 FF Reserved for Object Class and service errors This ...

Page 227: ...e 01 0207 Unconnected acknowledgement without reply 01 0301 No buffer memory available 01 0302 Network bandwidth not available for data 01 0303 No tag filters available 01 0304 Not configured to send real time data 01 0311 Port that was specified in port segment is not available 01 0312 Link address that was specified in port segment is not available 01 0315 Invalid segment type or segment value i...

Page 228: ...rams running on a computer on the EtherNet IP network Windows programs installed in an NY series Industrial PC To read and write CIP objects or the values of variables between NJ NX NY series Controllers use the CIP communications instructions Refer to 8 2 CIP Messaging Communications Client Function for information about how to use CIP communications instructions for CIP message communications Co...

Page 229: ...le 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 8 3 1 CIP Message Structure for Accessing CIP Objects 8 3 2 CIP Message Structure for Accessing Variables CIP Explicit Message Request 1 20 01 2 24 01 Service Code 0x05 Request Service Data num of elem Request Path Length 02 Request Path Logical Segm...

Page 230: ...fferent for each segment type Use the segment format to request a service from a particular object of a particular device Logical segments and data segments which are needed to specify variables in CIP message communications are described below Logical Segments are joined to form the request path that specifies the object to access Segments are joined to form the request path that specifies the va...

Page 231: ... 32 bit logical address can be used for the instance ID 8 4 3 Logical Segment Logical Type Meaning 4 3 2 0 0 0 Class ID 0 0 1 Instance 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 definition for the Logical Format 1 1 1 Reserved Logical Format Meaning...

Page 232: ... Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type Segment Sub Type 7 6 5 7 6 5 4 3 2 4 3 2 1 0 1 0 0 1 0 1 0 0 1 0 1 0 0 Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data Segment Data Data...

Page 233: ...eld in the request data for the variable read and variable write services You can use these services to access the specified range of an array with the following specifications Specify the first element in the range of elements to access in the array variable as the variable to read or write Specify the number of elements to access in the Num of Element field 8 4 5 Specifying Variable Names in Req...

Page 234: ...segment must be converted to a text string to pass it to the communications thread The following conversion rules apply Specification Examples BYTE 91 hex ANSI Extended Symbol Segment BYTE 05 hex Length of variable name in bytes Array of octet V Variable name a r A A Octet 00 hex Pad BYTE 91 hex ANSI Extended Symbol Segment BYTE 04 hex Length of variable name in bytes Array of octet M Variable nam...

Page 235: ...0x05 VarAA 0x00 0x91 0x04 MemB 0x28 0x01 0x28 0x02 VAR VarAA member 1 2 VarAA memB 1 2 BYTE 91 hex ANSI Extended Symbol Segment BYTE 05 hex Length of variable name in bytes Array of octet V Variable name a r A A Octet 00 hex Pad BYTE 28 hex Logical Segment Member ID USINT 01 hex Array index BYTE 91 hex ANSI Extended Symbol Segment BYTE 04 hex Length of variable name in bytes Array of octet M Varia...

Page 236: ...page 8 40 TCP IP interface object Writes and reads TCP IP settings page 8 44 Ethernet link object Reads Ethernet settings Reads Ethernet status page 8 47 Controller object Gets the Controller status Changes the operating mode of the Controller page 8 52 8 5 2 Identity Object Class ID 01 Hex Service Codes Service code Parameter name Description Supported services Classes Instances 01 hex Get_Attrib...

Page 237: ...1 hex Attribute ID Parameter name Description Attribute Read data Data type Value 01 hex Vendor ID Vendor ID Read UINT 002F hex 02 hex Device Type Device type Read UINT 000C hex 03 hex Product Code Product code Read UINT Refer to 1 Product Codes for Each Model below 04 hex Revision Device revision Read Struct Major Revision Major revision Read USINT Refer to 2 Major and Minor CIP Revisions for Eac...

Page 238: ...t Tag Data Link Connection Timeout FTP Server Setting Error NTP Client Setting Error SNMP Setting Error NTP Server Connection Failed Tag Name Resolution Error 9 Minor Unrecoverable Fault TRUE when the following error occurs Identity Error 10 Major Recoverable Fault TRUE when any of the following errors occurs IP Address Duplication Error BOOTP Server Connection Error Basic Ethernet Setting Error I...

Page 239: ...the request path IOI for each service code as given below Request Paths IOIs to Specify Objects Service code Class ID Instance ID Attribute ID 01 hex Get_Attribute_All 01 hex Specifying a service for a class 00 hex Specifying a service for an instance Always 01 hex Not required 0E hex Get_Attribute_Single Reading a class attribute 01 or 02 hex Reading an instance attribute 01 to 07 hex 05 hex Rese...

Page 240: ...Classes Instances 01 hex Get_Attribute_All Reads the values of the attributes Sup ported Not sup ported 0E hex Get_Attribute_Single Reads the value of the specified attribute Sup ported Sup ported 10 hex Set_Attribute_Single Writes a value to the specified attribute The built in EtherNet IP port restarts automatically after the value is written to the attribute When the restart process is not comp...

Page 241: ...Net IP port Bit 1 DNS Client Always TRUE Bit 2 DHCP Client Always FALSE Bit 3 DHCP DNS Update Always FALSE Bit 4 Configuration Settable Always TRUE Bit 5 Hardware Configurable Always FALSE Bit 6 Interface Configuration Change Requires Reset Always FALSE Bit 7 ACD Capable Always TRUE Bits 8 to 31 Reserved always FALSE 03 hex Configuration Control Sets the method used to set the IP address when the ...

Page 242: ...rvice code as given below Request Paths IOIs to Specify Objects Service code Class ID Instance ID Attribute ID 01 hex Get_Attribute_All F5 hex Specifying a service for a class 00 hex Specifying a service for an instance 01 or 02 hex Not required 0E hex Get_Attribute_Single Reading a class attribute 01 or 02 hex Reading and writing an instance attribute 01 to 06 hex 10 hex Set_Attribute_Single ...

Page 243: ...e Parameter name Description Supported services Classes Instances 0E hex Get_Attribute_Single Reads the value of the specified attribute Supported Supported 10 hex Set_Attribute_Single Writes a value to the specified attribute Supported Supported 4C hex Get_and_Clear Specify Attribute4 or Attribute5 to reset the value of the attribute to 0 Not sup ported Supported Class ID Instance ID Attribute ID...

Page 244: ...sary multicast packets but does not include discarded packets counted by InDiscards UDINT Reads the current value In Discards The number of discarded incom ing 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 the current value In Unknown Protos The number of incoming packets ...

Page 245: ...ackets that were sent after 512 bit times UDINT Reads the current value Excessive Collisions The number of frames that failed to be sent because of excessive collisions UDINT Reads the current value MAC Transmit Errors The number of frames that failed to be sent due to an internal MAC sublayer transmission error UDINT Reads the current value Carrier Sense Errors The number of times the carrier sen...

Page 246: ...st packets sent through the interface ULINT Reads the current value 0D hex HC Media Counters Media counters for the comunica tions port Read Struct HCStatsAlignmentErrors Number of frames received that were not octets in length This counter is the 64 bit edition of Alignment Errors ULINT Reads the current value HCStatsFCSErrors Number of frames received that did not pass the FCS check This counter...

Page 247: ...hex Auto negotiation was not attempted 5 Manual Setting Requires Speed Always FALSE Changes can be applied automatically 6 Local Hardware Fault Always FALSE 7 to 31 Reserved Always FALSE Bit Name Description 0 Auto negotiate FALSE Auto negotiation is disabled TRUE Auto negotiation is enabled 1 ForcedDuplex Mode FALSE Half duplex TRUE Full duplex When auto negotiation is enabled bit 0 is TRUE this ...

Page 248: ...l errors in the Controller Supported Not supported Class ID Instance ID Attribute ID Parameter name Description Attribute Read write data Data type Value 01 hex Revision Revision of the object Read UINT Always 0002 hex 02 hex Max Instance The maximum instance number Read UINT Always 0001 hex 64 hex PLC Mode This can be used to read and modify the Controller operating mode Write UINT Specify this w...

Page 249: ...Type Codes AddInfoLength 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 only when accessing a structure vari able In this case the size of AddInfo will be 2 bytes Actual data The actual data is stored in little endian format If 0001 hex is specified f...

Page 250: ...ad an I O vari able that cannot be read 0104 1103 The specified address and size exceed a segment boundary 8001 An internal error occurred 8007 An inaccessible variable was specified 8031 An internal error occurred A memory allo cation error occurred 20 INVALID_PARAMETER 8009 A segment type error occurred 800F There is an inconsistency in data length information in the request data 8017 More than ...

Page 251: ...rwise set 00 hex AddInfo The CRC code of the structure definition is specified only when accessing a structure variable In this case the size of AddInfo will be 2 bytes NumOfElement Specifying the number of elements in the array Do not specify 0000 hex an error will occur For variables other than arrays set 0001 hex Actual data Specify the actual data in little endian format If 0001 hex is specifi...

Page 252: ...naccessible variable was specified 8029 A region that all cannot be accessed at the same time was specified for Simple DataSegment 8031 An internal error occurred A memory allocation error occurred 20 INVALID_PARAMETER 8009 A segment type error occurred 800F There is an inconsistency in data length information in the Request Data 8017 More than one element was specified for a variable that does no...

Page 253: ...d signed binary C5 CIP Common USINT 1 byte unsigned binary C6 CIP Common UINT 1 word unsigned binary C7 CIP Common UDINT 2 word unsigned binary C8 CIP Common ULINT 4 word unsigned binary C9 CIP Common REAL 2 word floating point CA CIP Common LREAL 4 word floating point CB CIP Common STRING D0 CIP Common BYTE 1 byte hexadecimal D1 CIP Common WORD 1 word hexadecimal D2 CIP Common DWORD 2 word hexade...

Page 254: ...ngth Byte Data Fixed length 2 byte Data Fixed length 4 byte Data USINT Data Type USINT AddInfo Length AddInfo UINT Num of Element L H Actual data Refer to Data Type Codes on page 8 57 for specific values Additional information Field length in bytes Additional information CRC value of structure or other information This field exists only in the parameters for the variable write service USINT Data T...

Page 255: ...LINT ULINT BCD LREAL and LWORD Data Format Data Format Specify 0 when writing data Fixed length 8 byte Data Boolean Data USINT Data Type USINT 00 hex UINT Num of Elem L 01 hex H 00 hex Data Least significant byte Most significant byte USINT Data Type C1 hex USINT 00 hex UINT Num of Elem L 01 hex H 00 hex USINT Status 01 hex TRUE 00 hex FALSE USINT Forced set reset information 01 hex Forced 00 hex ...

Page 256: ... the following ways There are no fields for the text string lengths Only the text strings including NULL are given The transferred data length is not the combined lengths of the text strings but the memory size that is allocated to the STRING variable Upper and lower bytes are reversed 8 7 4 Derived Data Types Accessing One Member Accessing More Than One Element at the Same Time Example The output...

Page 257: ...Names in Request Paths for information on the Num of Element field The status TRUE FALSE is given in order for each element of the BOOL variable Data Format Structure Variables Accessing an Entire Structure If a structure variable is specified it is treated as an access request for all of the members of the structure Data Format USINT C7 hex Data type code for UINT USINT 00 hex UINT Value of Var 0...

Page 258: ...8 CIP Message Communications 8 62 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 259: ...t Socket Services 9 11 9 3 1 Overview 9 11 9 3 2 Procedure 9 11 9 4 Settings Required for the Socket Services 9 12 9 5 Socket Service Instructions 9 13 9 6 Details on Using the Socket Services 9 14 9 6 1 Using the Socket Services 9 14 9 6 2 Procedure to Use Socket Services 9 15 9 6 3 Timing Chart for Output Variables Used in Communications 9 17 9 6 4 UDP Sample Programming 9 19 9 6 5 TCP Sample Pr...

Page 260: ...d Controllers or between Controllers The built in EtherNet IP port provides a UDP socket service and a TCP socket service Ports 0 to 1023 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 Therefore we recommend that you use port numbers 49152 to 65535 for applications other than the protocols that are re...

Page 261: ...ply sent to the destination node and no acknowledgement or resends are performed like they are for TCP To increase the reliability of communications the user application must perform data resend processing In UDP the remote IP address and the remote UDP port number are not specified when a request is made to open a socket The variables that store the remote IP address the remote UDP port number an...

Page 262: ...emote node Writing the received data to the variable is completed by the normal completion of the SktTCPRcv instruction SktTCPConnect Instruction Execution of the Socket Function Connect The connection is established by the normal completion of the SktTCPConnect instruction SktTCPSend Instruction Execution of the Socket Function Send The data is stored in the send buffer by the normal completion o...

Page 263: ...ata B are sent in sequence by the sending node 4 After data A is received the remaining data B is received Data in TCP communications is delivered to the user program in a fragmented form as shown above The number of bytes of data that is received must be checked to confirm all data was received before the next receive request is made You can use the RecvDataSize output variable of the socket rece...

Page 264: ...3 Data A and data B are sent in sequence by the sending node 4 Data A and data B are joined to restore the original send data and the data is passed to the user program Because UDP communications are performed in datagram units as shown above send data is returned to the original data format before it is passed to the user program Using UDP Built in EtherNet IP port User program 3 Data A and data ...

Page 265: ...ta can be received if there is less data in the receive buffer than the size of the variable that was specified in the receive request Example Receiving 3 000 Bytes of Receive Data in Two Sections 1 The data that was sent from the sending node in two sends is stored in the receive buffer 2 Two receive requests are used to receive all of the send data 9 2 3 Data Reception Processing 1st send reques...

Page 266: ...receive buffer than the size of the variable that was specified in the receive request Example 1 Receive Request for 1 000 Bytes when 2 000 Bytes of Data Was Received 1 The data that was sent from the sending node in two sends is stored in the receive buffer 2 If a receive request is made for 1 000 bytes for the first send data the remaining 1 000 bytes is discarded 3 If the next receive request i...

Page 267: ... Was Sent for Two Send Requests 1 The data that was sent from the sending node in two sends is stored in the receive buffer 2 Even if a receive request is made for 2 000 bytes of data only the 100 bytes that was sent for the first send request is received 100 bytes Data A Data B 100 bytes Data A Data A Data B 100 bytes Sending node host computer Receiving node Controller Data B 1st send request 2n...

Page 268: ...to 1 472 bytes of data Data larger than 1 472 bytes cannot be broadcast You can specify either of the 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 local IP address is set Host segment All bits are set to 1 Global Broadcast Specify this type when the...

Page 269: ...en in the following table 9 3 1 Overview Overview of Socket Services with Socket Service Instructions UDP TCP Number of sockets NY series Controller UDP socket service Total of 30 sockets TCP socket service 9 3 2 Procedure 1 Make the settings that are required for socket services Refer to 9 4 Settings Required for the Socket Services 2 Execute the socket service instructions from the user program ...

Page 270: ...tup to use the socket services Additional Information Make this setting in the TCP IP Dialog Box Refer to 5 1 TCP IP Settings Display for information on the TCP IP Dialog Box Sysmac Studio Unit Settings Tab Page Setting Setting conditions Setting Local IP Address Required Subnet Mask Required TCP IP Keep Alive Optional Change when the default setting of 5 minutes is unacceptable Linger Option Opti...

Page 271: ...se exclusive control in the user program so that no more than 32 socket service instructions are executed at the same time UDP TCP Instruction Socket service UDP sockets SktUDPCreate Create UDP Socket instruction SktUDPRcv UDP Socket Receive instruction SktUDPSend UDP Socket Send instruction TCP sockets SktTCPAccept Accept TCP Socket instruction SktTCPConnect Connect TCP Socket instruction SktTCPR...

Page 272: ...rvices UDP TCP Number of sockets NY series Controller UDP socket service Total of 30 sockets TCP socket service Open processing This process places the socket in a usable state This is the first process that is exe cuted when using 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 ...

Page 273: ...ute SktTCPRcv instruction Receive Processing Output variable BufferDataByte Number of send bytes All data received Output variable BufferDataByte Number of send bytes Execute SktGetTCPSatus instruction Checking TCP Status Output variable Done TRUE Normal End Instruction end normally Output variable Error TRUE Error End Check error details based on the error code and take suitable actions Output va...

Page 274: ... Done TRUE Normal End Instruction end normally Output variable Error TRUE Error End Execute SktUDPSend instruction Send Processing Output variable Error TRUE Error End Output variable Done TRUE Normal End Instruction end normally Execute SktUDPCreate instruction Open Processing Check error details based on the error code and take suitable actions Output variable ErrorID Check error details based o...

Page 275: ...RUE and Busy changes to FALSE 3 When Execute changes to FALSE Done returns to FALSE 4 When Execute changes to TRUE again Busy changes to TRUE 5 Execute is ignored if it changes to TRUE during instruction executed i e when Busy is TRUE 6 If an error occurs several retries are attempted internally The error code in the ErrorID is not updated during the retries 7 When a communications error occurs Er...

Page 276: ...Done stays TRUE for only one task period Example 1 If you want to see if Done is TRUE at any time make sure to keep Execute TRUE until you con firm that Done is TRUE If Execute is TRUE until Done changes to TRUE Done stays TRUE until Execute changes to FALSE Example 2 Execute Done Execute Done Busy Executing Busy Executing Changes to FALSE in next task period When Execute changes to FALSE Done ret...

Page 277: ...ariable name with _EIP1_EtnOnlineSta Port1 Online or _EIPIn1_EtnOnlineSta Internal Port1 Online depending on which communications port you use 9 6 4 UDP Sample Programming Internal Variables Variable Data type Initial value Comment Trigger BOOL False Execution condi tion DoSendAndRcv BOOL False Processing Stage INT 0 Status change RcvSocketDat ARRAY 0 1999 OF BYTE 2000 16 0 Receive data WkSocket _...

Page 278: ..._instance Execute FALSE Initialize instance END_IF IF DoSendAndRcv TRUE THEN CASE Stage OF 1 Request creating socket SktUDPCreate_instance Execute TRUE SrcUdpPort UINT 6000 Local UDP port number Socket WkSocket Socket IF SktUDPCreate_instance Done TRUE THEN Stage INT 2 Normal end ELSIF SktUDPCreate_instance Error TRUE THEN Stage INT 10 Error end END_IF 2 Send request WkSocket DstAdr PortNo UINT 60...

Page 279: ...cket 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 DoSendAndRcv FALSE Trigger FALSE ELSE Interrupted by error DoSendAndRcv FALSE Trigger FALSE END_CASE END_IF Remote Node Programming In this example programming is also required in the remote node The order of sending and receiv ing is reversed in...

Page 280: ...ize instance END_IF IF DoSendAndRcv TRUE THEN CASE Stage OF 1 Request creating socket SktUDPCreate_instance Execute TRUE SrcUdpPort UINT 6001 Local UDP port number Socket WkSocket Socket IF SktUDPCreate_instance Done TRUE THEN Stage INT 2 Normal end ELSIF SktUDPCreate_instance Error TRUE THEN Stage INT 10 Error end END_IF Internal Variables Variable Data type Initial value Comment Trigger BOOL Fal...

Page 281: ...Error end END_IF 3 Send request WkSocket DstAdr PortNo UINT 6000 WkSocket DstAdr IpAdr 192 168 250 1 SktUDPSend_instance Execute TRUE Socket WkSocket Socket SendDat SendSocketDat 0 Send data Size UINT 2000 Send data size IF SktUDPSend_instance Done TRUE THEN Stage INT 4 Normal end ELSIF SktUDPSend_instance Error TRUE THEN Stage INT 30 Error end END_IF 4 Request closing data SktClose_instance Execu...

Page 282: ...ket ST 1 Replace the variable name with _EIP1_EtnOnlineSta Port1 Online or _EIPIn1_EtnOnlineSta Internal Port1 Online depending on which communications port you use 9 6 5 TCP Sample Programming Internal Variables Variable Data type Initial value Comment Trigger BOOL False Execution condition DoTCP BOOL False Processing Stage INT 0 Status change RcvSocketDat ARRAY 0 1999 OF BYTE 2000 16 0 Receive d...

Page 283: ...0 Dummy SktTCPRcv_instance Initialize instance Execute FALSE RcvDat RcvSocketDat 0 Dummy SktClose_instance Execute FALSE Initialize instance END_IF IF DoTCP TRUE THEN CASE Stage OF 1 Request a connection SktTCPConnect_instance Execute TRUE SrcTcpPort UINT 0 Local TCP port number Automatically assigned DstAdr 192 168 250 2 Remote IP address DstTcpPort UINT 6000 Destination TCP port number Socket Wk...

Page 284: ...0 Send data size IF SktTCPSend_instance Done TRUE THEN Stage INT 5 Normal end ELSIF SktTCPSend_instance Error TRUE THEN Stage INT 40 Error end END_IF 5 Request receiving data SktTCPRcv_instance Execute TRUE Socket WkSocket Socket TimeOut UINT 0 Timeout value Size UINT 2000 Receive data size RcvDat RcvSocketDat 0 Receive data IF SktTCPRcv_instance Done TRUE THEN Stage INT 6 Normal end ELSIF SktTCPR...

Page 285: ...ktTCPSend instruction is executed to request sending data The data in SendSocketDat is sent 4 The SktClose instruction is executed to close the socket ST 1 Replace the variable name with _EIP1_EtnOnlineSta Port1 Online or _EIPIn1_EtnOnlineSta Internal Port1 Online depending on which communications port you use Internal Variables Variable Data type Initial value Comment Trigger BOOL False Execution...

Page 286: ...e Execute FALSE Initialize instance END_IF IF DoTCP TRUE THEN CASE Stage OF 1 Request accepting a socket connection SktTCPAccept_instance Execute TRUE SrcTcpPort 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 INT 10 Error end END_IF 2 Request recepti...

Page 287: ...dSocketDat 0 Send data Size UINT 2000 Send data size IF SktTCPSend_instance Done TRUE THEN Stage INT 4 Normal end ELSIF SktTCPSend_instance Error TRUE THEN Stage INT 30 Error end END_IF 4 Request closing data 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...

Page 288: ... be closed You can use the Read TCP Socket Status instruction SktGetTCPstatus to see if the connection is closed Immediately close the socket at the local node if the TCP socket at the remote node is closed If the remote node s TCP socket closes without warning the data to send may remain in the buffer at the local node The remaining data is discarded in the local node s TCP close processing The s...

Page 289: ...to 12 times if an acknowledgment ACK from the remote node is not received The resend interval increases to between one second and 64 seconds for each resend For TCP sockets a connection request SYN is sent by performing an open connection SYN is resent up to four time if an acknowledgment SYN ACK from the remote node is not received An error will occur if SYN ACK is not received even 75 seconds el...

Page 290: ...9 Socket Service 9 32 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 291: ...Connecting to the FTP Server 10 4 10 3 Using the FTP Server Function 10 7 10 3 1 Procedure 10 7 10 3 2 List of Settings Required for the FTP Server Function 10 7 10 4 FTP Server Application Example 10 8 10 5 Using FTP Commands 10 10 10 5 1 Table of Commands 10 10 10 5 2 Using the Commands 10 11 10 6 Using SD Memory Card Operations 10 16 10 6 1 File Types 10 16 10 6 2 Format of Variable Data 10 17 ...

Page 292: ...rge files on the Virtual SD Memory Card Precautions for Correct Use Precautions for Correct Use To use a Virtual SD Memory Card you need the settings for the SD Memory Card operations in the Controller For information on setting the SD Memory Card operations refer to the NY series Industrial Panel PC Industrial Box PC Software User s Manual Cat No W558 10 1 1 Overview Virtual SD Memory Card Large ...

Page 293: ...ote host cd Changes the work directory in the remote host to the specified directory pwd Displays the work directory on the remote host type Specifies the data type of transferred files get Transfers the specified remote file to the local host mget Transfers the specified multiple remote files to the local host put Transfers the specified local file to the remote host mput Transfers the specified ...

Page 294: ...e FTP login name and password to login to the built in EtherNet IP port from an FTP client appli cation Use the Built 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 similar to Explorer to transfer and read files Login Name and Password Setting The F...

Page 295: ...ers or programming instructions Exclusive control is required to prevent multiple accesses This is to prevent reading and writing the same file at the same time The Controller automatically performs exclusive control as shown below only when the following combinations of instructions are used In other cases use file operation instructions Change File Name Copy File etc or communications commands a...

Page 296: ...r s Manual W563 Restrictions on Connection to FTP Server If you repeat connection to and disconnection from the FTP server frequently in a short period of time your access may be restricted temporarily to protect the system If you cannot connect to the FTP server wait for 10 minutes and try again ...

Page 297: ...t IP Port Settings to log in to the built in EtherNet IP port Note Once logged in the ftp commands can be used such as cd Change Directory and get Obtain File 7 After you are logged in you can use the ftp commands such as cd Change Directory and get Obtain File for the MEMCARD1 directory in the Virtual SD Memory Card in the Controller 8 Close the connection Make the following settings for the unit...

Page 298: ...tep 1 Turn ON the power supply to the Controller 2 Connect to the FTP server from a computer on the Ethernet by entering the text that is under lined in the following 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 NY512 1500 131513F10 FTP server ready User 192 168 250 1 none user1 331 Password required for user1...

Page 299: ...to MEMCARD1 directory Results File names read Get DEF BIN from ABC directory root directory MEMCARD1 ABC subdirectory DEF BIN file ftp ls 200 PORT command successful 150 Opening ASCII mode 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 successful 150 ope...

Page 300: ...Displays file names in the remote host mls Displays file names in the remote host dir Displays file names and details in the remote host mdir Displays file names and details in the remote host rename Changes a file name mkdir Creates a new directory in the working directory in the remote host rmdir Deletes a directory from the working directory in the remote host cd Changes the work directory in t...

Page 301: ...ote host on the Virtual SD Memory Card Set the switch l to display not only the file names but the creation dates and sizes as well If the switch is not set only the file names are displayed Specify a file on the Virtual SD Memory Card for the remote file name If a local file name is specified the file information is stored in the specified file Format mls remote_file_name local_file_name Function...

Page 302: ...list as the remote file name Input a hyphen to display a list of the current working directory If a local file name is specified the file information is stored in the specified file Input a hyphen to display a list of the remote host and not store the list of file names Format rename current_file_name new_file_name Function Changes the specified current file name to the specified new file name If ...

Page 303: ...rectory on the remote host Format 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 remote host on the Virtual SD Memory Card Format cd directory_name Function Changes the remote host work directory to the specified remote directory Files on the Virtual SD Memory Card are stored in the MEMCARD1 directory u...

Page 304: ...e local host A receive file name can be used to specify the name of the file in the local host Format mget file_name Function You can include wildcards in the file name to transfer multiple remote files from the Virtual SD Memory Card to the local host Format put file_name destination_file_name Function Transfers the specified local file to the remote host to the Virtual SD Memory Card You can spe...

Page 305: ... the contents of the transferred file Format delete file_name Function Deletes the specified remote file on the Virtual SD Memory Card Format mdelete file_name Function You can include wildcards in the file name to delete multiple remote files from the Virtual SD Memory Card Format close Function Disconnects the FTP server of the built in EtherNet IP port Format bye Function Ends the FTP sessions ...

Page 306: ...ng file names and extensions The following characters can be used in file names and extensions File names are not case sensitive A to Z a to z 0 to 9 and the following symbols _ The following characters cannot be used in files names and extensions Blanks multi bytes characters and the following symbols etc The maximum file name length with the extension is 65 characters The first period in a file ...

Page 307: ...in binary format Additional Information When you handle a binary file on the NY series Controller always specify the binary data type with the type command before you read or write the file via FTP Refer to 10 5 2 Using the Commands For details on how to use ladder diagram instructions to process files refer to the NY series Instructions Reference Manual Cat No W560 File Names Handled by Controlle...

Page 308: ... Virtual SD Memory Card in the Controller Underlined text is keyed in from the FTP client The workstation prompt is indicated as and the cursor is indicated as 1 Start the FTP application and connect to the built in EtherNet IP port 2 Enter the login name 3 Make sure the Virtual SD Memory Card settings are correctly made The MEMCARD1 directory is displayed if the Virtual SD Memory Card settings ar...

Page 309: ...PLAN BIN to the Virtual SD Memory Card 8 End the FTP session Read file ftp get RESULT BIN 200 PORT command successful 150 opening data connection for result bin IPaddress port bytes 226 Transfer complete bytes received in seconds bytes s ftp Write file ftp put PLAN BIN 200 PORT command successful 150 opening data connection for plan bin IPaddress port 226 Transfer complete bytes received in second...

Page 310: ...10 FTP Server 10 20 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 311: ...ransferring Files 11 2 11 1 2 Connectable FTP Servers 11 2 11 1 3 File Transfer Options 11 3 11 1 4 Other Functions 11 4 11 2 FTP Client Communications Instructions 11 5 11 2 1 Functions of the FTP Client Communications Instructions 11 5 11 2 2 Restrictions on the FTP Client Communications Instructions 11 7 11 3 FTP Client Application Example 11 9 FTP Client ...

Page 312: ...loaded to the FTP server Therefore to upload or download files a Virtual SD Memory Card must be set in the NY series Controller Precautions for Correct Use Precautions for Correct Use To use a Virtual SD Memory Card you need the settings for the SD Memory Card operations in the Controller For information on setting the SD Memory Card operations refer to the NY series Industrial Panel PC Industrial...

Page 313: ...ion between the FTP server and FTP client is necessary to transfer files TCP connections include control connections to control communications and data connections to transfer data There are also an Active Mode and a Passive Mode to open a data connection that differ in which party makes the connection request The following table describes the differences For example if the FTP server is not on th...

Page 314: ...ng connection processing with the FTP server Using wildcards to specify the files to transfer These functions are described in the following sections Retrying Connection Processing with the FTP Server You can specify automatically retrying connection processing up to three times when connection processing to the FTP server fails You can set the timeout time that is used to determine connection fai...

Page 315: ...truction gets a list of the files and folders in a specified directory on the FTP server The following information is obtained The number of files and folders in the specified directory The names of the files and folders The last updated dates of the files and folders The file sizes The read only attributes of the files and folders You can specify the following option Open mode for data connection...

Page 316: ...s created and the data is downloaded in it You can specify the following options Transfer mode Open mode for data connection Deleting files after transfer Overwriting The FTPPutFile instruction uploads the specified file from the specified directory in the Virtual SD Mem ory Card to the specified directory on the FTP server You can use wildcards to specify the file name to allow you to upload more...

Page 317: ...same time You can specify the following option Open mode for data connection The FTPRemoveDir instruction deletes the specified directory from the FTP server The following restrictions apply to the FTP client communications instructions Be careful not to exceed these restrictions when you create the user program FTPRemoveFile Instruction FTPRemoveDir Instruction 11 2 2 Restrictions on the FTP Clie...

Page 318: ... the instructions in the user program If you execute an FTP client communications instruction to read or write data in a Virtual SD Memory Card at the same time as an operation to read or write data in the Virtual SD Memory Card unex pected operation may result such as reading data from a file to which data is being written Perform exclusive control of the instructions in the user program Refer to...

Page 319: ...following table The following procedure is used 1 The BackupToMemoryCard instruction is used to save NY series Controller backup related files to the root directory on the Virtual SD Memory Card 2 The FTPPutFile instruction is used to upload the backup related files to the Backup yyyy mm dd directory on the FTP server The wildcard specification is used to specify the names of the files to transfer...

Page 320: ...dr _sFTP_CON NECT_SVR Adr PortNo 0 User Name Password Connected FTP server settings PutResult ARRAY 0 0 OF _sFTP_FILE_RE SULT Name TxError False RemoveError False Reserved 4 16 0 Uploaded file results RS_instance RS Instance of RS instruction OperatingEnd BOOL FALSE Processing completed Trigger BOOL FALSE Execution condition Operating BOOL FALSE Processing BackupToMemo ryCard_instance BackupToMemo...

Page 321: ... 168 250 2 Operating FTPUser 12345678 FTPAddr Adr FTPAddr UserName Backup yyyy mm dd FTPAddr PutResult PutResult FTPAddr Password FTPAddr PortNo UINT 21 MOVE EN ENO In Out MOVE EN ENO In Out MOVE EN ENO In Out MOVE EN ENO In Out 1 1 OperatingEnd Trigger Operating OperatingEnd RS Set Q1 Reset1 RS_instance BackupToMemoryCard Execute Done DirName Busy Cancel Error Option Canceled ErrorID BackupToMemo...

Page 322: ... 1 Execute BackupToMemoryCard instruction BackupToMemoryCard_instance Execute TRUE Execution IF BackupToMemoryCard_instance Done TRUE THEN Stage INT 2 To next stage ELSIF BackupToMemoryCard_instance Error TRUE THEN Stage INT 10 Error end END_IF 2 Execute FTPPutFile instruction Internal Vari ables Variable Data type Initial value Comment R_TRIG_instance R_TRIG Instance of R_TRIG instruction UP_Q BO...

Page 323: ...er SvrDirName Backup yyyy mm dd FTP server directory name LocalDirName Local directory name FileName File name PutFileResult PutResult Uploaded file results 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 after normal end DoFTPTrigger FALSE Trigger FALSE ELSE Processing after error end DoFTPTrigger FA...

Page 324: ...11 FTP Client 11 14 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 325: ...rt User s Manual W563 12 12 1 SNMP Agent 12 2 12 1 1 Overview 12 2 12 1 2 Specifications 12 3 12 1 3 SNMP Messages 12 3 12 1 4 MIB Specifications 12 4 12 2 Procedure to Use the SNMP Agent 12 21 12 2 1 Procedures 12 21 12 2 2 Settings Required for the SNMP Agent 12 21 SNMP Agent ...

Page 326: ...ices on the SNMP network and provides that informa tion to the network administrator You can use the SNMP manager to monitor the built in EtherNet IP port The SNMP manager has a SNMP command to request MIB information The built in EtherNet IP port SNMP agent function supports SNMPv1 RFC1157 and SNMPv2C RFC1901 Use the SNMPv1 or SNMPv2C protocol to manage the built in EtherNet IP port with the SNMP...

Page 327: ...1 2 Specifications Item Specification Protocol SNMP Agent SNMPv1 SNMPv2c MIB MIB II Port No SNMP agent 161 UDP SNMP trap 162 UDP These can be changed in the Built in EtherNet IP Port Settings from the Sysmac Studio Timing of SNMP trap opera tion Status reports are sent to the SNMP manager at the following times When the Controller is turned ON When links are established When an SNMP agent fails to...

Page 328: ... group ip The MIB for IP information ipAddrTable The MIB for addressing table information related to IP addresses ipRouteTable The MIB for information related to IP routing tables ipNetToMediaTable The MIB for information related to IP address conversion tables ipForward The MIB for information related to IP forward ing tables icmp group The MIB for ICMP information tcp group tcp The MIB for TCP i...

Page 329: ...del example NY512 1300 CPU Unit version example Version 1 12 sysObjectID 2 RO Vendor OID Tells where this device information was assigned in the private MIB Sup ported 1 3 6 1 4 1 16838 1 1025 6 sysUpTime 3 RO The time elapsed since the system was started unit 1 100 s Sup ported According to the standard sysContact 4 RW How to contact the administrator and informa tion on the administrator Sup por...

Page 330: ...rding to the physical link layer protocol directly under the net work layer of the protocol stack Sup ported ethernet csmacd 6 ifMtu 4 RO MTU value The maximum size in octets of datagrams that can be sent and received through this interface Sup ported 1 500 ifSpeed 5 RO Estimated bandwidth If a stable accurate value cannot be obtained for the bandwidth a nominal value is set instead Sup ported 100...

Page 331: ... standard ifInUnknown Protos 15 RO The number of packets received but discarded because they were of an illegal or unsupported protocol For example Ethernet packets did not have IP set for the field that identifies their higher level proto col Sup ported According to the standard ifOutOctets 16 RO The number of octets of packets sent through this interface This includes framing characters Sup port...

Page 332: ...3 ifSpecific 22 RO The object ID that represents a reference to the media specific MIB for the interface For example for Ethernet set the object ID of the MIB that defines Ethernet If there is no informa tion set 0 0 Sup ported 0 0 Subtree name Standard identifier attribute Support Implementation specifications ...

Page 333: ... discarded because the destination address in the IP header was not valid Sup ported According to the standard ipForwDatagrams 6 RO The number of IP datagrams that were transferred to their final destination If this node does not operate as an IP gateway this is the number of datagrams that were successfully transferred through source routing Sup ported According to the standard ipInUnknownProtos ...

Page 334: ...ly reassembled Sup ported According to the standard ipFragOKs 17 RO The number of IP datagrams that were success fully fragmented Sup ported According to the standard ipFragFails 18 RO The number of IP datagrams that were not suc cessfully fragmented For example because the Don t Fragment flag was set for the IP datagram Sup ported According to the standard ipFragCreates 19 RO The number of IP dat...

Page 335: ...teMetric1 3 RW The primary routing metric for this route This value is determined based on the protocol speci fied in ipRouteProto Set to 1 if you do not want to use this metric this is also the same for ipRoute Metric 2 through 4 Sup ported According to the standard ipRouteMetric2 4 RW The alternative routing metric for this route Sup ported According to the standard ipRouteMetric3 5 RW The alter...

Page 336: ...IP is is 9 es is 10 ciscolgrp 11 bbnSpflgp 12 ospf 13 OSPF bgp 14 Sup ported According to the standard ipRouteAge 10 RW The elapsed time since this route was updated in seconds Sup ported Always 0 ipRouteMask 11 RW The subnet mask value in relation to ipRouteDest On systems that do not support a custom subnet mask value this value is based on the address class of the ipRouteDest field If ipRouteDe...

Page 337: ...edi aPhysAddress 2 RW The media dependent physical address Sup ported According to the standard ipNetToMedi aNetAddress 3 RW The IP address that corresponds to the media dependent physical address Sup ported According to the standard ipNetToMedia Type 4 RW The address conversion method Other 1 A method other than the following items Invalid 2 An invalid value Dynamic 3 Dynamic conversion Static 4 ...

Page 338: ...ved Sup ported According to the standard icmpInEchoReps 9 RO The number of Echo Reply messages received Sup ported According to the standard icmpInTimestamps 10 RO The number of Timestamp messages received Sup ported According to the standard icmpInTimestampReps 11 RO The number of Timestamp Reply messages received Sup ported According to the standard icmpInAddrMasks 12 RO The number of Address Ma...

Page 339: ... The number of Echo Reply messages sent Sup ported According to the standard icmpOutTimestamps 23 RO The number of Timestamp messages sent Sup ported According to the standard icmpOutTimestampReps 24 RO The number of Timestamp Reply messages sent Sup ported According to the standard icmpOutAddrMasks 25 RO The number of Address Mask Request messages sent Sup ported According to the standard icmpOut...

Page 340: ...rectly to the SYN SENT state Active connection establish ment Sup ported According to the standard tcpPassiveOpens 6 RO The number of times the TCP connection changed from the LISTEN state directly to the SYN RCVD state Passive connection establish ment Sup ported According to the standard tcpAttemptFails 7 RO The total number of times the TCP connection changed from the SYN SENT or SYN RCVD state...

Page 341: ...to the standard tcpConnLoca lAddress 2 RO The local IP address of this TCP connection A value of 0 0 0 0 is used for connections in the LIS TEN state that accept connections from any IP interface related to the node Sup ported According to the standard tcpConnLocal Port 3 RO The local port number for this TCP connection Sup ported According to the standard tcpConnRe mAddress 4 RO The remote IP add...

Page 342: ...ocal IP address of this UDP listener A value of 0 0 0 0 is used for UDP listeners that accept datagrams from any IP interface related to the node Sup ported According to the stan dard udpLocalPort 2 RO The local port number for this UDP listener Sup ported According to the stan dard Name Standard identi fier attribute snmpInPkts 1 RO The total number of SNMP messages received Sup ported According ...

Page 343: ...the standard snmpInSetRequests 17 RO The total number of SetRequest PDUs received Sup ported According to the standard snmpInGetResponses 18 RO The total number of GetResponse PDUs received Sup ported According to the standard snmpInTraps 19 RO The total number of trap PDUs received Sup ported According to the standard snmpOutTooBigs 20 RO The total number of PDUs sent with an error sta tus of too...

Page 344: ...PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 snmpEnableAuthen Traps 30 RW Determines if the agent generates verification failed traps Enabled 1 Disabled 2 Sup ported According to the standard Name Standard identi fier attribute ...

Page 345: ...Yes Button The built in EtherNet IP port settings are transferred to the Controller The following Built in EtherNet IP Port Settings are made from the Sysmac Studio to use the SNMP agent 12 2 1 Procedures 12 2 2 Settings Required for the SNMP Agent Tab page Setting Setting conditions Reference SNMP Settings SNMP service Required page 5 8 Port No Specified by user Note Required to change from the d...

Page 346: ...the SNMP Settings Dialog Box Refer to 5 5 SNMP Trap Settings Display for information on the SNMP Trap Dialog Box SNMP Trap Settings SNMP trap Required page 5 10 Port No Specified by user Note Required to change from the default value of 162 Trap 1 and trap 2 page 5 11 IP address Required Set an IP address or a host name as the SNMP trap destination Host name Community name Specified by user Versio...

Page 347: ...r Tag Data Links 13 7 13 2 2 Tag Data Link Bandwidth Usage and RPI 13 8 13 2 3 Adjusting Device Bandwidth Usage 13 9 13 2 4 Changing the RPI 13 10 13 2 5 RPI Setting Examples 13 16 13 3 I O Response Time in Tag Data Links 13 21 13 3 1 Timing of Data Transmissions 13 21 13 3 2 Built in EtherNet IP Port Data Processing Time 13 22 13 3 3 Relationship between Task Periods and Packet Intervals RPIs 13 ...

Page 348: ...ms the heartbeat frame transmission period is 100 ms If packet interval 100 ms the heartbeat frame transmission period is the same as the RPI Example In this example 2 tag data link connections are set for node 2 the originator and node 1 the tar get The RPI for output data 1 is set to 10 ms The RPI for output data 2 is set to 15 ms In this case output data 1 is sent from node 1 to node 2 every 10...

Page 349: ...c ond called the allowed Unit bandwidth is as follows so set the connection below this maximum value NY series Controller 20 000 pps Example Node 1 has both originator and target connections with send RPI of 200 ms and 2 ms and receive RPI of 500 ms Node 2 has originator connections only with receive RPIs of 200 ms 2 ms and 5 ms Node 3 has target connections only with send RPIs of 5 ms and 1 ms Ea...

Page 350: ...with node 2 Therefore the total is two connections Node 3 opens one connection as the target with node 1 and one connection as the target with node 2 Therefore the total is two connections In either case the connections can be opened because the numbers of connections for all nodes are within the maximum number of connections for the built in EtherNet IP port Also if multicast is set one packet wi...

Page 351: ...urs in the built in EtherNet IP port when data packets are sent once each packet interval RPI This delay varies with the RPI error shown in the following graph so the send processing delay time is the maximum value for each RPI 13 1 3 Packet Interval RPI Accuracy Packet interval RPI RPI error 1 ms to 1 000 ms 15 RPI ms 100 1 000 to 10 000 ms 5 of the RPI 0 2 4 6 8 10 12 14 16 RPI ms RPI error 0 10...

Page 352: ... that multicast packets will be sent even to nodes with out connection settings Additional Information If the Network Configurator is used to set the connection type in the connection settings to a mul ticast connection multicast packets will be used If the connection type is set to a point to point connection multicast packets are not used In addition if the required tag data link performance can...

Page 353: ...ge of the allowable communications bandwidth used for tag data links for the device is displayed Bandwidth used Allowable tag data link bandwidth The values outside parentheses are for when multicast filtering is used The values inside parentheses are for when multicast filtering is not used Mbit s without Multicast Filter The bandwidth used for communications by the device of the network band wid...

Page 354: ...s value indicates the maximum bandwidth that can be used on the transmission paths when Ethernet switches are cascaded If the value exceeds the bandwidth of a cascade connection in the actual network e g 1 000 Mbps the maximum bandwidth for part of the communications path may be exceeded depending on how the network is wired This may prevent the tag data links from operating correctly If this occu...

Page 355: ...at can be set for each node If any node exceeds its maximum network bandwidth that can be set change the connections set tings such as the RPI Is the usage of capacity under 100 for each node If any node exceeds 100 change the connections settings such as the RPI Is the total network bandwidth usage under the network bandwidth that can be set If the total bandwidth usage exceeds the network bandwi...

Page 356: ...ng the packet interval RPI If the required communications performance cannot be achieved by changing the settings re evaluate the network starting with the network configuration 1 Make the required settings in the Network Configurator s Network Configuration Window 2 Click the Detail Button in the Usage of Device Bandwidth Area at the bottom of the Network Configuration Window The Usage of Device ...

Page 357: ...iated devices packet interval RPI settings The RPI settings can be changed with the following three methods Method 1 Change All Connections to the Same RPI The usage of capacity without a multicast filter can be adjusted for all devices by changing the packet intervals RPI settings for all of the device s connections to the same RPI at the same time 1 Click the Set Packet Interval RPI Button at th...

Page 358: ...bandwidth by changing the packet intervals RPI settings for all of the device s connections together In this case the usage of capacity will also change for the target devices of the connection for which the packet interval is changed 1 Click the Set Packet Interval RPI Button at the bottom of the Usage of Device Band width Dialog Box 2 The Set Packet Interval RPI Dialog Box will be displayed In t...

Page 359: ...thout multicast filtering can be adjusted against the tag data link s allowable bandwidth by individually changing the packet interval RPI for a particular connec tion In this case the usage of capacity will also change for target device of the connection for which the packet interval is changed 1 Click the Close Button at the bottom of the Usage of Device Bandwidth Dialog Box 2 Double click the d...

Page 360: ...strial Box PC Built in EtherNet IP Port User s Manual W563 3 In the Register Device List select the connection for which you want to change the RPI and click the Edit Button 4 The device s Edit Connection Dialog Box will be displayed Input a new packet inter val RPI value and click the OK Button ...

Page 361: ...Device Bandwidth Usage Reduce the number of nodes and number of connections Split the network 5 Check the bandwidth usage again If you have changed the connection settings click the Detail Button in the Usage of Device Bandwidth Area at the bottom of the Network Configuration Window and check bandwidth usage according to the instructions in 13 2 1 Checking Bandwidth Usage for Tag Data Links It is ...

Page 362: ...tags for recep tion so that the Units exchange data mutually By default the packet intervals RPIs are set to 120 ms for all of the connections The devices IP addresses range from 192 168 250 1 to 192 168 250 17 13 2 5 RPI Setting Examples Conditions NJ501 1300 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 ...

Page 363: ...ions The percentage of the allowed tag data link bandwidth being used Usage of Capacity was 40 83 with the RPI set to 120 ms for all of the connections so the RPI will be set to 40 ms with a target of 80 or less of the allowable bandwidth Click the Set Packet Interval RPI Button at the bottom of the Usage of Device Bandwidth Dialog Box to display the Set Packet Interval RPI Dialog Box Input 40 ms ...

Page 364: ...et Packet Interval RPI Dialog Box is displayed In the Target Device Area clear the selections of all devices other than 192 168 250 1 and 192 168 250 10 Input 30 ms as the new RPI value then click the OK Button The percentage of the allowed tag data link bandwidth being used Usage of Capacity increases to 87 00 for devices 192 168 250 1 and 192 168 250 10 which indicates that the RPI is set to a h...

Page 365: ...or an Ethernet switch communications errors may occur depending on the communications load of the built in EtherNet IP Unit port Method 3 Changing the Packet Intervals RPIs of Only Specific Connections In this example we want a faster tag data links for just a particular connection of device 192 168 250 1 Double click device 192 168 250 1 in the Network Configuration Window Information about the c...

Page 366: ...nection Dialog Box input 10 ms as the new RPI value and click the OK Button The tag data link bandwidth used by device 192 168 250 1 Usage of Capacity increases to 50 17 which indicates that a RPI is set to a higher speed for this device In this case the tag data link bandwidth that is used by device 192 168 250 10 Usage of Capacity also increases from 40 83 to 51 00 ...

Page 367: ...system common processing 2 is performed for the task set as the refreshing task You can set either of the following types of tasks as the refreshing task Primary periodic task The primary periodic task has the highest execution priority It executes processes with high speed and high precision Periodic tasks Periodic tasks are executed during the time between executions of the primary periodic task...

Page 368: ...access time 2 the data cannot be sent entirely in one task period and is sent separately instead Number of data transfers Time required to send the data entirely 1 Variable access time 2 set for the task 1 This is the variable access time as calculated in step 1 above 2 The variable access time refers to the maximum processing time for accessing variables Set the time for each task on the Task Set...

Page 369: ... 1 Calculate the variable access time as shown below 600 200 1 000 bytes 0 0006 μs 8 4 10 variables 0 100 μs 3 1 40 μs 6 60 μs 11 28 μs 2 Calculate the number of data transfers Time required for data transfer Variable access time in step 1 11 28 μs Variable access time set for the task 500 μs 0 02 10 μs Number of data transfers 11 28 μs 10 μs 1 128 times Thus approximately two data transfers are r...

Page 370: ...for the transfer task period number of data transfers regardless of the packet interval RPI setting Therefore set the packet interval RPI according to the following guideline Actual time required for data transfer Task period Number of data transfers RPI For details on the actual time required to transfer data refer to 13 3 2 Built in EtherNet IP Port Data Processing Time Example Relationship betw...

Page 371: ... the task period If the data that is transferred is larger than the amount of data that can be sent during a single task as set in the variable access time for the task the data is transferred over multiple task periods Therefore add task period the number of transfers to the time required For details on how to determine the time required to send data refer to 13 3 2 Built in Eth erNet IP Port Dat...

Page 372: ...e number of transfers to the time required For details on how to determine the time required to receive data refer to 13 3 2 Built in EtherNet IP Port Data Processing Time Data is transferred once in each task period Therefore if data transfer has ended in the task period in which data is received the start of trans mission for received data will be delayed by one Controller task period Additional...

Page 373: ...stem service System service Line Line Command generated Received command interpreted Response generated Variable written Received response interpreted Instruction CIPWrite executed Instruction completed OI UPG MC OI UPG MC Controller 1 Controller 2 Transmission path Transmission delay Receive delay System service Receive delay System service Variable written System service System service Transmiss...

Page 374: ...the one calculated with the equations given here The following factors can cause longer transmis sion times other traffic on the network window sizes of network nodes other traffic at the built in EtherNet IP port itself e g simultaneous tag data link communications and the sys tem configuration CIP communications processing is executed as a system service If a timeout occurs for a CIP communicati...

Page 375: ... status on the EtherNet IP network and how to identify and correct errors based on the connection status of tag data links 14 1 Device Monitoring on the Network Configurator 14 2 14 1 1 Starting the Device Monitoring 14 2 14 1 2 Status Displays of the Device Monitoring 14 2 14 2 Connection Status Codes and Troubleshooting 14 9 Checking Communications Status of Network and Troubleshooting ...

Page 376: ...ll continue to show the last information that was collected To start monitoring again close the Monitor Device Dialog Box and then open the dialog box again Status 1 Tab Page The following check boxes are displayed for the status If a check box is selected the status is TRUE 14 1 1 Starting the Device Monitoring 14 1 2 Status Displays of the Device Monitoring Classification Item Corresponding syst...

Page 377: ...rror There were two or more errors in a connection as an originator Invalid Parameter An error was found in the validation check of the parameters for tag data links that are saved in non volatile memory All Tag Data Links Tag data links are communicating in all connections as the origina tor Tag Data Link Tag data links are communicating in one or more connections as the originator Configuration ...

Page 378: ...argetPLCModeSta Target PLC Operating Mode and _EIP_TargetPLCErr Target PLC Error Information in the _EIP_EstbTargetSta Normal Target Node Information system defined variable This information is in blue if the connection is normal or red if an error occurred Additional Information The target Controller status can be used when the Controller status is selected for all the target sets for both origin...

Page 379: ... displayed If all tag data link connec tions to the node are established and normal this information is displayed in blue However if any connection is broken it is displayed in red However this information is displayed in gray if the con nection to the node is stopped In addition the Connection Status Area shows the current status of each connection that is set as the originator This information c...

Page 380: ...uilt in EtherNet IP Port User s Manual W563 Controller Log Tab Page This tab page displays the Controller event log that is stored in the Controller 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 Controller for details on error information ...

Page 381: ... possible Resolving The variables with tags are being resolved When the resolution is completed normally a connection will be established and the data exchange will start Size does not match error Different sizes are set for the network variables and the tag settings A connection will not be established for a tag for which this error occurs No tag A network variable is not set in the variable tabl...

Page 382: ...ual W563 Ethernet Information Tab Page This tab page displays the communications status at the communications driver level of the built in Ethernet IP port The error counter information can be used to confirm whether communications problems have occurred The tag data link information can be used to confirm characteristics such as the bandwidth usage pps ...

Page 383: ...onnection status Source of error Handling General Status hex Additional Status hex Configuration 1 Configuration 2 Configuration 3 00 0000 Normal status code The connection has been opened and the tag data link is communicat ing normally 01 0100 Error code returned from target Attempted to open multiple connec tions for the same connection This error does not occur Depends on the tar get s specifi...

Page 384: ...he originator and target Check the connection settings number of connections at the originator and target Check the connection specifications for devices from other manufacturers Check the connection settings number of connections at the originator and target Check the connection specifications for devices from other manufacturers 01 0114 Error code returned from target The Vendor ID and Product C...

Page 385: ...Contact the target device s manufacturer Depends on the origi nator s specifications Contact the originator device s manufacturer 01 0302 Error code generated by originator or returned from target The tag data link s allowable band width pps was exceeded Check the connec tion settings number of connections and RPI at the origina tor and target Check the target s con nection settings num ber of con...

Page 386: ... s specifications Contact the originator device s manufacturer OMRON error code 01 0810 Error code returned from target New data could not be obtained from the Controller when opening con nection The Unit will automatically recover and attempt to open the connection again This error may occur if the Controller s task period was long when opening the connection or some problem in the Con troller ca...

Page 387: ...A 2 5 Checking Communications Status with the Sysmac Studio and Troubleshooting A 33 A 2 6 Troubleshooting A 37 A 3 EDS File Management A 43 A 3 1 Installing EDS Files A 44 A 3 2 Creating EDS Files A 44 A 3 3 Deleting EDS Files A 45 A 3 4 Saving EDS Files A 45 A 3 5 Searching EDS Files A 46 A 3 6 Displaying EDS File Properties A 47 A 3 7 Creating EDS Index Files A 47 A 4 Precautions for Using the ...

Page 388: ...ersion 1 0 Unit version 2 0 Unit version 2 1 Tag data link communications ser vice OK OK OK OK OK OK CIP message communications service OK OK OK OK OK OK IP routing OK OK Socket service OK OK OK OK FTP server OK OK OK OK OK OK FTP client OK OK OK Mail send receive OK Web functions OK Automatic adjustment of PLC Controller s internal clock OK OK OK OK OK Error history OK 1 OK 1 OK 1 OK OK OK OK Res...

Page 389: ...o set the originator device settings for the EtherNet IP connections Similarly if an NY series Controller operates as the target device you can use the Sysmac Studio to set the tags and tag sets of the target device A 2 1 Overview of the Tag Data Links EtherNet IP Connections Settings with the Sysmac Studio Acceptable System Configuration Conditions for Setting the EtherNet IP Connection Settings ...

Page 390: ...rk variables that are set in step 2 as tags and tag sets 4 Setting Connections Refer to Setting Connections for the Originator Device on page A 16 EtherNet IP Connection Set tings Connections Display Specify devices i e target devices and originator devices and tag sets to communicate with using the EtherNet IP connections 5 Going online from the Sysmac Studio Refer to Transferring the Connection ...

Page 391: ... Controller Dialog Box even if you clear the Do not transfer the connection setting Check Box as long as the data in the computer and in the Con troller is the same A 2 3 EtherNet IP Connection Settings Select EtherNet IP Connection Settings from the Tools Menu Double click or right click the device to set and select Edit from the menu EtherNet IP Connection Settings Tag Set Display Use the tab ic...

Page 392: ...l Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 EtherNet IP Device List Tab Page Refer to Registering the Tag and Tag Set on page A 13 The list indicates the devices to which EtherNet IP connections can be set ...

Page 393: ...ets required to create connections Each tag set represents the data that is sent and received through a connection You can register up to eight tags in one tag set The name and size of the tag must be the same as those of the network variable 1 Set whether to include the Controller status information in tags for the tag sets You can also set the data output operation at a fatal error occurrence fo...

Page 394: ...devices and set their connections For each connection set the following information Connection Name Connection I O Type I O tar get device tag set target variable originator device tag set originator variable Packet Interval RPI and Timeout Value Precautions for Correct Use Precautions for Correct Use If you changed the IP address model or revision of the target device after making the connection ...

Page 395: ...Links EtherNet IP Connections A A 2 3 EtherNet IP Connection Settings EtherNet IP Connection Monitor Tab Page Refer to A 2 5 Checking Communications Status with the Sysmac Studio and Troubleshooting on page A 33 You can check the EtherNet IP connection setting status offline and communications status online When online you can start and stop connections ...

Page 396: ... RPI of 50 ms cycle This example assumes the programs for both Controllers 1 and 2 are registered in the same project A 2 4 Making the EtherNet IP Connection Settings with the Sysmac Studio Controller 1 NY512 1500 Built in EtherNet IP port Controller 2 NJ501 1500 Originator device Target device Sysmac Studio EtherNet IP Net_Out1 Target device tag set Net_In1 Tag set Originator device tag set Net_O...

Page 397: ...ce This network variable receives data from Controller 2 target device Set the Network Publish attribute to Input or Output in the Global Variable Table for the variable so that the variable serves as a network variable i e the variable can be used for the Ether Net IP connections In this example set the network variable for Controller 1 as shown below Variable name Net_In1 Data type WORD Network ...

Page 398: ...owercase fol lowed by single byte numerals H H000 to H511 W W000 to W511 D D00000 to D32767 E0_ to E18_ E0_00000 to E0_32767 to E18_00000 to E18_32767 Size of variables To use an EtherNet IP Unit as an EtherNet IP device set an even number of bytes for the size of the network variable used for the EtherNet IP connections regardless of an odd number of bytes for the tag size Data concurrency To mai...

Page 399: ... In this example right click Built in EtherNet IP Port Settings for the originator device and select Edit from the menu to open the EtherNet IP Connection Setting Tab Page 3 Click the Show Tag Set Display icon in the EtherNet IP Connection Setting Tab Page 4 Click the Input tab to switch to the Input Tab Page Register the tag set and the tag Use one of the following methods to register the tag set...

Page 400: ...ist Additional Information You can register up to 8 tags in a tag set Set as shown below to register multiple tags Example 6 Register all tags and tag sets at the same time 1 Right click anywhere on the Input Tab Page of the EtherNet IP Connection Settings Tab Page and select Register All Tag Sets or click the Registration All Button to dis play the Tag Set Registration Setting Dialog Box This dia...

Page 401: ...ytes Instance ID Gives the instance ID Auto IN_ min IN_ max min represents the minimum number of Produced Assembly identifica tion numbers recorded in the EDS files for the relevant devices max represents the maximum number of Produced Assembly identifica tion numbers recorded in the EDS files for the relevant devices Controller Status Specify whether to include the Controller status in the tag se...

Page 402: ...the connection settings you must also change the target device settings that are included in the connection set tings For information on how to change the target device settings in the connection settings refer to Changing the Target Device Settings After Making Connection Settings 1 Select EtherNet IP Connection Settings from the Tools Menu to display the EtherNet IP Device List Tab Page 2 Right ...

Page 403: ...n settings Name Setting Methods Target Device Select the target device Connection Name Any name can be given to the connection 32 single byte characters max Connection I O Type Input Only Tag type is selected if EtherNet IP connections are used with a CS1W EIP21 CJ1W EIP21 CJ2B EIP21 CJ2M EIP21 CJ1W EIP21 CJ2 CJ1W EIP21 NJ NX701 NJ501 NJ301 NJ101 or NY5 2 When you create EtherNet IP connections fo...

Page 404: ...nator node s tag set to assign it Input is specified for Input Output Select the originator s input con sume tag set Output is specified for Input Output Select the originator s output produce tag set Size Byte Enter the data sizes of the originator variables Connection Type Select whether the data is sent in multi cast or unicast point to point form The default setting is multi cast Multi cast co...

Page 405: ...r project Button in the Toolbox on the right of the EtherNet IP Connection Setting Tab Page 2 The Import from Another Project Dialog Box is displayed Click the Project Button select a project to import and click the Open Button 3 The list of EtherNet IP devices registered in the selected project will be displayed Select the target devices to import and click the Import Button Note Only the project...

Page 406: ...ton The target device is added to the Target Device List in the Toolbox Node address 192 168 250 3 Model name NJ501 1500 Revision 2 4 You can click the Import Tag Set Button to import the tag sets that are set in the Net work Configurator to the target devices Select Export to File from the To From File Button in the Tag Sets Tab Page of the Edit Device Parameters Dialog Box to generate CSV files ...

Page 407: ... List in the Toolbox of the EtherNet IP Connection Set ting Tab Page and select Display EDS Library from the menu 2 The EDS Library Dialog Box is displayed Click the Install Button 3 Select the EDS file to add and then click the Open Button The EDS file is added 4 The EtherNet IP device with the EDS file installed is added to the EDS Library Devices listed in the EDS Library are used as a candidat...

Page 408: ... also change the target device settings that are included in the connection set tings You can change the target device settings entirely Changing the IP Addresses for All Target Devices 1 Right click one of the connection lines and select Change Node Address from the menu 2 The Node Address Change Dialog Box is displayed Enter a new IP address in New IP address 3 To apply the same change to other ...

Page 409: ...Change Node Address from the menu 2 The Target Device Change Dialog Box is displayed Select a target device from New device Precautions for Correct Use Precautions for Correct Use Changeable target devices are limited to ones that have OMRON in the Vendor ID and is an EDS device of the Communications Adapter in the Device Type To display a device in the list of selectable new target devices the de...

Page 410: ...Network Publish attribute Output Set the tag and tag set for the target device 1 Select EtherNet IP Connection Settings from the Tools Menu The EtherNet IP Device List Tab Page is displayed 2 Right click CJ1W EIP21 the EtherNet IP Unit connected to the Controller 2 originator device in this example and select Edit from the menu The EtherNet IP Connection Setting Tab Page is displayed 3 Click the S...

Page 411: ... IP network must be calculated by taking into account of all bandwidths used on the EtherNet IP network i e bandwidths used for connec tions for the other devices in the EtherNet IP network than the one given on the dialog box must be included into the calculation Procedure Click the Device Bandwidth Button in the EtherNet IP Connection Setting Tab Page for the target device Additional Information...

Page 412: ...in the EtherNet IP connections Device bandwidth usage PPS Connection 1 NJ series Controller 2 target device to NY series Controller 1 originator device 50 pps Connection 2 NY series Controller 1 target device to NJ series Controller 2 originator device 10 pps Connection 3 NJ series Controller 3 target device to NY series Controller 1 originator device 210 pps EtherNet IP connection settings for Co...

Page 413: ... 10 pps for Connection 2 192 168 250 3 210 pps 210 pps for Connection 3 Adjusting Method If the calculation result value exceeds the values in the specifications of the devices used in the Eth erNet IP connections re evaluate the overall network configuration and correct it by taking steps such as selecting a different Ethernet switch or splitting the network If the RPI is made longer the PPS for ...

Page 414: ...tions error occurs for a device that is used along with output devices check the operating specifications and implement safety countermeasures The built in EtherNet IP port is automatically restarted after the parameters are downloaded This restart is required to enable the tag set and connection information Before you download the parameters check to confirm that problems will not occur with the ...

Page 415: ...sh an online connection between the computer and the Controller and then select Synchronization from the Controller Menu Or click the Button on the Toolbar The Synchronization Window is displayed and comparison of the user program and parameter settings between the Sysmac Studio and the Controller is started 2 The following Uploading and Downloading Data Window is displayed after the automatic com...

Page 416: ...ction settings execute Transfer from the EtherNet IP Connection Set ting Tab Page The connection settings are not transferred from the Synchronization Window the Transfer to Controller Dialog Box and the Transfer from Controller Dialog Box even if you clear the Do not transfer the connection setting Check Box as long as the data in the computer and in the Con troller is the same Transferring Only ...

Page 417: ...et IP Connection Settings with the Sysmac Studio 3 If the Controller connected online is in RUN mode the dialog box to confirm whether to switch to PROGRAM mode before transferring the settings is displayed Comparison The differences in the tag set and connection settings between the project and the EtherNet IP devices can be displayed 1 Click the Compare Button in the EtherNet IP Connection Setti...

Page 418: ...le EtherNet IP connections are active Major fault level Controller error Partial fault level Controller error Starting and Stopping the EtherNet IP Connections for the Entire Network You can start and stop EtherNet IP connections from the user program or from the Sysmac Studio Precautions for Correct Use Precautions for Correct Use Use the same method i e either the user program or the tool softwa...

Page 419: ...ions in the EtherNet IP Connec tion Monitor Tab Page 1 Select EtherNet IP Connection Settings from the Tools Menu to display the EtherNet IP Device List Tab Page 2 Right click the Controller you want to check the communications status and select Monitor from the menu The pane to monitor the EtherNet IP connection is displayed This pane has six tabs for each communications status 3 Select one of th...

Page 420: ...nnection status Name Description Tag Name The current status of each tag is indicated by its color Red Tag name resolution error Blue Tag name resolution normal Gray Not yet transferred no information in device Input Output Gives the type of the tag Status The following status is displayed depending on the status that is set Normally resolved Normal data exchange is possible Different sizes Differ...

Page 421: ... Gives the total connection duration in milliseconds Unconnected time Gives the total disconnection duration in milliseconds Number of connections in the Output Tag Set Tab Page Gives the number of connections Number of connected orig inators in the Output Tag Set Tab Page Gives the number of the connected originator devices Originator list in the Out put Tag Set Tab Page Target list in the Input ...

Page 422: ...tbeat trans mission cycle ms Gives the heartbeat transmission period of the connections from the tar get to the originator in milliseconds O T Timeout Gives the timeout time for the connections from the originator to the tar get in milliseconds T O Timeout Gives the timeout time for the connections from the target to the origina tor in milliseconds O T API actual packet interval Gives the API of c...

Page 423: ...The first time you establish an online connection between the Controller and the computer with Win dows Firewall enabled the dialog box to confirm the connection may be displayed If that occurs make the following selection in the dialog box Unblock on Windows XP Vista Allow access on Windows 7 higher If you make other selections than above there are cases when transferring and monitoring the Ether...

Page 424: ...nchronization Window The Sysmac Studio displays the following error message and the data will not be transferred Transfer to Controller Dialog Box The Sysmac Studio displays the following error dialog box and the data will not be transferred EtherNet IP Connection Set ting Tab Page The Transfer to Controller and Transfer from Controller Buttons are grayed out and the data cannot be transferred com...

Page 425: ...C Built in EtherNet IP Port User s Manual W563 A 2 Use the Sysmac Studio to Set the Tag Data Links EtherNet IP Connections A A 2 6 Troubleshooting Monitoring the settings cannot be performed Monitor data items in the EtherNet IP Connection Monitor Tab Page remain ...

Page 426: ...o 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 Windows Start Menu and then select Windows Firewall icon The Windows Firewall Dialog Box is displayed 2 Click on the Exceptions tab and select Sysmac Studio in the Programs and Services list Windows Vista Windows 7 or later ...

Page 427: ...d programs Check Box and click the OK Button 4 Select Advanced settings in the Windows Firewall Dialog Box The Windows Firewall with Advanced Security Dialog Box is displayed 5 Click Inbound Rules in the left pane and then double click SysmacStudio in the Inbound Rules list The SysmacStudio Properties Dialog Box is displayed 6 In the General Tab Page of the dialog box set the following settings Se...

Page 428: ...2 Cycle the power supply to the Controller Cycle the power supply to the NY series Controller and transfer monitor the EtherNet IP connections settings again Note You may need to cycle the power supply when reflecting the changes in the IP address of the built in Eth erNet IP port or executing Transfer to Controller ...

Page 429: ... the Network Configurator as the administrator Otherwise the following condition will result due to user management for Win dows security functions The results of the following operations are not applied for logins with other user accounts and must be repeated installing creating and deleting EDS files and creat ing EDS index files You can run the Network Configurator as the administrator with the...

Page 430: ...s are different a hardware device is added to the Hardware List for each version The EDS files are required by the Network Configurator to create a network configuration To create an EDS file use the following procedure 1 Select EDS File Create 2 Set the device information You can obtain the device information from the device on the net work if the network is online 3 The device is added to the Ha...

Page 431: ...ollowing confirmation dialog box is displayed 3 Click the Yes Button The selected device is deleted from the Hardware List together with the EDS file To save the EDS file use the following procedure 1 Select the target hardware device in the Hardware List and then select EDS File Save A Save EDS File Dialog Box is displayed 2 Input the folder and file names and click the Save Button The EDS file i...

Page 432: ...d 2 Input the character string to search for and click the Find Next Button 3 When a matching device is found the cursor moves to that position 4 To quit the search operation click the Cancel Button Additional Information The device is found only if it is located below the present cursor position in the Hardware List To search all the devices select Hardware in the Hardware List before you perform...

Page 433: ... following dialog box is displayed The time and date when the EDS file was created is displayed along with the device informa tion To manually add an EDS file or if a device is not displayed correctly in the hardware list use the follow ing procedure to recreate the EDS index file This applies to Network Configurator version 3 30 or higher 1 Select EDS File Create EDS Index File 2 Restart the Netw...

Page 434: ...d access from external sources e g the Internet The changes that are made with the following procedures are to allow the Network Configurator and the NY 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 1 When you attempt to connect to the NY series Controller from the Network Configurator the Windo...

Page 435: ...nd Rules in the Actions Area on the right side of the dialog box 5 Make the following settings for each step in the New Inbound Rule Wizard Dialog Box and click the Next Button to move between steps 6 Click the Finish Button The rule that you defined will be registered in the Inbound Rules e g Omron_EIP Close the Windows Firewall with Advanced Security Dialog Box 7 When you attempt to connect to t...

Page 436: ...Industrial Box PC Built in EtherNet IP Port User s Manual W563 8 Click the Allow access Button Windows 7 An EtherNet IP connection will be approved for the Network Configurator and you will be able to connect the Network Configurator in the future ...

Page 437: ...ch 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 auto matically structured by the Controller for the most efficient access Therefore the total amount of mem ory that is required for variables is not necessarily the total of the data sizes of the variables For example if WORD and DWOR...

Page 438: ...e bit is allocated in order for each element For the entire array a multiple of two bytes of memory is allocated including unused bits Data type Alignment bytes Amount of memory that is allocated bytes BOOL 2 2 BYTE USINT or SINT 1 1 WORD UINT or INT 2 2 DWORD UDINT or DINT 4 4 LWORD ULINT or LINT 8 8 REAL 4 4 LREAL 8 8 TIME DATE TIME_OF_DAY or DATE_AND_TIME 8 8 STRING N 1 1 1 N 1 Enumerations 4 4...

Page 439: ...byte of data in memory is an integer multiple of four bytes Therefore if a variable with a two byte alignment such as WORD data is inserted two bytes of unused memory will remain Example Consecutive variables in the following order DWORD WORD and DWORD Basic Data Types Amount of memory 2 Truncate the decimal portion of the result of the calculation in brackets Number of elements 1 16 2 Variable A ...

Page 440: ...ata is inserted four bytes of unused memory will remain Example Consecutive variables in the following order LWORD WORD and LWORD Variable Table Name A B C Data type LWORD WORD LWORD Variable A 8 bytes Variable B 2 bytes Variable C 8 bytes Bytes Memory 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...

Page 441: ...he members are arranged in order at integral multiples of the alignment of the data types of the members Example The alignments and the amounts of memory that are allocated for the four variable declara tions given in the following figure are given in the following table Arrays Structures Variable Alignment bytes Amount of memory that is allocated bytes A 4 8 B 4 8 C 4 16 D 4 16 Variable Table Nam...

Page 442: ...byte 16 First byte 17 First byte 18 First byte 19 First byte 20 First byte 21 First byte 22 First byte 23 First byte 24 First byte 25 First byte 26 First byte 27 First byte 28 First byte 29 First byte 30 First byte 31 First byte 32 First byte 33 First byte 34 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 ...

Page 443: ...b G 1 a 0 to G 1 a 7 G 1 b H 0 c H 0 d 0 to H 0 d 7 H 1 c H 1 d 0 to H 1 d 7 Bytes Memory 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 First byte 12 First byte 13 First byte 14 First byte 15 First byte 16 First byte 17 First byte 18 First byte 19 First byte 20 First byte 21 First byte 22 ...

Page 444: ...ns Name Union UNI_A a b Data type UNION DWORD WORD Variable A 4 bytes Variable B 4 bytes Variable C 8 bytes Variable D 8 bytes A a A b B c B d C 0 a C 0 b C 1 a C 1 b D 0 c D 0 d D 1 c D 1 d Bytes Memory 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 First byte 12 First byte 13 First byte 1...

Page 445: ...ign the memory configuration with a remote device For example the differences in the memory configuration for structure variables between an NY series Controller and a CJ series CPU Unit are shown below This section describes how to align the memory configuration for these Units A 5 2 Important Case Examples Aligning the Memory Configuration with a Remote Device Data Type Definitions Bytes NY seri...

Page 446: ...en 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 memory structure You can set the offset type to User to freely set your own offsets If you change the memory configuration of a structure variable by setting offsets you must make the same changes for the same structure variable in other NY series Co...

Page 447: ... byte 6 First byte 7 First byte 8 First byte 9 First byte 10 First 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 Variable b Variable c Bytes NY series Structure Variable NY_X First byte First byte 4 First byte 6 First byte 8 a b Not used c Bytes CJ ...

Page 448: ...cture Variable CJ_X First byte First byte 4 First byte 6 First byte 8 Variable Table Name Variable CJ_X Data type Structure Y Data Type Definitions Name Structure Y a b b2 c Data type STRUCT DINT INT INT DINT Bytes NY series Structure Variable NY_X First byte First byte 4 First byte 6 First byte 8 Variable Table Name Variable NY_X Data type Structure Y Data Type Definitions Name Structure Y a b c ...

Page 449: ...xternal Devices Variables That Are Assigned to External Outputs Any value that is written to a variable that is assigned to an external output in an NY series Control ler through a tag data link or communications instruction will be overwritten by the execution results of the user program The value that is written from the tag data link or communications instruction will therefore not be output to...

Page 450: ...waiting for a connection request SYN with a passive open SYN SENT The client sent a connection request SYN for an active open and is waiting for acknowledgement SYN ACK SYN RECEIVED The server sent an acknowledgement SYN ACK to a connection request SYN and is waiting for acknowledgement ACK ESTABLISHED A connection was established CLOSE WAIT The server sent acknowledgement ACK to a connection clos...

Page 451: ... action is given then none is performed Example When SYN and ACK are received in SYN SENT state ACK is sent and the state changes to ESTABLISHED CLOSED LISTEN SYN RECIEVED SYN SENT SYN received SYN ACK sent ESTABLISHED SYN received ACK sent FIN WAIT 2 TIME WAIT CLOSING LAST ACK CLOSED SEND SYN sent ACK for SYN received SYN ACK received ACK sent CLOSE FIN sent CLOSE FIN sent FIN received ACK sent C...

Page 452: ...Appendices A 66 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 ...

Page 453: ...Index 1 NY series Industrial Panel PC Industrial Box PC Built in EtherNet IP Port User s Manual W563 I Index ...

Page 454: ...load adjusting 13 6 Communications Port Error 3 3 3 14 Communications Port1 Error 3 4 3 14 community names 5 9 5 11 Connect TCP Socket instruction 9 13 Connection I O Type 7 35 7 36 Connection Name 7 35 7 36 connection settings automatically setting connections 7 38 batch editing 7 35 editing individual connections 7 34 Register Device List 7 32 Connection Tab Page 14 5 Connection Type 7 35 7 36 c...

Page 455: ...12 3 23 _EIP_TopAppCfgErr 3 20 error status 3 9 Ethernet addresses 1 10 Ethernet connectors 2 10 Ethernet Information Tab Page 14 8 Ethernet Link Object 8 47 Ethernet switches 1 5 2 2 functions 2 3 selection precautions 2 4 types 2 3 F fragmenting send data 9 5 FTP commands append 10 13 bye 10 15 cd 10 13 close 10 15 delete 10 15 dir 10 12 get 10 14 ls 10 11 mdelete 10 15 mdir 10 12 mget 10 14 mkd...

Page 456: ... connections via Ethernet to NJ series CPU Unit 7 51 Ethernet connections 7 48 network transmission delay time 13 26 network variables 7 7 importing to Network Configurator 7 29 Normal Target Node Information 3 10 3 22 14 4 NTP Last Operation Time 3 12 3 23 NTP Operation Information 3 11 NTP Operation Result 3 12 3 23 NTP Server Connection Error 3 8 3 20 number of connections calculating 13 4 O On...

Page 457: ...7 6 Tag Data Link Communications Error 3 7 3 19 Tag Data Link Communications Start Switch 3 12 3 23 Tag Data Link Communications Status 3 10 3 21 Tag Data Link Communications Stop Switch 3 12 3 23 Tag Data Link Connection Failed 3 7 3 19 tag data link parameters downloading 7 53 setting and downloading 7 7 uploading all 7 56 uploading from individual devices 7 58 Tag Data Link Setting Error 3 7 3 ...

Page 458: ...l Box PC Built in EtherNet IP Port User s Manual W563 Index V variable memory allocation rules A 51 versions 5 11 W Windows firewall settings changing A 48 Write Variable Class 3 Explicit instruction 8 5 Write Variable UCMM Explicit instruction 8 5 ...

Page 459: ......

Page 460: ... 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 com Kyoto JAPAN OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05 08 Lobby 2 Alexandra Technopark Singapore 119967 Tel 65 6835 3011 Fax 65 6835 2711 OMRON CHINA CO LTD Room 2211 Bank of China T...

Reviews: