Omron CJ1W-DRM21 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Omron CJ1W-DRM21. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoOmron CJ1W-DRM21 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Omron CJ1W-DRM21 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Omron CJ1W-DRM21, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Omron CJ1W-DRM21 deve conte:
- dados técnicos do dispositivo Omron CJ1W-DRM21
- nome do fabricante e ano de fabricação do dispositivo Omron CJ1W-DRM21
- instruções de utilização, regulação e manutenção do dispositivo Omron CJ1W-DRM21
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Omron CJ1W-DRM21 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Omron CJ1W-DRM21 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Omron na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Omron CJ1W-DRM21, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Omron CJ1W-DRM21, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Omron CJ1W-DRM21. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    CS-ser ies Devi ceNet Uni t: CS 1W- DRM21 CJ-series Dev iceNet Unit : CJ1W-DRM21 Opera tion Manu al Revised July 20 01[...]

  • Página 2

    iv[...]

  • Página 3

    v Noti ce: OMRON produc ts are manufact ured f or use according to proper proc edures by a qualified ope rator and only f or t he pur poses descr ibed in this manual . The fol lowing con ventions are used to indicat e and classify precaut ions in t his manual. Alwa ys heed the informa t ion provided wi th them. Fail ure to heed precautions can re s[...]

  • Página 4

    vi Tradema rks a nd Cop yrights Devi ceNet is a r egistere d trademark of the Open DeviceNet V endor Association, Inc. Windows, Windows 95, W indows 98, W indows Me, Windows NT , and Windows 200 0 are registered trademar ks of the Microsoft Corp oration. Other product names and c ompany names in this manual are tradem arks or registered trademark s[...]

  • Página 5

    vii TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi 1 Int end ed Au die nce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii 2 Gen er al P re caut ion s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 6

    viii TABLE OF CONTENTS SECTION 5 Remot e I/O Sl ave Communica tion s . . . . . . . . . . . . . . . . . 121 5-1 Sl a ve R e mote I /O Co mm uni cati on s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2 5-2 Fi xed Al l ocat ion s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 7

    ix About this Man ual: This manual descr ibes the ins tallation and operat ion of CS1W-DRM21 De viceNet Unit f o r SYSM A C CJ-series PLCs and the C J1W -DRM 21 D e vi c eN et Unit f or SYSMAC CJ-series PLCs, and incl udes the sections des cr ibed below . Please read this m anual and all ma n uals for related products carefully an d be sure you und[...]

  • Página 8

    x SYSMAC CS/CJ Series Commu nication Com - mand s Ref er ence M anual CS1G/H-CPU -E CPU Units CS1W -SCB21/41 Serial Comm unicat ions Boards CS1W -SCU21 Serial Comm unicat ions Un it Inf orm ati on on FINS and Host Li nk command s that can be s ent to CS/CJ-seri es CPU Units. W342 CX-Net Opera t ion M anual WS02-CXPC1- EV I nf ormation on set ting a[...]

  • Página 9

    xi PRECA U TIONS This section p rovides gene ral prec autions for using t he De v iceNet Unit a n d r elate d de v ices . The inf ormation contained in this section is i mpor t ant for the safe and r eliable application of the De viceNet Unit and Programm able Controller (PC) Y ou must r ead thi s section and understand t he information co ntained [...]

  • Página 10

    xii Inten ded A udience 1 1 Intended A udience This manual is intended for the f ol lo wing personne l, who must also hav e knowledge of electrical systems (an elect rical engineer or the equiv alent). • P e rsonnel in charge of installing F A systems. • P ersonnel in ch arge o f d esig ning F A syst ems . • P e rsonnel in charge of managing [...]

  • Página 11

    xiii Operating E n vironment Precauti ons 4 measure for such problems, e x ter nal safety measures must b e pro vided to ensure saf ety i n the system. • When the 24-VDC out put (service power supply to the PC) is ov erload ed or shor t-circuited, the voltage may drop and result in the outpu t s bei ng turn ed OFF . As a counter measure f o r suc[...]

  • Página 12

    xiv Application Prec autions 5 The operat ing environment of the P C System can have a large e ff e ct on the longe vity and reliability of the system. Improper operating environment s can lead to malfunction, f ailure, and other unf oreseeable problems with the PC System. Be sure th at the operating en vironme nt is wi thin the specified con di- t[...]

  • Página 13

    xv Application Pre cautions 5 • Double-check all the wi ring an d con nection of ter minal bloc ks and con- nectors before mount ing the Units. • Use cr imp ter minals f o r wir ing. Do n ot connect bare st r anded wires directly to term inals. • Obser ve the f ollowing prec autions when wi ring the c ommunications cab le . • Separate the c[...]

  • Página 14

    xvi Conf ormance to EC Directiv es 6 6 Conf ormance to EC Directives 6-1 App li cable D ire cti ves • EMC Directi ves 6-2 C onc ep ts EMC Directives OMRON dev ices that com ply with EC Directiv es also conform t o t he re lated EMC standards so that they c an be more easily built into other de v ices or machines. The ac tual produc t s h a ve bee[...]

  • Página 15

    xvii Conformance to E C D i rect ives 6 2. Wire the c ontrol panel with as t hick and short electric lines a s possible and ground t o 100 Ω mi n. 3. K eep DeviceNet commun ications cables as short as possible and ground to 100 Ω min. Ferrite Core (Data Line Filter): 0443-164151 (manufacturered by Fair-Rite Products Co., Ltd.) Impedance specifi[...]

  • Página 16

    1 SECTIO N 1 F eatur es and Sys tem C onf igur ation This sect ion p rov ides an ov e r vie w of the De vic eNet n etwork, in clu ding fea tur es, sp ecif ication s, a nd syste m conf i guratio ns. 1-1 Ove rvi e w of Devi ceN et . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1-1 -1 Ove rall S yste m Con figu r[...]

  • Página 17

    2 Overview of DeviceNet Secti on 1-1 1-1 Overview of Devi ceNet Devi ceNet is a mul ti-bit, m ulti-v e ndor network that combin es controls and dat a on a ma chine/line-control lev e l and tha t conf orm s to Devic e Net open field net- w ork s pec ific a ti ons . Three types of communi cations are suppor ted: 1) Remote I/O m aster commu- nications[...]

  • Página 18

    3 Ov ervi ew of Dev iceNet Se cti o n 1 -1 1-1-1 Ov erall S ystem Co nfigur a tion Note The Configurator is required if m ore than one M aster is connect ed in a single network wh en a CV M1-DRM21-V 1 or C200HW-DRM21-V1 is used. Master Featu res De v i ceNet Master Units and DeviceNet Units Suppor t remote I/O communications between OMRON PCs (CS-s[...]

  • Página 19

    4 Overview of DeviceNet Secti on 1-1 Co nfi gur at or Fea tur e s • Enables user-set al locations f or remote I /O (choice of node address order , 2 area allocations, et c.). • Enables serial connection to the Progr amm ing De vice P or t of a PC. • Enables user settings f or De viceNe t remote I/O commun icat ions c onnec- tions. • Enables[...]

  • Página 20

    5 Ov ervi ew of Dev iceNet Se cti o n 1 -1 T e mp era t u r e In pu t T er mi nal s • T em perature da ta is input as binar y da t a f or 4 inputs. • Therm ocoup le and platinum resistance ther momet er inputs are av ailabl e. C200H I /O Link Units • Special I/O Slaves that mount t o C200HX/HG/ HE P C s and rea d/writ e data from the Master t[...]

  • Página 21

    6 Overview of DeviceNet Secti on 1-1 1-1-2 App li cable U nit s a nd Devic eNe t Fu nctio ns Remote I/O Master DeviceNet Unit (Master) CPU Unit Remote I/O communications DeviceNet Slav es Ite m Master Model Without Conf igurat or W ith Configura tor Max. No . of Sl av e nodes per Master CS Series CS1W -DRM21 63 nodes CJ Series CJ1W - DRM21 CVM1, CV[...]

  • Página 22

    7 Ov ervi ew of Dev iceNet Se cti o n 1 -1 Remote I /O Slave (only Units Mounted i n a PC) DeviceNet Unit (Master) CPU Unit IN area OUT area Remote I/O communications DeviceNet DeviceNet Unit (Slave) CPU Unit IN area OUT area Slav es Item CPU Unit to whic h a S l a ve is moun ted Unit Mod el W itho ut the Configur ator With t he Configur ator Max. [...]

  • Página 23

    8 Overview of DeviceNet Secti on 1-1 Messag e Communications Commu nica tions In struc tions Note FINS message c o mmunications are supp ort ed between any two PCs with a CS/CJ-series Dev iceNet Unit (CS1W -DRM21/CJ1W -DRM 21). The y are not suppor ted for PCs with a C200H DeviceNet Master Unit (C200HW -DRM21- Master Master RS-232C Interface Unit M[...]

  • Página 24

    9 Ov ervi ew of Dev iceNet Se cti o n 1 -1 V1) or a CVM 1/CV -series De viceNet M aster Unit (CVM1-DRM21-V1). Ref er to 6-3 Using FINS Message Com munications fo r d e t a i l s. Communications So ftware Switches and Communications Status Dedicated words in the CPU Unit are allocated for De v iceNet commu nications software switches and status. 1-1[...]

  • Página 25

    10 Overview of DeviceNet Secti on 1-1 General -purpose Slaves (Communi cations Cable: Normal Sq uare Connectors) Name Appearanc e I/O points Model number Rem arks Remote I /O T erminal s with T ransi sto rs 8 i nput poi nts ( NPN) DR T1-ID08 --- 8 i nput poi nts ( PNP) DR T1- ID08-1 16 inpu t point s (NPN) DR T1-ID16 16 i npu t poi nt s (PNP) DR T1[...]

  • Página 26

    11 Ov ervi ew of Dev iceNet Se cti o n 1 -1 Note F or details on S la v es, ref er to the De viceNet (Com poBus/D) S la v es O perat ion Ma nual (W 347). Sensor T er mi nals 16 inpu t point s (NPN) DR T1-HD16S Connected to photoel ectric and pro xi mity sens ors with connect ors 8 in pu t/8 ou t put poi nt s (P NP ) DR T1-ND16S T emper atu re Input[...]

  • Página 27

    12 Overview of DeviceNet Secti on 1-1 W a terproof and En vi r onmen t- resi stant S laves (Communications Cable: Round Connec tor s) Special Slaves (Communications Cable: No rm al Square Con nector s ) Name Appearanc e I/O points Model number Rem arks W aterproof T er min als 4 i nput poi nts (NPN) DR T1-ID04CL Dust an d d rip-proof struct ure fo [...]

  • Página 28

    13 Ov ervi ew of Dev iceNet Se cti o n 1 -1 MUL TIPLE I /O TERMINAL Un its Unit I/O points W ord s all ocat ed in PC memory I/ O connec- tions Unit power suppl y vo l t a g e Ins tal la - tio n Model num b er Remarks Input Out put Communi cati ons Unit None T wo sta- tu s words 0 words None 2 4 VDC (su p- pli ed from o ut- si de) DIN trac k DR T1-C[...]

  • Página 29

    14 Overview of DeviceNet Secti on 1-1 Note The front-panel indi c a to rs and other par ts of A nalog Input Units, Analog Out - put Units, and Counte r Units diff er from those of o ther I/O Units . T hese Units belong to a group called Spe cial I /O Units. One I/O Unit Connecting Cable ( cable length 40 mm) is i ncluded with each I/O Unit. One end[...]

  • Página 30

    15 DeviceN et Unit F eatures Se cti o n 1 -2 1-1-5 D e vice Net Co nfig urat or Use v ersion 2 of the Devi ceNet Configurator f or the CS1W-DRM 21/CJ1W- DRM21 Dev iceNet Unit. Earlier ve rsions of t he De viceNet Configurator do not suppor t the CS1W -DRM21 Dev iceNet Unit. Note The f o llowing Boards and Cards can be used. Note Use De viceNet Conf[...]

  • Página 31

    16 DeviceNe t Unit F eat u res Section 1-2 Explicit Mess age Com munications Note Ref er to 6-4 Sending E xplicit Messages for det ails on remote I/O communica- tions. FINS Messag e Comm unicati ons Note Ref er to 6-3 Using F INS Me ssage Com munications f or d eta ils o n FI NS com - mun i ca tio n s. User-set allocation s withou t t he C onf igu [...]

  • Página 32

    17 DeviceN et Unit F eatures Se cti o n 1 -2 taneously . A Uni t that is used as a slav e supp ort s fix ed and user-se t alloca- tions. The maxi mum I/O for t he sla ve f unction is 100 words. Note Ref er to SECTION 5 R emote I/O Slave Comm unications f or details . Co nfi gur at or Co n nec ti o n throug h a Ser ial Line The Configurator can also[...]

  • Página 33

    18 DeviceNe t Unit F eat u res Section 1-2 CX-Prog ramm er Program mi ng an d Monitoring o f DeviceNet Slave PCs (V er . 2. 1 or Later ) CX-Programmer V er . 2. 1 connected t o a serial com munications por t on a De viceNet PC can be used to rem otely program and mon itor other De viceNet PCs (i.e. , PCs with a CS/CJ-ser ies De viceNet Unit or a Pr[...]

  • Página 34

    19 DeviceN et Unit F eatures Se cti o n 1 -2 Mul tip le P Cs in a S ingl e Netw ork Multiple De viceNet Units ca n be connected in a single networ k f or message communications between P Cs as well a s for r emote I/O commu nications between PCs and sla ves in multiple g roups. This feature allows a De viceNet to be used as a common bus t hat can i[...]

  • Página 35

    20 DeviceNe t Unit F eat u res Section 1-2 a De viceNet Unit. (S ee Appendix D Memo ry Card Backup Function f or more details.) Note Ref er to 7-2 Memory Card Backu p Functions fo r d e tai ls. V ariou s Connection Me thod s Nor mal multi-drop , T -branch multi -dro p ( w it h up to three branches), a nd daisy- chain line connect ions are av a ilab[...]

  • Página 36

    21 Specific ations Se ct io n 1 -3 1-3 Specifications 1-3-1 Device Net Unit Mo del General Speci f ication s General spec if ications of the CS/CJ-seri es De vic eNet Unit conf orm to the general specifications f or the SYSMAC CS/CJ-series CPU Units. Functional and Perf orman ce Specifications Applic able PC Unit classi ficat ion T ypes of commu ni[...]

  • Página 37

    22 Specif ications S ecti on 1-3 Words allo - cat ed i n t he CPU Unit De vice N et re mote I/O communi- cati ons When used as a Maste r Fix ed all oca- tions Fix ed w ords in the CS/CJ- series De v iceNet Area i n the CIO Are a (any of three set tings ). User-s et allo ca- tions Any I /O memory ( Set usi ng the al locat ed DM Ar ea w ords or Con- [...]

  • Página 38

    23 Specific ations Se ct io n 1 -3 Re mote I/O mast er co m- mun icati ons Sla v e alloc ation met hod Fix ed allo- cati ons Select one of the f ollo wi ng fix ed all oca tion areas usi ng th e Fix ed Alloc ated Area Switche s 1, 2, and 3 in the soft ware s wi tches i n the allocat ed CIO Area word s . Allocated words (CI O Area) I/O Si z e Fix ed [...]

  • Página 39

    24 Specif ications S ecti on 1-3 Re mote I/O master Max. No . of Slav e s con- nected per Devi ceNet Unit Fix ed all ocati ons 63 nodes User-s et allo ca tion s By allo- cated DM Area words By Config- urat or Max. No . of I/O po ints per Dev iceNet Unit Fix ed all ocati ons 2,048 pts ( 64 input wo rds, 6 4 ou tput words) User-s et allo ca tion s By[...]

  • Página 40

    25 Specific ations Se ct io n 1 -3 Re mote I/O sla v e Allo cation met hod Fix ed all o- cati ons Select one of the f ollo wi ng fix ed all ocati on areas usi ng the Sla v e Fix ed Alloc ated Area Swi tches 1, 2, a nd 3 in the softwa re swi tches i n the allo cated CIO Area wo rds. Allocated words (CI O Area) I/O Size Fix ed Alloca - tion Area Sett[...]

  • Página 41

    26 Specif ications S ecti on 1-3 Def aul t sett ings • Scan lis t: Not suppo r ted • Master comm un ications : Suppo r ted • Slav e communi cat ions: Disab l ed • Rem ote I/O c omm un ic ati ons : Start • Master fix ed alloca tions : Fix ed Alloc ation Area Setti ng 1 • Slav e fix ed allo catio ns: Fi x ed Al l ocati on Area Set ting 1 [...]

  • Página 42

    27 Specific ations Se ct io n 1 -3 Other f unc- ti ons Remote p r og ram ming/moni torin g func - ti ons A CX-Pro gr ammer connect ed to the serial c ommuni cati ons port of a PC to whi ch a CS/CJ-seri es Devi ce Net Unit is mounte d can remotel y pro gram and monitor De viceNet s lav e PCs wi th a CS/ CJ-series De viceNet Unit mount ed. Eith er th[...]

  • Página 43

    28 Specif ications S ecti on 1-3 1-3-2 C omp aris on b et ween CS 1W -DRM 21 an d C J1W -D RM21 Only the f ollowi n g items are different between the CS1W -DRM21 and the CS1W -DRM21. Otherwise, these Units are functionally the s ame. Communi cati ons powe r supply v oltage 11 to 25 VDC (sup plied from the comm unicat ions conn ect or) Influen ce on[...]

  • Página 44

    29 Comparison with Pre viou s Models Se cti o n 1 -4 1-4 Compar i son wi th P re vious M odel s The follo wing tabl e provides a compar ison b etween the CS1W-DRM21 De viceNet Unit and the C200HW -DRM 21-V1 De viceNet M aster Unit used in a CS/CJ-se ries PC. Item C200HW -DRM21-V1 CS1W -DRM21/CJ1W -DRM 2 1 Unit classi fic ation C200H Specia l I/O Un[...]

  • Página 45

    30 Comparison with Prev i ous Models Secti on 1-4 Rem ote I /O commun ica - tions Mast er Fix ed all oca- tio n s C200H Dev iceNet wo rds in CIO Area 1,600 poi nts (50 i nput wor ds , 50 output words ) CS/ CJ-seri es De vi ce Net words i n CIO Area 2,048 points (6 4 input wor ds , 64 output wo rd s) Output ar ea: CI O 0 050 to CI O 009 9 Input area[...]

  • Página 46

    31 Comparison with Pre viou s Models Se cti o n 1 -4 Rem ote I /O commun ica - tions Mast er Max. No . of sla v es con - nected With no Conf igur ator (f ix ed al locat ions): 50 nodes 63 nodes f or fix ed or user -set allocat ions With no Conf igur ator (us er-set alloca tions ) : 63 nodes Rem ote I /O Slav e Fix ed all oca- tio n s No De v iceNet[...]

  • Página 47

    32 Comparison with Prev i ous Models Secti on 1-4 Starting and stoppi ng remote commun ica tions during I/O commun ica tions Starts or stops remot e I/O comm unicat ions usi ng the Confi gurat or or the softwa re s witc h from a P rogr amming De vic e. Remote I/O communications with a communi cati ons er ror Sets remot e I/O com municat ions st art[...]

  • Página 48

    33 Outline of the Con figurator Se cti o n 1 -5 1-5 O ut li ne o f the Co nfi gur at or Allocations f or remote I/O communications c an be set in any order of node addresses f rom the Co nfigurator . Us ers can also set re mote I/O com munica- tions conn ections. Devi ce (mas ter/sla v e) registration, I/O a llocations, and ot her operations are es[...]

  • Página 49

    34 Outline of th e C onfigurator Secti on 1-5 Note 1. Master device par ameters use d in a scan list are created with either of the f ollowing methods . a) Using the Parameter Wizard b) Setting all parameters 2. Connec t only o ne C onfigurator to eac h Net w or k. 3. Do not use the Configurator in a l ocation with t oo much electromagnet ic noise,[...]

  • Página 50

    35 Outline of the Con figurator Se cti o n 1 -5 Main f unct ions Setup func tions Master de vice p ar ameter set tings f or OMR ON ’ s Master • Remote I/O mast er all ocat ions (w ith a scan list ) The node addre ss or der can be set as desire d. T wo output b lock s and two i nput blo c ks can be allo cat ed. (See not e.) • Remote I/O sl a v[...]

  • Página 51

    36 Basic Operat i ng Procedu res Secti on 1-6 1-6 Basi c O perating P r o cedures 1-6-1 Net work In stalla tio n Proce dure Note F or details on the network inst alla tion procedure, ref er to the De viceNet Oper- ation Manual ( W2 67 ). Only a gene r al descr ipt ion is giv en here. 1-6-2 Hardwar e P repa ratio ns for C om m uni catio ns 1,2,3. ..[...]

  • Página 52

    37 Basic Oper ating Procedure s Se ctio n 1 -6 Node address (Pins 1 to 6) Baud rate (Pins 7 and 8) Etc. 3. Mo unt the Master a nd w ire the netwo rk. T reat as a CPU Bus Unit. Can mount to a CPU Rac k or Ex pans ion Rac k. With fix ed allocations: 3 Units max. With user-set all ocation s : 16 Units max. 4. Connec t a Progr amm ing De vice to the PC[...]

  • Página 53

    38 Basic Operat i ng Procedu res Secti on 1-6 messag e commun icat ions may not be possible unles s t he De viceN et Unit is registered in the local network table . 1-6-4 P r oce dur es Prio r to Sta r tin g Com munic atio ns Usin g the Mast er Fu nct ion T o use the m aster function, the M aster Enable Switch (word n, bit 06) must be turn ed ON f [...]

  • Página 54

    39 Basic Oper ating Procedure s Se ctio n 1 -6 3. Check Unit Status 2 (word n+ 11, bit 03) from a Programm ing De vice con- nected to the CPU Unit to se e if the mas ter function is ON (enabled). If i t is enab led, skip step 4 below and procee d to step 5. 4. If the mast er function is OF F (disab led), tur n ON the Master Enable Switch (word n, b[...]

  • Página 55

    40 Basic Operat i ng Procedu res Secti on 1-6 2. Check Unit Status 2 (word n+ 11, bit 07) from a Programm ing De vice con- nected to the CP U Unit to see if t he slav e function i s OFF (disabled). If it is disab led, skip step 3 below and proceed to st ep 4. 3. If sl av e communications are enabled, t urn ON the Slav e S t op Switch (word n+1, bit[...]

  • Página 56

    41 Basic Oper ating Procedure s Se ctio n 1 -6 4. S wit ch th e CPU Unit to RUN mode . Slav e remo te I/O communications wil l begin. Messa ge Comm un ication s On ly (Neit her Ma ster n or Sla v e Fu nc tion Used ) The Dev iceNet Un it does not ha ve to be registered in the sca n li st if it is only used f or mess age communications. Message commu[...]

  • Página 57

    42 List of Us age Methods by P u rpose Secti on 1-7 1-7 L ist of Usage Metho ds by Purpose Situat ion Action P age Design Alloca ting an y words f or re mo te I /O In o rde r of no de addre sses Set usi ng the allocat ed DM Area wor ds. (Mast er User A lloca tions Set up T abl e and Allo ca- ti on Size Set up T abl e) Note Al locat ions usi ng all [...]

  • Página 58

    43 List of Us age Methods by P urpose Se ctio n 1 -7 Operat ion Stoppin g r emote I / O commu ni ca- tions with al l Sla ves Stop co mmuni cat ions usi ng the Conf igur at or or the Remote I/ O Communi cation s Stop Switch in th e all ocated CI O Area words . 62 Using a scan list in rem ote I/O communi cati ons (fi x ed all oca- tions) T urn ON the[...]

  • Página 59

    45 SECTIO N 2 Nom enclature and Installation This sectio n descr ibe s the nomencla tur e and inst alla ti on of t he De vic eNet Unit . 2-1 No me ncla tur e a nd Fu nct ion s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 2-1 -1 No me ncla tur e a nd Fu nct ion s . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 60

    46 Nomenclatu re and Functions Secti on 2-1 2-1 Nomenc lature and Function s 2-1-1 N ome nclatur e and Fu nctio n s CS1W -DRM21 CJ1W -DRM21 Indi cators The DeviceNet Units are equipped with the f ollowi ng ind icators that indicat e the operating status of the node itself and the over all network. 1,2,3. .. 1. T wo status indicators (two-color : Gr[...]

  • Página 61

    47 Nomenclatu re and F unction s Sec tio n 2 -1 2-1-2 S tatu s Ind ica tors: MS a nd NS The MS (Modu le Status) indicator indicates the status of the node itself and the NS (Network Status) indicator indi cates the status of the network. The MS and N S indicators c an be green or red an d they can be O FF , ON, or flashing (alter nating 0.5-s ON an[...]

  • Página 62

    48 Nomenclatu re and Functions Secti on 2-1 2-1-3 S e ven -Seg men t D isplay In additi o n to the MS and NS indicators, De viceNet Units ha v e a 2-d igi t, 7- segment displa y that nor mall y indicates the master nod e add r ess. W hen an error occ urs, the displ a y will alter nate bet ween the error code an d the no de address o f the faulty sl[...]

  • Página 63

    49 Nomenclatu re and F unction s Sec tio n 2 -1 The fol lowing di agram shows the alternating error code/ node addres s display . The ma ster ’ s error code and master ’ s node a ddress wil l be displayed if an error has occurred at t he master . There is n o prior ity in the error codes; a ll errors that ha v e occurred will be dis- pla yed in[...]

  • Página 64

    50 Nomenclatu re and Functions Secti on 2-1 Note 1. The node address is set to 63 at the f actor y . 2. A n y nod e address fr om 0 throug h 63 c an be set as long as it hasn ’ t been set on another slav e node. 3. If the node address is the same as one set on another node, a node ad- dress duplication error will occur and it won ’ t be poss ib[...]

  • Página 65

    51 Installing the Devic eNet Unit Se cti o n 2 -2 Co nti nue / Sto p Remo t e I /O Co mmuni cat io ns When the De viceNet Unit is used as a maste r , pin 3 is u sed to set whether or not communications will stop after a c ommunicat ions err or . If pin 3 is ON, remo te I/ O c ommunications will be stopped if one of the fol low- ing errors occurs. R[...]

  • Página 66

    52 Installing the DeviceNet Unit Secti on 2-2 • In the CS-ser ies , up to 16 Un its can be m ounted to the CS1W -BC 3 CPU Backplane o r CS1W-B I 3 Expans ion CPU Backplane. • In the CJ-ser ies , up to 16 U nits can be m ounted to the CPU Unit or Expansion Unit (but no more than 10 Units on either). 2-2-2 Mo u nting CS-series Mount the Dev iceNe[...]

  • Página 67

    53 Installing the Devic eNet Unit Se cti o n 2 -2 Note When m ounting the Unit , provide the clear anc e shown below to facilitate easy mounting or dismoun ti ng. CJ-series 1. Caref ull y align the connectors to mount the De viceNet Unit . 2. Move the yello w sliders on the top an d bottom of t he Unit until they click int o p os iti on , t o l o c[...]

  • Página 68

    54 Installing the DeviceNet Unit Secti on 2-2 • Provide separate condui ts or ducts f or the I/O lines to prev ent noise from high-tension li nes o r power li n es . • Leav e the labe l attached to the Un it when wiring. Rem o ving the la bel may result i n malfunct ion if f o reign matter enters the Unit. • Remov e the label a fter the compl[...]

  • Página 69

    55 Installing the Devic eNet Unit Se cti o n 2 -2 2-2-4 E xter na l Dime ns ions CS1W -DRM21 These diagrams show the dimensio ns of the De viceNet Unit. Refer to the CS1 Series CPU Unit Operation Manual (W339) o r the CJ S eries CP U Unit Opera- tion Manual (W3 93) f or the dimens ions of the Unit whe n it is mounted t o the Backplane. (All dimensi[...]

  • Página 70

    57 SECTIO N 3 Allocated CIO and DM W o rds This s ecti on describ e s the word s alloca ted to t he De viceNet Unit in t h e CIO Area a nd DM Area. These words bot h en able cont roll ing th e Devi ceNet Unit an d accessin g Unit and netw ork sta tus. 3-1 Ove rvi e w of W o rd A llo cati o ns . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 71

    58 Ov erview of W ord A llocations Secti on 3-1 3-1 Overview of W or d Allocations The words shown in the f ollowing diagram are allocated according to the unit number setting. For each Unit, t h ere are 25 words allocated in the CIO Ar ea and 100 words all ocated in t he DM Area. First word al located in the CIO Area: n = CI O 1,500 + (25 x unit n[...]

  • Página 72

    59 Ov ervi ew of W ord A llocatio n s Se cti on 3 -1 3-1-1 Allo ca ted C IO Ar ea W ords Software s witches, De viceNet Unit status, and error data are all ocated in the CIO Area according to the uni t number , as s hown below . Software switches are bit s used as comma nds from the CPU Unit t o the De v iceNet Unit to enable e xecuting Unit functi[...]

  • Página 73

    60 Allocated CIO Area W ords Secti on 3-2 3-2 Al located CIO Area W ords Data is stored at t he offset positions s ho w n in the f igure bel o w s tar ting from the first word allocated to t he Unit in the CIO Area. The f irst w ord c an be calculated as foll ows from the unit number setting: First word n = CIO 1,500 + (25 x uni t number) 3-2-1 S o[...]

  • Página 74

    61 Allocated C IO Area W ords Secti o n 3 -2 • Unit status area 2 (w ord n+11) • Master Status 1 (word n+12) W ord n [n = CIO 1, 500 + (25 x unit numb er)] Bit Na me Statu s Co n- tr olled by Unit oper ation Operati on condi- tions Defaul t set ti n g CPU Unit oper- ating mo d e Mas- ter func- tion Scan list st a- tus 00 Scan List Enabl e Switc[...]

  • Página 75

    62 Allocated CIO Area W ords Secti on 3-2 02 Re mote I/ O Com- munica- tio ns Sta r t Switch OFF → ON User Sta rts r em ote I /O com mun icati on s . Note 1. The sw it ch is ignored i f remote I/ O commu- nicat ions are already runni ng. 2. Th is swit ch is u sed to re sta r t r emo te I /O commun icati ons if the y are stopp ed by a commun icati[...]

  • Página 76

    63 Allocated C IO Area W ords Secti o n 3 -2 06 Master Enabl e Switch OFF → ON User Enabl es mast er commu nicat ion s. (The Unit automat i- ca lly r est ar ts.) Once enabl ed, the Uni t wi ll funct ion as a Master regard less of whet her the po wer is t urned OFF and back ON again u ntil th e Mast er Sto p Swi tch (w ord n, bi t 07) i s tu rned [...]

  • Página 77

    64 Allocated CIO Area W ords Secti on 3-2 11 Master User-set Alloca- tions Switch OFF → ON User Reads se t up data from the Mast er Us er Alloc ations Setup T a b le (w ords m+1 t o m+7) in the DM Area and regis ters the sca n lis t. ( The Unit au tomati call y r estarts.) Once regi st ered, the Unit will op er ate wit h master user - set a lloca[...]

  • Página 78

    65 Allocated C IO Area W ords Secti o n 3 -2 3-2-2 S oftwa re S wi tches 2 (W o r d n +1) All s w itches are turne d ON by the user . The Unit au tomatically tur ns them OFF afte r the function is ex ecuted. Once a function is set by t ur ning a switch ON (ex cept f or t he switc hes listed below), it is sav ed regardless of whether the power i s t[...]

  • Página 79

    66 Allocated CIO Area W ords Secti on 3-2 06 Slav e Enabl e Switch OFF → ON User E nable s slav e communi cati ons . (The Unit aut omatical ly res tar ts. ) T o use fix ed al locat ions , turn thi s swi tch ON af ter tu r ning ON a Slav e Fixe d Allocat ion Setti ng Switch ( wor d n+1, bit s 08 to 10) . T o used use r - set al locat ions , turn t[...]

  • Página 80

    67 Allocated C IO Area W ords Secti o n 3 -2 08 Slav e Fix ed Allo- cat io n Se t- ting 1 Switch OFF → ON Us er Al lo cat e s th e fol low i ng wo r ds t o th e sl ave. • OUT 1 area (i nput to the CPU Unit): CIO 3370 (1 wo rd allo cated) • IN 1 area ( output from th e CPU Unit): CIO 3270 (1 wo rd allo cated) • OUT 2 area: Not used • IN 2 [...]

  • Página 81

    68 Allocated CIO Area W ords Secti on 3-2 11 Slav e User Alloca- tions Switch OFF → ON User Reads s et u p data fr om the Sl a ve User Al locat ions Set up T able in th e DM Area and reg ister s slav e us er-set all oca - ti ons . On ce regi stere d, the Uni t wi ll o per ate wi th sl a ve us er- set all oca tions regar dless of whethe r the po w[...]

  • Página 82

    69 Allocated C IO Area W ords Secti o n 3 -2 Note 1. When the Master func t ion is en abl ed , the Un it Setup File ca nnot be backed up unless the scan list is enabled. 3-2-3 Ma st er CO S Se nd Swi tches (W ords n+ 2 to n +5 ) One Ma ster COS Send Switch is a llocated to ea ch slav e node ad dress. If the s witch f or a sla v e is tur ned ON, the[...]

  • Página 83

    70 Allocated CIO Area W ords Secti on 3-2 Remote I/O communications will restar t if a user turns OF F a bit that is ON. More t han one of t hese switches may be tur ned ON at the same time. If the s witch for a slav e that is n ot using remot e I/O com munications is tur ned ON, it will be ign ored. A Unit that has been di sconnected can st ill pe[...]

  • Página 84

    71 Allocated C IO Area W ords Secti o n 3 -2 3-2-5 U nit S tatu s 1 (W ord n +10 ) W ord n+10 [n = CI O 1,50 0 + (25 x unit number)] Bit Na me Sta tus C ont rolled by Unit oper ation 00 Unit Er ror Flag ON Unit Displa ys De vice Net Unit oper a ting error s . Th is b it tu rn s O N i f any bit from 01 t o 15 i n Uni t St atu s 1 t ur ns ON . (O R o[...]

  • Página 85

    72 Allocated CIO Area W ords Secti on 3-2 3-2-6 U nit S tatu s 2 (W ord n +11 ) W ord n+11 [n = CI O 1,50 0 + (25 x unit number)] 07 Network P ow er Er ror Flag ON Unit Indicate s that ther e is no pow er from the net wo r k pow er supply . Note Remote I/O commun icati ons stop i f DIP swit ch pi n 3 (remote I/O communi cati ons stop/ con tinu e s [...]

  • Página 86

    73 Allocated C IO Area W ords Secti o n 3 -2 01 Re mote I/O Communi ca- tions Flag ON Unit Indic ates t hat r emot e I/O c ommuni catio ns are bei ng perf or med f or the master fu nctio n. Norm a lly , the Unit will perf or m remote I /O commun ica- tions au tomati cally . Note This bit onl y ind icate s t he start o f remot e I /O com municat ion[...]

  • Página 87

    74 Allocated CIO Area W ords Secti on 3-2 3-2 -7 Mas ter St at us 1 (W o r d n +12 ) W ord n+12 [n = CI O 1,50 0 + (25 x unit number)] Bit Na me Sta tus C ont rolled by Unit o perat ion 00 V erificat i on Er ror F lag ON Unit Indic ates that the data in the sl a ve reg is tered in the scan list i s diff er e nt from the dat a from the act ual sl av[...]

  • Página 88

    75 Allocated C IO Area W ords Secti o n 3 -2 3-2 -8 Mas ter St at us 2 (W o r d n +13 ) The le ftmost eight b its indi cate the s tatus of m aster I /O allocations. Master I/O Allocation Status 10 Fix ed Allocati on Area Set ting F ailed Flag ON Unit Indicate s t hat an e rror has oc curred in one of t he fo llo wing op erati ons: • Fix ed Alloc [...]

  • Página 89

    76 Allocated CIO Area W ords Secti on 3-2 3-2-9 S la ve S tat us 1 (W ord n +14 ) W ord n+14 [n = CI O 1,50 0 + (25 x unit number)] Bit Na me Sta tus C ont rolled by Unit o perat ion 00 to 01 Reserved b y system --- -- - -- - 02 Re mote I/O Communi ca- tions Error Flag f or OU T 1/ I N 1 ON Unit Indic ates that a c ommuni cati ons error has occur r[...]

  • Página 90

    77 Allocated C IO Area W ords Secti o n 3 -2 11 COS Send F ailed Flag ON Unit Indicate s t hat an a ttempt w as made to sen d COS to a Master us ing the Slav e COS send swit ch (Sla ve CO S Se nd Switch in n+1) i n Software Switche s 2, b ut t he trans mis sion f ailed. The fo llo win g may cause the f ail ur e of CO S si gnal tra nsmission. • A [...]

  • Página 91

    78 Allocated CIO Area W ords Secti on 3-2 3-2-1 0 S la v e St atus 2 ( W o rd n+15 ) Master Node Addresses This indicates the node ad dress of the remote master for slav e commu nica- tions. Slave I/O Allocation Statu s This indicate s the I/O allocation status of the slav e . 3-2-1 1 Reg is tered Slave T abl e ( W o r ds n+1 6 t o n+1 9) This tabl[...]

  • Página 92

    79 Allocated C IO Area W ords Secti o n 3 -2 3-2-1 2 Nor mal Sl a ve T a ble (W ords n+20 to n+23 ) This tabl e indicates the slav es tha t are c ommunicating nor mally with the mas- ter . The bits correspond to node addresses. The bits f o r sla ves f or which nor- mal I/O conne ctions hav e been made are tu rned ON in this table. These are not fl[...]

  • Página 93

    80 Allocated CIO Area W ords Secti on 3-2 Note Although the bit configurations are the same, the w ord addresses are diff erent (because this is a CS/CJ-series CPU Bus Unit). Change t he words using a replacement o peration from the Programming Device. 03 Config ura- tion Error Flag ON/OFF Unit Configur a- ti on Er ror Flag This bit turns ON if any[...]

  • Página 94

    81 Allocated DM Area W ords Se cti o n 3 -3 3-3 Al located DM Area W ords Data is stored at t he offset positions s ho w n in the f igure bel o w s tar ting from the first word allocated to t he Unit in the DM Area. The f irst w ord c an be calculated as foll ows from the unit number setting: First word m = D30000 + (25 x unit num ber) 3-3-1 C ommu[...]

  • Página 95

    82 Allocated DM Area W ords Secti on 3-3 Note If t he setting is smal ler t han the optimum commun ications cycle time calcu- lated by the Unit and stored internal ly in the Unit, then the v alue calculated by the Unit will be us ed. 3-3-2 Ma ster Use r Allo ca tion s Set up T a ble This tabl e is set by the user to specify the I/O words used by th[...]

  • Página 96

    83 Allocated DM Area W ords Se cti o n 3 -3 Note Make sure the CPU Unit is in PROGRAM mode and the master fun c tion is enabled bef ore y ou set these v alues. Note See A llocation Size Setup T able (p . 84) for more details on the first word of t he allocation size setup tab le. Areas and W or d Ranges Name Range Detai ls OUT bloc k 1 ar e a See A[...]

  • Página 97

    84 Allocated DM Area W ords Secti on 3-3 Sett ing R esu lts 3-3-3 Allo ca tion Siz e Se tu p T able The fol lowing allocation size setup tables must be set in the I/O mem ory in the CPU Unit t o use the Master User Allocations Setup T a bl e. The number of bytes set in the al location siz e setup table are alloca ted in word units in order of node [...]

  • Página 98

    85 Allocated DM Area W ords Se cti o n 3 -3 Sett ing Example The f o llowing e x ample shows the allocation when the siz e (bytes) f or OUT bl ock 1 and IN block 1 is set in the allocation s iz e setup table using the s peci- fied values. Node address 0: OUT siz e: 1 byt e, IN si ze: 5 bytes Node address 1: OUT siz e: 4 byt e, IN si ze: 3 bytes Nod[...]

  • Página 99

    86 Allocated DM Area W ords Secti on 3-3 Areas and W or d Ranges Sett ing R esu lts Name Range Details Slav e OUT 1 are a See Areas and Wo rd Ranges . Speci fies t he OUT 1 area. The OUT 1 area i s not av ailab le if t his is se t at 0. First wor d in the Sla ve OUT 1 area Speci fies the fir st wor d in t he OUT 1 ar ea. OUT 1 area size 00 to C8 He[...]

  • Página 100

    87 Allocated DM Area W ords Se cti o n 3 -3 3-3-5 C ommunic at ions Cycle T ime Refer e nce T a ble This table can be used to a ccess the presen t, maximum and minimum com - mun icat ions cycle times . Al l the v alues in th is tab le are clea red fro m the Unit and the maximum and minimum v alues are updated with new v al ues when the Communicatio[...]

  • Página 101

    88 Allocated DM Area W ords Secti on 3-3 Ranges Areas and W or d Ranges 3-3-7 S la ve U ser-s et Allo ca tion s Refer ence T able The slav e block setti n gs can be accessed in the S lav e User-set Allocations Ref erence T able . A maximum of two OUT and two IN areas (OUT 1, IN 1, OUT 2, and IN 2) can be used f or sla v e communications and th eir [...]

  • Página 102

    89 Allocated DM Area W ords Se cti o n 3 -3 Note OUT2 is not used. Ranges Areas and W or d Ranges 3-3-8 Slave D eta ile d Stat us The status of the s la v es controlled by the master function of the Unit is pro- vided b y node address. Each word provides t he status of two slav es. Name Range Detail s OUT 1/2 ar e a See Areas and W or d Ranges . Sh[...]

  • Página 103

    90 Allocated DM Area W ords Secti on 3-3 03, 11 Slav e Rem ote I /O Communi ca- tions Error Flag ON Unit Indic ates t hat an error has occur red in remot e I/ O c ommuni cati ons wi th t h e S lave. This bit turns ON if a timeout occ urs in at least one conne ction wi th multi ple conne ctions set. This error oc curs wi th t he sca n li st en abled[...]

  • Página 104

    91 SECTIO N 4 Remo te I/O Master Comm unication s This s ectio n descr ibes th e remote I/O communic ation s perform ed as a De viceNet ma ster by the Dev icene t Unit. 4-1 Mas te r R emo te I/O C omm un icat ion s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 4-1 -1 All oca tio ns . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 105

    92 Mas ter Remote I/O Communications Secti on 4-1 4-1 Master Remote I /O Co mm unications Remote I/O c ommunications are used to autom atically transfer data between sla ves and the CP U Unit without any special programming in the CPU Unit under which the Master Unit is moun ted. Master Communications Note 1. A CS / CJ-seri es Devi ceNet Uni t can [...]

  • Página 106

    93 Master R emote I /O Commu nications Se cti o n 4 -1 Fix ed Allocat ions Any one of the three areas below can be specified as the words allo c a ted in the CIO Area f or fix ed all ocations. The output (OUT) bloc k and the input (IN) bl ock are allocated strictly in order o f node add resses in one of the areas s how n b e l ow. Words are allocat[...]

  • Página 107

    94 Mas ter Remote I/O Communications Secti on 4-1 The OUT and IN b loc ks wi ll be allocated in order of slav e node addresses. Each bloc k is a m a x imum of 500 words. Each address is allocated at least one b yte (rightmo s t). • More than one word is allocated for each sla ve with more t han16 I/O points (accordi ng to its node add ress). • [...]

  • Página 108

    95 Master R emote I /O Commu nications Se cti o n 4 -1 4-1-2 Rem ote I/O Mast er S pecif icati ons Item Spec ifica tions Sl ave al lo c a- tion met hods Fix ed allo- cat io ns Selec t one of the f ollowi ng fix e d alloc ation areas us i ng the Fix ed All ocated Area Switches 1, 2, and 3 in t he s oftw are s wit ches in the allocat ed CIO Area w or[...]

  • Página 109

    96 Mas ter Remote I/O Communications Secti on 4-1 4-1-3 P reca ution s on t he Numb er o f Ma ste r U nits The fol lowing system con fi gurations can be constr ucted based on various numbers of Master Units when De v iceNet Units are used. Note Only one M aster Unit can be con nected to a n etwork if the user spe cifies a COS or cyclic connection f[...]

  • Página 110

    97 Master R emote I /O Commu nications Se cti o n 4 -1 4-1-4 P r oce dur e f or Usi ng Re mote I/ O Mas ter Fixed Allocations f or Remote I/O 1,2,3. .. 1. T ur n ON the communicat ions , slav e , and PC power supplies. Note T ur n ON the com munications power supply pr ior to tur ning O N the sla ve po wer supply or the slav es ma y not go online .[...]

  • Página 111

    98 Mas ter Remote I/O Communications Secti on 4-1 3. T urn O N the Master En ab le Switch (word n bit 06). (The master will remain enabled ev e n if the power is turn ed OFF and ba ck ON aga in.) Note Ex ecute this only when master comm unications are turned OFF . (If the Mas ter Enable Switch is tur ned ON when maste r com munica- tions a re ena b[...]

  • Página 112

    99 Scan Li st Se cti o n 4 -2 nect/Connec t Switch for that slav e (words n+6 t o n+9). This can be do ne when a slave i s replaced o r to regi s ter a slav e in the s c an li st in prepara- tions to conn ect it t o the networ k at a later time. The Di sconnect/Connect Switches, how e ver , are cleared when the power supply is turne d OFF , so the [...]

  • Página 113

    100 Sc an Li st Secti on 4-2 Creating th e Scan List The wa y that a scan li s t i s prepared varies with the a llocation method as s how n b e l ow. Note 1. Be sure to create a scan li st be f ore star ting a ctual system oper ation. 2. It i s still possible to commu nicate with Units ( w it h th e scan list disab led) if a scan lis t i s n ot cre[...]

  • Página 114

    101 F ixed Allocations Se cti o n 4 -3 you di sable the scan list with a Master Unit that i s set for user-set allocations. P ar tic ularly when multiple Master Units are connected to a single n etwor k, c ommu ni cation s w ill no t be perfor me d suc - cessfully if e ven one Master Unit on the n etwork is oper ating with the scan list disabled. O[...]

  • Página 115

    102 F ixed Allocations Secti on 4-3 Note More than one Master Unit can be included in a single PC with f ixe d alloca- tions, as s ho wn bel ow (3 U nits max.). 4-3-2 P r oce du re Step 1: Place the CPU Unit in PROGRAM mode . Step 2: T urn ON the Master Enable Switch If the master com munications hav e be en disabled (i f M aster Function Enable Fl[...]

  • Página 116

    103 F ixed Allocations Se cti o n 4 -3 Fixed Allocations Area 1 OUT bloc ks are allocated to slav e s from CIO 3200 to CIO 3263 and IN bloc ks are allocated to sla ves from CIO 3300 to CIO 3363. Fixed Allocations Area 2 OUT bloc ks are allocated to slav e s from CIO 3400 to CIO 3463 and IN bloc ks are allocated to sla ves from CIO 3500 to CIO 3563.[...]

  • Página 117

    104 F ixed Allocations Secti on 4-3 Fixed Allocations Area 3 OUT bloc ks are allocated to slav e s from CIO 3600 to CIO 3663 and IN bloc ks are allocated to sla ves from CIO 3700 to CIO 3763. The S la ve allocation order is fix ed in the output (OUT ) and IN b lock s star ting from address 0. Each address is allocated at l ea s t one byte (rightmos[...]

  • Página 118

    105 F ixed Allocations Se cti o n 4 -3 4-3-3 C han ging Sys tem C om pon ents The scan list must be cleared in the f ollo w ing sit uations : • Adding a slav e • Removing a sla ve • Changing a node address T ur n OF F the Scan List Clear Switch (word n, bit 01) to cle ar the scan l ist. Remote I /O communica ti ons wil l be perf or med with t[...]

  • Página 119

    106 F ixed Allocations Secti on 4-3 Resulting Slave Al lo cati on T urn ON t h e Sc a n Li st Ena ble Swi tc h T ur n ON the Scan List Enable Switch (word n, bit 00, CIO 150000 in this exam ple). This will cr eat e a scan list based on d ata f or sla v es that a r e ac tually online a nd will star t rem ote I /O com munic ations w ith t he scan lis[...]

  • Página 120

    107 User- set Allocati ons Se cti o n 4 -4 4-4 User -set Allocations With a CS/CJ-s eries Dev iceNet Unit, remote I /O communications slaves can be allocated in an y a r ea (CIO , WR, HR, DM, or EM) usi ng one of t he fol lowing me tho ds. • Setting through the allocated DM Ar ea words (Master User Allocations T able) • Setting through the Conf[...]

  • Página 121

    108 User-set All ocations Secti on 4-4 • The first bit f or node allocations is alw ays bit 00 when s etting alloca- tions with the alloca t ed DM A rea words, b ut can be either bit 00 or bit 08 with the Con fi gurator . ( Allocations f or slav e s with two bytes or more cannot star t at bit 0 8. Setting thr ough the Allocated DM Area W ords (Ma[...]

  • Página 122

    109 User- set Allocati ons Se cti o n 4 -4 Procedure Step 1: T ur n ON t he Master En abl e Switch Make sure that master communicat ions ha ve disabled by checking to see if Master Enable F unction Flag (word n+11, b it 03) is OFF and then t urn O N the Master Enable Switch (word n +14, bit 06) to enabl e master communications. Once master communic[...]

  • Página 123

    110 User-set All ocations Secti on 4-4 Step 4: T urn ON the Slave User Allocations Sw itch T ur n ON the Slav e User allocations Switch (word n, bit 11). This will make the De viceNet Unit read allocation results dat a f o r the s la ves ab o ve from the CP U Unit a nd create a scan list base d on data f or s laves that are ac tually onli ne prior [...]

  • Página 124

    111 User- set Allocati ons Se cti o n 4 -4 4. Mu ltiple masters cannot share the same sla ve . 5. B e sure to use user-set allocations and operat e the Master Unit with the scan list enabled if multiple masters are c onnected to a single ne twork. Communi cations w ill not be possible if ther e is more than one m aster with the scan list di s a b l[...]

  • Página 125

    112 User-set All ocations Secti on 4-4 Allo cati on S ize Setu p T able Resulting S lave Allocations T urn ing ON the Master User Allocations Switch T ur n ON t he Master Us er Allocations S wit ch (w ord n, bit 11, CIO 15 0011 in this example). The Master User Allocations Switch wil l read the alloc at ion results data for the above sla ves and cr[...]

  • Página 126

    113 User- set Allocati ons Se cti o n 4 -4 Setting through the Co nfi gur at or Slav es can be allocated words i n any order f or the fol lowing b locks: OUT bl ock 1, OUT bloc k 2, IN block 1, and IN b lock 2. The block allocation o rder , bl ock allocation areas , a nd order of node addresses in each block can be se t by the us er , each address [...]

  • Página 127

    114 User-set All ocations Secti on 4-4 Pr o cedure St ep 1 Set the area, star t word, and words allocated for each b lock u s ing th e Config- urator . St ep 2 Allocate words to all n ode addres s es in eac h bloc k as shown bel o w usi ng the Configurator . • Each a ddress is allocated at least one byte (rightmost o r leftmost by t e) . Note a) [...]

  • Página 128

    115 User- set Allocati ons Se cti o n 4 -4 d) The s tar t bit f or node addres ses can be bit 00 or bit 08. If it is bit 08 howe ver , 2 or more bytes cannot be allocated as shown below . e) Multiple m asters c annot s hare the same slav e. Y ou can deter m ine whether there are duplicate node addres ses in the I/O allocations (s can lists) that we[...]

  • Página 129

    116 Startin g and Stoppin g Re mote I/O Commun ications Secti on 4-5 Co nfi gur at or S ett in g Met hod s Ref er to t he DeviceNet Configurator Operation Manual (W382) f or setting me tho ds. 4-5 St ar ti ng and Stoppin g Remote I/O Comm un icat io ns 4-5-1 Star tin g R emote I /O C ommunica tion s Remote I/O communicat ions star t autom atically [...]

  • Página 130

    117 Example o f Ladder Programm ing for Remote I /O Communications Se ct io n 4 -6 Note Ev en if there is a commun ications error with the slav e, the slav e input dat a is sav ed in t he allocated area. T o prev ent operating errors , make the ladder progr am so that no slav e I/O pro- ces sing will oc cur wh en the Unit Error Fla g (wor d n+10 , [...]

  • Página 131

    118 Error s that May Occur i n Re mote I/O C ommunic ations Secti on 4-7 4-7 Err ors that May Occur in Remote I /O Com m u nications The followi ng errors may occur duri ng remot e I/O communications. Conditi on Er r or Det ails Resul ts Indicat ors 7- segme nt displ a y Er ror occu rs in fix ed a llo- catio ns wi th t he scan li st disab l ed Stru[...]

  • Página 132

    119 Error s that May Occur in R emote I /O Commun ications Sec tio n 4 -7 Note Rem ote I/O com mu nicat ions w ill s top (7-s egm ent d isplay: A0) if DI P swit ch pin 3 on t he front panel is tur ned ON to specify stoppi ng remote I/O com muni- cations for I/O com munications e r rors. Fix ed or user-s et alloc ation s I/O c ommuni cat ions er ror[...]

  • Página 133

    121 SECTIO N 5 Remote I/O Sl a v e Comm unication s This s ectio n descr ibes the remot e I/O communic ation s performed as a Devic eNet sla v e by the Devi c eNet Unit. 5-1 Sl a ve R e mote I /O Co mm uni cati on s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 22 5- 1-1 Allocat ion Methods . . . . . . . . . . . . . . . . . . . [...]

  • Página 134

    122 Slav e Remote I/O Communications Secti on 5-1 5-1 Sla ve Remo te I/O Co mm unications A CS/CJ-series DeviceNet Unit can function as a Sla ve Unit in remote I/O communications a nd a s ingle CS/CJ-seri es De viceNet Unit can function as both a Mast er Unit an d a Slave Unit. This section descri bes Slave communi- cations. Slave Communications No[...]

  • Página 135

    123 Slav e Re mote I/O Communic ations Sec tio n 5-1 5-1-2 Rem ote I/O and Slave C om munica tion s Spec ific atio ns 5-1-3 Proce dures for Usin g Remo te I/O Slave Comm un icatio ns Fixed Allocations f or Remote I/O 1,2,3. .. 1. T ur n ON the communicat ions , slav e , and PC power supplies. Note T ur n ON the com munications power supply pr ior t[...]

  • Página 136

    124 Slav e Remote I/O Communications Secti on 5-1 munications, allocate areas, and then en able slav e commun ications. The allo- cated areas will not be v alid if the procedure is done in any ot h er order . User- set Remo te I/O Allocatio ns Using DM Are a Setting s 1,2,3. .. 1. T ur n ON the communicat ions , slav e , and PC power supplies. Note[...]

  • Página 137

    125 F ixed Allocations Se cti o n 5 -2 Note 1. Enable slav e com munications in CS 1W -DRM21 or CJ1W-DRM21 proper- ties if t he Configurator is used. 2. Us e Configurator V er . 2.10 or later f or the C J1W -DRM 21. 5-2 F ixed Allocations 5-2-1 Allo ca ted W ords Wo rds in t he CS / CJ-seri es De viceNet C IO Area in the CP U Unit are allocated. Wo[...]

  • Página 138

    126 User-set All ocations Secti on 5-3 Fixed Allocation Area 1 Fixed Allocation Area 2 Fixed Allocation Area 3 5-3 User -set Allocations With a CS/CJ-s eries Dev iceNet Unit, remote I /O communications slaves can be allocated in an y a r ea (CIO , WR, HR, DM, or EM) usi ng one of t he fol lowing me tho ds. • Setting through the allocated DM Area [...]

  • Página 139

    127 User- set Allocati ons Se cti o n 5 -3 2. Onl y two bloc ks (OUT 1 and I N 1) can be allocated w hen setting are ma de with the allocated DM Area words area, b ut there are three blocks (OUT 1 and IN 1/2) av ailable wit h the Configurator . Setting thr ough the Allocated DM Area W ords (Slave User Allocations T able) Words can be allocated for [...]

  • Página 140

    128 User-set All ocations Secti on 5-3 • Areas and W or d Ranges for the OUT 1/IN 1 Areas Step 3: T urn ON the Slave User Allocations Sw itch T ur n ON the Slav e User Allocations Switch (word n+1, bit 11). Step 4: T urn ON the Slave Enable Switch T u rn ON the Sl ave Enable S witc h (wo rd n +1, b it 06) . This will a lloc ated the abov e areas [...]

  • Página 141

    129 User- set Allocati ons Se cti o n 5 -3 • Slave User Allocations T able • Slave areas Step 1: T urn ON the Slave User Allocations Sw itch Make sure that sla ve communications have st opped pr ior to perf or ming this operation. T u r n ON the S lave Us er Allocations Switch (word n+1, bit 11: CIO 1 50111 in this e xample). This will allocate[...]

  • Página 142

    130 User-set All ocations Secti on 5-3 Setting through the Configur ation A m aximum of three blocks can be allocated at any location s in I/O mem or y f or t he output (OUT) area bl ock 1, input (IN) area b lock 1, and input (IN) area blo ck 2 . The block allocation order an d bloc k allocation areas can be set as required. Re f er to th e De vice[...]

  • Página 143

    131 User- set Allocati ons Se cti o n 5 -3 Connection T ypes and A llocated I/O Areas The fol lowing table sho ws the relation s h ip betw een various c onnec tion combi- nations and the allocated a reas that are appl icab le with those c onnections. Note 1. With pol l + COS connec tions , the OUT data is the s ame f or poll an d COS. Set the same [...]

  • Página 144

    133 SECTIO N 6 Messag e Communicatio ns This s ect ion describe s me ssage communi catio ns us ing FINS comm ands se nt from the l a dder pr ogram in t he CPU Unit of the P C. 6-1 Ove rvi e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 34 6-1 -1 Ou tlin e o f M es sage C omm u nica tio[...]

  • Página 145

    134 Overview Secti on 6-1 6-1 Overview Messag e commun ications en ab le m essages to b e set between nodes on a De viceNet network when required by system conditions. The messages can be sent between P Cs, between a n OMRON PC and a mas ter made by another comp an y , or between slav es. The y can be used to send/recei v e da ta; read time data, e[...]

  • Página 146

    135 Overview Se cti o n 6 -1 Overall Stru cture Note If only the messag e communi cations func tion is bei ng use d and the remote I/ O communi cations function is not bein g used, message com munications are possible ev en if the master function is disabl ed. In this case, i t is not neces- sary to r e gist e r a sc an list . 6-1-2 FI NS Me ss age[...]

  • Página 147

    136 Overview Secti on 6-1 Note 1. The D e viceN et Unit must be registered in the lo cal network routing table of the CS/CJ-ser ies PC when two or more Communications Units (includi ng the DeviceNet Unit) are m ounted t o a CS/CJ-ser ies PC. The comm ands will not be sen t if the Unit is not registered in the routing tables. 2. For De viceNet netwo[...]

  • Página 148

    137 Overview Se cti o n 6 -1 Sending FINS Message Communicati ons Receiving FINS Message Com mu nications Note C200H-series DeviceNet Master Units (C200H-DRM21-V1 ) and CV M1/CV - series D e vi c eNet Mas ter Units (CVM1-DRM21-V 1) both suppor t FIN S mes- sage communications but it is ex ecuted by a special OMRON met hod. With this CS/CJ-seri es D[...]

  • Página 149

    138 Overview Secti on 6-1 Note A specific F INS command (command 2801 ) is used to send e xplicit mes- sages. Note A speci fic FINS com mand (comman d 2801) is u sed to send explicit messa ges. Note This CS/CJ - series DeviceNet U nit (CS1W -DRM21 or CJ1W -DRM21) conta ins a PLC Object so that t he I/O memor y of the CPU Unit of the Devi ceNet Unit[...]

  • Página 150

    139 Overview Se cti o n 6 -1 6-1-5 Me ssag e Co mmunica tio ns E rror In dicat io ns There are two wa ys to obtain inf orm ation on communications errors that occur in message com munications: 1) Using the error histo ry in the DeviceNet Unit and 2) Using De v iceNet Unit displa ys, indicators, and Master Status Areas. 1,2,3. .. 1. Each time a comm[...]

  • Página 151

    140 Overview Secti on 6-1 6-1-6 Me ssag e M onit orin g Tim er A message moni toring timer m onitors responses for t he DeviceNet U nit. A timer can be set f or each device t hat will be communicated with (each mes- sage destination). Messag e monitor ing timers are sup por ted for both ex plicit m essage an d FINS message c ommunications. T he tim[...]

  • Página 152

    141 FINS C ommands an d Responses Se cti o n 6 -2 termeas ures and errors recorded in e rror histor y that are not shown by the indicators. Note 1. The 7-segment displa y alternat ely displa ys the error and the mas ter node address w here the error occurred. 2. The send response mes sage or reception respon se message will be de- stro yed if any o[...]

  • Página 153

    142 FINS C ommands an d Response s Secti on 6-2 Ref er to SYSM A C CS/ CJ Series Co mm unica t ion C omm ands Reference Man- ual (W342 ) f or details on FINS comm ands . 6-2-2 S endi ng/R ecei vin g FIN S Comman d/ Res pon ses FINS commands are s ent using the CMND(490) instr uction f or CS/CJ-series PCs. Send/receive FINS comm ands and responses a[...]

  • Página 154

    143 FINS C ommands an d Responses Se cti o n 6 -2 The m ain response codes are listed be lo w . Ref er to SYSMA C CS/CJ Ser ie s Communica ti on Com mands R ef erence Manual (W 342) for f urt her details on response codes, including sub-respon s e codes (SRES). 6-2 -3 Unit s Supp or ting FI NS C omm unicat ion s The parameters used for F INS co mma[...]

  • Página 155

    144 FINS C ommands an d Response s Secti on 6-2 Ref er to SYSM A C CS/ CJ Series Co mm unica t ion C omm ands Reference Man- ual (W34 2) f or inf or mat ion on FINS command s addres s e d to CS/CJ-ser ies PCs . Manipul ating t he PC clock CLOCK READ 07 01 CLOCK WRITE 02 Manipul ating mess ages MESSAGE READ 09 20 MESSAGE CLEAR FA L / FA L S R E A D [...]

  • Página 156

    145 Using FINS Mess age Commun ications Se cti o n 6 -3 Commands Addressed to DeviceNet Units Command to Send Explicit DeviceNet Messages 6-3 Usi ng FINS Messag e Commu nications There are two instruction s that can be ex ecuted to send and receive data from CS/CJ-series CPU Units: SEND(090) and RECV (098). There is another instruction that can be [...]

  • Página 157

    146 Using FINS Message Communic ations Secti on 6-3 3. In all cases other than the follo wing two ex cep t ions, a local network table must be made, and the DeviceNet Unit m ust be registered in i t. a) When t here is on ly one DeviceNet Unit. b) When only m ultiple Dev iceNet Units are m ounted, with no re mote I/O communications. 4. A local netwo[...]

  • Página 158

    147 Using FINS Mess age Commun ications Se cti o n 6 -3 The unit n umbe r of the De viceNet Uni t as a CPU Bus Unit is the number set on the rotar y switches on the f ront pane l (0 to 15). T he network a ddress is the address of the N etwork to which the CPU Bus Unit is connected (1 to 127). The networ k address i s specified when t his local netw[...]

  • Página 159

    148 Using FINS Message Communic ations Secti on 6-3 4. Us e the left-side table to create the local network table. Input the unit num- bers and corresponding local network addresses. 5. Us e the right-side table to cr e at e the rela y network tabl e . Input the final net- work addresses and corresponding relay network address es and rela y node ad[...]

  • Página 160

    149 Using FINS Mess age Commun ications Se cti o n 6 -3 Note 1. Indicates a Unit as sho w n in the f ollo wing table. 2. V alues of $00 to $3F indicate nodes 0 to 63. 3. Des ignates the length of time that the PC retr ies transmission when bit 15 of C+3 is OFF and no response is received. The def ault value is $ 0000, which indicates 2 seconds. NET[...]

  • Página 161

    150 Using FINS Message Communic ations Secti on 6-3 Note 1. Indicates a Unit as sho w n in the f ollo wing table. 2. V alues of $00 to $ 3E ind icate nod es 0 to 63. 3. Des ignates the length of time in (0.1-s units) that the PC retr ies tr ansmis- sion when bit 15 of C+3 is OFF and no response is received. The def ault val ue is $0000, which indi [...]

  • Página 162

    151 Using FINS Mess age Commun ications Se cti o n 6 -3 Note 1. Indicates a Unit as sho w n in the f ollo wing table. 2. V alues of $00 to $ 3E ind icate nod es 0 to 63. 3. Des ignates the length of time in (0.1-s units) that the PC retr ies tr ansmis- sion when bit 15 of C+3 is OFF and no response is received. The def ault val ue is $0000, which i[...]

  • Página 163

    152 Using FINS Message Communic ations Secti on 6-3 Co mm unic at io ns Fl ags Communications F lag Operation • The Network Enabled Flag turns OF F when instructions are being sent or received (from when th e instruction is issued until the respon se is received) and turns ON wh en the ex ec ution has been c ompleted, whether nor mally or with an[...]

  • Página 164

    153 Using FINS Mess age Commun ications Se cti o n 6 -3 in the f ollow ing ta ble. Commu nica tions In structio ns Completi on Codes The status at the comp letion of the e xecution of network commu nications instructions is shown at the words indicated in the follo wing table , as FINS completion codes. Dur ing e xecuti on of the instruc tions the [...]

  • Página 165

    154 Using FINS Message Communic ations Secti on 6-3 Note 1. A000 to A477 in the A uxilia ry Area are wr ite-prot ected. 2. The re can b e up to 13 banks of EM Memory . Refer to the ope ration manual f or t he CPU Unit f or inf orm ation on whether it has EM Memor y and how many banks can be used. 3. Do not exceed the boundar y of t he data areas fo[...]

  • Página 166

    155 Using FINS Mess age Commun ications Se cti o n 6 -3 Program Exa mple (021) MO V A503 D00006 11 A202 (021) MO V #0005 D00000 (021) MO V #0001 D00001 (021) MO V #0600 D00002 (021) MO V #0000 D00003 (025) ASL 0000 000 00 A202 00 0000 01 (071) BSET #1234 D01000 D01004 Sets 1234 in D01000 to D01004. Places data into control data words to specify the[...]

  • Página 167

    156 Using FINS Message Communic ations Secti on 6-3 Example 2: Sending a FINS Command U sing CMND Operati on • The PC with De viceNet Unit 1 with node a ddress 5 reads the data f rom the 5 w ords D01000 to D01004 from t he PC with De viceNet Unit 2 wi th node address 06. • The M EMOR Y AREA RE AD com mand (0 1 01) is us ed to read var iab le da[...]

  • Página 168

    157 Using FINS Mess age Commun ications Se cti o n 6 -3 Example Program 6- 3-6 C onn ec ting Ne tworks for FIN S C ommu ni catio ns CS/CJ-series De viceNet Units can perf or m FINS communications between networks. DeviceNet networks are handled the sam e wa y as other F A net - w orks such as Co ntrol l er Link o r SYSMA C LI NK, and th e O A netwo[...]

  • Página 169

    158 Sending E xplicit Messages Secti on 6-4 When c onnecting net works, routing tables mu s t be registered f o r the PC CP U Units on all ne tworks. When conn ecti n g t wo or more communic ati on units (including the DeviceNet Unit) to a CS/CJ-series CPU Unit, the DeviceNet Uni t must be registered in the CS/CJ-serie s PC CP U Unit routing tab le[...]

  • Página 170

    159 Sending E xplicit Mes sages Secti o n 6 -4 6-4-1 S endi ng E xplic it Messag e s The FINS com mand code 28 01 can be used to sen d e xplicit De viceNet mes- sages to OM RON sla ves and Dev iceNet de vices made by other manufactur- ers. The u se of e x plicit mes sages i s illustrated in the f ollowing diagr am. The local D e v iceNet Unit is sp[...]

  • Página 171

    160 Sending E xplicit Messages Secti on 6-4 The fol lowing diagram sh o ws an e xample of ac tual node addres s specifica- tions. Note Depending on condit ions , the destination slav e may not alwa ys a ccept an expl icit message. Alwa ys perform ret r y processing when sendi ng e xplicit mes- sages. FINS Command: EXP LICIT MES SA GE SEND (28 01) E[...]

  • Página 172

    161 Sending E xplicit Mes sages Secti o n 6 -4 P arameters Desti nation n ode address (comma nd): The node address of the des ti nati on of the e xplicit message. (The node add ress of the local De viceNet Unit is specified in the c ontrol data for the CMND(49 0) or IO WR instr uction, but the node add ress of the actual d estination is specified h[...]

  • Página 173

    162 Sending E xplicit Messages Secti on 6-4 D: Firs t response word C: Firs t control data word Comma nd data is set in order st ar ting with the wo rd specified f or the CMND(490) operand S (first command word) and continuing with words with higher addresses in I/O memo ry in the command block f orm at. Command Fo rmat Example: Writing Error Clear[...]

  • Página 174

    163 Sending E xplicit Mes sages Secti o n 6 -4 The respons e f o r mat data i n serv ice data that is in word (2-byt e) or double- word (4-byt e) units, such as word data an d ERROR CLEAR codes, is also specified from low to high byt es in response bloc k f orm at Example: Sending Explicit Messag es Using CMND(490) Operati on The vendor code is rea[...]

  • Página 175

    164 Sending E xplicit Messages Secti on 6-4 Settings (He x). D00000 = 000 9: Number o f command bytes D00001 = 000 A: Number o f response byt es D00002 = 000 1: Destination network ad dress: 1 D00003 = 05FE : Destinat ion node address: 05 Destination unit address: FE (or 10) D00004 = 0000: Respons e, communications por t 0, no retries D00005 = 006 [...]

  • Página 176

    165 Receivin g Explicit Messages Se cti o n 6 -5 Program Exa mple 6-5 Receiving Explicit Messag es This CS/CJ-seri es De viceNet Unit contains a PLC Ob je ct. The Unit will receive messages add ressed to t he PLC Object, proces s ser vice reque s ts addressed to the CPU Unit, an d retur n responses. The f o llowing services are provided b y the PLC[...]

  • Página 177

    166 Recei ving Explicit Messages Secti on 6-5 • PCs wi th CVM1/CV -ser ies De viceNet Master Uni ts (CVM1-DRM21-V1) • PCs wi th CS/CJ-series De viceNet Units Example Note Status and the I/O memor y read/write operations ca nnot be perf orm ed f or PCs with a C200 H- ser ies or CVM1/CV -ser ies De viceNet Master Units . The CPU Unit o f a CS/CJ-[...]

  • Página 178

    167 Receivin g Explicit Messages Se cti o n 6 -5 I/O Memo ry Read/Write f or CPU Units The com mands and respons es f or the explicit mess ages that c an be sent and received are descr ibed on the f oll o wing pages. Note In the f oll o wing comm and and response f or mats, all bo x es repre- sents 1 byt e. Service Service code Class ID Instance ID[...]

  • Página 179

    168 Recei ving Explicit Messages Secti on 6-5 CPU Inf o r matio n Read (Serv ice Co de: 0E He x) Reads CPU Unit information , including op er ating mode, fat al/non-f atal errors, and the CPU Unit mode l. Command Blo c k Response Bl ock P arameters Desti nation node address (co mmand): The no de address of th e CS/CJ- series Devi ceNet Unit from wh[...]

  • Página 180

    169 Receivin g Explicit Messages Se cti o n 6 -5 Read d ata (respo nse): The specified inf orma tion is returned in order . • CPU Un it operat ing mode (at tribute ID = 64 Hex). The CPU U nit oper ating mo de is retur ned in 1-word (2-by te) hexadecimal f or- ma t, a s fol lows : 0001 He x: PROGRAM mode; 0002 He x: MONITO R mode; 0004 He x: R UN [...]

  • Página 181

    170 Recei ving Explicit Messages Secti on 6-5 Response Bl ock P arameters Desti nation node address (co mmand): The no de address of th e CS/CJ- series DeviceNet Un it to whi ch to wr ite data, spe cified in 1-byte (2 di git) he xa- decimal. Service co de (comm and, response): 10 Hex i s specified f or comm ands. F or responses, the highest bit wil[...]

  • Página 182

    171 Receivin g Explicit Messages Se cti o n 6 -5 Note Error clear codes are 1-word (2-byte) data, so the a bo ve codes are specified with the low byte fir st. The low to high bytes f or the above codes a re set as hi gh to l o w bytes in I/O memor y , when s etting the codes as dat a f o r operand S of C MND(490). F or e xample, to specify batter y[...]

  • Página 183

    172 Recei ving Explicit Messages Secti on 6-5 CPU Unit Status Read (Ser vice Code: 40 Hex) This PLC Object ser vice reads status details (operation status, operating mode, fatal and non-f atal errors, etc.) from the CPU Unit. Command Blo c k Response Bl ock P arameters Desti nation node address (co mmand): The no de address of th e CS/CJ- series De[...]

  • Página 184

    173 Receivin g Explicit Messages Se cti o n 6 -5 • Operati on statu s: Retur ns the operation status of the CPU Unit in 1-b yte (2-digit) he xadecimal. • Operati ng mode: Retur ns the operating m ode of the CPU Uni t in 1-b yte (2-digit) he xadecimal. 0001 He x: PROGRAM mode; 0002 He x: MONITO R mode; 0004 He x: R UN m ode • Fata l e rro r in[...]

  • Página 185

    174 Recei ving Explicit Messages Secti on 6-5 • Messag e Ex ists/Does Not Exist: W hen t h e MSG ins truc ti o n i s e x e cu t ed by t he CPU U nit, the bit co r respo nding to the mes sage number w ill tur n ON and be return ed in 2 b ytes (from low to high bytes). • Err or Code : The highest priori t y error code of the err ors exi sting whe[...]

  • Página 186

    175 Receivin g Explicit Messages Se cti o n 6 -5 Response Bl ock P arameters Desti nation node address (co mmand): The no de address of th e CS/CJ- series DeviceNet Unit from which to rea d data, s pecified in 1-byte (2 digit) hexadecimal. Service code (com mand , response ) : IC Hex is spec if ied for commands. For responses, the highest bit will [...]

  • Página 187

    176 Recei ving Explicit Messages Secti on 6-5 W ord Data Re ad (Service Code : 1D He x) Wo rd Data Read reads I/O memor y area data in CPU Units wi th a CS/CJ- series DeviceNet Units. The rea d word data is in word units. The r e s pons e blo ck is retu r ne d fr om low to hi gh b yt e s. Command Blo c k Response Bl ock P arameters Desti nation nod[...]

  • Página 188

    177 Receivin g Explicit Messages Se cti o n 6 -5 No of Read W ords (command): The number of words of read data is speci- fied in 1-byte (2-digit) hexadecimal. T he range is 0 1 to 64 Hex (1 to 100 deci- ma l). No. of bytes received (response ): T he number of b ytes receiv ed from the destination node address (re mote node) is retur ned in he xadec[...]

  • Página 189

    178 Recei ving Explicit Messages Secti on 6-5 Instance ID (comm and): Th e ty pe of me mor y are a to w h ich t he da ta will be written is specified in hexadecimal as shown in the f ollo wing t ab le. Address L, Address H (com mand): T he address of the fi rst word to which the data will be written is specified in hex adecim al as shown below . Ad[...]

  • Página 190

    179 Receivin g Explicit Messages Se cti o n 6 -5 Response Bl ock P arameters Desti nation node address (co mmand): The no de address of th e CS/CJ- series De viceNet Unit to which the d at a is written, specified in 1-byt e (2 digit) hexadecimal. Service co de (comma nd, response): I F Hex is specified for commands. F or respons es , the high est b[...]

  • Página 191

    181 SECTIO N 7 Other Fu ncti ons This s ectio n descr ibes conne cting to CX-P rog rammer via the De viceNet and the Memory Card bac kup functi on. 7-1 Con ne ctin g t o the CX -Pr og ramm er vi a t he Devic eN et . . . . . . . . . . . . . . . . . . 18 2 7-1 -1 Set tin g N od e A dd resse s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 192

    182 Connectin g to the CX -Programmer v ia the DeviceNet Secti on 7-1 7-1 Connecting to the CX-Pr ogr ammer via the DeviceNet With CX-Programme r V er . 2.1 o r later , a ser ial connection c an be mad e to a PC containing a CS/CJ-ser ies De vic e Net Uni t to f or m an online connection, via the De v iceNet, to other PC CPU Units on the net wor k.[...]

  • Página 193

    183 Connecti ng to the CX-P rogrammer v ia the De viceNet Sec tio n 7 -1 7-1-1 S ettin g Nod e Addres se s When the CX-Programmer is connected online, it us es FINS message com- munications. It is th us necessar y t o set the node address to a number ot her than 0 f or De viceNet Units mounted to the target PC , De viceNet Units mounted to a PC whi[...]

  • Página 194

    184 Connectin g to the CX -Programmer v ia the DeviceNet Secti on 7-1 2. Double-click on the node address (#) t hat you want to change, or select the node addres s an d clic k on t he Ed i t Butto n. A dialogue box li ke t he one be- low will appear . 3. In put the value, then clic k on the OK Bu tt on. Note T o set the same v alue f o r all of t h[...]

  • Página 195

    185 Connecti ng to the CX-P rogrammer v ia the De viceNet Sec tio n 7 -1 response monitor t im e in the CM ND/SEND/RECV instruc tion t o be t he same as or slightly longer than the t ime f or the mess age monitor ing timer (Response monitor t ime in the CMND/SEND/RECV inst ruction ≥ me ss a g e monitori ng timer .) If time-outs occur f requently [...]

  • Página 196

    186 Memory Card Bac kup Function s Secti on 7-2 a maxim um of f o ur-f old (f or a com munications speed of 50 0 Kbps) i n com- par ison wit h connection b y a peripheral bus . 2. T emporarily extend the com municati ons cycle ti me. Opera te th e CX-P rogramme r after e xtending t he cycl e t ime i n the Commu - nications Cycle Time Set up T able [...]

  • Página 197

    187 Memory Card B acku p F unctions Se cti o n 7 -2 7-2 - 1 Out l ine o f Fu ncti on s 1. Bac k in g Up Unit Setu p Files Sav es all inter nal Unit setu p data to the M emor y Card mounted to th e CPU Unit. Method: T ur n ON the Setup Fil e Backup Switch (word n+1, bit 15) to sav e the inter nal Uni t setup data to the Memor y Card as a Unit Setup [...]

  • Página 198

    188 Memory Card Bac kup Function s Secti on 7-2 Note I f there is an error in the s etup data or if the file could no t be read, the File Read/Wr it e Error bit in Unit Status 2 (word n + 11, bit 08) will t ur n ON . 3. Sa v ing Files fr om Configurato r to M emory Card De vice parameter files (.dvf files) f or this DeviceNet Unit that hav e been c[...]

  • Página 199

    189 SECTIO N 8 Comm un ications T imin g This s ectio n descr ibes th e time requi red for re mote I/O communi cati ons and mess age commun icati ons. 8-1 Rem ot e I /O Com m un icat ion s Cha rac te rist ics . . . . . . . . . . . . . . . . . . . . . . . . . 1 90 8-1 -1 Com mu nic at ions C ycle Time a nd Ref resh Tim e . . . . . . . . . . . . . . [...]

  • Página 200

    190 Remote I /O Commu nications Charac teristics Secti on 8-1 8-1 Remote I /O Communications Characteristics This section descr ibes the characteri stics of remote I/O communications when the De viceNet Unit is used as a mas ter in combination with OM RON ’ s sla ves . Use this section f or ref erence when planning operations that require precise[...]

  • Página 201

    191 Remote I /O Commu nications Charact eristics Se cti o n 8 -1 Co mm unic at io ns Cyc le Ti me Ca lcu l atio n Use the e quations shown below to calcul ate the com munications cy c le t ime (T RM ) for a network with on e Master . Note t hat if th e result of this calculation is less than 2 ms, the actual c ommunicat ions cycle time w ill be 2 m[...]

  • Página 202

    192 Remote I /O Commu nications Charac teristics Secti on 8-1 Slaves with More Than 8 Byt es of In put or Out put T RT = T OH + T BY TE-IN × B IN + T BYTE -OUT × B OUT [ms ] T OH : Protocol overhead T BYTE-I N : The input b yte tr a nsm issi on time B IN : The number o f input wo rds T BYTE-O UT : The output byte transmiss ion time B OU T : The n[...]

  • Página 203

    193 Remote I /O Commu nications Charact eristics Se cti o n 8 -1 T IN : The Input S lav e ’ s O N (OFF) delay T OUT : T he O utp u t Slave ’ s ON ( OFF) dela y T RM :N e t w o r k ’ s communications cycle t ime (See page 191.) T PC :T h e P C ’ s cycle time (See note belo w . ) Note The PC ’ s cycle time will be del a yed as s h o wn belo[...]

  • Página 204

    194 Remote I /O Commu nications Charac teristics Secti on 8-1 Minim u m I/O Re sponse Time The minimum I /O response time occurs when th e Sla ve ’ s I/O re freshing is ex ecuted just after the i nput signal is received b y the De viceNet Unit and the output s ignal is out put a t the be ginning o f the next I/O ref resh cycle. T IN : The Input S[...]

  • Página 205

    195 Remote I /O Commu nications Charact eristics Se cti o n 8 -1 Note Although in the abov e diagram the Slav e s are separated into two gr o ups for conv enience, the actual ph ysical positions in the Networ k are irrele v ant. Ne xt, we can ref er to 8-1-1 C ommunications Cycle Time and Ref resh Tim e and calc ulate the commun ications cycle t im[...]

  • Página 206

    196 Message C ommunicat ions Secti on 8-2 This progr amming is f or a DeviceNet Unit with a unit number of 00. Note Ref er to 3-2 Allocated CIO Area W ords f or details on the Mas ter S tatus Area. Sla ve Functi on It takes approx imately f our seconds from the t ime that the Devicenet Un it is turn ed ON or res tar ted as a slav e un t il rem ot e[...]

  • Página 207

    197 Message C ommuni cations Se ctio n 8 -2 Note 1. If the CPU Unit attempts to send another messag e or recei ves a message from ano ther node within the mess age commu nications time, the second messag e or the message bei ng received from another no de may be de- stro yed. Ne v er ex ecute a second com munications instr uction before the messag [...]

  • Página 208

    198 Message C ommunicat ions Secti on 8-2 Shown below is the response time required to return data for 100 w ords. • BYTE DA T A RE AD req uest sendin g time: T BRS Devi ceNet header (4 bytes) + P aram eters (3 b ytes) = 7 bytes (no frag- me nt) T h er ef o re , T BR S = 1 comm unicat ions cycle time (T RM ) = 3 ms • PC ’ s proc essing t ime:[...]

  • Página 209

    199 SECTIO N 9 T rou ble s hoot in g and Ma inte na nc e This s ecti on desc ribes error proc essing , period ic ma int enance ope ration s, and troub lesho oting proc ed ures neede d to k eep the De viceNet networ k operati ng prop erly . W e recommend read ing through t h e error proc essin g procedure s befo re op era ti on so that op era ti ng [...]

  • Página 210

    200 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 9-1 T roubleshooting with the De viceNet Unit Indicators 9-1-1 D eter mini ng Ope ratin g S tat us fro m th e Ind ica tors The fol lowing tab le shows the status of the MS and NS indicato r s and the 7- segment display during nor mal operation. Indicat or st atus Netw ork/ Unit s[...]

  • Página 211

    201 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 9-1-2 T roub lesho otin g Errors Occurr ing in th e Devic eNe t U nit Note 1. The 7-s egment di spla y will alt er nate bet ween the Uni t ’ s node address and the code given in t he tables in t his sec ti o n. 2. When a (mas t e r fu ncti on) s tructure error or verific[...]

  • Página 212

    202 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 remote I/O com munications f or a communications error , two errors can be di sp l a ye d: T he s l av e ’ s communication s error a nd its most r e c ent error . Mas ter Errors Remot e I/ O Co mm unic at io ns Stop ped b y a Communications Err or Likely Cause Pin 3 on the ma s[...]

  • Página 213

    203 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 Correction Set the slav es ’ node addres ses ag ain. Structu re Error: I/O Area Rang e Exce eded Likely Cause The slave ’ s I/O area isn ’ t within the allowed range. (Occurs with the scan list disabled.) De viceNe t Unit Respo nse Rec ords th e err or in th e er ror[...]

  • Página 214

    204 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24) Bit 14 (E rror Flag) and bit 07 (Comparison Error Flag) will be ON. CIO Area Fla gs Allocated to DeviceNet Unit Bit 00 o f n+12 ( Compa rison E rror Flag) and bits 00 and 01 of n+1 0 (Unit Error Flag a nd Master F uncti[...]

  • Página 215

    205 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 Correction Inspect the sla ve and then c re ate the scan list again. V e rificati on Error: I/O Siz e Mis m at ch Likely Cause The slave ’ s I/O data size does not m atch the registered s can list. (Occurs with the scan list en abl ed.) De viceNe t Unit Respo nse Records[...]

  • Página 216

    206 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 De viceNe t Unit Respo nse Records the error in the error log. The mast er w ill per iod ica lly at temp t to re conn ec t with the sl av e wit h the v er ifi- cation e r ror . Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24) Bit 14 (E rror Flag) and bit 07 (Compariso[...]

  • Página 217

    207 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 • Matching m aster and slav e bau d rates • Proper cable lengths (tru nk and branch li nes) • Br ok e n or l o os e cab le s • Installation of termina tors at both ends o f t he trun k line • Exce ssiv e noise Sof tware Swit ch Setti ng Er ro rs CPU Uni t Stat us[...]

  • Página 218

    208 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 Likely Cause The setting operation f a iled because a structure error occurred. De viceNe t Unit Respo nse The only respons e is the error co de display ed on the 7 - seg ment display . T he error displa y will be cleared t he ne xt time that a s ettings operation is com - pleted[...]

  • Página 219

    209 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 return to nor ma l when the network p ower supply is restored, although scan- ning w ill no t re sum e if the Device Net Un it i s set t o stop rem ote I /O com mu ni- cations wh en a c ommunications error occurs. Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24[...]

  • Página 220

    210 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 De viceNe t Unit Respo nse Records the error in the error log. • The Unit wi ll g o off – line and communicat ions will be di sabl ed. Error respons es w ill be return ed to all com munication s requests. • The e xchange of data with t he CPU Unit will c ontinue. Flags Allo[...]

  • Página 221

    211 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 De viceNe t Unit Respo nse Records the error in the error log. Operation will continue using t he default message monitor ing t imer values. Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24) Bit 14 (Error Flag) an d bit 03 (the S tructure E rror Flag) will be ON[...]

  • Página 222

    212 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 Correction Clear the scan lis t and register the scan l ist ag ain or use the Configurator to reset the m aster sc an list. Memor y Access Error Likely Cause An error occurred in the Unit ’ s non-volatile memor y itself . This error will occ ur in the f ollow ing ca ses. 1,2,3.[...]

  • Página 223

    213 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 CIO Area Fla gs Allocated to DeviceNet Unit Bits 00 and 04 of n +10 (t he Unit Error Flag and Unit Memor y Error Flag) will be ON. Correction Replace the Unit i f the error r ecu r s. CPU Unit Exchange Er r ors Unit Number duplication Likely Cause The uni t number is dupli[...]

  • Página 224

    214 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 De viceNe t Unit Respo nse Stops operation. Correction Set th e communications speed c orrectly an d restar t the Devi ceNet U nits. CPU Unit Faulty (H6) De viceNe t Unit Respo nse Records the error in t he error l og. (The t ime inf or mation is set to all zeroes. ) Stops operat[...]

  • Página 225

    215 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 De viceNe t Unit Respo nse Continues processing but data e x chan ge wit h the CPU Unit is stopped . The routing tabl e is treated as missing. Records the error in the error log. Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24) Bit 14 (Error Flag) an d bit 03 ([...]

  • Página 226

    216 T roubleshooting with the DeviceNet Unit Indicators S ecti on 9-1 CIO Area Fla gs Allocated to DeviceNet Unit Bit 00 of n+10 (Uni t Error Flag) will be ON together with one of the fol lowing combinations: • Bit 05 of n+12 (the Mast er I/O Refresh Error Flag) an d bit 01 of n+10 (the Master Function Error Flag) ON. • Bit 05 of n+14 (Re mote [...]

  • Página 227

    217 T r oubleshooting with th e DeviceN et Uni t Indica t ors Se cti on 9 -1 • Retur ns an error response (0302 Hex) to comm ands requ iring a re- sponse. • Discards other frames and stores an error record (010B Hex ) in the er- ror log. Flags Allocated f or C200H DeviceNet Maste r Unit (CIO n+24) There is no status notification because communi[...]

  • Página 228

    218 Error L og Function s Secti on 9-2 • Installation of termina tors at both ends o f t he trun k line • Exce ssiv e noise U ni t Er ro rs Special Un it Error De viceNe t Unit Respo nse Records the error in the error log. Stops the Unit. Correction Restart the CPU Uni t. Replace the Devi ceNet Unit if th e error recurs. 9-2 Err or Lo g Functi [...]

  • Página 229

    219 Error Log F unctions Se cti o n 9 -2 When us ing the Co nfigurator , t he error log can be monitored with the master error his tor y read operation. With the Configurator , the error l og can only be monitored and the data cannot be sav ed. Time I n f or matio n The CPU Unit ’ s time information is used f o r the time stamps in the DeviceNet [...]

  • Página 230

    220 Error L og Function s Secti on 9-2 0101 T ransm issi on fai led beca use t h e local node is not pa rticipati ng i n t he n etw ork. FINS message com munica t ions co m mand : Bit 15: OFF Bits 14 to 8: SNA Bits 7 to 0: SA1 FINS message com munica t ions r espon se: Bit 15: ON Bits 14 to 8: DNA Bi ts 7 t o 0 : DA1 Expli cit messag e comm unicat [...]

  • Página 231

    221 Error Log F unctions Se cti o n 9 -2 Note T he error inf or mati on is no t writt en to EEPR OM when a memor y err or o ccurs in t he error log area (E EPROM). 0343 Structu re error 01 Hex: I /O area dupl i- catio n 02 Hex: I/O area r ange exc eeded 03 Hex: Unsupported sla v e Slav e ’ s nod e addre ss No 0344 V erificati on error 01 He x: No[...]

  • Página 232

    222 T roubleshooting S ecti on 9-3 9-3 T ro ubleshooti ng 9-3-1 CP U Un it ’ s ERR/A LM In di cat or Li t or Fl a shi ng Use the fo llowing table to troubl eshoot the network w hen the DeviceNet Unit is moun ted and the CPU Unit ’ s ERR/ALM indicator is li t or flashing. Note Ref er to the CS1 Ser ies CP U Unit Operation Manual ( W 339) or the [...]

  • Página 233

    223 T roubleshooting Se ctio n 9 -3 9-3-3 I/O Link Problems Use the f ol lo wing table to t roubleshoot I/O Link problems. The Devi ceNet Uni t ’ s MS indi cator is ON and green, bu t the NS indicat or con tinu es to flash green. (The NS indi cator normally goes ON 2 s after the MS in dicato r .) • If the De viceNet Uni t ’ s 7-segm ent di sp[...]

  • Página 234

    224 T roubleshooting S ecti on 9-3 9-3 -4 Co mm uni cati on s Er ro r Op er at i on Se tti ngs Use the f ollowing table to correct problems with the DIP switch setting for con- tinuing/stopping communicat ions f or errors. 9-3-5 S can L ist P roblem s Use the f ol lo wing table to t roubleshoot scan list prob lems. Error Probab l e caus e Communi c[...]

  • Página 235

    225 Maintenan ce and Replacement Se cti o n 9 -4 9-4 Maintenance and Repl acement This sec ti on des cribes the routine c leanin g and inspec tion recomm ended as regular maintena nce as well as the Unit replacement procedure required if a De viceNet Unit f ails . 9-4-1 C lean ing Clean the De viceNe t Units regularly as descr ibed belo w in order [...]

  • Página 236

    226 Maintenan ce and R eplacement Secti on 9-4 9-4-3 Rep lacin g F ault y Units Replace a f aulty De viceNet Un it as soon as possible. Refer to the Devi ceNet Slav es Operation Manual (W3 47) for details on replacing sla ves . We recom- mend having spare Units av ailab le to restore network operation as quickly as po s s ibl e. Precautions Obser v[...]

  • Página 237

    227 Maintenan ce and Replacement Se cti o n 9 -4 Creating a New Netw ork File Use the f ollowing procedu r e to wr ite the settings to the DeviceNet Unit from a network file sav ed on a disk. 1,2,3. .. 1. T ur n ON power to the DeviceNet Unit, slav es , and the Configurator . 2. P lace the Configurator online and display the De vice List. 3. S peci[...]

  • Página 238

    229 Appendix A Allocation Differences fr o m C200H Devi ceNet Master U nits The f ollowi ng table shows the CS1W-DRM21/CJ1W -DRM21 Devi ceNet Unit allocation areas that correspond to the C200HW -DRM21-V1 De viceNet Master Unit allocation areas. Note The f ollowi ng tabl e does no t i nclude the allocation areas that ex ist only in CS/CJ-ser ies De [...]

  • Página 239

    230 Allocation Diff er ences from C200H Dev iceNet Master Units Ap pend ix A Status Areas Mast er S tatu s Ar ea 1 An area wi th the e xact same bit configurat ion as Master Status area 1 used f or C200H DeviceNet Master Units , was set up . This area is called the Master Replacement Statu s 1. • The f o llowing t able compares the C200H De viceN[...]

  • Página 240

    231 Allocation Diff erences from C200H Devic eNet Master Units Ap pendix A Communi - catio ns Er ror F lag IR 2 001+ (10 × unit No . ) Unit No . 0 to 9: I R 101+(10 × unit No . ) Unit No . A to F : I R 401+(10 × unit No . – 10) 06 Communi - cati ons Error Flag CIO 1524+ (25 × un it No. ) 06 This i s th e s ame as th e R em ote I /O Communi ca[...]

  • Página 241

    232 Allocation Diff er ences from C200H Dev iceNet Master Units Ap pend ix A Mast er S tatu s Ar ea 2 Commu nicat ions Cycle T ime Pre sent V a lue Reg ister ed S lave T able Name C200H De viceNet Master Un it CS/CJ-ser ies Devi ceNet Unit Contents for CS/CJ- seri es Devi ceNet Unit Diff erences fro m C200H Devi ceNet Master Uni t W ord address Bit[...]

  • Página 242

    233 Allocation Diff erences from C200H Devic eNet Master Units Ap pendix A No rmal Sla ve T a b le Replacing Ladder Pr ograms fr om C200HW -DRM 21-V1 If ladder progr ams h av e already b een cre at ed for C200 H De viceNet Master Unit (C200H W -DRM21-V1) mounted to CS/CJ -series CPU Units, the ladder progr ams must be c hanged when repla cing the C[...]

  • Página 243

    234 Allocation Diff er ences from C200H Dev iceNet Master Units Ap pend ix A Replace t he addres ses as shown in t he fol lowing table. Mes sa ge Comm unicat ions in La d der Pr o grams Note I f there is a rou ting tabl e in the CS /CJ-series CPU Unit, the DeviceNet Unit must be registered in i t when replacing the C200HW -DRM21-V1 with t he CS1W-D[...]

  • Página 244

    235 Appendix B Devi ceNet Co nnections Devi ceNet has sev er al diff erent protocols f or remote I/O communications between Master and Slav e de vices. Connections are units used to monitor those protocols. There are four kinds of DeviceNet remote I/O communications protocols (connections): P oll, bit – s trobe, COS (change of state), and cyclic.[...]

  • Página 245

    236 DeviceNe t Connecti ons Ap pend ix B Connections Using Allocations Set ti ng Conne ction T ype The set ti n gs for remote I/O communicat ions connec tions differ depending o n the allocation m ethod, a s outlin ed below . Fixed Alloca tion or Us er- set Allo cations Us ing All ocated DM Area W or ds The M aster CS/CJ-seri es DeviceNet Unit auto[...]

  • Página 246

    237 DeviceN et Connect ions Appendix B Note 1. Output data using p oll connections and out put data using COS or cy c lic connec tions are transmitt ed using the sam e frame. Theref ore set the sam e output size (b ytes) when c ombining pol l and COS or poll and cyclic. 2. The COS/cyclic hear tbeat timer is the smallest t ransmission interval f or [...]

  • Página 247

    238 DeviceNe t Connecti ons Ap pend ix B Master CO S Sen d Sw itch COS transmission is possible only f or Use r -set allocations using the Configurator . When requi red, rem ote I/O ou tput dat a can be output from t he mast er to a s pecified slave. Output data can be sent at the commu nications cycle timing to the specified slav e b y other conne[...]

  • Página 248

    239 DeviceN et Connect ions Appendix B The f o llowing diagr a m shows the tr ansmission timing. After the COS send instruction has been sent to the De viceNet (at the I/ O refresh timing for t he CPU Unit), t he COS transmission is e x ecuted to each sla ve i mme di- ately after the refres h (remote I/O com muni cation s), which each slav e is per[...]

  • Página 249

    241 Appendix C FINS Comman ds and Responses f or DeviceNet Unit s Lis t of Co mm a nd C ode s Ref er to SYSM A C CS/ CJ Series Co mm unica t ion C omm ands Reference Man- ual (W342) for detail s on end codes. RESET (0403 ) Resets (rest ar ts ) the De viceNe t Unit. Command Block Resets the Device Net Uni t. Response Block There are no responses for[...]

  • Página 250

    242 FINS Commands and Responses f or DeviceNet Units Ap pend ix C • Baud rate Command Block Response Block End Codes P aramete r Details [Model, V e rsion] (Response) The De viceNet Unit model and version are returned as outlined below in 20- byte ASCI I code . If the data is l ess than 20 bytes, t he remaining bytes will be filled b y 20 He x (s[...]

  • Página 251

    243 FINS Commands and R esponses f or DeviceNet Units Appendix C Response Block End Codes P aramete r Details [Operation statu s, Units s tatus 1, Unit status 2, Master funct ion status 1, M as- ter function status 2, Sla ve function status 1, S la v e function s tatus 2] (response) • Operation Status Fix ed at 01 hex. • Units status 1, Unit st[...]

  • Página 252

    244 FINS Commands and Responses f or DeviceNet Units Ap pend ix C F or comma nds, t h e data to be sent t o the specified node is spe c ified, wit h a maximum of 538 bytes. F or responses, The test data t hat was sent by the command is retur ned. Exp lanat ion An error h as occurred i f the test data sent by t he command an d the t ests data return[...]

  • Página 253

    245 FINS Commands and R esponses f or DeviceNet Units Appendix C Retur ns the error history for t he number specified by Read Record No ., in order from the Read Star t Record No . The total number of Error Hist or y Data b ytes i s 10 × Read Record No . One re c o r d of error histor y data is str uctured in 10 bytes as sho wn in the fol - lowing[...]

  • Página 254

    246 FINS Commands and Responses f or DeviceNet Units Ap pend ix C End Codes Important P oint The Error Hi stor y Cl ear command clears the RAM and EEP-ROM err or his- tory ta b le s. End code (hex) Conten ts 0000 Normal end 1001 Command l ength e xce eds maxi mum comma nd length .[...]

  • Página 255

    247 Appendix D Memory Car d Bac kup Fu nctio ns The DeviceNet U nit stores t he f ollowing setup data i n the internal non-vol atile m emor y ( EEPR OM). • Ma st er sc an li sts • Slav e s can lists • Messag e moni toring timer lists • Communication s cyc le time settings • Master/Slave functions enab led/disabled set tings Note Backup is[...]

  • Página 256

    248 Memory Card Bac kup Function s Ap pend ix D Outl in e of Func tions 1. Backin g Up Unit Set up File s Sav es all inte rnal Unit setup data to the Mem or y Card m ounted to the C PU Unit. Method: T ur n ON the Set up File Backup Switch (word n+1, bit 15) to sav e the inter nal Unit setup data t o the Me mor y Car d as a Uni t Se tup File. 2. Res[...]

  • Página 257

    249 Memory Card B acku p F unctions Appendix D 3. Savi ng F ile s from C onf igur ator to M emo ry Card Devi ce parameter files (.dvf files) f o r this De viceNet Unit that ha ve been created using the Configu r ator can be sav ed on the M emor y Card via the HM C-AP001 M emor y Ca r d A daptor as file name DNnnB KUP .dvf (where nn is the Un it num[...]

  • Página 258

    251 Appendix E Multi-vendor Applications This appendi x provides precautions an d ref erence mat erial needed when us ing DeviceNet (Compo Bus/D) Units as Devi ceNet com ponents in a m ulti-v e ndor environment. Con ne cti ng an ot her C omp any ’ s Sl aves to an OMRON Maste r If a S la ve has an EDS f ile, it c an be inst alled in OM RON ’ s C[...]

  • Página 259

    252 Multi- vendor Application s Appendix E Master Un i t Device Profil e Objec t Mo untin g Ident ity Obje ct (01 H e x) Messa ge Route r Object (02 H e x) General data Compatib le De viceNe t Specif icati ons V olume I - Release 2.0 V olume I I - Rel eas e 2.0 V endor nam e OMRON Corporat ion V en dor ID = 47 Devi ce pr ofile nam e Communicat ion [...]

  • Página 260

    253 Multi- vendor A pplication s A ppe nd ix E Devic eNet Object (03 Hex) Co nnectio n O bjec t (05 H e x) Ite m ID content Get (rea d) Set (wri te) V al ue Obje ct cl as s Attri b ute 1 Re vision Y es No 2 Ser v ice DeviceNe t service P aram eter option 0EGet At trib ute Si ngle No Ite m ID content Get (rea d) Set (wri te) V al ue Obje ct cl as s [...]

  • Página 261

    254 Multi- vendor Application s Appendix E Obje ct i nstance 1 Section Inf ormation Max. No. of inst ances Ins ta nce ty pe Ex plic it Me ss age 1 Produc- tion t rig- ger Cy clic T ran sport ty pe Ser v er T ran sport class 3 Attrib ute ID c onte nt Get (read) Set (wr it e) Va l u e 1 S tate Y es No --- 2 Ins tanc e typ e Y es No 0 3 T ransport cl [...]

  • Página 262

    255 Multi- vendor A pplication s A ppe nd ix E Note 1. Num ber of input byt es used by Slave . 2. Num ber of output bytes u sed by Slav e. Obje ct i nstance 2 Section Inf ormation Max. No. of inst ances Ins ta nce ty pe Po l l e d I / O 1 Produc- tion t rig- ger Cy clic T ran sport ty pe Ser v er T ran sport class 2 Attrib ute ID c onte nt Get (rea[...]

  • Página 263

    256 Multi- vendor Application s Appendix E Note 1. Num ber of input byt es used by Slave . Obje ct i nstance 3 Section Inf ormation Max. No. of inst ances Ins ta nce ty pe Bit Strobed I /O 1 Produc- tion t rig- ger Cy clic T ran sport ty pe Ser v er T ran sport class 2 Attrib ute ID c onte nt Get (read) Set (wr it e) Va l u e 1 S tate Y es No --- 2[...]

  • Página 264

    257 Multi- vendor A pplication s A ppe nd ix E Note 1. Num ber of input byt es used by Slave . Obje ct i nstance 4 Section Inf ormation Max. No. of inst ances Ins ta nce ty pe COS/cy clic I/O 1 Produc- tion t rig- ger Cy clic T ran sport ty pe Client T ran sport class 0 (no ACK) /2 (wit h AC K) Attrib ute ID c onte nt Get (read) Set (wr it e) Va l [...]

  • Página 265

    258 Multi- vendor Application s Appendix E 1. The f o llowi ng table sho ws the instance type by communication s type . 2. The f o llowi ng table sho ws the tr ansp ort class trigg er by connection type. PC Ob ject (2F H ex) Object i nstance 5 and abov e Section Inf ormation Max. No. of inst ances Ins ta nce ty pe Expli cit Messag e/ I /O Message 1[...]

  • Página 266

    259 Multi- vendor A pplication s A ppe nd ix E Devic eNet serv ice Par amete r option Object insta nce 1 (CIO ar ea) Ser v ice 1CBloc k String Read Logical Area Add ress Lengt h 1DBloc k StringN Read Logi cal Area Address L ength 1EBloc k String Write Logical Area Address 1FBloc k StringN Write Logi cal Area Address Object insta nce 3 (DM a re a) S[...]

  • Página 267

    260 Multi- vendor Application s Appendix E Note The refresh area ty pes are s hown in the f ollowing table . PC area Refre sh area t ype Refresh ad dress CIO 1 CIO 0000 to CIO 6 143 DM 3 D00000 t o D32767 WR 4 W000 to W511 HE 5 H 000 t o H511 EM (bank 0) 8 E0_00000 to E0_32767 EM (bank 1) 9 E1_00000 to E1_32767 EM (bank 2) A E2_00000 to E2_3 2767 E[...]

  • Página 268

    261 Appendix F DeviceNet Explicit Message Send Command f or Othe r Ma nuf act urer Node s Explicit M essa g e Send (2801) Sends a Dev ic eNet explicit message to a specified object and rec eiv es a response. Command Block Response Block • When a nor mal re sponse ha s been ret urned f or the e x ecuted e xplicit messag e: • When an error respon[...]

  • Página 269

    262 DeviceNe t Explicit Message Send Com mand for Ot her M anufacturer Nodes Ap pendi x F P aramete r Details [Send Dest ination Node Address] (Command) Specifies the node address of the e xplicit message des tination. The loca l node De v iceNet Unit is specified fo r CMND and I O W R instruction control data for Explicit Message S end comm ands a[...]

  • Página 270

    263 Index A ada pt ors remo te , 4 , 10 al loc atio ns See al s o I/ O a ll ocati ons app li cab le U nit s , 6 appl ic atio ns precau tions , xi v C C200H W-DRM21- V1 changi ng la dde r progr ams , 79 compa riso n , 29 cab le s I/O U nit Co nnect ing Cabl e , 14 CIO Ar ea See al s o I/ O a ll ocati ons cl ean in g , 225 commands deliv er ing com m[...]

  • Página 271

    264 Index sp ec ific atio n s , 34 di me ns ion s , 55 DM Area See al s o I/ O a ll ocati ons do t indi cator s See al s o seve n -s egm en t d isp la y E EC Dir e ctiv es , xvi EEPROM data , 26 , 186 , 247 er ror s , 201 codes , 21 9 di spl ay , 48 communi ca tion s , 224 er ro r flag s , 71 , 74 , 76 , 79 error l og func t i ons , 218 er ro r log[...]

  • Página 272

    Index 265 displ ay se ctio n , 27 Ma st er Un i t , 200 me a ni ng , 47 mess age c ommunica tions error s , 139 seven- segment displ ay , 48 stat us MS and NS , 47 troub leshoo t i ng , 200 , 222 insp e ctio n , 22 5 inst a llati on , 51 inst ru cti ons CMND(490) , 150 , 151 RECV(098) , 149 , 15 1 SEND(090) , 148 , 151 L ladd er prog rams rep laci [...]

  • Página 273

    266 Index S saf ety p recau tions , xi i sca n lists , 99 er ro rs , 22 4 setu p sa vi ng setu p file s , 19 , 186 , 247 sev en -se gm en t disp l ay me a ni ng , 48 Slav e Units , 7 , 9 , 20 communi ca tion s ti me , 191 connec t i ng an OMRON sl ave to anot he r compa ny ’ s con - figur at or , 251 connec t i ng anothe r company ’ s slave to [...]

  • Página 274

    267 Re vis ion H ist ory A manual re vision code appears as a suffix to the catalog number on the front cov er of the manual. The fol lowing tab le outlines the changes made to the manual dur ing each re vision. P age numbers refer t o the pre vious v ersion. Revis ion code Da te Revised conten t 1 Octobe r 2000 Or igina l producti on 2 July 2001 M[...]