background image

4   Determining IP Addresses

4-12

CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)

Conditions for Communications Applications

You can use the explicit message communications service over the Internet under the following con-
ditions.

A device such as a personal computer (a CIP application including the Network Configurator) can
connect online and communicate over the Internet with an EtherNet/IP Unit that has a global
address.

The TCP port number (44818) or UDP port number (44818) that is used for EtherNet/IP cannot be
used because it is prohibited by a firewall in the communications path.

Precautions for Correct Use

Precautions for Correct Use

Network Security and Firewalls

To set a global IP address for an EtherNet/IP Unit involves network security considerations. 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 network special-
ist and consider security measures such as a firewall. After a firewall has been set up by a com-
munications technician, there may be some applications that cannot be used. Be sure to check
first with the communications technician.

4-3-3

Using a Global Address for the EtherNet/IP Unit

Communications 
over Internet

Firewall

Ethernet (EtherNet/IP)

Firewall

IP router

Communications 
in intranet

EtherNet/IP Unit: Global address

Private address

Global address

Private address

Cannot connect to Internet

Cannot connect to Internet

Global address

 Internet

 Intranet

Private address

IP router

CIP client on a computer, 
such as Network 
Configurator

 Intranet

Ethernet (EtherNet/IP)

Controller

(required)

Содержание SYSMAC CJ1W-EIP21

Страница 1: ...Machine Automation Controller CJ series EtherNet IP TM Units EtherNet IP Units Operation Manual for NJ series CPU Unit W495 E1 05 CJ1W EIP21...

Страница 2: ...sibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication OMRON 2012 Sysmac and SYSMAC are trademarks or reg...

Страница 3: ...t 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 FA systems and...

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

Страница 5: ...e of use Manual NJ Series NX Series Basic information NJ series CPU Unit Hardware User s Manual NJ series CPU Unit Software User s Manual NJ series Instructions Reference Manual NJ series CPU Unit Mot...

Страница 6: ...each Unit lock the Units together Move the sliders toward the back of the Units as shown below until they click into place Precautions for Correct Use Precautions for Correct Use 4 3 1 Connecting Cont...

Страница 7: ...a 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 Preca...

Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 9: ...J series Units Sysmac Studio Settings for the EtherNet IP Unit Testing Communications Tag Data Link Functions Message Communications FTP Server Automatic Clock Adjustment SNMP Agent Communications Per...

Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 11: ...1 2 System Configuration 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 EtherNet IP Unit 1 7 1 3 1 Speci...

Страница 12: ...Specifying and Creating Variables 3 5 3 2 Device Variables for the CJ series Unit 3 6 3 2 1 Assigning Device Variables for CJ series Units 3 6 3 2 2 Device Variables for the CJ series Unit for Softwa...

Страница 13: ...Data Links 7 10 7 1 6 Controller Status 7 10 7 1 7 Concurrency of Tag Data Link Data 7 12 7 2 Setting Tag Data Links 7 16 7 2 1 Starting the Network Configurator 7 16 7 2 2 Tag Data Link Setting Proce...

Страница 14: ...Class ID F5 hex 8 33 8 3 4 Ethernet Link Object Class ID F6 Hex 8 35 8 3 5 Controller Object Class ID C4 Hex 8 39 Section 9 FTP Server 9 1 Overview and Specifications 9 2 9 1 1 Overview 9 2 9 1 2 Spe...

Страница 15: ...ting Examples 12 16 12 3 I O Response Time in Tag Data Links 12 21 12 3 1 Timing of Data Transmissions 12 21 12 3 2 EtherNet IP Unit Data Processing Time 12 22 12 3 3 Effect of Tag Data Links on Task...

Страница 16: ...A 2 2 Creating EDS Files A 4 A 2 3 Deleting EDS Files A 5 A 2 4 Saving EDS Files A 5 A 2 5 Searching EDS Files A 5 A 2 6 Displaying EDS File Properties A 6 A 2 7 Creating EDS Index Files A 6 A 3 Preca...

Страница 17: ...OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIM...

Страница 18: ...le uses of the products nor is it intended to imply that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or cond...

Страница 19: ...sult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturin...

Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 21: ...lowing notation is used Definition of Precautionary Information WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Additionally there may...

Страница 22: ...his example indicates a precaution for electric shock The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example in...

Страница 23: ...vided in external control circuits The Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a countermea sure for such...

Страница 24: ...en a momentary power interruption occurs This means that the NJ series Controller may receive incorrect signals from external devices that are also affected by the power interruption Accordingly take...

Страница 25: ...all terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals The loose screws may result in fire or malfunction Online Editing Execute online editing o...

Страница 26: ...locked into place Always remove any dustproof labels that are on the top of the Units when they are shipped before you turn ON the power supply If the labels are not removed heat will accumulate and...

Страница 27: ...the power supply to the Controller has turned ON If the power supply to the Controller is turned ON after the control power supply temporary errors may result in incorrect control system signals beca...

Страница 28: ...herCAT Master Function Module Always confirm safety at the connected equipment before you reset Controller errors for a CJ series Special Unit When a Controller error is reset the Unit where the Contr...

Страница 29: ...lly after the data link tables are trans ferred All CPU Bus Units are restarted when routing tables are transferred from Support Software to the CPU Unit Confirm that the system will not be adversely...

Страница 30: ...us communications are not always established immediately after the power supply is turned ON Use the system defined variables and the EtherCAT Coupler Unit device variables in the user pro gram to con...

Страница 31: ...and other CPU Bus Unit data which are stored in the CPU Unit We recommend replacing the Battery with the power turned OFF to prevent the CPU Unit s sensitive internal components from being damaged by...

Страница 32: ...tor is disconnected from the Rack Be sure that the connectors are secure Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure Do...

Страница 33: ...stablished Use the system defined variables to monitor for errors in communications with the slaves that are controlled by the motion control function module Motion control instructions are not execut...

Страница 34: ...he CPU Unit unused again without turning ON the power even once after the Battery is replaced may result in a shorter Battery life When you replace the Battery use the CJ1W BAT01 Battery Set Insert th...

Страница 35: ...ices that comply with EC Directives will vary depending on the configuration wiring and other conditions of the equipment or control panel on which the OMRON devices are installed The customer must th...

Страница 36: ...sion Racks under Configurations and Setup in the Multiview Explorer Or right click CPU Expansion Racks under Configurations and Setup and select Edit from the menu The Unit Editor is displayed for the...

Страница 37: ...displayed for the Controller Configurations and Setup layer 2 Right click the master in the EtherCAT Configurations Editing Pane and select Display Produc tion Information The Production Information...

Страница 38: ...he following table gives the CPU Units to which you can connect the EtherNet IP Unit according to the unit version of the EtherNet IP Unit Connect to a CPU Unit with unit version 1 01 or later and use...

Страница 39: ...an NJ series CPU Unit Information on the built in EtherNet IP port is provided Information is provided on the basic setup tag data links and other features Use this manual together with the NJ series...

Страница 40: ...U Unit are described including access methods and pro gramming interfaces Manuals are available for the following Units Analog I O Units Insulated type Analog I O Units Temperature Control Units ID Se...

Страница 41: ...ion code Date Revised content 01 March 2012 Original production 02 May 2012 Added information on functional support for unit version 1 02 and later of the CPU Units Corrected mistakes 03 August 2012 M...

Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 43: ...3 EtherNet IP Unit 1 7 1 3 1 Specifications 1 7 1 3 2 Part Names and Functions 1 9 1 3 3 Dimensions 1 15 1 4 Introduction to Communications Services 1 16 1 4 1 CIP Common Industrial Protocol Communic...

Страница 44: ...trollers and devices Tag Data Link Cyclic Communications Cycle Time Tag data links cyclic communications operate at the cyclic period specified for each application regardless of the number of nodes D...

Страница 45: ...d to the time of the clock in the SNTP server If all of the clocks in the system are automatically adjusted to the same time time stamps can be used to analyze production histories A separate SNTP ser...

Страница 46: ...n 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 without fixed r...

Страница 47: ...ces Required to Construct a Network Network device Function 1 Per Node NJ501 NJ series CPU Unit built in Ether Net IP port CJ series CJ1W EIP21 EtherNet IP Unit OMRON PLCs CJ2H CPU EIP or CJ2M CPU3 CJ...

Страница 48: ...ig urator is included in the Sysmac Studio Standard Edition The main functions of the Network Con figurator are given below 1 Setting and Monitoring Tag Data Links Connections The network device confi...

Страница 49: ...ervals can be set independently for each connec tion Data is refreshed over the network at the preset interval and does not depend on the number of nodes Allowed communications bandwidth per Unit 6 00...

Страница 50: ...an Ethernet switch that supports IGMP snooping 6 The EtherNet IP Unit uses the TCP UDP port numbers shown in the following table Do not set the same port number for more than one TCP UDP service 7 A...

