Omron FQM1-MMA21 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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414

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 FQM1-MMA21. 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 FQM1-MMA21 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 FQM1-MMA21 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 FQM1-MMA21, 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 FQM1-MMA21 deve conte:
- dados técnicos do dispositivo Omron FQM1-MMA21
- nome do fabricante e ano de fabricação do dispositivo Omron FQM1-MMA21
- instruções de utilização, regulação e manutenção do dispositivo Omron FQM1-MMA21
- 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 FQM1-MMA21 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 FQM1-MMA21 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 FQM1-MMA21, 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 FQM1-MMA21, 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 FQM1-MMA21. 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

    OPERA TION MANUAL Cat. No. O010- E1-01 FQM1 Series FQM1-CM00 1 FQM1-MM P21 FQM1-MM A21 Flexible Motion Controller[...]

  • Página 2

    FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexib le Motion Control ler Operation Manu al Produ ced Novem ber 2004[...]

  • Página 3

    iv[...]

  • Página 4

    v Notice: OMRON products are manufactured for use accordi ng to prope r procedur es by a qualifie d operato r and only f or t he pur po ses des cri bed in thi s manual. The following conv entions ar e used to in dicate and classi fy preca utions in th is manual. Always heed the in f or mati on provided wit h them. Failure to heed pre- cautions can [...]

  • Página 5

    vi[...]

  • Página 6

    vii TABLE OF CONTENTS PRECAUTION S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii 1 Intended Aud ience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi v 2 General Precaution s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 7

    viii TABLE OF CONTENTS 4-4 Po wer OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 SECTION 5 Module Fun ctions and Da ta Excha nge . . . . . . . . . . . . . . . . . 103 5-1 Synchro nous Operation between Mo dules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 8

    ix TABLE OF CONTENTS SECTION 10 Inspection and Maintenan ce . . . . . . . . . . . . . . . . . . . . . . . . . 2 59 10-1 Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 A ppendices Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 9

    x TABLE OF CONTENTS[...]

  • Página 10

    xi Abou t this Ma nual: This m anual descr ibe s the operat ion of the C oordinato r Mod ule and Mo tion Co ntrol Mod ules of th e FQM1-s erie s Flexible Motion C ontrolle r . Please rea d this m anual and all related ma nuals li sted in the table below and be su re you unders tand informati on provided be f ore attem pting to p rogram or use FQM1 [...]

  • Página 11

    xii[...]

  • Página 12

    xiii PRECA UTIONS This section pro vides general p recautions for using the FQ M1-series Flexible Motion Con troller and related de vices. The information contained in this section is imp ortant for the safe and reliable a pplication of the FQM1-series Flexible Motio n Controller . Y ou must read this sect ion and underst and the info rmatio n cont[...]

  • Página 13

    xiv Intend ed A udience 1 1 Intended A udien ce This manual is intended for the following personnel, who mus t also have knowledge of electr ic al syst ems (an electr ical engineer or the eq uivalent). • P erson nel in charge of instal ling F A systems. • P erson nel in charge of desi gning F A sy stems. • P erson nel in charge of manag ing F[...]

  • Página 14

    xv Safety Precaution s 3 • Wh en the 24-VDC outpu t (ser vice power suppl y to the FQM1) is ov er- loaded or shor t-c ircuited , the v olta ge may drop and result in the outputs being tur ned OFF . As a counter me asure for such p roblems, e xter nal safety measure s must b e provided t o ensu re safety in the system. !WARNING F ail-safe measures[...]

  • Página 15

    xvi Saf ety Precautions 3 • Loc ation s subject t o static electr icity or other f or ms o f noise • Loc ation s subject t o strong electro magnetic fields • Loc ation s subject t o possi ble e xposure to radioacti vity • Loc ation s close to power supplies !Caution The operating envir onment of th e FQM1 S ystem c an have a large effect on[...]

  • Página 16

    xvii Safety Precaution s 3 • O utputs may remain ON due to a malfuncti on in the built-in transi stor out- puts o r other inter nal c ircuit s. As a counter measure for suc h problems, ex ter nal safety measures must b e provided to en sure the s afety of the system . • Par t of the DM Area (data memor y ) in the Motion Con trol Mo dule is held[...]

  • Página 17

    xviii Saf ety Precautions 3 • D o not ap ply voltages o r connec t load s to the built- in outp uts in excess o f the maxi mum switching cap acity . Excess v olta ge or lo ads may result i n bu r ni n g . • D isconnec t the fu nctional ground ter m inal when perform ing withs tand v olta ge tests. Not disconn ecting th e func tional ground ter [...]

  • Página 18

    xix Conf ormance to EC Dire ctiv es 4 4 Conformance to EC Directives 4-1 Applicab le Direc tives •E M C D i r e c t i v e s • Low V oltage Direc tive 4-2 Concepts EMC Direct ives OMRON de vi ces that c omply with EC Directi v es also confor m to the rel ated EMC stan dards so tha t they can b e mor e easil y built into other d e vice s or the o[...]

  • Página 19

    xx Conf ormance to EC Dire ctive s 4 4-5 Rela y Output Noise Reduction Methods The FQM1 -seri es Flexible Motion Con troller conforms to the Commo n Emi s- sion Stan dards (EN610 00-6-4 ) of the EMC Directives. Howe v er , noise gener- ated by relay outpu t s witc hing may not satisfy t hese Standa rds. In such a case, a noise filter must be con ne[...]

  • Página 20

    xxi Conf ormance to EC Dire ctiv es 4 When switchin g a load with a high in rush current such as an incandes cent lamp, suppress the inr ush curre nt as shown be low . The following Unit and Cables can be used with th e FQM1-s erie s Flexible Motion Con troller. No Y es The d iode connec ted in par alle l with the load changes energ y acc umula ted[...]

  • Página 21

    xxii Data Bac kup 5 5D a t a B a c k u p The user programs, I/O memor ies, and oth er data in the Co ordinator Module and Motion Control Mod ules i s back ed up ei ther by a super capac itor or flas h memor y , as l isted in the following table. The data backup time of the super capacit or is g iven in the follo wing table and shown in t he follo w[...]

  • Página 22

    xxiii Data Backup 5 mentar y power interr uption s. F or operatin g parameter s and oth er long- ter m dat a, use th e por tion of DM Area sto red in flash memor y i n the Coor - dinator Module a nd transfer it to the Motion Control Modules before star t- ing operati on. The dat a in the DM A rea and error l og will become unsta b le or corr upted [...]

  • Página 23

    xxiv Data Bac kup 5[...]

  • Página 24

    1 SECTION 1 F eatur es and System Conf iguration This section des cribes the features of the FQM1 and its system conf iguration. 1-1 Outline of FQM1 Flexible Motion Controller . . . . . . . . . . . . . . . . . . . . . . . . 2 1-2 FQM1 Conf iguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1-3 Module[...]

  • Página 25

    2 Outline of FQM1 F lexible Motion Controller Section 1-1 1-1 Outline of FQM1 Fl exib le Motion Con tr oller The FQM1 (Flexible Quick Motion) is a stand-a lone Fl e xible Motio n Contr oller that can be used to crea te flexible high-speed, high- precisi on motion control syst ems f o r 2 to 8 a x es . Flexib le Configurations of Up T o 8 Axes An FQ[...]

  • Página 26

    3 Outline of FQM1 F lexible Motion Controller Section 1-1 Built-in RS-232C P ort in Coor dinator Module A Programmable T er mina l (PT) can be connected to the Coo rdinator Mo dule to monitor present values on th e PT or make parameter setti ngs for Ser vomo- tors from the PT . The RS-232 C por t is useful for a variety of appl ications. It c an be[...]

  • Página 27

    4 FQM1 Configuration Section 1-2 Pulse Input Frequency Meas urem ent F unct ion The spee d of pulse inp uts can be me asured at the same time a s the number of pu lse i nput s is coun ted. Wid e V ariet y of In ter rupt Functions The FQM 1 can provide h igh-spe ed I/O r esponse s bec ause it has a wide v ar i- ety of func tions for star t ing inter[...]

  • Página 28

    5 FQM1 Configuration Section 1-2 FQM1-CM001 Coor dinator Module One Coordina tor Module is required in an FQM1. The Coor dinato r Module provides t he follo wing : I/O: 16 inputs, 8 outputs Program capac ity: 5 Ksteps DM Area capacity : 32 Kwords (DM) • T he CX-Programme r (V er . 5.01 or later) i s connect ed to the per ipheral por t on the Coor[...]

  • Página 29

    6 Modules Section 1-3 FQM1-TER01 End Module One End Mod ule is sup plied with the Coordi nator Modu le. Alwa ys atta ch the End M odule bec ause it a cts as a ter min ator for the syste m. A fatal error will occur if no End Module is at tached. Other P eripheral Device s Special Ser vo Relay Units are av ailable for connect ing the F QM1 Fl e xible[...]

  • Página 30

    7 Modules Section 1-3 Outline of Internal Data Exchange and I/O PT CX-Programmer DM DM RS-232C PLC RS-422A Coordinator Module Motion Control Module #1 Motion Control Module #2 Motion Control Module #3 Motion Control Module #4 Ladder program Ladder program Ladder program Ladder program Ladder program Cyclic Refresh Bit Area (refreshed each Coordinat[...]

  • Página 31

    8 CX-Programmer Section 1-4 1-4 CX-Pr ogrammer The CX-Programm er provides software functions f or programmin g and debugging. FQM1 Patch Software must be i nstalled f or the C X-Programmer V er . 5. 0 (Model: WS02 -CXPC1-E- V50) to use it t o create ladde r programs, make set- tings in the Sy stem Setup, and monitor ope ration. The FQM 1 P atch So[...]

  • Página 32

    9 Expanded System Configurat ion Section 1-5 1-5 Expanded System Configuratio n 1-5-1 Serial Comm unications The FQM1 system can be e xpande d using the two se r ial por ts built into the Coordina tor Module: P er ipheral p or t a nd RS-23 2C por t. System Configuration 1-5-2 Sy stems The ser ial commun ications por t mode (protocol) can be switche[...]

  • Página 33

    10 Expanded System Configurat ion Section 1-5 Host Li nk System The Host Link System al lows the I/O memor y of the Module s to be read/w rit- ten and the operati ng mode to be chan ged from a host computer (per sonal compu ter or Programmable T er mina l (PT)) by ex ecuting Hos t Link comma nds or FINS c ommands that are prece ded by a H ost Link [...]

  • Página 34

    11 Expanded System Configurat ion Section 1-5 Set the P T communi cations s ettings for a 1:N or Stand ard NT Lin k. An NT Link Sys tem is possible for either the pe rip heral por t or the RS- 232C por t. Note (1) T he FQM1 can b e connec ted to any P T por t that s uppor ts 1:N NT Links. It cannot be connected to the RS-23 2C por ts on the NT30 o [...]

  • Página 35

    12 Expanded System Configurat ion Section 1-5 1:N Connection between CJ1M and FQM1 Contr ollers 1:1 Connection between CJ1M and FQM1 Contr oll er Serial Gatew ay Readin g/wri ting Ser vo P aramete rs and o ther data in S er vo Drivers connecte d via RS- 422A c an be pe rformed through the FQ M1 Coor dinator Module f rom an NS-s erie s PT or compute[...]

  • Página 36

    13 Basic Operating Procedure Section 1-6 No-protocol (Custom) Communications Syste m via R S-422A Po r t No-pro toco l com municat ions a llow simple data tran smis sions, su ch as input- ting bar code d ata and outputtin g pr inter data us ing com munications por t I/O instr uct ions TX D(236) and RXD(2 35). The s tar t and en d codes c an be set [...]

  • Página 37

    14 Basic Operating Procedure Section 1-6 Wir ing I/O ter minal s and conn ectors. Ref er to 3-3 Wir ing M odule Connec- tors for details. 3. Initial H ardware S ettings Set the DIP switch on the front of t he Coordin ator M odule as requ ired. Re- fe r t o 2-3 Co ordi nato r Modu le for details. 4. T ur ning ON P ower and Checking In itial O perati[...]

  • Página 38

    15 Basic Operating Procedure Section 1-6 1-6-1 Ex amples 1. Installa tion Connect the Po wer Supply Uni t, Coordinator Module, Motion Co ntrol Mod- ules, and En d Module to assemble the FQM1. Mak e sure t hat th e total po wer co nsump tion of th e Modu les is l e ss t han t he maximum c apacity of the P ower Supply Uni t. Use DIN T rack to mount t[...]

  • Página 39

    16 Basic Operating Procedure Section 1-6 4. T urning ON P ower and Chec king Initial Operation Note The Syst em Setup and user programs are backed up in b u ilt-in fla sh memor y . When the data is b eing b ack ed up, a mess age indicati ng the da ta is bein g transferred will be displayed on the CX-Programmer . Never turn O FF the power supply to [...]

  • Página 40

    17 Basic Operating Procedure Section 1-6 7. T ran sferrin g the Pr ograms When the pr ograms has been cre ated in the C X-Programmer , they must be transferred to the Mo tion Con trol Mod ules thr ough th e Coordin ator Modu le. 8. T esting Operation 8-a) I/O W iring Ch ecks Check Output Wir ing With the FQM1 i n PROGRAM mo de, f orce-s et and forc[...]

  • Página 41

    18 Basic Operating Procedure Section 1-6 1,2,3. .. 1. Select t he bit for differential moni tori ng. 2. Select Diffe renti al Mon itor from the PLC M enu. The Differential Monitor Dialog B o x will be displ a yed. 3. Select Risi ng or Falling. 4. Click the Start Button . The buzzer will s ound when th e specifi ed ch ange is detected a nd the c oun[...]

  • Página 42

    19 Function T ables Arranged by Purpose Section 1-7 1-7 Function T ables Arranged by Purpose 1-7-1 Sync Cyc les and Synchr o nized data Purpose Operation Function us ed Details Synchro nizing 3 or mor e axes Simple con trol of all axes oper - atio ns f ro m th e Coordi nator Modul e Synchron izing all Mot i on Con - trol Modu les to Coordi nator Mo[...]

  • Página 43

    20 Function T ables Arranged by Purpose Section 1-7 Synchro nizing 3 or mor e axes Make contr ol cycle a s sho r t as poss ible wit h Modul es sy n- chroni zed Synchron izing Motion Contro l Modul es on ly Sync Mo de, Sync Cycle Time 5-1 Sync hronous O peratio n betw een Modules Set Sync Mode to Sync and Sync Cy cle Tim e to betw een 0.1 an d 10.0 [...]

  • Página 44

    21 Function T ables Arranged by Purpose Section 1-7 1-7-2 P osition and Speed Contr ol Purpose Operation Main fun ctions used Details PTP posit ioning using p ulse I/O Using Ser vo Driv er compa ti- ble with an incr emental encode r or step- ping S er vomo- tor/Servo D river Cont roll ing po si- tioning speed • Relativ e pulse output fu nc- tions[...]

  • Página 45

    22 Function T ables Arranged by Purpose Section 1-7 PTP posit ioning using p ulse I/O Using Ser vo Driv ers compati - ble with an Absolute Encoder Reading PV from Se r vo Driver • Absolute counter ope ra- tion (absol ute linear/c ircular) • High-speed counter abs o- lute encod er read 7-7 Fu nctions f or Servo Driv ers Compatib le with Absolute[...]

  • Página 46

    23 Function T ables Arranged by Purpose Section 1-7 PTP posit ioning using a nalog I/O Simple p o sition- ing usi ng inv ert- ers Stepped o r sloped analog outp ut cor re- spondi ng to the high-sp eed counter PV • T arg et valu e match instr uc- tion (CTBL(88 2) inst ruction) f or high-sp eed counter • Anal og out put inst ruction (SPED(885) in[...]

  • Página 47

    24 Function T ables Arranged by Purpose Section 1-7 Synchro nous control Slave axis co n- trol sync hro- nized t o vir t ual axi s. Electroni c cam: Chan gin g tar get pos ition and speed e very cycle based on vir tual puls e ou t- put (pos ition or speed) t o e x e- cute po sitioning . • Vir tual axis (AXI S instr uc- tion) •C a m c u r v e ge[...]

  • Página 48

    25 Function T ables Arranged by Purpose Section 1-7 1-7-3 Measuring Input Pulses Speed co ntrol T orque cont rol (positio n + torque c ontrol) Individ ual axis control f or mold- ing equ i pment and sim ilar applic ations Switching betw een posi - tion and torque control mo des. During torque control, perform- ing spe ed con- trol usin g high - spe[...]

  • Página 49

    26 Function T ables Arranged by Purpose Section 1-7 1-7-4 High-speed Analog I/O Contr ol Detec ting spee d using ro tar y encode r inputs Detec ting spee d and us e in o ut- put co ntro l whi le managi ng posi- tion using encode r inputs Measuring dis - placem ent of wor kpi ece per unit time Monitoring H igh- speed C ounter Movement (cycle time) 7[...]

  • Página 50

    27 Function T ables Arranged by Purpose Section 1-7 Control using measur ement results fo r undu- lation, d istortion, thic kness , heigh t, diam e- ter , etc., of an objec t Ju dgment pro - cessi ng based on meas ure- ment r esult s Read ing an alo g input v alues in high-sp eed cycle s and per- f or ming judg- ment p roces sin g using l adder pro[...]

  • Página 51

    28 Function T ables Arranged by Purpose Section 1-7 1-7-5 Controlling Timing Purpose Operation Main fun ctions used Details Respo nding quic kly to e xter- nal sig nals and oper ate Ex ecuting pro- cessi ng as soon as chan ge i n e x ternal input signal detected Star ting inte r- ru pt pro ces sing when an inp ut bit turns ON and/or O FF . • Inpu[...]

  • Página 52

    29 Function T ables Arranged by Purpose Section 1-7 Operat ion wit h highly precise timing Increas ing accu - racy of e xter nal output O N time . (F eeding, hole opening , tape windi ng, gluing, and othe r appli- cations ) High-prec ision ON output s, with minimum uni t of 0.01 ms • One-shot pul se outp uts (STIM(980) inst ruction) 7-5 Pul se In[...]

  • Página 53

    30 Function T ables Arranged by Purpose Section 1-7[...]

  • Página 54

    31 SECTION 2 Specif ications and Nomencl atur e This section pro vides the specif icat ions of the FQM1 an d desc ribes the parts a nd thei r func tion s on the Coo rd inato r Mod ule and Motion Contro l Modules. 2-1 List of Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2-2 General Speci[...]

  • Página 55

    32 List of Models Section 2-1 2-1 List of Mode ls Note If CX-Programmer V er . 5. 0 is used wi th the FQM1, th e FQM1 Patch Software must be installe d. 2-2 General Specifications General S pecifi cations Name T ype Model Specificatio ns Coordi nator Mod- ule Standard (wit h built -in I/ O) FQM1-CM 001 Progra m capacity : 5 Ksteps 16 gener al-pur p[...]

  • Página 56

    33 General Sp ecifications Section 2-2 Note (1) Disconnec t the P ower Supply Unit's L G ter minal fro m the GR ter minal when t esting insula tion and diel ectr ic streng th. T est ing the insul ation an d dielect ric strength with th e LG and GR ter mi nals co nnected wi ll da mage inter na l circuit s. (2) Do not app ly mor e than 600 V whe[...]

  • Página 57

    34 Coordinator Modul e Section 2-3 Note (1) T he in rush current is given f or a cold s tar t at room tempe rature wit h an A C power supply . The AC inrush co ntrol circ uit uses a the rm istor ele ment with a low -temperature curre nt contro l character isti c. If the ambie nt tem- perature is hig h or the FQM1 is hot-star ted, the ther mi stor w[...]

  • Página 58

    35 Coordinator Modul e Section 2-3 Switch on Fr ont Panel P er ipheral P or t Baud R ate Detecti on/Sy stem Setu p Swit ch Function Specifications PRPHL Y ello w P eripheral p or t communi catio ns Lit Communic ating via the peripher al por t. Not lit All othe r times. COMM1 Y ellow RS-232C comm u- nicat ion s Lit Communi cati ng vi a the RS -232 C[...]

  • Página 59

    36 Coordinator Modul e Section 2-3 CIO Area Input Bit Are a 1 6 bits (CIO 00 00): CIO 0000.0 0 to CIO 0000.1 5 Output Bi t Area 8 bits (CIO 000 1): CIO 0001 .00 to CIO 0001.07 Cyclic Refres h Bit Area 640 bits (40 words): CI O 0100 to CIO 0139 Refres h word s f or Motion Control Module # 1: CIO 0100 to CIO 010 9 Refres h word s f or Motion Control [...]

  • Página 60

    37 Motion Control Modules Section 2-4 I/O Specifications Built-in General-purpose I/O 2-4 Motion Control Modules Motion Control Module FQM1-MMP21 (Pulse I/O ) R UN ou tput 1 (wh en CJ 1W-P A205 R used ) Individ ual func- tions Serial commu nica- tions P eripheral p or t: P eripheral b us (T oolb us), Host Links , NT Links Built -in RS-232C por t on[...]

  • Página 61

    38 Motion Control Modules Section 2-4 FQM1-MMA21 ( Analog I/O) Nomenc lature Indicators Note IN0 to IN 11, OUT0 to O UT7, an d A1 to B2 are all control led by hardware. Item Specific ations I/O P ulse inpu ts Puls e inpu ts: 2 (com pat ible with Ser vo Dr ivers with absol ute encod ers ) 40-pin connec tor Analog I/O • Analog input s: 1 ( − 10 t[...]

  • Página 62

    39 Motion Control Modules Section 2-4 P erformance S pecifications Item S pecifications Control method Stored prog ram I/O co ntro l meth od Cycl ic sc an Progr amming langua ge Ladder diag ram Instruct ion length 1 to 7 ste ps per instructio n Numbe r of instru ctions Appro x. 270 Instruct ion e xecutio n time Basi c ins truc tio ns 0 .1 µ s min.[...]

  • Página 63

    40 Motion Control Modules Section 2-4 I/O Specifications General-purpos e I/O Specifications Common Specifications f or FQM1-MMP21 (Pulse I/O) and FQM1-MMA21 (Analog I/O) P owe r interruption h old function (momen tar y powe r interruption) Super capa citor Memory back up Super c apacitor b ackup Error log, part of DM Area (ba cku p f or moment ar [...]

  • Página 64

    41 Motion Control Modules Section 2-4 Pulse I/O Sp ecifications FQM1-MM P21 (Pulse I/O) Item Specific ations Pulse inputs Number o f counters 2 Counter o peration s Linear coun ter and circular c ounter Input sign als T wo w ords eac h f or phase A, phase B , and phase Z . Signal le vel s 24 V DC , line-driv er Input meth od Phase dif ferenti al ×[...]

  • Página 65

    42 Motion Control Modules Section 2-4 Pulse Inputs and Analog I/O Specifica tions FQM1-MMA21 ( Analog I/O) Item Specificati ons Pulse inputs Numb er of coun ters 2 Counte r operati ons L inear cou nter , circular counter Input si gnals T wo words each f or phase A, p hase B , and pha se Z. Signal le ve ls CH1 : 24 V DC, line-driv er CH2: Li ne-driv[...]

  • Página 66

    43 Dimensions Section 2-5 2-5 Dimensions FQM1-CM001 Coor dinator Module FQM1-MMP21/MMA21 Motion Contr ol Modules FQM1-TER01 End Module FLEXIBLE MOTION CONTROLLER RDY RUN ERR PRPHL COMM1 COMM2 PERIPHERAL PORT ON OFF CM001 2 CN1 RS422 1 40 39 1 2 49 mm 90 mm 80 mm MMP21 2 CN2 CN1 1 1 2 40 39 25 26 IN OUT 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 RDY [...]

  • Página 67

    44 Dimensions Section 2-5 P ower Suppl y Units CJ1W-P A202 CJ1W -P A205R 65 45 81.6 90 POWER PA202 INPUT NC NC AC100 -240V L2/N L1 POWER PA205R DC24V AC240V OUTPUT RUN INPUT AC100-240V L2/N L1 65 80 81.6 90[...]

  • Página 68

    45 Module Cur rent Consum ption Section 2-6 XW2B-80 J7-1A Se rvo Relay Unit 2-6 Module Current Consumptio n The amou nt of current /power that can be s upplied to the Modu les mount ed in the FQM1 is lim ited. Refer to the f ollowing tables when de signing your syste m so that th e total current consu mption of the mo unted M odules d oes not ex ce[...]

  • Página 69

    46 Module Cur rent Consum ption Section 2-6 Motion Contr ol Modules Current Consumpti on for 24-V Syst ems Exam ple Calcula tion of Current and P ower Consumption Exampl e f or CJ1W- P A202 P ower Supply Unit with the Following Modules Mounted Combining P ower Supply Units and Motion Control Modules The following table shows the P ower Su pply Uni [...]

  • Página 70

    47 Memory Block Diagram Section 2-7 2-7 Memory Blo c k D iagram Coordina tor Modu le and Motion Control Module memor y has t he following bloc k confi gurations. • I/O Memor y Area: Mem or y acc essible from us er programs. • Us er Memor y (UM): User programs and paramete r area (See note 1.) The following tables show the backup method s for th[...]

  • Página 71

    48 Memory Block Diagram Section 2-7[...]

  • Página 72

    49 SECTION 3 Installation and W iring This secti on describes ho w to instal l and wire the F QM1. 3-1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3-1-1 Installation and W iring Precautions . . . . . . . . . . . . . . . . . . . . . . . . . 50 3-1-2 Installation in a Contro [...]

  • Página 73

    50 Installation S ection 3-1 3-1 Installation 3-1-1 Installation and Wiring Precautions Be sur e to co nsider the following factors whe n instal ling and wiri ng the FQM1 to improve the reliability of the syst em and make the most of th e FQM1’ s func- tions. Ambient Conditions Do n ot instal l the FQ M1 in any of the following loca tions. • Lo[...]

  • Página 74

    51 Installation S ection 3-1 • T he FQM1 will be easiest to install and operate if it is mounted at a heigh t of about 1.0 to 1.6 m . Impro ving Noise Resistance • D o not mount the F QM1 in a co ntrol panel co ntaini ng high-voltage equi p- ment. • Ins tall the FQ M1 at lea st 200 mm awa y fr om power lines. • G round the mounting p late b[...]

  • Página 75

    52 Installation S ection 3-1 FQM1 Orientation • T he FQM1 mus t be mou nted in an upri ght pos ition to provide prope r cool- ing. • D o not ins tall the F QM1 in any of the f o llowing po sitio ns. FLEXIBLE MOTION CONTROLLER RDY RUN ERR PRPHL COMM1 COMM2 PERIPHERAL PORT ON OFF CM001 2 CN1 RS422 1 40 39 1 2 MMP21 2 CN2 CN1 1 1 2 40 39 25 26 IN [...]

  • Página 76

    53 Installation S ection 3-1 3-1-2 Installation in a Contr ol P anel The FQM 1 must be mou nted in side a c ontrol pa nel on DIN T rack. Note The FQM1 must be mounted on DIN T rack. It cannot be mou nted with screws. Wiring Ducts Use wiri ng ducts to wi re the FQM1’ s built-in I/O. Install the wir ing ducts to f a cilitat e wir ing the built-in I[...]

  • Página 77

    54 Installation S ection 3-1 Routing Wi ring Ducts Install the wir ing du cts at leas t 20 mm awa y from the FQM1 and any ot her objects, (e.g., c eiling, wir ing duct s, stru ctural s uppor ts, a nd devices) to pro- vide eno ugh sp ace for air circul ation and replac ement of Mo dules. 3-1-3 Assemb led Appearance and Dimensions The Modu les that m[...]

  • Página 78

    55 Installation S ection 3-1 Assembled Dimensions W = a + 49 + 49 × n* + 14.7 * n is the number of co nnecte d Motio n Contro l Modules (Up to 4 can be con- nected.) P ower Supply Unit width: “a” mm Coordina tor Module wi dth: 49 mm Motion Con trol Module wid th: 49 m m End Modul e widt h: 14.7 mm Installation Dimensions FLEXIBLE MOTION CONTRO[...]

  • Página 79

    56 Installation S ection 3-1 Installation Height The ins tallatio n heig ht of the FQM1 varies from 115 to 165 mm. When a CX -Programmer or conne cting ca bles are conn ected, howe ver , ev e n greater height is requ ired. Allow sufficie nt depth i n the cont rol panel contain- ing th e FQM1. 3-1-4 Connecting FQM1 Components The Mod ules that make [...]

  • Página 80

    57 Installation S ection 3-1 2. Mov e the yellow sliders at the top a nd bottom of ea ch Mod ule until th ey click into pla ce to lock the Mo dules tog ether . Note If the l ocking tabs are n ot se cured properl y , the FQM1 may not fu nction prop- erl y . Be s ure to s lide the lockin g tabs unti l they are sec urely i n place. 3. Attach th e End [...]

  • Página 81

    58 Installation S ection 3-1 2. Fit the back of the FQM1 onto the DIN T rack b y inser ting the FQM1 onto the top of the T rack and then p ressing i n at th e bottom o f the FQ M1, as shown bel ow . 3. Lock the pins on the backs of t he Modu les. 4. Install a DIN T rack End Plate on each end of the FQ M1. T o install an End Plate, hook the bottom o[...]

  • Página 82

    59 Installation S ection 3-1 DIN T rack and Access ories Use the DIN T ra ck and DIN T rack End Plates s hown below . • DIN T rack Model numbe rs: PFP- 50N (50 cm) , PFP-1 00N (100 c m), and PFP-100N 2 (100 cm) Secure the DIN T rack to the c ontrol pan el using M4 screws separated by 210 mm (6 holes) or les s and us ing at least 3 screws. The tig[...]

  • Página 83

    60 Wi r i n g Section 3-2 3-2 Wiring 3-2-1 Wiring P ower Supply Units Note The R UN outpu t function is provided only f o r the CJ1W-P A205R P ower Sup- ply Unit . It is not provided on the CJ1 W - P A202 P ower Suppl y Uni t. A C P ower Sour ce • Supply 100 to 2 40 V AC . • Keep the voltage flu ctuations wi thin th e specif ied range. • If o[...]

  • Página 84

    61 Wi r i n g Section 3-2 T ermina l Screws and Crimp T e rminals The ter mi nals on th e P ower Supply Uni t use M4, self-rai sing ter mi nal screws. Note (1) U se cr imp te rm inals for wiring. (2) Do n ot con nect bare s tranded w ires direct ly to t er minals. (3) T ighten the ter minal block screws to a torque o f 1.2 N·m. Use M4 c rimp ter m[...]

  • Página 85

    62 Wi r i n g Section 3-2 • LG is a noise -filter ed neutral ter mina l. If noise is a signi ficant sour ce of errors an d to prev ent el ectr ical sh ocks, connect the line ground ter minal to the ground ter minal an d ground both with a gro und resi stance o f less than 100 Ω or less . • If connec ting the line gro und and ground ter mi nal[...]

  • Página 86

    63 Wi r i n g Section 3-2 T ermina l Screws and Crimp T e rminals The ter mi nals on th e P ower Supp ly Unit u se M4 sel f-raising t er minal s crews. Note (1) U se cr imp te rm inals for wiring. (2) Do n ot con nect bare s tranded w ires direct ly to t er minals. (3) T ighten the ter minal block screws to a torque o f 1.2 N·m. (4) Us e M4 cr imp[...]

  • Página 87

    64 Wi r i n g Section 3-2 3-2-2 RS-232C P or t Wi ring Connector Pin Arrang ement Note Do not connect the 5- V power supply on pin number 6 of the RS-23 2C por t to any de vices oth er than a NT -AL0001 C onv er ter . Doing so m a y damag e the ex ter nal device and the Coor dinato r Module. Connection Methods 1:1 Connections with P ersonal Compute[...]

  • Página 88

    65 Wi r i n g Section 3-2 P eripheral Bus (T oolbus) Serial Comm unications Mode Use the following conn ectors and cables if mak ing the RS- 232C cable for RS- 232C por t conn ections. Applicable Connector s ■ Coor dinator Module Connector ■ IBM PC/A T or Compatible Connector (9-pin, Male) ■ Connecting to an IBM P C/A T or Compatible Recommen[...]

  • Página 89

    66 Wi r i n g Section 3-2 Connection Example to Pr ogrammab le T e rminal (PT) Direct Con nection f rom RS-232C to RS -232C • C ommunicati ons Mode : NT Link (1:N, N = 1 n ode onl y) • O MRON Cables with Connector s: XW 2Z200T ( 2 m) XW2Z5 00T (5 m ) RS-232C P or t Specifications Note Baud rates for the RS-232 C are specifi ed only up to 19.2 k[...]

  • Página 90

    67 W iring Module Connectors Section 3-3 3-3 Wiring Modu le Connectors 3-3-1 Connector Pin Arrangement The following tables p rovide the conne ctor pi n arrange ment for FQM1 M od- ules. FQM1-CM001 Coordinator Module General-purpose I/O 40-pin Connector Pin No. Name Address Pin No. Name Address 1 Exter nal inpu t 0 CIO 0000 .00 2 Exter nal inpu t 8[...]

  • Página 91

    68 W iring Module Connectors Section 3-3 FQM1-MM @ 21 Motion Control Modules General-purpose I/O 26-pin Connector FQM1-MMP21 Pulse I/O 40-pin Connector Pin No. Name Address Pin No. Name Address 26 No t used . 25 N ot us ed. 24 External input 0 (interrupt inpu t) CIO 0 000.00 23 External input 6 CIO 0000 .06 22 External input 1 (interrupt inpu t) CI[...]

  • Página 92

    69 W iring Module Connectors Section 3-3 FQM1-MMA21 Analog I/O 40-pin Connector 23 Cou nter 1 SEN output si gnal f or absolute Servo Driver SEN output 24 Counter 2 SEN out put sign al for absolute Servo Dr ive r SEN output 25 SEN_0 V 26 Po wer supply fo r pulse out puts 5-V GND 27 5-V pow er f or SEN output 28 5-V po wer f or pulse outp uts 29 Pul [...]

  • Página 93

    70 W iring Module Connectors Section 3-3 Note Connect th e voltage input ( +) and the curren t input when usin g with a current input between 4 and 2 0 mA. 3-3-2 External Connection Dia grams The conn ections wi th the Ser vo Drivers, the main type of device connected , are outl ined in th e follo wing t ables. FQM1-MM @ 21 Motion Control Modules P[...]

  • Página 94

    71 W iring Module Connectors Section 3-3 3-3-3 Wiring Exa mples Connecting Pulse Inputs (FQM1-MMP21/ MMA21) Connect th e output from an en coder to the co nnector in the following wa y , accord ing to the por t's counter op eration. Note The numbers in paren theses a re the pi n numbers o n the negati ve side. Examp le • T he wir ing for an [...]

  • Página 95

    72 W iring Module Connectors Section 3-3 • T he wir ing for an encoder wi th a line-dr iver output (A m26LS31 or equiva- lent) is shown be low . Connecting a Serv o Driver (OMRON's W Se ries) Compatib le with an Absolute Encoder ( FQM1-MMP 21/MMA21) 3 Differential phase input mode Encoder 5 9 11 15 17 A+ Black B+ White Z+ Orange 5 V DC Brown[...]

  • Página 96

    73 W iring Module Connectors Section 3-3 Connecting Pulse Outputs (FQM1-MMP21) Examp le Connectio ns with a Ser vo Driver are given below , a s an example. FQM1-MMP21 − + 26 28 31/32 29/30 35/36 33/34 ( − ) (+) ( − ) (+) 5-V DC power supply for output CW pulse output CCW pulse output 5 V-DC power supply Servo Driver (for 5-V inputs) FQM1-MMP2[...]

  • Página 97

    74 W iring Module Connectors Section 3-3 Connecting Analog Outputs (FQM1- MMA21) Output s ignals a re conne cted a s shown in the following diagram. Connecting Analog Inputs (FQM1-MMA21) V oltage Input Current Input 3-3-4 Wiring Methods Either make a cable usin g the spec ial co nnecto r (purch ased s eparately ), or conne ct to a ter minal block u[...]

  • Página 98

    75 W iring Servo R elay Units Section 3-4 Applicable Connector -T erminal Block Con version Units Recommended Wire Siz e The recomm ended size for cable wires is A WG 24 to A WG26 (0.2 to 0.13 mm 2 ) . Use a ca ble with an outer diameter of less than 1 .61 mm. 3-4 Wiring Ser v o Rel a y Un its XW2B- 80J7-1A Ser vo Relay Units ca n be use d to co nn[...]

  • Página 99

    76 W iring Servo R elay Units Section 3-4 Nomenclature and Functions 1,2,3. .. 1. Motion Con trol Module 40-pin C onnect or Connects to the 40- pin conn ector on the Moti on Contro l Module. 2. Motion Control Module 34-pin C onnect or Connects to the 26 -pin co nnect or on the Motio n Control Modu le. The Mo- tion Contro l Module gene ral-pur po se[...]

  • Página 100

    77 W iring Servo R elay Units Section 3-4 Upper T ermina l Block Pin Arrangement Lowe r T erminal Block Pin Arr angement Note (1) Alloc ated when co nnect ing a n FQM1- MMA21 Analog I/O Motion Con tro l Module. (2) Us ed as the power s upply for FQM1-MMP 21 pulse outputs or SEN out- puts for Ser vo Dr ivers compat ible with abs olute enc oder . (3)[...]

  • Página 101

    78 W iring Servo R elay Units Section 3-4 6. Signa l Switch es Note (a) A n exter nal encod er with a line-dr iver output can be connec ted. (b) F or 4 to 20 m A cu rrent i nputs, voltage in put (+) a nd cu rrent i nput do not need to be connected . 7. T er minating Resistan ce Sw itch Set this ter minating resis tance switch to ON whe n the S er v[...]

  • Página 102

    79 W iring Servo R elay Units Section 3-4 External Dimensions Wiring Screw -less Clamp T erminal Bloc ks Screw-less clamp te r minal bloc ks us e clam ps to attach wi res, and do not require s crews . In add ition to co ntrol si gnal wir ing to S er vo Drivers, clamp ter- minal blocks can be use d to connec t sensor s and extern al devices. A f err[...]

  • Página 103

    80 W iring Servo R elay Units Section 3-4 Recommended Scr ewdriver Model Man ufacturer SZF1 Phoenix Contact Inc. 3.5 mm 0.6 mm Side Front[...]

  • Página 104

    81 W iring Servo R elay Units Section 3-4 Wiring when Using Serv o Relay Units FLEXIBLE MOTION CONTROLLER RDY RUN ERR PRPHL COMM1 COMM2 PERIPHERAL PORT ON OFF CM001 2 CN1 RS422 1 40 39 1 2 MMP21 2 CN2 CN1 1 1 2 40 39 25 26 IN OUT 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 RDY RUN ERR A1 B1 A2 B2 MMA21 2 CN2 CN1 1 1 2 40 39 25 26 IN OUT 0 1 2 3 4 5 6[...]

  • Página 105

    82 W iring Servo R elay Units Section 3-4 Exam ple Serv o Relay Unit Wiring When Ser vo Rela y Un its for the FQM1 a re used, th e I/O power supply is pro- vided fr om ter minals 20-0, 21- 1, and 60-4 0. The only addition al wir ing required ar e the connec tions betwee n the signals, as s hown in the f o llowing diagram. Upper T ermina l Block Arr[...]

  • Página 106

    83 List of FQM1 Connecting Cables Section 3-5 3-5 List of FQM1 Co nnecting Cables It is reco mmende d that specia l cables are used when connecti ng Coordina tor and Motio n Contr ol Module s to Ser vo Rela y Units. Connecting Cable Models 1,2,3. .. 1. Connector- T er minal Block Conv ersio n Unit Cables (for FQM1-CM001, 40- pin MIL Co nnector) 2. [...]

  • Página 107

    84 List of FQM1 Connecting Cables Section 3-5 3. Ser vo Relay Unit Connec ting Cables (for FQM1-MM P21/M MA21, 40- pin MIL C onne ctor) 4. RS-422A Con necting Ca bles (with 9-pi n D-sub Connector) 5. Ser vo Driver Connecting Cables (Ser vo Rela y Uni t to Ser vo Driver) 6. Ser vomotor Con necting Ca b les Refer to the catalog for the Ser vo Driv er[...]

  • Página 108

    85 W iring Precautions Section 3-6 • Attach th e modif ied cable to the XW2D-40 G6 Connec tor-T er minal Block Conv e rsion U nit . 3-6 Wiring Precautio ns 3-6-1 Reducing Electrical Noise I/O Signal W iring Whene ver possible, place I/ O signa l line s and power li nes in s eparate duc ts or racew ays both insi de and o utside of the co ntrol pan[...]

  • Página 109

    86 W iring Precautions Section 3-6 Inductive Loads When an i nductive load i s conn ected to I/O, connect a s urge s uppres sor or diode in parallel w ith the load as shown below . Note Use surge suppres sors and d iodes wi th the following specifi cations. External Wiring Observe the f ollowin g preca utions for I/O wi ring, p ower suppl y wiri ng[...]

  • Página 110

    87 W iring Precautions Section 3-6 3-6-2 Connecting I/O De vices Input Devi ces Use the f o llowing infor matio n f or reference when sel ecting or connectin g input de vices. DC Inputs The follo wing types of DC input devices can b e conn ected. IN COM 7 mA 0 V + + COM IN IN COM + + Output Contact output Two-wire DC output NPN open-collector outpu[...]

  • Página 111

    88 W iring Precautions Section 3-6 • The circuit below sho uld NO T be use d for I/O devices having a voltage output. Precautions when Connecting a T wo-wire DC Sensor When using a two-wire sensor with a 24-V DC input device, check that the f ol- lowing con ditions hav e been m et. F ai lure to me et these co nditio ns may result in operati ng er[...]

  • Página 112

    89 W iring Precautions Section 3-6 3. Relation b etween FQM1 O FF curre nt and sen sor lea kage current : I OFF ≥ I leak Connect a bleeder res istor R if I leak is greater tha n I OFF . Use the following equation t o calcu late the bleeder resistan ce co nstant. R ≤ (R IN × V OFF )/(I leak × R IN – V OFF ) Po w e r W ≥ (V CC – V R ) 2 /[...]

  • Página 113

    90 W iring Precautions Section 3-6 Output Sur g e Current When con necting a tra nsistor or tri ac output to a n output d e vice having a high surge c urrent (such as an incand escent l amp), s teps must be taken to av oid damage to the transi stor or tria c. Use eith er of the following me thods t o reduce the surg e current. Method 1 Add a re sis[...]

  • Página 114

    91 SECTION 4 Operation This section describes the oper ation of the FQM1. 4-1 Coordinator Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4-1-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4-1-2 Coordinator Module Operation. . . . . . . . .[...]

  • Página 115

    92 Coordinator Modul e Section 4-1 4-1 Coord inato r Module The FQM1 Coordina tor Modul e and eac h Motio n Control Module hav e sepa- rate ladder pr ogramming. Ea ch Mod ule in depende ntly proce sses the ladder programming, I/ O , and pe riph eral ser vic ing to achiev e high -speed I/O response somewhat li ke a system o f multiple CP U Units. 4-[...]

  • Página 116

    93 Coordinator Modul e Section 4-1 Syste m Setup The Syst em Setup c ontain s software switche s used to make initi al setti ngs and oth er setti ngs. As shown in Appen dix C Syste m Setu p , A uxi liar y A rea Alloca tions, and Bu ilt-in I/ O Alloc ations , add resses (words and bits ) are allo- cated f o r se ttings in the Sy stem Se tup . T he a[...]

  • Página 117

    94 Coordinator Modul e Section 4-1 4-1-3 I/O Refreshi ng and P eripheral Servic ing I/O Refreshing I/O ref reshing updates general- pur pose I /O statu s. All I/O is refr eshed in the same cy cle (i.e., time slici ng is no t used ). I/O ref resh ing is alwa ys per formed after program e xecution. Cyc lic Refreshing For cyclic ref reshing, data is e[...]

  • Página 118

    95 Motion Control Modules Section 4-2 4-2 Motion Control Modules 4-2-1 Outli ne Motion Co ntrol M odule s each hav e inde pendent l adder p rogramming, which perform processi ng indepe ndentl y from o ther Modu les. The following diagram shows the int er nal s truct ure of Mo tion Contr ol Modul es. Note (1) User Memory (UM) Protect The following d[...]

  • Página 119

    96 Motion Control Modules Section 4-2 Broadl y speaki ng, the u ser pro gram consis ts of a cyc lic tas k and inter rup t tasks, whic h are ex ecuted for inter rupts. T he cycl ic task is ex e cuted ev er y cycle. The use r program is stored in RAM and flash mem or y . Data is not los t, therefore, e ven if the su per capa citor ba ckup time is exc[...]

  • Página 120

    97 Motion Control Modules Section 4-2 Sync Mode Operation In Sync M ode , th e Moti on Co ntrol Modul e's cyclic scan i s synced w ith t he Coor dinat or Mo dule's cyclic sc an or the sync cycle time set in th e Syst em Setup. The program in each Moti on Con trol Mod ule is t hus ex ec uted at the same tim e. When operat ion is sync hroni[...]

  • Página 121

    98 Motion Control Modules Section 4-2 Initialization at At po wer ON Inter nal Mo dule i nitiali zatio n (deter mi ning t he operat ing mode, ini tializ ing user memor y , cle arin g specif ied me mor y a reas, checking for memor y corr uption , reading the Syste m Setup, etc.) is performed and the bus tha t e x changes data with th e Coordin ator [...]

  • Página 122

    99 Operating Modes Section 4-3 4-3 Operat ing Mode s 4-3-1 Operating Modes Coordina tor and Motion Control Mod ules have three operating m odes that control the user pr ogram. PROGRAM Programs are not ex ecu ted and p reparatio ns, such as i nitiali zing t he Syste m Setup and oth er se ttings, transf err ing pro grams, chec king pr ograms, f o rce[...]

  • Página 123

    100 P ow er OFF Operation Section 4-4 4-3-3 Operating Mode Changes and I/O Memory Note (1) T he cycle ti me will i ncrease by approximately 10 ms when the operatin g mode is changed from M ONIT O R to RUN mode. This wi ll not ca use a n error f or e xceeding the maxim u m cycle time limi t. (2) In Sync Mode, the Motio n Contro l Module operating mo[...]

  • Página 124

    101 P ow er OFF Operation Section 4-4 Note The above timing char t shows an example wh en the User-s et P ower OFF Detection Time is set to 0 ms. The following timing char t shows the Coordi nator Modul e power OFF opera- tion in m ore detai l. P ower OFF Timing Chart Fixed P ower OFF Detect ion Time The time it takes to det ect power OFF after the[...]

  • Página 125

    102 P ow er OFF Operation Section 4-4 Description of Operation P ower OFF wil l be dete cted if the 100 to 240 V A C power suppl y stays below 85% of the mi nimum rated voltage f o r the Fi x ed P ower OFF Detection Time (variable between 10 to 25 ms.) If the User- set P ower OFF Detectio n Time is set (0 to 10 ms) in the Syste m Setup, the reset s[...]

  • Página 126

    103 SECTION 5 Module Functions and Data Exchange This section describes the fu nctions common to bo th the Coordinator Module and Mo tion Control Modules an d the methods to transfer data between the Coordinator Module and Motion Control Modules. 5-1 Synchro nous Operation between Mo dules . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 5[...]

  • Página 127

    104 Synch ronous Operation betw een Modules Section 5-1 5-1 Synchr onous Op eration between Mo dules Sync and ASync Modes Sync Mode The Coordin ator Modul e and Mo tion Contro l Modules are nor mall y set to operate us ing the same c ycle t ime, i.e., sync hronously . S ynchrono us op era- tion is the default setting in the System Se tup. With this[...]

  • Página 128

    105 Data Exchange between Modul es Section 5-2 5-2 Data Exchange b etween Modules The three method s f or data exchange between C oordinato r and Motion Con- trol Modu les a re outlin ed in the following table. These m ethods can be use d simultaneo usly . Method Outl ine Descripti on 1. Cyclic ref resh Exch anges da ta each Coordi nator Mod ule cy[...]

  • Página 129

    106 Cyclic Re fresh Section 5-3 5-3 Cyc lic Refresh 5-3-1 Outli ne Status i nf or mation , general-p ur pose I/O, and other in f or mati on for each Motion Cont rol Mo dule in the Cy clic Refre sh Area of th e Coordina tor Modul e are refres hed ev e r y Coordi nator Mod ule cyc le (asy nchronous to the Mo tion Control M odule cycles ). As shown in[...]

  • Página 130

    107 Cyclic Re fresh Section 5-3 5-3-3 Cyc lic Refresh Area Details Coordinator Module Cyclic Refresh Area CIO 0100 to CIO 0109 in each Mot ion Control Mod ule is allocate d to ten words between CIO 0 100 to CIO 0139 in the Coordinator Modu le accor ding to the slot number for the Motio n Control Module. CM: Coord inator Mo dule MM: Moti on Co ntrol[...]

  • Página 131

    108 Cyclic Re fresh Section 5-3 5-3-4 Cyc lic Refresh Area Allocations CM: Coordina tor Module MM: Mo tion Contr ol Mod ule CIO 0105 00 to 07 MM Output Refres h Area (This MM to CM) Data from thi s area is al lo- cated to the Coordi nator Mod - ule's CM Inp ut Refresh Area (MM to CM). Rese rved 08 Res er ved 09 Cycle tim e ov er warning OFF: N[...]

  • Página 132

    109 Synchron ous Data Refre sh Section 5-4 5-4 Synchr onous D ata Refresh 5-4-1 Outli ne If Sync is s et under Sy nchroni zation be tween Modules in the Syst em Setup, each Mo dule w ill broadc ast the specifi ed data (2 types data, 4 words max.) t o the Synch ronous Data Link Bit Areas each Coordina tor Module cycle or spe c- ified sy nc cyc le. E[...]

  • Página 133

    110 Synchron ous Data Refre sh Section 5-4 Synchr onous Data Note (1) Synchron ous data for Coordina tor Modul es is fi x ed to gen eral-pur pos e (ladder ex ecution results ) data. (2) If the re is no synch ronous da ta to be sent, sel ect no data for Select Syn- chronou s Data in the System S etup to sh or ten the synch ronous dat a transfer time[...]

  • Página 134

    111 Synchron ous Data Refre sh Section 5-4 Note (1) Ad dresses ar e the same for the Coordinator Modul e and all Mo tion Con- trol Mod ules. (2) Wh en the sy nchronou s data is one-wor d data (an alog input values, ana- log output values, built-in I/O, etc .), the other word can be used for gen- eral-pur pos e data. 5-4-4 Setti ngs The f oll owing [...]

  • Página 135

    112 DM Data T ransfer Section 5-5 Syste m Setup ( Motion Contro l Modules) Selecting Sync hronous Data Select the type of sync hronous data to be s ent by each Motion Con trol Mod- ule in th e System Setup for that Mo tion Co ntrol Modul e, as shown in the f ol- low in g t abl e. Note The time f or synch ronous da ta exchange can be s hor tened by [...]

  • Página 136

    113 DM Data T ransfer Section 5-5 5-5-2 Settings Details The sett ings for using the DM data tran sf er fun ction are made in the Auxili ar y Area. 5-5-3 Executi ng DM Data T ransfer Step 1: Mak e Auxiliary Area Settings T o transfer data, the A uxiliar y Area settin gs, descr ibed ea rli er , must be made. The following settings are mad e in the A[...]

  • Página 137

    114 Cycle T ime Set tings Section 5-6 Step 2 : T u rn ON R equest Bit • T ransferring DM Data fr om the Coo rdinator M odule to a M otion Contr ol Module: T ur n ON the DM Wr ite Reque st Bi t (Coord inator M odule t o Moti on Cont rol Mo dul e) ( A530. 00) . • T ra nsf errin g DM Da ta fro m a Motio n Contr ol Modul e to the Co ordi nato r Mod[...]

  • Página 138

    115 Cycle T ime Set tings Section 5-6 System S etup Constant Cycle Ti me Exceeded Flag Constant Cycle Ti me Exceeded Error Clear Bit Constant Cycle Time Function in Sync Mode When in Sy nc Mode with a Sy nc Cycle Time se t f or the Coor dinator Mo dule cycle tim e (de f a ult), and the c onstant c ycle time function is used , the cyc le time for Mo[...]

  • Página 139

    116 Cycle T ime Set tings Section 5-6 Note When the c onstant c ycle ti me fun ction is en abled f or the M otion Cont rol M od- ule in A Sync Mode, the M otion Co ntrol Mo dule's cyc le time wi ll be co nstant. 5-6-2 W atch Cycl e Time Function If the real cycle ti me is lon ger than t he set watch c ycle time, operat ion will stop f o r all [...]

  • Página 140

    117 Cycle T ime Set tings Section 5-6 5-6-4 Clearing Constant Cyc le Time Exceeded Err ors When us ing th e const ant cy cle time function, nor m ally th e cycle time wi ll no longer s ta y constan t (i.e., will vary dep ending on the real cy cle time) if th e constan t cycl e time i s exceeded o nce. T o retur n t o a c onstant cycle time ev en if[...]

  • Página 141

    118 Operation Settin gs at Startup and Maintenan ce Functions Section 5-7 5-7 Operat ion Settin gs at S tartup and Main tenanc e Func tions This sec tion des cri bes the following ope ration setti ngs at st ar tup and mainte- nance fun ctions. • O perating mo de at star tup • Program protec tion • Rem ote programming and monitoring •F l a s[...]

  • Página 142

    119 Operation Settin gs at Startup and Maintenan ce Functions Section 5-7 P asswor d Protectio n 1,2,3. .. 1. Register a password either onli ne or offl ine. a. Select the Module in the Device T ype drop-d own menu and select Prope r ties from the View Menu. b. S e l e c t Pr otectio n from the PLC P roper ties Dialo g Bo x an d input the password.[...]

  • Página 143

    120 Diagnostic Function s Section 5-8 in the PLC prope r tie s and Window/PLC Memory Backup S tatus mus t b e sele cted from the View Menu. For nor mal transfer operations ( PLC/T ran sfer ), the backup status will be displayed in the transfer window after the tran sfer status for the program and other data. Nev er tur n OFF the FQM1 power dur- ing[...]

  • Página 144

    121 Diagnostic Function s Section 5-8 The number of rec ords is stored in binar y in the Error Log P ointer (A408). T he pointer is not in cremente d when m ore than 20 errors hav e occur red. Note The FQM1 d oes not supp or t a clock and the ti me data in the error log will alwa y s be 0101 . 5-8-2 F ailure Alarm Functions The F AL( 006) an d F AL[...]

  • Página 145

    122 Diagnostic Function s Section 5-8 Errors generated by F A L(006) can be clea red by e xecuting F A L(006) with F AL number 00 or performin g the error read/clear op eration from the CX-Pr ogram- mer . Operation of F ALS(007) When inp ut con dition B goe s ON, an error with F A LS number 3 is gen erated and A401. 06 (F A LS Error Flag) is tur ne[...]

  • Página 146

    123 SECTION 6 Coordinator Module Fu nctions This section describes the ser ial communications fun ctions, which are supported only by the Coordinator Module. 6-1 Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 6-1-1 Host Link Co mmunications . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 147

    124 Serial Comm unications Section 6-1 6-1 Serial Communications The FQM 1 supp or ts the following ser ial co mmunicatio ns func tions. Pr otocol Connecti ons Description P orts Pe ripheral RS- 232C RS- 422A Host Link Ho st co mpute r or OMRON PT ( Progra mmable T er mi nal ) V arious control comm ands , such as reading and writing I/O mem or y , [...]

  • Página 148

    125 Serial Comm unications Section 6-1 Note The CJ1 W - CIF11 is not insulate d and t he tota l transmi ssion d istance is 50 meters m ax. If the tota l transmissi on distan ce is greater than 50 m eters, use the insul ated NT - AL001 an d do not use the CJ1 W -CIF11 . If only the NT - AL001 is used , the total t ransmiss ion d istance is 500 me te[...]

  • Página 149

    126 Serial Comm unications Section 6-1 6-1-1 Host Link Communications The following table shows th e Host Link co mmunica tion fu nctions av ai lable in FQM1. Sel ect th e method tha t best suits your applicat ion. Pr ocedure A list of Host Lin k comma nds is provided next. Refer to the C-series Host Link Units Sy stem Manual (W143) for details on [...]

  • Página 150

    127 Serial Comm unications Section 6-1 Host Link Commands The follo wing table lists th e Host L ink comman ds. Refer to the C-ser ies Host Link Uni ts Syst em Manual (W143) for detai ls. Ty p e H e a d e r code Name Functi on Readi ng I/O memor y RR CIO ARE A REA D Reads th e con tent s of th e spe cifie d numbe r of C IO Area word s, starting fro[...]

  • Página 151

    128 Serial Comm unications Section 6-1 FINS Commands The following table lis ts the F INS commands . Refer to the C-ser ies H ost Li nk Units Sy stem Manual (W143) for details. Progra m ar ea access com- mands RP PROGRAM READ Reads the contents of the Coord i nator Module’ s user progr am area i n machine language (object c ode). WP PROGRA M WRIT[...]

  • Página 152

    129 Serial Comm unications Section 6-1 6-1-2 No-pr o tocol Comm unications (RS-232C P or t) No-prot ocol Mo de is used to se nd and recei v e data us ing the co mmunications por t TXD(236) an d RXD(235 ) I/O in stru ctions in the C oordinat or Modul e lad- der program, without us ing retr y proc essing, dat a conv e rsion, branch pr o- cessi ng bas[...]

  • Página 153

    130 Serial Comm unications Section 6-1 Pr ocedure Message Frame Formats Data can be plac ed betw een a start co de and en d code for transmi ssion by TXD(236) and frames with that sa me format can be received by RXD(235). When trans mitting wit h TXD(236), just the data from I/O memor y is transmitted , and when rec eiving wi th RXD(23 5), jus t th[...]

  • Página 154

    131 Serial Comm unications Section 6-1 Refer to the Instr uct ions Re ference Manual ( Cat. No . O011) f o r more detai ls on the TX D(236) and RXD(2 35) instr uctio ns. System Setup RS-232C Settings (Host Link Port Settings) Note The set tings are m ade us ing CX-P rogrammer V er . 5.0 @ men us. 6-1-3 NT Link (1:N Mode) With the F QM1, co mmunica [...]

  • Página 155

    132 Serial Comm unications Section 6-1 6-1-4 Serial PLC Links Overvie w T he FQM1 can be co nnecte d to a Se rial PLC Li nk by linking to a Ser ial PL C Master . (It canno t be conne cted by the Complete Link Method. ) Program-free data exchange can be achi e ved between the master and slav e by connecting a CJ1M CP U Unit as the m aster an d the F[...]

  • Página 156

    133 Serial Comm unications Section 6-1 Direction of Data T ransfer For e x ample, if the numbe r of link words is set t o 10, the CJ1M CPU Uni t (master) will broadca st CIO 3100 to CIO 3109 from its I/O memor y an d to CIO 00 80 to CIO 0089 in the I/O mem or y of each FQM 1 Controller (slaves). Each FQM1 Controller will send CIO 009 0 to CIO 0099 [...]

  • Página 157

    134 Serial Comm unications Section 6-1 Settings CJ1M (Master) PLC Set up Note (1) A uto maticall y alloc ates 10 words (A hex) when the def ault s etting of 0 hex is used. (2) Con nectio n to the F QM1 is not possible at 1 15,200 b its/s. FQM1 (S lave) System Se tup Note The set tings are m ade us ing CX-P rogrammer V er . 5.0 @ men us. 6-1-5 Seria[...]

  • Página 158

    135 Serial Comm unications Section 6-1 Note When the Se r ial Gatewa y fun ction is u sed, the FQM1 receives FINS com- mands (e ncapsulated W -ser ies or SM ARTSTEP com mands) via the RS-422A por t from NT -series PTs or person al comp uters a nd co n ver ts t hem to W- ser ies or SM ARTSTEP Ser vo Dri v er comm ands (r emoves the encapsulati on) a[...]

  • Página 159

    136 Serial Comm unications Section 6-1 6-1-6 No-pr o tocol Comm unications (RS-422A P or t) RS-422A Sett ings Note The set tings are m ade us ing CX-P rogrammer V er . 5.0 @ men us. Item Settings Default Enabled Mode No-proto col Serial Ga tew ay Each cycl e Dela y 0 to 9 9,990 ms (un it: 10 ms) 0 ms End code 00 to FF he x 00 he x Star t cod e 00 t[...]

  • Página 160

    137 SECTION 7 Motion Contr ol Module Functions This section describes th e v arious functio ns supported by the Motion Co ntrol Module. 7-1 Ov erview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 7-2 Interrupt Function s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 161

    138 7-6-10 Range Compar ison Bit Pattern Outputs from Puls e Output PVs . . . 182 7-6-11 Acceleration/Deceleration R ates in A CC(888) and PLS2(887) Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 7-6-12 PLS 2(887) Pul se Output Directi on Prio rity Mode . . . . . . . . . . . . . . 183 7-6-13 Pulse Outpu t Function [...]

  • Página 162

    139 Overview Section 7-1 7-1 Over view The FQM 1 Modules hav e the following func tions. Main functio n (Applic able Mo dules) Sub-functions Basic i nterrupt functi ons (FQM1-M MP21/MM A21) Input Int err upts (4 po ints) (Inpu t Interrupt Mod e or Counter M ode) Interval T imer Interrupt (1 point ) Sett ing rang e: 0. 5 to 99,99 0 ms Unit: 0.1 m s [...]

  • Página 163

    140 Interrupt Fun ctions Section 7-2 7-2 Interru pt Functio ns 7-2-1 Overvie w The Moti on Contro l Modu les supp or t the following in terr upts. Executing Interrupt Pr ograms in the FQM1 The programmi ng routin es that ar e e xecuted for all of the following interr upts are programmed as interr upt tas ks. Input Interrupts Inp uts to the Mo tion [...]

  • Página 164

    141 Interrupt Fun ctions Section 7-2 This situ ation can be a voided with the programming me thods shown in the f ol- lowing diagram. Note Only o ne inter rupt task numbe r is r ecorde d for pulse outp ut and high-spee d count er interr upts. Wh en a pulse ou tput or high -speed c ounter in terr upt is on standby (be cause a nother inter rup t is b[...]

  • Página 165

    142 Input Interru pts Section 7-3 The EI(694 ) instr uction d oes not enable all interr upts. If an i nterru pt was masked before all in terr upts were di sabled, that interr upt w ill stil l be ma sked after the prohibi tion on al l interr upts is clear ed. Cleari ng Recorded Interrupts The CLI(69 1) in str uction clear s the in terr upt ev e nt i[...]

  • Página 166

    143 Input Interru pts Section 7-3 Counter Mod e 7-3-5 Using Input I nterrupts Input Interrupt Mode Pr ocedure 1,2,3... 1. De ter mine whi ch input inte rru pt number wi ll be us ed. 2. Wire t he i nput. 3. Make the necess ar y Syste m Setup setti ngs . • S et the Interru pt Input Settings (set wh ether an i nterru pt will b e generated when the i[...]

  • Página 167

    144 Input Interru pts Section 7-3 Counter Mode Pr ocedure 1,2,3. .. 1. Deter mine wh ich inpu t inter rup t number wil l be used . 2. Deter min e the i nitial S V for the decrem enting count er . 3. Wire th e input. 4. Make the necess ar y Sys tem Setup settings. • Se t the In terrupt Input S ettings ( set wheth er an in terr upt will be generate[...]

  • Página 168

    145 Input Interru pts Section 7-3 7-3-6 Applicatio n Example This example s hows input in terr upt 0 and input interr upt 1 used i n interr upt input mod e and c ounter mo de, respectively . Before e xecuting the program, v er ify th at the following System Setup settings hav e been m ade: input 0 and i nput 1 both set to Interr uptio n (up ) . The[...]

  • Página 169

    146 Interval T imer Interrupts Section 7-4 The following timing char t shows the operation o f the program as it is ex e- cuted . Note (1) Cou nting con tinues ev e n whil e the inter rup t task is b eing ex ecuted. (2) T he input i nterru pts are m asked after th is point . 7-4 Inter v al Time r Interrupts 7-4-1 Applicab le Models 7-4-2 Overvie w [...]

  • Página 170

    147 Interval T imer Interrupts Section 7-4 7-4-5 Applicatio n Example In this e x ample, the i nter val timer is use d to generat e an inte rru pt ev er y 2.4 ms (0.6 ms × 4). The default System Setup s ettings are use d. (Input s are not refres hed for interr upt pr ocessing.) When the pro gram is being e xecuted, the interr upt task wil l be ex [...]

  • Página 171

    148 Pulse Inputs Section 7-5 7-5 Pulse Inputs 7-5-1 Applicab le Models 7-5-2 Outli ne The FQM 1-MMP21 and FQ M1-MMA2 1 Motion C ontrol Mo dules c an rece ive pulse inpu ts. The following table shows the p rocesses that can be perfor med by combining t he pulse i nput functi on with the hig h-speed counte rs to count pulse signals from a r otary enc[...]

  • Página 172

    149 Pulse Inputs Section 7-5 Counte r va lues Linear Cou n ter: 8000 000 0 to 7FFF FF FF he x Circul ar Counter: 0000 000 0 to Circular max imum count (he x) (The circ ular maxim um co unt is se t in the Sy stem Setup between 0000 0001 and FFFF FFFF h ex.) High-spe ed counter PV stor age locatio n s High-speed cou nter 1: A 601 (upper b ytes) and A[...]

  • Página 173

    150 Pulse Inputs Section 7-5 7-5-4 Pulse Input Specifications Item Specifi cation Number of pulse i nputs 2 inpu ts Note High-spe ed counte r 1 can be an RS-422A line-driv er inpu t or an inpu t with a v oltage of 24 VD C. High-spe ed counte r 2 can be an RS-422A line-driv er inpu t or an inpu t with a v oltage of 24 VD C, e x cept f or the FQM 1-M[...]

  • Página 174

    151 Pulse Inputs Section 7-5 Min imum r esponse pulse At 50 kHz At 500 kH z Operatio n ma y not b e reliab le abov e 50 kHz. Item Specifi cation OFF ON 50% OFF ON T1 T2 T4 T3 OFF ON 50% ON 50% OFF Encoder Inputs A and B W avef or m of Encoder Inputs A and B Signal rise and fall must be 3 µ s max. 50-kHz pulse with 50% duty ratio 20 µ s min. 10 µ[...]

  • Página 175

    152 Pulse Inputs Section 7-5 7-5-5 Latc h Input Specifications 7-5-6 Applicab le Instruct ions 7-5-7 Internal C ir c uit Configurations Pulse Inputs Phases A and B Phase Z Item S peci fic atio n Numb er of i nput s 2 Input v oltage 20.4 to 26.4 V Input response ON response: 3 0 µ s OFF respon se: 200 µ s Instruction Contr ol Descripti on (@)CTB L[...]

  • Página 176

    153 Pulse Inputs Section 7-5 7-5-8 Pulse Input Functi on Description The pulse inp ut functi on uses the high -speed co unters. The puls e input func- tion can be u sed t o monitor change s (m ov e ment) i n the high-sp eed coun ter PV (mo de 1) or chang es in the high-sp eed co unter fr equency (mode 2) . High-speed Counter Function Description In[...]

  • Página 177

    154 Pulse Inputs Section 7-5 Counter Operation (Numeric Ranges) The following two counter operation s are av ailable f or high- speed co unters 1 and 2, with the sp ecified counting ranges. Circular Counter With a Circu lar Coun ter , th e circul ar max imum count can b e set in the S ystem Setup, and when the count is incr emented beyond this maxi[...]

  • Página 178

    155 Pulse Inputs Section 7-5 ■ Phase-Z Signal (Reset Input) and Software Rese t The PV of th e high -speed cou nter is reset on the firs t risin g edge of th e phase -Z signal after the correspo nding Hig h-speed Counter Reset Bit (se e below) tur n s ON. ■ Softwa re Reset The PV is rese t when the Hig h-speed Counter Reset B it tur ns ON. The [...]

  • Página 179

    156 Pulse Inputs Section 7-5 ■ Range Comparison Method Up to 16 compar iso n ranges (lower and upper li mit values) and corres pondin g output bi t patter ns can be regist ered in the co mpar ison table. When the PV o f the count er firs t is with in the uppe r and lower limits of o ne of the ran ges for CTBL(882) ex ecu tion, the c orresp onding[...]

  • Página 180

    157 Pulse Inputs Section 7-5 Monitoring High-speed Counter Mov ement (Mode 1) This func tion mo nitors t he change in a hi gh-speed counter ’ s PV ( tra vel dis- tance) regular ly at t he pres et sampli ng pe riod . The samp ling peri od can b e set betwee n 1 and 9,9 99 ms. If the sa mpling tim e is set to 0, the chan ge will be s ampled once ea[...]

  • Página 181

    158 Pulse Inputs Section 7-5 High-speed Counter Movement (Mode 1) Spe cifications Note (1) Wh en usin g mode 1 with a circul ar cou nter , set th e maximum circula r val- ue to 10 or higher . (2) In mo de 1, the Mo tion Cont rol Modul e outputs the change as the differ- ence in the count m easured eac h sampli ng per iod. The o utput ch ange v ar i[...]

  • Página 182

    159 Pulse Inputs Section 7-5 Frequency M easureme nt (Mode 2) Specifica tions Latching a High-speed Counter’ s PV The prese nt counter value can be latc hed at t he risi ng edg e of the latc h signal input an d stored as the latch re gister value. Each ti me the counte r value is capture d, the latch reg ister value is ov erwr itten wit h the new[...]

  • Página 183

    160 Pulse Inputs Section 7-5 7-5-9 Pulse Input Functi on Pr ocedures High-speed Counter Pr ocedure 1,2,3. .. 1. Deter mine th e Input Mode, reset m ethod, and N umer ic Ran ge. • Cou nting Spee d: 50 k Hz or 50 0 kHz • Input Mode: Pha se Differential, In crement/ Decremen t, or Pulse + Dire c- tion • R eset meth od: Phase Z and s oftware rese[...]

  • Página 184

    161 Pulse Inputs Section 7-5 Mode 1 Pr ocedure 1,2,3. .. 1. Deter mine the Counting Speed, In put Mode, Reset Metho d, and Counter Operation . • Cou nting Spee d: 50 k Hz or 50 0 kHz • Input Mode: Pha se Differential, In crement/ Decremen t, or Pulse + Dire c- tion • R eset meth od: Phase Z and s oftware rese t, or Soft ware reset • Cou nte[...]

  • Página 185

    162 Pulse Inputs Section 7-5 • Mo nitor the high -speed counter m ov e ment value in A604 a nd A60 5 (high- speed co unter 1) or A606 and A6 07 (high -speed c ounter 2 ). Pr ocedure 1,2,3. .. 1. Set Coun ter movements (mode 1) in the System Setti ngs ( P ulse Inpu t, Coun ter da ta di spla y ). 2. T ur n ON the M easurem ent Sta r t Bit (A 610.02[...]

  • Página 186

    163 Pulse Inputs Section 7-5 Examp le When the P V reac hes 2,500 hex, interr upt task 10 is sta r ted . When the P V reac hes 7,500 hex, interr upt task 11 is sta r ted . When the P V reac hes 10,00 0 hex, interrup t task 12 is star ted. Target value High-speed Counter PV Time 3 10000 Target value 2 7500 Target value 1 2500 Interrupt tasks PV rese[...]

  • Página 187

    164 Pulse Inputs Section 7-5 Exam ple 2 : High-speed Counter Range Compa rison & Bit P att ern Output In this example, pulse inp ut 1 operat es a high-sp eed co unter , th e high-spee d count er PV is compar ed i n a range compar ison , and corre sponding bit patte r n is outpu t inte rn ally wh en the PV is wit hin a specifi ed range. The i nt[...]

  • Página 188

    165 Pulse Inputs Section 7-5 Range High-speed Counter PV Time Content of A612 3 10000 Range 2 7500 Range 1 2500 A612: 0001 hex 0002 hex 0004 hex 0008 hex 0001 hex 0002 hex 0004 hex 0008 hex 0001 hex PV reset on phase-Z signal PV reset on phase-Z signal 15 14 13 12 11 10 9 8 6 5 4 3 2 71 0 0000 00000 00 1 0000 0 00 0 0 01 0 0000 0 00 0 1 00 0 Intern[...]

  • Página 189

    166 Pulse Inputs Section 7-5 Exam ple 3 : Latching High-speed Counter PV In this example, pulse inp ut 1 operat es a high-sp eed co unter , th e high-spee d counter PV is latche d, and the cap tured h igh-speed c ounter PV is read. When the L atch Inpu t 1 Ena ble Bit is ON and t he latch inp ut 1 is tur ned OFF → ON ex ter nal ly , the hi gh-spe[...]

  • Página 190

    167 Pulse Output s Section 7-6 7-6 Pulse Outputs 7-6-1 Applicab le Models 7-6-2 Outli ne The FQM 1-MMP21 Motion Co ntrol Mo dule p rovides 2 pul se output s. The pulse ou tputs can be used for the following functi ons. Note Set the puls e output o peration mode f or each o utput in S ystem Set up (Pulse Out put T ab P age) . Note (1) T he process e[...]

  • Página 191

    168 Pulse Output s Section 7-6 7-6-3 Specifi cations Item S peci fic atio n Acceler ation/ decelera - tion None Y es T ra pezoid None None (ac celera tion or decele ration ) Y es with separ ate accele ration a nd deceler ation rate s Instruct ions f or inde- pendent -mode posi- tioning PULS(886 ) + SPED(885) PULS(886) (Elec- tronic Cam Contr ol) PU[...]

  • Página 192

    169 Pulse Output s Section 7-6 7-6-4 Pulse Output Specificatio ns All Pulse O utputs Except f o r One-shot Pulse Outputs One-shot Pulse Outputs Numbe r of out put puls es 1) Rela tiv e pulse outp ut: 0000 000 0 to FFFF FF FF he x 2) Absolu te linear pulse output: 8000 000 0 to 7FFF FFFF h ex 3) Absolu te circular puls e output: 0000 000 0 to Circul[...]

  • Página 193

    170 Pulse Output s Section 7-6 7-6-5 Applicab le Instruct ions The following se ven instr ucti ons can be us ed to contro l pulse outp uts. The relatio nship between the i nstr uction and the type s of pul se outp ut that is po s- sible is al so list ed in th e following table. Instructio ns Ineffective during Pulse Output Once pu lse output has be[...]

  • Página 194

    171 Pulse Output s Section 7-6 7-6-6 Pulse Output Function Details Overvie w Pu lses ar e output i n ind ependent m ode or c ontinuous m ode. In ind ependent mode, the number of ou tput puls es is spec ified i n advance. In conti nuous mode, the number of outpu t pulses is not s pecifie d in advance. Note When puls es are b eing output by an SPED(8[...]

  • Página 195

    172 Pulse Output s Section 7-6 Pulse output operation mo de (Only in Independent M ode) Description Compatib le instructions (1) Relativ e pulse ou tput P ositions to a relativ e positio n from the present po sition. The nu mber of ou tput puls es (actual o utput amou nt) in the spe cified di rection is the targe t numbe r of pulse s. • The frequ[...]

  • Página 196

    173 Pulse Output s Section 7-6 Pulse Output Operations The following table shows the operations that can be performed with the pul se output functi on. Mode Frequency changes Des cription Proc edure Example Inst ruc- tions Settings Contin u- ous mode (Speed control) The f requency is changed in steps (u p or down) dur ing puls e out put. SPED(88 5)[...]

  • Página 197

    174 Pulse Output s Section 7-6 Indepen - dent mode (P osition - ing) Puls e out put starts at the specif ied fre- quen cy and stop s when the specif ied num- ber of pu lses hav e been ou t- put. (The numbe r of pulses cannot be chan ged dur- ing puls e out- put.) PULS(88 6) ↓ SPED(88 5) No . of pulses , Relativ e or abso lute oper ation, Po r t ,[...]

  • Página 198

    175 Pulse Output s Section 7-6 Note With ACC(888) and PLS2(88 7), the ac celeratio n/decele ration rate’ s speed -change cycle c an be s et to 2ms or 1 ms. Also , the accelera tion/de cel- eration rate can be s et between 1 Hz and 9.9 99 kHz. Refer to 7-6- 11 Acceler - ation/Dec eleration Ra tes in ACC(888) and PLS2(8 87) Instr ucti ons fo r more[...]

  • Página 199

    176 Pulse Output s Section 7-6 Form ula: Actual f requenc y = Clock frequ ency ÷ INT (clock frequency /target frequ ency) Note INT (clock freq uency /target freq uency ) is th e dividi ng ratio . The difference between the ta rget frequ ency and the actual frequen cy increa ses at hi gher freq uencies. The following tables shows examples for a clo[...]

  • Página 200

    177 Pulse Output s Section 7-6 Set the puls e output ope ration mode to 1 sh ot in advance in the Syste m Setup, as shown in the following table. Note A pulse ou tput por t that is bei ng used for one-shot pul se outputs cannot be used f or any other pulse output functions. The elapsed ti me of the one-sho t pulse output is stored in 8-di git he xa[...]

  • Página 201

    178 Pulse Output s Section 7-6 7-6-8 Time Measure ment with the Pulse Counter The one-s hot puls e output function can be us ed to cr eate a high-prec ision pulse coun ter timer. T o measure t ime with h igh-pr ecision , star t the tim er by e xecutin g the STIM(980) instr uctio n with C1 = 000 B or 000C an d C2 = 000 0, and stop th e timer by ex e[...]

  • Página 202

    179 Pulse Output s Section 7-6 (3) If th e STIM( 980) instr u ction is e xecuted again to r estar t an ope rating tim- er , the timer value will be reset to 0 and th e timer w ill restar t. Pulse Counter Timer Specifications 7-6-9 T ar g et-va lue Comparison Interrupts fr o m Pulse Output PVs An inter rup t task c an be ex ecuted wh en the pulse o [...]

  • Página 203

    180 Pulse Output s Section 7-6 Linear Mode Operation A target value can be set at a d esired p ulse outp ut PV to ex ecute an i nterr upt task when the target v alue is reache d. An ACC(888) or SP ED(885) instr uctio n can be programmed i n the interr upt tas k to perform spee d control at that tar- get value. Frequency (speed) Target value 5 Targe[...]

  • Página 204

    181 Pulse Output s Section 7-6 D00100 0 0 3 2 D00101 0 7 D 0 D00102 0 0 0 0 ACC #1 #0 D00100 @CTBL #3 #0 D00000 3.00 D00000 0 0 0 5 D00001 0 5 0 0 D00002 0 0 0 0 D00003 0 0 0 1 D00004 2 0 0 0 D00005 0 0 0 0 D00006 0 0 0 2 D00013 0 0 0 0 D00014 0 0 1 0 D00015 0 0 0 5 P_On END ACC #1 #0 D00200 D00200 0 0 5 A D00201 7 5 3 0 D00202 0 0 0 0 P_On END A62[...]

  • Página 205

    182 Pulse Output s Section 7-6 Circ ular Mode Operation A speed contr ol patt er n can be r epeate d in cont inuous spee d cont rol to c on- trol a se rie s of repet itive operations at specif ic posi tions. For e xampl e, the f ol- lowing dia gram shows an ax is that re peatedl y switches to low-spee d operation a t one pos ition and switches to h[...]

  • Página 206

    183 Pulse Output s Section 7-6 Setting the Spee d-change Cycle The speed c hange cyc le f or th e A CC(888) and PLS 2(887) ins truc tions is specifi ed by setti ng the O N/OFF bit sta tus of A 628.07 before e xecuting the A CC(88 8) or PLS2 (887) i nstruc tion. 2-ms Cycle Execute ACC(888) o r PLS2(88 7) with A 628.07 OF F . 1-ms Cycle Execute ACC(8[...]

  • Página 207

    184 Pulse Output s Section 7-6 Setting the Pulse Output Direction Priority Mode The pul se outpu t direc tion pr io rity mode for the PLS2(8 87) ins truc tion is spec- ified by se tting the ON/OF F bit sta tus o f A628.14 before ex ecut ing the PLS2 (887) ins tru ction. Note The pr ior ity mo de settin g in A 628.14 a pplies t o both p ulse outp ut[...]

  • Página 208

    185 Pulse Output s Section 7-6 • Se t the clock spee d for pulse outpu ts 1 an d 2. 4. Create the necessar y ladder programming. • U se PULS (886) to se t number of o utput pu lses for the sp ecified por t. • U se SPED (885) to star t pulse output contro l with out acce leratio n/deceler - ation fro m the spec ified po r t. • Us e INI(880) [...]

  • Página 209

    186 Pulse Output s Section 7-6 • U se PR V(881) to read th e pulse o utput P V of the sp ecified por t. Pulse Outputs without Acceleration/Dece leration (PULS(886) : Elect r onic Cam Control) This proc edure shows how to us e the PUL S(886) ins truc tion’ s electr onic ca m control function to g enerate a single -phase pu lse out put without ac[...]

  • Página 210

    187 Pulse Output s Section 7-6 The PULS (886) ins truc tion (Elec tronic Cam C ontrol ) can be used to im me- diately change the pulse output value f or abs olute posi tioning or the pul se output freq uency for speed cont rol in re sponse to the high-s peed coun ter PV (e.g., for a rotational angl e). Thi s f eature al lows the Motion Control Modu[...]

  • Página 211

    188 Pulse Output s Section 7-6 • Sele ct puls e outpu t 1 or 2 . 2. Wire th e output. • O utput: CW an d CCW • O utput power supply: 5 V DC 3. Make the ne cessar y Syste m Setu p setting s (Pul se Outpu t T ab Page − Op- eration Mod e). • Se t the p ulse ou tput operati on mode ( in the Pulse O utput T ab P age − Operation Mode) to rela[...]

  • Página 212

    189 Pulse Output s Section 7-6 • Se t the p ulse ou tput operati on mode ( in the Pulse O utput T ab P age − Operation Mode) to Calculation (tim e measureme nt) . 3. Create the necessar y ladder programming. a. Use STIM (980) with C1 = #000 B or #000C and C2 = #0000 to star t measur ement. b . Use STIM( 980) wit h C1 = #000B or #000C and C2 = #[...]

  • Página 213

    190 Pulse Output s Section 7-6 Changing the Frequency in Steps In this ex ampl e, the SPED (885) i nstr uction is use d to cha nge th e speed of a pulse ou tput from por t 2 from a frequenc y of 3,000 Hz to 50,000 H z. In this case, the pulse ou tput is a CCW c ontinuou s mod e output . Note Speed con trol timi ng will be ac curate when frequ ency [...]

  • Página 214

    191 Pulse Output s Section 7-6 Note The pul se output can b e stop ped by e xecuting ACC(888) with a dece leratio n target frequen cy of 0. Howe ver , s ince the puls e output canno t be stopped at the co rrect number of pulse s, the dece leration ta rget freq uency should n ot be set to 0 if it is nece ssar y to output a precise number of pulses. [...]

  • Página 215

    192 Pulse Output s Section 7-6 PULS #1 #2 D00000 P_On MOVL &200000 D00002 END P_On APR D01000 A600 D00000 D00000 D00001 D00002 D00003 D01000 1 0 0 4 D01001 0 3 E 7 D01002 0 0 0 0 D01003 0 0 0 0 D01004 0 0 C 8 D01005 0 0 0 0 D01006 0 0 0 0 D01007 0 1 9 0 D01008 0 F A 0 D01009 0 0 0 0 D01010 0 2 5 8 D01011 0 F A 0 D01012 0 0 0 0 D01013 0 3 2 0 D0[...]

  • Página 216

    193 Pulse Output s Section 7-6 Using PLS2(887 ) for T rapezoi dal Accelerati on/Deceleration In this example, the axis is accelerated in the CW direc tion at 500 Hz/2 ms, the accel eration/decel eration rate is red uced to 300 Hz/2 ms, and th e pulse output is stopp ed after 30 0,000 p ulses have been output. After 5 s, the same trapezoidal accele [...]

  • Página 217

    194 Pulse Output s Section 7-6 get F requenc y Not R eached Fla g (A624. 02 or A62 5.02) wil l tur n ON at the peak of th e tr iangula r patter n an d tur n O FF when de celera tion is c ompleted. One-shot Pulse Out put Function Example In this ex ampl e, STIM(980) is used to ge nerate a 1 .5-ms o ne-shot pulse o ut- put from p ulse outp ut 1. Puls[...]

  • Página 218

    195 Pulse Output s Section 7-6 (3) Us e this fun ction for position ing. Allo wed Star tup Conditions for P ulse Ou tput Operations (with Output Stopped) The follo wing ta ble shows when an independ ent mode pulse outpu t (SPED(88 5) indepen dent mode, A CC(8 88) indep endent acce leration mod e, or ACC(888) independe nt deceleration mode) can be s[...]

  • Página 219

    196 Pulse Output s Section 7-6 PULS(886) Absolute Pulse Output in Progress Pulse Ou tput Oper ation Mode (Absolute Linear) Limitations PLS2(887 ) Startup Conditions when other Instructions are being Executed Note (1) Can cel the number of output pu lses set with PULS(8 86) and then e xecute PLS2 (887). (2) Executio n is OK whe n the numb er of outp[...]

  • Página 220

    197 Pulse Output s Section 7-6 Note Cancel the number of output pu lses set with PULS(886) and then ex e cute PLS2 (887). Cases (1), (2 ), and (3) Case (4) Case (5) PULS (886) No absol ute output Y es Y es --- Y es N o Ye s Ye s Ye s Ye s ( S e e note.) PULS (886) Abso lute output No No No No Case (5) No No No No No ACC( 888) Acceleration + continu[...]

  • Página 221

    198 Pulse Output s Section 7-6 Note The pul se output w ill stop. After the ax is stop s, it must be rest ar ted . Cases (6), (8 ), (9), and (10) • Star ting ins truction: A CC(888) (continuou s or indepen dent), accele ration, relativ e • Star ting ins truction: A CC(888) (co ntinuou s or independen t), acceleratio n, absolute linear • Star [...]

  • Página 222

    199 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 • Star ting ins truction: A CC(888) (continuou s or indepen dent), dece leratio n, absolu te circu lar 7-7 Functions for Serv o D rivers Compatible with Absolute Encoders 7-7-1 Applicab le Models The examples in th is secti on demons trate the func tions wit h high[...]

  • Página 223

    200 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 7-7-3 Data Format of Absolute Encoder Output The f or mat of dat a from a Ser vo Driver compatible with an abs olute enco der suppor ted by the Motio n Control Mod ule is a s f ollows: Serial Data Spe cification Data Format Note (1) T he “P” is in AS CII. It is 5[...]

  • Página 224

    201 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 •E x a m p l e 1 A value between 0 a nd 65,534 i s set in the Se r vo Driver , the S ystem Setup’ s Coun ter 1 C ounter ope ration is se t to an a bsolu te linear (CW − ) counter , an d the Ser vo Driver’ s rev erse rotation mode se tting (Pn000. 0) is set to[...]

  • Página 225

    202 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 Absolute Circular Counter The ab solute enc oder’ s pulse i nf or mati on is counted using a cir cular coun ter . (Only the initi al in crementa l pulse (angle) reading is u sed as th e abso lute v alue.) 7-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A[...]

  • Página 226

    203 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 P s : Absolu te offset Note With an a bsolute circular counter, the absolut e number of rotations presen t v alue (A604/A 605) is not used ; only the initi al increme ntal pu lses ar e used. The initia l increme ntal pulses are the data of an amount treated as the an[...]

  • Página 227

    204 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 7-7-9 Related Areas Syste m Setup T ab page Functi on Details Time when setting beco mes effect ive Pulse Input Coun ter 1 P ulse i nput mode 0 he x: Phase diff erential x1 1 he x: Phase diff erential x2 2 he x: Phase diff erential x4 3 he x: Increment /decrement pul[...]

  • Página 228

    205 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 A uxiliary Area Pulse input Counter 1 Max. circula r va l u e When the co unter operati on is set to circu lar counter , this pa rameter s ets the m aximum val ue in the circu- lar coun ter . Setting r ange: 0000 0001 to FFFF FFF F he x At powe r ON Absolute encode r[...]

  • Página 229

    206 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 A606 and A607 00 to 15 High-speed Counter 2 Count er oper ation • Absol ute linear (CW − ) • Absol ute circul ar • Absol ute linear (CW+) Absolute No . of rotations PV The sam e as f or high-spee d counte r 1, e xcept that the high-spe ed counter frequen cy m[...]

  • Página 230

    207 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 7-7-10 Overview of Absolute Encoder Output Data Acquire Behavior of the Serv o Driver Compat ible with an Absolute Encoder The SE N signa l being tu r ned ON, the Ser vo Driver behaves in the following manner : 1,2,3. .. 1. The Ser vo Driver transmits the sta te of t[...]

  • Página 231

    208 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 After a sho r t tim e has pass ed to allow the Se r v o Dr iver's output to stabil ize, tur n ON the H igh-spe ed Count er Star t Bit (A610 .00) from the la dder program. The encod er's statu s (multi-tur n data ), which was acqui red when the SE N sig- nal[...]

  • Página 232

    209 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 7-7-11 Timing Char t of the Functions for Serv o Driver s Co mpatibl e with Absolute Encoders 7-7-12 Sample Progra m s (Connecting an OMRO N W -series Serv o Driver) Pr ogram Description 1,2,3. .. 1. With the Motio n Control Mo dule set to MO NIT OR mode, tur ni ng O[...]

  • Página 233

    210 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 Note Adjust the tim er value of T IMH(15) instr ucti on (10 m s tim er) to m atch to th e system requir ements ( such as t he abs olute encoder's resol ution se tting). When mor e prec ision i s require d, use the TMHH (540) ins truc tion (1 ms timer ). 000000 ([...]

  • Página 234

    211 Function s for Serv o Drivers C ompatible with Absolute Encode rs S ection 7-7 Note Adjust th e timer value of TIMH( 15) instr uctio n (10 ms ti mer) to match the sys- tem requi rements (s uch as the abs olute enc oder's r esolution s etting). W hen more prec ision i s requi red, use T MHH(540) in str uction (1 ms timer ). 000005 (000026) [...]

  • Página 235

    212 V irtual Pulse Outpu t Function Section 7-8 7-8 Vir tual Pulse Outp ut Function 7-8-1 Applicab le Models 7-8-2 Overvie w The AX IS instr uction a llows the ex e cutio n of vir tual puls e output wit h trapezoi- dal accele ration/dec eleration. The AX IS instr u ction ex ecutes t he pul se output with trap ezoidal ac celeration / decelerat ion i[...]

  • Página 236

    213 V irtual Pulse Outpu t Function Section 7-8 7-8-3 AXIS Instru ction (For Vir tual Pulse Outputs) Overvie w T he AXIS i nstr uction i s used to generate a vir tual pu lse ou tput with trap ezoi- dal accele ration/dec eleration. The opera nds for the AXIS in str uction are a tar get po sition s pecifie d in puls es or as an ab solute position , a[...]

  • Página 237

    214 V irtual Pulse Outpu t Function Section 7-8 Description • Use th e AXIS i nstr uction w ith an input conditio n that is ON for one cy cle. AXIS ca nnot be used as a differentiate d inst ruct ion (the @ pre fix is no t suppo r ted ). • AX IS is ex ecuted at t he r ising e dge of the i nput co ndition. If the inpu t remains ON, the vir tual p[...]

  • Página 238

    215 Analog Input Functions Section 7-9 7-8-4 Applicatio n Example P ositioning or Speed Contro l Using a Virtual Axis The inte rn al pulse c ount can b e treated as a vir tu al axis pos ition in orde r to perform el ectronic ca m operatio n on the real axis operation with si mple cur ve approximation. First, the AXI S instr uctio n is ex ec uted to[...]

  • Página 239

    216 Analog Input Functions Section 7-9 The PR V(881) instr uctio n can also be used to read the latest analog i nput v alue through i mmedi ate refr eshing. A nalog si gnals ca n be in put fro m pres- sure sen sors, posit ion meters, or sens ors that requ ire high- speed inp ut pro- cessi ng such as a displ acement s ensors /end-meas uri ng senso r[...]

  • Página 240

    217 Analog Input Functions Section 7-9 7-9-3 Analog Input Function Specificatio ns Note The following diagram is pr ovided as a reference example. This e x ample shows the inpu t respon se (step response) character istic s of an inp ut when th e ex ter nal input signa l is chang ed in a ste p patter n. In this case, the input range is − 10 to +10[...]

  • Página 241

    218 Analog Input Functions Section 7-9 7-9-4 Related Areas and Settings Syste m Setup T ab page Functi on Setti ngs Time when se tting beco mes effec tive Analog In put/ Output Both inpu ts and outp uts Input method 0 he x: END refres h 1 hex: Immediate refresh (Re fresh with PR V(881).) At pow er ON and start of opera tion Output method 0 he x: EN[...]

  • Página 242

    219 Analog Input Functions Section 7-9 A uxiliary Area W o rd Bits Function Setti ngs C ontr olled by A550 0 0 to 15 Analog Input PV Contains the value in put from t he analog in put por t (using eith er the END refresh or immediate refre sh) in 4- digi t hexadec imal . The PV ra nge depen ds on the input ra nge: • 0 to 10 V : FE70 to 20D0 h ex ?[...]

  • Página 243

    220 Analog Input Functions Section 7-9 A562 00 Analog Out- put 1 F lag s User Adjus tment Completed Initial v alue is 0. Set to 1 if user perf or ms offset/gai n adjustment and Returns to f actory def ault setting of 0 if adj ustment value is cl ear ed. Motion Control Module 01 to 03 Reserved --- 04 O perat ing ON: ON whil e the ana log outp ut is [...]

  • Página 244

    221 Analog Input Functions Section 7-9 A570 0 0 Adjustm ent Mode Co m- mand B its (Eff ective o nly when A575 is 5A5A hex.) Adjustm ent Enab le Analog In put OFF: Adjustment disab led. ON: Adjustment e nabled. When thi s bit is t urned from OFF to ON, th e defa ult v alue (offset o r gain v alue) corre- spondin g to the sele cted I/O signal range i[...]

  • Página 245

    222 Analog Input Functions Section 7-9 7-9-5 Applicab le Instruct ions With END Refreshing Rea d the analo g inpu t PV (A5 50) using an instr uctio n such a s the MO V instr u ction . With Immediate Refreshing The data is acqu ired imm ediate ly with th e PR V( 881) in str uction . 7-9-6 A/D Con ver sion V alue When a signal i s input tha t exceeds[...]

  • Página 246

    223 Analog Input Functions Section 7-9 Signal Range: 1 to 5 V and 4 to 20 mA Signal Range: 0 to 5 V 7-9-7 High-speed Analog Sampling (FQM1-MMA21 Only) Overv iew When an FQM 1-MMA2 1 Motion Cont rol Mo dule is be ing used, th e Motion Control Mo dule ca n be synchron ized with pul se inputs from the encod er to collec t analo g data. This sampl ing [...]

  • Página 247

    224 Analog Input Functions Section 7-9 Once the sa mpling of ana log inpu t v alues sta r ts, the number of v alues sp eci- fied with the circ ular value (up to 32,76 7 sample s) are stored i n the DM Area begin ning at the spec ified DM addre ss. The s ampli ng operatio n will be com- pleted whe n the s pecified number of sample s are al l stored [...]

  • Página 248

    225 Analog Outputs Section 7- 10 3. The high-s peed analog sa mpling func tion stops when the specifi ed num- ber of hi gh-spee d analog i nput data s ample s hav e been collected . The following diagram shows h ow this method can b e used to colle ct dis- placeme nt data f rom a par ticular workpi ece posi tion. The sam pled data can be processe d[...]

  • Página 249

    226 Analog Outputs Section 7- 10 7-10-3 Analo g Output Fun ction Sp ecifications Analog Outputs Item S peci fic atio n Outpu t s ignal s V olt age out puts Numbe r of analo g outputs 2 outputs Output ra nges Se lect each output ’ s signal range in the Sys tem Setup (Analog Inpu t/Output T ab P age, Output 1 Setting an d Output 2 Setting): –10 t[...]

  • Página 250

    227 Analog Outputs Section 7- 10 Note (1) T he ov erall ac curacy is the ratio of accuracy to the ful l scale. (2) T he follo wing table shows the status of the anal og outputs if there is a fa- tal error in the M otion Con trol Modu le or the Coor dinator Module is i n CPU stand by status. If there is an error in the Sys tem Setup sett ings for th[...]

  • Página 251

    228 Analog Outputs Section 7- 10 Specified Output V alues and Analog Output Signals 7-10-4 Applicable I nstructions END Ref reshin g Set the analo g output values in A5 60 and A56 1 usin g an instr uct ion such as the M O V instructio n. With Immediate Refreshing Outputs can be co ntrolle d with SPE D(885) and ACC(888) as out lined bel ow . SPED(8 [...]

  • Página 252

    229 Analog Outputs Section 7- 10 F: Analog o utput value Specifi es the tar get an alog ou tput value as a 4-digit hexadecimal value. Note The spec ified analo g output value must be within the allowed range liste d abov e. If an out- of-range outpu t value is spe cified, a n error wil l occur a nd it will be necess ar y to switch to PROGRAM mod e [...]

  • Página 253

    230 Analog Outputs Section 7- 10 7-10-6 Application Example Outputting the Analog Output V alue Stored in the A uxiliary Area In this example, the M otion Contr ol Modul e outputs th e anal og output value stored i n A560 fr om analog output 1. Set the following Sy stem Setu p settings : • An alog In put/Output T ab P a ge − Outp ut 1: Se t the[...]

  • Página 254

    231 Analog Outputs Section 7- 10[...]

  • Página 255

    232 Analog Outputs Section 7- 10[...]

  • Página 256

    233 SECTION 8 Connecting the CX-Programmer This section e x plains ho w to connect a per sonal computer r unning the CX-Program mer to the FQM1. 8-1 CX-Progr ammer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 8-2 Connecting th e CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 257

    234 CX-Programmer Section 8-1 8-1 CX-Pr ogrammer Connect the CX-Programme r Suppor t Software to the Co ordin ator Modu le to create a nd mon itor programs for all Modul es. While mo nitor ing the l adder pr o- grams in M otion Control M odules, i t is po ssible to i nput op eration cond itions f o r monito ring the I/O of the Coordi nator Mo dule,[...]

  • Página 258

    235 Connecting the CX-Program mer Section 8-2 8-2 Connecting th e CX-Pr ogrammer 8-2-1 System Configurat ion Connecting a P ersonal Comput er Running Suppor t Software Connecting to the P eripheral P or t Connecting to the RS-232 C P ort Pr ogramming Software Note When the CX-Pr ogrammer is us ed with an FQM1 , the CX-Programmer ver- sion must be V[...]

  • Página 259

    236 Connecting the CX-Program mer Section 8-2 Connecting through the USB port with a USB-Serial Con ver sion Cable Connecting to the P eripheral P or t Cable Connecti on Diagram Usin g a CS 1W-CN226/ 626 Cable Using an RS-232C Cable (XW2Z-200S-CV , XW2Z- 500S -CV , XW2Z -200 S-V , or XW2Z-500S-V) Note The con nection m ust be a Host Link con nectio[...]

  • Página 260

    237 Connecting the CX-Program mer Section 8-2 Connecting to the RS-232 C P ort Connection Methods (Using a USB-Serial Con version C able) Cable Connecti on Diagram Using an RS-232C Cable (XW2Z-200S-CV , XW2Z- 500S -CV , XW2Z -200 S-V , or XW2Z-500S-V) Note The con nection m ust be a Host Link con nection. CS1W-CIF31 USB type A plug, male D-sub Conn[...]

  • Página 261

    238 Connecting the CX-Program mer Section 8-2 8-2-2 CX-Pr ogrammer Connecting Cables Note When conn ecting one of these ca bles to the Coordinator Module’ s RS-232 C por t, alwa ys touc h a groun ded me tal objec t to discharge any electro static charge from the b ody before touch ing the ca ble connector . The XW2Z - @@@ S-CV C ables are equipp [...]

  • Página 262

    239 Connecting the CX-Program mer Section 8-2 Connectin g an RS-232 C Cable to t he Peripheral P or t The following conne ction configurati ons can be used when conn ecting an RS- 232C cable to th e Coordin ator Modu le’ s peri pheral por t. Connecting an RS-232 C Cable to the RS -232C Port The following conn ectio n config uration ca n be u sed [...]

  • Página 263

    240 Connecting the CX-Program mer Section 8-2[...]

  • Página 264

    241 SECTION 9 Error Pr oc essing This section provides information on identifying and correcting err ors that occur during FQM1 operation. 9-1 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 9-2 Error Pr ocessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 265

    242 Error Log Section 9-1 9-1 Err or Log Each time tha t an err or occ urs in th e FQM 1, the error in f or mati on is s tored i n the Erro r Log Area star ting at A1 00. The error informatio n include s the error code (sa me code st ored in A400) and error con tents. Up to 20 record s can be stored i n the Er ror Log. Err ors Generated b y FA L ( [...]

  • Página 266

    243 Error Processing Section 9-2 9-2 Err or Pr ocessing 9-2-1 Error Categories Errors in the FQM1 can be bro adly div ided int o the following thr ee categor ies. 9-2-2 Err or Inf ormation There ar e basi cally f our so urce s of i nformation on er rors that h av e occur red: • T he LED ind icators on the fr ont of the Co ordinato r and Moti on C[...]

  • Página 267

    244 Error Processing Section 9-2 9-2-3 Err or Cod es E R R O NO F F O F F O NF l a s h i n g - - - - - - - - - PRPHL --- --- --- --- --- OFF --- --- COMM1 --- --- --- --- --- --- OFF --- COMM2 --- --- --- --- --- --- --- OFF Classifi cation Erro r code Error nam e P age F atal syste m errors 80F1 Memory error 244 80C0 I/O bus error 244 80CE No End [...]

  • Página 268

    245 Error Processing Section 9-2 9-2-4 Err or Processing Flo wchart Use the f oll owing flowchar t as a guide for error processi ng with the CX-Pr o- grammer . Yes Lit Is RUN indicator lit? Not lit Is ERR indicator flashing? Flashing Fatal error Not lit Is POWER indicator lit? Lit Error occurred during operation Proceed to 9-2-6 Power Supply Check.[...]

  • Página 269

    246 Error Processing Section 9-2 9-2-5 Err or T ables The following tables s how the error s whic h can oc cur in the FQM 1 and indi- cate t he probable c ause of the error s. Note Always confir m the safety of conne cted equ ipmen t before turni ng the power supply OFF o r ON. CPU Error s If the f ollowin g LED indicato r conditio n appears dur in[...]

  • Página 270

    247 Error Processing Section 9-2 message and related Auxiliar y Ar ea flags /words an d correc t the cause of the error . Errors are liste d in o rder of im por t ance. When two o r more errors o ccur at th e same tim e, the more ser ious error’ s erro r code wi ll be recorded in A4 00. The I/O memo r y will be c leared wh en a fatal error other [...]

  • Página 271

    248 Error Processing Section 9-2 When operati on is stopp ed, all outputs will be tur ned O FF . The Ser vo Dr iver that is in Ser vo ON state for outp uts from the FQM 1 wil l switch to Se r vo OFF state. Fat a l E r rors Error Error code (in A400) A uxiliary Area flag and w ord data Prob able cau se P ossibl e remed y Memor y error 80F1 A401. 15:[...]

  • Página 272

    249 Error Processing Section 9-2 Non-fatal Err ors If the following LED indic ator condi tion appe ars duri ng operation (in RUN or MONITOR mode), it indi cates tha t a non-fatal error has occurred .. The non-fatal error’s error contents will be displ ay ed in the Erro r T ab in the CX-Prog rammer’ s Error Windo w . Determine the cause of the e[...]

  • Página 273

    250 Error Processing Section 9-2 O th er E r ro rs Coordi nator Module F atal error 0006 A402.1 4: Coor- dinat or Mo dul e F atal Error Flag A f atal error occurred i n the Coordi- nato r M odule. Remov e the cau se of the error i n the Coordi nator Modu le and the n clear the error . Coordi nator Modul e WDT error 0001 A402.1 3: Coor- dinat or Mo [...]

  • Página 274

    251 Error Processing Section 9-2 9-2-6 P o wer Supply Chec k Power Supply Unit's POWER indicator is not lit. Is power being supplied to the Module? Connect power supply. No Yes Yes No End Note Model Supply voltage Permissible range CJ1W-PA205R 100 to 240V AC 85 to 264V AC CJ1W-PA202 100 to 240V AC 85 to 264V AC No No Yes Yes No Yes Is POWER in[...]

  • Página 275

    252 Error Processing Section 9-2 9-2-7 Memory Err or Chec k 9-2-8 Pr ogram Err or Chec k Memory error occurred ON OFF No Yes Flash Memory Error Flag (A403.10) ON? The internal flash memory's rewrite limit has been exceeded. Replace the Module. Was power interrupted while backing up memory with the CX- Programmer? The power supply was turned OF[...]

  • Página 276

    253 Error Processing Section 9-2 9-2-9 Cyc le Time Overrun E rror Check 9-2-10 System Setup Err or Chec k Not cause of error The program execution time exceeded the watch cycle time. Increase the watch cycle time setting in the System Setup. Yes No Yes No No Yes Cycle Time Overrun Error occurred Is the assumed cycle time less than the watch cycle t[...]

  • Página 277

    254 Error Processing Section 9-2 9-2-11 I/O Setting Erro r Chec k Yes No I/O Setting Error occurred Are 5 or more Motion Control Modules connected? Reconfigure the system so that 4 or fewer Motion Control Modules are connected to the Coordinator Module. Replace the Module.[...]

  • Página 278

    255 Error Processing Section 9-2 9-2-12 I/O Check The I/O c heck flowchar t is based on the follo wing ladder d iagram section , assumi ng that t he problem is S OL1 does not tur n ON. Start Return to Start of I/O Check. Is the output indicator for CIO 0001.00 normal? No Yes No No Yes Yes Check the 0001.00 terminal voltage with a multimeter. Yes No[...]

  • Página 279

    256 T roubleshooting Problems in Modul es Section 9-3 9-2-13 En vir onmental Conditions Chec k Note Prev ent exposure to corr osive gases, flamma ble gases, dust, dir t, salt s, metal dust, dir ect sun light, water , oils, and che micals. 9-3 T r oubleshooti ng Prob lem s in Modu les Coordinator Module Error s Environmental Conditions Check No Is t[...]

  • Página 280

    257 T roubleshooting Problems in Modul es Section 9-3 Motion Control Module Err ors Input Err ors Error condition Pr obable cause Remed y The Mot i on Cont rol Modul e’s R UN indicator do es not go ON. An error in program is causing a fa t a l e r ro r Cor rec t progr am. Motion Con trol Module does no t operate or d oes not oper ate prope r ly .[...]

  • Página 281

    258 T roubleshooting Problems in Modul es Section 9-3 O ut p ut E r ro rs Error condition Pr obable cause Remed y None o f the outpu ts will go ON. (1 ) The load pow er is not b eing suppli ed. Supply p ower . (2) Load po wer supp ly v oltage is too lo w . Adjust v oltage to withi n the allo wed range . (3) F aul ty ter m inal block conne c- tor co[...]

  • Página 282

    259 SECTION 10 Inspection and Mai ntenance This section provides inspection and main tenance information. 10-1 Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 10-1-1 Inspection Poin ts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 10-1-2 Modu[...]

  • Página 283

    260 Inspections Section 10-1 10-1 Inspections Daily o r peri odic inspec tions are re quired in order to main tain th e FQM1 in peak operatin g conditi on. 10-1-1 Inspection P o ints Although the majo r compon ents in the FQM1 hav e an extremely lon g life time, they can d eteri orate unde r improp er environmen tal con dition s. P er iodic insp ec[...]

  • Página 284

    261 Inspections Section 10-1 Note The following table shows the allowable v o ltage fl uctuation ranges for source power suppl ies. T ools Required for Inspections Required T ools • Phi llips- head scre w driv er • V oltage tester o r digital mult imeter • Ind ustr ial alc ohol an d clean c otton cl oth T ools Required Occasion ally • Synch[...]

  • Página 285

    262 Inspections Section 10-1[...]

  • Página 286

    263 Appendix A Pr ogramming Pr ograms and T asks Ta s k s There a re basi call y two typ es of ta sk. 1. Cyclic T ask The cycl ic task i s e xecuted once e ach cycle. 2. Interru pt T asks An inte rrupt ta sk is ex ecute d when the interru pt cond ition is m et, ev en i f this occur s while the cycli c task is being ex ecuted. There ar e three ty pe[...]

  • Página 287

    264 Programming Appendix A Subroutines What Are Subr outines? A subro utine is a program wr itten between the SB N(092) a nd RET(093 ) instr u ctions in a spec ial subrou tine area. A s ubrouti ne is ca lled f rom the m ain pr ogram using the SBS( 091), MCRO(099) , or JS B(982) inst ruct ion. Subrouti nes can be used i n the following three ways wi[...]

  • Página 288

    265 Programming Appendix A Using Subr o utines That P ass P arameter s With thes e subro utines, paramete rs can be p assed to t he subro utine when i t is calle d and th en the res ults of processi ng in the su broutine c an be retur n ed to the ma in program. This enables usin g one subrouti ne whil e chang ing the I /O addre sses tha t are used [...]

  • Página 289

    266 Programming Appendix A Note ( 1) Ind e x registers hav e been us ed to increase the usabi lity of su broutines cal led with JSB(9 82). The actual ad dresse s in I/O m emor y of the first in put parameter wo rd and firs t output parameter word are autom atica lly stor ed in index regist ers IR 0 and IR1, respec tively . Thi s enables acc essing [...]

  • Página 290

    267 Programming Appendix A Application E xamples Execution without Subr outine Input Condition Flags MCRO 0049 0002 0015 0220.00 MCRO 0049 0000 0010 MCRO 0049 0005 0012 MCRO 0049 0010 0015 SBN 049 RET 0225.01 P_On (Always ON) 0225.00 0225.00 0220.01 0220.02 0225.01 0010.00 0015.01 0015.00 0010.01 0010.02 0000.00 0010.01 0010.00 0000.01 0000.02 0002[...]

  • Página 291

    268 Programming Appendix A Execution with Subr outine Input Condition Flags Main Progr am JSB 0 D00000 D01000 a c SBN 0 A000.00 @ACC #0000 #0000 ,IR0 @INI #0000 #0003 0000 W000.00 W000.00 W000.00 . D00000 D00000 D00000 b Results of logic for input condition Subroutine called Subroutine 0 Subroutine 0 Input Condition Flag Acceleration Accessed Stopp[...]

  • Página 292

    269 Programming Appendix A Basic Information on Pr ogramming Basic Inf ormation on Instructions Programs co nsist o f ins truc tions. Th e conce ptual str ucture of the input s to and outpu ts from an i nstr uction is sho wn in the f ollo wing di agr am. Po w e r F l o w The power flow is the input co nditi on that is use d to contro l the ex ecut [...]

  • Página 293

    270 Programming Appendix A The following ins tr uctions are use d in p airs to set and c ance l cer t ain i nstr uctio n cond itions. Eac h pair o f instr uction s must be in the same task. Flags In this c ontext, a flag is a bi t that ser ves as an interface between i nstr uctions. Operands Operands sp ecify pr eset ins truc tion p arameters ( box[...]

  • Página 294

    271 Programming Appendix A Instruction Location and Input Conditions The following table shows the possible locati ons for instruc tions. Instr uctions are grouped into those that do and those do not req uire in put con ditions. Note ( 1) Ther e is another group of instr uct ions that e xecutes a s erie s of mnemoni c instr uct ions based on a sing[...]

  • Página 295

    272 Programming Appendix A DM Area addresses are given with “ D” prefixes, as shown bel ow f or the addre ss D00200 . Specifying Operands 0010 Word address D00200 Word addres s Operand Description Notation Application exam ples Specify ing bit address es Specify ing wor d address es MO V 0003 D00200 @@@@ . @@ Note The same addresses are used to[...]

  • Página 296

    273 Programming Appendix A Note With indi rect addr ess spec ificat ions in bin ar y mode, the DM Area addresse s are treat ed as consec utive memor y a ddresse s. Specify ing indirec t DM addr esses i n Binary Mode 1) D00000 to D 32767 are specifie d if @D( @@@@@ ) contains 0000 he x to 7FFF he x (00000 to 327 67). MO V #0001 @D00300 MO V #0001 *D[...]

  • Página 297

    274 Programming Appendix A Operand Descrip tion N otation Application e xamples Specify ing an ind irect address usin g a re g- ister Indirec t addre ss (No o ffs et) The bit o r word wi th the me mor y address containe d in IR @ wi ll be sp eci- fied. Specify ,IR @ to spec ify bits and words f or inst ruction op erands . ,IR0 ,IR1 LD ,IR0 Loads th[...]

  • Página 298

    275 Programming Appendix A T e xt string T e xt string data is st ored in ASCI I (one by te ex cept f o r special cha rac- ters) in ord er from the leftm ost to the rightmost b yte and from th e right- most (lo wer) to th e leftmost word. 00 he x (NUL code) is stored in th e rightmost b yte of the last word if there is an odd n umber of char ac- te[...]

  • Página 299

    276 Programming Appendix A Data Formats The following table shows the dat a forma ts that the F QM1 c an handle. Note Signed Binary Data In signed binar y data , the lef tmost bit i ndicates the sign of b inar y 16-bi t data. The value is e xpress ed in 4-digit hexadecimal. P ositiv e Numbers: A value is posit ive or 0 if the leftm ost bit is 0 (OF[...]

  • Página 300

    277 Programming Appendix A Negative Numbers: A value is ne gative if the leftm ost bit is 1 (ON). In 4 -digit hexadecima l, this is e xpressed a s 8000 to FFFF h e x. The absolute of the negativ e va lue (decimal) is e xpressed as a two’ s complem ent. Example: T o treat –19 in de cimal as signed bi nar y , 0013 hex (the absol ute value of 19) [...]

  • Página 301

    278 Programming Appendix A Note Signed BCD Data Signed BC D data is a spec ial data for mat that is us ed to e xpres s negative numbers in BCD . A lthough this for mat is found in appli catio ns, it is not st ric tly defi ned an d depe nds on t he sp ecific appli cation. T he FQM1 supp or ts four data f or mat s and su ppor ts the following instr u[...]

  • Página 302

    279 Programming Appendix A Instruct ion V ariations The following variation s are available f o r instr ucti ons to dif f ere ntiate ex e cutin g conditi ons. Input Condi tions The FQM 1 offers the following type s of ba sic and special inst ruc tions. • N on-differentiated i nstr uctions ex ecute d e very cycle • Diff erent iate d inst r uctio[...]

  • Página 303

    280 Programming Appendix A • Input Instructions (Logical Starts and Intermediate Instructions) : The ins truc tion read s bit status, makes compar iso ns, tests bi ts, or perform othe r type s of proce ssing ev er y c ycle and will output a n OFF ex ecut ion con dition (p ower flow stops) when res ults switch from OF F to ON. The ex ecution c ond[...]

  • Página 304

    281 Programming Appendix A Pr ogramming Preca utions Conditio n Flags Using Condition Flags Condition flags a re sha red by all instr uctions, and will chan ge dur ing a c ycle depe nding on r esults of e xecuting indivi dual ins truct ions. Therefore, be sure t o use Cond ition F lags on a branched o utput wi th the sam e input conditio n imm edia[...]

  • Página 305

    282 Programming Appendix A Since co nditio n flags are shared by all ins truc tions, make absolut ely su re that they do not in terfere with each other wit hin a sin gle ladde r-diagram pr ogram. The following are examples. 1. Using Ex ecution Results in NC and NO Inputs The Conditi on Flags will pi ck up instructi on B e xecution re sults as shown[...]

  • Página 306

    283 Programming Appendix A Example: The following example will move #0200 to D00200 if D001 00 contains #00 10 and move #0300 to D0030 0 if D00100 does not contai n #0010 . The Equa ls Flag wil l tur n ON if D0 0100 in the ru ng above contains #0 010. #0200 wi ll be moved to D00200 f o r in stru ction ( 1), but then the Equals Flag will be tur n ed[...]

  • Página 307

    284 Programming Appendix A 2. Using Execution Results fr om Differentiated Instructions With differentiat ed instr uctio ns, e x ecu tion resu lts for instr uctions are refl ected in Con ditio n Flags o nly when input con dition is met , and resu lts for a previous run g (rathe r than ex e cution r esults for the differentia ted in- str uction) wil[...]

  • Página 308

    285 Programming Appendix A Equals Flag The Equal s Flag is a temporar y flag for all instr ucti ons e xcept whe n compar is on results are equal (= ). It is set automa tically by the sys tem, and it will change. The Equ als Fla g can be tur ne d OFF (ON) by an instr uctio n after a previous instruc tion has tur ned it ON (OFF). The Equals Flag wil [...]

  • Página 309

    286 Programming Appendix A Special P r ogram Sect ions FQM1 pro grams hav e special program secti ons that wi ll control instr uctio n conditi ons. The f ollo wing s peci al pr ogr am secti ons are a va ilab le. Instruction Combinations The following table shows which of the sp ecial in str uct ions can be used i nside ot her program sections. Note[...]

  • Página 310

    287 Programming Appendix A Instructions Not Allo wed in Subroutines The following instr u ctions c annot be placed in a su brouti ne. Note Block Pr ogram Sections A subro utine can incl ude a block program sec tion. Instructions Not Allo wed in Step Ladder Pr ogram Sections Note A step la dder program secti on can be used in an inter lock section ([...]

  • Página 311

    288 Programming Appendix A Computing th e Cycle Time FQM1 Operation Flo w chart The Coord inator Mod ule and Mo tion Control Module s process data in rep eating cycles from the overseein g processi ng up t o per ipheral s er vicin g as shown in the following di agram. NO YES Sets error flags I/O refreshing ERR indicator lit or flashing? Flashing (n[...]

  • Página 312

    289 Programming Appendix A Overview of Cyc l e Time Calculations Coordinator Module The cycl e time of t he Coor dinator Module wi ll var y with the f ollowin g f actors. • T yp e and numbe r of instr uct ions in the user p rograms (in the cycl ic task and within i nterr upt ta sks for which the ex ec ution con dition s hav e been satisfi ed) •[...]

  • Página 313

    290 Programming Appendix A 5. Sync B us Refreshi ng 6. Cyclic Ref reshing 7. P er ipheral Se r vice Calculating the Cyc le Time of a Motion Control Module The cy cle tim e is the total tim e requi red for the Moti on Contro l Module to per f or m the operations shown in th e f o llowin g tables. Cycle tim e = (1) + (2) + (3) + (4) + (5) + (6) + (7 [...]

  • Página 314

    291 Programming Appendix A 4. I/O Refresh ing 5. Cyclic Ref reshing 6. Sync B us Refreshi ng 7. P er ipheral Se r vice Module I/ O Refresh Times Cyclic Refresh Time in the Coor dina tor Module Cyclic Refresh Time in Motion Contr ol M odules Details Pro cessing tim e and fluctuat ion cause The b uilt-in I/O and special inpu ts (pulse/ analog) on the[...]

  • Página 315

    292 Programming Appendix A Example of Calculating the Cyc le Time An example is given here for FQM1 -MMP21 Motion Cont rol Modu les conn ected to a Coordina tor Modul e. Conditions Calculation Exampl e for FQM1-MMP2 1 Online Editing Cycle Time Extension When onlin e editin g is e xecuted from the CX-Programm er while the FQM1 is operating in MO NIT[...]

  • Página 316

    293 Programming Appendix A Response Tim e I/O Response Time The I/O resp onse time is the time it takes from when an built-in input on a Mod ule tur ns ON, th e data is recog- nized by the Module, and the user program is ex ecuted , up to the time for the result to be outp ut to the built-in output t er minals. The l ength of the I/O res ponse tim [...]

  • Página 317

    294 Programming Appendix A Motion Control Module I/O Response Time Minimum I/O Response Time (General-purpo se I/O 0 to 3) The I/O res ponse time is sh or te st when th e input refr esh is ex e cuted imme diately a fter a Mo tion Con trol Mod- ule detec ts an inp ut, as shown in th e figure b elow . The min imum I/O resp onse tim e is the to tal of[...]

  • Página 318

    295 Programming Appendix A Calculation Example Inpu t ON de la y: 0.03 ms Overhead time: 0.193 ms Instr uction ex e cutio n time: 0.0 01 ms Output ON d ela y: 0.1 ms P osi tion of OU T: Be ginni ng of program. I/O Response Time for Puls e and Analog I/O As shown i n the f o llowing d iagram, a n MPU in the M otion Control Module direc tly con trols[...]

  • Página 319

    296 Programming Appendix A Scheduled Interrupt T ask The interr upt r esponse time of schedul ed interr upt ta sks is t he time taken from afte r the sch eduled tim e speci- fied by the STIM( 980) inst ru ction h as elapse d until the inter ru pt task is ac tually ex ecuted. Th e maximum inter - rupt respons e time for sche duled int err upt tasks [...]

  • Página 320

    297 Programming Appendix A Pr ocessing Time The time requ ired fro m when the inter rup t f actor occ urs until the interr upt task i s called and the time requi red from com pleting t he interr upt ta sk until program ex ec ution retu r ns to th e or iginal po sition a re shown bel ow . • O nline Ed iting: If onlin e edit ing is perfor med dur i[...]

  • Página 321

    298 Programming Appendix A (2) Wh en using i nterrup t tasks fr equently , be s ure to consi der the time required for interr upt pro cessing and it s affect on the overall sys tem. (3) T he resul ts of ex ec uting a n interr upt task can be o utput im media tely fro m within th e interr upt ta sk by using the IORF(09 7) instr ucti on. (This c an a[...]

  • Página 322

    299 Appendix B I/O Memory Over view of I/O Memor y Intr oduction This se ction desc ribes the I/O Memor y and other par t s of memor y in the Modules other than that c ontaining the user program. I/O Memory This regi on of me mor y cont ains the da ta areas which can be acces sed by instr uction op erands. The data areas in clude the CIO Area, Work[...]

  • Página 323

    300 I/O Memory Appendix B I/O Memory Struc ture Coor dinator Mod ule The f ollo wing tab le sho ws the ba sic stru cture o f the I/O Me mory fo r the C oor dinat or Mod ule . Note When data i s wri tten from th e CX-Programme r or a host co ntroller , these DM A rea words are b ack ed up in flash memor y . The conten ts of flash m emor y is read ou[...]

  • Página 324

    301 I/O Mem ory Appendix B Motion Control Modules The f ollo wing tab le sho ws the ba sic stru cture o f the I/O Me mory Area f or th e Moti on Cont rol Modul es. Note These DM Ar ea words ar e backed up by a su per capa citor . If the Memor y Not Held F lag (A404.1 4) is ON, t hes e wor ds ar e clear ed to all z eros . Area Size Range T ask usag [...]

  • Página 325

    302 I/O Memory Appendix B CIO Area Overvie w It is no t neces sar y to input the “CIO ” pref ix when specify ing an address in the CIO Ar ea. The CIO Area is g en- erally used for data exchanges, such as I/O r efresh ing betwee n Modu les (Co ordinator Modu le and Mo tion Control Mo dules). W ords that ar e not alloc ated to Modul es may be use[...]

  • Página 326

    303 I/O Mem ory Appendix B This area ca n be u sed to transfer informati on bet ween Modul es that does not requ ired hi gh-spee d exchange. The user can al loca te the i nformation to be transferred and the infor mation c an be used a ccessed from the lad- der programs in the C oordinator Module and Motio n Control Modules to coo rdinate pro gramm[...]

  • Página 327

    304 I/O Memory Appendix B Immediat e Refres h I/O can also be refres hed on the tim ing spe cified by the user using immed iate refr eshing. Any I/O r efreshe d using an immed iate refres h will al so be refr eshed for the END refresh. Refreshing Usi ng the IORF(097) Instr uction W ork Area: W0 00 to W255 (W000.00 to W255.15), 4,09 6 Bits W ords i [...]

  • Página 328

    305 I/O Mem ory Appendix B • Ea ch TR bi t can be u sed only once in one program s ection. • T he status of TR bit s cannot be change d from the CX-Pro grammer . TB bits ar e used i n the following case s. • Wh en there a re two ou tputs with d iff erent LD instr ucti ons after the last branch poi nt: • Wh en there i s no LD i nstr uction o[...]

  • Página 329

    306 I/O Memory Appendix B The follo w ing table shows whe n timer PVs and Compl etion Flag s will be res et. Note The prese nt value of TIM, TI MH(015), and TMHH(54 0) timers programmed will be updated ev en whe n jumpe d between JMP and J ME instr u ctions. Counter Area The 256 counter numbers ( C0000 to C0255) are shared by the CNT and CN TR(012)[...]

  • Página 330

    307 I/O Mem ory Appendix B Data Memor y (DM) Area The DM Area co ntains 32,7 68 words with add resses ranging from D000 00 to D32767 . This data area is used f o r gen eral data storag e and mani pulation a nd is ac cessi ble only by word. Data in D0000 0 to D29999 is clear ed to all zeros wh en the power suppl y is cycled, but is held wh en the op[...]

  • Página 331

    308 I/O Memory Appendix B The Condi tion Fl ags canno t be f orce-s et and force-re set except for the Carr y Flag, which c an be m anipulate d with the ST C(040) and CLC(0 41) inst ructio ns. Summary of the Condition Flags The following table summarizes the functio ns of the Condition F lags, althoug h the func tions of the se flags wi ll v ar y s[...]

  • Página 332

    309 I/O Mem ory Appendix B Clock Pulses The Clock Pul ses are fla gs tha t are tur ned ON an d OFF at reg ular inter vals by the sys tem. The Clock Pul ses are specifi ed with la bels (or symbo ls) rathe r than ad dresses. Note The CX- Programmer trea ts Clo ck Pulses a s global symbol s beginn ing wit h P_. The Clock Pul ses are r ead-only; th ey [...]

  • Página 333

    310 I/O Memory Appendix B P arameter Area Unlike the data area s in I/O M emor y , which c an be used i n inst ruct ion operand s, the P aramete r Area can b e access ed only from t he CX-Programm er . The P arameter A rea is made up of the following par ts. • The Sys tem Set up • T he Routing T ables System Set up The user can customize the ba[...]

  • Página 334

    311 Appendix C System Setup, A uxiliar y Area Allocati ons, and Built- in I/O Allocations Over view of System Setups A System Setup cont ains softwa re setting s that the us er can cha nge to cust omize FQM1 operation. Mo dule functions are se t using i ts Sys tem Set up . The Coordin ator Modul e and Moti on Control Modu les all have System Se tup[...]

  • Página 335

    312 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Sync Cycle Time Sync Mode Star tup Mode Setting (CX-Pr ogrammer: Startup T ab P ag e) Startup Mode Cyc le Time Settings ( CX-Pr ogra mmer: Timer/P eripheral Service) Cycle Time Wa t c h C y cl e T i m e Address Settings Function Related flags and words When s[...]

  • Página 336

    313 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C P eripheral P or t Settings (C X-Pr ogr ammer: P eripheral P or t T ab P age) Communic ations Settings P eripheral P or t Setti ngs for Host Link Standar d/Cus tom Setting Serial Comm unications Mode Baud Rate Address Settings F unction Related flags and word[...]

  • Página 337

    314 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Host Link Unit Number P eripheral P or t Settings for NT Link Serial Comm unications Mode Baud Rate Maxim um Unit Number for NT Link (NT Link Max.) P eripheral P or t Settings for P eripheral Bus (T oolBus) Standar d/Cus tomer Sett ing Serial Comm unications [...]

  • Página 338

    315 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C Baud Rate RS-232C P or t Settings (CX-Pr ogrammer: Ho st P or t T ab P age) RS-232C P or t Settings f or Host Link Serial Comm unications Mode Format Baud Rate Address Settings Function Related flags and words When setting is rea d Wo r d B i t s +145 00 to 0[...]

  • Página 339

    316 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Host Link Unit Number RS-232C P or t Set tings for NT Link Serial Comm unications Mode Baud Rate Maximum Unit Number f o r NT Link (NT Link Max.) RS-232C P ort Settings f o r P eripheral Bus (T oolBus) Standar d/Cus tom Setting Serial Comm unications Mode Add[...]

  • Página 340

    317 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C Baud Rate RS-232 P or t Sett ings f o r No-pr otocol C omm unications ( RS-232C) Serial Comm unications Mode Data Format Baud Rate Send Delay Address Settings Function Related flags and words When setting is rea d Wo r d B i t s +161 00 to 07 00 hex: 9,600 06[...]

  • Página 341

    318 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Start Code and End Code Number of R eceived By tes RS-232C P ort Settings f or PLC Link (PC Link (Sla ve) ) Serial Comm unications Mode Baud Rate PLC Link Unit No. (PC Link Unit Number) Address Settings Fun ction Related flags and words When setting is read W[...]

  • Página 342

    319 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C RS-4 22A P or t Settin gs (CX - Pr ogrammer: Drive T ab Pa ge) RS-422A P or t Settings for Ser i al Gatewa y Standar d/Cus tom Setting Serial Comm unications Mode RS-422A Response Timeout Time (RS422 Response Timeout of Command) RS-422A P or t Settings for No[...]

  • Página 343

    320 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Start Code and End Code Number of R eceived By tes P eripheral Service Time Se ttings (CX-Progra mmer: Timer/P eripheral T ab P ag e) Fixed Service Time Enable Setting (Se t Time to All Events) P eripher al Service Time Address Settings Function Related flags[...]

  • Página 344

    321 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C System Setup in Motion Cont r ol Modules Settings Used b y All Motion Con tr o l Modules CX-Pr og rammer: Module Settings T ab Pa ge CX-Pr og rammer: Cyc le Time T ab P age CX-Pr og rammer: Other T ab P age These setting s are reser ved f o r future e xpans i[...]

  • Página 345

    322 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C FQM1-MMP21 Motion Control Modules with Pulse I/O CX-Pr og rammer: Puls e Input T ab Pa g e Address Bits Funct ion Remarks When setting is read +320 00 to 03 High-speed counter 1 (Counter 1) Input method 0 hex: Phase differential x1 1 hex: Phase differential x[...]

  • Página 346

    323 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C CX-Pr og rammer: Puls e Output T ab Pa ge +323 00 to 03 High-speed counter 2 (Counter 2) Input method Same as for hi gh-speed counter 1 except that f re- quency measurem ent (Counter data to monitor , bit 00 to 03 of +324: 02 hex) cannot be s et f or high-spe[...]

  • Página 347

    324 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Note Alwa ys set th e Circul ar Maximum C ount whe n setting any of the circ ular operati on modes. FQM1-MMA21 Motion Control Modules with Analog I/O CX-Pr og rammer: Puls e Input T ab Pa g e Address Bits Function Remarks When setting is read +320 00 to 03 Hi[...]

  • Página 348

    325 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C CX-Pr og rammer: Analog Input/Output T ab P age Note Analo g outpu ts that ar e not be ing used can be disa b led to decrea se the cycle time. Details on System Setup Setting s Star tup M ode This sett ing de ter mines th e operating mode that will be use d w[...]

  • Página 349

    326 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Note The RS-23 2C por t setting s can a lso b e changed with the S TUP (2 37) instr uctio n. The RS -232C P or t Settings Chang ing Flag (A410.1 5) will remai n ON fr om the time S TUP (23 7) is e xecuted until the set- tings have actually b een chang ed. Not[...]

  • Página 350

    327 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C Note The watch c ycle tim e setting canno t be chang ed whil e the M odule is in RUN or MONIT OR mode. Note The default value for the watch cycl e time is 50 ms. Fixed P eripheral Servicing Time This se ttin g deter m ines whet her th e per ipheral ser vic in[...]

  • Página 351

    328 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C The default value for each ser vi cing proc ess is 6.25 % of the l ast c ycle’ s cycle time. In general, it is rec- ommend ed that the default value be used. Se t a uniform se r vicing time only whe n per ipheral s er vicin g is being del ay ed b ecause e a[...]

  • Página 352

    329 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A uxiliar y Area Allocat ions b y Fun ction The following tables list the wo rds and bi ts alloc ated in the A uxi liar y Area by function . These tables provi de only an ov e r view of the functionali ty . Refer to Append ix D A uxi liar y A rea Alloc ations[...]

  • Página 353

    330 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Address Bits Name Function Controlled by A608 00 High-speed counter 1 status T arget Compar - ison In- progress Flag OFF: T arget value compar ison is not being performed for CTBL(882). Note This flag is always OFF for range compar ison. ON: T arget value com[...]

  • Página 354

    331 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A609 00 High-speed counter 2 status T arget Compar - ison In- progress Flag Same as for high-speed counter 1. M odule 01 PV Ov erflow/ Underflow Flag 02 Reser ved 03 P hase Z Input Reset Flag (ON for one cycle) 04 A bsolute No. of Rotations Read Error Flag 05[...]

  • Página 355

    332 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C A610 00 High-speed counter 1 com- mand bits Star t Bit OFF: S tops counter operation. The counter P V will be maintained. ON: Star ts counter operation. The counter PV will not be reset. Use r 01 Res et Bit OFF: If a software reset is set in the System S etup[...]

  • Página 356

    333 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A611 00 High-speed counter 2 com- mand bits Star t Bit Same as command bits for high-speed counter 1. User 01 Res et Bit 02 M easurement Start Bit 03 Reser ved 04 Rang e Com- parison Res ults Clear Bit 05 Absolute Of f- set Preset Bit 06 A bsolute Present V a[...]

  • Página 357

    334 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C A620 to A621 00 to 15 Pulse Output 1 PV Note This item applies when the operation mode is relativ e pulse output, absolute pulse output in linear mode, absolute pulse out- put in circular mode, or elec- tronic cam mode. Contains the pulse output PV as an 8-di[...]

  • Página 358

    335 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A626 00 Pulse O utput 1 Command B its PV Reset B it OFF: Pulse output 1 PV not r eset. ON: Resets pulse output 1 PV . Use r 01 Rang e Com- parison Res ults Clear Bit OFF: Does no t clear the e xecution results (A630) or output bit pat- tern (A631) from CTBL(8[...]

  • Página 359

    336 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C FQM1-MMA21 Motion Control Modules wi th Analog I/O Address Bits Name Function Contr olled by A550 00 to 15 A nalog Input PV Contains the value input from the analog input por t (using either the END refresh or immediate refresh) in 4-digit hexadecimal. The PV[...]

  • Página 360

    337 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A562 00 Analog Out put 1 Flags User Adjustment C om- pleted Initial v alue is 0. Set to 1 if us er performs offset/gain adjustment and Retur ns to f ac tory default setting of 0 if adjustment value is cleared. Module 01 to 03 R eserved --- 04 Operat ing ON: O[...]

  • Página 361

    338 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Address Bits Name Function Controlled b y A564 00 Analog O utput 1 Conv ersion Enable Bit ON: Enables D/A conversion (enables analog output). OFF: Disables DA con version (analog v alues output according to Output St op Function specificatio n in Sys- tem S e[...]

  • Página 362

    339 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C Address Bits Name Function Contr olled by A600 00 to 15 H igh-speed Counter 1 PV Range: 8000 0000 to 7FFF FFFF Note F or a Linear Counter , high-speed counter ov er- flows/underflows are check ed when the P V is read (i.e., when Module internal I /O is refres[...]

  • Página 363

    340 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Address Bits Name Function Controlled by A608 00 High-speed counter 1 status T arget Compar - ison In- progress Flag OFF: T arget value compar ison is not being performed for CTBL(882). Note This flag is always OFF for range compar ison. ON: T arget value com[...]

  • Página 364

    341 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C A609 00 High-speed counter 2 status T arget Compar - ison In- progress Flag Same as for high-speed counter 1. M odule 01 PV Ov erflow/ Underflow Flag 02 Reser ved 03 P hase Z Input Reset Flag (ON for one cycle) 04 A bsolute No. of Rotations Read Error Flag 05[...]

  • Página 365

    342 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C A610 00 High-speed counter 1 com- mand bits Star t Bit OFF: S tops counter operation. The counter P V will be maintained. ON: Star ts counter operation. The counter PV will not be reset. Use r 01 Res et Bit OFF: If a software reset is set in the System S etup[...]

  • Página 366

    343 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C Allocations Related to Built-in Inputs Input Interrupts A611 00 High-speed counter 2 com- mand bits Star t Bit Same as command bits for high-speed counter 1. User 01 Res et Bit 02 M easurement Start Bit 03 Reser ved 04 Rang e Com- parison Res ults Clear Bit 0[...]

  • Página 367

    344 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Allocations That Ar e the Same f or th e Coordinator Module and M otion Contr ol M odules System Flags Pr ogram Err or Flag s Other Error Flags and Bits Err or Log and Err or Code A524 00 to 15 Interrupt Count er 0 Counter PV These words c ontain the interrup[...]

  • Página 368

    345 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C FA L / FA L S E r r o r s Me m or y Er ro rs System S etup I/O Errors Module Err ors A500 14 Error Log P ointer Reset and Memor y Not Held Flag OFF Bit The error log pointer in A408 is reset to 0000 he x and Memory Not Held Flag (A404.14) is turned OFF when t[...]

  • Página 369

    346 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Other Allocations Related to DM Data T ransfer (Coordinator Module Only) Communications Pe r i p h e r a l Po r t Address Bits Name Function Controlled by A401 08 C ycle Time T oo Long Flag (fatal error) T ur ns ON if the cycle time exceeds the maximum cycle [...]

  • Página 370

    347 System S etup, A uxiliary Area Alloc ations, and Buil t-in I/O Allocation s Appendix C RS-232C Port RS-422A Port Allocations Directl y Related to Instructions Built-in I/O Alloca tions The Coordin ator Mo dule and Moti on Control M odules all hav e built-in I/O . The I/O Ar ea alloca tions to the con- tacts on the Mod ules are given in the foll[...]

  • Página 371

    348 System Setup, A uxiliary Area All ocations, and Bu ilt-in I/O Allocati ons Ap pendix C Coor dinator Module Buil t-in I/O Allocations Inputs (40-pin General-purpose I/O Connector) Outputs (40-pin Genera l-purpose I/O Connector) Motio n Control Mod ule B uilt-in I /O A llocati ons Inputs (26-pin General-purpose I/O Connector) Outputs (26-pin Gene[...]

  • Página 372

    349 Appendix D A uxiliar y Area Allo cations A uxiliar y Area Allocation s in Or der of Address The following table lists the A uxiliar y Area alloc ations in orde r of addres s. Ref er to Auxiliar y Area Allocati ons by Function o n page 329 for a list of a llocati ons by function. Read-onl y Words: A000 to A447 , Read/W rite W ords: A 448 to A64 [...]

  • Página 373

    350 A uxiliary Area Allocations Appendix D A403 00 UM Error Flag T ur ns ON when there is an error in t he user memor y . 04 System Setup Error Flag T ur ns ON when there is an erro r in the System S etup in the Coor- dinator Module or Mot ion Control Module. 10 Flash Mem ory Err or Flag T ur ns ON when the flash memor y is ph ysically destroy ed. [...]

  • Página 374

    351 A uxiliary Area Alloc ations Appendix D A414 02 RS -422A Po r t Error Flags P arity E rror Flag These error flags tur n ON when an error has occurred at the RS- 422A por t. 03 Fr aming Error Flag 04 Overrun Error Flag 05 Timeout Error Flag 08 RS-422A P or t Communications Error Flag T ur ns ON when a communications e rror has occurred at the RS[...]

  • Página 375

    352 A uxiliary Area Allocations Appendix D A520 00 to 15 Interr upt Counter 0 Counter SV Used f or interrupt input 0 in counter mode. Sets the count v alue at which the interrupt task will start. Interrupt task 000 will star t when interr upt c ounter 0 has c ounted this num- ber of pulses. Setting range: 0000 to FFFF A521 00 to 15 Interr upt Count[...]

  • Página 376

    353 A uxiliary Area Alloc ations Appendix D A559 00 to 15 Number of Analog Samples Indicates t he number of data samples actually input since sam- pling star ted. A560 00 to 15 Analog Output 1 Output V alue When an END refresh is selected, the 4-digit hexadecimal v alue set here by the user is output from analog out put por t 1. When immediate r ef[...]

  • Página 377

    354 A uxiliary Area Allocations Appendix D A570 00 A djustment Mode Command Bits (Effectiv e only when A 575 is 5A5A hex.) Adjustment Enable Analog Input OFF: Adjustm ent disabl ed. ON: Adjustment enabled. When one of these bit s is tur ned ON, the def ault value (offset or gain value) corre- sponding to the selected I/O signal range is transf erre[...]

  • Página 378

    355 A uxiliary Area Alloc ations Appendix D A606 to A607 00 to 15 High- speed Counter 2 For f ollowing counter modes • Absolute linear (CW − ) • Absolute circ ular • Absolute linear (CW+) PV of absolute number of rota- tions Same as for A604 and A605 f or high-speed counter 1 except that measuring the high-speed counter frequency is not pos[...]

  • Página 379

    356 A uxiliary Area Allocations Appendix D A610 00 High- speed counter 1 com- mand bits Star t Bit OFF: Stops counter operation. The c ounter PV will be m ain- tained. ON: Star ts co unter operation. The counter P V will be reset. 01 Reset Bit OFF: If a software reset is set in the System Setup, the counter PV will not be reset when internal I/O is[...]

  • Página 380

    357 A uxiliary Area Alloc ations Appendix D A612 00 to 15 High- speed counter 1 monitor data Range Compar ison Execution Results Flags Contains the CTBL(882) ex ecution results for r ange comparison. Bits 00 to 15 correspond to r anges 1 to 16. OFF: No match ON: Matc h A613 00 to 15 Output Bit P atter n Contains the output bit pattern when a match [...]

  • Página 381

    358 A uxiliary Area Allocations Appendix D A626 00 P ulse Output 1 Com- mand Bits PV Reset B it OFF: Pulse output 1 PV not reset. ON: Resets pulse output 1 PV . 01 Range Com parison Result s Clear Bit OFF: Does not c lear the ex ecution results (A 630) or output bit pattern (A631) from CTBL(882) e xecution f or range compar ison f or the puls e out[...]

  • Página 382

    359 A uxiliary Area Alloc ations Appendix D Detailed Ex planations on the A uxiliary Area Err or Log Area: A100 to A199 Err or Codes and Error Flags Note ( 1) Cod es C101 to C2FF wi ll be sto red for F ALS number s 001 to 511. (2) Cod es 410 1 to 42FF wi ll be stored for F AL num bers 001 to 511. (3) O nly the c ontents of A405 i s stored a s the e[...]

  • Página 383

    360 A uxiliary Area Allocations Appendix D FQM1 Memory A ddresses FQM1 mem or y a ddresses are s et in In dex Registers (IR0 or IR1) to i ndirec tly addr ess I/ O memor y . Nor mal ly , FQM1 me mor y addr esses a re set in to the Index Register s automati cally w hen calli ng subro utines wit h JSB( 982). Some inst ru ctions , such a s FIND MAXIMUM[...]

  • Página 384

    361 A uxiliary Area Alloc ations Appendix D Memory Map Note Do not acc ess the areas indi cated Reserve d f or system. Classification FQM1 memory addresses (hex) User addresses Area P arameter areas 00000 to 0B0FF --- System Setup Area Profile Area I/O memor y ar eas 0B100 to 0B1FF --- Reser v ed for system. 0B200 to 0B7FF --- Reser v ed for system[...]

  • Página 385

    362 A uxiliary Area Allocations Appendix D FQM1 Instruction Execution Times a nd Number of Step s The following table lists t he ex e cution ti mes for all inst ruct ions th at are available f or the FQ M1. The total ex ec ution time of instr uctions within one whol e user program is the pro cess tim e f o r program e xecu- tion when c alcula ting [...]

  • Página 386

    363 A uxiliary Area Alloc ations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Sequence Contr ol Instructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Timer and Counter Instructions Note When a do uble-[...]

  • Página 387

    364 A uxiliary Area Allocations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Data Mo vement Instruc tions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Input Comparis on Instructions (double, signed) LD , A[...]

  • Página 388

    365 A uxiliary Area Alloc ations Appendix D Data Shift Inst ructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Incremen t/Decreme nt Instructions Inst ruction Mnemonic Code Length (steps) (See note.) ON ex ecution time ( µ s) Hard ware implementation Condition s SHIFT REGISTER S[...]

  • Página 389

    366 A uxiliary Area Allocations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Symbol Math Instructions Instruction Mnemonic Co de Length (steps) (See note .) ON ex ecution tim e ( µ s) Har dwa re implementation Conditio ns SIGNED BINARY ADD WITHOUT CARR Y + 400 4 0.30 Y e[...]

  • Página 390

    367 A uxiliary Area Alloc ations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Con versi on Inst ructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Logic Instructions Note When a do uble-length ope rand [...]

  • Página 391

    368 A uxiliary Area Allocations Appendix D Spec ial Math In str uct ions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Floating-point Math Instructions Instruction Mnemonic Code Length (steps) (See note .) ON execution time ( µ s) Hardw are implementation Conditions ARITHMET IC PRO-[...]

  • Página 392

    369 A uxiliary Area Alloc ations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. T able Da ta Pr ocessing I nstructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Data Control Instructions Note When a do ub[...]

  • Página 393

    370 A uxiliary Area Allocations Appendix D Interrupt Control Instructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. High-speed Counter and Pu lse Output Instructions Inst ruction Mnemonic Code Leng th (steps) (See note .) ON execution time ( µ s) Hard ware implementation Cond it[...]

  • Página 394

    371 A uxiliary Area Alloc ations Appendix D Step In struct io ns Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. I/O Refresh Inst ruction Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. COMP ARISON T ABLE LOAD CTBL 882 4 3[...]

  • Página 395

    372 A uxiliary Area Allocations Appendix D Serial Comm unications Instructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Deb ugging Instructions Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. F ailure Diagnosis Inst[...]

  • Página 396

    373 A uxiliary Area Alloc ations Appendix D Note When a do uble-length ope rand is used, add 1 to the value shown in the length column in the above tabl e. Branching IF (input condition) 802 1 6.8 Y e s IF true 12.2 IF false Branching IF (relay number) 802 2 11.0 Y e s IF true 16.5 IF false Branching (NO T) IF NOT (relay n um- ber) 802 2 11.5 Y e s[...]

  • Página 397

    374 A uxiliary Area Allocations Appendix D[...]

  • Página 398

    375 Index A A/D conversion va lue , 222 absolute en coder absolu te circular coun ter , 202 absolute linea r counter , 202 absolut e offset pres et , 203 absolute pres ent value , 202 absolute PV preset , 203 output da ta acquisition , 207 format , 200 Absolute No. of Rotati ons Read Comple ted Flag , 34 0 , 341 , 355 Absolute No . of Rotations Re [...]

  • Página 399

    376 Index RS-232C port , 66 , 134 serial data , 200 BCD data , 276 BCD-mode addressin g , 307 binar y-mode addre ssing , 307 block pr ogram s , 270 , 286 , 287 instructio n execution times , 372 C cables , 23 5 Carry (CY) Flag , 270 , 285 , 308 CIO Area , 302 Cyclic Refresh Bit Are a , 302 I/O Bit Area , 302 Serial PLC Link Bit Area , 303 Synch ron[...]

  • Página 400

    Index 377 current consum ption , 45 CX-Programmer , 92 , 95 Analo g Input/Outp ut Tab Page , 325 connect ing cable s , 234 , 23 8 connect ions , 23 5 methods , 237 Cycle T ime Settin gs , 312 Cycle Time Tab Page , 321 models , 32 Module Settings Tab Page , 321 Other Ta b Page , 321 overvie w , 8 , 234 Periphera l Port Settin gs , 313 Periphera l Po[...]

  • Página 401

    378 Index Equal s Flag , 285 , 30 8 error codes , 359 Error Flag , 308 error flags , 359 error log , 120 , 242 Error Log Area , 242 , 344 , 349 Error Log Po inter , 350 error processing flowchart , 245 errors communica tions error , 250 Coor dinat or Modu le Fata l err or , 250 Coordi nat or Modu le WDT err or , 250 CPU error , 246 CPU standby , 24[...]

  • Página 402

    Index 379 Memory Error Flag , 248 , 345 , 349 Memory Not Held Flag , 345 , 350 Motion Control Module Monito r Error Flag , 249 Motion Cont rol Module Monitorin g Error Flag , 345 , 34 9 Negative Flag , 30 8 No END Error Flag , 344 , 350 Not Equal Flag , 308 Overflow Flag , 308 Peripheral Port Error Fl ags , 350 Periphera l Port Settings Changing Fl[...]

  • Página 403

    END refresh , 303 immediate refresh , 30 4 Motion Con trol Module s , 98 using IORF(097) in struction , 304 I/O response time , 293 calcul ating , 29 3 Coor dinat or Modu les , 29 3 Motion Con trol Module s , 294 I/O Setting Error Flag , 24 9 , 345 , 349 I/O Table Setting error , 249 Illegal Instruction Error Flag , 344 , 350 incremen t instruction[...]

  • Página 404

    Index 381 Less Than or E q uals Flag , 308 Linear Counter , 154 linear coun ter CCW rotation , 201 CW rotation , 201 Linea r Counte r Mode , 205 linear mode , 180 logic instr uctions execut ion times , 367 M Maximu m Cycle Time , 116 MCRO(099) instructio n , 265 Measuri ng Fla g , 340 , 341 , 355 Memo ry Back up Statu s Wind ow , 119 Memory Error F[...]

  • Página 405

    382 Index Peripheral Devices , 6 per ipher al por t connect ing a personal co mputer , 23 5 Peripheral Port Communications Error Flag , 346 , 350 Peripheral Port Erro r Flags , 346 , 350 Peri pheral Port Setting s Chan ging Fla g , 346 , 350 periphe ral servicing , 94 , 98 settings , 327 persona l c omputers connect ing , 23 5 connect ors , 65 phas[...]

  • Página 406

    Index 383 puls e inpu ts , 14 8 applicable in structions , 15 2 applicat ion exa mples , 162 connect ions , 71 high -speed c ounter , 153 internal circ uit config uration , 15 2 mode , 204 specificati ons , 148 , 150 Pulse Output Co mpleted Flag , 357 puls e outp ut direct ion pr iorit y mode , 183 Pulse Output F lag , 357 puls e outp ut instr ucti[...]

  • Página 407

    384 Index operatio n procedure , 133 PLC Setup (Master) , 13 4 System Se tup (Slave) , 13 4 Ser vo Dr iv ers compat ible with absol ute encoder , 20 7 compatibl e with absolute en coders timing ch art , 209 functio ns compatibl e with absolute encod ers , 199 Servo Relay Units , 6 dim ensio ns , 45 , 79 functio ns , 76 models , 32 nomenc lature , 7[...]

  • Página 408

    Index 385 T table d ata proc essing in struc tions execut ion times , 369 Target Compariso n Flag , 357 Target Comparison In-progress Flag , 340 , 341 , 355 Target Fr equency Not Reached Flag , 357 target-val ue comparison , 155 interrupts , 162 , 179 Task Error Flag , 344 , 350 Temporar y Rela y Area , 304 terminal screws , 61 text str ings operan[...]

  • Página 409

    386 Index[...]

  • Página 410

    387 Revision History A manual r e v ision code a ppears as a suffix t o the catal og number o n the fron t cover of the manual. The following table outlines the changes mad e to the manual dur ing ea ch revision. Page numbers ref er to the previous version. Revi sion code Date Rev ised content 01 No vember 2004 Original p roduction Cat. No . O010 -[...]

  • Página 411

    388[...]

  • Página 412

    OMRON CORPORA TION F A System s Divisi on H.Q. 66 Mats umoto Mishima-c ity , Shizuoka 41 1-8511 Ja pan T el: (81)5 5 -977-9181 /Fax : (81)55-977 -9045 Regional Hea dquarters OMRON EUR OPE B.V . W egalaan 67-69, N L-2132 J D Hoofddo r p The Ne therlands T el: (31)2 356-81-300/F ax: (31)2356-81-38 8 OMRON ELECTR ONICS LLC 1 East Comm erc e Dr ive, Sc[...]

  • Página 413

    Terms an d Conditions of Sale 1. Offer ; Acceptan ce . These terms and conditions ( these "T erms" ) are deemed par t o f all quotes, agreements, purchase or ders, ackno wl edgments , price lists , catalogs, manuals, brochures and ot her documents , whether electron i c or in writing, relating t o the sale of products or services (col l e[...]

  • Página 414

    O010-E1-01 11 /0 5 © 200 5 OM R ON ELECT R ONICS LLC Specifications subject to change without notic e . Printed in the U.S .A. OMRON ELECTRONICS L LC 1 Commerce D rive Schaumbur g, IL 60173 847.843.7900 For US technical support or other inquiries: 800.556.6766 OMRON CANADA, INC. 885 M ilner A venue To r onto, Ontario M 1 B 5 V 8 416.286.6465 OMRON[...]