Omron CJ2M-CPU3@ инструкция обслуживания
- Просмотреть online или скачать инструкцию
- 464 страниц
- 18.77 mb
Идти на страницу of
Похожие руководства по эксплуатации
-
Network Card
Omron CS1W-ETN11
317 страниц 3.08 mb -
Network Card
Omron CS1W-ETN01
317 страниц 3.08 mb -
Network Card
Omron CS1W-CLK21-V1
401 страниц 4.1 mb -
Network Card
Omron W343-E1-07
317 страниц 3.08 mb -
Network Card
Omron DR 170 14
67 страниц 0.58 mb -
Network Card
Omron CPM1A
176 страниц 1.14 mb -
Network Card
Omron CJ-Series
36 страниц 3.61 mb -
Network Card
Omron E7
12 страниц 1.57 mb
Хорошее руководство по эксплуатации
Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Omron CJ2M-CPU3@. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Omron CJ2M-CPU3@ или обучающее видео для пользователей. Условием остается четкая и понятная форма.
Что такое руководство?
Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Omron CJ2M-CPU3@ можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.
К сожалению немного пользователей находит время для чтения инструкций Omron CJ2M-CPU3@, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.
Из чего должно состоять идеальное руководство по эксплуатации?
Прежде всего в инструкции Omron CJ2M-CPU3@ должна находится:
- информация относительно технических данных устройства Omron CJ2M-CPU3@
- название производителя и год производства оборудования Omron CJ2M-CPU3@
- правила обслуживания, настройки и ухода за оборудованием Omron CJ2M-CPU3@
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам
Почему мы не читаем инструкций?
Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Omron CJ2M-CPU3@ это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Omron CJ2M-CPU3@ и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Omron, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Omron CJ2M-CPU3@, как это часто бывает в случае бумажной версии.
Почему стоит читать инструкции?
Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Omron CJ2M-CPU3@, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.
После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Omron CJ2M-CPU3@. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.
Содержание руководства
-
Страница 1
O PER A T I O N M A NUA L Cat. No. W465-E1-05 SYSMAC CS and CJ Series CS1W-EIP21 (100Base-TX) CJ1W-EIP21 (100Base-TX) CJ2H-CPU6 @ -EIP (100Base-TX) CJ2M-CPU3 @ (100Base-TX/10Base-T) EtherNet/IP Units[...]
-
Страница 2
[...]
-
Страница 3
CS1W-EIP21 (100Base-TX) CJ1W-EIP21 (100Base-TX) CJ2H-CPU6 @ -EIP (100Base-TX) CJ2M-CPU3 @ (100Base-TX/10Base-T) EtherNet/IP Units Operation Manual Revised February 2010[...]
-
Страница 4
iv[...]
-
Страница 5
v Notice: OMRON pr oducts are man uf actured f o r use according to proper proc edures b y a qualified oper ator and only f or the purposes described in this man ual. The f ollo wing conv en tions are used to indicat e and classify precaut ions in this man ual. Alw a ys heed the inf ormation provide d with them. F ailure to heed precau tions can re[...]
-
Страница 6
vi[...]
-
Страница 7
vii TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 8
viii TABLE OF CONTENTS SECTION 4 Memory Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4-1 Overview of Memory Allocated to the EtherNet/IP Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 4-2 CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 9
ix TABLE OF CONTENTS SECTION 10 Communications Performance and Communications Load 261 10-1 Communications System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 6 2 10-2 Adjusting the Communications Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 [...]
-
Страница 10
x TABLE OF CONTENTS Appendices A CS/CJ-series Ethernet Unit Function Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 B Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377 C TCP Status T ransitions . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 11
xi About this Manual: This manual describes the opera tion of the CS/CJ-series EtherNet/IP Units and the built- in EtherNet/IP por ts on a CJ2 CPU Unit f or constructing applicat ions and includes th e sections described below . Please read this man ual carefully and be sure yo u understand th e inf or mation provided bef ore attempting to install [...]
-
Страница 12
xii Relevant Manuals The f ollowing table lists CS- and CJ -series manuals th at contain informa tion relev ant to EtherNet/IP Units or b uilt-in EtherNet/IP por ts. Manual numb er Model Name Contents W465 CS1W -EIP21 CJ1W -EIP21 CJ2H-CPU6 @ -EIP CJ2M-CPU3 @ EtherNet/IP Units Operation Manual (this manual) Provides inf orma ti on on operating and i[...]
-
Страница 13
xiii W474 CJ2H-CPU6 @ -EIP CJ2H-CPU6 @ CJ2M-CPU @@ CS1G/H-CPU- @@ H CS1G/H-CPU- @@ -V1 CJ1G/H-CPU @@ H CJ1M-CPU @@ CJ1G-CPU @@ NSJ @ - @@@@ (B)-G5D NSJ @ - @@@@ (B)-M3D Programmab le Con- trollers Instructions Ref erence Manual Describes the ladder diagram programming instru ctions suppor ted by CS-series and CJ-ser ies PCs. Use this manual f or CJ[...]
-
Страница 14
xiv[...]
-
Страница 15
xv Read and Understand this Manual Please read and understa nd this manual bef ore using the product. Please consult y our OMRON representat iv e if you hav e any questi ons or comment s. Warranty and Limitations of Liability WARRANTY OMRON's e xclusiv e warr anty is that the prod ucts are free from def ects in materials and workmanship f or a[...]
-
Страница 16
xvi Application Considerations SUITABILITY FOR USE OMRON sh all no t be responsib le for conf or mity with any stan dards, code s, or regu lations that apply to the combination of products in th e customer's a pplication or use of the product s. At the customer's request, OMRON will pro vide applicable third pa r ty cer tification do cume[...]
-
Страница 17
xvii Disclaimers CHANGE IN SPECIFICATIONS Product specificat ions and accessories ma y be chan ged at an y t ime based on impro vements and other reasons. It is our pract ice to change model n umbers when published ra tin gs or f eatures are changed, or when significant construction chang es are made . Howe ver , some specifications of the products[...]
-
Страница 18
xviii[...]
-
Страница 19
xix Unit Versions of CS/CJ-series Unit V ersions A “unit v ersion” has been introdu ced to manag e Units in the CS/ CJ Series according to di ff erences in functio nality accompan ying Unit upgra des. Notation of Unit V ersions on Pr oducts The unit v ersion is give n to the right of the lot n umber on the nameplate of the products f or which u[...]
-
Страница 20
xx Note The unit v ersion will be displa yed in the Unit Manuf actur ing Inf o rmation Dialog Bo x. Using Unit V ersion Label The f ollowing unit v ersion label is pr ovided with the Ether Ne t/I P Unit. This label can be attached to the front of the Ethe rNet/IP Unit to diff erentiate between Eth erNet/IP Units with di ff erent unit vers ions. Uni[...]
-
Страница 21
xxi PRECA UTIONS This section prov ides general precautions for using the CS/CJ-series EtherNet/I P Units and b uilt-in EtherNet/IP ports. The information contained in this section is imp orta nt f or the safe and reliable application of Ethe rN et/IP Units or built-in EtherNet/IP ports. Y ou mus t re ad this sectio n and understand the inf ormati [...]
-
Страница 22
xxii Intended A udience 1 1 Intended A udience This manual is intende d f or the f ollowing personnel, who m ust also ha v e knowledge of ele ctrical systems (an electrical engineer or the equiv alent). • P ersonnel in charge of installing F A systems. • P er so nn e l in char ge of de sig ning F A systems. • P ersonnel in charge of mana ging[...]
-
Страница 23
xxiii Safety Precautions 3 !WARNING Provide safety measures in external ci rcuit s (i.e., not in the Progr ammable Controller), including the fo llowing items, to ensure sa fety in the system if a n abnormality occurs due to malfunctio n of the Pr ogrammable Controller or another external fa ctor af fecting the operation of the Programmable Control[...]
-
Страница 24
xxiv Operating En vironment Precautions 4 4 Operating En vironment Precautions !Caution Do not operate the control system in the follo wing locations: • Locations subject to direct sunlight . • Locations subject to temperat ures or humidity outside the r ange specified in the specifications. • Locations subject to con den sa tion a s th e r e[...]
-
Страница 25
xxv Application Precautions 5 • Alwa ys use the power supply v oltages specified in the operat ion man uals. An incorrect v oltage may result in malfunction or burning. • T ak e appropriate measures to ensure that the specified po wer with the rated v oltage and frequ ency is supplied. Be par ticularly careful in places where the po wer supply [...]
-
Страница 26
xxvi Conformanc e to EC Directiv es 6 • When transpo rting the Unit, use special pac king box es and protec t it from being e xposed to excessiv e vibration or impacts during tr anspor tation. • CPU Bus Units w ill be restar ted when routing tables are tr ansf erred from a Programming De vice to the CPU Unit . Restar ting these Units is require[...]
-
Страница 27
1 SECTION 1 Over view of EtherNet/IP This section introduces the functi ons and protocols used in EtherNet/IP Unit or b uilt-in EtherNet/IP port communications services. 1-1 EtherNet/IP Unit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1-2 Devices Required for Constructing a Network . . . . . . . . . . [...]
-
Страница 28
2 EtherNet/IP Unit F eatures Section 1-1 1-1 EtherNet/IP Unit Features EtherNet/IP is an industrial mult i-v endor network that uses Ethernet compo- nents. The EtherNet/IP specificat ions are open standards ma naged b y the OD V A (Open DeviceNet V endor Association), just like De v iceNet. EtherNet/IP is not just a netw or k between controlle rs; [...]
-
Страница 29
3 EtherNet/IP Unit F eatures Section 1-1 FTP Server A built- in FTP server is pro vided to enab le transferring files in the PLC to and from a host co mputer . This enab les transfe rring large amounts of dat a from a client without an y additional ladder prog ramming. A utomatic PLC Clock Adjustment The cloc ks built int o PLCs connected t o Ether[...]
-
Страница 30
4 Devices Required for Co nstruc ting a Netw ork Section 1-2 1-2 De vices Required for Constructing a Netw ork The basic configur ation for an Ethe rNet/IP System consists of one s witching hub to which nodes are atta ched in star configur ation using twisted-pair ca b le . The de vices shown in the f ollowing tab le are required to config ure a ne[...]
-
Страница 31
5 Support Software Required to Construct a Network Section 1-3 Ref er to the CX-Progr ammer Opera tion Manual (Cat. No. W446) f or in f or ma- tion on the CX- Progr ammer . T ag Data Link Settings: Netw ork Configurator The Network Configur ator is used to set the tag data links f or the EtherNet/IP Unit or b uilt-in EtherNet /IP por t. (The Networ[...]
-
Страница 32
6 Communications Services Overview Section 1-4 Refer to the CX-Integ rator Oper ation Manual (Cat . No . W464) f or information on the CX-Int egra tor . 1-4 Comm unications Services Overview The f ollowing communicat ions serv ices are supported. CIP (Common Industrial Pr ot ocol) Communications Services 1) T ag Data Links (Cyc lic Communications) [...]
-
Страница 33
7 Communications Services Overview Section 1-4 Note In this e xample, a con nection is estab lished with the originator’ s tag list con- taining tags a t o g (inputs), which are groupe d in a tag set calle d SP1_IN, an d the target ’ s tag list cont aining tags i and ii (outputs) , which are grouped in a tag set called SP1_OUT . 2) Message Comm[...]
-
Страница 34
8 Communications Services Overview Section 1-4 FINS Communications Service FINS commands can b e sent to or recei ved f rom other PLCs or co mputers on the same Ethe r net netw or k b y e xecuting SEND(090 ), RECV(098), or CMND(490) instructions in the ladder diagram program. This enables various control opera tions such as the reading and writing [...]
-
Страница 35
9 Communications Services Overview Section 1-4 The FINS gatewa y funct ion enables access to PLCs on not only the same Ethernet networ k b ut on v arious other networks, including SYSMA C LINK and Controller Link. Ethernet (EtherNet/IP) IP FINS EtherNet/IP Unit UDP or TCP CS/CJ-series CPU Unit[...]
-
Страница 36
10 Network Configurator Ov erview Section 1-5 1-5 Netw ork Configurator Over view 1-5-1 Overview The Networ k Configurator V er . 3 .0 or higher is a software package design ed f o r building, setting, an d controlling a multi-v endor EtherNet/IP Networ k using OMRON's EtherNet /IP . It is included in CX-One v ersion 4.0 or higher . The Networ[...]
-
Страница 37
11 Network Configurator Ov erview Section 1-5 1-5-3 Precautions When Usin g the Netw ork Configurator Only an OMR ON EtherNet/IP Unit can be set as t he originator f or a connec- tion using the Netw or k Configurato r . • The Network Configur ator can be connected to th e EtherNet/IP ne twork through the f ollowing ports: • CS1/CJ1-series CPU U[...]
-
Страница 38
12 Network Configurator Ov erview Section 1-5[...]
-
Страница 39
13 SECTION 2 Unit Specif ications This section provides the specifications of Et herNet/IP Units and in troduces r ecommended network co nfiguration de vices. 2-1 EtherNet/IP Unit and Built -in EtherNet/IP Port Specifications . . . . . . . . . . . 14 2-1-1 General Specifi cations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 40
14 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 2-1 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications 2-1-1 General Specifications The general specif ications conform to those of the CS-ser ies and CJ-ser ies PLCs. 2-1-2 Unit Specifications CS-series EtherNet/IP Units Note If tag data links are being used,[...]
-
Страница 41
15 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 CJ-series EtherNet/IP Unit Note If tag data links are being used, use 100Base-T X. Otherwise, 10Base-T can be used, b ut this is not recommended . Item Specifica tions Model number CJ1W -EIP21 T ype 100Base-TX (See note.) Applicable PLCs CJ-series PLCs Unit classification[...]
-
Страница 42
16 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 CJ2 CPU Built-in EtherNet/IP P or t Note If tag data links are being used, use 100Base-T X. Otherwise, 10Base-T can be used, b ut this is not recommended . Item Specifica tions Model number CJ2H-CPU @@ -EIP CJ2M-CPU3 @ T ype 100Base-TX (See note.) Unit classification CJ2 [...]
-
Страница 43
17 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 2-1-3 Comm unications Specifications Item CS1/CJ1 CJ2 H CJ2M CIP service T ag data links (Cyclic communi- cations) Number of connections 256 32 Packet in te r va l (r e fr es h cycle) 0.5 to 10,000 ms (in 0.5-ms units) Can be set independently for each connection. (Data i[...]
-
Страница 44
18 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 Note (1) In this case, pps means “pac kets per second” and ind icates the number of pac kets that can be processe d in one second. (2) T o use 505 to 1,444 bytes as the data size, the system must suppor t the Large F orward Open standar d (an optional CIP spe cificati[...]
-
Страница 45
19 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 2-1-4 Dimensions CS1W -EIP21 CJ1W -EIP21 CJ2H-CPU @@ -EIP 101 mm 35 mm 130 mm NODE NO. 1 × 16 0 0 × 16 1 UNIT NO. 100BASE-TX 10BASE-T 0 EIP21 MS NS COMM 100M 10M IP ADDRESS SUBNET MASK 192.168.250.1 255.255.255.0 65 mm 31 mm UNIT No. EIP21 90 mm NODE No. x16 0 x16 1 0 1[...]
-
Страница 46
20 EtherNet/IP Unit and Built-in EtherNet/IP P ort Specifications Section 2-1 CJ2M-CPU3 @ 2-1-5 Software Configuration 76.16 mm 62 mm 2.7 mm 2.7 mm 90 mm 84.5 mm 75 mm FINS encapsulization FINS Cyclic Interface with CPU Unit Memory Card/ EM file memory FTP Automatic clock adjustment FINS FINS UDP IP ARP IGMP LAN controller driver LAN controller Enc[...]
-
Страница 47
21 Nomenclature and Functions Section 2-2 2-2 Nomenc lature and Functions 2-2-1 Nomenc lature and Functions CS1W -EIP21 CJ1W -EIP21 LED Indicators Unit number setting switch Label showing IP address Node address setting switches Ethernet connector Backplane Connector NODE NO. 1 × 16 0 0 × 16 1 UNIT NO. 100BASE-TX 10BASE-T 0 EIP21 MS NS COMM 100M [...]
-
Страница 48
22 Nomenclature and Functions Section 2-2 Built-in EtherNet/IP P or t in CJ2H-CPU @@ -EIP Built-in EtherNet/IP P or t in CJ2 M -CPU 3 @ Ethernet Ad dress No tation A specific Ethernet address is allocated to all de vices connected to the Et her- net network. The EtherNet/I P Unit’ s address is listed in 12-digi t he xadecimal on the right side of[...]
-
Страница 49
23 Nomenclature and Functions Section 2-2 Indicators A EtherNet /IP Units or bu ilt-in EtherNet/IP port is equipped with the foll owing indicators that in dicate the oper ating status of the node it self and the o vera ll network. CS1W -EIP21 CJ1W -EIP21, CJ2H-C PU @@ -EIP , and CJ2M-CPU3 @ Status Indica tors : MS, NS, COMM, 100M, and 10M The MS (M[...]
-
Страница 50
24 Nomenclature and Functions Section 2-2 Seven-segme nt Display When the power is turned ON (or the Unit is restar ted), all of the segments will flash twice, t he IP address set in the EtherNet/IP Unit or built -in EtherNet/IP por t will be display ed on the 7-segment di splay just once , from right to left. Afterw ards, the rightmost 8 bi ts of [...]
-
Страница 51
25 Nomenclature and Functions Section 2-2 If an error occurs, the error code will be displa yed alternat ely with the r ight- most b yte of the aff ected device ’ s IP address . F or details on error code s, ref er to SECTION 14 T r oub leshooting and Error Processing . Displaying Multiple Err or Sources • A d6 error (f ailed to estab lish conn[...]
-
Страница 52
26 Nomenclature and Functions Section 2-2 Right and Left Dot LEDs If an error o ccurred in two or more devices with the same r ightmost byte in their IP addresses, the Right Dot LED will be lit while the de vices’ error is being display ed. Example: Displa ying the Following Err ors • A d6 error (f ailed to estab lish connection) occurred wit h[...]
-
Страница 53
27 Nomenclature and Functions Section 2-2 Node Address Setting Switch The Node Addr ess Setting Switch sets th e node address of the Et herNet/IP Unit or built-in EtherNet/IP por t. Note The node address is factory-set to 01. With the default settings, the v a lues set on these switches become the last two digits of the local IP address of the Ethe[...]
-
Страница 54
28 Selecting the Network Devices Section 2-3 2-3 Selecting the Netw ork Devices 2-3-1 Recommended Netw ork Devices The f ollowing tabl e shows the de vices recommended f or use with the Ether- Net/IP . Note (1) Alwa y s use a s witching hub when using tag data links in the netw or k. (2) If a repeater hub is used f or EtherNet/IP ta g data links (c[...]
-
Страница 55
29 Selecting the Network Devices Section 2-3 2-3-4 Switching Hub Functions This section d escribes t he s witching hub f unctions that ar e impor tant wh en using an EtherNet/IP netw ork. When using an EtherNet /IP Unit, set th e f ollo w- ing two fu nctions . • Multicast filter ing • QoS (Quality of Ser vice) f or TCP/UDP por t numbers (L4) Mu[...]
-
Страница 56
30 Selecting the Network Devices Section 2-3 When selecting a s w itching hub , it is necessar y to consider whether t he s witching hub w ill be selected based on the kind and amount of communica- tions that will be perf ormed in the network or the kind of s witching hub that y ou want to use . Refer to the f ollowing precautions when se lecting a[...]
-
Страница 57
31 Selecting the Network Devices Section 2-3 L3 Switching Hub with Multicast Filterin g and L4 QoS Functions W e recommend this kind of switchin g hub when both tag data links and me s- sage communica tions are e xecuted. By setting tag data links for higher-pr iority transmissi on, it is possible to pre- vent prob lems such as transmission delays [...]
-
Страница 58
32 Selecting the Network Devices Section 2-3[...]
-
Страница 59
33 SECTION 3 Installation and Initial Setup This section explains how to install and make the initial se ttings required for operation of th e EtherN et/I P Unit or built-in EtherNet/IP port. 3-1 Overvie w of Initial Setup Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3-1-1 Procedures. . . . . . . . . . . . . . . . . .[...]
-
Страница 60
34 Overview of Initial Setup Procedures Section 3-1 3-1 Overvie w of Initial Setup Pr ocedures 3-1-1 Pr ocedures Initial Settings 1,2,3... 1. Set the unit n umber and node addre ss with the s witches on the front of the EtherNet/IP Unit or , f o r the built-in EtherNet/IP por t, on the front of the CPU Unit. Ref e r to 3- 2 Switc h Set tin gs . 2. [...]
-
Страница 61
35 Overview of Initial Setup Procedures Section 3-1 9. T est co mmunicat ions. Send a PING com mand to the Ether Net/IP Unit or built-in EtherNet /IP por t. Ref e r to 3-1 1 Communications T est . Settings Required f or T ag Data Link Service (Cyc lic Comm unications) 1. Using the EtherNet/IP Data link T ool in th e Network Configu rator to Set the[...]
-
Страница 62
36 Switch Settings Section 3-2 3-2 Switc h Settings 3-2-1 CS-series EtherNet/IP Units Setting the Unit Number The unit number is used to identify in dividual CPU Bus Units when m ore than one CPU Bus Unit is mounted to the s ame PLC . Us e a small scre wdriver to mak e the setting, taking ca re not to damage the rotary s witch. The unit n um- ber i[...]
-
Страница 63
37 Switch Settings Section 3-2 3-2-2 CJ-series EtherNet/IP Units and CJ2 Built-in EtherNet/IP P ort Setting the Unit Number The unit number is used to identify in dividual CPU Bus Units when m ore than one CPU Bus Unit is mounted to the s ame PLC . Us e a small scre wdriver to mak e the setting, taking ca re not to damage the rotary s witch. The un[...]
-
Страница 64
38 Mounting to a PLC Section 3-3 3-3 Mounting to a PLC 3-3-1 Mounting to a CS-series PLC EtherNet/IP Units can b e mounted to an y slot in a CS-series CPU Rack or a CS-series Expansion CPU Rack, but the nu mber of slots to which they can be mounted depen ds on the Bac kplane . Up to f our EtherNet/IP Units can b e mounted to a single PLC . If it is[...]
-
Страница 65
39 Mounting to a PLC Section 3-3 Note The CJ1W -EIP21 EtherNet/IP Unit’ s maximum curr ent consumption is 410 mA. Be sure that the total current consumpt ion of all the Units connected to the same CPU Bac kplane or Expansion Backplan e does not e xceed the output capa city of the P ower Supply Unit. 3-3-3 Mounting Mount the EtherNet /I P Unit to [...]
-
Страница 66
40 Mounting to a PLC Section 3-3 3. When removing the Unit, fi rst loosen the scre w at the bottom of the Unit. Note When mounting the Unit, provide the clearance sho wn below to f acilitate easy mounting or di sm ounting. 3-3-4 Handling Precautions • Alwa ys tur n OFF the power supply to the PLC before mounting or dis- mounting a Unit or conn ec[...]
-
Страница 67
41 Network Installation Section 3-4 3-4 Netw ork Installation 3-4-1 Basic Installation Precautions • T ak e the greatest care when installing the Ether net System, being sure to f ollow ISO 8802-3 specificati ons. Y ou must obtain a cop y of these specifi- cations and be su re you und erstand them bef ore attempting to install an Ethernet System.[...]
-
Страница 68
42 Network Installation Section 3-4 • Press the cab le connector in firmly until it locks in to place at both th e s witching hub and the EtherNet/IP Unit. • Do not la y the twisted-pair cab le together with high-v oltage lines. • Do not la y the twisted-pair cab le near devices that g enerate noise . • Do not la y the twisted-pair cab le i[...]
-
Страница 69
43 Network Installation Section 3-4 Note Best = Recommended; OK = Allow ed; --- = Not allow ed. 3-4-4 Using Contact Output s (Common to All Units) When an EtherNet/I P Unit or b uilt-in EtherNet/IP port and Contact Output Unit are mounted in the same Rac k or connected to the same PLC , communica- tions err ors ma y occur due to noise gener ated by[...]
-
Страница 70
44 Connecting to the Network Section 3-5 3-5 Connecting to the Netw ork 3-5-1 Ethernet Connector s The f ollowing standards a nd specifications apply to the connectors f or the Ethernet twisted-pair cabl e. • Electrical specifications: Confo rming to IEEE802 .3 standards. • Connector structure: RJ45 8-pin Modular Con nector (conf or ming to ISO[...]
-
Страница 71
45 Connecting to the Network Section 3-5 1,2,3... 1. La y the twisted-pair cab le. 2. Co nn e c t th e ca ble to the switching hub . Be sure to pr es s in the cable until it locks into place. 3. Connect the twisted-pair ca ble t o the connecto r on the EtherNet/ IP Unit. Be sure to press the connect ors (both the s witching hub side and Ethernet si[...]
-
Страница 72
46 Creating I/O T ables Section 3-6 3-6 Creating I/O T ables 3-6-1 I/O T ab le Over view I/O tab le s are u sed to iden tify Unit s mounte d to t he PLC , and to allocat e I/O to them. With CS-series and CJ -series PLCs, whenev er there is a chan g e to the Unit configuration it is necessar y to create I/O tables and re gister the mou nted Units in[...]
-
Страница 73
47 Creating I/O T ables Section 3-6 (2) W ith the CJ2H-CPU @@ -EIP and CJ2M-CPU3 @ CPU Units, the b uilt-in EtherNet/IP port is set in the I/O tab les by def ault and cannot be changed. It is not ne cessar y to regi ster it in the I/O tables. Use the f ollowing procedure to creat e the I/O tab les. CX-Programmer (V ersion 8.0 or Higher) This sectio[...]
-
Страница 74
48 Creating I/O T ables Section 3-6 2. The Direct Online Dialog Bo x will be di spla y ed. Select a serial connection, select the nam e of the applicable computer ser ial por t, and then press the Connect Button. 3. If the connection process is succe ssful, the sys tem will be connected on- line. Here, che ck the operating mode of the PLC . If the [...]
-
Страница 75
49 Creating I/O T ables Section 3-6 5. The EtherNet/IP Unit will be display ed at the position it is mounted in the PLC . Note If it is not display ed, select Options − T ransfer fr om PLC from the menus . Note Creating I/O ta b le s is not require d if the b uilt-in EtherNet/IP port of a CJ2 CPU Unit is used. It is re gistered as a b uilt-in po [...]
-
Страница 76
50 Setting the Local IP Address Section 3-7 3-7 Setting the Local IP Ad dress This sectio n describes the 3 w ays to set t he local I/O add ress of an Et herNet/ IP Unit or b uilt-in EtherNet /I P por t. Method 1: Using the def ault IP address: The def ault IP address is 192.168.25 0.Node_addr ess . (The node address is se t with the rot ar y s wit[...]
-
Страница 77
51 Setting the Local IP Address Section 3-7 Method 2: Setting the Ad dress in th e CPU Bus Unit's Allocated DM Area With this method, an IP address is not set in the TCP/IP Configurat ion (left at its def ault setting), and an IP add ress is set in the allocat ed DM Area words (the IP Addr ess Display/Setting Area in words m +98 and m+9 9). Th[...]
-
Страница 78
52 TCP/IP and Link Settings Section 3-8 3-8 TCP/IP and Link Settings This section describes the TCP/IP-relat ed settings , such as the local IP address and subnet mask f or the EtherNet/I P Unit or b uilt-in EtherNet/IP por t. Use the CX-Progr ammer to make t hese settings . The settings are stored i n non-v olatile memo r y in the Unit. Note Unlik[...]
-
Страница 79
53 TCP/IP and Link Settings Section 3-8 4. Place the CX-Programmer onlin e with the PLC and tr ansf er the setting s to the EtherNet/IP Unit or built-in EtherNet/IP por t. 5. After transf erring the settings, a message will ask if yo u w ant to restar t the EtherNet/IP U nit or built-in EtherNet/IP por t. The Un it/por t must be restar t- ed to ena[...]
-
Страница 80
54 TCP/IP and Link Settings Section 3-8 IP Address Sets the local IP address of the Ether Net/IP Unit or b uilt-in EtherNet/IP port. Set the local IP address on the TCP/IP T a b P age when not setting the IP address in the CPU Un it’ s allocated DM Area or using the def ault IP address (def ault IP address = 192.16 8.250.Node_ ad dress). When the[...]
-
Страница 81
55 TCP/IP and Link Settings Section 3-8 functions th at require a DNS server , so these settings are not used. (Th e functionality required to use a DNS server is not pr ovided on EtherNet /IP Units with unit v ersion 1.0. The DNS se rver cannot be used with these Units .) Domain Name Sets the domain name of t he domain to which the EtherNet/IP Uni[...]
-
Страница 82
56 TCP/IP and Link Settings Section 3-8 2. Select T ools - Setup TCP/IP Configuration to display the f ollowing Setup TCP/IP Configur ation Dialog Bo x, and set the TCP/IP Configur ation f or the target de vice. In the f ollowing e xample, the settings are all at the ir def ault va lu e s. 3. Enter the IP address to set and press the Get fr om the [...]
-
Страница 83
57 T ag Data Link P arameters Section 3-9 Configurato r , connect the de vices one at a t ime, and download the TCP/ IP Configur ation’ s IP address parameter s. If TCP/IP parame ters are set f or the EtherNet/IP Unit or bu ilt-in EtherNet/IP po r t from the Network Con- figur ator , the EtherNe t/IP Unit ma y automatically be re set and restar t[...]
-
Страница 84
58 T ag Data Link P arameters Section 3-9 The follo wing method can be us ed to eas ily set the data links sho wn in the f ol- lowing figure using a wizard in the EtherNet/IP Datalink T ool. 1,2,3... 1. Star t the Network Conf igurator , select the applicab le EtherNet/IP Unit i n the T ree View on the left, an d then paste it into the De vice Conf[...]
-
Страница 85
59 T ag Data Link P arameters Section 3-9 3. Select Datalink − Wizard from the menus in the Dat alink T ool when it has star ted. 4. In the Datalink Wizard Dialog Bo x, enter 50 words star ting from memory address W000 f or area 1 and 100 words star ting from D00050 f or area 2, and then press the OK Button. 5. The data link settings will be auto[...]
-
Страница 86
60 T ag Data Link P arameters Section 3-9 6. In the Device Configu ration Windo w of the Network Configurator , a mark will be added to each E therNet/IP Unit to show that data links ha ve been set. 7. Connect the Network Configur ator to the Ethe rNet/IP netwo rk and select Network − Downloa d from the menus . The data link settings will be down[...]
-
Страница 87
61 Other P arameters Section 3-10 3-10 Other P arameter s In addition to the tag data link parameter s, the EtherNet/IP Unit and built -in EtherNet/IP port also hav e the follo wing communica tions and operat ion parameters. • FINS/UDP •F I N S / T C P •F T P • Aut o Adjust Time • Status A rea •S N M P •S N M P T r a p These paramet e[...]
-
Страница 88
62 Other P arameters Section 3-10 Using FINS/TCP When necessary , set the routing tab les using the CX-Integra tor . Using FTP T ab P a g e in Edit Parameter s Dialog Bo x Setting Function FINS/TCP FINS/TCP P ort Speci fies the local TCP por t number to use in the FINS co mmuni- cations ser vice. The TCP uses the TCP port number to distingui sh the[...]
-
Страница 89
63 Other P arameters Section 3-10 Using the A u tomati c Time Adjustment Using the Status Area T ab P a g e in Edit Parameter s Dialog Bo x Setting Function A uto Adjust Time Not get the time inf o rma- tion from the SNTP server or Get the time inform at ion from the SNTP server Specifies whether to set the clock in the CPU Unit to the time on the [...]
-
Страница 90
64 Other P arameters Section 3-10 Using SNMP Using SNMP Tr a p T ab P a g e in Edit Parameter s Dialog Bo x Setting Function SNMP Not use SNMP service or Use SNMP ser vice Specifies whether to use the SNMP . If not using the SNMP ser v ice is specified, an SNMP manager will not be able to connected from an e xter nal device. SNMP P ort Sets the por[...]
-
Страница 91
65 Communications T est Section 3-11 3-11 Comm unications T est If the basic settings (in particular the IP address and subnet mask) ha ve been made correctly f or the EtherNet/IP Unit or b uilt-in EtherNet/IP port, then it should be possib le to communicate with nodes on the Et herNet/IP network. This section describes how to use th e PING command[...]
-
Страница 92
66 Communications T est Section 3-11 Application Example In this e xample, a PING com mand is sent to the node at IP address 130.25.36. 8. The “$” in the e xample represents th e host computer prompt. Normal Execution Error Oc curred Ref er to the OS command ref erence manual f or your computer f or details on using the PING command. $ ping 130[...]
-
Страница 93
67 SECTION 4 Memory Allocations This section describes the words allocated in the CIO Area and the DM Area for EtherNet/I P Units or built-in EtherNet/IP ports. 4-1 Overview of Memory Allocated to the Ethe rNet/IP Unit . . . . . . . . . . . . . . . . 68 4-2 CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 94
68 Overview of Memory Allocated to the EtherNet/IP Unit Section 4-1 4-1 Overvie w of Memory Allocated to the EtherNet/IP Unit The f o llowing CPU Unit words are allocated to the Eth erNet/IP Unit or built-in EtherNet/IP por t. • CPU Unit’ s allocated C IO Area words Contains sof tware s wit ch and status inf or mat ion. • CPU Unit’ s alloca[...]
-
Страница 95
69 Overview of Memory Allocated to the EtherNet/IP Unit Section 4-1 CPU Unit ● Allocated CIO Area words (Allocated to the Unit as a CPU Bus Unit.) 100 words 100 words 100 words EtherNet/IP Unit 100 words IP Address Display/Setting Area Unit settings 64 words 64 words Unit number 0 Unit number 1 Unit number 15 Unit number 0 Unit number 1 Unit numb[...]
-
Страница 96
70 CIO Area Allocations Section 4-2 4-2 CIO Area Allocations 4-2-1 Overview of the Allocated CIO Area W ords The v arious kinds of data are stored in th e allocated CIO Are a words , which are identified by the offset from th e beginning wo rd (n) allocated to each Unit. There are tw o patterns f or the lay out of the allocated CI O Area words: the[...]
-
Страница 97
71 CIO Area Allocations Section 4-2 User Settings Note The reserved wor ds are regularly refreshed with all z eroes. The functions of the alloca ted CIO Area wo rds are described in the f ollowing section. 4-2-2 Details of the Allocated CIO Area W or ds Unit Control Bits (CPU Unit to Ether Net/IP Unit) (n) Unit control bits (Reserved) Unit status 1[...]
-
Страница 98
72 CIO Area Allocations Section 4-2 T ag Data Link Star t Bit (Bit 2) Star t the tag data links by s witching th is bit from OFF to ON. If the tag data links are already operating, the signal will be ignored. The tag data link star ts operating a utomatically after the ta g data link parame ter settings are do wn- loaded from t he Networ k Configu [...]
-
Страница 99
73 CIO Area Allocations Section 4-2 T arget Node PLC Error Inf ormation (EtherNet/IP U nit to CPU Unit) (n + 6 to n + 9) These words sho w the error status (logical OR of f atal and non-f a tal errors) of the target node PLCs th at are connected wit h the EtherNet/IP Unit as the orig- inator . This status inf or mation is enab led when the PLC stat[...]
-
Страница 100
74 CIO Area Allocations Section 4-2 Bit Name Status M anipulated by Unit operation 0 Unit Error Occurred ON Uni t Indicates that an error occurred that is related to EtherNet/IP Unit operation. This flag is turned ON when any b it in Unit St atus 1 is ON. (Bits 1 to 15 are logi- cally ORed.) OFF Uni t Indicates that a Unit error did not occu r . Th[...]
-
Страница 101
75 CIO Area Allocations Section 4-2 Unit Status 2 (EtherNet/IP U nit to CPU Unit) (n + 11) 10 to 13 (Not used) --- --- --- 14 Status Area La yout Setting Error ON Unit Indicates that there was an error in the allocated CIO Area’ s layout settings . When this error occurs, the allo- cated CIO Area la y out is set to the defa ult patt ern. In the f[...]
-
Страница 102
76 CIO Area Allocations Section 4-2 1 T ag Data Link Operating ON Unit Indicates that the tag da ta link is operating. T ur ned OFF when communica tions stop in the f ollowing cases. • Hard ware error • I P Address Duplication Error • BOOTP Server Error • Basic Ether net Settings Error • M emor y Error (MAC Address Error) OFF Uni t Indica[...]
-
Страница 103
77 CIO Area Allocations Section 4-2 Communications Status 1 (EtherNet/IP U nit to CPU Unit) (n + 12) W o rd n+12 contains status flags relat ed to the tag data lin ks, as sho wn in the f o llowing diagram. 15 Error Log Stored ON Unit Indicates that an error record is registered in the error log. OFF Uni t Indicates that no error records are registe[...]
-
Страница 104
78 CIO Area Allocations Section 4-2 4 Inv alid Communi- cations P arameter ON Uni t ON when there w as an error in the validation chec k of tag data link parameters stored in the Unit’ s non-volatile mem- or y , and a checksum error occurred. (Incl udes par ame- ters related to basic Ether net settings.) The tag data links will stop. OFF Uni t OF[...]
-
Страница 105
79 CIO Area Allocations Section 4-2 Communications Status 2 (EtherNet/IP U nit to CPU Unit) (n + 13) W ord n+13 co ntains status fl ags related to the Et hernet, as sh own in the f o l- lowing diagr am. Communications Status 3 (EtherNet/IP U nit to CPU Unit) (n + 14) W ord n+14 contains status flags related to t he Ethernet errors, a s shown i n th[...]
-
Страница 106
80 CIO Area Allocations Section 4-2 Registered T arget Node T a ble (EtherNet/IP U nit to CPU Unit) (n + 16 to n + 19) W ords n+16 to n+19 show the regi stratio n status of the targe t nodes that ar e connected with the EtherNe t /IP Unit as the originator . These words sho w the status of nodes 0 to 63 only . If it is necessary to show the status [...]
-
Страница 107
81 CIO Area Allocations Section 4-2 Normal T arget Node T able (EtherNet/IP Unit to CPU Unit) (n+20 to n+23) W ords n+20 to n+23 show the connection status o f the target nod es that are connected with the EtherNet/IP Unit as th e originat or . With revision 2 or higher , the flag turns ON after all data f or multiple connecti ons f o r individual [...]
-
Страница 108
82 CIO Area Allocations Section 4-2 14 FINS/TCP Connec- tion 15 ON Unit T urned ON by the Unit when a connection is established. OFF Uni t T ur n ed OFF by the Unit when the connection is ter minated. 15 FINS/TCP Connec- tion 16 ON Unit T urn ed ON by the Unit when a connection is established. OFF Uni t T ur n ed OFF by the Unit when the connection[...]
-
Страница 109
83 DM Area Allocations Section 4-3 4-3 DM Area Allocations 4-3-1 Overview of the Allocated DM Area W ords The v ar ious kinds of data are stor ed in the offset positi ons shown in the f ol- lowing diag ram, from the beginning w ord in the area f or each Unit. The beginning w ord m is calculated by th e f ollowing equation: Beginning w ord m = D300 [...]
-
Страница 110
84 DM Area Allocations Section 4-3 address, ev en if a non-z ero IP addres s was set in the IP Add ress Display/ Setting Area w ords bef orehand. (2) It is not possible to set the f ollowing IP addresses . If any of these v alues are set, the ERH indicator will flash. • IP addresses where all netw ork number bits are 0 or 1. • IP addresses wher[...]
-
Страница 111
85 User Settings Area Section 4-4 4-4 User Settings Area 4-4-1 Overview of the User Settings Area When the la yout of the allo cated CIO Area w o rds is set to user sett ings, the user setting s area can be used in addit ion to the allocated CIO Area w ords and allocated DM Area w ords. The beginning w ord of the user set tings area can be set in t[...]
-
Страница 112
86 User Settings Area Section 4-4 Normal T arget Node T able (EtherNet/IP Unit to CPU Unit) These flags indicat e the con ne cti on st at u s of t he ta rget nod es . With re vision 2 or higher , the flag turns ON after all data f or multiple connections f or individual target de vices is refreshed in the CPU Unit. With re vision 1, each flag immed[...]
-
Страница 113
87 User Settings Area Section 4-4 T arget Node PLC Error Inf ormation (EtherNet/IP U nit to CPU Unit) These flags indicate the error status (logical OR of f atal and non-f atal errors) of the target n ode PLCs, a nd are v alid only when the EtherNet /IP Unit is the originator . The flags are v alid only when the corresponding Normal T arget Node Fl[...]
-
Страница 114
88 A uxiliary Area Data Section 4-5 4-5 A uxiliary Area Data The f ollowing tab le and descriptions co ve r the word s and bits in the CPU Unit’ s Auxiliary Area that are related to the EtherNet/IP Unit. 4-5-1 Read-onl y Bits/W ords W ord(s) Bit(s) Name F unction Settings A202 A20200 to A20207 Communications P or t Enabled Flags Bits A20200 to A2[...]
-
Страница 115
89 A uxiliary Area Data Section 4-5 4-5-2 Read/Write Bits (User Settings) A417 A41700 to A41715 CPU Bus Unit Error , Unit Number Flags Wh en an error occurs in a data e xchange between the CPU Unit and a CPU Bus Unit, the CPU Bus Unit Error Flag (A40207) an d the corresponding flag in A417 are tur ned ON. Bits 00 to 15 correspond to unit numbers 0 [...]
-
Страница 116
90 A uxiliary Area Data Section 4-5[...]
-
Страница 117
91 SECTION 5 Determining IP Addr esses This section explains ho w to manage and use IP addresses. 5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5-1-1 IP Address Conf iguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5-1-2 Allocating IP Addresses .[...]
-
Страница 118
92 IP Addresses Section 5-1 5-1 IP Ad dresses 5-1-1 IP Address Configuration IP addresses are made up of 32 bit s of binary data divided in to f our 8-bit fiel ds called octets . These f our octets pro vide the netw or k number ( net ID) and host number (hos t ID). The network number ident ifies the network, and the host number identifi es the node[...]
-
Страница 119
93 IP Addresses Section 5-1 5-1-3 EtherNet/IP Unit IP Address Settings An IP address must be set e ven f or the EtherNet/IP Unit or b uilt-in Ether Net/IP por t bef ore Ether net commun ications can proceed. Use one o f the f ollowing methods to se t the IP addre ss of the EtherNet /IP Unit or b uilt-in EtherNet/IP por t. Eit her use the def ault I[...]
-
Страница 120
94 IP Addresses in FINS Communications Section 5-2 5-1-5 CIDR CIDR, or classless interdomain ro uting, is used to assign IP addr esses that do not use classe s. IP addresses tha t use classes are sep arated int o bl ocks according to net IDs and host IDs, resu lting in inefficient usage o f IP address space. CIDR does not use classes , so IP addres[...]
-
Страница 121
95 IP Addresses in FINS Communications Section 5-2 • Ethernet address: A fixed n umb er is assigned to each EtherNet /IP Unit or b uilt-in EtherNet/I P por t and it cannot be changed. • IP address: Use the def ault IP address (192.168.2 50. FINS_node n umber ), set t he address in the allocated DM Area words , or set the address on the TCP/IP T[...]
-
Страница 122
96 IP Addresses in FINS Communications Section 5-2 5-2-2 P airing Addresses in Internal T ables FINS/UDP Communications Methods A utomatic Genera tio n (Dynamic ) When the EtherNet/ IP Unit or built-in EtherNet/IP por t is tur ned ON or restar ted , the follo w ing values are set for addresses in the inter nal table. • Remote IP address: Local I [...]
-
Страница 123
97 IP Addresses in FINS Communications Section 5-2 A utomatic Genera tio n (Static) With th e static method as well, th e f ollowing values are set f or addresses in the inter nal table when the EtherNet/IP Unit or built-in EtherNet/IP po r t is tur n e d ON or res ta r ted. • Remote IP address: Local I P address netw or k numbe r + remote FINS n[...]
-
Страница 124
98 IP Addresses in FINS Communications Section 5-2 Example Combined Metho d The combined method combines the IP address tab le method and the auto- matic gener ation method (dynamic). First the IP addr ess table is re f erenced. Then, if the applicab le FINS node address is f ound, the corresponding IP address is read. If the FINS node address is n[...]
-
Страница 125
99 IP Addresses in FINS Communications Section 5-2 Example Note When an internal tabl e IP address has bee n changed with the r eception of a FINS command, this is sent to the IP addr ess in the internal table . Prohibiting Dyna mically Changing Remote IP Addresses With EtherNet/IP Units and built-in EtherNe t/IP port s , it is possib le to prohibi[...]
-
Страница 126
100 IP Addresses in FINS Communications Section 5-2 Note If the ETN11-compatible mo de is used, the internal table will retain the same content fr om whe n it was created aft er the EtherNet /IP Unit w as tur ned ON or restar ted . This feature provides protection from access via FINS/UDP fr om computers that dynamically chan ge their IP address . [...]
-
Страница 127
101 IP Addresses in FINS Communications Section 5-2 ■ Local Device: FINS/TCP Ser ver 1,2,3... 1. A request to open a conn ection is receiv ed in TCP/IP protocol from th e re- mote de vice (i.e., the client, either a person al computer , an EtherNet /IP Unit or b uilt-in EtherNet/IP port), and the connection is estab lished. 2. Notification is rec[...]
-
Страница 128
102 IP Addresses in FINS Communications Section 5-2 2. Set IP addresses f o r the de vices to be connected. Set the IP address f or the remote EtherNet/IP Unit or built- in EtherNet/IP por t (i.e ., the server) connect ed b y FINS/TCP . This setting must be made if this EtherNet/IP Unit will be used as a FINS/ TCP client. 5-2-3 Application Examples[...]
-
Страница 129
103 IP Addresses in FINS Communications Section 5-2 server whene ver the system is started. Theref ore, at a personal computer using the DHCP ser vice, IP addresse s ma y be diff erent with each system star tup . DHCP ser vice is mainly used for automa tic settings in de vices such as per- sonal computers that are used f or client applications . No[...]
-
Страница 130
104 IP Addresses in FINS Communications Section 5-2 Models Supporting A utomatic Genera tio n Method (Static ) Models Supporting IP Address T able Method Programmab le T er minal NS Ser ies No: Set manually so that automati c settings can be used with th e au to ma ti c generation method. Open Network Controller (ONC) --- Product Model/Series/ Ve r[...]
-
Страница 131
105 IP Addresses in FINS Communications Section 5-2 Models that Can Use the Combined Metho d 5-2-5 P airing IP Addresses and FINS Node Ad dresses The f ollowing tab le shows the method s f or pair ing IP addre ss and FINS node addresses , and the relati on between fix ed and va riable address , for bo th FINS/UDP and FINS/TCP . Product Model/Series[...]
-
Страница 132
106 Private and Global Addresses Section 5-3 5-3 Priv ate and Global Addresses 5-3-1 Priv ate and Global Addresses There are tw o kinds of IP addresses, p riv ate and global. • Global addresses: These are IP addresse s that connect directl y to the Internet. Allocated b y application to NIC , each address is unique in the world, and as man y as 4[...]
-
Страница 133
107 Private and Global Addresses Section 5-3 5-3-2 Using a Priv ate Address f or the EtherNet/IP Unit Conditions f o r Using Communic ations Applications When the EtherNe t/IP Unit or built-in EtherNet/IP por t has a pr iv ate address, communications app lica tio ns ca n be use d unde r the following conditions: ■ FINS Communicat ions Service •[...]
-
Страница 134
108 Private and Global Addresses Section 5-3 • With FINS/UDP , when the IP address (priv ate address) of a computer serv ing as a DHCP client is chan ged, the IP address con version method of the EtherNet/IP Unit or built-in EtherNet/IP por t will be the automatic generati on method (dynamic), the comb ined method, or the IP add ress tab le metho[...]
-
Страница 135
109 Private and Global Addresses Section 5-3 5-3-3 EtherNet/IP Unit with a Global Ad dress Conditions f o r Using Communic ations Applications Communications applications can be used o ver the Internet under the f ollow- ing conditions: ■ FINS Communicat ions Service • A device such as a personal co mputer (a FINS applic ation, including the CX[...]
-
Страница 136
110 Private and Global Addresses Section 5-3 • If the TCP port number (44818) or UDP por t number (44818) that is used f or EtherNet/IP cannot be used if prohibited b y a firew all in the communi- cations path. Note Network Security and Fire walls Setting a glob al IP address f or an EtherNet/IP Unit o r built- in EtherNet/IP port inv olves ne tw[...]
-
Страница 137
111 SECTION 6 T ag Data Link Functions This section describes tag data link functions and related Network Configurator operations. 6-1 Overvie w of T ag Data L inks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 6-1-1 T ag Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1[...]
-
Страница 138
112 Overview of T ag Data Links Section 6-1 6-1 Overvie w of T ag Data Links 6-1-1 T ag Data Links T ag data links enable cycli c data e xchanges on an EtherNet/IP network between PLCs or b etween PLCs and anot her de vice. I/O memory addresses (e.g ., in the CIO or DM Area) and symbo ls can be assigned to t ags. The set- tings f or tag data links [...]
-
Страница 139
113 Overview of T ag Data Links Section 6-1 6-1-2 Overview of Operation Setting and Downloading T ag Data Link P arameters The tag data link par ameters (e.g., connection inf or mation) that are described below are creat ed using the Netw ork Configurator , and then the parameters are downlo aded to all originator de vices on the EtherNet/IP networ[...]
-
Страница 140
114 Overview of T ag Data Links Section 6-1 Another EtherNet/IP Unit m ust be mounted to the PLC to increase the ma xi- mum nu mber of connectio ns. (Ref er to the f ollowing figur e.) Setting the P acket Interval (RPI) The pack et inter v al is the data I/O ref resh cycle in the Ethernet circuit when perf or ming tag data links, and can be set sep[...]
-
Страница 141
115 Overview of T ag Data Links Section 6-1 If multica st connections ar e used, ho we ver , use a s witching hub that h as mul- ticast filter ing, unless th e tag set is received b y all nodes in the netw or k. If a s witching hub that does not ha ve multica st filtering is used, the multicast pack ets will be broadcast to the entire network, and [...]
-
Страница 142
116 Overview of T ag Data Links Section 6-1 System Configuratio n Conditions for Setting T ags Us ing Symbols or I/O Memory Addresses Local tags f or tag data links can be set using I/ O memor y addresses or net- work symbols. Supp or t fo r network symbols , how ev er , depends on the mode l of CPU Unit, as shown in the f ollowing table . Communic[...]
-
Страница 143
117 Overview of T ag Data Links Section 6-1 There are bot h input and ou tput tag se ts. Each tag se t can contai n only input tags or only ou tput tags . The same input tag can not be included in mor e than one input tag se t. Number of T ags in T ag Sets Each tag set can contain one or more tags . ■ T ag Sets with Onl y One T ag With basic Netw[...]
-
Страница 144
118 Overview of T ag Data Links Section 6-1 Note The I/O memory words used in tags in a tag set do not ha ve continuo us addresses . The tags ca n also be fr om diff ere nt I/O memory areas. T o enable a connection, ho wev er , each tag set must include only input tags or only outp ut tags . (Both input and ou tput tags canno t be included in the s[...]
-
Страница 145
119 Overview of T ag Data Links Section 6-1 T o receive the PLC st atus, specify the PLC status in an inpu t (consume) tag in the reception tag se t as w ell. When the PLC status is specif ied in an input tag, the PLC status flags will be reflected in the corresponding location in the tag data link’ s T arget Node PLC Operating Flags an d T arget[...]
-
Страница 146
120 Overview of T ag Data Links Section 6-1 The f ollowing tab le shows the opera tion of each the bits when mu ltiple con- nections are used to comm unicate with a node , and the PLC status is speci- fied in all of the connec tio ns. Note When the PLC status is not selected in t he input (consume) ta gs, th e PLC sta- tus inf or mation (16-bit dat[...]
-
Страница 147
121 Setting T ag Data Links Section 6-2 6-2 Setting T ag Data Links 6-2-1 Starting the Network Configurator Procedure T ag data links are set by using the Network Configurator . Use the f ollowing procedure to st art the Network Configurat or . ■ Starting from the Windows Start Menu T o star t the Network configu rator , select OMRON - CX-On e - [...]
-
Страница 148
122 Setting T ag Data Links Section 6-2 When the Network Configurator star ts, the f ollowing window will be displa y ed. Main Window The Main Window consist s of a Hardw are List and a Network Configurat ion Window , as shown in t he f ollowing diagr am. Hardware List: Displays the de vices that can be added to the network. Network Configuration W[...]
-
Страница 149
123 Setting T ag Data Links Section 6-2 When two or mor e networks are being mana ged, a new Net work Configura- tion Windo w can be added b y selecting Network - Add . T o change the name displa yed in the Netw ork T ab P age, select Netw ork - Property . The na me set in the Comment Field of the Network Prop erty Win - dow can be changed.[...]
-
Страница 150
124 Setting T ag Data Links Section 6-2 6-2-2 T ag Data Link Setting Pr ocedure The section describes the pro cedu re f or setting tag data links (i. e ., connection inf or mation). F or data links between PLCs , the connection inf or mation is set only in the originator , i.e., the node that re ceiv es data. 1. Creating a Network Configuration Reg[...]
-
Страница 151
125 Setting T ag Data Links Section 6-2 6-2-3 Registering De vices Register all of t he de vices required in the equipmen t (such as EtherNet/I P Units performing tag data links ) as a network con figu ration. 1,2,3... 1. Register the devices that will particip ate in the tag data links b y dragging the de vices from the Hardw are List and dropping[...]
-
Страница 152
126 Setting T ag Data Links Section 6-2 3. Set the IP address to ma tch the node a ddr ess (IP address) actually b eing used in the de vice. 4. Repeat steps 1 to 3, and register all of the de vices par ticipating in the tag data links. 6-2-4 Creating T ags and T ag Sets Specifying I/O Memory Addresses The tag sets an d set member tags r equired to [...]
-
Страница 153
127 Setting T ag Data Links Section 6-2 2. Click the Ta g S e t s T ab at th e top of the Edit Device P arameter s Dialog Box. There are tw o kinds of tag sets: input (consume) an d ou tput (produce).[...]
-
Страница 154
128 Setting T ag Data Links Section 6-2 Creating and Ad ding T ags 3. Clic k the Edit T ags Button. The Edit T ags Dialog Box will be displa yed. Register the input ( consume) tags and output (produce) t ags separ ately . 4. Click the In - Consume T ab, a nd click the Ne w Button. The Edit T ag Dialog Bo x will be displa yed. 5. In the Name Field, [...]
-
Страница 155
129 Setting T ag Data Links Section 6-2 (b) Be sure to directly ent er the CPU Unit's I/O me mor y address (e.g., 100, W100, D0) or a network symbol as a charact er string. 6. In pu t th e size of the tag in the Size Field, in bytes. 7. Click the Regist Button to register the ta g. If an I/O memory address is specifie d for a tag name, the Edi[...]
-
Страница 156
130 Setting T ag Data Links Section 6-2 9. Wh en you are finished re gistering the required t ags, clic k the OK Butt on at the bottom of the E dit T ag s D ialo g Box. 10. At this point, a confir mation dialog box will be displa yed to chec k whether the registered tag names will registered without changes as tag sets. A tag set can contain up to [...]
-
Страница 157
131 Setting T ag Data Links Section 6-2 Changing and Registering Ta g S e t s 11. The f ollowing dialog bo x will be disp lay ed when the tags in the Edit T ags Dialog Box are registered directly as tag sets. 12. If an inp ut tag has already been r egistered in an input t ag set, and y ou want to change its registr ation to a diff erent input tag s[...]
-
Страница 158
132 Setting T ag Data Links Section 6-2 Open the Edit Device P aram eters Dialog Bo x, select the t ag set containing the tag th at you want to delete, and click the Delete But ton in the Edit T ag Dialog Bo x. (If there are other tags registered in that tag set , it is possible to delete just one tag b y selecting the tag that y ou want to delete [...]
-
Страница 159
133 Setting T ag Data Links Section 6-2 13. In order to ed it a registered tag se t and add tags , either double-clic k the tag set, or select the ta g set and clic k the Edit Button. The Edit T ag Set Dialog Bo x will be displa yed. The T ag List on the left side of the dia log bo x shows the tags that are al- ready register ed, and the Candidate [...]
-
Страница 160
134 Setting T ag Data Links Section 6-2 18. If y ou want to just add ne w tags and register the tag se t, first register t he tags with steps 1 to 9. In th is e xample, inp ut tags D00004 and D00 005 hav e been newly added. 19. When y ou are finished regi stering the required tags , click the OK Button at the bottom of the E dit T ag s D ialo g Box[...]
-
Страница 161
135 Setting T ag Data Links Section 6-2 21. T o register the ne wly added tags in a tag set, either doub le-click the de- sired tag set, or select the tag set and clic k the Edit Button. The T ag List on the left side of the dia log bo x shows the tags that are al- ready register ed, and the Candidate T ag List on the right side of the dialog bo x [...]
-
Страница 162
136 Setting T ag Data Links Section 6-2 2. Importing Network Symbols Created wi th the CX-Pr ogrammer to the Network Configurator If the CJ2H-CPU6 @ -EIP or CJ2M-CPU3 @ is use d, you can create network symbols using the CX-P rogram mer , impor t th em into the Netw ork Configura- tor , and then cre at e tags an d ta g se ts. Use the following proce[...]
-
Страница 163
137 Setting T ag Data Links Section 6-2 A confir mation message will be displa yed. Clic k the Ye s Button. The symbols will be impor ted as shown belo w on the T ag Sets T ab P age. Each symbol will be impor ted into a diff erent tag set and the de vice param- eters will be automatically edited. (T he symbol name will be used f or the tag set name[...]
-
Страница 164
138 Setting T ag Data Links Section 6-2 T o place more than one input symbol (inp ut tag) imported from the CX- Programmer into one tag set, you must delete the input tags that were reg- istered to s eparate input tag s ets. Select the tag sets f or the symbols that are includ ed in the one t ag set and click the De lete Button. A confirmation me s[...]
-
Страница 165
139 Setting T ag Data Links Section 6-2 4. Y ou can change tag set names in t his dialog bo x. T o confir m a change , click the OK Button in the dia log box. 5. P erform steps 1 to 3 for all the de vices that will perf or m tag data links. 3. Importing Network Symbol s That W ere Registered to T ags with the Netw ork Configurator to the CX-Program[...]
-
Страница 166
140 Setting T ag Data Links Section 6-2 Impor ti ng th e T ag and T ag Set CSV File with the CX-Programmer 1,2,3... 1. In the project global symbol tab le for the CJ2H-CPU6 @ -EIP or CJ2M- CPU3 @ , right-click and select Import N etwork V ariable from the pop-up menu. 2. Y ou can add a tag as a network symbol b y selecting and e xecuting t he CSV f[...]
-
Страница 167
141 Setting T ag Data Links Section 6-2 6-2-5 Connection Settings After creating the tag sets, click the Connections T ab at the top of the Edit De vice P arameters Dialog Box, and se t the f ollowing connection inf o r mation. • The target devices with which connections will be opened • Whether the tag se ts are input or outp ut tag sets • T[...]
-
Страница 168
142 Setting T ag Data Links Section 6-2 3. In the Unregister Device List , select the target de vice that requires connec- tion settings b y clicking the de vice so its color changes to gra y , and click the Button. The select ed target de vice will be display ed in the Reg- ister De vice List, as shown in the fo llowing diagr am. 4. T arget node I[...]
-
Страница 169
143 Setting T ag Data Links Section 6-2 1,2,3... 1. Select the Connectio n T ab and then click the New Button. The f o llowing Edit Connection Dialog Bo x will be display ed acc ording to the type of de vice that is selected. Using an OMRON EtherNet/IP Unit or Built-in EtherNe t/IP P or t as the Ta r g e t Using Other Et herNet/IP De vices as the T[...]
-
Страница 170
144 Setting T ag Data Links Section 6-2 The settings are as f ollows: 2. When the settings ha ve been complet ed, press the Regist Button. Connections Settings (Editing All Connections) The connectio n settings betw een the originator and all of the target de vices selected in th e Register De vice List can be edite d together in a tab le. 1,2,3...[...]
-
Страница 171
145 Setting T ag Data Links Section 6-2 The f ollowing tab le descr ibes the v ar ious settings in the dialog bo x. 2. When the settings are co mpleted, clic k the OK Button. Setting Function T arget Devic e Selects the targ et device . Connection Name Any name can be giv en to the connection (up to 32 charac- ters). If this field is left blank, a [...]
-
Страница 172
146 Setting T ag Data Links Section 6-2 Confirming the Connections Settings 1,2,3... 1. An ov erview of the con nections set in the Register De vice List is displa yed in the Connectio ns T ab Page. 2. Click the OK Button. The follo w ing kind of diagr am will be displa yed. 3. Repeat the Connections se tting procedure until all of the co nnections[...]
-
Страница 173
147 Setting T ag Data Links Section 6-2 4. If the tag set’ s siz e is changed in either the or iginator or tar get after th e connection was set, the size will not match the othe r node and a par ameter data mismatch will occur . In this case , if the connection settings ha v e been changed, be sure to chec k the connections. ( Refer to 6-2-17 Ch[...]
-
Страница 174
148 Setting T ag Data Links Section 6-2 Example 2: A utomatic Connecti ons with the Elli p ses The f ollowing connections would autom atically be set if there is an output tag set named O_Signal at node A and input tag sets named I_Signal at no des B and C , and “O_” and “I_” were set as ellipses. 1,2,3... 1. Set the same tag set names f or[...]
-
Страница 175
149 Setting T ag Data Links Section 6-2 Click the OK Button t o star t processing. 4. A device connection stru cture tree w ill be displa y ed when processing has been completed. 5. Use the device connection structur e tree as requir ed to chang e the RPI and timeout settin gs. Device Connection Structure T r ee Connection settings can be displa ye[...]
-
Страница 176
150 Setting T ag Data Links Section 6-2 •T h e Display t he detail of Connection Check Bo x can be used to s witch between de vice-le vel and conne ction-le vel displa ys of tag data link com- munica tions. • An asteris k will be displa yed after the de vice name of the originator set f or the connection. • The Edit Device P arameters Dialog [...]
-
Страница 177
151 Setting T ag Data Links Section 6-2 Node List The f o llowing items will be displa yed in the Node Area on the left side of the window . • IP Address: The IP addre ss of the node . • De vice: The name (mod el n umber) of the de vice at the node. Note The node list will displa y the node registered in t he Network Configur ator . Nodes cann [...]
-
Страница 178
152 Setting T ag Data Links Section 6-2 • T ag Set N ame: If the Wizard is used, the names w ill be automatically assigned using consecutiv e IP addresses in t he f ollowing f or m f or both input and outpu t tags: T agSet1 _192168.250.1. There is no reason to be concer ned with these names. If the Wizard is not used, then names will not be autom[...]
-
Страница 179
153 Setting T ag Data Links Section 6-2 2. Select the memory area (here , W) in the Memor y Field an d enter the star t- ing address (her e, 0) and number of words (here, 50) in the Star t Address and Size Fields f or Ar ea 1. 3. Se lect the memor y area (here, D) in the Memor y Field and ent er the start- ing address (her e, 50) an d number of w o[...]
-
Страница 180
154 Setting T ag Data Links Section 6-2 If the creating the data link tab le is c o ntinued, the data link tab le will be cre- ated with the same siz e of data link f or all registered no des . Examples are shown belo w . A utomatic Allocation Results f or Node 1 (IP Address: 192.168. 250.1) A utomatic Allocation Results f or Node 2 (IP Address: 19[...]
-
Страница 181
155 Setting T ag Data Links Section 6-2 A utomatic Allocation Results f or Node 3 (IP Address: 192. 168.250.3) 6. After entering all of the sett ings in the data li nk tab le, select Save from the File Menu. A consistency chec k will be performed on the table and the re- sults will be displa yed. a. T able Inco nsistencies The f ollowing Check Resu[...]
-
Страница 182
156 Setting T ag Data Links Section 6-2 b . No T able Inconsiste ncies The f ollowing message will be displa yed. Clic k the OK Button. 7. Select Exit from the File Menu. The EtherN et/IP Datalink T o ol will be e x ited and you’ll return to the Network Configurator . 8. Retur ning to the Ne twork Configurat or Click the icon f or each device and[...]
-
Страница 183
157 Setting T ag Data Links Section 6-2 The f ollowing dialog bo x will be displa yed bef ore the Wizard star ts. Click the Ye s Button to delete the connections that hav e been set with OM- RON PLCs before star ting the W izard. 3. Cr eate the conn ection follo wing the instruc tions that are given b y t he Wiz- ard after the Wizard sta r ts. (See[...]
-
Страница 184
158 Setting T ag Data Links Section 6-2 The f ollowing displa y will appear when you clic k the Show Detail Button. The specified v alues for detailed par ameters will be display ed. Change the v alues as required. Th e connection name cannot be set . The y are automati- cally created using the follo wing rule. def ault_N (where N is a 3-digit numb[...]
-
Страница 185
159 Setting T ag Data Links Section 6-2 6-2-8 Creating Connections by De vice Dragging and Dr opping Y ou can create a connectio n to the originator b y dragging a target de vice and dropping it at t he originator de vice. Network Configurat or v ersion 3.10 or higher is required t o dr ag and drop de vices to mak e connections . Example: Drag the [...]
-
Страница 186
160 Setting T ag Data Links Section 6-2 • If there is no app licab le input tag set at the originator , y ou can create a new one by using the Edit T ag Sets Button a nd Edit T ag Button. b . Using Other EtherNet/IP De vices as T arget The connection I/O t ype list bo x in the upper par t of the Connection Settings Dialog Bo x displa ys the conne[...]
-
Страница 187
161 Setting T ag Data Links Section 6-2 Note The f ollowing dialog bo x will be displa yed if a target de vice that does not ha v e I/O data is dropped. Bef ore dropp ing aga in, ref er to the man ual o f the a pplicab le de vice and create the I/O data (i .e., output tag sets) re quired to create a con nection. 3. Aft er you ha ve set all of the c[...]
-
Страница 188
162 Setting T ag Data Links Section 6-2 The Network Configur ator will conn ect to the EtherNet /IP network. If t he Network Configura tor is connected online pr operly , On-line will be dis- pla y ed in the status bar at the bo ttom of the windo w . The network connec- tion icon will be display ed in blue in the Network T ab Page in which the Netw[...]
-
Страница 189
163 Setting T ag Data Links Section 6-2 3. Input the EtherNet/IP Unit’ s unit number in the Unit No . Field, selec t the connecting COM por t numbe r , and clic k the OK Button. Usually , the Ba ud Rate is left at this setting. The f ollowing dialog bo x will be displa yed. 4. After clicking TCP:2 , clic k the OK Button. The Network Configurator [...]
-
Страница 190
164 Setting T ag Data Links Section 6-2 2. Select Network - Connect . The Setup Interf ace Dialog Bo x will be dis- pla yed. 3. Set the por t type to either USB or serial. 4. Set the por t to use and then click th e OK Button. (Lea ve the baud r ate at the default setting.) The f o llowing dialog bo x will be displa yed. 5. Select the Backplane Ico[...]
-
Страница 191
165 Setting T ag Data Links Section 6-2 7. Se lec t th e p or t f or th e Eth er Ne t/IP Unit and then click the OK Button. The Network Configurator will be connected to the EtherN et/IP network. If the Network Configurator goes online no r mally , “On-line” will be display ed in the status bar at th e bo tto m of the w ind ow . Connecting to a[...]
-
Страница 192
166 Setting T ag Data Links Section 6-2 2. Select Network - Conne ct . The f ollowing Setup Interf ace Dialog Box will be displa yed. 3. Click the Setup Button in the Setup Interf ace Dialog B o x. The Registration of the connecti on Dialog Bo x will be display ed. Enter the netw ork inf or ma- tion f or the connection destin ation, a nd the n clic[...]
-
Страница 193
167 Setting T ag Data Links Section 6-2 • Node address Last v alue in the IP address of the Unit abov e (e.g., 3 f or 192.168.25 1.3) • Unit number of CPU Bus Unit Unit number of the Unit abov e d. Remote Info rmation - Ether net Unit Enter the inf or mation f or the Ether n et Unit of the PLC that will be the rela y node. 4. Once the settings [...]
-
Страница 194
168 Setting T ag Data Links Section 6-2 is click ed in the dialog bo x abo ve . (Refer t o the f ollowing figure. ) 6-2-10 Downloadi ng T ag Data Link P arameters T o make tag data links , you m ust download t ag data link par ameters , such as tag set settings and connection setti ngs, to all de vices in the EtherNet/IP net- work. When the do wnlo[...]
-
Страница 195
169 Setting T ag Data Links Section 6-2 1,2,3... 1. Connect the Netw or k Configur ator online . 2. There are two w ays to do wnload the parameters . • Downloading to All De vic es in the Network Select Networ k - Do wnload . The fo llowing dialog bo x will be display e d. • Downloading In dividually to P ar ticular Devices Select the icon of t[...]
-
Страница 196
170 Setting T ag Data Links Section 6-2 If the Download after cha nged to Progra m mode Button is clicked, all CPU Units will be changed to PROG RAM mode and the parameters will be do wnloaded. Confirm saf ety for all controlled equip ment if the CPU Units are changed to PR OGRAM mode. The operatin g mode can be re- turned to the pre vious setting [...]
-
Страница 197
171 Setting T ag Data Links Section 6-2 If the oper ating mode of one or mor e CPU Units was changed to download the param eters , the CPU Units can be returned to the pre vious operatin g mode. If the No Button is click ed, the CPU Units will remain in PR OGRAM mode. 4. The follo wing dialog bo x will be displa yed, indicating that the download wa[...]
-
Страница 198
172 Setting T ag Data Links Section 6-2 Select the icon of th e EtherNet/IP Un it from which y ou want t o upload. T o select multip le nodes , press and hold the Shift K e y while selecting addi- tional icons . (In the follo wing examp le, 2 nodes ar e selected: 192.168.25 0.1 and 192.168. 250.2.) After selectin g the icon s, click the ri ght mo u[...]
-
Страница 199
173 Setting T ag Data Links Section 6-2 V erifying the Netw ork Configuration Compare the list o f registered de vices in the Netwo rk Configuration Windo w with the de vices connected on the EtherNet/I P network, and chec k the IP addresses and de vic e types. This function cannot be used to ve rif y de vice parameters. 1,2,3... 1. Connect the Net[...]
-
Страница 200
174 Setting T ag Data Links Section 6-2 Click the OK Button or the Close Butt on. V erifying the Device P arameters Use the f ollo wing proced ure to compare the de vice parameter s f or the de vices selected in the Net work Configur ation Windo w with those of the de vices con- nected on the EtherNet/I P network. The IP ad dresses, de vice types, [...]
-
Страница 201
175 Setting T ag Data Links Section 6-2 • Diffe rences F ound in the Device T ype Click the OK Button or the Close B utton. 5. If multiple nodes hav e been sele cted, the f ollowing message will be dis- pla yed. Click the Ye s Button . The comparison results will be displayed in order of the s elected nodes. 6-2-13 Starting and Stopping T ag Data[...]
-
Страница 202
176 Setting T ag Data Links Section 6-2 Star t Connection Bu tton: Star ts all connections f or which the de vice is the originator . Stop Connection Button : Stops all connections f or which the de vice is the originator . Note Connections will be cut off if any of the f ollowing errors occurs in the CPU Unit that is the originator while tag data [...]
-
Страница 203
177 Setting T ag Data Links Section 6-2 3. Select Device - Reset . The f ollowing dialog bo x will be display ed. • Clicking the Ye s Button: The f ollowing dialog bo x will be displa yed. Select one of the f ollowing optio ns and click the OK Button . • Emulate cycling po wer Restar ts the Unit. • Return to the out-of-bo x configuration, a n[...]
-
Страница 204
178 Setting T ag Data Links Section 6-2 The network configur ation file sav e operation is co mplete. 3. When the network configura tion is changed later , t he existing network con- figurat ion file can be ov erwritten by selecting File - Sa ve or clicking the Button. 4. Y ou can select the Select target netwo r k Check Box in the Option Area to s[...]
-
Страница 205
179 Setting T ag Data Links Section 6-2 1,2,3... 1. Select File - Open or click the Button. The f ollowing dialog bo x will be displa yed. If the network configur ation file that you w ant to read is not displa yed, change to ( Loo k in ) another f older . 2. When you clic k and sele ct the network configur ation file that y ou want to read, that f[...]
-
Страница 206
180 Setting T ag Data Links Section 6-2 5. Select any of the opt ions as necessary . The options are listed belo w . Note The sav e format will vary depending on the N etwork Configurator v ersion. Configuratio n files (*.ncf) created using the Network Configur ator f or Ether- Net/IP (v ersion 2 or higher) can be imported (opened) by selecting Ext[...]
-
Страница 207
181 Setting T ag Data Links Section 6-2 6-2-18 Changing Devices De vices that are register ed in a network configur ation with the Network Con- figurator can be changed. Select Change Device from the De vice Menu to display a list of the de vices th at can be changed to. Select the desired device . A de vice can be changed only when ther e is compl[...]
-
Страница 208
182 Setting T ag Data Links Section 6-2 Icon Status (gra y) Offline Default (no configur ation) (turquoise edge) (green) Idle (CPU Unit of PLC is in PROGRAM mode.) (blue) Communications normal (CPU Unit of PLC is in R UN or MONI- T OR mode.) (yellow) Warning (A non-fatal error has o ccurred in the CPU Unit of the PLC. ) (red) Alar m (A fatal error [...]
-
Страница 209
183 Ladder Programming with T ag Data Links Section 6-3 6-3 Ladder Pr ogramming with T ag Data Links 6-3-1 Ladder Pr ogramming Related to T ag Data Links If data in the ladder progr am is linked by tag data links, add conditio ns 1 to 4 in the ladder prog ram f or that data. If y ou want to use target nod e PLC flags as input conditions , add condi[...]
-
Страница 210
184 Ladder Programming with T ag Data Links Section 6-3 Progra mming for Re vision 2 or Higher Progra mming for Re vision 1 and Revision 2 Progra mm ing to Detect Error s: Example 1 The f ollowing p rogramming can be us ed to check for errors for each target node. This prog ramm ing is used t o detect erro rs only after t he data links f or all nod[...]
-
Страница 211
185 Ladder Programming with T ag Data Links Section 6-3 Progra mming for Re vision 1 or Higher Example of Pr ogramming to Pr ocess Data The f ollo wing type of pro gramm ing can be used to pr ocess data only when th e data links are oper ating normally . Interlocks (IL an d ILC instructions) and jumps (JMP and JM E instructions) can also be used to[...]
-
Страница 212
186 Ladder Programming with T ag Data Links Section 6-3 Note Ev en if an error occurs in communicat ions with a target de vice, the input da ta from the target de vice will remain stored in words a llocated in memor y to the local node . T o prev ent malfunctions, write the ladde r progr am so that input data processing will not be perf or med when[...]
-
Страница 213
187 SECTION 7 Message Communications Functions This section describes message communications using FINS messages and explicit messages. 7-1 Overvie w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 7-2 FINS Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 214
188 Overview Section 7-1 7-1 Overview The messag e communica tions funct ions se nd com ma nd/r espo nse m essa ges betwee n node s o n t he Eth ernet netw ork. The message s ca n be se nt be tw een a computer and PLC, between two PLCs, between an OMRON PLC and a master made b y another compan y , or between sla ves . The messages can be used to se[...]
-
Страница 215
189 Overview Section 7-1 Overall Str u cture Note With the EtherNet/IP Unit or built- in EtherNet/IP port, message communica- tions are pos sible e ven if the I/O link function is disabled. CPU Unit CMND(490) instruction CMND(490) instruction (2810 Hex) FINS message FINS Explicit message FINS message function Explicit message function FINS message [...]
-
Страница 216
190 FINS Message Communications Section 7-2 7-2 FINS Messa ge Communications Messages containing FINS commands can be e xchanged ov er the Ether net network betw een nodes that suppor t FINS messages. Note FINS message comm unications can be e x ecuted without an y par ticular restrictions ov er the Ethernet network with OMR ON Ethernet Units (CS1W[...]
-
Страница 217
191 FINS Message Communications Section 7-2 Note FINS commands sent and receiv ed b y the CS/CJ-series EtherNet/IP Unit include commands ad dressed to the CS/ CJ-series CPU Unit and commands addressed to the CS/CJ-series EtherNet/IP Unit. Up to 8 network lev els, including the EtherNet/IP network, can be crossed. Controller Link Unit Controller Lin[...]
-
Страница 218
192 Explicit Message Communications Section 7-3 7-3 Explicit Messa ge Communications Explicit messages defined in EtherNet /IP can be used to send service requests to other companie s’ EtherNet/IP masters/sla ves and OMR ON PLCs with CS/CJ-series EtherNet/IP Units and b uilt-in EtherNet/IP ports. Note Specific FINS commands (comman ds 2810 and 28[...]
-
Страница 219
193 Message Communications Specifications Section 7-4 7-4 Message Comm unications Specifications CPU Unit function CS/CJ Series Unit model number CS1W -EIP21 , CJ1W -EIP21 , CJ2H-CPU @@ -EIP , or CJ2M-CPU3 @ Communications instructions Sending/ receiving data SEND and RECV instructions FINS commands CMND(490) instructi on There are two kinds of FIN[...]
-
Страница 220
194 Message Communications Error Indications Section 7-5 7-5 Message Comm unications Error Indications There are tw o w a ys t o obtain inf or mation on comm unicatio ns errors that o ccur in message co mmunications: chec king the EtherNet/IP Un it’ s error log or checking its indicator s. 1,2,3... 1. Each time a communication s error occurs, an [...]
-
Страница 221
195 Message Communications Errors Section 7-6 7-6 Message Comm unications Error s The f ollowing tab le sh o ws the main err ors that ma y occur when messages are sent or received. Ref er to SECTION 14 T r oubleshooting and Error Proc essing f or correctiv e measures and details on er ro rs that ar e reco rded in error log b ut not indicated b y th[...]
-
Страница 222
196 Message Communications Errors Section 7-6[...]
-
Страница 223
197 SECTION 8 FINS Communications This section provides information on communicating on Et herNet/IP Systems and interconnected networks using FINS commands. The inform ation provided in the section deals only wi th FINS communications in r eference to EtherNet/IP Units or built-in EtherNet/IP ports. FINS commands issued from a PLC are sent via the[...]
-
Страница 224
198 Overview of FINS Communications Section 8-1 8-1 Overvie w of FINS Comm unications 8-1-1 Communications On an Ethernet Ne tw ork The EtherNet/IP Units and b uilt-in EtherNet/I P por ts suppor t th e FINS com- munications service, which can be used simultaneo usly with the CIP comm u- nications ser vice. FINS communica tions data is se nt and rec[...]
-
Страница 225
199 Overview of FINS Communications Section 8-1 8-1-2 Using the FINS/UDP and FINS/TCP Methods It is recommend ed that FINS/UDP and FINS/TCP be used as follo ws: • When remote de vices do not support the FINS/TCP method: Use the FINS/UDP meth od f or FINS commun ications with those de vices. • When FINS nodes are connecte d on the same Ethernet [...]
-
Страница 226
200 FINS/UDP Method Section 8-2 8-2 FINS/UDP Method 8-2-1 Overview FINS/UDP Features The FINS/UDP method is a FINS commun ications meth od that uses t he UDP/ IP protocol. UDP/I P is a connection less communications protocol. W hen a message is sent fro m one node to an ot her , the tw o nodes ha ve an equ al rela- tionship and t here is no clear c[...]
-
Страница 227
201 FINS/UDP Method Section 8-2 UDP P or t Numbers f or FINS/UDP The UDP por t n umber is the number f or UDP to identify the applicat ion la yer (i.e. , the FINS comm unications ser vice in this case). Whe n commun ications are e xecuted by UDP/IP , this port number must be allocated to the com muni- cations ser vice. The def ault setting f or the[...]
-
Страница 228
202 FINS/TCP Method Section 8-3 8-3 FINS/TCP Method 8-3-1 Overview FINS/TCP Features The FINS /TCP method is a FINS communicatio ns method that uses the TC P/ IP protocol. TCP/I P is a connection-type comm unications protocol. Bef ore a message is sent from one node to anot her , it is necessary to establish a vir- tual circuit, i.e., a con nection[...]
-
Страница 229
203 FINS/TCP Method Section 8-3 • After a FINS/TCP connection (c onnection n umber , remote IP address) has been set in the FINS/TCP T ab P age of the Network Configur ator’ s Edit P arameters Dialog Box, it can be d ynamically changed from the lad- der prog ram usin g a FINS command (i .e., FI NS/TCP CONNECTION REMO TE NODE CHANGE REQUEST). FI[...]
-
Страница 230
204 FINS/TCP Method Section 8-3 FINS/TCP Connection Stat us (W ord n+24) While a connectio n with a remote n ode is estab lished, the bit correspond ing to the FINS/TCP connection sta tus turns ON in the section of the CPU Bus Unit words alloca ted in the CIO Area. The bit turns OFF if the connection is termi- nated b y a communications error or a [...]
-
Страница 231
205 FINS/TCP Method Section 8-3 After a connecti on has been e stab lished as a FINS/TCP cli ent, it can be termi- nated in the f ollo wing ways . • If the connection is closed b y the ser ver . • If there is no response f rom the client when the k eep-alive function is in eff e ct. Ev en if the conn ection is closed at th e FINS/TCP client, re[...]
-
Страница 232
206 FINS/TCP Method Section 8-3 • When routing tab les are used f or one or more oth er nodes on the same network It is not n ecessar y to set routing ta bles if one Communications Unit is mounted to the PLC and the nodes ar e connected as one ne tw or k. (2) If EtherNet/IP is sele cted f or CX-Progr ammer communications , FINS message comm un ic[...]
-
Страница 233
207 Routing T ables Section 8-4 8-4 Routing T ables When the FINS commun ications service is used, routing tables m ust be cre- ated in advance. Routing tables are required in the f o llowing circumstances. • When communicating with a PLC or computer o n another netw or k (e.g., remote programming or mo nitoring usin g FINS messages or a CX-P ro-[...]
-
Страница 234
208 Routing T ables Section 8-4 The f ollo wing e xample shows r outing tab les f or sending data fr om PLC #1 (the local node: network address 1, node address 1) to PLC #4 (the dest ination node: netw or k address 3, node ad dress 2). Note In the abo ve e xample, th e r out ing t ab les required f or a message to rea ch PLC #4 from PLC #1 are sho [...]
-
Страница 235
209 Routing T ables Section 8-4 8-4-3 Routing T able Setting Examples ■ Example 1: Local Netw ork T able f or a PLC With Multiple Units Mounted This e xample shows the local ne twork ta ble settings f or a PLC to which multi- ple CPU Bus Units are mounted. ■ Example 2: Th ree Inter connected Netw orks This e xample shows the rela y network tabl[...]
-
Страница 236
210 Routing T ables Section 8-4 ■ Example 3: All Nodes This e xample uses th e f ollo win g configur at ion to sho w the ro uting tab l es f or al l nodes . PLC 5 PLC 1 E I P PLC 2 C L K E I P PLC 3 E I P S L K C PLC 4 C PLC 6 PLC 7 L K L K S L K S L K Unit #5 Node #6 Netw ork #10 Unit #4 Node #5 Network #30 Unit #0 Node #1 Unit #1 Node #2 Unit #[...]
-
Страница 237
211 Using FINS Applications Section 8-5 8-5 Using FINS Applications 8-5-1 CX-Pr ogrammer (CX-Ser ver) The f ollowing e xamples show how to connect online from a CX-Progr ammer on an Ethernet network to a PLC on the Eth ernet network. ■ System Configuration Example 1: No Routing In this example, an online connectio n is made by FINS/UDP to a PLC o[...]
-
Страница 238
212 Using FINS Applications Section 8-5 Example: Inputs to the CX-Pr ogrammer's Setup Window Example: Change PLC Settings Example: Netw ork Settings (Network T ab P age) Note When FinsGatewa y is s elected as the n etwork type, make sure that the frame length is set to 2,000 b ytes max.[...]
-
Страница 239
213 Using FINS Applications Section 8-5 Example: Netw ork Settings (Driver T ab P age) ■ System Configuration Example 2: Using Routing T ables In this e xample, an online connect ion is made via the Ethernet to a PLC on a Controller Link netw or k (PLC 3 belo w) from a CX-Progr ammer/CX-Integ rator connected to the Ethernet network. Conditions ?[...]
-
Страница 240
214 Using FINS Applications Section 8-5 CX-Progra mmer 's FINS/UDP T ab P age in Edit P a rameters Dialog Box Same as f or System Configuratio n Example 1 . Routing T able Setting s and T ransfer to Each PLC Set the routin g tables with CX-Integrator , a nd transf er them. 1. Using CX-Integrato r , connect online, and select Routing t able −[...]
-
Страница 241
215 Using FINS Applications Section 8-5 8-5-2 FinsGatewa y FinsGatewa y V er . 2003 must be used t o communicate us ing FINS/TCP between a pplications serving as communications driv ers and CS1W -EIP21, CJ1W -EIP21, CJ2H-C PU @@ -EIP , or CJ2M-CPU3 @ EtherNet/IP Units. FinsGatewa y V er. 3. @ or lower v ersions can be use d, how ev er , when comm u[...]
-
Страница 242
216 Using FINS Applications Section 8-5 • Communica tio n Unit T ab P age • UDP Node s T a b P age : A utomatic Ge neration Method (D ynamic or Passiv e) • UDP por t number Set the local UDP por t number for the personal com- puter (Ether net por t). The default is 9600. • Prior ity Network Card If m ultiple Network Cards are moun ted at th[...]
-
Страница 243
217 Using FINS Applications Section 8-5 • UDP Nodes T ab P age: IP Address T able Method or Combined Meth od Click the Ad d Button, and then set th e IP address ta ble in the f ollowing Ether- net Node Definition Dialog Bo x. • Nod e address: Set the remote FINS node address. • I P address: Set the remote IP address.[...]
-
Страница 244
218 Using FINS Applications Section 8-5 • TCP Nodes T ab Page Click the Ad d Button, and then set th e IP address ta ble in the f ollowing Ether- net Node Definition Dialog Bo x. 3. Start ing FinsGatewa y ETN_ UNIT Service Select ETN_UNIT from Ser vices unde r the Basic T ab in the FinsGate wa y Setup Windo w , and then clic k the Star t Button .[...]
-
Страница 245
219 Using FINS Applications Section 8-5 ■ System Configuration Example 3: Connecting the CX- Programmer Online Using the FINS/TCP Meth od In this e xample, an online connection is made b y FINS/TCP to a PLC on an Ethernet network (PLC1 in the diagr am below) from a CX-Progr ammer/CX- Integr ator connected to the Et hernet netw or k. Conditions ?[...]
-
Страница 246
220 Communicating between OMR ON PLCs Section 8-6 8-6 Comm unicating between OMRON PLCs FINS commands can be sent from the CPU Unit of a PLC b y using the SEND(090), RECV(098 ), and CMND(490 ) instructions. SEND(090): Writes I/O data f rom the local node to an other node . RECV(098): Reads I/O data fro m another node to th e local node. CMND(490): [...]
-
Страница 247
221 Communicating between OMR ON PLCs Section 8-6 8-6-2 PLC Comm unications Data Areas The f ollowing tab le sho w s the I/O dat a areas in volv ed when SEND(090) and RECV(098) ar e us ed. Note 1. Data cannot be wr itten to words A0 00 to A447 in the A uxiliar y Area. 2. A maximum of 13 banks in the EM Area can be used f or a CS1/CJ1 CPU Unit. A ma[...]
-
Страница 248
222 Communicating between OMR ON PLCs Section 8-6 8-6-3 Using SEND(090), RE CV(098), and CMND(490) Mak e the settings sho wn below when using the SEND( 090), RECV(098), and CMND(490) instructions in the user’ s ladder-diagram prog ram in the PC . SEND(090) The SEND(09 0) instruction sends the data in n n umber of w ords , starting from the beginn[...]
-
Страница 249
223 Communicating between OMR ON PLCs Section 8-6 RECV(098) With the REC V(0 98) instr uction, th e dat a in m num ber of wo rds, star ting from the beginn ing word S at the r emote node (n ode ad dress M) is received at the words starting from the beginning wo rd D at the local node . Note The message ser vices function does not guarantee that a m[...]
-
Страница 250
224 Communicating between OMR ON PLCs Section 8-6 CMND(490) The CMND(490) instruction sends n b ytes o f command data , star ting from t he beginning wo rd S at the local node , to the no de at node address N. t he data i n m number of word s, sta r ting from the beginning w ord S at the remote node (node address M) is receiv ed at the words sta r [...]
-
Страница 251
225 Communicating between OMR ON PLCs Section 8-6 Commands Add ressed to CS/CJ- series CPU Unit s The f ollowing tab le prov ides a list of FINS commands th at can be processed by a CS/CJ-series CPU Unit. F or details, ref er to the CS/CJ-ser ies Program- mable Controllers Communicatio ns Commands Re f e rence Manual (W342). F o r de tails on F INS[...]
-
Страница 252
226 Communicating between OMR ON PLCs Section 8-6 8-6-4 Writing Programs Progr ams incorporating the SEND(090), RECV(098), and CMND(490) instructions are generally crea ted using the Comm unications P or t Enable d Flag and the Comm unications P or t Error Fl ag as input condi tions. CS/ CJ- series CPU Units ha ve eight communicat ions ports. Only [...]
-
Страница 253
227 Communicating between OMR ON PLCs Section 8-6 The e x ecution stat us of the SEND(0 90), RECV( 098), a nd CMND(490 ) instruc- tions is alwa ys reflected by the communica tions flags (i.e ., the Communica- tions P or t Enab led Flag and the Comm unications P or t Error Flag). The CS/ CJ-series CPU Unit’ s communications fl ags are allocated in[...]
-
Страница 254
228 Communicating between OMR ON PLCs Section 8-6 Communic ations Po r t Completion Codes The status of a SEND(090 ), RECV(098), and CMND(4 90) instruction after e x ecution is reflected as a co mm un ica tions port completion code, in o ne w ord (two bytes) of data as shown in the follo w ing table. (The v alue is 0000 dur ing instru ction ex ecut[...]
-
Страница 255
229 Communicating between OMR ON PLCs Section 8-6 1 0 1 0 0000 0000 0000 Example Communications P or t Enabled Flag Communications instruction: SEND(090), RECV(098), CMND(490) Communications P or t Error Flag Communications P or t Completion Code Instruction 1 being ex ecuted. Instruction 2 being ex ecuted. Instruction 3 being ex ecuted. 0000 (Norm[...]
-
Страница 256
230 Communicating between OMR ON PLCs Section 8-6 8-6-5 Pr o gram Example When the Communications P or t Enabled Flag f or por t 7 is ON, and RECV(098) is not being ex ecuted, the send ex ecution program will start when execution condition CIO 000000 turns ON. Input CIO 120000 remains ON from the star t of SEND(090) ex ecution until completion. Con[...]
-
Страница 257
231 Communicating between OMR ON PLCs Section 8-6 Note 1. With CS/CJ-series PLCs, the Commu nications P or t Enabled Flags at bits 0 to 7 in word A202 t urn OFF ev en when the PCMR(2 60) instruction is be- ing e xecuted using t he por ts corresponding to those f lags. 2. Before using the sample progr am as is, confirm that the memor y areas (words [...]
-
Страница 258
232 Precautions on High T raffi c in FINS Communications Section 8-7 8-7 Precautions on High T raffic in FINS Communications When applications are co nstructed using FINS communication s services, communications errors (from multiple response timeouts) ma y occasionally occur due to high traf fic, depending on th e system configur ation and the app[...]
-
Страница 259
233 SECTION 9 Message Communications This section describes message commu nications u sing FINS commands sent from the ladd er pro gram in th e CPU Unit o f the PLC. 9-1 Sending Explicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 9-1-1 Sending Explicit Messages Using CM ND(490) . . . . . . . . . . . .[...]
-
Страница 260
234 Sending Explicit Messages Section 9-1 9-1 Sending Explicit Messages CS/CJ-series EtherNet/IP Units and b uilt-in EtherNet/IP por ts can send explicit messages. Only CIP un connected me ssage (UCMM) communications can be used to send e xplicit messages . Explicit messages can be se nt to the f o llowing destinations. • EtherNet/IP Unit s made [...]
-
Страница 261
235 Sending Explicit Messages Section 9-1 in the same netw or k la yer and the remote n ode’ s IP address r ange is lim- ited. The f ollowing diagr a m sho ws an ex ample of actual node address specifica- tions. Note Depending on co nditions, the destination sla ve ma y not alw ays accept an e xplicit m essage . Alw a ys p erf o rm retr y process[...]
-
Страница 262
236 Sending Explicit Messages Section 9-1 CIP UCMM MESSA GE SEND (28 10) This command sends an e xplicit message f or CIP routing to another n ode’ s specified class and rece iv es a response. Ther e are two command f orm ats: one with a specified rou te path (path to th e target de vice), and the other with- out the route pa th. Command Block ?[...]
-
Страница 263
237 Sending Explicit Messages Section 9-1 Response Bloc k The follo wing nor mal response is returned to a transmitt ed CIP UCMM MES- SA GE SEND command if it was completed nor mally . The f ollowing response is retu rned if an error occurs in a tr ansmitted CIP UCMM MESSA GE S END command. The f ollowing response is retur ned if the CIP UCMM MESSA[...]
-
Страница 264
238 Sending Explicit Messages Section 9-1 In the routing f or mat f or rely hops, the first service code (in the routing service data) is 52 He x, which is the Unconnected Send service. Request path size (command): Specifies the n u mber of w ords of data that are specified in the reque st path field. In the routing f or mat f or relay ho ps, the f[...]
-
Страница 265
239 Sending Explicit Messages Section 9-1 This he xadecimal value is re turned to indicate the numbe r of words o f data in the additiona l stat us fie l d. Additional stat us (response): The additional stat us defined in EtherNet /IP is returned. Fo r details, r ef er to the description of the Response Code s in Appendix D CIP Message Commu- nicat[...]
-
Страница 266
240 Sending Explicit Messages Section 9-1 Ann Arbor , Michigan 48108-500 6 USA TEL: 1 734-975-8 840 F AX: 1 734-922-0 027 Email odv a@odva.org WEB www .odv a.org[...]
-
Страница 267
241 Sending Explicit Messages Section 9-1 EXPLICIT MESSA G E SEND (28 01) EXPLICIT MESSA GE SEND will send a De viceNet Unit-compatib le explicit message to the specified class of another node and receiv e a response. The other nod e is specified with the destination node address in t he com- mand. The actual dest ination IP address is as f ollows.[...]
-
Страница 268
242 Sending Explicit Messages Section 9-1 Class ID ( command): The class ID of t he destination of t he e xplicit message. Instance ID ( comman d): The instance ID of the destinat ion of the e xplicit message. Service data (command, response): The data defined f or the services codes. No. of bytes received (response): The number of byt es receiv ed[...]
-
Страница 269
243 Sending Explicit Messages Section 9-1 9-1-1 Sending Explicit Messages Using CMND(490) With a CS/CJ-series EtherNet/ IP Unit or b uilt-in EtherNet/ IP por t, a CMND(490) in the CPU Unit ’ s ladder program can send CIP UCMM e xplicit messages . Send the CIP UCMM e x plicit messag e’ s command data in a FINS command f ollowing the 2810 h e x F[...]
-
Страница 270
244 Sending Explicit Messages Section 9-1 Setting the Command Data for CMND(490) The response data is set in the same w a y , star ting from the word specif ied f or CMND(490) oper and D (first re sponse word ) and continuin g with words with higher addr esses in I/O memory in the response b loc k f or mat. Note Request path dat a or request da ta [...]
-
Страница 271
245 Sending Explicit Messages Section 9-1 data and ERR OR CLEAR codes, is also returned in the same order from low to high b ytes in the resp onse b loc k. Example: Sending Explicit Messages Using CMND(490) Operation The identity object inf or mation (class ID = 01 he x) is read from the other com- pany’ s EtherNet/IP node at IP address 192.168 .[...]
-
Страница 272
246 Sending Explicit Messages Section 9-1 D01016 = 382E he x IP address: “8. ” D01017 = 3235 he x IP address: “25” D01018 = 302E he x IP address: “0. ” D01019 = 3200 he x IP address: “2” P ad ding da ta : 00 hex D = D02000: First response word at local no de C = D00000: First control word D00000 = 0028 he x Number of command by t es[...]
-
Страница 273
247 Sending Explicit Messages Section 9-1 Progra m Example Sets 0000 in D00000 to D02999. Shifts the contents of CIO 0000 one bit to the right and retries in the next cycle (CIO 000000 ON). Sends 8 bytes of command data to destination node address 06, receives 14 bytes of response data, and stores it in the local node starting at D02000. (D00000 is[...]
-
Страница 274
248 Receiving Explicit Messages Section 9-2 9-2 Receiving Explicit Messa ges The CS/CJ-series EtherNet/IP Units and b u ilt-in Et herNet/IP por ts are equipped with a PLC Object that is fu nctionally compatib le with CS/C J-series De viceNet Units. The Unit will receiv e mess ages addressed to the PLC Object, process ser vice requests add ressed to[...]
-
Страница 275
249 Receiving Explicit Messages Section 9-2 9-2-1 List of PLC Object Services PLC Objects provide the f ollowing serv ices. Status Read/Write for CPU Units Services Service code Class ID Instance ID Request service da ta Contents CPU Unit Informa- tion Read 0E Hex C4 Hex (2F He x) (See note.) 00 He x Attribute ID = 64 Hex Reads the operating mode o[...]
-
Страница 276
250 Receiving Explicit Messages Section 9-2 I/O Memory Re ad/Write for CPU Units Note With a EtherN et/IP Unit or built-in EtherNet /IP por t with unit version 2.0 or later , the PLC object clas s ID is C4 he x. (Wi th unit v ersion 1.0, the PLC object class ID is F2 he x.) The commands and re sp onse s f or the e xp licit messages that can b e sen[...]
-
Страница 277
251 Receiving Explicit Messages Section 9-2 CPU Information Read (S ervice Code: 0E Hex) Reads CPU Unit inf or mation, includ ing operating m ode, f atal/non-fatal errors, and the CPU Unit model. Command Block Note A body f or mat of either 8 bits or 16 bits is possib le. Response Bloc k P arameters Service code (command, resp onse): 0E He x is spe[...]
-
Страница 278
252 Receiving Explicit Messages Section 9-2 Note The codes f or the abov e modes are 1-w ord (2-byte ) data and are returned in low b yt e first. F or example, f or PROGRAM mode, the code is retur ned as 01 He x fo llowed b y 00 Hex. • CPU Unit Errors (when Attribut e ID = 65 He x) The CPU Unit f atal/non-fa ta l error data is re turned in 1-word[...]
-
Страница 279
253 Receiving Explicit Messages Section 9-2 • CPU Operating Mo de (Attribut e ID = 64 He x) Changes the CPU Unit operating mode. The Attribute V alues are as f ollows: 0001 He x: PROGRAM mode; 0002 He x: MONIT OR mode; 0004 He x: R UN mode Note The specified code f or the abo v e operati ng modes are 1-w ord (2-b yte data, and are specifie d with[...]
-
Страница 280
254 Receiving Explicit Messages Section 9-2 CPU Unit Status Read (Service Code: 40 Hex) This PLC Object service reads status details (oper ation status , operating mode, f atal and non-f atal errors, etc.) from the CPU Unit . Command Block Note A body f or mat of either 8 bits or 16 bits is possib le. Response Bloc k P arameter s Service code (comm[...]
-
Страница 281
255 Receiving Explicit Messages Section 9-2 • Operating mode: Returns the operati ng mode of the CPU Unit in 1-b yte (2-digit) hexadecimal. 0001 He x: PROGRAM mode; 0002 He x: MONIT OR mode; 0004 He x: RUN mo de • Fatal err or information: Returns the f atal error inf or mation f or the CPU Unit in 2 bytes (low to high). • Non-fatal err or in[...]
-
Страница 282
256 Receiving Explicit Messages Section 9-2 • Message Exists/Does Not Ex ist: When the MSG instruction is ex ecuted by the CPU Unit, the bit correspo ndi ng to the message number will turn ON and be r eturned in 2 byt es (from lo w to high byt es). • Error Code : Th e highest priority error code of the errors e xisting when the command is e x e[...]
-
Страница 283
257 Receiving Explicit Messages Section 9-2 Class ID ( command): Alw ays C4 (2F). The class ID depends on the unit v ersion. The class ID is C4 f or unit ve rsion 2.0, and 2F f or unit version 1.0. Instance ID (command): The memory area that will re ad the data is specified as shown in the f ollowing tab le. Address L, Add ress H (command): The add[...]
-
Страница 284
258 Receiving Explicit Messages Section 9-2 Response Bloc k P ar amet er s Service code (command, response): ID He x is specified for commands . F or responses, the highest bit will tu rn ON and 9D Hex will be returned. Class ID ( command): Alw ays C4 (2F). The class ID depends on the unit v ersion. The class ID is C4 f or unit ve rsion 2.0, and 2F[...]
-
Страница 285
259 Receiving Explicit Messages Section 9-2 Command Block Note A body f or mat of either 8 bits or 16 bits is possib le. Response Bloc k P a rameter s Service code (command, response): IE He x is specified for commands . For responses, the highest bit will turn ON and 9E Hex will be returned. Class ID ( command): Alw ays C4 (2F). The class ID depen[...]
-
Страница 286
260 Receiving Explicit Messages Section 9-2 Command Block Note A body f or mat of either 8 bits or 16 bits is possib le. Response Bloc k P arameters Service code (comma nd, response): IF Hex is specified f or commands. F o r responses, the highest bit will turn ON and 9F Hex will be retur ned. Class ID ( command): Alw ays C4 (2F). The class ID depe[...]
-
Страница 287
261 SECTION 10 Communications P erf ormance and Communications Load This section describes the communications performance in an EtherNet/IP network, and shows ho w to estim ate the I/O response times and transmission delays. 10-1 Communications System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 10-1-1 T ag [...]
-
Страница 288
262 Communications System Section 10-1 10-1 Comm unications System 10-1-1 T ag Data Link Comm unications Method P acket Interval (RPI) Settings In EtherNet/IP tag da ta links, t he data tr ansmission period is set f or each con- nection as the pac k et inter val (RPI). The target de vice will send data (i.e ., out- put tags) on ce each pac ket inte[...]
-
Страница 289
263 Communications System Section 10-1 P acket Interval (RPI) and Bandwidth Usage (PPS) In a tag data link, t he n umber of pack ets transf erred each second is called the bandwidth used or PPS ( pack ets per second). The PPS is calculated from the RPI and hear tbeat as f ollow s f or each connec- tion: The f ollowing equation is used to calculate [...]
-
Страница 290
264 Communications System Section 10-1 10-1-2 Calculating the Number of Connections The maximum n umber of connections f or the Unit is 32 f or the CJ2M and 256 f o r other CPU Units. The number of co nn ectio ns mu st be set to 32 or less f or the CJ2M and 256 or less f or other CPU Units combining both connect ions that the Unit ope ns as the ori[...]
-
Страница 291
265 Communications System Section 10-1 10-1-3 Netw ork T ransm ission Dela y Time In an EtherNet/ IP network, the tag data link packets are sent once each pac ket interval (RPI), b ut se ver al delays occur between t he transmission of pac kets from each node and t he arriv al of the pac kets at the d estination nodes. The f ollowing diagram sho ws[...]
-
Страница 292
266 Communications System Section 10-1 3. Switching Hub Dela y The s witching hub dela y is the dela y time betw een the arrival of t he pac ket at the s witching hub and the output of t he pac ket fr om the hub’ s transmission por t. This dela y depends on the tota l number of co nnections used f or recep- tion and d ata sizes used in the tag da[...]
-
Страница 293
267 Communications System Section 10-1 PLC #1 PLC #2 PLC #3 PLC #17 #17 #3 #2 200 words 200 words 200 words × 16 5 ms 5 ms 200 words 5 ms[...]
-
Страница 294
268 Adjusting the Communications Load Section 10-2 10-2 Adjusting the Comm unications Load In an Ethernet network using a s witching hub , the network bandwidth is not shared b y all of the nodes; independent transmission pat hs are establishe d between ind ividual nodes thr ough the s witching hub . A dedicated commun ications b uff er is establis[...]
-
Страница 295
269 Adjusting the Communications Load Section 10-2 10-2-1 Chec king Bandwidth Usa ge for T ag Data Links The Network Configur ator can displa y the bandwidth actually u sed f or tag data links at e ach EtherNet/IP Unit, based on the conne ctions set in the net- work configura tion. The de vice bandwidth used b y tag data links can be che ck ed by c[...]
-
Страница 296
270 Adjusting the Communications Load Section 10-2 Checking the Usage of Capacity and Netw ork Bandwidth for T ag Dat a Links The percentage of th e allow a ble commu nications bandwidth f or tag data links f or each Ether Net/IP Unit is display ed as the Usage o f Capacit y and t he band- width used for tag data link co mmunicatio ns in t he en ti[...]
-
Страница 297
271 Adjusting the Communications Load Section 10-2 Example: If the RPI is set to 50 ms f or all c onnections and the usage of capacity is 40%, the usage of capacity ma y increase to 80% when the RPI is reduced to 25 ms f or all connectio ns. Note P erf or ming message comm unications or other n etwork oper ations from the Network Configurator (suc [...]
-
Страница 298
272 Adjusting the Communications Load Section 10-2 • Is the netw ork bandwidth usage without multicast filt ering under 100 Mbps for each node or the usag e of capacity withou t multicast filtering under 100% f or each node? ( These appear a s “Mbit/s” and “Usage of Capacity” in the dialog bo x shown on page 269.) → If the to tal bandwi[...]
-
Страница 299
273 Adjusting the Communications Load Section 10-2 The Usage of Capacity column will sho w the percen tage of the allow ed tag data link bandwidth being used , and the Mbit/s column will show the net- work bandwidth being used. 3. The usage of capacity can be adjusted b y changing the associated de vic- es’ RPI settings. The RPI settings can be c[...]
-
Страница 300
274 Adjusting the Communications Load Section 10-2 Method 2: Changing a P ar ticular De vice’ s RPI Setting The usage of capa city can be adjus ted f or only a par ticular de vice by changing the pac ket intervals ( RPI) f or all of the de vice’ s connections to- gether . In this case, the usage of ca pacity will also change for the de vices th[...]
-
Страница 301
275 Adjusting the Communications Load Section 10-2 a. Click the Close Button at the bot tom of the Usage of De vice Bandwidth Dialog Bo x. b . Double-click the device that is set as the or iginator of th e desired con- nection. The Edit De vice P arameters Dialog Bo x will be display ed. c. In the Register Device List, sele ct the connection f or w[...]
-
Страница 302
276 Adjusting the Communications Load Section 10-2 4. If the usage of capacity cannot be adjusted t o the desired le vel when th e setting described abo v e has been p erf ormed, reconsider the network con- figurati on considering the f ollowing points . Refer t o 10-2-3 Adjusting De- vice Bandwidth Usage . • Reduce the num ber of nodes and n umb[...]
-
Страница 303
277 Adjusting the Communications Load Section 10-2 Example Conditions Connections In this e xample, t here are 10 CS1 W -EIP21 Units and 10 CJ1W -EIP21 Units f or a total of 20 de vices connected in the netw or k. Each de vice has one 100- word tag f or transmission and ninet een 100-w ord tags f or reception, so that the Units e xchange data m utu[...]
-
Страница 304
278 Adjusting the Communications Load Section 10-2 Changing the Settings Method 1: Same Pac ket Interval Setting f or All Connections The percentage of t he allow e d tag data link ba ndwidth being used (Usage of Capacity) wa s 39.67% with the RPI set to 10.0 ms f o r all of t he connections , so the RPI will be set to 5.0 ms, with a ta rget of 80%[...]
-
Страница 305
279 Adjusting the Communications Load Section 10-2 If the pac ket interval f or all connections has been set to the same setting, the dialog bo x will show that the usage of capacity for the tag data link's allow ab le communication s bandwidth is 73 .00% and the f astest set v alue is 5.0 ms. Method 2: Changing th e Pac ket Interval (RPI) of [...]
-
Страница 306
280 Adjusting the Communications Load Section 10-2 The Usage of Capacity v alues also indicate that the Usage of Capacity has increased (fro m 39.67% t o 43. 00%) f or all of the other de vices, which connect with de vices 192.168.250.1 and 192.16 8.250.10. In this case, if there is no multicast filt er , the valu e becomes 106.33%. If ther e is no[...]
-
Страница 307
281 Adjusting the Communications Load Section 10-2 Method 3: Changing th e Pac ket Interval (RPI) of Only Spec ific Connections In this e xample, we w ant a fa st er tag data links f or just a part icular connectio n of de vice 192.168.250.1. Double -click de vice 192.168.250 .1 in the Netw or k Configurat ion Windo w . Inf or mation ab out the con[...]
-
Страница 308
282 Adjusting the Communications Load Section 10-2 In the Edit Connectio n Dialog Bo x, input 1.0 ms as the new RPI value , and click the OK Butt on. The tag data link bandwidth being used b y device 192.168.250. 1 (Usage of Capacity) increases to 54 .67%, which indicates that a RPI is set to a higher spee d f or this de vice. In this case, th e ta[...]
-
Страница 309
283 I/O Response T ime in T ag Data Links Section 10-3 10-3 I/O Response Time in T ag Data Links Note This section d escribes th e data process ing time for an EtherNet/IP Unit or a built-in EtherNet/IP po r t on a CJ 2H-CPU6 @ -EIP CPU Unit. The data process- ing time f or a b uilt-in Et herNet/ IP port on the CJ2M-CPU3 @ CPU Unit is diff er- ent.[...]
-
Страница 310
284 I/O Response T ime in T ag Data Links Section 10-3 The maximum n umber of tag data link w ords that can be transf erred b y one EtherNet/IP Unit or CJ2H b uilt-in por t is 184,832 words . How e ve r , if the num- ber of tag dat a link words exceeds the n u mber of w ords that can be e xchanged with the CPU Unit at one time , the data will be di[...]
-
Страница 311
285 I/O Response T ime in T ag Data Links Section 10-3 Note (1) When one of the listed CPU Bus Units is mo unted in a CS-series Long- distance Rac k, the I/O refreshing time is e xtended b y the distance to th e Rack in which the Unit is mount ed, regardless of th e model of the CPU Unit. The f ollowi ng graph sho ws the coeffici ents (2 and 3) req[...]
-
Страница 312
286 I/O Response T ime in T ag Data Links Section 10-3 The f ollowing tabl e giv e s the items required t o find the I/O resp onse time and values used in calculations f or this system configuration. Maximum T ag Data Link I/O Response Time Y ou can f ind t he maximum I/O res ponse tim e from the total of (1) to (6) in the f o llowing figure. PLC#1[...]
-
Страница 313
287 I/O Response T ime in T ag Data Links Section 10-3 (1) Node 1 (PLC #1) Input ON Response Time This is the dela y time fo r the e xter nal input de vice from when the input occurs until the s witch actually tur ns ON and th e tim e until the input da ta is stor ed in the memory area of the CPU Unit f or PL C #1. In this system, the input switch [...]
-
Страница 314
288 I/O Response T ime in T ag Data Links Section 10-3 (3) Pac ket In te r val (RPI) This is the communications refresh cycl e set for each connection using the Network Configur ator . In this system, it is the refre sh cycle f or connection 1 (10 ms), which includes W000.01 . (4) Netw ork T ransmission Del a y Time This is the t otal of the send p[...]
-
Страница 315
289 I/O Response T ime in T ag Data Links Section 10-3 (6) Output ON response time This is the dela y time f or the e xter nal ou tput de vice from when the output bit turns ON in the memor y of the CPU Unit until the o utput is actua lly perf o rmed. In this system configuration, the delay ti me f or an output relay is 2.0 ms. Also , one CPU cycle[...]
-
Страница 316
290 I/O Response T ime in T ag Data Links Section 10-3 Minim um T ag Data Link I/O Response Time The minimum t ag data link I/O response t ime, which occurs when there ar e no processing dela ys, is calculated as f ollows. When the baud ra te is 100 Mbps , the tr ansmission time can be calculated with the f ollowing equation. If a network dela y do[...]
-
Страница 317
291 T ag Data Link P erformance f or CJ 2M Built-in EtherNet/IP P orts Section 10-4 10-4 T ag Data Link P erf ormance for CJ2M Built-in EtherNet/IP Po r t s 10-4-1 Overview The bu ilt-in EtherNet/I P por t on a CJ2M CPU Unit (CJ2M-CPU3 @ ) suppor ts tag data links f or up to 32 con nections , with a data siz e of 20 words per con- nection. These sp[...]
-
Страница 318
292 T ag Data Link P erformance f or CJ 2M Built-in EtherNet/IP P orts Section 10-4 If the same RPI is set f or all connections , 12 ms is the lowest setting that can be used. ■ Calculation Example (1,000 ÷ 12 [ms] (RPI) + 1,000 ÷ 100 [ms] (heartbeat transm ission period)) × 32 (connections) = 2,987 pps < 3,000 pps 10-4-2 T ag Data Link I/O[...]
-
Страница 319
293 T ag Data Link P erformance f or CJ 2M Built-in EtherNet/IP P orts Section 10-4 F o r example, the maximum and m inimum I/O respon se times would be as fol- lows f or the above system. Maximum re sponse time: 1.5 ms + 5 ms × 2 + 12 ms + 10 ms × 2 + 2.0 ms = 45.5 ms Minimum r esponse time: 1.5 ms + 5 ms + 10 ms + 2.0 ms = 18.5 ms Note If the m[...]
-
Страница 320
294 Message Service T ran smission Delay Section 10-5 10-5 Message Service T ransmission Delay This section e xplains the maximum tra nsmission dela y that can occur betwee n the e xecut ion of a SEND( 090), RECV(098 ), or CMND(490) in struc- tion in the la dder progr am until completion of the inst ruction. This dela y does not include th e time r[...]
-
Страница 321
295 Message Service T ran smission Delay Section 10-5 F or details, ref er to the CPU Unit’ s Opera tion Manual . CPU Bus Unit Service Proce ssing Time (Local Node) The f o llowing tab le shows the CPU Bus Unit service processing time, which depends on the CPU Unit’ s CPU processing m ode setting. Note CJ2 CPU Units suppor t only Nor mal Mode. [...]
-
Страница 322
296 Message Service T ran smission Delay Section 10-5 CPU Bus Unit Service Proce ssing Time (Remote Node) The f o llowing tab le shows the CPU Bus Unit service processing time, which depends on the CPU Unit’ s CPU processing m ode setting. Note CJ2 CPU Units suppor t only Nor mal Mode. F or details, ref er to the CPU Unit’ s Opera tion Manual .[...]
-
Страница 323
297 Message Service T ran smission Delay Section 10-5 RECV(098) Instruction Maximum tr ansmission delay = CPU Bus Unit ser vice cycle (Local node, 1) + CPU Bus Unit service processing time (Local node, 1) + Send pro cessing (Command ) + T ransmission dela y (Command) + Receiv e processing (Command) + CPU Bus Unit service cycle (remote node) + CPU B[...]
-
Страница 324
298 Message Service T ran smission Delay Section 10-5 F or details, ref er to the CPU Unit’ s Opera tion Manual . Send Processing T ransmission Dela y The tr ansmission dela y time depends on the baud rate set f or the EtherNet/IP Unit or b uilt-in EtherNet/ IP por t, as shown in the f ollowing t able . (There may be additional dela ys due to the[...]
-
Страница 325
299 Message Service T ran smission Delay Section 10-5 Note CJ2 CPU Units suppor t only Nor mal Mode. F or details, ref er to the CPU Unit’ s Opera tion Manual . CPU Bus Unit Service Cycl e (Local Node, 2) The f o llowing table shows the CPU Bus Unit ser vice cycle, which depends on the CPU Unit’ s CPU processing mode setting. Note CJ2 CPU Units[...]
-
Страница 326
300 Message Service T ran smission Delay Section 10-5 Example Calculation In this e xample , RECV(098) is u sed to receiv e 256 w ords of data f rom another PLC. The maximum transmission delay is calculated based on the following operating cond itions . • Local node’ s CPU cycle time: 10 ms • Local node’ s CPU e xecution mod e: Nor mal • [...]
-
Страница 327
301 SECTION 11 FTP Serv er This section describes the functions provided by the FTP server . 11-1 Overvie w and Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 11-1-1 Ov ervie w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 11-1-2 Specif ications . . . [...]
-
Страница 328
302 Overview and Specifications Section 11-1 11-1 Overvie w and Specifications 11-1-1 Overview The EtherNet/IP Unit or b uilt-in Ether Net/IP port has a built-in FTP (File T rans- f er Protocol) ser ver fun ction, so other co mputers on the Ethernet can read or write (upload/down load) large files in the EM file memory by e xe cuting FTP commands f[...]
-
Страница 329
303 FTP Server Function Details Section 11-2 11-1-2 Specifications Note The PLC , howe ver , is unable to read or write files at othe r nodes using FTP because the Et herNet/IP Unit or b uilt-in EtherNet/IP port does not suppor t FTP client functions . 11-2 FTP Server Function Details 11-2-1 File T ypes The file system in the CPU Unit that can b e [...]
-
Страница 330
304 FTP Server Function Details Section 11-2 11-2-2 Connecting to the FTP Ser ver The host computer must connect to the FTP server bef ore the FTP server functions can be used. The login name and pass word set in the Unit Setup will be used when connecti ng. The def aul t FTP login name is “C ONFIDENTIAL ” and no pass word is required. The FTP [...]
-
Страница 331
305 Using the FTP Server Function Section 11-3 11-3 Using the FTP Server Function 11-3-1 Pr ocedure 1,2,3... 1. Make t he basic settings . Ref e r to Initial Settings on page 34. 2. Wh en usin g a us er-set FTP login nam e an d password: With the CX-Programmer on line, right-click the EtherNet/IP Unit o r built-in EtherNet/IP port in the IO T able [...]
-
Страница 332
306 Using the FTP Server Function Section 11-3 11-3-3 FTP T ab The CPU Bus Unit System Setup , which is set when using the FTP server function, is s hown in the CX-Programmer's Ed it P arameter s Dialog Box. ■ Settings Setting Details Default value Login Set the login name to externally connect to the EtherNet/IP Unit or built-in EtherNet/IP[...]
-
Страница 333
307 FTP Server Appl ication Example Section 11-4 11-4 FTP Server Application Example The f ollowing procedure sho ws how to use the FTP ser ver by connecti on with the def ault login name, CONFIDENTIAL. No pass word is required. Note The login name and a pass word m ust be set in the CPU Bus Setup f or the Ethernet Unit in the CPU Unit to use an y [...]
-
Страница 334
308 Using FTP Commands Section 11-5 11-5 Using FTP Commands This section describes the FTP commands which the host computer (FTP cli- ent) can send to the FTP server of t he EtherNet/IP Unit o r built -in EtherNet/IP por t. The descriptions should a lso apply to most UNIX workstations, but slig ht diff erences ma y ar ise. Ref er to y our workstati[...]
-
Страница 335
309 Using FTP Commands Section 11-5 user Format user [ user_name ] Function Specifie s the user name . Specify the FTP login name set in the EtherNet /IP Unit or b uilt-in EtherNet/IP port system setup. The def ault FTP login name is “CONFIDENTIAL. ” If a non-def ault login name is used, it must be f ollow ed b y the pass word. In this case, en[...]
-
Страница 336
310 Using FTP Commands Section 11-5 mkdir Format mkdir DIRECTORY_NAME Function Creates a dir ectory of the specified name at the r emote host (Memory Card or EM File Memory). An error will occur if a file or director y of the same na me already exists in the working directory . rmdir Format rmdir DIRECTORY_NAME Function Deletes the director y of th[...]
-
Страница 337
311 Using FTP Commands Section 11-5 type Format type data_type Function Specifies the file dat a type. The follo wing data ty pes are supp or ted: ascii: Files are transf erred as ASCII data binary (image): Files are tr ansf erred as binar y data. All files are treated b y the PLC as binar y files. Bef ore reading or writing any files, alw ays use [...]
-
Страница 338
312 Using FTP Commands Section 11-5 Any e xisting file with the same name in the remot e host (Memory Card or EM File Memor y) will be ov erwr itten by the contents of the tr ansf erred file. If an error occurs during file transf er , the file being transf erred will be deleted and the transmission of that file will end in an error . Howe v e r , m[...]
-
Страница 339
313 Using FTP Commands Section 11-5 11-5-3 Err or Messages an d FTP Status Error Messa g es The error messag es retur ned by the EtherNet /IP Unit or built-in EtherNet/IP por t are listed in the follo wing table . Message Meaning PPP is a director y . The path name in dicated at PPP is a director y . PPP is not a director y . Th e path name indicat[...]
-
Страница 340
314 Checking FTP Status Section 11-6 PPP: P ath name XXX: IP address YY : P or t number MM: FINS erro r co de NN: Socket error code 11-6 Chec king FTP Status 11-6-1 FTP Status Flag The curren t status of the FTP server can be obtained fr om the service status in the words a llocated to the Eth erNet/IP Unit in the CPU Bus Unit Area in the CIO Area.[...]
-
Страница 341
315 Using F ile Memory Section 11-7 11-7 Using File Memory There are tw o media that can be used to store files in memory for CS/CJ- series PLCs: • Memor y Cards • EM File Memor y 11-7-1 File Memory 11-7-2 File T ypes ■ File Names Files are distinguished b y assigning file names and ex tensions. The foll owing characters can be us ed in f ile[...]
-
Страница 342
316 Using F ile Memory Section 11-7 File Names Handled by CPU Unit The files descr ibed in the following tab le can be read or written by the CPU Unit. Note 1. Refer to inf or mation on f i l e m e m o r y i n t h e CS/CJ-series Programmable Controllers O peration Manual (W339). 2. All files transf erred aut omatically at startup must hav e the nam[...]
-
Страница 343
317 Using F ile Memory Section 11-7 11-7-3 Initializing File Memory 11-7-4 I/O Memor y Data Format ■ IOM Format The IOM form at is a data format us ed f or b inary d ata specified by the ladder instructions, READ D A T A FILE (FREAD(700)) and WRITE D A T A FILE (FWRIT(701)), in the CPU Unit . If fiv e words of data fro m the I/O memory (1234 he x[...]
-
Страница 344
318 Using F ile Memory Section 11-7 Example: Data f or mat using words delimited b y tabs and CRs after e v er y 10 fields. ■ CSV Format The CSV f or mat is a data f or mat (using comma delimiter s) t hat is specifi ed by ladder instructions, READ D A T A FILE (FREAD(700)) and WRITE D A T A FILE (FWRIT(701)), in the CPU Unit. The C SV f or mat is[...]
-
Страница 345
319 Using F ile Memory Section 11-7 Example: Data f ormat using words delim ited b y commas with CRs after e v ery 10 fields . Note FREAD(700) will not be able to read the last b yte in a f ile that has been written to the Memory Card if the f ile contains an odd numb er of b ytes. Add 00 he xa- decimal to the end of the file if necessary to write [...]
-
Страница 346
320 FTP F ile T ransfer T ime Section 11-8 11-8 FTP File T ransfer Time File transf ers using FTP can requ ire 30 or 40 minu tes depending on th e capacity of the file . Appro ximate file transf er time are provided in the f o llowing table f o r reference. All times are in seconds un less otherwise specified. ■ CS1 CPU Units and CJ1 CPU Units ?[...]
-
Страница 347
321 Host Computer Application Example Section 11-9 11-9 Host Computer Application Example The f ollowing procedure pro vides an ex ample of FTP ope rations f rom a host computer . In this e xample, t he f ollowing assumption s ar e made. • The IP address of the Ether Net/IP Unit or b uilt-i n EtherNet/I P por t is regis- tered in /etc/hosts on th[...]
-
Страница 348
322 Host Computer Application Example Section 11-9 4. Ch an g e to the ME MCARD director y . 5. Change data type to binary . 6. T ransf er the file RESUL T .IOM to the wor kstation. 7. Wr ite the fi le PL AN.IOM to the Memory Card. 8. End FTP . ··· Change to MEMCARD directory . ftp> cd MEMCARD 250 CWD command successful. ftp> ■ ··· Bi[...]
-
Страница 349
323 SECTION 12 A utomatic Clock Adjustment Function This section provides an overvie w of the automatic clock adjustment function, including details on specifications, required settings, operations fr om CX-Programmer, and troubleshooting. 12-1 Automatic Clock Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 [...]
-
Страница 350
324 A utomatic Clock Adjustment Section 12-1 12-1 A utomatic Cloc k Adjustment 12-1-1 Overview The EtherNet/IP Unit or built-in EtherNet/IP po r t ca n obtain the clock informa- tion from t he SNTP server ( see note 1 ) at a particular time or whe n a desig- nated bit turns ON and then refresh the in ternal clock inf or mation of the CPU Unit to wh[...]
-
Страница 351
325 Using the A utomatic Clock Adjustment Function Section 12-2 12-1-2 Specifications 12-2 Using the A utomatic Cloc k Adjustment Function 12-2-1 Pr ocedure 1,2,3... 1. Make t he basic settings . Ref e r to Initial Settings on page 34. 2. With the CX-Programmer online, ri ght-click the EtherNet/IP Unit or built-in EtherNet/IP port in the IO T able [...]
-
Страница 352
326 Using the A utomatic Clock Adjustment Function Section 12-2 12-2-2 Settings Required f or A uto matic Clock Adjustment Function The f ollowing settings must be set in t he Unit Setu p when using the au to mati c clock adju s tment function. Note When the Ser ver specification type field in Au to Adjust Time T ab is set to Host name . CX- Progra[...]
-
Страница 353
327 Using the A utomatic Clock Adjustment Function Section 12-2 12-2-3 Auto Adjust Ti me The contents in t he CPU Bus Unit System Setup that a re set f or using mail send and receiv e functions are shown in the CX- Progr ammer’ s Edit P arame- ters Dialog Box. Item Contents D efault Get the time information from the SNTP ser ver Enable to set the[...]
-
Страница 354
328 A utomatic Clock Adjustment Switch Section 12-3 12-3 A utomatic Cloc k Adjustment Switch The A utomatic Clock Adjustment Switch is allocated in the CIO Area as shown belo w . The first word n of the CIO Area is calculated using the f oll owing equation. n = CIO 1500 + (25 × unit n umber) A utomatic Clock Adjustment Switch (Bit 05 of n) The Uni[...]
-
Страница 355
329 A utomatic Clock Adjus tment Error Processing Section 12-4 The error log can be read b y sending FINS commands to the EtherNet/ IP Unit or bu ilt-in EtherNet/I P por t or b y using the mail receiv e function and specifying the ErrorLogRea d command. Error code Meaning D etailed erro r code Correction EEPROM 1st byte 2nd byte 03C1 Ser v er set- [...]
-
Страница 356
330 A utomatic Clock Adjus tment Error Processing Section 12-4 Note (1) For deta ils on other error log inf ormation, ref er to the Oper ation Manual, Construction of Networks: SECTION 14 T roubleshooting and Error Pro- cessing . (2) An error will occur in the f ollowing CPU Units when the automatic clock adjustment function is ex ecuted under the [...]
-
Страница 357
331 SECTION 13 Maintenance and Unit Replacement This section describes cleanin g, inspection, and Unit repl acement procedures, as well as the Simple Backup Function. 13-1 Maintenance and Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 13-1-1 Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 358
332 Maintenance and Replacement Section 13-1 13-1 Maintenance and Replacement This section describes the routine cleaning and inspect ion recommended as regular maintena nce, as well as t he Unit replaceme nt procedu re required if an EtherNet/IP Un it needs to be rep laced. 13-1-1 Cleaning Clean the EtherNet/ IP Unit regularly as described belo w [...]
-
Страница 359
333 Simple Backup Function Section 13-2 • If there is a f aulty contact, try wiping the contact with a clean, lint-fre e cloth dampened with alco hol. Note T o prev ent electric shock when repla cing a Unit, alw ays stop comm unications in the networ k and tur n OF F the power supplies to all of the nodes be f o re removing the faulty Unit. Setti[...]
-
Страница 360
334 Simple Backup Function Section 13-2 Applications Use the simple bac kup function when creat ing a b ac kup data file f or the entire PLC (including the CPU Unit, EtherNet/IP Units, b uilt-in EtherNet/IP por t, and Serial Communications Un its/Boards), or when r eplacing all the Units . Backup Sour ces and Restore T argets The dat a that wa s ba[...]
-
Страница 361
335 Simple Backup Function Section 13-2 This operation will create an EtherNet/IP Unit or built-in EtherNet/IP por t set- tings file , and wr ite that file to the Memory Card along with the oth er backu p files. Whe n the Memory Card P ower S upply Switch is pressed, the MCPWR indicator on the front of the CPU Unit w ill flash once and then remain [...]
-
Страница 362
336 Using the Backup T ool Section 13-3 Comparing EtherNet/IP Unit or Built-in EtherNet /IP P or t Data w ith the Setup File in the Memory Card Set pins 7 and 8 of the DI P s witch on the front panel of the CPU Unit, as shown in th e f ollowin g tab le, and press down the Memo r y Card P ower Supply Switch f or 3 seconds . This operation will compa[...]
-
Страница 363
337 Using the Backup T ool Section 13-3 Usage The PLC Backup T ool can be used for the follo wing: • Backing up all dat a in a PLC • Comparing all of the data in a PLC with data that was pre viously back ed up in the comput er • Using the restore function to tr ansfer all of the PLC dat a to a system with the same co nfigurat ion • T ransf [...]
-
Страница 364
338 Using the Backup T ool Section 13-3[...]
-
Страница 365
339 SECTION 14 T roubleshooting and Err or Processing This section describes error processing, periodic m aintenance operation s, and troubleshooting procedures needed to keep the EtherNet/IP network operat ing properly . W e recommen d reading through the error processing procedures befo re operation so that operating errors can be identified and [...]
-
Страница 366
340 Checking Status with the Netw ork Configurator Section 14-1 14-1 Chec king Status with the Network Configurator 14-1-1 The Netw ork Configurator ’ s Device Monitor Function Connect the Netwo rk Configurator online, sele ct the de vice to be chec ke d, right-click to displa y the pop-up menu, and select Monitor . The Monitor De vice Dialog Box[...]
-
Страница 367
341 Checking Status with the Netw ork Configurator Section 14-1 Status 2 T ab P ag e Th e Status 2 T ab P a ge’ s T arget PLC Stat us Field shows the stat us of the tar- get node PLCs that are conn ected with the Et herNet/IP Unit as the tag data link originator. The icon will be bl ue if the CPU Unit is in R U N mode or MONI- T OR mode, gra y if[...]
-
Страница 368
342 Checking Status with the Netw ork Configurator Section 14-1 Note The target PLC st atus is can be used wh en the PLC status is sel ected for all the target sets f or both originator and targe t connections . For t hose that are not selected, the status will be gra yed-out.[...]
-
Страница 369
343 Checking Status with the Netw ork Configurator Section 14-1 Connection T ab P age The Connection T ab Page’ s T arget Node Status Field sho ws the connection status of the target nodes that are connecte d with the EtherNet/IP Unit as the tag data link or iginator . The icon will be bl ue if the connection is normal, or red if an error occurre[...]
-
Страница 370
344 Checking Status with the Netw ork Configurator Section 14-1 Error His tory T ab Pa ge The Er ror Histor y T ab Page disp la ys the error log stored in the Et herNet/IP Unit or built-in EtherN et /IP po r t. Errors that o ccu rr ed in t he p as t a r e r e cor d ed , and can be cleared or sa ved in a co mputer file as required. In some cases , e[...]
-
Страница 371
345 Checking Status with the Netw ork Configurator Section 14-1 Ref er to the oper ation manu al of the CPU Unit f or details on error inf ormation. T ag Status T ab P age This tab page sh ows if the ta g settings f or each tag f or tag data links is set so that data can be e xchanged with the CPU Unit . The f ollowing status is di s- pla yed. Ok: [...]
-
Страница 372
346 Checking Status with the Netw ork Configurator Section 14-1 If the status is not “OK, ” chec k the ta g data link setting s or the ne tw ork symbol settings in the symbol tab le in the CJ2 CPU Unit.[...]
-
Страница 373
347 Using the LED Indicators and Display for T roubleshooting Section 14-2 Ethernet Inf ormation T ab Pag e The Ether net Inf ormation T a b P age s hows the communications s tatus at the communications driv er lev el. The error counter inf or mation can be used t o confirm whether communications prob lems hav e occurred. The tag data link inf or m[...]
-
Страница 374
348 Using the LED Indicators and Display for T roubleshooting Section 14-2 Lit red Not lit H3 EtherNet/IP Unit o r b uilt-in EtherNet/IP por t faulty --- Operation stops. --- Replace the Ether- Net/IP Unit or (for a built-in EtherNet/IP por t) the CPU Unit if the error recurs when the Unit is restar ted. Flashing red Not lit H4 Nod e address settin[...]
-
Страница 375
349 Using the LED Indicators and Display for T roubleshooting Section 14-2 Flashing red --- HA CPU Unit memor y error A parity error occurred during an operation such as reading the routing tabl es. Records the error in the error log. If the routing tables were being read, the rout- ing tables are treated as missing. 0012 Re gister the rout- ing ta[...]
-
Страница 376
350 Using the LED Indicators and Display for T roubleshooting Section 14-2 Flashing red --- HE CPU Unit ser- vice monitor- ing error Ser vicing from the CPU Unit was not com- pleted within the fix ed inter v al. The monitor ing time is normally 11 s. • If the Unit is the or ig- inator of the tag data link connection, it stops communica- tions. ?[...]
-
Страница 377
351 Using the LED Indicators and Display for T roubleshooting Section 14-2 Error s Related to the CPU Unit The 7-segment displa y alternates between the nod e address and erro r code. Error s Related to the Contro l Bits The 7-segment displa y alter nates between the node address an d error code . Indicator Error Cause Unit operation (Flag status) [...]
-
Страница 378
352 Using the LED Indicators and Display for T roubleshooting Section 14-2 Error s Related to the T ag Data Links The 7-segment displa y alternates between the nod e address and erro r code. Indicator Error Cause Unit operation (Flag status) Err or log (hex) Countermeasure MS NS 7-segment --- --- d5 V erification Error (target non-e xistent) The ta[...]
-
Страница 379
353 Using the LED Indicators and Display for T roubleshooting Section 14-2 Error s Rela ted to Memory Access The 7-segme nt displa y alter nates between the node address an d error code . Indicator Error Cause Unit operation (Flag status) Err or log (hex) Countermeasure MS NS 7-segment Flashing red --- E9 Memor y Access Error An error occurred in t[...]
-
Страница 380
354 Using the LED Indicators and Display for T roubleshooting Section 14-2 Flashing red --- E8 Device P aram- eters Error The I/ O Area set in the de vice parameters does not exist in the CPU Unit, or the EM Area was con verted to file memory . There is an error in the parameter set- tings stored in the Unit’ s non-volatile memory . (An error can[...]
-
Страница 381
355 Using the LED Indicators and Display for T roubleshooting Section 14-2 Error s Related to the Network Th e 7- segment displa y alternates between the node ad dress and error code . Indicator Error Cause Unit operation (Flag status) Err or log (hex) Countermeasure MS NS 7-segment --- --- E1 Ether net Link Not Detected The link with the s witchin[...]
-
Страница 382
356 Using the LED Indicators and Display for T roubleshooting Section 14-2 --- --- E3 Ser ver Con- nection Error An error occurred in communica- tions with the DNS ser ver . The DNS Ser ver Error Flag (n+14, bit 05) will tur n ON. 03C4 De- tails: 00xx P erform one of the f ollowing: • Correct the DNS ser ver settings. • Ch eck the com- municati[...]
-
Страница 383
357 Using the LED Indicators and Display for T roubleshooting Section 14-2 --- --- E3 Ser ver Con- nection Error An error occurred in transmission to the SNMP trap . --- 03C4 De- tails: 07xx P erform one of the f ollowing: •C o r r e c t t h e SNMP trap set- tings. • Ch eck the com- munications path (EtherNet/IP Unit or b uilt-in Et her- Net/IP[...]
-
Страница 384
358 Connection Status Codes and Error Processing Section 14-3 Error s Re lated to the Unit The 7-segme nt displa y alter nates between the node address an d error code . 14-3 Connection Status Codes and Err or Processing This sectio n e xplains how to ide ntify and co rrect errors based on the t ag data link’ s connection sta tus. The connection [...]
-
Страница 385
359 Connection Status Codes and Error Processing Section 14-3 Email odv a@odva.org WEB www .odv a.org The f ollowing tab le shows the possib le originator/target configu rations. The f ollowing tab le sho ws the likely ca uses of the errors causes f or each con- figurat ion and connecti on status (code). Configuration Ori ginator T arget Configurat[...]
-
Страница 386
360 Connection Status Codes and Error Processing Section 14-3 01 0109 Error code retur ned from target: The connectio n size settings are diff erent in the originator and target. Check the connection sizes set in the originator and target. 01 0110 Error code retur ned from target: The target was unable to open the connection, b ecause of its operat[...]
-
Страница 387
361 Connection Status Codes and Error Processing Section 14-3 01 011A Error code retur ned from or igi- nator : Connection could not be estab- lished because the buff er was full due to high traffic. An une xpected network load may hav e been received. Use the Network Configu- rator De vice Moni- tor or the Ethernet T ab Page to chec k the bandwidt[...]
-
Страница 388
362 Connection Status Codes and Error Processing Section 14-3 01 0316 Error code retur ned from target: There was a parameter erro r in the frame used to close the co n- nection. This error does not occur . Depend s on the tar- get’ s specification s. (Contact th e target de vice’ s manufac- turer .) Depends on the o rig- inator’ s specifica-[...]
-
Страница 389
363 Connection Status Codes and Error Processing Section 14-3 Unique OMRON Err o r Codes 01 0810 Error code retur ned from target: New data could not be obtained from the CPU Unit when open- ing connection. (The Unit will automatically retr y , and attempt to open the con nection again.) This error ma y occur if the CPU Unit’ s cycle time was lon[...]
-
Страница 390
364 Error Log Function Section 14-4 14-4 Err or Log Function Errors detected b y the EtherNet/IP Unit or b uilt-in EtherNet/IP por t are stored in the error log alon g with the date and ti me of their occurrence . The error log can be read and cleared fr om the Network Configur ator . Some error log records ar e cleared when the CPU Un it’ s powe[...]
-
Страница 391
365 Error Log Function Section 14-4 14-4-4 Err or Log Erro r Codes Error code (hex) Error Detail code Saved in EEPROM First b yte Second b y te 0001 CPU Unit watchdog timer error 00 hex 00 he x Y es 0002 CPU Unit ser vice monitor ing error Moni toring time (ms) Y es 0006 Other CPU error Bit D11: Unit not in Registered I/O T ables (Other bits are re[...]
-
Страница 392
366 Error Log Function Section 14-4 0300 Par a meter error ; pack et di scarded FINS Command : Bit 15: OFF Bits 08 to 14: Source network address Bits 00 to 07: Source node address FINS Response: Bit 15: ON Bits 08 to 14: Destination network add re ss Bits 00 to 07: Destination node addre ss CIP F rame: FFFF No 0347 I/O refreshing error 00 hex 00 he[...]
-
Страница 393
367 Error Log Function Section 14-4 03C4 Ser ver connection error 00 he x: DNS 03 hex: SNTP 04 hex: FTP 06 hex: BOO TP 07 hex: SNMP 08 hex: SNMP T rap 01 he x: Specified host does not exist 02 he x: No such ser vice at specified host 03 he x: Timeout 06 he x: Host name resolu- tion error 07 he x: T ransmission error 08 hex: Reception error 09 hex: [...]
-
Страница 394
368 T roubleshooting Section 14-5 Note If a memor y error occurs in the error log area of EEPROM, the record will not be stored in EEPROM. 14-5 T roubleshooting 14-5-1 CPU Unit's ERR/ALM Indicator Lit or Flashing Use the f ollowing tab le to troub leshoot the system when the CPU Unit’ s ER R/ ALM indicator is lit or flashing wh en th e Ether[...]
-
Страница 395
369 T roubleshooting Section 14-5 14-5-2 General Ethernet Prob lems 14-5-3 T ag Data Links F ail to Star t Use the f ollowing tab le to troubl eshoot tag data l inks when the T ag Data Links Operat ing Flag (bit 15 in Comm unications Status 1) does no t go ON. The 100M and 10M Indicator s on the EtherNet/IP Unit or CPU Unit are both OFF . • Confi[...]
-
Страница 396
370 T roubleshooting Section 14-5 14-5-4 T ag Data Link Pr oblems The tag data isn 't simultaneous. Observe the follo wing precautions when wr iting application programs: • Maintain the simultaneity of data in connection-units between the PLC and EtherNet/IP Unit or built-in EtherNet/IP port. • If another company's device is being use[...]
-
Страница 397
371 T roubleshooting with FINS Response Codes Section 14-6 14-5-5 Message Timeout Pr oblems 14-6 T r oubleshooting with FINS Response Codes The cause of errors tha t occur when using the SEND( 090), RECV(098), or CMND(490) instructions can be identified from the response codes . (Refer t o the description of Comm unications P or t Completion Codes [...]
-
Страница 398
372 T roubleshooting with FINS Response Codes Section 14-6 01 Local node error 03 Local node send error --- Lack of av ailable space in inter nal buff ers Th e load (traffic) on the Ether- net Unit is too heavy . Check your user applications . 05 Node address set- ting error Local IP address The network canno t be used because the IP address settin[...]
-
Страница 399
373 T roubleshooting with FINS Response Codes Section 14-6 10 Command f ormat error 01 Command too long Command data The command is too long. Check the command f or mat of the command and set it cor- rectly . The command exceeded 1,473 bytes when broad- casting. 02 Command too shor t Command data The command is too shor t. 03 Number of items does n[...]
-
Страница 400
374 T roubleshooting with FINS Response Codes Section 14-6 22 Status error (oper ating mode dis- agreem ent) 0F Cannot ex ecute because ser vice is being processed. Sock et status area The same sock et service is already in pro g ress at the specified socket num- ber . Use the corresponding socket status flag in PLC memor y to be sure that sock et [...]
-
Страница 401
375 Appendix A CS/CJ-series Ethernet Unit Function Comparison Item Suppor t for function Ethernet Unit EtherNet/IP Unit or built-in EtherNet/ IP port Unit ver s io n 1.0 Unit ver s io n 2.0 T ag data link communications ser vice No Y es Y es CIP message communica ti ons ser v i ce No Y es Y es FINS/UDP ser vice Y es Y es Y es FINS/TCP ser vi ce Y e[...]
-
Страница 402
376 CS/CJ-series Ethernet Un it Function Comparison Appendix A[...]
-
Страница 403
377 Appendix B Ethernet Netw ork Parameter s Note The hold time is 3 s f or the UCMM ser vice, Class 3 service, and tag data lin k open/close processing. Parameter V alue Description TCP send buff er 4,096 bytes Maximum capacity of the TCP send buff er TCP receive b uffer 4,096 bytes Maximum capacity of the TCP receive buff er UDP send buff er 9,00[...]
-
Страница 404
378 Ethernet Network P arameters Appendix B[...]
-
Страница 405
379 Appendix C TCP Status T ransitions The TCP soc ke t status can be co nfirmed using the sock et status data returned f or the FINS command SOCKET ST A TUS READ (27 64). Status Meaning CLOSED Con nection closed. LISTEN W aiting for connection. SYN SENT SYN sent in active status. SYN RECEIVED SYN received and sent. EST ABLISHED Already established[...]
-
Страница 406
380 TCP Status T ransitions Appendix C[...]
-
Страница 407
381 Appendix D CIP Message Communications This appendix describes CIP message commu nications . The basic concepts of CIP message communications ar e described in this appendix from CIP Object on page 381 through Exam ple of CIP Message Creatio n on page 386. Read these sections to impro ve y our understanding of CIP me ssag e communications . CIP [...]
-
Страница 408
382 CIP Message Communications Appendix D T erminology In CIP specifications , “Object, ” “Class, ” “Instance, ” “Attr ibute” and “Ser vice” ar e defined as f ollows: Specifying an Object Address (Request P ath) This is the basic concept in volv ed in accessing an Obje ct or Attr ibute. Each Object Class has a “C lass ID”. T[...]
-
Страница 409
383 CIP Message Communications Appendix D Route P ath Route P ath In the CIP , unlike th e internet protocol, the tran smission fra me contains a complete rela y route from the t rans- mission node to th e reception node. Th e described route is called the “rou te path. ” The route pa th is described as “EP A TH t ype. ” The basic concept o[...]
-
Страница 410
384 CIP Message Communications Appendix D According to CIP Specifications , the Segment T ype specifications are decided as f o llows: The specifications of Se gment F or mat are diff erent f or each Segment T ype. The f ollowing sections describe P or t Segment, Logical Seg ment, and Data Segment which ar e needed to us e the CIP message co mmun i[...]
-
Страница 411
385 CIP Message Communications Appendix D Specify the size of Link Address when the Exte nded Link Address Size is set to “1. ” The follo wing diagram shows the P or t Segmen t value in this case. Alwa ys set the Link Address to an e v en number o f byt es. If there is an odd n umber of bytes , pad the Link Address with “00” so that it has [...]
-
Страница 412
386 CIP Message Communications Appendix D The 8-bit logica l address can be used f or the Attribute ID . Use the Attribute ID when requesting a Service of a par ticular Ob je ct of a pa r ticular de vice. Example of CIP Message Creation Setting the Route P ath Po r t N u m b e r The f ollowing description e xplains the network por t, which is used [...]
-
Страница 413
387 CIP Message Communications Appendix D Response Codes General Status Code The Gener al Status Code is stored in the r esponse data after e x ecution of the CMND instruction has been completed. General Status Code (hex) Status Name Description of Stat us 00 Su ccess Service was successfully performed by the object specified. 01 C onnection failur[...]
-
Страница 414
388 CIP Message Communications Appendix D 1D Inva lid attribute v alue list The ser vice is retur ning the list of a ttr ibutes supplied with status information for those attributes that were in valid. 1E Embedded se rv ice error An embedded ser vice resulted in an error . 1F V endor spe cific error A vendor specific error ha s b een encountered. T[...]
-
Страница 415
389 CIP Message Communications Appendix D Example of Additional St atus in case that Gene ral Status Is 01 Hex. (Status of Connectio n Manager Object) General Status (hex) Ad ditional Status (hex) Explanation 01 0100 Connection in Use or Duplicate Forward Open. 01 0103 T ranspor t Class and T rigger combin ation no t suppor ted 01 0106 Ownership Co[...]
-
Страница 416
390 CIP Message Communications Appendix D Priority/Time Tic ks and Time Out Tic ks Format of the Priority/Time Tic k Time tick Base v alue (ms) Maximum time -out time (ms) that can be set in the time out tic k s 0000 hex 1 255 0001 hex 2 510 0010 hex 4 1,020 0011 hex 8 2,040 0100 hex 16 4,080 0101 hex 32 8,160 0110 hex 64 16 ,32 0 0111 hex 128 32,6[...]
-
Страница 417
391 Appendix E FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP P or ts RESET Resets the Et herNet/IP Unit o r built-in EtherNet/IP po r t. Command Bloc k Response Bloc k Command code Function name Remarks MRC SRC 04 03 RESET --- 05 01 CONTROLLER D A T A READ --- 06 01 CONTROLLER ST A TUS READ --- 08 01 INTERNODE ECHO TEST --- 0[...]
-
Страница 418
392 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Precautions • No response will be retur ned if the command ends norm ally . A respon se will be return ed only if an error occurs. • In some cases , send reque sts (SEND(192)/RECV( 193) instructions ) made from the PLC t o the EtherNe t/ IP Unit or built[...]
-
Страница 419
393 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Mode Setting (Response) The mode setting in the system setup is returned. Bro adcast Addr ess Setting Communic ations P ar tner IP Address Con versi on Method Setting FINS/UDP P or t Number Setting FINS/TCP P or t Number Sett ing Baud Rate Setting SNTP Serve[...]
-
Страница 420
394 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Response Codes CONTR OLLER ST A TUS READ Reads the cont roller status . Command Bloc k Response Bloc k Pa r a m e t e r s Communications Status 3 (Response) Ethernet Basic Setting Error IP Address T able Err or Response code Description 0000 Nor mal end 1001[...]
-
Страница 421
395 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E IP Router T able Error Routing T able Err or Ethernet Ad v anced Setting Error BOO TP Server Error SNTP Server Error Address Misma tc h Non-v olatile Memory Err or T otal Number of Pac kets Received (Response) The total number of pack e ts received b y the E[...]
-
Страница 422
396 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E T otal Number of Pac kets Sent (Response) The total number of pack ets sent by the Ethe rNet/IP Unit o r built-in EtherNet/IP por t is retur ned. T otal Number of Er rors Sent (Response) The total num ber of pac ket errors detected while the Eth erNet/IP Uni[...]
-
Страница 423
397 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Response Codes BR O ADCAST TEST RESUL TS READ Reads the results (n umber of times data receiv ed) of the broadcast t est. Command Bloc k Response Bloc k Pa r a m e t e r s Times Received (Response) The numbe r of times the data has be en receiv ed normally d[...]
-
Страница 424
398 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Precautions • No response is made t o th is command. • When using this command, set the FINS header pa rameters (or the control data f or the CMND(194) instruction) as follows: Destination node addr ess: FF (broadcast data) Destination unit addre ss: FE [...]
-
Страница 425
399 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Error Code, Detailed Information Details of the erro r stored in the re cord. Ref er to 14-4-4 Error Lo g Error Codes f or details. Minute, Second, Day , Hour , Y ear , Month Indicate the time at which the error sto red in the re cord occurred. Precautions ?[...]
-
Страница 426
400 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Command Bloc k Response Bloc k Pa r a m e t e r s Destination IP Address (Command) The IP address (in he xadecimal) of t he destination n ode f or the PING command echo request pac ket. Timeout V alue (Command) The wait time f or the echo reply p ack et. The[...]
-
Страница 427
401 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Command Bloc k Response Bloc k Pa r a m e t e r s FINS/TCP Connection No. (Command) Specifies , in two b ytes, the FINS/TCP connectio n number (1 to 16) f or which the change is to be made . Remote IP Address (Command) Specifies the remote node’ s IP addre[...]
-
Страница 428
402 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Response Bloc k Pa r a m e t e r s FINS/TCP Connection No. (Command, Response) Command: Specif ies, in tw o bytes, the FINS/TCP connect ion numbe r (1 to 16) f or which the stat us is to be read. Response: Specifies the FINS/TCP conne ction number ( 1 to 16)[...]
-
Страница 429
403 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Response Codes IP ADDRESS T ABLE WRITE Writes the IP address tab le. Command Bloc k Response Bloc k Pa r a m e t e r s Number of Recor ds (Command) The numbe r of records to write is specified in he xadecimal between 0000 and 0020 (0 to 32 decimal) in the co[...]
-
Страница 430
404 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E • An error response will be re tur ned if the IP address conversion me thod in the system mode settings is set f or automatic gener ation on the FINS/ UDP T ab Pa ge of the Unit. Response Codes IP ADDRESS WRITE Write the local IP address and the subnet ma [...]
-
Страница 431
405 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Response Codes Precautions • The local IP address and su bnet ma sk set b y this command are written to th e CPU Bus Unit System Setup f or the EtherNet /IP Un it or built-in EtherNet /IP po r t. • The new local IP address and subnet mask settings will b[...]
-
Страница 432
406 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E FINS Node Address Node address f or communications via the FI NS command (in he xadecimal). IP Address IP number used by TCP/IP p rotocol (in he xa decimal). Precautions • If the IP a ddress table contains few e r records than th e number specified in the [...]
-
Страница 433
407 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Maximum Number of Stored Recor ds (Response) The maximum numb er of records tha t can be stored in the IP ro uter t ab l e is returned. The maxim um n umber of stored records is fixed at 0008 (8 r ecords). Number of Stor ed Recor ds (Response) The number of [...]
-
Страница 434
408 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Pa r a m e t e r s IP Status (Response) T welve types of IP stat us inf ormation occupying 4 b ytes each are returned in the follo wing sequence. Each v alue is returned as an 8-digit he xadecimal value . 1. T otal number of IP pack e ts received. 2. The num[...]
-
Страница 435
409 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E 5. The number of receiv ed ICMP pack ets discarded because the t ype-indicatio n co de was out of range . 6. The number of receiv ed ICMP pack ets discarded because the o verall pa ck et length valu e in the pac ket header w as smaller than the minim um I CM[...]
-
Страница 436
410 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E 1. The number of times activ e connections were correct l y established. 2. The number of times a SYN pac ket was rece ived while waiting to estab lish a passive conn ect ion. 3. The number of time s act iv e or passive connectio ns were co rrectly estab lis[...]
-
Страница 437
411 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E 8. The number of b ytes in the resend pac kets. 9. The number of duplicated re se nd pac kets receive d. 10. The numbe r of bytes in the duplic ated resend pack ets r eceived. 11. The number of out-of-ran ge data pac ket s r eceived . (Alwa ys 0.) 12. The nu[...]
-
Страница 438
412 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Response Bloc k Pa r a m e t e r s Memory Status (Response) A total of 23 data items in six areas are returned in the follo wing order . Each item consists of 4 by t es. 1) Short Buffer Appli cation: T wo items are returned (8 b ytes). 1. The number of short[...]
-
Страница 439
413 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Precautions All the abo ve v alues are set to 0 if Ethernet communications functi ons are stopped due to improper settings in the system setup. These v alues are cleared when the EtherNet/IP Unit or built-in EtherNet/IP port is star ted or reset. V alues wil[...]
-
Страница 440
414 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Remote P or t Number (4 bytes) The remote po r t number alloc ated to the s ock et. TCP T ransitions (4 b ytes) The TCP conn ection stat us is retur ned as one of th e numbers shown in the following table . Re fer to Appen dix C TCP Status T ransitions f or [...]
-
Страница 441
415 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Address Inf ormation Returns the FINS node addresses and I P a dd resses . Each pair requires 6 b ytes and has the f ollowing conf igu- rati on. FINS Node Address Node address set in the Ethe rN et/IP Unit or built-in EtherNet/IP por t (he xad ec imal). IP A[...]
-
Страница 442
416 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E IP Address (Response) The local IP address set in the CPU Bus Unit System Setup f or the EtherNet/IP Unit or b uilt-in Et herNet/I P port is returned in order star ting from the leftmo st byte s in he xadecimal. If the local IP add ress set in the allocated [...]
-
Страница 443
417 FINS Commands Addressed to EtherNet/IP Units or Bu ilt-in EtherNet/IP P orts Appendix E Description F or details , ref er to EXPLICIT MESSAGE SEND (28 01) on page 241 in 9-1-1 Sending Explicit Messages Using CMND(490) . CIP UCMM MESSA GE SEND Sends a message in the CI P message (UCMM) format. Command Bloc k Response Bloc k Response Codes 110B R[...]
-
Страница 444
418 FINS Commands Addressed to EtherNet/I P Units or Built-in EtherNet/IP P orts Appendix E Description F or details, ref er to CIP UCMM MES SA GE SEND (28 10) on page 236 in 9-1-1 Send ing Explicit Messages Using CMND(490) . 1005 Header error 110B Response length exceeds maximum response length. 2211 Unit is busy . Response code Description[...]
-
Страница 445
419 Appendix F EDS File Management This section e xplains the EDS file management functions used in the Netw ork Configurator . Installing EDS Files Note Using Windows Vista or Windows 7 Is recommend ed that y ou star t the Network Configu rator f rom Run as administr ator when you install an EDS file in the Netw ork Configur ator . I f th e EDS fi[...]
-
Страница 446
420 EDS F ile Management Appendix F 3. Select the EDS file to be installed and clic k the Open Button. Ne xt, select the icon file (* .ico), and the EDS file will be added to the Ha rdware List. If the EDS file already exists , the new ED S file will ov erwrite the pre vious one. If the hardware v ersions are diff er ent, an EDS file will be added [...]
-
Страница 447
421 EDS F ile Management Appendix F 3. Input the f older and file names an d click the Save Button The EDS file will be save d. Sear ching EDS Files EDS File - Search T o search the de vices (EDS file s) displa yed in th e Hardwar e List, use the f ollowing procedure . 1. Select EDS file - Find . The f ollowing window will be displa yed. 2. Input t[...]
-
Страница 448
422 EDS F ile Management Appendix F 2. Select EDS File - Proper ty . The f ollowing window will be displa yed. The time and date that the EDS file was created will be displa yed, along with the de vice inf or mation.[...]
-
Страница 449
423 Appendix G Precautions f or Using Windo ws XP , Vista, or Windo ws 7 Changing Windows Fire wall Settings Better fire wall security f or Windows XP (SP2 or higher), Windows Vista, and Windows 7 has increased the restrictions f or data communications on Ethernet por ts. When using an EtherNet/IP conn ection*1 to one of the f ollowing PLCs from an[...]
-
Страница 450
424 Precautions for Using W indo ws XP , V ista, or W indo ws 7 Appendix G The User Account Control Dialog Bo x ma y be displa yed during this procedure . If it appears, clic k the Continu e Button and continue with th e pr oc ed ur e. 1. Select Control P anel from the Windo ws Star t Menu and change the displa y to Classic View . 2. Open the Admin[...]
-
Страница 451
425 Precautions for Using W indo ws XP , V ista, or W indows 7 Appendix G An EtherNet/IP connection will be acce pted from CX-Programmer or Netw ork Configurator and EtherNet/ IP connections will be enab le d in the future as well.[...]
-
Страница 452
426 Precautions for Using W indo ws XP , V ista, or W indo ws 7 Appendix G[...]
-
Страница 453
427 Index Numerics 7-segment display , 24 A Adjust Time field , 326 , 328 alternate DNS server , 54 applications precautions , xxiv Auto Adjust Time field , 326 , 327 Auto Adjust T ime Tab , 326 , 327 automatic cloc k adjustment Automatic Clock Adjust me nt Swi tch , 328 errors error codes , 328 error log , 328 SNTP , 328 overview , 324 procedure ,[...]
-
Страница 454
428 Index creating a tag set , 126 creating tag sets , 126 creating tags , 128 crimp terminals , xxv current consumption CJ-seri es , 15 , 16 CS-seri es , 14 CX-Integrator , 46 creating routing tables , 208 CX-Programmer , 8 , 46 connecting to PLC , 211 cyclic communications required settings , 35 D Datalink Tool , 57 default gateway , 54 delays me[...]
-
Страница 455
Index 429 EtherNet/IP Unit F eatures , 2 EtherNet/IP Units resetting , 391 ETN11-compatible mode , 99 explicit message communications , 187 , 233 explicit message co mmunications service , 106 , 108 explicit messages list of PLC ob ject services , 249 receiving , 248 sending , 234 sending using CMND(490) , 243 F FALS instruction , xxiii FINS commun[...]
-
Страница 456
430 Index Host name field , 326 , 327 I I/O allocations CIO Area , 70 DM Area , 83 I/O memory address , 116 I/O response time , 283 I/O tables creating , 46 overview , 46 ICMP communications status , 408 IGMP snooping , 29 importing , 136 indicators , 23 using LED indicators for troubleshooting , 347 initial settin gs , 34 installation , 33 cable c[...]
-
Страница 457
Index 431 multicast comm unications , 114 multicast f ilter , 29 N n beginning word of allocated CIO Area , 70 network devices required for constructing a network , 4 network configuration file reading , 178 saving , 177 Network Configurator , 121 connecting to the network , 161 Device Monitor function , 340 requirements , 10 starting , 121 TCP/IP [...]
-
Страница 458
432 Index refresh cycle , 268 Register Device List , 141 Registered Target Node Flags , 81 , 85 registering devices , 125 , 141 relay tables , 207 rename command , 303 , 308 replacing a Unit , 332 replacing Units precautions , xxv restoring data from the Memory Card , 335 Retry time r field , 326 , 328 rmdir command , 303 , 308 route path , 383 rou[...]
-
Страница 459
Index 433 specifications , 115 status flags , 186 tag data links (cyc lic communications) , 6 tag set , 116 tag sets creating , 126 Target Node PLC Error Flags , 73 , 87 Target Node PLC Operating Flags , 73 , 87 TCP communications sockets status , 379 status , 409 TCP status transitions , 379 TCP/IP , 52 terminal blocks , xxiii timeout errors , 371[...]
-
Страница 460
434 Index[...]
-
Страница 461
435 Revi sion History A manual re vision code appear s as a suffix to the catalog numbe r on the front co ver of th e manual. The follo wing table outlines th e changes ma de to the manual during each revision. P age num bers refer to the pre vious ve rsion. Revision code Date Revised content 01 June 2007 Or iginal production 02 July 2008 Added in [...]
-
Страница 462
436 Revision History[...]
-
Страница 463
[...]
-
Страница 464
Authorized Distrib utor: In the interest of product improv ement, specifications are subject to change without notice. Cat. No. W465-E1-05 Pr inted in Japan 0210 © OMRON Corporation 2007 All Rights Reserved. OMRON Corporation Industrial A utomation Company OMRON ELECTR ONICS LLC One Commerce Drive Schaumburg, IL 60173-5302 U .S.A. T el: (1) 847-84[...]