Страница 51: ...t hexadecimal on the right side of the Unit 1 3 2 Part Names and Functions UNIT No EIP21 NODE No x160 x161 0 1 2 345 6 7 8 9 A B C D E F 0 1 2 345 6 7 8 9 A B C D E F 0 1 2 345 6 7 8 9 A B C D E F MS...

Страница 52: ...this label is affixed to the front of the Unit it is easy to confirm the Unit s IP address and subnet mask IP ADDRESS SUBNET MASK 192 168 250 1 255 255 255 0 UNIT No EIP21 NODE No x160 x161 0 1 2 345...

Страница 53: ...lashing or not lit The following table shows the meaning of these indi cator conditions Refer to Section 13 Troubleshooting for details on using these indicators for troubleshooting Indicators LEDs In...

Страница 54: ...its of the IP address is displayed in hexadecimal during normal operation Example 1 Displaying IP Address 192 168 250 10 If an error occurs the error code will be displayed alternately with the rightm...

Страница 55: ...tion error target nonexistent occurred with IP address 192 168 250 64 A C6 error multiple switches ON and EA error EtherNet IP Advanced Setting Error occurred at the local EtherNet IP Unit IP address...

Страница 56: ...Unit Note The unit number is factory set to 0 The unit number can be set to any number in the setting range 0 to F as long as the same number is not set on another CPU Bus Unit in the same Controller...

Страница 57: ...tting of 01 the default IP address is 192 168 250 1 The node address can be set to any number in the setting range 01 to FE as long as the same address is not set on another node in the network Additi...

Страница 58: ...h tags i and ii outputs which are in a tag set called SP1_OUT 1 4 1 CIP Common Industrial Protocol Communications Services Tag Data Links Cyclic Communications Tags Tag sets Total size of all tags 184...

Страница 59: ...nnection CIP messages CIP commands and responses can also be transferred to another CIP based network via the EtherNet IP Unit with the CIP routing function for message communications With NJ series C...

Страница 60: ...et nodes This makes it possible to exchange data files between a host computer and the Controller with the host computer as the FTP client and the Controller as the FTP server 1 4 2 BOOTP Client 1 4 3...

Страница 61: ...SNTP server is required to use automatic clock adjustment You can directly specify IP addresses but you can also use the host names instead of the IP addresses for SNTP servers SNMP managers or the d...

Страница 62: ...191 158 074 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C_JB 191 158 075 CJ1W EIP21 0C...

Страница 63: ...o Sysmac Studio Version 1 Operation Manual Cat No W504 1 Create a project 2 Register the EtherNet IP Unit in the Unit Configuration Register the EtherNet IP Unit in the Unit Configuration in CPU Expan...

Страница 64: ...ecial Unit Setup is not transferred to the EtherNet IP Unit 10Update the Special Unit Setup Use one of the following methods to transfer the Special Unit Setup that you made in the Edit Special Unit S...

Страница 65: ...e Sysmac Studio to the Network Configurator 7 2 4 Creating Tags and Tag Sets 2 Use Network Configurator to create the tag data link table Section 7 Tag Data Link Functions Create the network configura...

Страница 66: ...settings of the EtherNet IP Function Module Section 9 FTP Server Set the FTP settings enabling FTP login name and password 2 Connect to the FTP server in the NJ series CPU Unit from an FTP client appl...

Страница 67: ...ing EtherNet IP Network Functions Using BOOTP 1 Use the Sysmac Studio to set the initial settings of the EtherNet IP Function Module Section 5 Sysmac Studio Settings for the EtherNet IP Unit Set the B...

Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 69: ...2 3 2 Network Devices Manufactured by OMRON 2 5 2 3 3 Ethernet Switch Types 2 5 2 3 4 Ethernet Switch Functions 2 5 2 3 5 Precautions for Ethernet Switch Selection 2 6 2 4 Network Installation 2 8 2 4...

Страница 70: ...network If the FINS communications service is not used on the Ethernet network then it is all right for the same node address to be set on two or more EtherNet IP Units The node address must meet the...

Страница 71: ...t IP Units are mounted in combination with other CPU Bus Units the maximum total number of CPU Bus Units that can be mounted is 16 Additional Information The CJ1W EIP21 EtherNet IP Unit s maximum curr...

Страница 72: ...t the manufacturer Cisco Systems Inc CONTEC USA Inc Consult the manufacturer Contec USA Inc Phoenix Contact USA Consult the manufacturer Phoenix Contact Product Manufacturer Model Contact phone number...

Страница 73: ...ipped with an IGMP client that have made transfer requests to the Ethernet switch OMRON EtherNet IP Units are equipped with an IGMP client When the Ethernet switch does not use multicast filtering mul...

Страница 74: ...to unnecessary 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 switch...

Страница 75: ...ata link settings i e there are many multicast packets used or there is heavy traffic in the tag data links Special settings are required for an L2 Ethernet switch with multicast filtering There must...

Страница 76: ...arate from the information network Refer to 2 3 Selecting the Network Devices for the devices recommended for use with the EtherNet IP Unit Noise immunity may be reduced by ground loops which can occu...

Страница 77: ...e Note It is very difficult to distinguish cross cables and straight cables by appearance Incorrect cables will cause communications to fail We recommend cascade connections with straight cables whene...

Страница 78: ...than enough space for the bending radius of the twisted pair cable The space that is required depends on the communications cable and connector that you use Contact the manufacturer or sales agent 1...

Страница 79: ...is generated by the contact outputs Take either of the fol lowing countermeasures Separating the Units Separate the EtherNet IP Unit as far as possible from the Contact Output Units Separating the Cab...

Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 81: ...2 Device Variables for the CJ series Unit for Software Switches 3 6 3 2 3 Device Variables for the CJ series Unit for Status 3 8 3 2 4 Device Variables for the CJ series Unit for Setup 3 16 3 3 User D...

Страница 82: ...1 Data Flow Access method from the user program AT specification Timing of data exchange Classification of Unit data Device variables for CJ series Unit I O ports for oper ating data During I O refres...

Страница 83: ...m the CPU Unit to the EtherNet IP Unit are provided such as the Tag Data Link Start Bit Software switch data is stored in the I O ports for operating data that are assigned to the Ether Net IP Unit Fr...

Страница 84: ...Cat No W501 The CPU Unit and EtherNet IP Unit exchange data through the memory used for CJ series Units in the CPU Unit Refer to the NJ series CPU Unit Software User s Manual Cat No W501 for details o...

Страница 85: ...xpansion Racks Tab Page of the Controller Configurations and Setup and then select Register Data Types for Units from the menu to register the data type After you register the structure data type for...

Страница 86: ...Unit Tag Data Link Start Bit _TDLStartCmd Start the tag data links by changing this variable to TRUE If the tag data links are already operating the signal is ignored The tag data links start operati...

Страница 87: ...tings are downloaded from the Network Configurator If the tag data links are already stopped the signal will be ignored Message communications can be performed while the tag data links are stopped Aft...

Страница 88: ...e is TRUE If the corresponding element in the Normal Target Node Table is FALSE the Target Node PLC Oper ating Flags the previous operating status Target Node PLC Error Flags EtherNet IP Unit to CPU U...

Страница 89: ...Unit Status 1 changes to TRUE That is it is an OR of the status of the following variables _NetEr _UnitMemErr _LANHwErr _IPAdrDupErr _LkOffErr _UserStaAreaCfgErr FALSE None of the above errors current...

Страница 90: ...e is an error in the layout settings for the allocated words in the CIO Area In this case operation uses the default layout of the allocated words in the CIO Area How ever if a word that does not exis...

Страница 91: ...eration FALSE The setting on the node address switches is the same as when CPU Unit operation started _UserStaAreaEnblSta BOOL R User Setting Area Enabled TRUE The data in the user settings area is en...

Страница 92: ...red _TDLErr BOOL R Tag Data Link Error TRUE There were one or more errors in a connec tion as an originator This status does not indicate the following errors Errors in connections as a target Connect...

Страница 93: ...Bit 00 FTP Status Bit 14 Link Status _FTPSta BOOL R FTP Status TRUE The FTP server is operating i e when there is an FTP client connection FALSE The FTP is on standby i e waiting for a cli ent connect...

Страница 94: ...Error TRUE There was a failure to connect to the BOOTP server timeout FALSE The BOOTP is not set up or the BOOTP server is set up and an IP address was nor mally obtained from the BOOTP server _SNTPSv...

Страница 95: ...t IP Unit when the EtherNet IP Unit is the originator Normal Target Node Table EtherNet IP Unit to CPU Unit _EstbTargetSta 0 to 63 This variable shows the connection status of the target nodes that ar...

Страница 96: ...rect Use Precautions for Correct Use If the IP address is set to a value other than 0 0 0 0 in the TCP IP Settings that address is written to this variable even if you set the variable to a different...

Страница 97: ...cify the variable to which to assign the status area In the user program you can specify the user defined variable that is specified for the status area to access the status area The user defined vari...

Страница 98: ...e CPU Unit x EstbTargetSta TargetSta 0 to 255 x EstbTargetSta TargetStaWd 0 to 15 x The name of the user defined variable that is specified for the status area in the user settings Structure data type...

Страница 99: ...tar get PLCs The elements of this variable are valid only when the corresponding elements in the Normal Target Node Table is TRUE If the corresponding element in Normal Target Node Table is FALSE the...

Страница 100: ...3 Assigning Device Variables for CJ series Units 3 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 101: ...3 4 1 4 CIDR 4 3 4 2 Setting the IP Address of the EtherNet IP Unit 4 4 4 2 1 Determining IP Addresses 4 4 4 2 2 Setting IP Addresses 4 5 4 2 3 Online Connection 4 7 4 3 Private and Global Addresses...

Страница 102: ...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...

Страница 103: ...the host ID are set to 0 The following example shows the subnet mask for an 8 bit subnet ID used in class B IP addresses Set the same subnet mask for all of the nodes on that subnetwork The EtherNet...

Страница 104: ...use the Ether Net IP Unit with another EtherNet IP node set the IP address to the required value Automatically Obtaining the IP Address from the BOOTP Server There are two methods to automatically obt...

Страница 105: ...ton Note Use the Synchronization Menu of the Sysmac Studio to upload and download data 5 Restart the EtherNet IP Unit Click the Restart Button in the Edit Special Unit Setup Dialog Box 6 When the Ethe...

Страница 106: ...Not Allow It to Change After the I O address is downloaded the IP address from the BOOTP server is automatically saved in the EtherNet IP Unit and then the same address is used Additional Information...

Страница 107: ...EtherNet IP Unit Connection from USB Across Ethernet Additional Information Auto IP automatically assigns IP addresses in Windows 98 and later operating systems Unique IP addresses are automatically a...

Страница 108: ...s the Sysmac Studio via USB or Ethernet and then perform the following procedure 1 Select Controller Communications Setup and click the OK Button in the Sysmac Studio Project Window Additional Informa...

Страница 109: ...s 240 0 0 0 to 255 255 255 255 Connecting from a Saved Project The connection configuration that is set USB or EtherNet IP is saved in the project The file is xxx smc If you open a saved project on th...

Страница 110: ...ly 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 us...

Страница 111: ...ses Precautions for Correct Use Precautions for Correct Use Network Security and Firewalls To set up an intranet through a global address involves network security considerations Be sure to consult wi...

Страница 112: ...erNet IP Unit involves network security considerations 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 li...

Страница 113: ...the Unit Settings 5 2 5 1 2 Restoring the Default Unit Settings 5 2 5 2 TCP IP Settings Display 5 3 5 3 Link Settings Display 5 5 5 4 FTP Settings Display 5 6 5 5 SNTP Settings Display 5 7 5 6 SNMP Se...

Страница 114: ...Unit settings are transferred from the CPU Unit to the EtherNet IP Unit when the CPU Unit restarts Restarting the EtherNet IP Unit When you restart the EtherNet IP Unit with one of the following meth...

Страница 115: ...EtherNet IP Unit 1 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 EtherNet IP Unit None 3 Subnet mask 2 S...

Страница 116: ...the gateway IP address 130 25 36 253 if communications instructions are executed on node A and addressed to node B Setting Description Default Destination IP address Set these settings when the Ether...

Страница 117: ...ts Operation Manual for NJ series CPU Unit W495 5 3 Link Settings Display 5 5 3 Link Settings Display Setting Description Default LINK settings Set the baud rate for the EtherNet IP Unit Auto 10 Mbps...

Страница 118: ...fault 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 2 Set the FTP port number of...

Страница 119: ...pecifying method 1 Set the method to use to specify the SNTP server to obtain clock informa tion IP address Host name IP address IP address 3 Set the IP address of the SNTP server Set this setting if...

Страница 120: ...he EtherNet IP Unit 5 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Additional Information Refer to Section 10 Automatic Clock Adjustment for details on obtaining clock in...

Страница 121: ...the port number to use to connect to the SNMP server that is used to connect from an SNMP manager It is normally not necessary to change this setting 0 port No 161 Address Set the communications devi...

Страница 122: ...can use up to 200 single byte alphanumeric characters dots and hyphens with up to 63 single byte alphanumeric characters between dots None Community name Set the community name to enable the SNMP mana...

Страница 123: ...be set by the user 53 68 123 161 2222 9600 and 44818 Additional Information Refer to 11 1 1 Overview for details on the SNMP trap Setting Description Default SNMP trap Specify whether to use the SNMP...

Страница 124: ...t to the Host name Option You can use up to 200 single byte alphanumeric characters dots and hyphens with up to 63 single byte alphanumeric characters between dots None Community name Set the communit...

Страница 125: ...et IP Unit when the EtherNet IP Unit is the orig inator Default The following device variables for the CJ series Unit are used _TargetPLCMdSta Target Node PLC Operating Flags _TargetPLCErrSta Target N...

Страница 126: ...5 Sysmac Studio Settings for the EtherNet IP Unit 5 14 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 127: ...P Units Operation Manual for NJ series CPU Unit W495 6 6 1 Testing Communications 6 2 6 1 1 PING Command 6 2 6 1 2 Using the PING Command with the EtherNet IP Unit 6 2 6 1 3 Host Computer Operation 6...

Страница 128: ...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 whe...

Страница 129: ...130 25 36 8 The in the example 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 Hos...

Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 131: ...nections Using the Wizard 7 41 7 2 7 Creating Connections by Device Dragging and Dropping 7 43 7 2 8 Connecting the Network Configurator to the Network 7 47 7 2 9 Downloading Tag Data Link Parameters...

Страница 132: ...I O device is used the Network Configurator must have an EDS file installed that includes connection information for the I O device Refer to A 2 EDS File Management for the installation procedure The...

Страница 133: ...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 se...

Страница 134: ...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 IP address N Tag Se...

Страница 135: ...s each tag set contains only one tag Tag Sets with Multiple Tags Each As shown below tags can be grouped You can place up to eight tags with a total of up to 722 words in one tag set Tag set SP1_IN ta...

Страница 136: ...with the Network Configu rator you must download the tag data link parameters to all devices on the Eth erNet IP network You can export the network variables that you created on the Sysmac Studio to...

Страница 137: ...ute to maintain concurrency as described below for tag data link data Note If a variable that uses an AT specification is used as a tag you do not need to set a refreshing task It is refreshed in the...

Страница 138: ...e of 1 444 bytes 722 words for each tag You can import and export network variables that are created on the Sysmac Studio to CSV files This allows you to register them as tags on the Net work Configur...

Страница 139: ...192 168 250 254 in bidirectional connection with 128 nodes Example of Calculating the Number of Connections The maximum number of connections for node 192 168 250 254 is 256 192 168 250 254 Tagset_in...

Страница 140: ...t values Precautions for Correct Use Precautions for Correct Use The performance of communications devices is limited to some extent by the limitations of each product s specifications Consequently th...

Страница 141: ...e target nodes In this case it is necessary to change the target 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 t...

Страница 142: ...g network variables that are assigned to tags is synchronized with the execution period of the program that accesses the network variables Additional Information A refreshing task maintains concurrenc...

Страница 143: ...f the Controller 3 A tag that uses AT specification must not be included in the same tag set 4 The variable access time set for each task must be set to a higher value than is required to transfer the...

Страница 144: ...e lowest execution priority and therefore it is not synchronized with the execution of the program Connection Tag data links updated NJ series Controller NJ series Controller Refreshing task Refreshin...

Страница 145: ...t a refreshing task for tags network variables to maintain the concurrency of data link data the processing time required for that specified task increases Due to this increase in task pro cessing tim...

Страница 146: ...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...

Страница 147: ...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 Networ...

Страница 148: ...ata Link Parameters 2 Create the tag and tag set connections 1 Create tags and tag sets for all registered devices EtherNet IP Units Refer to 7 2 4 Creating Tags and Tag Sets 2 Create a connection for...

Страница 149: ...er the icon move the icon to the destination 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 i...

Страница 150: ...ac Studio to the Network Configurator 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...

Страница 151: ...7 2 4 Creating Tags and Tag Sets 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...

Страница 152: ...Precautions for Correct Use Precautions for Correct Use Specify the variable names for tags To specify an I O memory address for a tag do not specify the I O memory address for the tag directly Instea...

Страница 153: ...name the Edit Tag Dialog Box is displayed with the next consecutive address as the tag name for the next tag After you have registered all of the tags click the Close Button 8 Click the Out Produce Ta...

Страница 154: ...ssigned to tags in the tag set Do not place tag variables that have AT specifications in I O memory and tag variables that do not have AT specifications in the same tag set 10 At this point a confirma...

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

Страница 156: ...Dialog Box is displayed 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...

Страница 157: ...Edit Tags Dia log Box 19 At this point a confirmation dialog box is displayed to check whether the registered tag names are used as the tag set names Tags are just added in this case so click the No...

Страница 158: ...the Edit Device Parameters Dialog Box You can create network variables in the Sysmac Studio and import these variables to the Network Con figurator to assign them to tags and tag sets Use the followi...

Страница 159: ...r lowercase followed by sin gle byte numerals H Example H30 W Example w30 D Example D100 E0_ to E18_ Example EA_100 1 Double click the icon of the device registered in the Network Configurator for whi...

Страница 160: ...rent tag set and the device parameters will be automatically edited The variable name will be used for the tag set name To place more than one input variable input tag imported from the Sysmac Studio...

Страница 161: ...rm a change click the Regist Button in the Edit Tag Set Dialog Box 4 Perform steps 1 to 3 for all the devices to import variables and to create tag sets After you create the tag sets click the Connect...

Страница 162: ...ake originator settings in the Network Configu ration Pane of the Network Configurator The Edit Device Parameters Dialog Box is displayed Right click the icon to display the pop up menu and select Par...

Страница 163: ...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 PLC Operating Flags Ta...

Страница 164: ...efer 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 Dialog Box is di...

Страница 165: ...cast or unicast point to point format The default setting is multi cast Multi cast connection Select when the same data is shared by multi ple nodes This setting is usually used Point to Point connec...

Страница 166: ...rget s output 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 S...

Страница 167: ...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...

Страница 168: ...nsume tag sets named I_Signal at nodes B and C and O_ and I_ are set as forward ellipses Automatically Setting Connections Network Auto Connection Output tag set names for connec tion setting Except f...

Страница 169: ...lect Auto Connection Configuration from the Network Menu The connections will be set automatically A dialog box will appear to set forward and backward ellipses for both output and input tag sets as s...

Страница 170: ...ange the RPI and timeout settings Connection settings can be displayed on the network configuration Select View Device s Connection Structure Tree from the Network Menu You can use the Display the det...

Страница 171: ...ng procedure 2 For tag data links between OMRON PLCs a connection is created in the PLC i e the origina tor device that receives data as input data First select the registered device for which you wan...

Страница 172: ...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...

Страница 173: ...e 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...

Страница 174: ...wing figure for connection allocation will be displayed when you drag the target device and drop it at the OMRON EtherNet IP device 1 Using One of the Above OMRON EtherNet IP Devices As Target Select...

Страница 175: ...the target device Items that can be selected will depend on the connection I O type that is selected Select the output input or both output and input tag sets at the target and specify the correspond...

Страница 176: ...re 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 Regist B...

Страница 177: ...indows firewall settings For the procedure refer to A 3 Pre cautions for Using the Network Configurator on Windows XP Windows Vista or Windows 7 Connect to the EtherNet IP Unit s Ethernet port via the...

Страница 178: ...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...

Страница 179: ...ure to connect to the EtherNet IP Unit via the USB port on the CPU Unit 1 Select the communications interface Select Option Select Interface NJ Series USB Port 2 Select TCP 2 and then click the OK But...

Страница 180: ...depends on the specifications of the device being used When a communications error occurs for a device that is used along with output devices check the operating specifications and implement safety co...

Страница 181: ...to All Devices in the Network Select 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...

Страница 182: ...the operat ing modes after the parameters are downloaded You can click the Download with Current mode Button to download the parameters even when one or more CPU Units is in RUN mode The Download wit...

Страница 183: ...ll 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 param...

Страница 184: ...work 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...

Страница 185: ...nt to upload the parameters To select multiple nodes press and hold the Shift Key while you select additional icons In the following example 2 nodes are selected 192 168 250 1 and 192 168 250 2 Right...

Страница 186: ...g procedure to compare the list of registered devices in the Network Configura tion Pane with the devices connected on the EtherNet IP network and check the IP addresses and device types This function...

Страница 187: ...h 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 EtherNet...

Страница 188: ...splayed 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 5 If multiple nodes have been selected...

Страница 189: ...it to TRUE in the user program to start and stop tag data links for individual devices Refer to Section 3 Assigning Device Variables for CJ series Units _TDLStartCmd Tag Data Link Start Bit _TDLStopCm...

Страница 190: ...Page in the Monitor Device Dialog Box This applies only to tag data links for which the device is the originator Select Monitor from the Device Menu to access the Monitor Device Dialog Box Start Conn...

Страница 191: ...s on how to connect to the network from the Network Configurator refer to 7 2 8 Connecting the Network Configurator to the Network 1 Connect the Network Configurator online 2 Select the icon of the Et...

Страница 192: ...tions for Correct Use Precautions for Correct Use The Controller is not restarted Only the EtherNet IP Unit is restarted No Button The device parameters are not cleared or reset You can save device pa...

Страница 193: ...n 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 c...

Страница 194: ...lect 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 c...

Страница 195: ...t 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 se...

Страница 196: ...ls 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 d...

Страница 197: ...f 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 4 Cannot be changed if a variable is...

Страница 198: ...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 mod...

Страница 199: ...ablished with the target device and tag data links are operating 3 The element corresponding to the target node address in the Normal Target Node Table variable _EstbTargetSta 0 to 63 is TRUE Conditio...

Страница 200: ...Target Node Table 1 _EstbTargetSta 1 Normal Target Node Table 2 _EstbTargetSta 2 Target Node PLC Operating Flags 2 _TargetPLCMdSta 2 Target Node PLC Operating Flags 1 _TargetPLCMdSta 1 Target Node PL...

Страница 201: ...Processing Programming Example The following type of programming can be used to process data only when the data links are oper ating normally Online _ETNOnlineSta Normal Target Node Table 2 _EstbTarge...

Страница 202: ...or occurs in communications 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...

Страница 203: ...e _TargetPLCErrSta 0 to 63 Target Node PLC Error Flags Corresponds to the Controller Error Information in the Controller status This variable indicates that the connection for the Registered Target No...

Страница 204: ...words when the tag set includes the Control ler status Number of registra ble tags 256 32 256 1 Tag sets Maximum size of 1 tag set 722 words 721 words when the tag set includes the Controller status 2...

Страница 205: ...s are set using I O memory addresses or network variables The supported tag specification methods for each CPU Unit are listed in the table below Yes Supported No Not supported To specify an I O memor...

Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 207: ...Path 8 6 8 2 5 Preparing Derivative Data Types to Use CIP Communications Instructions 8 11 8 2 6 Sample Programming for CIP Connectionless UCMM Message Communications 8 13 8 2 7 Sample Programming for...

Страница 208: ...er 8 1 1 Overview 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 connect...

Страница 209: ...a variable with a Network Publish attribute from the specified remote Controller on the CIP network and stores the value in a variable at the local Controller CIP UCMM connectionless messages CIPUCMM...

Страница 210: ...tes the value of a variable at the local controller to a variable with a Network Publish attribute at the specified remote Controller on the CIP network CIPSend Send Explicit Message Class 3 Sends a s...

Страница 211: ...1 D00002 D00009 Assigned SrcDat Execute Handle Size RcvSize DstDat MyArray WORD 10 5 Local Controller Remote Controller 1 Variable specified CIPRead VAR ARRAY 0 9 OF WORD AT D0 MyArray ARRAY 0 9 OF WO...

Страница 212: ...ss as the address of the remote Unit 2 When Routing the Output to a Communications Port on a Communications Unit Output the command to an EtherNet IP port Specify the IP address as the address of the...

Страница 213: ...t IP port Remote address Specify the remote IP address 3 EtherNet IP Unit 2 to CPU Unit 2 Network type number 01 Output the command via internal backplane port Remote address 00 unit address of CPU Un...

Страница 214: ...ss 3 CPU Unit 2 to EtherNet IP Unit 2 Network type number 01 Output the command via internal backplane port Remote address 12 Unit address of EtherNet IP Unit Unit number 2 10 hex 12 hex 4 EtherNet IP...

Страница 215: ...emote address Specify the remote IP address 3 EtherNet IP Unit 2 to CPU Unit 2 Network type number 01 Output the command via internal backplane port Remote address 00 unit address of CPU Unit Version...

Страница 216: ...Class ID Instance ID and Attribute ID within the device Refer to 8 3 CIP Objects Sent to the EtherNet IP Unit for the class ID instance ID attribute ID and service code for each object Request Path I...

Страница 217: ...nto the structure variable of a CIP communications instruction you must create a user defined variable with the same configuration in advance Example Creating a Variable to Input Data to the CIPSend I...

Страница 218: ...rray 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 varia...

Страница 219: ...able 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 th...

Страница 220: ...MMRead_instance CIPUCMMRead CIPUCMMSend_instance CIPUCMMSend EtherNet IP Unit IP address 192 168 250 2 Message sent to read identity information product name Response RespDat Value of variable read Re...

Страница 221: ...ENO In Out MOVE EN ENO In Out MOVE MOVE EN ENO In Out MOVE EN ENO In Out CIPUCMMSend CIPUCMMSend_instance Execute Done RoutePath Busy TimeOut Error ServiceCode ErrorID RqPath ErrorIDEx ServiceDat Resp...

Страница 222: ...ries CPU Unit W495 Operating CIPUCMMSend_instance Done Processing after normal end 1 Processing after normal end Inline ST 2 Operating Processing after error end CIPUCMMWrite_instance Error CIPUCMMRea...

Страница 223: ...ite_instance Execute TRUE RoutePath RoutePathDat Route path TimeOut UINT 20 Timeout value DstDat WritingDat Source variable name Size UINT 1 Number of elements to write SrcDat WriteDat Write data IF C...

Страница 224: ...NT 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 RoutePathDat...

Страница 225: ...ble 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...

Страница 226: ...AY 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 CIPCl...

Страница 227: ...one Handle Busy ServiceCode ErrorID RqPath ErrorIDEx ServiceDat RespSize Size RespSize RespServiceDat ReadDat RoutePathDat UINT 20 CIPOpen CIPOpen_instance Execute Done RoutePath Busy TimeOut Error Er...

Страница 228: ...95 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...

Страница 229: ...e 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 T...

Страница 230: ...PWrite_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 T...

Страница 231: ...Service code RqPath ReqPath Request path ServiceDat Dummy Service data Size UINT 0 Number of elements RespServiceDat RespDat Response data IF CIPSend_instance Done TRUE THEN Stage INT 5 Normal end EL...

Страница 232: ...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 occ...

Страница 233: ...s General Status 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 s...

Страница 234: ...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 da...

Страница 235: ...e and attribute 29 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...

Страница 236: ...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 p...

Страница 237: ...t Resets the EtherNet IP Unit page 8 31 TCP IP interface object Writes and reads TCP IP settings page 8 33 Ethernet link object Reads Ethernet settings Reads Ethernet status page 8 35 Controller objec...

Страница 238: ...P Advanced Setting Error DNS Server Connection Error Tag Data Link Setting Error Tag Data Link Error Tag Data Link Connection Failed FTP Server Settings Error NTP Client Setting Error SNMP Settings Er...

Страница 239: ...Get_Attribute_Single Reads the value of the specified attribute Supported Supported 05 hex Reset Resets the EtherNet IP Unit This parameter is used to reset the EtherNet IP Unit when you change the I...

Страница 240: ...Static IP address Bit 1 Set by BOOTP 04 hex Physical Link Object The path to the link object in the physical layer Read Struct Path size The path size WORD size UINT 0002 hex Path The path to the link...

Страница 241: ...ibute ID 01 hex Get_Attribute_All F5 hex Specifying a service for a class 00 hex Specifying a service for an instance 01 hex Not required 0E hex Get_Attribute_Single Reading a class attribute 01 or 02...

Страница 242: ...DINT 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...

Страница 243: ...an internal MAC sublayer transmission error UDINT Reads the current value Carrier Sense Errors The number of times the carrier sense condition was lost or the number of times an assertion did not occ...

Страница 244: ...is TRUE this should always be FALSE 2 to 16 Reserved Always FALSE Service code Parameter name Description Supported services Classes Instances 0E hex Get_Attribute_Single Reads the value of the speci...

Страница 245: ...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 when you want to write to an attribute 0000...

Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 247: ...edure 9 5 9 3 2 List of Settings Required for the FTP Server Function 9 5 9 4 FTP Server Application Example 9 6 9 5 Using FTP Commands 9 7 9 5 1 Table of Commands 9 7 9 5 2 Using the Commands 9 8 9 6...

Страница 248: ...the remote 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 Tra...

Страница 249: ...me label has not been created The login name and password set in the Unit settings for the CPU Bus Unit will be used to connect Additional Information When a general purpose FTP application is used yo...

Страница 250: ...the FTP server may be simultaneously accessed from multiple sources with communications commands from other FTP servers or programming instructions Exclusive control is required to prevent multiple a...

Страница 251: ...name and password that you set in the EtherNet IP Unit Settings to log in to the EtherNet IP Unit 8 After you are logged in you can use the ftp commands such as cd Change Directory and get Obtain Fil...

Страница 252: ...ing diagram to read and write files The following directory tree is used in this example Login name Results IP address of the EtherNet IP Unit D tmp ftp 192 168 250 2 Connected to 192 168 250 2 220 19...

Страница 253: ...n Connects the specified host FTP server user Specifies the user name for the remote FTP server ls Displays file names in the remote host dir Displays file names and details in the remote host rename...

Страница 254: ...t on the 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 SD...

Страница 255: ...file to a different directory Format mkdir directory_name Function Creates a directory of the specified name at the remote host on the SD Memory Card An error will occur if a file or directory of the...

Страница 256: ...transfers before you upload or download files File contents can not be guaranteed if transferred as ASCII data The default file type is ASCII Format get file_name receive_file_name Function Transfers...

Страница 257: ...same name in the remote host on the SD Memory Card is overwritten by the contents of the transferred file If an error occurs during file transfer the file being transferred is deleted and the transmis...

Страница 258: ...9 FTP Server 9 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Function Ends the FTP sessions Format quit Function Ends the FTP sessions quit...

Страница 259: ...ory Card or turn OFF power to the Controller while FTP is being used Additional Information When using File Memory Instruction from the program in the CPU Unit program exclusive con trol using the FTP...

Страница 260: ...data on the SD Memory Card Use the SD Memory Card that is specified below Operation may not be dependable if another SD Memory Card is used 9 7 1 SD Memory Card Types Item Specification Model number H...

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

Страница 262: ...ile in binary format Additional Information When you handle a binary file on the NJ series CPU Unit always specify the binary data type with the type command before you read or write the file via FTP...

Страница 263: ...epending on the capacity of the file Approxi mate file transfer time are provided in the following table for reference All times are in seconds unless otherwise specified Example Transfer Times in RUN...

Страница 264: ...d to the SD Memory Card in the CPU Unit 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...

Страница 265: ...to the 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...

Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 267: ...ic Clock Adjustment 10 2 10 1 1 Overview 10 2 10 1 2 Specifications 10 2 10 2 Procedure to Use the Automatic Clock Adjustment Function 10 3 10 2 1 Procedure 10 3 10 2 2 Settings Required for Automatic...

Страница 268: ...2 Specifications Item Specification Protocol SNTP Port No 123 UDP However you can change the port number in the EtherNet IP Unit Settings on the Sysmac Studio Access to SNTP server Writes the clock in...

Страница 269: ...e EtherNet IP Unit settings are trans ferred to the CPU Unit The following EtherNet IP Unit Settings are made from the Sysmac Studio to use automatic clock adjustment Additional Information Make the s...

Страница 270: ...change the following device variable for the CJ series Unit to TRUE the EtherNet IP Unit obtains the clock data from the SNTP server on the network and applies it to the local CPU Unit After applying...

Страница 271: ...Unit W495 11 11 1 SNMP Agent 11 2 11 1 1 Overview 11 2 11 1 2 Specifications 11 3 11 1 3 SNMP Messages 11 3 11 1 4 MIB Specifications 11 4 11 2 Procedure to Use the SNMP Agent 11 19 11 2 1 Procedures...

Страница 272: ...es on the SNMP network and provides that information to the network administrator You can use the SNMP manager to monitor the EtherNet IP Unit The SNMP manager has a SNMP command to request MIB inform...

Страница 273: ...ecifications 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 EtherNet IP Unit Settings from the Sysmac Studio...

Страница 274: ...r 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 informatio...

Страница 275: ...on the administrator Sup ported Set by the user sysName 5 RW The name for management Sets the full domain name of the device Sup ported Unit name sysLocation 6 RW The physical location of the device...

Страница 276: ...p ported According to the standard ifInOctets 10 RO The number of octets received through this inter face This includes framing characters Sup ported According to the standard ifInUcastPkts 11 RO The...

Страница 277: ...packets and unsent pack ets Sup ported According to the standard ifOutDiscards 19 RO The number of packets that had no errors but were discarded in the sending process due to a send buffer overflow e...

Страница 278: ...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 gatew...

Страница 279: ...flag in the IP header that indicates if the datagram is fragmented You can use that flag to identify fragments Sup ported According to the standard ipReasmOKs 15 RO The number of IP datagrams receive...

Страница 280: ...ernet standard In that case this value is always 1 Sup ported According to the standard ipAdEn tReasmMax Size 5 RO The maximum IP packet size that can be reas sembled from IP fragmented input IP datag...

Страница 281: ...address or address of that interface Sup ported According to the standard ipRouteType 8 RW The type of route Other 1 Not any of the following types Invalid 2 An invalid route Direct 3 A direct connect...

Страница 282: ...ices are ipNetToMediaIfIndex and ipNetToMediaNetAd dress ipNetToMedi aIfIndex 1 RW The interface ID number for this entry The value of ifIndex is used for this value Sup ported According to the standa...

Страница 283: ...ssages received 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...

Страница 284: ...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 m...

Страница 285: ...OSE state directly 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...

Страница 286: ...ss 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 Accordi...

Страница 287: ...is used for UDP listeners that accept data grams 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 porte...

Страница 288: ...nse 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...

Страница 289: ...e SNMP agent 11 2 1 Procedures 11 2 2 Settings Required for the SNMP Agent Tab page Setting Setting conditions Reference SNMP Settings SNMP service Required page 5 9 Port No Specified by user Note Req...

Страница 290: ...Additional Information Make the settings in the SNMP Settings Dialog Box and SNMP Trap Dialog Box if the SNMP agent is used Refer to 5 6 SNMP Settings Display for information on the SNMP Settings Dia...

Страница 291: ...for Tag Data Links 12 7 12 2 2 Tag Data Link Bandwidth Usage and RPI 12 8 12 2 3 Adjusting Device Bandwidth Usage 12 9 12 2 4 Changing the RPI 12 10 12 2 5 RPI Setting Examples 12 16 12 3 I O Respons...

Страница 292: ...t 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 th...

Страница 293: ...called the allowed Unit bandwidth is 6 000 pps so set the connection below this maximum value Example Node 1 has both originator and target connections with send RPI of 200 ms and 2 ms and receive RPI...

Страница 294: ...he total is three 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 c...

Страница 295: ...the EtherNet IP Unit 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...

Страница 296: ...t 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 conne...

Страница 297: ...e 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...

Страница 298: ...tes 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 100 Mbps t...

Страница 299: ...r each node If any node exceeds 100 change the connections settings such as the RPI Is the total network bandwidth usage under 100 Mbps If the total bandwidth usage exceeds 100 Mbps the bandwidth of p...

Страница 300: ...et 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 t...

Страница 301: ...es 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...

Страница 302: ...y 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 pac...

Страница 303: ...cast 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 als...

Страница 304: ...ts Operation Manual for NJ series CPU Unit W495 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...

Страница 305: ...width 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...

Страница 306: ...cep tion so that the Units exchange data mutually By default the packet intervals RPIs are set to 10 ms for all of the connections The devices IP addresses range from 192 168 250 1 to 192 168 250 20 1...

Страница 307: ...pacity is 33 67 as shown in the following dialog box Method 1 Same Packet Interval Setting for All Connections The percentage of the allowed tag data link bandwidth being used Usage of Capacity was 33...

Страница 308: ...17 and the fastest set value is 4 ms Method 2 Changing the Packet Interval RPI of Only Specific Devices In this example we want faster tag data links for devices 192 168 250 1 and 192 168 250 10 only...

Страница 309: ...Capacity values also indicate that the Usage of Capacity has increased from 33 64 to 37 83 for all of the other devices which connect with devices 192 168 250 1 and 192 168 250 10 In this case if the...

Страница 310: ...Double click this connection to edit the settings In the Edit Connection Dialog Box input 1 ms as the new RPI value and click the OK Button The tag data link bandwidth used by device 192 168 250 1 Us...

Страница 311: ...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...

Страница 312: ...cess time set for the task 2 1 3 1 This is the time required for data transfer as calculated in 1 above 2 This is the variable access time that is set for each task in the Task Setup 3 Delay in Data T...

Страница 313: ...er size that can be pro cessed by the CPU Unit in one transfer is exceeded The maximum data transfer sizes are given below Data Transfer Sizes for Each Data Transfer with the CPU Unit Output send data...

Страница 314: ...actual time required for the data transfer 500 s 17 times 1 1 2 000 s 10 500 s The tag data is transferred during task processing Therefore if you need to complete transfer process ing for task data w...

Страница 315: ...switch delay time Also one task period is required until the data is stored in the memory area of the CPU Unit Therefore the input ON response time is obtained as shown below Input ON response time I...

Страница 316: ...CPU Unit Data is received during task processing Therefore the time required for receive data process ing is the same as the task period If the data that is transferred is larger than the amount of da...

Страница 317: ...s and the system configuration CIP communications processing is executed as a system service If a timeout occurs for a CIP communications instruction reconsider the execution time for system services...

Страница 318: ...12 Communications Performance and Communications Load 12 28 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 319: ...Codes and Error Processing 13 20 13 4 Error Log 13 26 13 4 1 Error Log Data 13 26 13 4 2 Error Log Error Codes 13 27 13 5 Event Logs 13 31 13 5 1 Overview of the Event Logs 13 31 13 5 2 Error Table 1...

Страница 320: ...ked right click to display the pop up menu and select Monitor The Monitor Device Dialog Box will be displayed Additional Information If a communications error occurs during monitoring the dialog box w...

Страница 321: ...ies Unit i e Unit Status 1 Unit Status 2 Communications Status 1 Communications Status 2 and Communications Status 3 The given status is TRUE if the check box for it is selected In addition the Target...

Страница 322: ...data links The node is displayed in blue if the connection is normal or red if there is an error The Connected Status of FINS TCP Con nections Area shows the status of FINS TCP connections The check...

Страница 323: ...nnec tions to the node are established and normal this information is displayed in blue However if any connection is broken the information is displayed in red However this information is displayed in...

Страница 324: ...History Tab Page displays the error log stored in the EtherNet IP Unit Errors that occurred in the past are recorded and can be saved in a computer file as required In some cases error records are cle...

Страница 325: ...ork Configurator s Device Monitor Function Controller Log Tab Page This tab page displays the Controller event log that is stored in the CPU Unit of the Controller where the EtherNet IP is connected T...

Страница 326: ...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 i...

Страница 327: ...igurator s Device Monitor Function Ethernet Information Tab Page This tab page displays the communications status at the communications driver level of the Ether Net IP Unit The error counter informat...

Страница 328: ...lit H6 CPU Unit faulty Records the error in the error log time date all zeroes Operation stops 000F Replace the CPU Unit if the error recurs when the CPU Unit is restarted Flash ing red Not lit H7 I O...

Страница 329: ...Area refreshing the user specified status area is stopped and tag data links will operate as follows Tag data link communi cations will be stopped for originator connec tions Communications will conti...

Страница 330: ...f the tag data link connection and the Controller sta tus is included in the communications data the corresponding ele ment in the Target Node PLC Error Flags will change to TRUE Note Recovery is poss...

Страница 331: ...F settings and data transfer will continue with that data 0015 Eliminate the cause of the error in the CPU Unit The tag data link will restart automatically when the cause of the error is elimi nated...

Страница 332: ...nnect to the target _TDLOpnErr Verifica tion Error _UnitErr Unit Error Occurred and _NetErr Network Error Occurred will change to TRUE 03D4 Correct the device parameter settings and download the devic...

Страница 333: ...will continue operating _UnitErr Unit Error Occurred _UnitMemErr Unit Memory Error and _MemErr Nonvolatile Memory Error will change to TRUE 0602 Download the Unit Setup from the tab pages of the Edit...

Страница 334: ...the Unit Setup from the tab pages of the Edit Parameters Dialog Box of the Sysmac Studio Flash ing red F2 Ethernet Basic Settings Error 03D0 Download the set tings from the TCP IP or Ethernet Tab Page...

Страница 335: ...any problems Errors Related to the Network E3 Server Connec tion Error An error occurred with the BOOTP server 1 There was no response from the BOOTP server 2 The BOOTP server attempted to set an inva...

Страница 336: ...ems An error occurred in transmission to the SNMP trap 03C4 Details 07xx Perform one of the following Correct the SNMP trap settings Check the commu nications path Eth erNet IP Unit cable connections...

Страница 337: ...Controller Error An error occurred in the Communications Controller in the Eth erNet IP Unit The Unit will be offline and unable to commu nicate Errors will be returned to all commu nications request...

Страница 338: ...nal Status hex Configuration 1 Configuration 2 Configuration 2 00 0000 Normal status code The connection has been opened and the tag data link is communicating normally 01 0100 Error code returned fro...

Страница 339: ...the target s specifications Contact the target device s manufacturer Check whether the tag data link is stopped at the originator Restart the tag data link com munications with the soft ware switch 01...

Страница 340: ...f the variables in the CPU Unit Depends on the target s specifications Contact the target device s manufacturer Check the origi nator s connec tion settings Check whether the target s tag sets and tag...

Страница 341: ...e bandwidth pps was exceeded Check the origi nator and tar get connection settings num ber of connec tions and RPI Check the tar get s connec tion settings number of con nections and RPI Check the ori...

Страница 342: ...Link Stop Bit was changed to TRUE or the settings data is being down loaded Either change the Tag Data Link Start Bit to TRUE or wait until the set tings data has been down loaded Includes Con troller...

Страница 343: ...e target s specifications Contact the target device s manufacturer The meaning of this error code is defined by each vendor so it depends on the originator s specifications Contact the originator devi...

Страница 344: ...formation will be invalid Error Log Data in RAM When an error occurs one record is stored in the error log table in RAM inside the EtherNet IP Unit Up to 64 records are recorded Error Log Data in Non...

Страница 345: ...0015 CPU Unit fatal error 00 hex 00 hex Yes 0017 Tag database error 00 hex 00 hex Yes 0103 Resend count exceeded send failed CIP Frame FFFF No 0105 Node address setting error send failed No 0107 Remot...

Страница 346: ...on IP address error 03 Destination port num ber error No 03C1 Server settings error 00 hex DNS 03 hex SNTP 04 hex FTP 06 hex BOOTP 07 hex SNMP 08 hex SNMP Trap 09 hex FINS UDP 0A hex FINS TCP 01 IP ad...

Страница 347: ...because a error occurred in the CPU Unit Clear the error from the CPU Unit No 0002 The clock time could not be updated because the CPU Unit or operating mode does not support this function Refer to Se...

Страница 348: ...o 03D4 Verification error Tag data link only Note For details on identifying the cause of the verification error refer to 13 3 Connection Status Codes and Error Processing This error will not be store...

Страница 349: ...W501 for details on the event logs in an NJ series CPU Unit Refer to the NJ series Troubleshooting Manual Cat No W503 for details on Controller errors confirmation methods and corrections To use an NS...

Страница 350: ...There is a source of noise nearby Non volatile memory failure S page 13 36 047B0000 hex Non volatile Memory Error An error occurred in non volatile mem ory There is a source of noise nearby Non volat...

Страница 351: ...power was interrupted dur ing a download A communications error occurred during a download S page 13 42 34AF0000 hex Ethernet Advanced Setting Error There is an illegal FINS setting The power was inte...

Страница 352: ...cted for a tag variable that is used in a tag data link An out of range value was writ ten by an EtherNet IP tag data link for a variable with a speci fied range A value that does not specify an enume...

Страница 353: ...Starts Execution of the user program starts 13 5 3 Error Descriptions Controller Error Descriptions Event name Gives the name of the error Event code Gives the code of the error Meaning Gives a short...

Страница 354: ...ommunications stop 0E hex Unit name No affect on other communications 0F hex basic Ethernet settings Communications are not possible 10 hex advanced Ethernet settings The relevant func tion stops 11 h...

Страница 355: ...ilure If the above cause does not apply replace the Unit None Attached information None Precautions Remarks None Event name Communications Controller Error Event code 047C0000 hex Meaning An error occ...

Страница 356: ...se the Unit away from sources of noise Implement noise countermea sures Non volatile memory failure If the error occurs even after perform ing the actions described above replace the EtherNet IP Unit...

Страница 357: ...ified target does not exist If the power supply for nodes with reg istered connections is not ON turn ON the power supply Correct the cable if it is disconnected or loose Implement noise countermeasur...

Страница 358: ...herNet IP is disconnected Reconnect the connector and make sure it is mated correctly Connect the connector securely The Ethernet cable for EtherNet IP is disconnected Replace the Ethernet cable None...

Страница 359: ...curred dur ing a download Implement noise countermeasures if there is excessive noise Implement noise countermeasures Attached information None Precautions Remarks None Event name IP Address Table Err...

Страница 360: ...ownload Implement noise countermeasures if there is excessive noise Implement noise countermeasures Attached information None Precautions Remarks None Event name Routing Table Error Event code 34AE000...

Страница 361: ...Implement noise countermeasures if there is excessive noise Implement noise countermeasures Attached information None Precautions Remarks None Event name Address Mismatch Event code 34B00000 hex Meani...

Страница 362: ...ck that there are no errors in the layout settings of the EtherNet IP Unit Attached information None Precautions Remarks None Event name Multiple Switches ON Error Event code 54AE0000 hex Meaning More...

Страница 363: ...eturned to all communications requests Data refreshing with the PLC Function Module will con tinue System defined variables Variable Data type Name None Cause and correction Assumed cause Correction P...

Страница 364: ...ing normally An error occurred in the communica tions path Check the communications path to the server and take corrective mea sures if there are any problems None Attached information None Precaution...

Страница 365: ...net cable is disconnected Connect the Ethernet cable Connect the Ethernet cable securely Check the cable to make sure that it is not disconnected An Ethernet cable is disconnected or loose Connect the...

Страница 366: ...ts and correct the Unit Configuration A CPU Bus error occurred Confirm that the Unit is connected properly Restart the Unit Replace the Unit if it doesn t restart An I O Bus error occurred Confirm tha...

Страница 367: ...EtherNet IP Unit is lit green but the NS indicator remains OFF If the EtherNet IP Unit s 7 segment display is displaying an error code refer to the tables in 13 2 Using the LED Indicators and Display...

Страница 368: ...r the baud rate is set to 10 Mbps or a 10M or 100M repeater hub is being used The tag data link performance is based on the use of Ethernet switches The bandwidth listed in the specifications is achie...

Страница 369: ...be discarded occasionally In this case the communications load must be reduced by increas ing slowing the tag data link s RPI reducing the message load or increasing the timeout value The tag data li...

Страница 370: ...dge when cleaning Precautions for Correct Use Precautions for Correct Use Never use volatile solvents such as paint thinner benzene or chemical wipes Inspect the Unit regularly to keep it in its optim...

Страница 371: ...ation if any of the standards in the following table are not met Daily Inspections Daily inspection Inspection Criteria Inspection method Environmental conditions Ambient and in panel temperature 0 to...

Страница 372: ...before removing the Unit After you replace the EtherNet IP Unit make sure that the wiring and the following settings are the same as before the Unit was replaced Node Address and Unit Number Set the r...

Страница 373: ...Remove the Ethernet cable from the EtherNet IP Unit to replace and remove the EtherNet IP Unit 3 Set the following hardware switches to the same values as the previous EtherNet IP Unit Node address a...

Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...

Страница 375: ...2 7 Creating EDS Index Files A 6 A 3 Precautions for Using the Network Configurator on Windows XP Windows Vista or Windows 7 A 7 A 3 1 Changing Windows Firewall Settings A 7 A 4 Variable Memory Alloc...

Страница 376: ...therNet IP Unit built in port on CJ2 CPU Unit Built in Ether Net IP port on NJ series CPU Unit CJ series Ethernet Unit Unit ver sion 1 0 Unit ver sion 2 0 Unit ver sion 2 1 Tag data link communication...

Страница 377: ...ork Configurator as the administrator Otherwise the following condition will result due to user management for Windows security functions The results of the following operations are not applied for lo...

Страница 378: ...dware 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...

Страница 379: ...ct 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 is sav...

Страница 380: ...hardware device from the Hardware List 2 Select EDS File Property The following dialog box is displayed The time and date when the EDS file was created is displayed along with the device informa tion...

Страница 381: ...Interface Ethernet I F If you select Option Select Interface NJ Series Ethernet Direct I F If you select Option Select Interface NJ Series USB Port Precautions for Correct Use Precautions for Correct...

Страница 382: ...s Firewall with Advanced Security Dialog Box 4 Select New Rule under Inbound Rules in the Actions Area on the right side of the dialog box 5 Make the following settings for each step in the New Inboun...

Страница 383: ...g the Network Configurator on Windows XP Windows Vista or Windows 7 App A 3 1 Changing Windows Firewall Settings 8 Click the Unblock Button Windows Vista Windows 7 A USB or EtherNet IP connection will...

Страница 384: ...ory 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 to...

Страница 385: ...exception Refer to Precautions for Correct Use below for the amount of memory that is allocated for BOOL arrays Data type Alignment bytes Amount of memory that is allocated bytes BOOL 2 2 BYTE USINT o...

Страница 386: ...TE One byte of memory is allocated for the one byte alignment Example Two consecutive BYTE variables Variables with Two byte Alignments e g BOOL and WORD Two bytes of memory are allocated for the two...

Страница 387: ...re 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 Variable Table...

Страница 388: ...rted 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...

Страница 389: ...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 g...

Страница 390: ...st 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 b...

Страница 391: ...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...

Страница 392: ...on 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 b...

Страница 393: ...an NJ series CPU Unit you can specify member offsets to change the memory configuration of the members of a structure variable You can change the memory configuration of the members of a structure va...

Страница 394: ...e same structure variable in other NJ series CPU Units on the network Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 E1 03 or higher for the pro cedure to change the memory configur...

Страница 395: ...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 F...

Страница 396: ...ariable 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 DIN...

Страница 397: ...e user program The value that is written from the tag data link or communi cations instruction will therefore not be output to the external device Note Variables that are assigned to external outputs...

Страница 398: ...n NJ series CPU Unit with unit version 1 03 or later and Sysmac Studio version 1 04 or higher are required Precautions for Correct Use Precautions for Correct Use Use an EtherNet IP Unit with a unit v...

Страница 399: ...tions of the device variable given on the left I O memory location in CJ series CPU Unit Device variable for the CJ series Unit in NJ series CPU Unit Word address Bit numbers Variable name Description...

Страница 400: ...ta 4 Target Node PLC Operating Flag for Node Address 4 5 _TargetPLCMdSta 5 Target Node PLC Operating Flag for Node Address 5 6 _TargetPLCMdSta 6 Target Node PLC Operating Flag for Node Address 6 7 _Ta...

Страница 401: ...TargetPLCMdSta 22 Target Node PLC Operating Flag for Node Address 22 7 _TargetPLCMdSta 23 Target Node PLC Operating Flag for Node Address 23 8 _TargetPLCMdSta 24 Target Node PLC Operating Flag for Nod...

Страница 402: ...TargetPLCMdSta 39 Target Node PLC Operating Flag for Node Address 39 8 _TargetPLCMdSta 40 Target Node PLC Operating Flag for Node Address 40 9 _TargetPLCMdSta 41 Target Node PLC Operating Flag for Nod...

Страница 403: ...CMdSta 58 Target Node PLC Operating Flag for Node Address 58 11 _TargetPLCMdSta 59 Target Node PLC Operating Flag for Node Address 59 12 _TargetPLCMdSta 60 Target Node PLC Operating Flag for Node Addr...

Страница 404: ...CErrSta 20 Target Node PLC Error Flag for Node Address 20 5 _TargetPLCErrSta 21 Target Node PLC Error Flag for Node Address 21 6 _TargetPLCErrSta 22 Target Node PLC Error Flag for Node Address 22 7 _T...

Страница 405: ...8 Target Node PLC Error Flag for Node Address 58 11 _TargetPLCErrSta 59 Target Node PLC Error Flag for Node Address 59 12 _TargetPLCErrSta 60 Target Node PLC Error Flag for Node Address 60 13 _TargetP...

Страница 406: ...eries CPU Unit Word address Bit numbers Variable name Description CIO n 11 0 _ETNOnlineSta Online 1 _TDLOprSta Tag Data Link Operating 2 _IPAdrChgErr Operating IP Address Change 03 to 10 Not used 11 _...

Страница 407: ...evice variable given on the left I O memory location in CJ series CPU Unit Device variable for the CJ series Unit in NJ series CPU Unit Word address Bit numbers Variable name Description CIO n 13 0 _F...

Страница 408: ...O memory location in CJ series CPU Unit Device variable for the CJ series Unit in NJ series CPU Unit Word address Bit numbers Variable name Description CIO n 16 0 _RegTargetSta 0 Registered Target Nod...

Страница 409: ...TargetSta 28 Registered Target Node Table Bit for Node Address 28 13 _RegTargetSta 29 Registered Target Node Table Bit for Node Address 29 14 _RegTargetSta 30 Registered Target Node Table Bit for Node...

Страница 410: ...52 5 _RegTargetSta 53 Registered Target Node Table Bit for Node Address 53 6 _RegTargetSta 54 Registered Target Node Table Bit for Node Address 54 7 _RegTargetSta 55 Registered Target Node Table Bit...

Страница 411: ...orrespond to bits 48 to 63 of the device variable given on the left I O memory location in CJ series CPU Unit Device variable for the CJ series Unit in NJ series CPU Unit Word address Bit numbers Vari...

Страница 412: ...stbRegTargetSta 29 Normal Target Node Table Bit for Node Address 29 14 _EstbRegTargetSta 30 Normal Target Node Table Bit for Node Address 30 15 _EstbRegTargetSta 31 Normal Target Node Table Bit for No...

Страница 413: ...l Target Node Table Bit for Node Address 53 6 _EstbRegTargetSta 54 Normal Target Node Table Bit for Node Address 54 7 _EstbRegTargetSta 55 Normal Target Node Table Bit for Node Address 55 8 _EstbRegTa...

Страница 414: ...STCPConnSta8 FINS TCP Connection Status for Connection 8 8 _FINSTCPConnSta9 FINS TCP Connection Status for Connection 9 9 _FINSTCPConnSta10 FINS TCP Connection Status for Connection 10 10 _FINSTCPConn...

Страница 415: ...47 of the device variable given on the left Bits 00 to 15 of word x 3 correspond to bits 48 to 63 of the device variable given on the left Bits 00 to 15 of word x 4 correspond to bits 64 to 79 of the...

Страница 416: ...Word x 2 0 _x RegTargetSta Target Sta 32 Registered Target Node Table Bit for Node Address 32 15 _x RegTargetSta Target Sta 47 Registered Target Node Table Bit for Node Address 47 Word x 3 0 _x RegTa...

Страница 417: ...stered Target Node Table Bit for Node Address 160 15 _x RegTargetSta Target Sta 175 Registered Target Node Table Bit for Node Address 175 Word x 11 0 _x RegTargetSta Target Sta 176 Registered Target N...

Страница 418: ...device variable given on the left Bits 00 to 15 of word x 20 correspond to bits 64 to 79 of the device variable given on the left Bits 00 to 15 of word x 21 correspond to bits 80 to 95 of the device...

Страница 419: ...15 _x EstbTarget Sta TargetSta 31 Normal Target Node Table Bit for Node Address 31 Word x 18 0 _x EstbTarget Sta TargetSta 32 Normal Target Node Table Bit for Node Address 32 15 _x EstbTarget Sta Targ...

Страница 420: ...Sta TargetSta 175 Normal Target Node Table Bit for Node Address 175 Word x 27 0 _x EstbTarget Sta TargetSta 176 Normal Target Node Table Bit for Node Address 176 15 _x EstbTarget Sta TargetSta 191 Nor...

Страница 421: ...fferences in Access Methods from the User Program Word x 31 0 _x EstbTarget Sta TargetSta 240 Normal Target Node Table Bit for Node Address 240 15 _x EstbTarget Sta TargetSta 255 Normal Target Node Ta...

Страница 422: ...ariable given on the left Bits 00 to 15 of word x 36 correspond to bits 64 to 79 of the device variable given on the left Bits 00 to 15 of word x 37 correspond to bits 80 to 95 of the device variable...

Страница 423: ...rgetPLCMdSta TargetSta 31 Target Node PLC Operating Flag for Node Address 31 Word x 34 0 _x TargetPLCMdSta TargetSta 32 Target Node PLC Operating Flag for Node Address 32 15 _x TargetPLCMdSta TargetSt...

Страница 424: ...a TargetSta 175 Target Node PLC Operating Flag for Node Address 175 Word x 43 0 _x TargetPLCMdSta TargetSta 176 Target Node PLC Operating Flag for Node Address 176 15 _x TargetPLCMdSta TargetSta 191 T...

Страница 425: ...erences in Access Methods from the User Program Word x 47 0 _x TargetPLCMdSta TargetSta 240 Target Node PLC Operating Flag for Node Address 240 15 _x TargetPLCMdSta TargetSta 255 Target Node PLC Opera...

Страница 426: ...ble given on the left Bits 00 to 15 of word x 52 correspond to bits 64 to 79 of the device variable given on the left Bits 00 to 15 of word x 53 correspond to bits 80 to 95 of the device variable give...

Страница 427: ...16 15 _x TargetPLCErrSta TargetSta 31 Target Node PLC Error Flag for Node Address 31 Word x 50 0 _x TargetPLCErrSta TargetSta 32 Target Node PLC Error Flag for Node Address 32 15 _x TargetPLCErrSta T...

Страница 428: ...rrSta TargetSta 175 Target Node PLC Error Flag for Node Address 175 Word x 59 0 _x TargetPLCErrSta TargetSta 176 Target Node PLC Error Flag for Node Address 176 15 _x TargetPLCErrSta TargetSta 191 Tar...

Страница 429: ...ifferences in Access Methods from the User Program Word x 63 0 _x TargetPLCErrSta TargetSta 240 Target Node PLC Error Flag for Node Address 240 15 _x TargetPLCErrSta TargetSta 255 Target Node PLC Erro...

Страница 430: ...de for changes in the unit version of the CPU Units Changes in and Additions to Functional Specifications The following table shows the unit version of the CPU Units and the version of the Sysmac Stud...

Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...

Страница 432: ...ns Status1 3 12 _CommSta2 Communications Status2 3 13 _CommSta3 Communications Status3 3 13 communications load adjusting 12 6 Communications Status1 3 12 Communications Status2 3 13 Communications St...

Страница 433: ...tus 8 29 general status codes 8 27 global addresses 4 10 H host names specifying 1 19 I Identity Object 8 31 indicators 1 9 1 11 input ON response time 12 25 instructions CIPClose 8 4 CIPOpen 8 4 CIPR...

Страница 434: ...MM Explicit instruction 8 3 receive data processing time 12 26 Registered Target Node 3 15 registering devices 7 19 _RegTargetSta Registered Target Node 3 15 x RegTargetSta TargetSta Registered Target...

Страница 435: ...DLErr Tag Data Link Error 3 12 _TDLOpnErr Verification Error 3 12 _TDLOprSta Tag Data Link Operating 3 11 _TDLRunSta Tag Data Links Operating 3 13 _TDLStartCmd Tag Data Link Start Bit 3 6 _TDLStopCmd...

Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...

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

Страница 438: ...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 Tokyo J...

Отзывы: