Mitsubishi Electronics Q173HCPU/Q172HCPU 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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Mitsubishi Electronics Q173HCPU/Q172HCPU, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Mitsubishi Electronics Q173HCPU/Q172HCPU one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Mitsubishi Electronics Q173HCPU/Q172HCPU. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Mitsubishi Electronics Q173HCPU/Q172HCPU should contain:
- informations concerning technical data of Mitsubishi Electronics Q173HCPU/Q172HCPU
- name of the manufacturer and a year of construction of the Mitsubishi Electronics Q173HCPU/Q172HCPU item
- rules of operation, control and maintenance of the Mitsubishi Electronics Q173HCPU/Q172HCPU item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Mitsubishi Electronics Q173HCPU/Q172HCPU alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Mitsubishi Electronics Q173HCPU/Q172HCPU, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Mitsubishi Electronics service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Mitsubishi Electronics Q173HCPU/Q172HCPU.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Mitsubishi Electronics Q173HCPU/Q172HCPU item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    IB(NA)-0300115-A(0602)MEE P Q MOTION CONTROLLER Qseries (SV43) Programming Manual (Q173HCPU/Q172HCPU) MOTION CONTROLLERS Programming Manual MODEL MODEL CODE Q173H-P-SV43-E 1XB915 IB(NA)-0300115-A(0602)MEE When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permiss[...]

  • Page 2

    A - 1 SAFETY PRECAUTIONS (Read these precautions before using.) When using this equip ment, thoroughly read this manual and t he associated manuals introduced in t his manual. Also pay careful a ttention t o safety and handle the module properly. These precautions apply only to this equipme nt. Re fer to the Q 173HCPU/Q172HC PU Users manual for a d[...]

  • Page 3

    A - 2 For Safe Oper ation s 1. Prevention of electric shocks ! DANGER Never open the front case or terminal covers while the pow er is ON or the unit is running, as this may lead to elect ric shocks. Never run the unit with the front case or term inal cover removed. The high voltage terminal and charged sections will be ex posed and may lead to ele[...]

  • Page 4

    A - 3 3. For injury prevention ! CAUTION Do not apply a volt age other than that specified in the instruction manual on any terminal. Doing so may lead t o destruction or damage. Do not mistake the terminal connections, as this may lead to destruction or damage. Do not mistake the polarity ( + / - ), as this may lead to destruction or damage. Do no[...]

  • Page 5

    A - 4 ! CAUTION In systems where perpendicular shaft dropping may be a problem during the forced stop, emergency stop, servo O FF or power supply OFF, use both dynamic brakes and electromagnetic bra kes. The dynamic brakes must be used only on errors that cause the forced stop, emergency stop, or servo OFF. These brakes must not be used for normal [...]

  • Page 6

    A - 5 ! CAUTION Set the servomotor encoder type (increment, absolute position type, etc.) parameter to a value that is compatible with t he system application. The protectiv e functions may not function if the settin g is in correct. Set the servomotor capacity and ty pe (standard, low-inertia, flat, etc.) parameter to values that are compatible wi[...]

  • Page 7

    A - 6 ! CAUTION Do not get on or place heavy objects on the product. Always observ e the installation direction. Keep the designated clear ance between the Motion controller or servo amplifier and cont rol panel inner surface or the Motion controller and servo amplifier, Motion controller or serv o amplifier and other devices. Do not install or ope[...]

  • Page 8

    A - 7 (4) W iring ! CAUTION Correctly and securely wire the wires. Reconfirm the connect ions for mistakes and the terminal screws for tightness after wiring. Failing to do so may lead t o run away of the servomotor. After wiring, install the protectiv e covers such as the terminal cov ers to the original positions. Do not install a phase advancing[...]

  • Page 9

    A - 8 (6) Usge methods ! CAUTION Immediately turn OFF the power if smoke, abnor mal sounds or odors are emitted from the Motion controller, servo amplifier or serv omotor. Always execut e a test operation before star ting actual operations after the program or parameters have been changed or after maintenance and inspection. The units must be disas[...]

  • Page 10

    A - 9 ! CAUTION If an error occurs, remove the cause, secure the safety and then resume operation after alarm release. The unit may suddenly resume operation after a pow er failure is restored, so do not go near the machine. (Design t he machine so that personal safety can be ensured even if the machine restarts suddenly.) (8) Mai ntenance, inspect[...]

  • Page 11

    A - 10 (9) About processing of waste W hen you dis card Motion c ontr oller, s ervo amplif ier, a batter y (pr imar y batter y) an d oth er opt ion art icles, pleas e follo w the law of e ach c ountr y (area) . ! CAUTION This product is not designed or manufactured to be used in equipme nt or systems in situations that can affect or endanger human [...]

  • Page 12

    A - 11 REVI SIONS The manual number is g iven on the bottom left of the b ack cov er. Pri nt D ate Manual Num ber Revision Feb., 2006 IB( NA)-03 00115-A First edi tion Japanese M anual Nu mber IB(N A)-0300095 This manual confer s no indust rial property rights or any right s of any oth er kind, nor d oes it confer any p atent licenses. Mitsubis hi [...]

  • Page 13

    A - 12 INTRODUCT ION Thank you for choos ing the Q173HCPU/Q1 72HCPU M otion Co ntroller. Please r ead this manual c aref ully so that eq uipm ent is used to its optim um . CONTENT S Safet y Precaut ions ............................................................................................................. ............................ A- 1 Rev[...]

  • Page 14

    A - 13 4.2.1 Axis moni tor devices ..................................................................................................... .................... 4-64 4.2.2 Co ntrol c hange r egist ers ................................................................................................. .................. 4-67 4.2.3 Ax is m onitor devices 2[...]

  • Page 15

    A - 14 6.13 G-c ode .................................................................................................................... ................................ 6-49 6.13.1 G 00 P oint- to-po int p osition ing at the hi gh-sp eed feed rate .......................................................... 6-5 2 6.13.2 G 01 C onstan t-spe ed pos it[...]

  • Page 16

    A - 15 6.16.8 3 2- bi t real n um ber and 64- bit r eal num ber d ata con versio n (DFLT , SFLT ) ............................... 6-141 6.16.9 F un ct ion s ( SQ RT , A BS , B IN , BC D , L N, E X P, R N D, F IX , F UP) ................................................ 6-142 6.16.10 Log ic al o p era tor s (A ND , OR , XO R, NO T, <<, >>[...]

  • Page 17

    A - 16 7.5 JOG Opera tion .............................................................................................................. ........................... 7-53 7.5.1 J OG o per atio n data ....................................................................................................... .................... 7-53 7.5.2 In dividu al st[...]

  • Page 18

    A - 17 About Ma nuals The f ollowing m anuals ar e relate d to this product. Referr ing to this lis t, pleas e request t he neces sary m anuals. Related Ma nuals (1) Motion c ontroller Manual N ame Manual N umber (Model Code) Q173HCPU /Q172HCPU Motion controller User's Manual This manual expl ains spec ificat ions of the Motion CP U modules , [...]

  • Page 19

    A - 18 (2) PLC Manual N ame Manual N umber (Model Code) QCPU User's Manual (Hardw are Design, Maintenance and Inspection) This manual expl ains the s pecific ations of the QCP U modules, power supply m odules, base modules , extension c ables, mem ory card battery and ot hers. (Optional) SH-080483ENG (13JR73) QCPU User's Manual (Function [...]

  • Page 20

    1 - 1 1 OVERVIE W 1 1. OVERVIEW 1.1 Overv iew This program m ing m anual d escr ibes t he oper atin g s ystem sof tware pac kages "SW 5RN-SV43Q " for Motio n CPU modul e (Q17 3HCPU /Q17 2HCPU) . In th is m anual, t he fo llowin g abbre viati ons ar e us ed. Generic term/Abbreviation Description Q173HCPU/ Q172HCP U or Motion CPU (module) Q[...]

  • Page 21

    1 - 2 1 OVERVIE W REMARK For inf orm ation about t he e ach m odule, desig n meth od for program an d param eter, refer to the f ollo wing m anua ls rel evant to eac h modu le. Item Reference Manual Motion CPU module/M otion unit Q173HCPU /Q172HCPU User’s Manual PLC CPU, peripheral dev ices for PLC program design, I/O modules and intelligent fun [...]

  • Page 22

    1 - 3 1 OVERVIE W 1.2 Features The Mo tion CPU has th e followi ng fe ature s. 1.2.1 Performance specifications (1) Basic specifications of Q172H CPU/Q172HC PU (a) Motion contro l spec if icati ons Item Q173 HCPU Q172HCPU Number of control ax es Up to 32 ax es Up to 8 axes Operation cycle (Default) 0.88ms/ 1 to 5 axes 1.77ms/ 6 to 14 ax es 3.55ms/1[...]

  • Page 23

    1 - 4 1 OVERVIE W Motion control speci fications (continued) Item Q173 HCPU Q172HCPU Number of programs 1024 Number of simultaneous start programs Axis designation program : 32 Control program : 16 Axis designation program : 8 Control program : 16 Number of positioning points Approx. 10600 points (Positioning data can be design ated indirectly) Num[...]

  • Page 24

    1 - 5 1 OVERVIE W (Note-1) : Acceleration-fix ed/time-fixed accelera tion/decelerat ion method is switched as foll ow s. Acceleration-fixed acceleratio n/deceleration method Time-fixed acceleration/deceler ation method G00 ( W ithout M-code setting.) G28 G30 G53 in G100 G00 ( W ith M-code setting.) G01 G02 G03 G12 G13 G32 in G101 All travel instruc[...]

  • Page 25

    1 - 6 1 OVERVIE W 1.2.2 Di fferences between Q173HC PU /Q172H CPU and Q173C PU(N)/Q 172CPU(N) Item Q173HCP U Q172HCPU Q173CPU(N) Q172CPU(N) Number of control axes 32 axes 8 axes 32 axes 8 axes Operation cyc le (Default) (It c an be set up by parameters .) 0.88m s/ 1 to 5 axes 1.77m s/ 6 to 14 axes 3.55m s/15 to 28 axes 7.11m s/29 to 32 axes 0.88m s[...]

  • Page 26

    2 - 1 2 POSITIONING CONTROL BY THE MOTION CPU 2 2. POSITI ONING CONTROL BY THE MOTION CPU 2.1 Positioning Control by the M otion CPU The pos itio ning c ontrol of up to 3 2 axes in Q17 3HCP U and up t o 8 ax es in Q 172HCPU is pos sible in t he Mot ion C PU. There ar e fo llo wing fo ur fun ctions as c ontro ls to ward th e servo ampl ifier /ser vo[...]

  • Page 27

    2 - 2 2 POSITIONING CONTROL BY THE MOTION CPU [Exec ution of the Motion program star t (S(P) .SVST instr uction) ] Posit ionin g contr ol is exec uted by st arting t he M otion progr am ( axis d esign ation program ) s pecifi ed with S(P) .SVST instr uctio n of t he PL C CPU i n the M otion C PU. An over view of th e star ting method using the Mo t[...]

  • Page 28

    2 - 3 2 POSITIONING CONTROL BY THE MOTION CPU Servo am plifier Servomotor Motion CP U Motion program No.15 (Pro gram No. speci fied wi th th e S(P). SVST inst ructi on.) System settin gs Fixed parameters Servo parameters Parameters block Home position return data JOG operation data Limit switch output data System data su ch as axis allocation s Fix[...]

  • Page 29

    2 - 4 2 POSITIONING CONTROL BY THE MOTION CPU [Exec ution of the J OG oper ation] JOG oper ation of specif ied axis is execu ted usin g the Mot ion pro gram in the Mot ion C PU. JOG opera tion c an also be ex ecuted by c ontroll ing th e JOG dedic ated de vice of spec ifi ed axis. An over view of J OG opera tion is s hown bel ow. Motion CPU c ontro[...]

  • Page 30

    2 - 5 2 POSITIONING CONTROL BY THE MOTION CPU Position ing control par ameter . . . . . Servo amplifi er Servomotor System s ettings Fixed p arameters Servo pa rameters Parame ter block Home p osition re turn dat a JOG ope ration data Limit switc h output d ata Set and correc t using a peripheral device (Not e-1) System data s uch as ax is allocati[...]

  • Page 31

    2 - 6 2 POSITIONING CONTROL BY THE MOTION CPU [Executi ng Manua l Pulse G enerator Operatio n] W hen the pos itio ning c ontro l is ex ecut ed b y the m anual puls e gener ator conn ected to the Q1 73PX, m anu al pu lse ge nerator oper atio n mus t be ena bled us ing the Motion program . An over vie w of m anua l pulse g enera tor op erati on is sh[...]

  • Page 32

    2 - 7 2 POSITIONING CONTROL BY THE MOTION CPU Servo am plifier Servom otor Positioni ng cont rol para meter . . . . . System setting s Fixed para meters Servo param eters Parameter block Home pos ition return da ta JOG operation data Limit switch output d ata Manual puls e genera tor Set and corre ct using a periph eral d evice ( Note-1) System da [...]

  • Page 33

    2 - 8 2 POSITIONING CONTROL BY THE MOTION CPU (1) Positi oning control parameters There ar e fo llo wing s even t ypes as pos itioni ng con trol param eters . Param eter d ata ca n be s et and corr ecte d inter acti vely u sing a peri phera l de vic e. Item Description Reference 1 Sy stem setting s Multiple sy stem sett ings, M otion mo dules and a[...]

  • Page 34

    2 - 9 2 POSITIONING CONTROL BY THE MOTION CPU (3) PLC pr ogram The pos itio ning c ontr ol b y the Mot ion pr ogram can be exec uted usin g the M otion dedic ated PLC ins truct ion of PLC program . Refe r to Ch apte r 3 for detail s.[...]

  • Page 35

    2 - 10 2 POSITIONING CONTROL BY THE MOTION CPU MEM O[...]

  • Page 36

    3 - 1 3 MOTION DEDICA TED PLC INST RUCTION 3 3. MOTION DEDI CATED PLC INSTRUCTI ON 3.1 Motion Dedicated P LC Instruction (1) T he Mot ion dedic ated PL C instr uct ion whic h ca n be ex ecut ed t oward t he Mot ion CPU whic h instal led a SV4 3 opera ting syst em sof tware is sho wn belo w. Instruction Description S(P).SFCS Start request of the spe[...]

  • Page 37

    3 - 2 3 MOTION DEDICA TED PLC INST RUCTION Shared CPU memory address ( ) is decimal address Description Example of the reading ( W hen target is the CPU No.2) 30H(48) The lowest rank bit (30H(48)) tow ard executing instruction from CPU No.1. U3E1/G48.0 31H(49) The lowest rank bit (31H(49)) tow ard executing instruction from CPU No.2. U3E1/G49.0 32H[...]

  • Page 38

    3 - 3 3 MOTION DEDICA TED PLC INST RUCTION (d) Us e a fl ag in t he shar ed C PU m emor y which cor res pond wi th eac h instr uctio n not to exec ute m ultipl e ins truct ions t o the sam e shaf t of the Motion CPU of sam e CPU No. for th e inter lock conditi on. (Progr am ex ample 1). (e) S(P) .SFC S/S( P).SV ST/ S(P) .CHG A/S( P).CH GVS( P).C HG[...]

  • Page 39

    3 - 4 3 MOTION DEDICA TED PLC INST RUCTION Program which executes directly multiple Motion dedicated PLC instructions because one contact-point turns o n. SP.SVST K104 M30 D20 H3E1 RST M2 1 M21 "J1" M100 1 SET M23 SP.SVST K105 M32 D22 H3E1 RST M23 M23 "J2" SP.SVST K106 M34 D24 H3E 1 RST M25 M25 "J4" SP.SVST K107 M36 D2[...]

  • Page 40

    3 - 5 3 MOTION DEDICA TED PLC INST RUCTION POINT Access from the PLC CPU is proces sed b efore the com m unicatio n process ing of the Mot ion C PU. T herefor e, if the Motion dedic ated P LC ins truct ion is freq uentl y perform ed f rom the PLC C PU, the scan tim e of the PLC CPU is not on ly pro longed , but d ela y will aris e in t he co mm uni[...]

  • Page 41

    3 - 6 3 MOTION DEDICA TED PLC INST RUCTION (3) Complete status The err or c ode is store d in the c omplet e stat us a t abnor m al com pletion of th e Mult iple C PU d edicat ed i nstr uction . The error c od e whic h is s tored is s hown below. (T he error code mar ked " * " is de dicate d with the Mot ion CPU.) Complete status (Error c[...]

  • Page 42

    3 - 7 3 MOTION DEDICA TED PLC INST RUCTION (4) Self C PU oper atio n dat a area used by Mot ion de dic ated ins truc tion ( 30H to 33H ) The c omplet e stat us of t he t o self CPU hi gh sp eed in terrupt acce pt f lag from CPUn is st ored in the f ollo wing address . Shared CPU memory address Name Des cription 30H(48) To self CPU high speed interr[...]

  • Page 43

    3 - 8 3 MOTION DEDICA TED PLC INST RUCTION 3.2 Motion prog ram (Control program) Start Request from The PLC CPU to The Motion CPU:S(P) .SFCS (PLC instruction: S(P).S FCS ) • Moti on pro gram (Contro l progr am) start re quest instr uction f rom the PLC C PU t o the Mo tion CPU (S (P) .SF CS) Usable devices Internal devices (System, User) MELSECNE[...]

  • Page 44

    3 - 9 3 MOTION DEDICA TED PLC INST RUCTION Set th e cont rol prog ram No . to sta rt in (n2 ). Usabl e range is show n below. (1) The control program No. is set The s pecif ied c ontrol pr ogr am No. is st arted . In th is cas e, contr ol pr ogra m is executed from the f irst bloc k. (n2) usable range 1 to 1024 (2) T he se quenc e No. ( N** **) is [...]

  • Page 45

    3 - 10 3 MOTION DEDICA TED PLC INST RUCTION [Operation of the sel f CPU at ex ecution of S(P).SFCS instruction] To self CP U high speed interrup t accept flag from CPUn State display device(D1+1) at the instruction start accept compl etion t ON ON S(P) . SFCS instruction OFF ON OFF OFF OFF 1 scan PLC program Instructio n accept completion at the Mo[...]

  • Page 46

    3 - 11 3 MOTION DEDICA TED PLC INST RUCTION [Errors] The ab norm al com pleti on in the cas e sh own be low, and th e error code is stor ed i n the devic e spec ifie d with t he c om plete stat us st oring devic e ( D2). Complete status (Note) (Error code)(H) Error factor Corrective action 4C00 The specified device cannot be used ih the Motion C PU[...]

  • Page 47

    3 - 12 3 MOTION DEDICA TED PLC INST RUCTION [Progr am example] M0 X0 (1) T his pro gram sta rts t he Moti on prog ram (Cont rol pr ogram) No.10 of the Moti on CPU No. 4. SP.S FCS K10 M0 D0 H3E 3 Normal compl ete pr ogram M1 Abnormal co mplete pr ogram M1 M0 X0 SP.SFCS K11000 M0 D0 H3E 3 Norm al com ple te progr am M1 Abnorm al complet e program M1 [...]

  • Page 48

    3 - 13 3 MOTION DEDICA TED PLC INST RUCTION 3.3 Motion Prog ram (Axis designati on program) Star t Request from The P LC CPU to The Motion CPU:S( P).SVST (PLC instruction: S(P).SVST ) • Mot ion pro gram (Axis design atio n progr am ) start re quest instr uctio n from the P LC CP U to the Mo tion CPU (S (P) .SVS T) Usable devices Internal devices [...]

  • Page 49

    3 - 14 3 MOTION DEDICA TED PLC INST RUCTION [Description] (1) This ins tructi on is ded icate d instr uctio n toward th e Motion C PU in the M ultipl e CPU s ystem . Errors occurs when it was exec uted to ward t he C PU exce pt the Motion C PU. (2) Re quest to star t the Motion progr am (Ax is des ignat ion pr ogram ) specif ied with (S2). (3) S(P)[...]

  • Page 50

    3 - 15 3 MOTION DEDICA TED PLC INST RUCTION (2) S(P ).SVST in structio n acceptin g and nor mal/abno rmal compl etion can be confir med with t he com plete devic e(D1) or st atus d ispla y dev ice(D 2) at the comple tion. (a) Complete de vice It is turn ed on by the EN D process ing of scan which t he instruc tion com pleted, a nd tur ned off by t [...]

  • Page 51

    3 - 16 3 MOTION DEDICA TED PLC INST RUCTION (b) T he se quenc e No. ( N****) / par am eter block No. in the c ontr ol pr ogram is set It can be star ted i n the m iddl e of progr am . 1) Ind irect s etting by da ta re gister D((S2) – 100 00) : T he ax is desi gnat ion pro gram No. st ored in the da ta reg iste r (Motio n CPU side ) is starte d. D[...]

  • Page 52

    3 - 17 3 MOTION DEDICA TED PLC INST RUCTION [Errors] The ab norm al com pleti on in the cas e sh own be low, and th e error code is stor ed i n the devic e spec ifie d with t he c om plete stat us st oring devic e ( D2). Complete status (Note) (Error code)(H) Error factor Corrective action 4C00 The specified device ca nnot be used in the M otion CP[...]

  • Page 53

    3 - 18 3 MOTION DEDICA TED PLC INST RUCTION [Progr am example] (1) Program which reque sts to start the Motion program (Axis designation p rogram) No.10 toward axis No.1 and No.2 of the Motion CPU No.4. from the P LC CPU No.1. SP.SVST K10 M0 D0 H3E3 RST M100 M100 To se lf CP U high s pee d interrupt accept flag f rom CPU U3E3 G48.0 "J1J2"[...]

  • Page 54

    3 - 19 3 MOTION DEDICA TED PLC INST RUCTION 3.4 Home positi on return instructi on from The PLC CPU to The Motion CPU: S(P).CH GA (PLC i nstruction: S (P).CHGA ) • Hom e pos ition r eturn instr uction from the PL C CPU to th e Moti on C PU (S( P).CHGA) Usable devices Internal devices (System, User) MELSECNET/10 direct J Setting data (Not e) Bit[...]

  • Page 55

    3 - 20 3 MOTION DEDICA TED PLC INST RUCTION [Description] (1) T his i nstruc tion is ded icate d ins truct ion to ward th e Mot ion C PU in t he Mul tiple CPU s ystem . Errors occurs when it was exec uted to ward t he CPU exce pt the Motion C PU. (2) Exec ute th e hom e pos ition retur n of ax is (s topped axis) No. spec ified with ( S1) . (3) S(P)[...]

  • Page 56

    3 - 21 3 MOTION DEDICA TED PLC INST RUCTION (b) Status disp lay de vice at th e com pletio n It is t urned on/off accor ding to the s tatus of th e instr uctio n com pletio n. Norm al com pletio n : O FF Abnor mal c omple tion : It is turned on b y the EN D proc essing of sc an which th e instr uctio n compl eted, and tur ned of f by the nex t EN D[...]

  • Page 57

    3 - 22 3 MOTION DEDICA TED PLC INST RUCTION [Errors] The ab norm al com pleti on in the cas e sh own be low, and th e error code is stor ed i n the devic e spec ifie d with t he c om plete stat us st oring devic e ( D2). Complete status (Note) (Error code)(H) Error factor Corrective action 4C00 The specified device ca nnot be used in the M otion CP[...]

  • Page 58

    3 - 23 3 MOTION DEDICA TED PLC INST RUCTION [Progr am example] SP.CHGA K10 M0 D0 H3E3 RST M100 M100 To self CPU high speed in terr upt acc ept flag from CPU U3E 3 G48.0 "J1" M0 Normal c omplete prog ram M1 Abnorm al complet e program M1 Start acce pt flag of the axis No.1 (CPU N o.4) U3E 3 G516.0 Progra m which exec ute the home posi ti[...]

  • Page 59

    3 - 24 3 MOTION DEDICA TED PLC INST RUCTION 3.5 Speed Chang e Instruction from The P LC CPU to The Motion C PU: S(P).CH GV (PLC i nstruction: S(P).CHGV ) • Speed cha nge instr ucti on (S(P) .CHGV) Usable devices Internal devices (System, User) MELSECNET/10 direct J Setting data (Not e) Bit Word File register Bit digit specified Indirectly speci[...]

  • Page 60

    3 - 25 3 MOTION DEDICA TED PLC INST RUCTION [Description] (1) This i nstruc tion is de dicat ed in struct ion toward the M otio n CPU i n the Mult iple CPU system . Err ors occur s when it was ex ecuted towar d the CPU exc ept th e Mo tion CPU. (2) T he sp eed ch ange is ex ecuted of the axis s pec ified with ( S1) d uring p ositi oning or JOG op e[...]

  • Page 61

    3 - 26 3 MOTION DEDICA TED PLC INST RUCTION [Setting rang e] (1) S ettin g of ax is to execu te th e spee d chan ge. The ax is to execut e the spe ed cha nge se t as (S 1) s ets J + axis No. in a char acter sequenc e " ". (S1) usable range Q173HCPU 1 to 32 Q172HCPU 1 to 8 The num ber of axes which can s et ar e onl y 1 ax is. The ax is No[...]

  • Page 62

    3 - 27 3 MOTION DEDICA TED PLC INST RUCTION [Errors] The ab norm al com pleti on in the cas e sh own be low, and th e error code is stor ed i n the devic e spec ifie d with t he c om plete stat us st oring devic e ( D2). Complete status (Note) (Error code)(H) Error factor Corrective action 4C00 The specified device ca nnot be used in the M otion CP[...]

  • Page 63

    3 - 28 3 MOTION DEDICA TED PLC INST RUCTION Movi ng Ba ckward duri ng Posi tion ing W hen a speed chan ge is m ad e to a n egati ve spe ed b y the CHG V ins truct ion, t he tr avel direct ion ca n be c hanged to the direc tion o pposite to t he intend ed p osition ing d irecti on. Operat ion for ea ch instru ction is as foll ows. G-code In structio[...]

  • Page 64

    3 - 29 3 MOTION DEDICA TED PLC INST RUCTION (3) W hen the axis is s tandi ng b y at the r etur n positi on (a) Signal states • Start accept (M 2001 + 20n) ON (Remains unchanged from b efore execution of CHGV) • Positioning start completi on (M2400 + 20n) ON (Remains unchanged from b efore execution of CHGV) • Positioning completion (M 2401 + [...]

  • Page 65

    3 - 30 3 MOTION DEDICA TED PLC INST RUCTION [Operation Ex ample under G01] W hen a speed chan ge is m ade t o ne gative speed d urin g posi tioning to P2 in t he N2 block as sho wn ab ove, t he ax is r eturns t o P1 alon g the track specif ied i n the pr ogr am and st ands b y at P 1. (1) A spe ed cha nge to neg ative s peed is in vali d (ignor ed)[...]

  • Page 66

    3 - 31 3 MOTION DEDICA TED PLC INST RUCTION (4) In the abo ve exampl e, the axis returns to P2 even if the axis pass es throu gh P2 durin g a sp eed ch ange m ade t o negat ive s peed imm ediate ly bef ore P2. [Progr am example] SP. CHGV K1000 M0 D 0 H3E 3 RST M100 M100 To s elf CP U high speed interrupt a ccept flag from CPU U3E3 G48.0 "J1&q[...]

  • Page 67

    3 - 32 3 MOTION DEDICA TED PLC INST RUCTION 3.6 Torque Limi t Value Chang e Request Instruction from The PLC CPU to The Moti on CPU: S(P).CHGT (PL C instru ction: S(P) .CHGT ) • Torq ue lim it valu e chan ge reques t ins tructi on from the P LC CPU t o the M otion CPU (S(P).CHGT) Usable devices Internal devices (System, User) MELSECNET/10 direct [...]

  • Page 68

    3 - 33 3 MOTION DEDICA TED PLC INST RUCTION [Description] (1) T his i nstruc tion is ded icate d ins truct ion to ward th e Mot ion C PU in t he Mul tiple CPU s ystem . Errors occurs when it was exec uted to ward t he CPU exce pt the Motion C PU. (2) T he tor que l imit v alue of the axis spec ified with ( S1) is cha nged to the value of (S2) r ega[...]

  • Page 69

    3 - 34 3 MOTION DEDICA TED PLC INST RUCTION (2) S ettin g of th e torq ue li mit va lue to c hang e. (S2) usable range 1 to 1000 [Errors] The ab norm al com pleti on in the cas e sh own be low, and th e error code is stor ed i n the devic e spec ifie d with t he c om plete stat us st oring devic e ( D2). Complete status (Note) (Error code)(H) Error[...]

  • Page 70

    3 - 35 3 MOTION DEDICA TED PLC INST RUCTION [Progr am example] Progra m which chan ges t he tor que limi t value of the axi s No.1 o f the Motion CP U (CPU No.4) from PLC CPU (CP U No.1) to 10[% ]. SP.CHGT K10 M0 D0 H3E3 RST M100 M100 To self CPU high speed interrupt ac cept fl ag fr om CPU U3E3 G48. 0 "J1" M0 Normal c omplete pr ogram M[...]

  • Page 71

    3 - 36 3 MOTION DEDICA TED PLC INST RUCTION 3.7 Write from The PL C CPU to The Motion C PU: S(P).DD W R (PLC i nstruction: S(P) .DD W R ) • Write inst ruct ion fro m the PLC CPU to the Moti on CPU (S(P ).DD W R) Usable devices Internal devices (System, User) MELSECNET/10 direct J Setting data (Not e) Bit Word File register Bit digit specified I[...]

  • Page 72

    3 - 37 3 MOTION DEDICA TED PLC INST RUCTION [Controls] (1) T his i nstruc tion is ded icate d ins truct ion to ward th e Mot ion C PU in t he Mul tiple CPU s ystem . Errors occurs when it was exec uted to ward t he CPU exce pt the Motion C PU. A part for the number of writ ing data of the contr ol data s pecifi ed with ( S1) of data since the de vi[...]

  • Page 73

    3 - 38 3 MOTION DEDICA TED PLC INST RUCTION [Operation of the sel f CPU at ex ecution of S(P).DD W R instruction] S(P).DDWR i nstruction (First) To self CPU high speed interrupt accept f lag from CPUn (Instruc tion accept des tination buffer me mory) First S(P).DDWR instruction complete device t OFF OFF ON State display device at the first S(P).DDW[...]

  • Page 74

    3 - 39 3 MOTION DEDICA TED PLC INST RUCTION The e rror fl ag (SM0 ) is tur ned on an operat ion e rror in the case show n below , and an error c ode is stor ed i n SD0. Error code (Not e) Error factor Corrective action 2110 T he CPU No. to be set by "(First I/O NO. of the target CPU)/16" is specified. 2114 T he self CPU by "(First I/[...]

  • Page 75

    3 - 40 3 MOTION DEDICA TED PLC INST RUCTION 3.8 Read from The Devices of The Motion CPU: S(P).DDRD (PLC instruction: S(P). DDRD ) • Read instruct ion from the devic es of th e Moti on CPU : S(P).D DRD Usable devices Internal devices (System, User) MELSECNET/10 direct J Setting data (Not e) Bit Word File register Bit digit specified Indirectly s[...]

  • Page 76

    3 - 41 3 MOTION DEDICA TED PLC INST RUCTION [Control] (1) T his i nstruc tion is ded icate d ins truct ion to ward th e Mot ion C PU in t he Mul tiple CPU s ystem . Errors occurs when it was exec uted to ward t he CPU exce pt the Motion C PU. A part for t he num ber of readi ng d ata of t he con trol data specif ied with ( S1) of data s ince t he d[...]

  • Page 77

    3 - 42 3 MOTION DEDICA TED PLC INST RUCTION [Operation of the sel f CPU at ex ecution of S(P).DDR D instruction] t OFF OFF ON OFF ON ON ON OFF END END EN D END OFF OFF ON OFF ON END To self CP U high spe ed interrupt accept flag fro m CPUn (Instruc tion accept destination buffer me mory) S(P).DDRD instruction (First) First S(P).DDRD instruction com[...]

  • Page 78

    3 - 43 3 MOTION DEDICA TED PLC INST RUCTION The e rror fl ag (SM0 ) is tur ned on an operat ion e rror in the case show n below , and an error c ode is stor ed i n SD0. Error code (Not e) Error factor Corrective action 2110 T he CPU No. to be set by "(First I/O NO. of the target CPU)/16" is specified. 2114 T he self CPU by "(First I/[...]

  • Page 79

    3 - 44 3 MOTION DEDICA TED PLC INST RUCTION MEM O[...]

  • Page 80

    4 - 1 4 POSITION ING SIGNALS 4. POS ITIONING SIGNALS The in tern al sign als of the Motion CPU and t he ext ernal signal s to the Motion CPU are used as positi oning sig nals. (1) Internal signals The follow ing fi ve d evices o f the Motio n CPU are used as the i nternal s ignals of the Motion C PU. • Inter nal rel ay (M) .. ...... ....... .....[...]

  • Page 81

    4 - 2 4 POSITION ING SIGNALS The p ositi oning ded icated device s are shown bel ow. It indic ates the de vice refres h c y c le of t he Mot ion CP U for sta tus s ignal with t he posit ioning contr ol, a nd the devic e fetc h c ycle of th e Moti on CPU f or c omm and sign al with the pos itioni ng con trol. The op erati on c ycle of t he Motion CP[...]

  • Page 82

    4 - 3 4 POSITION ING SIGNALS (2) Axis stat us list Axis No. Device No. Si gnal name 1 M 2400 to M241 9 2 M 2420 to M243 9 3 M 2440 to M245 9 Signal name Refresh c ycle Fetch cy cle Signal direction 4 M 2460 to M247 9 0 P ositioning s tart complet e 5 M 2480 to M249 9 1 P ositioning c omplete 6 M 2500 to M251 9 2 I n-position 7 M 2520 to M253 9 3 Co[...]

  • Page 83

    4 - 4 4 POSITION ING SIGNALS (3) Axis command signal list Axis No. Devic e No. Signal name 1 M3200 to M3219 2 M3220 to M3239 3 M3240 to M3259 Signal nam e Refresh cyc le Fetch c ycle Signal directi on 4 M32 60 to M 32 79 0 Stop c ommand 5 M32 80 to M 32 99 1 Rapid s top command Operation cyc le 6 M3300 to M3319 2 F orwa rd ro ta ti on JO G st ar t [...]

  • Page 84

    4 - 5 4 POSITION ING SIGNALS (4) Axis status 2 l ist Axis No. Device No. Si gnal name 1 M 4000 to M400 9 2 M 4010 to M401 9 3 M 4020 to M402 9 Signal name Refresh c ycle Fetch cy cle Signal direction 4 M 4030 to M403 9 0 5 M 4040 to M404 9 1 Unus able — — — 6 M 4050 to M405 9 2 A utomatic start 7 M 4060 to M406 9 3 Tem porary stop Operation c[...]

  • Page 85

    4 - 6 4 POSITION ING SIGNALS (5) Axis command signal 2 list Axis No. Devic e No. Signal name 1 M4400 to M4409 2 M4410 to M4419 3 M4420 to M4429 Signal nam e Refresh cyc le Fetch c ycle Signal directi on 4 M44 30 to M 44 39 0 Temporary s top command 5 M4440 to M 44 49 1 Optional program stop command 6 M44 50 to M 44 59 2 Optional block skip command [...]

  • Page 86

    4 - 7 4 POSITION ING SIGNALS (6) Common dev ice list De vice No. Signal nam e Ref res h cycle Fetch cycle Signal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycl e F etch cycle Signal direct ion Remark (Note-4) M2054 Operati on cycle over fl ag Operat ion cycl e S tatus signal M2000 PLC ready f lag Main cycl e Command signal (Note-[...]

  • Page 87

    4 - 8 4 POSITION ING SIGNALS Common dev ice list ( Continued) De vice No. Signal nam e Ref res h cycle Fetch cycle Si gnal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycle F etch cycle Signal direct ion Remark (Note-4) M2119 M2180 M2120 M2181 M2121 M2182 M2122 M2183 M2123 M2184 M2124 M2185 M2125 M2186 M2126 M2187 M2127 Unusable (9[...]

  • Page 88

    4 - 9 4 POSITION ING SIGNALS Common dev ice list ( Continued) De vice No. Signal nam e Ref res h cycle Fetch cycle Signal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycle Fetc h cycle Si gnal direct ion Remark (Note-4) M2240 Axi s 1 M2280 M2241 Axi s 2 M2281 M2242 Axi s 3 M2282 M2243 Axi s 4 M2283 M2244 Axi s 5 M2284 M2245 Axi s 6[...]

  • Page 89

    4 - 10 4 POSITION ING SIGNALS Expl anatio n of the reque st registe r No. Function Bit devic e Request regis ter 1 PLC ready f lag M2000 D704 2 Al l axes servo ON comm and M2042 D706 3 JOG operat ion sim ultaneous st art comm and M2048 D708 4 Manual pul se generat or 1 enable flag M2051 D755 5 Manual pul se generat or 2 enable flag M2052 D756 6 Man[...]

  • Page 90

    4 - 11 4 POSITION ING SIGNALS (7) Special relay allocated dev ice list (Status) Device No. Signal name Refresh c ycle Fetch cyc le Si gnal directi on Remark (Note) M2320 Fuse bl own detecti on M9000 M2321 AC/ DC DOW N detection M9005 M2322 Batt ery low M90 06 M2323 Bat tery lo w latch M9007 M2324 Self -diagnostic error M9008 M2325 Diagnost ic error[...]

  • Page 91

    4 - 12 4 POSITION ING SIGNALS (8) Common dev ice list ( Command signal ) Device No. S ignal name Refresh cycle Fetch c ycle S ignal direct ion Remark (Note-1) , (No te-2) M3072 PLC ready flag Ma in cy cle Comm and signal M2000 M3073 Unusable — — — — M3074 All axes servo ON com mand Operation cycle M2042 M3076 JOG operation s imult aneous st[...]

  • Page 92

    4 - 13 4 POSITION ING SIGNALS 4.1.1 Axis s tat use s (1) Positi oning start complete signal ( M2400+20n) (a) T his s ignal t urns on wit h the start com pletion for t he pos ition ing c ontro l of the ax is sp ecifi ed with the M otio n progr am ( Axis des igna tion pr ogram ). The M otion pr ogr am (Ax is d esignat ion pr ogram ) is start ed b y t[...]

  • Page 93

    4 - 14 4 POSITION ING SIGNALS REMARK (Note- 1): In the ab ove d escr iptions, "n" in "M32 04+20 n", etc. in di ca te s a val ue corres ponding to ax is No. s uch as th e follo wing tables . Axis N o. n Axis N o. n Axis No . n Axis No . n 1 0 9 8 17 16 25 24 2 1 10 9 18 17 26 25 3 2 11 10 19 18 27 26 4 3 12 11 20 19 28 27 5 4 13 [...]

  • Page 94

    4 - 15 4 POSITION ING SIGNALS (2) Positi oning complete signal (M2401+20n) (a) T his si gnal t urns on wit h the com pletion for the posi tionin g contr ol of the axis s pec ified with t he Mot ion pr ogram (Axis des ignati on pro gram ). The M otion pr ogr am (Ax is d esignat ion pr ogram ) is start ed b y the fol lowing inst ructions. 1) S VST in[...]

  • Page 95

    4 - 16 4 POSITION ING SIGNALS (3) In-posi tion signal (M2402+20n) (a) T his s ignal t urns on when the number of dr oop pu lses i n the d eviat ion counter bec omes be low t he " in-pos ition range" set in the servo param eters. It tu rns off at th e sta rt. [Motion prog ram exapmle] O0001; G90 G00 X100. ; X200. ; M02; % Program No. Absol[...]

  • Page 96

    4 - 17 4 POSITION ING SIGNALS (4) Command i n-position si gnal (M2403+ 20n) (a) This sign al turns on when the abs olute value of differenc e bet ween the comm and pos itio n and m achi ne va lue b ecom es bel ow t he "c omm and in- posit ion ra nge" set i n the f ixed param eters . Thi s sign al tu rns o ff in th e fol lowi ng case s. ?[...]

  • Page 97

    4 - 18 4 POSITION ING SIGNALS POINTS Exam ple 1 , 2 ar e sho wn be low ab out in- pos itio n signa l an d comm and in- pos ition signa l of the inter polat ion ax is. [Exam ple1] G0 travel block Start accept flag (M2001+n) In-position signal (M2402+20n ) X Y Z Command in-position range In-position range Motio n program (Axi s designation program) s[...]

  • Page 98

    4 - 19 4 POSITION ING SIGNALS POINTS [Exam ple2] G0 travel block Start accept flag (M2001+n) In-position signal (M 2402+20n) X Y Z Com man d in- pos it ion r ang e In-position range Motion program (Axis designation program) start Com man d in- pos it ion s ign al (M2403+20n) X Y Z Axis X,Y speed (Z-axis doe s not travel) Operation timing PLC progra[...]

  • Page 99

    4 - 20 4 POSITION ING SIGNALS (5) Zero pass sig nal (M2406+20n) This si gnal turns on whe n the ze ro poin t is passed a fter the power supply on of the se rvo ampli fier. Once t he zer o po int has been pass ed, it rem ains on st ate until the CPU has been r eset. However , in t he hom e pos ition r etur n meth od of proxim ity d og, c ount, d og [...]

  • Page 100

    4 - 21 4 POSITION ING SIGNALS REMARK (Note- 1): Re fer to APPENDIX 1 .4 for the error codes on errors dete cted at the se rvo am plifier side . (8) Home posi tion return r equest signal (M2409+20n) This signal tur ns on when it is neces sar y to confir m the hom e positi on address . (a) W hen not usin g an absolut e pos ition s ystem 1) Thi s sign[...]

  • Page 101

    4 - 22 4 POSITION ING SIGNALS (9) Home posi tion return complete si gnal (M2410+20n) (a) T his s ignal t urns on wh en the home p ositi on ret urn op eratio n has been com pleted norm all y. (b) T his s ignal t urns off at the pos itio ning s tart, JOG o perat ion st art a nd man ual pulse gener ator o perat ion st art. (c) If the hom e p osition r[...]

  • Page 102

    4 - 23 4 POSITION ING SIGNALS (11) RLS sig nal (M2412+ 20n) (a) T his si gnal is co ntrolle d b y the ON/OFF sta te for the lower st rok e lim it switc h input (FL S) of the Q 172LX /Ser vo am plifier . • Low er strok e lim it swi tch in put OFF . ..... RLS sig nal: O N • Low er strok e lim it swi tch in put ON ...... .. RLS s ignal: OFF (b) Th[...]

  • Page 103

    4 - 24 4 POSITION ING SIGNALS (13) DOG/C HANGE signal (M2414+ 20n) (a) T his s ignal t urns on/of f by t he prox im ity dog input ( DOG) of the Q 172LX / Serv o ampl ifier at the hom e pos ition r etur n. (b) "No rmally open con tact inpu t" and " Normally closed co ntact input" of t he system sett ing c an be s elec ted. 1) Q17[...]

  • Page 104

    4 - 25 4 POSITION ING SIGNALS POINT W hen the par t of m ultip le se rvo am plif iers c onnect ed to the S SCNET becomes a servo er ror, onl y an a pplic able axis becom es the servo OFF s tate. (15) Torq ue limiting sig nal (M2416+ 20n) This signal tur ns on while to rque lim it is exec uted. The s ignal to ward t he tor que limiti ng ax is tur ns[...]

  • Page 105

    4 - 26 4 POSITION ING SIGNALS 4.1.2 Axis command signals (1) Stop comma nd (M3200+20n) (a) T his c omm and stops a s tarting ax is f rom an exter nal s ourc e and b ecom es eff ective at the t urnin g sig nal of f to on. ( An ax is f or wh ich th e stop c omm and is tur ning on can not be star ted.) Stop command (M3200+ 20n) Setting spe ed OFF ON V[...]

  • Page 106

    4 - 27 4 POSITION ING SIGNALS (2) Rapi d stop command (M 3201+20n) (a) T his c omm and is a sign al wh ich sto p a s tart ing ax is rap idl y from an exter nal source and becom es ef fective when t he si gnal tur ns of f to on. (A n axis for which the ra pid sto p comm and turns o n can not be s tarte d.) Rapid st op comm and (M3201+ 20n) Set ting [...]

  • Page 107

    4 - 28 4 POSITION ING SIGNALS (3) Forw ard rotation JOG start comman d (M3202+20n)/ Revers e rotation JOG start command ( M3203+20n) (a) JO G op erati on to t he a ddress increas e dir ect ion is execu ted while f orwar d rotati on JOG start c omm and (M 3202 +20n) is tur ning on. W hen M3202 +20n is turn ed of f, a dec eler ation s top is ex ecute[...]

  • Page 108

    4 - 29 4 POSITION ING SIGNALS (5) Err or reset command (M 3207+20n) (a) This c omm and is us ed to clear the m inor er ror c ode or m ajor error code stora ge reg ister of an ax is f or whic h the error detec tion signa l has turn o n (M240 7+20n: ON), a nd res et the error detect ion si gnal (M2 407+2 0n). OFF OFF Error detec tion signal (M2407+ 2[...]

  • Page 109

    4 - 30 4 POSITION ING SIGNALS (6) Serv o error reset comma nd (M3208+20n) (a) This comm and is used to clear the s erv o error c ode s torage regis ter of an axis f or wh ich th e serv o erro r detec tion s igna l has turn o n (M24 08+20 n: ON), an d reset the servo e rror dete ction signal (M240 8+20n). Servo err or reset com mand (M3208+ 20n) Ser[...]

  • Page 110

    4 - 31 4 POSITION ING SIGNALS (7) Exter nal stop input disable at star t command (M3209+ 20n) This si gnal is used to set the e xternal STOP signal input valid or invali d. • ON .......... Ext ernal stop input is s et as i nvalid, and even axes which sto p input is t urning on can be st arted. • OFF .......... Externa l stop i nput is set as va[...]

  • Page 111

    4 - 32 4 POSITION ING SIGNALS (10) FIN sig nal (M3219+20n) W hen an M-c ode is set in a po int dur ing p osition ing, tr ans it to th e next block does n ot exec ute u ntil the FIN s ignal c hanges as f ollo ws: OFF ON OFF. Posit ioning t o the next block begins after the FI N sign al c hanges as abo ve. [Motion prog ram exampl e] O0001; G90 G00 X1[...]

  • Page 112

    4 - 33 4 POSITION ING SIGNALS 4.1.3 Axis statuses 2 (1) Automatic star t signal (M4002+ 10n) W hen the axis use d is s peci fied i n the SVST instr uctio n, this sig nal tur ns o n while t he b lock of the s pecif ied Mo tion pr ogr am is being execu ted. T his s ignal tur ns off i n the followi ng ca ses. • M02/ M30 is exec uted. • The t empor[...]

  • Page 113

    4 - 34 4 POSITION ING SIGNALS (2) Temporar y stop signal (M4003+10n) (a) T his si gnal t urns on b y the tem porar y stop c omm and whe n the autom atic star t sign al (M4002+ 10n) is tu rning on. W hen the re- start c omm and (M4 404+1 0n) is tur ned on durin g a tem porar y stop, it is resum ed from the block where it had stop ped. There is t he [...]

  • Page 114

    4 - 35 4 POSITION ING SIGNALS (3) Single bl ock processing signal (M 4009) (a) T he si ngle b lock is a vaila ble in two m odes : a m ode wher e a si ngle block is specif ied b efore a pro gram start, and a m ode where a sin gle bl ock is execu ted at an y point dur ing progr am executio n. The s ingle b lock process ing s ignal indicat es tha t a [...]

  • Page 115

    4 - 36 4 POSITION ING SIGNALS 4.1.4 Axis command signals 2 (1) Temporary stop command ( M4400+10n) (a) T he Mot ion pr ogram at the posi tionin g star t (G00 , G01, etc.) with t he SVST instr uctio n is s toppe d tem porari ly b y the tem porar y stop com mand. (The Mo tion pr ogr am is stop ped tem porar ily if any of the temporar y st op comm and[...]

  • Page 116

    4 - 37 4 POSITION ING SIGNALS (2) Optional program stop command ( M4401+10n) This signal is us ed to s elec t wheth er a b lock stop is m ade in a block wher e "M01" exi sts. • O N......... T he block stop is m ade as the en d of tha t block . • O FF.........The n ext block is ex ecuted. [Motion prog ram exampl e] O0001; G90 G00 X100.[...]

  • Page 117

    4 - 38 4 POSITION ING SIGNALS (3) Optional block skip command (M4402+ 10n) This signal is us ed to s elec t wheth er a b lock is exec uted or not in th e first of block where " /" exis ts. • O N.......... T he block is not exec uted and ex ecutio n shifts to the next bl ock . • O FF........ The b lock is executed. [Motion prog ram exa[...]

  • Page 118

    4 - 39 4 POSITION ING SIGNALS (4) Singl e block command (M4403+ 10n) This single block is ; used t o set a singl e bloc k bef ore a program star t. Ref er t o the si ngle b lock mode s igna l (M440 8) for the m ode wh ich ex ecutes a si ngle block at an y poin t dur ing ex ecutio n of pr ogram . By turn ing on the s ingle bloc k c ommand b efore a [...]

  • Page 119

    4 - 40 4 POSITION ING SIGNALS (5) Re- start command (M 4404+10n) This comm and res um es blo ck ex ecution when i t is t urne d on durin g a bl ock s top by the M00, M01 or sing le bloc k c omm and or dur ing a tem porary s top dur ing t he tempor ar y stop com m and. (T his signa l is vali d for t he Mot ion pr ogram onl y. It is inval id for a h [...]

  • Page 120

    4 - 41 4 POSITION ING SIGNALS (7) Axi s interlock (Forw ard)/(Reverse) (M 4406+10n/M4407+10n) This si gnal is used to select wh ether an axis i s made decele rati on stop du ring posit ioni ng con trol. (a) T he ax is int erloc k (f orward)/( rev erse) c omm and tur ns o n whil e the axis inte rlock v alid/inv alid (M4418+1 0n) is turning on, a dec[...]

  • Page 121

    4 - 42 4 POSITION ING SIGNALS [Motion prog ram exampl e] O0001; G90 G00 X200. ; G01 X300. F-100. ; M02; % Program No. Absolut e value comm and PTP positioning ( X200.) Constant -speed positi oning (X300. ) Rese t OFF OFF OFF ON ON OFF V t ON ON Motion program (Axis designation p rogram) start Start accept flag (M2001+n) Axis interlock (forward) (M4[...]

  • Page 122

    4 - 43 4 POSITION ING SIGNALS POINTS [The re asons for t he ser vomotor tra vels m inutel y when the axis i nterloc k s ignal t urns on at a Motion progr am start.] Sin ce the trav el di recti on is judg ed at th e positio ning cont rol in the Motio n CPU, onl y the fir st int erpolat ion pr ocess ing is exec uted. There fore, t he ser vom otor tra[...]

  • Page 123

    4 - 44 4 POSITION ING SIGNALS (8) Singl e block mode signal (M 4408) (a) T his s ignal val idates a sin gle bl ock va lid i n the mode which execu tes a singl e block duri ng ex ecutio n of pr ogram . (b) T he si ngle b lock proces sing ( M4009) tur ns on by tur ning o n the single block mode. (9) Singl e block start signal (M4409) (a) T his s igna[...]

  • Page 124

    4 - 45 4 POSITION ING SIGNALS 4.1.5 Common dev ices POINTS (1) I nterna l rela ys for posit ioni ng con trol are no t latc hed ev en wit hin the latc h rang e. In t his m anua l, in or der t o in dicate that inter nal re la ys for pos it ionin g contro l are not latc hed, the ex press ion us ed in this t ext is "M 2000 t o M2319 ". (2) T [...]

  • Page 125

    4 - 46 4 POSITION ING SIGNALS 3) The proces sing in a bove (c) 1) is not execu ted dur ing the t est m ode. It is execut ed whe n the test m ode is canc elle d and M20 00 is ON. PLC ready flag (M2000) PCPU READY complete flag (M9074) Clear a M-code V Positioning start D ecelerat ion stop OFF OFF ON ON PCPU READY complete flag (M9074) doe s not turn[...]

  • Page 126

    4 - 47 4 POSITION ING SIGNALS The con ditio n which M2 000 is turn ed on to off . • Set " 0" to t he set ting regis ter D 704 of the PLC re ady fl ag wher e the RUN/STOP s witch is moved to RUN. (T he M otion CPU detec ts the change of the lowes t rank bit 1 0 i n D704.) • Move th e RUN/ST OP swit ch from RUN to ST OP. (2) Start accep[...]

  • Page 127

    4 - 48 4 POSITION ING SIGNALS (c) W hen M2 000 is OFF , the s tart ac cept f lag t urns on b y the Mot ion de dicat ed PLC ins truc tion ( S(P). SVST ), and th e st art acc ept fl ag tur ns of f by tur ning the M2 000 ON. OFF ON PLC read y flag (M2 000) OFF ON Moti on p rogr am (Axi s designa tion program) start Start acc ept flag (3) Pers onal com[...]

  • Page 128

    4 - 49 4 POSITION ING SIGNALS (5) All axes servo ON command (M2042) .................. Command sig nal This comm and is used to en able s ervo o perati on. (a) Ser vo o perat ion ena bled … M204 2 turns on while t he ser vo OFF com mand (M321 5+20n) is off and there is no servo err or. (b) Ser vo o perat ion dis able ...... • M20 42 is off • [...]

  • Page 129

    4 - 50 4 POSITION ING SIGNALS (8) All ax es servo ON accept flag (M2049) .................... Status sig nal This flag t urns on when the Mot ion C PU acc epts t he all axes s ervo O N comm and (M2 042). Since the s ervo r ead y state of eac h ax is is n ot c hecked, conf irm it in the s ervo read y signal (M24 15+20 n). OFF ON OFF ON ON OFF A ll a[...]

  • Page 130

    4 - 51 4 POSITION ING SIGNALS (12) Speed chang ing flag (M2061 to M2092) .................... Stat us signal This flag t urns on duri ng sp eed ch ange b y the co ntrol chang e (CHG V) instr uctio n of t he Mot ion pr ogram or M otion dedic ated P LC ins truct ion (S(P).CHGV). Speed changing flag Delay by the PLC progr am Spee d chan ge comm and t [...]

  • Page 131

    4 - 52 4 POSITION ING SIGNALS (13) Automatic decel erating flag (M2128 to M2159) ......... Stat us signal This si gnal turns on whi le auto matic decel erati on p rocessin g is perfor med at the p osition ing c ontro l or p osit ion f ollo w-up c ontro l. (a) Thi s flag turns on during automat ic decele rati on proce ssing to th e comm and addr ess[...]

  • Page 132

    4 - 53 4 POSITION ING SIGNALS (14) Speed chang e "0" accepting flag (M2240 to M2271) ....………. Status signal This fl ag tu rns on whil e a speed change req uest to speed "0" or n egative speed ch ange is b eing acc epted. It turn s on wh en th e speed cha nge req uest to speed "0" or negati ve speed change is acce[...]

  • Page 133

    4 - 54 4 POSITION ING SIGNALS REMARK (1) Ev en if it has s topp ed, when the start acce pt fla g (M20 01 to M 2032) is ON state , the stat e where the request of spe ed chang e "0" is ac cepte d is indic ated. Confirm b y this s peed chan ge "0" accept ing f lag. (2) D uring i nterpo latio n, the flags c orres pondi ng to the i [...]

  • Page 134

    4 - 55 4 POSITION ING SIGNALS (a) T he fla g turns off if a s pee d change requ est oc curs durin g dece lerat ion to a stop d ue to s peed c hange "0" . Start acc ept flag Speed chan ge "0" accepti ng flag OFF ON V V 1 V 2 t Speed cha nge "0" Speed chan ge V 2 (b) T he fla g turns off if a st op caus e occ urs af ter [...]

  • Page 135

    4 - 56 4 POSITION ING SIGNALS 4.2 Data Register s (1) Data register list Device No. Appli cation D0 to Axis moni tor device (20 points 32 axes) D640 to Control chang e register (2 points 32 a xes) D704 to Common devi ce (Comm and signal) (54 points) D758 to Common devi ce (Monitor) (42 points) D800 to Axis moni tor device 2 (20 points 32 axes) D144[...]

  • Page 136

    4 - 57 4 POSITION ING SIGNALS (2) Axis monitor device lis t Axis No. Devic e No. Signal name 1 D0 to D19 2 D20 to D39 3 D40 to D59 Signal name Refresh cycle Fetch cycle Unit Signal directi on 4 D60 to D79 0 5 D80 to D99 1 Mac hine value 6 D100 to D119 2 7 D120 to D139 3 Real m achine value Comm and unit 8 D140 to D159 4 9 D160 to D179 5 Deviation c[...]

  • Page 137

    4 - 58 4 POSITION ING SIGNALS (3) Contr ol change register lis t Axis No. Devi ce No. Signal name 1 D640, D641 2 D642, D643 3 D644, D645 Signal name Refresh cycle Fetc h cycle Unit Signal directi on 4 D646, D647 0 5 D648, D649 1 JOG speed s etting At start Com mand unit Comm and device 6 D650, D651 7 D652, D653 8 D654, D655 9 D656, D657 10 D658, D6[...]

  • Page 138

    4 - 59 4 POSITION ING SIGNALS (4) Axis monitor device 2 lis t Axis No. Devic e No. Signal name 1 D800 to D819 2 D820 to D839 3 D840 to D859 Signal name Refresh cycl e Fetc h cycle Unit Signal directi on 4 D860 to D879 0 5 D880 to D899 1 Cur re nt v al ue Operat ion cycle Comm and unit 6 D900 to D919 7 D920 to D939 2 Execute s equence No. (main) 8 D[...]

  • Page 139

    4 - 60 4 POSITION ING SIGNALS (5) Contr ol program moni tor devi ce list Device No. Signal name D1440 to D1445 D1446 to D1451 D1452 to D1457 S ignal name Refresh cycle Fetch cycle Unit Signal directi on D1458 to D1463 0 P rogram No. D1464 to D1469 1 Sequence No. D1470 to D1475 2 Bloc k No. D1476 to D1481 D1482 to D1487 3 Error c ode (Minor error c [...]

  • Page 140

    4 - 61 4 POSITION ING SIGNALS (6) Contr ol change register 2 li st Axis No. Devi ce No. Signal name 1 D1536 to D1538 2 D1539 to D1541 3 D1542 to D1544 Si gnal name Ref resh cycl e Fetch cycle Unit Signal directi on 4 D1545 to D1547 5 D1548 to D1550 0 Overri de ratio set ting register (0 t o 100) Operation cyc le % C ommand device 6 D1551 to D1553 1[...]

  • Page 141

    4 - 62 4 POSITION ING SIGNALS (7) Tool leng th offset data setting r egister list (Hig her rank, lower rank) Dev ice N o. Signal name D1651, D1650 Tool length of fset dat a 1 D1653, D1652 Tool length of fset dat a 2 D1655, D1654 Tool length of fset dat a 3 D1657, D1656 Tool length of fset dat a 4 D1659, D1658 Tool length of fset dat a 5 D1661, D166[...]

  • Page 142

    4 - 63 4 POSITION ING SIGNALS (8) Common dev ice list Device No. Signal name Refresh cycle Fetch cycle Signal direction Device No. Signal name Refresh cycle Fetch cycle Signal direction D704 PLC ready flag reques t D752 Manual pulse gener ator 1 smoothing m agni fication setting regi ster D705 Speed swi tching poi nt specifie d flag request D753 Ma[...]

  • Page 143

    4 - 64 4 POSITION ING SIGNALS 4.2.1 Axis monitor devices The m onitoring data area is used b y the Motion CPU to s tore data such as the mac hine va lue d uring p ositi oning c ontr ol, the real m achi ne val ue and the number of droop pulses in t he de viatio n coun ter. It can be use d to check the posit ioning contro l state us ing the Mot ion p[...]

  • Page 144

    4 - 65 4 POSITION ING SIGNALS (6) Serv o error code storag e register (D8 + 20n) …......... Monitor device (a) This regi ster stores the corre sponding er ror code (Refer to APPEN DIX 1.4) at the s ervo er ror oc curr ence. If anoth er ser vo err or occ urs after error cod e storing , the previ ous er ror c ode is over written by the new error co[...]

  • Page 145

    4 - 66 4 POSITION ING SIGNALS (10) M-code storage register (D13+20n) ..........……….. Monitor de vice (a) T his re gister stores the M-cod e set to the Motion program at the bl ock execu te start . If M-c ode is not s et in the M otion pr ogr am, the valu e "0 " is st ored. (b) T he pr ecedi ng va lue re mains until the M- code is ex[...]

  • Page 146

    4 - 67 4 POSITION ING SIGNALS 4.2.2 Control chang e registers This area stores th e JOG oper ation sp eed data. C ontrol change regi ster list (Higher ra nk, lo wer r ank) Nam e Ax is 1 Axi s 2 Ax is 3 Ax is 4 Ax is 5 Ax is 6 Axis 7 Axi s 8 D641, D640 D643, D642 D 645, D644 D647, D646 D649, D648 D651, D650 D653, D652 D655, D654 Axis 9 A xis 10 A x [...]

  • Page 147

    4 - 68 4 POSITION ING SIGNALS 4.2.3 Axis monitor devices 2 (1) Current value (D800+20n, D801+20n) ....………….. Monitor device (a) T his re gister stores the addres s in the work coor din ate syst em ( G54 to G 59) specif ied with t he Mot ion pr ogram . This value is stor ed o n the assum ption that 0. 000 1mm is equa l to 1. (1mm =10000) Exa[...]

  • Page 148

    4 - 69 4 POSITION ING SIGNALS (2) Execute seq uence No. (main) storag e register (D802+ 20n) ....………... Monitor device This regist er stor es th e N N o. (sequ ence No.) of the ex ecut ing m ain se quenc e. This number cha nges to "0" usi ng the Moti on dedic ated PLC instr uct ion (S(P). SVST ) at the Motion p rogram start. The cha[...]

  • Page 149

    4 - 70 4 POSITION ING SIGNALS (5) Execute seq uence No. (sub) stor age register (D805+ 20n) .....…..…….. Monitor dev ice (a) T his re gister sotres the N No. of the s ubprogr am starte d by "M 98" (subpr ogram call) . (b) W hen a subpr ogram is cal led fr om a s ubpro gram , this number cha nges t o the N No . of t he su bprogra m c[...]

  • Page 150

    4 - 71 4 POSITION ING SIGNALS (9) Tool leng th offset data storag e register (D810+ 20n, D811+20n) ...…….…….. Monitor device (a) T his r egis ter stor es th e of fset va lue s pecif ied in the too l len gth of fset d ata No.. Tool length off set dat a stor age r egist er is s hown bello w. Applicable registers Higher rank Lower rank Offset [...]

  • Page 151

    4 - 72 4 POSITION ING SIGNALS 4.2.4 Control pr ogram monitor devic es Up to 16 contr ol pr ogram s can be ex ecut ed sim ultan eous ly. W hen ne w contr ol progr am is execut ed in t his m onitor are a, th e vacan t are a is secur ed su itabl y and t he monitor inf orm ation on t he e xecuted progr am. (1) Progr am No. storage r egister (D1440+6n) [...]

  • Page 152

    4 - 73 4 POSITION ING SIGNALS (6) CLEAR request status storage r egister (D1445) ... Monitor dev ice (a) W hen the co ntrol progr am s pecifie d in the CL EAR r equest c ontro l pro gram No. sett ing regist er (D 707) is c leared n orm all y, "1" is se t. (b) If an err or occ urs in CLE AR of the c lear c ontro l pro gram specifi ed in th[...]

  • Page 153

    4 - 74 4 POSITION ING SIGNALS 4.2.5 Control chang e registers 2 This area stores th e overrid e ratio sett ing data. Table 4.1 Contr ol change r egister 2 list Nam e Ax is 1 Axis 2 Ax is 3 Ax is 4 Ax is 5 Ax is 6 Axis 7 Axi s 8 Override ratio setting register D1536 D1539 D1542 D1545 D1548 D 1551 D1554 D1557 Unusable D1537 to D1538 D1540 to D1541 D1[...]

  • Page 154

    4 - 75 4 POSITION ING SIGNALS 4.2.6 Tool leng th offset data setting reg isters (1) Tool leng th offset data setting r egisters (D1650+2n) ....…….. Command device (a) T his r egis ter is used t o set t he to ol le ngth of fs et values . (b) T he too l leng th off set data No. c an be set within t he rang e of H1 to H 20. Tool length off set dat[...]

  • Page 155

    4 - 76 4 POSITION ING SIGNALS 4.2.7 Common dev ices (1) CLEAR request status storage (D 1445) ..…….….. Monitor devi ce (a) 0 No. of the c onrol progr am whic h exec utes the CL EAR ins truct ion or equiv alent of Moti on pro gram for the posi tionin g contr ol is exec uted. W hen the co ntrol program No. is set, the Mo tion C PU juds ges that[...]

  • Page 156

    4 - 77 4 POSITION ING SIGNALS (3) Manual pulse generator axis No. setti ng registers (D 714 to D719) ....…….. Command device (a) These re gist ers st ores th e a xis N o. contr olled with t he m anual pulse genera tor. b15 b14 b 13 b12 b11 b10 b9 b8 b7 b6 b5 b 4 b3 b 2 b1 b0 Axis 16 Axis 15 Axis 14 Axis 13 Axis 12 Axis 11 Axi s 10 Axis 9 Axis 8[...]

  • Page 157

    4 - 78 4 POSITION ING SIGNALS (b) R efer to Sect ion 7. 6 for deta ils of the m anua l puls e genera tor o perat ion. (5) Manual pulse generator smoothing magnification setti ng registers (D752 to D754) ................................................. ... Command dev ice (a) T hese register s set t he sm oothing tim e constants of m anual puls e g[...]

  • Page 158

    4 - 79 4 POSITION ING SIGNALS 4.3 Motion Reg isters (#) There ar e m otion r egist ers ( #0 to # 8191) in the Motio n CPU . #800 0 to #8 063 are us ed as SV 43 ded icated de vice a nd #8 064 to #8191 are us ed as the s ervo monit or de vice . (1) SV43 dedicated d evice (#8000 to #80 63) Thes e devic es ar e reser ved b y the s ystem . Do no t use t[...]

  • Page 159

    4 - 80 4 POSITION ING SIGNALS 4.4 S pecial Re lays (SP. M) There ar e 25 6 spec ial re la y poin ts of M 9000 t o M925 5 in t he M otion C PU. Of thes e, 7 p oints of the M907 3 to M9 079 ar e use d for t he pos ition ing co ntrol , and their ap plicat ions are indic ated in T able 4.2. (R efer to AP PENDIX 2. 4 "Speci al Rela ys" for the[...]

  • Page 160

    4 - 81 4 POSITION ING SIGNALS (3) TEST mode ON flag (M9075) ........……...................... Status signal (a) T his f lag is used as jud gem ent of dur ing th e test mod e or n ot using a perip heral . Use it f or an interl ock, etc. at the star ting of the Motion program usi ng the SVST instruc tion of t he PLC progr am. • OFF . ........ Ex[...]

  • Page 161

    4 - 82 4 POSITION ING SIGNALS (7) Motion pr ogram setting error flag (M9079) ...........…... Status signal This flag is used as ju dgem ent of n orm al or a bnorm al for the M otion pr ogr am posit ioning data . • OFF .... .. Norm al • ON . ..... Abnorm al[...]

  • Page 162

    4 - 83 4 POSITION ING SIGNALS 4.5 Special Reg isters (SP.D) There ar e 25 6 spec ial re gist er points of D9 000 to D925 5 in t he Mot ion CPU . Of thes e, 23 points of th e D9112 and D9180 t o D920 1 are used f or the posi tionin g contr ol. The spe cial regi sters used for positio ning are show n below . (Refer to APPE NDIX 2.5 "Speci al Reg[...]

  • Page 163

    4 - 84 4 POSITION ING SIGNALS (1) Connect/disconnect ( D9112) ..................................... Comm and devi ce/Monitor device This funct ion is used to co nnect /discon nect t he S SCNE T comm unica tion tempor aril y, whe n the s ervo amplif iers or SSC NET ca bles on the SSCNET system are exchan ged dur ing power supp ly on of the Moti on C[...]

  • Page 164

    4 - 85 4 POSITION ING SIGNALS (3) Motion C PU WDT error cause ( D9184) ………........ Monitor device This regist er is us ed as judg ement of the error conte nts in t he M otion C PU. Error code Error caus e Operation when error occur s Action to take 1 S/W falut 1 2 Operation cyc le tim e over • R eset w ith the re set ke y. • If the error [...]

  • Page 165

    4 - 86 4 POSITION ING SIGNALS (4) Manual pulse generator axis setti ng error information (D9185 to D9187) ....... ..................................... ...….. Monitor device The s etting inform atio n is c heck ed when the m anua l puls e gener ator enabl e signa l turns off to on, if an err or is f ound, the f ollo wing e rror infor matio n is s[...]

  • Page 166

    4 - 87 4 POSITION ING SIGNALS (8) Serv o amplifier l oading information ( D9191 to D9192) ........... Monitor dev ice The i nstal lation state of the serv o ampl ifier is chec ked at the power s upp ly on or resett ing of the Mo tion CPU and its resu lts are stored in th is devic e. If com m unicatio n with s erv o am plifier stops , it is res et. [...]

  • Page 167

    4 - 88 4 POSITION ING SIGNALS (10) Operation cycle of the Motion CPU setting (D9197) ........... Monitor dev ice The s etting opera tion c ycle i s store d in [ µs ] unit. W hen the "Au tom atic sett ing" is s et in t he s ystem settin g, the o perat ion c ycle corres ponding to t he num ber of setting axes. W hen "0.8[ ms] / 1 .7[m[...]

  • Page 168

    5 - 1 5 PARAMETERS FOR POSITIONING C ONTROL 5 5. PARAMETERS FOR PO SITIONING CONTROL 5.1 System Setting s In th e Mult iple C PU s ystem , the com m on s y stem par ameters and indi vidual param eters are s et for each CPU and written to e ach CPU. (1) T he bas e sett ings, M ult iple C PU sett ings an d Mo tion sl ot set tings are set in t he comm[...]

  • Page 169

    5 - 2 5 PARAMETERS FOR POSITIONING C ONTROL 5.2 Fixed Par ameters (1) Th e fixed pa ramet ers are set for each axis and their d ata is fixed based on the mec hanical system , etc. (2) T he f ixed par ameter s a re set usin g a per ipher al de vice. (3) Th e fixed pa ramet ers to be set are shown in Ta ble 5 .1. Table 5.1 Fix ed parameter l ist Sett[...]

  • Page 170

    5 - 3 5 PARAMETERS FOR POSITIONING C ONTROL 5.2.1 Number of pulses/trav el value per rotation The " Electr onic gear f unctio n" adj usts t he pu lse c alculat ed an d outp ut b y the par ameter set in the Q 173HCP U/Q172 HCPU an d the real tr avel valu e of m achine . It is defin ed b y the "Num ber of puls es per ro tation " a[...]

  • Page 171

    5 - 4 5 PARAMETERS FOR POSITIONING C ONTROL Theref ore, A P/AL is set so t hat t he fol lowing expres sion of re lations m a y be mater ialized in ord er to c onv ert the trave l valu e of [m m] / [i nch] u nit s et in t he progr am into a pu lse. Number of pu lses per m otor rot ation = AP Tr avel va lue of m achin e per mo tor rot ation = A L = A[...]

  • Page 172

    5 - 5 5 PARAMETERS FOR POSITIONING C ONTROL The tra vel v alue p er m otor rota tion i n this exam ple is 0. 000076 [mm ]. For ex ample, whe n order ing the tra vel va lue of 19 [m m], it becom es 249036. 8 [P LS] an d the f raction of 0. 8 [PL S]. At t his t ime, th e Motio n CPU or ders the tra vel va lue of 249036 [PLS] to t he serv omotor and t[...]

  • Page 173

    5 - 6 5 PARAMETERS FOR POSITIONING C ONTROL (1) Stroke limit range ch eck The s troke l imit ra nge is che ck ed at the f ollo wing st art or durin g op eratio n. Operation st art Check Remarks • Posit ioning cont rol (PTP, Cons tant-speed) • It is c hecked whether the pos itioni ng address is within the strok e limit range or not at the posit [...]

  • Page 174

    5 - 7 5 PARAMETERS FOR POSITIONING C ONTROL 5.2.4 Command in-posi tion range The com mand in- posit ion is the diff erence bet ween th e posit ioning addres s (comm and posit ion) a nd c urrent va lue. Once t he va lue f or th e com mand i n-posit ion has b een s et, the c omm and in- posi tion signa l (M2403 + 20 n) turns on wh en the dif fere nce[...]

  • Page 175

    5 - 8 5 PARAMETERS FOR POSITIONING C ONTROL 5.2.5 High- speed feed rate setting The hi gh-sp eed fe ed rate i s the po sitio ning sp eed used to perfo rm posi tioni ng with G00 or to m ak e a hom e pos ition retur n with G 28, a nd t his da ta is neede d to execu te G0 0 or G28. W hen execut ing in terpo latio n contr ol wi th G0 0, cha nge the s p[...]

  • Page 176

    5 - 9 5 PARAMETERS FOR POSITIONING C ONTROL 5.2.6 Speed control 10 multip lier settin g for degre e axis The s etting r ange of com mand s peed is 0. 001 to 2147 483.64 7[degr ee/m in] norm all y in the a xis of con trol un it [deg ree]. How eve r, when th e "speed control 10 multiplie r settin g for degre e axis " is set to "va lid&[...]

  • Page 177

    5 - 10 5 PARAMETERS FOR POSITIONING C ONTROL An ex ample f or p ositi oning contr ol is s hown belo w when t he f ixed par ameter and param eter block are se t as fol lows. • Fi xed para mete r Sett ing ax is Unit High-sp eed f eed r ate Spee d contr ol 1 0 m ultipli er sett ing f or de gree axis Axis 1(X ) de gree 21 47483.6 47[d egree /min] In [...]

  • Page 178

    5 - 11 5 PARAMETERS FOR POSITIONING C ONTROL POINTS (1) Ax is se t to "spee d contr ol 10 m ultipl ier sett ing for de gree axis is inv alid ". (a) Set ting range of fee d-rat e is 0 .001 to 214 7483. 647[d egree/m in]. (b) W hen th e feed r ate is set as ind irect s etting or with out decim al po int set ting in the Motion progr am , the[...]

  • Page 179

    5 - 12 5 PARAMETERS FOR POSITIONING C ONTROL • An exa mple fo r positi oning co ntrol i s shown bel ow when the fixe d para meter and paramete r bloc k are set as fol lows. • Fi xed para mete r Sett ing ax is Unit High-spee d fe ed rat e Sp eed co ntrol 10 m ultip lier s ettin g for degre e ax is Axis 1(X ) degr ee 20 0.000[d egree /m in] Inval[...]

  • Page 180

    5 - 13 5 PARAMETERS FOR POSITIONING C ONTROL 5.3 Parameter Bl ock (1) The pa ramet er bloc ks serve to make setti ng change s easy b y allowing data such as the acce lerat ion/dec elera tion c ontro l to be s et for eac h positi oning proc essing. (2) A m axim um 64 block s can be set as par am eter bl ock s. (3) P aram eter bl ocks can be s et us [...]

  • Page 181

    5 - 14 5 PARAMETERS FOR POSITIONING C ONTROL Table 5.2 Paramet er Block li st Setting ra nge mm inch degree No. Item Setting range Units Setti ng range Units Setti ng r ange Units Init ial value U nits Remarks Secti on 1 I nterpolation con tro l un it 0 1 2 0 • Set the u nits for comp ensatio n control . • It c an be also u sed as the unit s fo[...]

  • Page 182

    5 - 15 5 PARAMETERS FOR POSITIONING C ONTROL POINTS The da ta set in the param et er block is used in the posit ion ing co ntrol, hom e posit ion r eturn and JO G op eration. (1) T he par ameter block No. used in th e pos itioni ng co ntrol is s et ind irect ly in the fo llow ing case. (a) Star t b y the S VST ins tru ction f rom the PLC ( Refer to[...]

  • Page 183

    5 - 16 5 PARAMETERS FOR POSITIONING C ONTROL 5.3.1 Relationships bet ween the speed l imit value, acceler ation time, decel eration time and rapid stop deceler ation time Accord ing to the G- cod e ins truct ions, t here ar e tw o diff erent ac celer ation/ decel erati on modes , acce lerat ion-f ixed acc elerat ion/dec eler ation and time- fixed a[...]

  • Page 184

    5 - 17 5 PARAMETERS FOR POSITIONING C ONTROL (1) Acc elera tion-f ixed accel eratio n/dec elera tion s ystem (a) G0 1, G02 , G03, G12, G 13 or G 32 dur ing G 101 ex ecution Speed 1) Real ac cele- ration time Set acceleration time Spee d limit value Posi tio ning speed s et in the Motion progr am 2) Real r apid stop deceler ation time Rapi d stop ca[...]

  • Page 185

    5 - 18 5 PARAMETERS FOR POSITIONING C ONTROL 5.3.2 S-curv e ratio S-cur ve rat io ca n be s et as t he acce lerat ion an d dece lerat ion pr ocess ing m ethod f or S- patter n proces sin g. Sett ing range of the S-cur ve ratio is 0 to 100[%]. If it is set outs ide th e range, an error occ urs at the st art and c ontro l is execut ed with t he S-cur[...]

  • Page 186

    5 - 19 5 PARAMETERS FOR POSITIONING C ONTROL 5.3.3 Allow able error range for ci rcular i nterpolation The l ocus of the arc ca lculat ed from the s tart po int a ddres s and c entra l poi nt addres s ma y not coinc ide with th e set end po int a ddress for t he c entral-s pec ified c ontr ol. The a llowab le err or rang e for circu lar inter polat[...]

  • Page 187

    5 - 20 5 PARAMETERS FOR POSITIONING C ONTROL 5.4 W ork Coo rdina te Dat a (1) Th e work coo rdina te data is used to set the w ork coordi nat es and six di ffere nt work coordin ates ca n be s et (G 54 to G 59) f or ever y axis . (Ref er to Sect ion 6.1 2 for deta ils.) (2) T he pos ition is set with the off set fr om the m echa nical c oordina te [...]

  • Page 188

    6 - 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6. MOTION PROGRAMS FO R POSITIONING CONTROL Motion progr am in the E IA lan guag e form at is used as a pr ogram ming lang uage i n the Motion c ont roller (SV4 3). A Mot ion pro gram is us ed to spec ify th e posi tioni ng con trol type a nd pos ition ing da ta requir ed to execut e the posi tionin g[...]

  • Page 189

    6 - 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL (2) Block A bloc k is a coll ectio n of se vera l words . It i nclud es inf orm ation nec ess ary to perfor m a s ingle specif ic op eratio n of a mac hine a nd ac ts as a com plete comm and on a block bas is. A bloc k is ended by th e EO B (En d of B lock ) code t o in dicat e sep arati on. <Block[...]

  • Page 190

    6 - 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL (3) Motio n pro gram A ma chine operat ion is com m anded b y sever al c ollec tion of bloc ks in the M otio n program . <Mot ion pro gram com positi on> 00001 O 100; 1) Motio n progr am No. 00002 N 10 G 91 G00; 00003 G 28 X0. Y0. ; 00004 X 250. ; 00005 N 20 M 20; 00006 X- 50. Y120. ; 00007 N 30[...]

  • Page 191

    6 - 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.2 Type of The Moti on Prog ram There ar e fo llo wing t wo t ypes in the Mo tion pr ogr am. T y pe of Mot ion progr am is set f or e very pro gram by the m otion param eter. Type of the Moti on prog ram Name Description Control program This program is described by the control instructions only. Axis[...]

  • Page 192

    6 - 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.3 G-code List G-codes used in the Motion program are sho wn belo w. G-code List Type Instruction (Group) Description Control program Ax is designation program Remark G00 (Note) Point-to-point positi oning at the high-speed feed-rate G01 Constant-speed positioning at the speed sp ecified in F G02 Cir[...]

  • Page 193

    6 - 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL Class a nd gro up of G -code are s hown be low. Class Description Modal G-codes (Groups 01, 02, 03, 08, 12, 13, 20, 21) Once any G -code is commanded, it is v alid until another G-co de in the same group is commanded. Initial status (at the pow er-on) is as follows. Group 01 ·········· G00 P[...]

  • Page 194

    6 - 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.4 M-code Li st M-cod es used in th e Moti on pro gram are sho wn be low. M-code List Type Instruction Description Control program Ax is designation program Remark M00 Program stop M01 Optional program stop M02 Program end M30 Program end M98, M99 Subprogram call, end Special M-code M100 Preread disa[...]

  • Page 195

    6 - 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.5 Control Instructi on List Contro l instr uct ions us ed i n the M otio n prog ram ar e sho wn be low. Control in struction list Type Instruction D escription Control program Ax is designation program IF, GOTO Program control function IF, THEN, ELSE, END Program control function WHILE, DO Program c[...]

  • Page 196

    6 - 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL Control i nstruction list (Conti nued) Type Instruction Instruction description Control program Ax is designation program MULT W Write device data to shared CP U memory MULTR Read device data from shared C PU memory of the other CPU TO W rite w ords data to intelligent function module/special function[...]

  • Page 197

    6 - 10 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.6 Start/End Metho d Start/ end m ethods of th e Mot ion pr ogram are sh own be low. Type Start/end method Start method (1) Start by the SFCS instruction from the PLC CP U. (2) Start by the CALL instruction (start) or the G OSUB/GOSUBE instruction (call) in the control program. (3) Start by the prog[...]

  • Page 198

    6 - 11 6 MOTION PROGRAMS FOR POSITIONING CONTROL Example for str ucture of program star t/end O10; CALL P20; GOSUB P21; M02; % End O11; CALL P22; GOSUB P23; M02; % Return O12; G0 X10.Y10.; G1 X 20.Y 20. F100 ; M98 P24; M02; % End O13; G0 V10.Z10.; G1 V20.Z20.F100 ; M98 P25; M02; % Return Control program O24; G0 X30.Y30.; G1 X 40.Y 40. F100 ; ; M99;[...]

  • Page 199

    6 - 12 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.7 Number o f Maximum N esting for Prog ram Cal l and Multi Startable Progr am (1) T he n umber of m axim um nes ting of the G OSU B/GO SUBE is 8 l evels in th e contr ol progr am . (2) T he n umber of m axim um nesting of M98 is 8 leve ls i n the d esign atio n program . (3) T he pr ogram started b[...]

  • Page 200

    6 - 13 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.8 Motion paramet er Set the fol lowing p aram eters for ever y Mo tion pr ogram . No. Item Setting range Initial value Remark 1 Program type 1. Control program 2. Axis designation program Control program 2 Start setting Select the automatic start. ( W hen the control program is s elected.) 1. Autom[...]

  • Page 201

    6 - 14 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.9 Caution at The Axis Desi gnation Progr am Creation (1) A sub program cal l from another sub program (nes ting) is m axim um 8 l evels . (2) In one block , one G-c ode c an be s elect ed from ea ch modal grou p. Up to two G- codes can b e com manded . Ref er to f ollo wing ta ble f or G- code com [...]

  • Page 202

    6 - 15 6 MOTION PROGRAMS FOR POSITIONING CONTROL IMPOR TANT The M otion pr ogram whic h an axis o verlap ped ca nnot be st arted s imulta neous ly. If it is execu ted, we cannot gu arante e their op erations . (3) T he M-c odes ex cept the M00 , M01, M02, M 30, M 98, M9 9 and M100 c an be specif ied i n the s ame b lock with an other c omm and. H o[...]

  • Page 203

    6 - 16 6 MOTION PROGRAMS FOR POSITIONING CONTROL (b) Co nstant- spe ed opera tion 100. 200 . FIN signal (M3219+20n) M- code ou tpu tti ng (M2419+20n) M-code 10 OFF OFF ON ON W hen the FIN s igna l (M32 19+20 n) is turn ed from OF F to ON to OFF durin g posit ioning in bl ock 2), the axis p erfor ms constant-s pee d oper atio n with out decel eratin[...]

  • Page 204

    6 - 17 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) Acceler atio n/dec elera tion proc ess ing for G 01 G91 G0 1 X100 . Y1 00. F10 0. ; Y100. ; X100. ; Consta nt-sp eed posit ioni ng of X, Y... ......B lock 1 Consta nt-spee d posit ioning of Y ....... ......B lock 2 Consta nt-spee d pos itio ning of X ... .......... Block 3 The acce lerat ion/ dec[...]

  • Page 205

    6 - 18 6 MOTION PROGRAMS FOR POSITIONING CONTROL (11) Varia ble prer ead Varia bles in up t o eight bloc k s including the one cur rent ly execu ted are prer ead. Set var iab les bef ore st arting of the progr am. (12 ) Motion progra m includi ng th e high -speed oscilla tion Be ca reful the followi ng wh en the hi gh-spe ed o scillati on (G25 ) is[...]

  • Page 206

    6 - 19 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.10 Instruction Sy mbols/Char acters List Inst ructio n symbols an d chara cter s used in Moti on p rograms are shown below . Table 6.1 Instruction S ymbol /Character List Symbol/character Function Description A Coordinate position data B Coordinate position data C Coordinate position data U Coordin[...]

  • Page 207

    6 - 20 6 MOTION PROGRAMS FOR POSITIONING CONTROL Table 6.1 Instructi on Symbol /Character Li st (Continued) Symbol/character Function Description G Preparatory function (G-code) Refer to Section "6.3 G-code List". L Subprogram repeat cou nt Used in M98 M Auxiliary function (M-code) Refer to Section "6.4 M-code List". N Sequence [...]

  • Page 208

    6 - 21 6 MOTION PROGRAMS FOR POSITIONING CONTROL Table 6.1 Instructi on Symbol /Characters List (C ontinued) Symbol/character Function Description SIN Trigonometric function (sine) COS Tr igonometric function (cosine) TAN Trigonometric function (tan gent) ASIN Trigonometric function (arcsine) ACOS Trigonometric function (arccosi ne) ATAN Trigonomet[...]

  • Page 209

    6 - 22 6 MOTION PROGRAMS FOR POSITIONING CONTROL Table 6.1 Instructi on Symbol /Characters List (C ontinued) Symbol/character Function Description Subprogram call sequence N o. U sed in M98. Tool length offset data No. Used in G43, G44. H Indicates hex adecimal number constant. Used in BMOV, BDMOV, MULTW, MULTR, TO or FROM. • Multipl e operators [...]

  • Page 210

    6 - 23 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11 Setting M ethod for Comman d Data This sectio n desc ribes the s ettin g meth od for comm and data ( address es, s peeds , operat ional expr essions ) us ed in t he M otion program s. There ar e fo llo wing t wo set ting m ethod f or com mand data. • Dir ect sett ing (u sing numeri cal v alues[...]

  • Page 211

    6 - 24 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11.2 Indirect setting (1) Vari able representation The 16- bit in teger t ype, 32-b it inte ger t ype an d 64-b it do uble pr ecis ion re al number can be use d as vari ables. Data registers Link register s Motion registers Coasting timer 16-bit integer type #n, #Dn, #nS, #DnS, #n:S, #Dn:S #W n: S [...]

  • Page 212

    6 - 25 6 MOTION PROGRAMS FOR POSITIONING CONTROL POINT (1) T he data r egis ter is sho wn as "#D" or "#" in th e Mot ion pro gram . Descri be it as "# @" to i ndicate a m otion re gister . (2) T he mar k of the I/O m odul es is X and Y in the Mot ion pr ogr am regar dles s of in stallati on/n on-in stallat ion. Do not [...]

  • Page 213

    6 - 26 6 MOTION PROGRAMS FOR POSITIONING CONTROL Conversion format Description 64 bit to 32 bit The 64-bit double precision rea l number is converted to 32-bit i nteger type. Note that any value other than -2147483648 to 21 47483647 results in a n error. (Error : 531) 63 51 0 Bits 0 to 51 : Significant digi t part Bits 52 to 6 2: Exponent p art Bit[...]

  • Page 214

    6 - 27 6 MOTION PROGRAMS FOR POSITIONING CONTROL (c) H ow to hand le var iable as 64- bit do uble prec ision r eal n umber By han dling a vari able as a 64-bit doub le prec ision real num ber, ar ithm etic operat ion s pann ing m ultipl e bloc ks c an be per form ed wit hout r educt ion in precis ion. Descri be a capit al letter ":F " aft[...]

  • Page 215

    6 - 28 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Exam ple] <Com mand a ddres s 1> G91; #@10:L =1.; G0 X# @10:L ; The tra vel v alue of X is an y of th e foll owing values . mm inch degree 1 mm 0.1 inch 0.1 degree <Com mand a ddres s 2> G91; #@10:F =1.; G0 X# @10:F ; T he trav el va lue of X is equi valen t to an y of th e fol lowin g v[...]

  • Page 216

    6 - 29 6 MOTION PROGRAMS FOR POSITIONING CONTROL (6) Device setting (#Xx : Xx is device) The wor d device (D , W , #) and bit de vice (X, Y, M, B, F) can be ref erred to b y device set ting. Becaus e the word device ( D, W , #) is han dled as 32 bits (2 word dat a), on ly an even n umber can b e used. The f our fun dament al oper ati ons of bit de [...]

  • Page 217

    6 - 30 6 MOTION PROGRAMS FOR POSITIONING CONTROL POINTS (1) T he Moti on progr am No . (O ) canno t be s et ind irectl y. (2) W hen th e Moti on pro gram is exec uted i n the M otio n CPU, t he d ata of s pecif ied devices (2-wor d or 4-wor d) are inpu t in the var iabl e setting or de vice sett ing using wor d devices . Take an inter lock s with t[...]

  • Page 218

    6 - 31 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11.3 Operation al data (1) Four fundamental operations ( +, -, *, /, MOD) The da ta t ype com binations and c onvers ion m ethods for four f undam ental operat ions (+, -, *, /, MOD) are sho wn bel ow. Opera tion res ult = [Da ta 1] oper ator [Da ta 2] Operat or ind icates +, -, *, / or MOD Intern [...]

  • Page 219

    6 - 32 6 MOTION PROGRAMS FOR POSITIONING CONTROL No. Operat ion resul t Data 1 Data 2 10 #n (16 bit) 16-bit data i s converted int o 32-bit dat a. 11 #nL, #n:L (32 bi t) No conversion 12 #n (16 bit) 16-bit data i s converted int o 32-bit data. #nF, #n:F (64 bit) 64-bit data i s converted int o 32-bit dat a. Fractional portion is dropp ed during con[...]

  • Page 220

    6 - 33 6 MOTION PROGRAMS FOR POSITIONING CONTROL • For MOD No. Operat ion resul t Data 1 Data 2 28 #n (16 bit) 16-bit data i s converted int o 32-bit dat a. 29 #nL, #n:L (32 bi t) No conversion 30 #n (16 bit) 16-bit data i s converted int o 32-bit data. #nF, #n: F (64 bit) 64-bit data i s converted int o 32-bit dat a. Fractional portion is dropp [...]

  • Page 221

    6 - 34 6 MOTION PROGRAMS FOR POSITIONING CONTROL (2) Logi cal operations (AND , OR, XOR, NOT), shift operators ( <<, >>) • For AND, OR, XOR, <<, >> The da ta t ype com binati ons an d con versio n meth ods f or log ical operat ions (AND, OR , XOR) and s hift opera tors ( <<, > >) are sho wn bel ow. Opera tion r[...]

  • Page 222

    6 - 35 6 MOTION PROGRAMS FOR POSITIONING CONTROL • For NOT The f ollowi ng tab le ind icates the data t ype com bin ations and c onvers ion m ethods for N OT. Opera tion res ult = oper ator [Dat a 1] Oper ator deno tes NO T. For logic al and s hift opera tions , oper ation incl uding t he 6 4-bit f loati ng-po int t ype cannot be per form ed. (Er[...]

  • Page 223

    6 - 36 6 MOTION PROGRAMS FOR POSITIONING CONTROL (3) Trig onometric functions (SIN, COS, TAN, ASIN, AC OS, ATAN) The da ta t ype com binations and c onvers ion m ethods for tr igonom etric f unct ions (SIN, CO S, T AN, ASI N, AC OS, AT AN) ar e sho wn belo w. Opera tion res ult = tri gonom etric f unctio n [Da ta 1] Trigon om etric funct ion i ndic[...]

  • Page 224

    6 - 37 6 MOTION PROGRAMS FOR POSITIONING CONTROL (4) Floating- point type real number pr ocessing instr uctions (INT, FLT) The d ata type combinat ion and conv ersi on meth od for floa ting -poin t type real number proces sin g instr ucti ons (I NT, FLT )are s hown below. Opera tion res ult = func tion [ Data 1] Fun cti on indiv ate s INT o r FLT. [...]

  • Page 225

    6 - 38 6 MOTION PROGRAMS FOR POSITIONING CONTROL (5) Functions (SQR T, ABS, LN, EXP) The da ta t ype com binations and c onvers ion m ethods f or f unctions (SQR T, AB S, LN, EX P) ar e sho wn be low. Opera tion res ult = func tion [ Data 1] Funct ion ind icates SQ RT, A BS, LN or EXP Intern al oper ation of SQ RT, LN or EX P is perfor med wit h th[...]

  • Page 226

    6 - 39 6 MOTION PROGRAMS FOR POSITIONING CONTROL • For ABS No. Operation r esult Data 1 1 #n (16 bit) No conversion 2 #nL, #n:L (32 bit ) 32-bit data i s converted int o 16-bit dat a. 3 #n (16 bit) No conversion #nF, #n:F (64 bit) 64-bit data i s converted int o 16-bit dat a. 4 #n (16 bit) 16-bit data i s converted int o 32-bit dat a. 5 #nL, #n:L[...]

  • Page 227

    6 - 40 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) Functions (round-off (RND), r ound-do wn (FIX), round-up (FUP)) The da ta t ype combina tions and con version m ethods for rou nd-off (RND), rou nd- down (F IX) a nd round- up ( FUP) are sho wn b elow. Opera tion res ult = func tion [ Data 1] Functio n denotes RND, FIX or FUP. Round- off (RND), r[...]

  • Page 228

    6 - 41 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11.4 Setting rang e of instruction sy mbols list Sett ing range of instruc tion s ymbols us ed in the Mot ion progr am s are shown be low. Table 6.2 Setting Range of Instruction Sy mbol List Setting range Symbol Function Motion program descript ion Indirect setting value by variable A Coordinate po[...]

  • Page 229

    6 - 42 6 MOTION PROGRAMS FOR POSITIONING CONTROL Table 6.2 Setting Range of Instruction Sy mbol List (C ontinued) Setting range Symbol Function Motion program description Indirect settin g value by variable Address R Radius of R point specified circular arc 0 to 214748.3647 [mm] 0 to 21474.83647 [inch] 0 to 359.99999 [degree] 0 to 2147483647 0 to 3[...]

  • Page 230

    6 - 43 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK (1) Com m and unit A dec im al point can b e ent ered in the Mot ion progr am input infor matio n whic h defines the c omm and addr ess or spee d, etc. [Exam ple] 1234 56.789 0 A dec im al point ma y also b e om itted. W hen a decim al po int is om itted, a com mand a ddres s is repres ented i[...]

  • Page 231

    6 - 44 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11.6 Control uni ts for interpolati on control (1) T he int erpol atio n contr ol units s pecif ied with t he par am eter bloc k an d the c ontr ol units of the fixed par am eter are check ed. If the interp olatio n contr ol u nits sp ecifi ed with the par am eter bl ock dif fer f rom the contr ol [...]

  • Page 232

    6 - 45 6 MOTION PROGRAMS FOR POSITIONING CONTROL (b) Unit m ismatch ( 2 ) ) • T he tr ave l valu e and posit ionin g spee d are calc ulated for each axis. a) The trav el va lue is con verte d into the [ PLS] unit us ing t he elec tron ic gear of its own axis . b) The posi tioni ng spe ed is conver ted in to th e [PLS /s] u nit usin g th e electro[...]

  • Page 233

    6 - 46 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.11.7 Control i n the control unit "deg ree" If the contro l un its are "degr ee", the f ollo wing it em s diff er fr om other contr ol uni ts. (1) Curr ent value address The c urrent address es i n the c ontro l units "de gree" ar e rin g addr esses f rom 0° to 360°.[...]

  • Page 234

    6 - 47 6 MOTION PROGRAMS FOR POSITIONING CONTROL (3) Positi oning control Posit ionin g contr ol m ethod i n the contr ol un it "de gree" is s hown be low. (a) A bsolut e data m eth od Posit ionin g in a near dir ectio n to the sp ecifi ed address is perf orm ed based on the curr ent va lue. (1) Pos itioning is execut ed in a c lockwise d[...]

  • Page 235

    6 - 48 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.12 About Coordi nate Sy stems This sect ion des cribes coor dinate s yst ems . There ar e tw o coor dinate system s : bas ic m echan ical c oord inate s ystem and work coord inate s ystem . (1) Basic mechanical coordinate sy stem ....... .......... ......... ... A coord inate s ystem specific to a [...]

  • Page 236

    6 - 49 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13 G-code This sectio n desc ribes instr ucti on co des to use in t he M otion pr ogram . Each ins truc tion is descr ibed in th e foll owing f orm at. 1) 2) The method of the input and description are shown. " " sh ows that space should be put when the program is inp ut. Functional outli[...]

  • Page 237

    6 - 50 6 MOTION PROGRAMS FOR POSITIONING CONTROL The arg um ents of G-code are sh own in T abl e 6.3. Table 6.3 G-code ar guments Axis co mmand (Note-2) Radius co mman d (R) Cent ral poi nt com mand (I J) Skip com mand ( SKIP) Cancel co mman d (CAN ) Starti ng angl e (S TART) Ampl itude (ST RK) M-code (Note-3) G-code Feed (F) H L N O P PB Remarks G[...]

  • Page 238

    6 - 51 6 MOTION PROGRAMS FOR POSITIONING CONTROL Table 6.3 G-code ar guments (Conti nued) Axis co mmand (Note-2) Radius co mman d (R) Cent ral point c omm and (I ,J) Skip com mand ( SKIP) Cancel co mman d (CAN ) Starti ng angl e (S TART) Ampl itude (ST RK) M-code (Note-3) G-code Feed (F) H L N O P PB Remarks G55 Onl y G-codes of G 00, G0 1, G02, G0[...]

  • Page 239

    6 - 52 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.1 G00 Point-to- point positi oning at the hig h-speed feed rate Code G00 Function Point-to-point positioning at the high-speed feed rate The positions of the specifie d axes are ex ecuted. (PTP) Format 0 Axis name Positi oning add ress 0X x ; G Yy Zz [Explanati on] (1) T he li nearl y pos ition [...]

  • Page 240

    6 - 53 6 MOTION PROGRAMS FOR POSITIONING CONTROL Trave l with G 01 Trave l with G 00 [Related Parameter s] High-sp eed f eed r ate: The m aximum feed ra te of each axis is set. (Refer to Sec tion 5.2.5 f or th e high- spee d feed r ate s etti ng of th e fixed par am eter.) The pos itio ning is ex ecuted in th e shor test path which con nects the st[...]

  • Page 241

    6 - 54 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.2 G01 Constant-s peed positioning at the speed specified in F Code G01 Function Consta nt-spee d position ing at the s peed speci fied in F Linear interpolation is ex ecuted from the current position to the specified end point at t he specified feed rate. (Constant-sp eed) The feed rate is speci[...]

  • Page 242

    6 - 55 6 MOTION PROGRAMS FOR POSITIONING CONTROL Consta nt-spee d contr ol is execu ted in this area. (8) If the G 02 or G 03 c omm and is ex ecute d dur ing th e G01 c omm and (Co nstant- speed pos itio nin g), a decele ration stop is not made. [Exam ple] G 01 X 100. Y100. Z 100. ; G02 X0. Y0. I0 . J50. F500 . ; G03 X0. Y0. I0 . J50. F500 . ; G01 [...]

  • Page 243

    6 - 56 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 3 G 02 Circul ar inter polation C W (Central coordinates-speci fied) Code G02 Function Circular interpolation (C W ) Circular ar c cent ra l coordinates-specified The axes travel from the curren t posit ion (start point) to the spe cified coordinate position (end point) with a circular arc (C [...]

  • Page 244

    6 - 57 6 MOTION PROGRAMS FOR POSITIONING CONTROL (5) W hen this com m and is execut ed co ntinuo usl y, the ac celera tion or dec elera tion is not m ade at the st art or e nd point of a bl ock because t he stat us is not th e exac t stop c heck m ode. (6) W hen the circ ular ar c centr al c oord inates and ra diu s are s pecif ied s imulta neous l[...]

  • Page 245

    6 - 58 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK (1) The en d poin t and circ ular ar c central coo rdina tes cann ot be omit ted. Alwa ys spec ify th em f or two ax es. (2) Circul ar in terpo lation i nclu des th e [degr ee] ax is whose str ok e limit is set to be inval id ca nnot be exec uted. (3) Cir cul ar inter pola tion c annot be exec[...]

  • Page 246

    6 - 59 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 4 G 03 Circul ar inter polation CC W (Central coor dinates-specified) Code G03 Function Circular interpolation (CC W ) Circular ar c cent ra l coordinates-specified The axes travel from the curren t posit ion (start point) to the spe cified coordinate position (end point) with a circular arc ([...]

  • Page 247

    6 - 60 6 MOTION PROGRAMS FOR POSITIONING CONTROL (5) W hen this com m and is execut ed co ntinuo usl y, the ac celera tion or dec elera tion is not m ade at the st art or e nd point of a bl ock because t he stat us is not th e exac t stop c heck m ode. (6) W hen the circ ular ar c centr al c oord inates and ra diu s are s pecif ied s imulta neous l[...]

  • Page 248

    6 - 61 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK (1) The en d poin t and circ ular ar c central coo rdina tes cann ot be omit ted. Alwa ys spec ify th em f or two ax es. (2) Circul ar in terpo lation i nclu des th e [degr ee] ax is whose str ok e limit is set to be inval id ca nnot be exec uted. (3) Cir cul ar inter pola tion i n the u nit c[...]

  • Page 249

    6 - 62 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.5 G02 Circu lar inte rpola tion CW (Radius -speci fied) Code G02 Function Circular interpolation (C W ) Radius-specified cir cular interpolation The axes travel from the curren t posit ion (start point) to the spe cified coordinate position (end point) with a circular arc of the spe cified radiu[...]

  • Page 250

    6 - 63 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Related Parameter s] Speed lim it valu e : The m axim um f eed rate of each ax is is se t. (Refer to Sec tion 5.3. 1 f or the s peed lim it valu e of the param eter b lock.) Circu lar int erpol ation arc er ror : T he a llowa ble er ror r ange f or circ ular inter polat ion is set. (Refer to Sec tio[...]

  • Page 251

    6 - 64 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.6 G03 Circu lar interp ola tion CCW (Radi us-specified) Code G03 Function Circular interpolation (CC W ) Radius specified cir cular interpolation The axes travel from the curren t posit ion (start point) to the spe cified coordinate position (end point) with a circular arc of the spe cified radi[...]

  • Page 252

    6 - 65 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Related Parameter s] Speed lim it valu e : The m axim um f eed rate of each ax is is se t. (Refer to Sec tion 5.3. 1 f or the s peed lim it valu e of the param eter b lock.) Circu lar int erpol ation arc er ror : T he a llowa ble er ror r ange f or circ ular inter polat ion is set. (Refer to Sec tio[...]

  • Page 253

    6 - 66 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.7 G04 Dwell Code G04 Function Dwell Execution of nex t block is w aited for the spe cified peri od of ti me. Format 0 Dwell ti me (1 to 65535) 4Pp G; [Explanati on] (1) T he tim e fr om af ter dec elerati on sto p of the prec eding travel c omm and unt il t he next b lock start is spec if ied. ([...]

  • Page 254

    6 - 67 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram in which dwe ll tim e is place d betwe en posi tionin g operat ion ins tructi ons. 1) G01 X 100. F10. ; ( Posit ioning) 2) G04 P2000 ; ( Dwell time set to 2[s ]) 3) G01 X 200. ; ( Positi oning) X-ax is V 1) 3) t Dwell time 2000 0.001=2[s] The X -axis is pos itio ned t [...]

  • Page 255

    6 - 68 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3.8 G 09 Exact stop check Code G09 Function E xact stop check The ax es travel in the specifie d block poi nt-to-poi nt position ing. Format 0 May be used only in the G0 1, G02, G03, G12 or G13 program 9 GX x F; f 01 G [Explanati on] (1) T his c omm and is us ed with the int erpo lation c omm and[...]

  • Page 256

    6 - 69 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram whic h uses the ex act st op ch eck for posit ionin g. 1) G09 G 01 X 100. F 500. ; (Pos itio ning b y an exact st op chec k) 2) X2 00. ; (Pos itio ning) 3) X3 00. ; (Pos itio ning) 4) G09 G 01 X 400. ; ( Positio ning b y an ex ac t stop ch eck ) X-axis V t 1) 2) 4) 3)[...]

  • Page 257

    6 - 70 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 9 G 12 Hel ical int erpolatio n C W (H elical c entral coor dinates-specified) Code G12 Function Helical interpolation (C W ) Hel ica l central coordinates- specified The linear interpolation to other linear axis is ex ecuted performing 2 axes circular interpolation from the current position ([...]

  • Page 258

    6 - 71 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) T he tra vel sp eed is the spec ified com bined-s peed f or 2 axes circu lar int erpol ation axis. (8) W hen this com m and is execut ed co ntinuo usl y, the ac celera tion or dec elera tion is not m ade at the st art or e nd point of a bl ock because t he stat us is not th e exac t stop c heck m[...]

  • Page 259

    6 - 72 6 MOTION PROGRAMS FOR POSITIONING CONTROL The ex ampl e of the direc tio n of the no zzle of contr ollin g th e norm al for c ircu lar ar c curve. 0 270 90 180 Z-axis (Rota tion ang le) Start po int 50. 0 R=5 0 0.0 50.0 100. 0 100.0 150.0 X, Y-axi s Y X R=100 100.0 150.0 100.0 150.0 150.0 Nozzle The pro gram to star t as the up per fi gure f[...]

  • Page 260

    6 - 73 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 10 G13 Helical i nterpolati on CCW (H elica l central coordi nates-specified) Code G13 Function Helical interpolation (CC W ) Hel ica l central coordinates- specified The linear interpolation to other linear axis is ex ecuted performing 2 axes circular interpolation from the current position ([...]

  • Page 261

    6 - 74 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) T he tra vel sp eed is the spec ified com bined-s peed f or 2 axes circu lar int erpol ation axis. (8) W hen this com m and is execut ed co ntinuo usl y, the ac celera tion or dec elera tion is not m ade at the st art or e nd point of a bl ock because t he stat us is not th e exac t stop c heck m[...]

  • Page 262

    6 - 75 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.11 G12 Helical interpo lat ion C W (Helic al radius-specified) Code G12 Function Helical interpolation (C W ) Radius-specified helical interpolation The linear interpolation to other linear axis is ex ecuted performing 2 axes circular interpolation from the current position (start point) to circ[...]

  • Page 263

    6 - 76 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) W hen this com m and is execut ed co ntinuo usl y, the ac celera tion or dec elera tion is not m ade at the st art or e nd point of a bl ock because t he stat us is not th e exac t stop c heck m ode. (8) T he pos ition ing da ta ca n be s et b y direct sett ing (n um erical value) or in direct se[...]

  • Page 264

    6 - 77 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 12 G13 Helical i nterpolati on CCW (Helic al rad iu s- sp ec ifi ed ) Code G13 Function Helical interpolation (CC W ) Radius-specified helical interpolation The linear interpolation to other linear axis is ex ecuted performing 2 axes circular interpolation from the current position (start poin[...]

  • Page 265

    6 - 78 6 MOTION PROGRAMS FOR POSITIONING CONTROL (6) If a com plet e round c om m and (the star ting point is the s ame as the end p oint) is specif ied in R-s pecif ied he lical i nterpo latio n, a minor error will ( error co de : 108) occur a nd n o oper ation is p erfor med. T herefor e, sp ecif y the helic al circ ular ar c centr al coor dinate[...]

  • Page 266

    6 - 79 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 13 G23 C ancel, c ancel star t invali d Code G23 Function Cancel, cancel start invalid G24 (cancel function, can cel star t function) w hich has already been made valid is invalidat ed. Valid until G24 (cancel functi on, canc el start function) is ex ecuted. Format 23 G; [Explanati on] (1) T h[...]

  • Page 267

    6 - 80 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 14 G24 C ancel, c ancel star t Code G24 Function Cancel, cancel start The executing program is can cel and the specified start program automatically starts. This function is valid unti l cancel or cancel start function inv alid (G23) is executed. Format 2 Para met er bl oc k No. (Indirect sett[...]

  • Page 268

    6 - 81 6 MOTION PROGRAMS FOR POSITIONING CONTROL (9) W hen G24 exis ts a t any p oint between conti nuous cons tant-s peed positi oning block s, a dec eler ation st op i s made o nce. N1 G24 CAN #X100 ; N2 G0 1 X200 . F2 000. ; N3 X300. Y200. ; N4 G24 CAN #X101 ; N5 G0 1 X50. Y50 F 1000 . ; (10) W hen G24 is exec uted af ter high-s peed osci llatio[...]

  • Page 269

    6 - 82 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram which canc els pr ogram operat ion dur ing ex ecutio n of "O001 0" pro gram and st arts "O010 0" progr am. ( Comm and u nit is [m m ].) O0010 ; 1) G2 4 CAN #X100 P100 PB1 ; Execut ion of canc el star t func tion 2) G90 G 01 X 200. F 1000. ; Ca ncel [...]

  • Page 270

    6 - 83 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3.1 5 G25 High-speed oscillation Code G25 Function High-speed oscillatio n The specifi ed axis o scilla tes in a Sine curve. Format 2 Freq uency (Indirect setting is possible) 5X S A Ts SR Ka F f ; G TR T Frequency designation (Indirect setting is p ossible) Amplitude d esignation Amplitude ( Ind[...]

  • Page 271

    6 - 84 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram in which t he X- axis oscill ates in the Sine c urv e of 10 [mm ] am plitude , 90 [degre e] starti ng angle an d 30[CPM] freque ncy. (Comm and un it is [m m ].) G25 X ST ART 90. STR K 10. F 30 ; (Note) : T he start ing a ngle ( START ) is valid to the f irst d ecim al [...]

  • Page 272

    6 - 85 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3.1 6 G 26 High-speed oscillation st op Code G26 Function High-speed oscillation stop function The high- speed osc illation of t he axis w hich is per forming hi gh-speed oscillatio n is st opped. Format 2 Axis name 6X ; G [Explanati on] (1) Sto ps the high-sp eed oscill atio n of the axis whi ch[...]

  • Page 273

    6 - 86 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.17 G28 Home posit ion re turn Code G28 Function Home position return When the h ome posit ion retur n request is O N, the mid point designation is ign ored and a prox imity dog, count, data set, dog cradle, stopper or limit sw itch combine d type home position r eturn. When the h ome posit ion r[...]

  • Page 274

    6 - 87 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) W hen the contr ol un it is [degr ee], operat ion from th e mid p oint t o the h om e posit ion d iffer s bet ween t he abs olute valu e com m and (G90) and inc rem ental value c omm and (G 91). The ax is tra vels in the near est p ath und er the abso lute v alue c omm and (G9 0), or in the direc[...]

  • Page 275

    6 - 88 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6. 13. 18 G30 Second h ome positi on ret urn Code G30 Function Second home position return The ax is returns from the current po sition to t he second home positi on through the sp ecified m id point at the high-spee d feed rat e. Format 3 Mid point coordin ates 0X x GY y Zz ; [Explanati on] (1) T hi[...]

  • Page 276

    6 - 89 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram whic h exec ute s the s econ d hom e posit ion r eturn f rom the cur rent pos it ion throug h the A po int (m id point) . G90 ; G30 X 200. Y200. ; (Sec ond home p ositi on retur n) Second home position A point (mid point coordinates X200, Y200) Current value REMARK W h[...]

  • Page 277

    6 - 90 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.19 G32 Skip Code G32 Function Skip The axis trav els at the specified feed rate, the remaining co mmand is suspended at the input of an ex ternal signal, and the nex t block is executed. Dwell is skipped for the dw ell command. Format < W hen axis specified> 3 Skip device (X, Y, M, B, F) S[...]

  • Page 278

    6 - 91 6 MOTION PROGRAMS FOR POSITIONING CONTROL (9) Th e absolut e circul ar inte rpola tion or the absol ute heli cal int erpol ation o f the next block cannot be exec uted. (10) The F comm and is hand led lik e G 01. (11) T he c oastin g value A betwe en sk ip sign al de tect ion and a sto p is r epres ented by the fol lowing ex press ion. F : C[...]

  • Page 279

    6 - 92 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] (1) T he pr ogram design ed to m ak e multip le sk ips u nder the co ntrol of exter nal s kip signa ls spec ified from the pr ogram mid way throug h pos ition ing. (Under increm enta l value co mm and) • G91 ; • G32 X 100. F2000 SKIP #X18 0 ; Tur ns ON t he X 180 si gnal m idwa[...]

  • Page 280

    6 - 93 6 MOTION PROGRAMS FOR POSITIONING CONTROL CAUTION The following operation assumes that a skip (G32) is specified during constant-speed cont rol (G01) and the [degree] axis without a stroke range is included. When an absolute value comman d exists after a skip under this condition, t he last positioning point and the trav el distance in the w[...]

  • Page 281

    6 - 94 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.20 G43 Tool l ength offset (+ ) Code G43 Function Tool length offset (+) The axis trav els with the preset offset value added to the travel command. By setting a difference betw een the tool length value and actua l tool length as the offset value, a pro gram can be created w ithout being aware [...]

  • Page 282

    6 - 95 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram for which exec utes th e pos itioni ng add ed t he off set va lue t o the c omman d posit ion. (F or a bsol ute va lue comm and) (Data of the tool length off set dat a sett ing re gisters are as f ollows : H1 = 5[m m ] (D1650 , 1651 = 5000 0), H2 = 10[m m] ( D1652, 1 6[...]

  • Page 283

    6 - 96 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.21 G44 To ol len gth of fse t (-) Code G44 Function Tool length offset (-) The axis trav els with the preset offs et value subtracted from th e travel command. By setting a difference betw een the tool length value and actua l tool length as the offset value, a pro gram can be created w ithout b[...]

  • Page 284

    6 - 97 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram for which ex ecutes the posit ioning subtr act ed the off set value from the comm and pos itio n. (F or abs olute valu e com mand) (Data of the tool length off set dat a sett ing re gisters are as f ollows : H1 = 5[m m ] (D1650 , 1651 = 5000 0), H2 = 10[m m] ( D1652, 1[...]

  • Page 285

    6 - 98 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 22 G 49 Tool length offset canc el Code G49 Fun ct ion Tool length of fset canc el The preset tool length offset v alue (G43, G44) is cance l. Format 49 X x ; G Positioning address Axis name [Explanati on] (1) T his com m and cance ls th e prese t too l len gth off set val ue (G4 3, G44) and p[...]

  • Page 286

    6 - 99 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.23 G53 Mechanical coordinate sy stem selection Code G53 Function Mechanical coordinate system selection The axis trav els to the command position of b asic mechanical coordinate system at the high speed feed rate. Format 5 Coordinates in basic mechanical coordinate system 3X x ; GY y Zz [Explana[...]

  • Page 287

    6 - 10 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL (7) Under the incr ement al va lue c omm and (G9 1), th e axes travel at the incr ement al value of th e mec hanic al co ordinat e s ystem , and un der t he abs olute value comm and (G 90), the axes trav el at t he abs olute value of th e m echanic al coord inate s ystem . [Exam ple] G91 ; ( Increm[...]

  • Page 288

    6 - 10 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 24 G 54 to G59 Work coordinate system selecti on Code G54, G 55, G56, G57, G58, G59 Function W ork coordinate system 1 to 6 selection The work coordinate sy stem is selected and the ax es travel to the specified position in the w ork coordi nates system at the spe ed specified in the feed ra[...]

  • Page 289

    6 - 10 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Related Parameter s] W ork coordina tes s ystem off set value : Spec if y the off set in t he work c oordinat es system using the distanc e fr om the basic mec hanical coord inates . (Ref er to S ectio n 5. 4 for t he work co ordi nate da ta.) Up to s ix work coord inates syst ems can be set . (W [...]

  • Page 290

    6 - 10 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL <W ork coor dinates s yst em c hange> The pro gram for which s et the off set of th e work coor dinates syst em 1 to X500, Y500 in the param eter s ettin g of wor k c oordinat es dat a, then chang e the work coordin ates system to new work coordi nates system 1. 1) G54 G92 X-200. Y- 200. ; (N[...]

  • Page 291

    6 - 10 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3.2 5 G61 Ex act stop check mode Code G61 Function E xact stop check mode It travels in the point-to- point p ositioning (PT P). Format 61 ; G [Explanati on] (1) T his c omm and is us ed with the int erpo lation c omm and. Exec uting t his c omm and trave ls in the po int-to- point pos itio nin[...]

  • Page 292

    6 - 10 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram for which ex ecutes the posit ioning in th e exac t stop c heck m ode. 1) G6 1 G01 X 100. F 500. ; ( Posit ioning in th e exac t stop c heck mode) 2) X2 00. ; (Pos ition ing in t he exac t st op check m ode) 3) X3 00. ; (Pos ition ing in t he exac t st op check m ode[...]

  • Page 293

    6 - 10 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.26 G64 Cut ting m ode Code G64 Function Cut tin g mod e The next block continuous ly executes w ithout deceleration stop between cutting feed bloc ks. Format 64 ; G [Explanati on] (1) T his c omm and is us ed to exec ute th e pos itio ning t o th e specif ied coord inates posit ion a pproxim a[...]

  • Page 294

    6 - 10 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram for which executes the posit ioni ng in the c utting m ode . 1) G64 G01 X100. F50 0. ; ( Positi oning in the cutting m ode) 2) X 200. ; ( Positi oning in the c uttin g m ode) 3) X 300. ; ( Positi oning in the c uttin g m ode) X-a xis V t 2) 3) 1)[...]

  • Page 295

    6 - 10 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.27 G90 Ab solut e value co mman d Code G90 Function Abs olut e va lue c omm and The coordinates command i s set as an absolute v alue command. Format 9 Locating position 0X x ; GY y Zz [Explanati on] (1) In the a bsolu te va lue com mand m ode, the ax es tra vel t o the specif ied c oordi nate[...]

  • Page 296

    6 - 10 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] Exam ple of com parison bet ween the abs olute valu e com m and and inc rem ental value comm and <Incr ementa l value comm and> G91 X 70. Y7 0. ; <Abso lute va lue com m and> G90 X 70. Y7 0. ; Y X Current position (30, 30) (100, 100) (70, 70) Incremental value command[...]

  • Page 297

    6 - 11 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.28 G91 Inc rement al va lue c omma nd Code G91 Function Inc reme ntal va lue c omman d The coordinates command i s set as an incremental value c ommand. Format 9 Locating position 1X x ; GY y Zz [Explanati on] (1) In t he inc rem ental value c omm and m ode, the axes travel the dis tanc e of t[...]

  • Page 298

    6 - 11 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] Exam ple of com paris on bet ween the inc rem ental va lue com m and and absol ute val ue comm and <Incr ementa l value comm and> G91 X 70. Y7 0. ; <Abso lute va lue com m and> G90 X 70. Y7 0. ; Y X Current value (30, 30) (1 00 , 10 0) (70, 70) Incremental value comma[...]

  • Page 299

    6 - 11 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 3. 29 G92 C oordina tes system s etting Code G92 Fu nct ion Coordinate s system sett ing The mechanical coordinates (virtual mechanical coordinates) is set simulatively. Setting the virtual mechanical coordinate system al so changes the w ork coordinates systems 1 to 6. Format 9 Setting coordin[...]

  • Page 300

    6 - 11 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram for which set t he work coor dina te s ystem to t he s pecif ied pos itio n. G92 X 20. Y3 0. ; Virtual me chanic al coordi nates Y Y X X 30 20 Y X Y X (Uni t: mm) New work coordinat es Old work coordin ates Mechan ical c oordina tes Work coor dinate s Curren t posi t[...]

  • Page 301

    6 - 11 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6. 13. 30 G98, G99 Pre read dis able/ena ble Code G98, G99 Fun ct ion Preread disable/en able Preread disable (G98) Preread enable (G99) Format 98 ; G 99 ; G [Explanati on] (1) The prer ead d is ab le m ode after that when G 98 is exec uted. As this com m and is a modal instr uctio n, it is valid u[...]

  • Page 302

    6 - 11 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK (1) Prerea d is dis abled un til G99 is ex ecute d after it bl ock s it modal G 98, and be ing specif ied o nly th ough pr ere ad is st oppe d in t he b lock th at M100 (prer ead dis- able) was n ot moda l, a nd sp ecifi ed onc e. (2) T here is no descr ibed m eaning as a pr ogram thought th[...]

  • Page 303

    6 - 11 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.13.31 G100 , G1 01 Time-fixed acceleration/deceler ation, acceleration- fixed acceleration/ deceleration sw itching command Code G100, G101 Function Time-fixed acceleration/ deceleration, acceleration- fixed acceleration/decel- eration switching com mand The acceleration/deceleration method is sw[...]

  • Page 304

    6 - 11 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram desig ned t o mak e the ac celer ation- fixed acc elerat ion/dec elera tion mode of th e accel erati on/dec elerat ion s ystem valid , then inva lid m idway thr ough the pro gram . (Comm and un it : [mm ]) Time-fi xed acce leration/decel eration(O peration is perform[...]

  • Page 305

    6 - 11 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK About locus of G1 00/G1 01 Locus comm anded f rom the Moti on co ntroller is diff erent b y settin g of the G100/ G101. (a) Locus of G100 Tim e-fixed ac cel eration /dec elerat ion m ethod is use d to en able the sm ooth operat ion be twee n posi tioning points for C P oper atio n. I n the c[...]

  • Page 306

    6 - 11 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL (b) Locus of G101 Acce lerat ion-f ixed acc eler ation/ decel erati on m ethod is used to en able t he cor rect locus contro l be tween p ositi oning poin ts for C P op erati on. Se t a G1 01 to ex ecut e the cor rect locus contro l. Ho wever, be car eful t hat t he sp eed fluc tuat ion inc reases [...]

  • Page 307

    6 - 12 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6. 14 M -Code This sectio n exp lains the M- codes use d in t he Mot ion pr ogram s. (1) M-codes W hen a Mot ion progr am is ex ecute d, the 4- digit c ode data f ollowi ng M is outp ut to the dat a regis ter ( D) in the M comm and b lock. The proc ess ing of the nex t bl ock is not ex ecute d unti[...]

  • Page 308

    6 - 12 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 5 Sp ecial M-Code The argum ents of the speci al M-codes are sh own in Tabl e 6.4 be low. Table 6.4 Special M-Code argument l ist. A xis command (Not e-1) Radius command (R) Central Point command (I, J) M-code (Not e-2) G -code Feed (F) H L N O P Remark M00 M01 M02 M30 M98 M99 M100 Other M-code[...]

  • Page 309

    6 - 12 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.15.1 M00 Pr ogram st op Code M00 Function Pro gra m s top Executio n of program is stopped. Format 0; M0 [Explanati on] Execu ting t his c omm and sto ps the progr am without ex ec ution of the next block . By tur ning O N the re-st art c omm and (M44 04+10 n) after a st op, ex ecuti on resum es [...]

  • Page 310

    6 - 12 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.15.2 M01 Opt iona l program sto p Code M01 Function Opt ion al pr ogra m stop When the optional program st op is ON, ex ecuting M01 stops an execution of program. Format 1; M0 [Explanati on] W hen the op tiona l progr am s top com mand ( M4401 +10n ) is ON , exec uting this comm and sto ps the pr[...]

  • Page 311

    6 - 12 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.15.3 M02 Progra m end Code M02 Fun cti on Program end Program is end ed. Format 2; M0 [Explanati on] Execu ting t his c omm and en ds an executi on of progr am. This comm and is requir ed at th e end of a pro gram . [Progr am Example] The progr am wh ich ends a pr ogram after posi tionin g contr [...]

  • Page 312

    6 - 12 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.15.4 M30 Pro gram end Code M30 Fun cti on Program end Program is end ed. Format 0; M3 [Explanati on] Execu ting t his c omm and en ds an executi on of progr am. This comm and is requir ed at th e end of a pro gram . [Progr am Example] The prog ram wh ich is en ds a progr am after position ing con[...]

  • Page 313

    6 - 12 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6. 15. 5 M 98, M 99 S ubprog ram call, subpr ogram end Code M98, M99 Function Subprogram call, subprogram end Subprogram call (M 98) and subprogr a m end (M 99) are ex ecuted. Format Subprogram call program No. (1 to 512) Subprogram call sequence No. (1 to 9999) 9 Subprogram repetition count (1 to [...]

  • Page 314

    6 - 12 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram desig ned t o ru n the s pecif ied s ubpro gram twic e repeat edl y, ret urn to the main pr ogram , and com plete operation. O0110 ; M98 P120 H20 L 2 ; M02 ; % Ma in pr ogr am Subprogram ... O0120 ; N20 ; M99 ; % ... ... ... .. . The pro gram whic h calls a s ubprogr[...]

  • Page 315

    6 - 12 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.15.6 M100 Prere ad dis abl e Code M100 Fun cti on Preread disable Preread is not ex ecuted on the G- c ode (Moti on prog ram ). Format 10 ; M0 [Explanati on] Execu ting t his c omm and does not ex ecute prere ad on the G-c ode ( Mo ti on p ro gr am s ). After c ompl etion of m otion u p to the pr[...]

  • Page 316

    6 - 12 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6 Miscel laneous The s ettable argum ents in t he first c haracter ar e sho wn in Table 6 .5 bel ow. Table 6.5 Argumen t List [ ] Operator Logical operator Assignment (=) GOTO G M Rema rks # IF GOTO / Depends on the dat a after "/ ". G Refer to Sect ion 6.13. M Refer to Section 6.15 f[...]

  • Page 317

    6 - 13 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 1 Prog ram con trol functi on (IF, GOTO state ment) Code IF, GOTO Fun cti on Program control functi on The flow of execution program is controll ed based on the co ndition. Format F Sequence No. I[ expression ] ; O GT n O [Explanati on] (1) If the s pecif ied ex press ion is true ( 1) (c ond[...]

  • Page 318

    6 - 13 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The p rogra m for which ju mps the spe cified se quence No . if the conditio n is sati sfied. O0020 1 ; N200 G91 ; N210 G01 X100. Y100. F 2000. ; X200. ; Y200. ; IF [#@100] GOTO230 ; N220 G01 Y300. F150 0. ; X300. ; N230 G02 X50. Y50. I0. J50. F800. ; N240 G01 X100. Y500. F 2000.[...]

  • Page 319

    6 - 13 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 2 Prog ram con trol function (IF, THEN, E LSE, END stat ements) Code IF, T HEN, ELSE, END Fun cti on Program control functi on The flow of execution program is controll ed based on the co ndition. Format F IF identification numb er (1 to 32) I[ ] L EE m ; S Block U group ED m; N Block U grou[...]

  • Page 320

    6 - 13 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] O0001 ; N1 G91 ; N2 G01 X100. Y100. F2000 ; N3 X200. ; N4 Y200. ; N5 IF [#@100 EQ0] THEN1 ; N6 G01 Y300. F1500 ; N7 X300. ; N8 END1 ; N9 G02 X50 . Y50. I0. J50. F800 ; N10 G01 X100. Y500. F2000 ; N11 IF [#@110] THEN2 ; N12 G00 X10. ; N13 Y100. ; N14 ELSE2 ; N15 G28 X0. Y0. ; N16 [...]

  • Page 321

    6 - 13 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.3 Program c ontro l funct ion (W HILE, DO , END sta temen ts) Code WHILE, DO, END Fun cti on Program control functi on The flow of execution program is controll ed based on the co ndition. Format WHILE identi fication number (1 to 3 2) W[ condit ional exp ression ] HI L E O D m; ENDm ; [Explan[...]

  • Page 322

    6 - 13 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL (4) T he GOT O stat ement c annot caus e execu tion t o go i nto or c ome ou t of t he DO statem ent. [Progr am Example] The pr ogram for which jum ps to the sp ecifi ed li ne if t he co nditi on is s atis fied. O0110 ; N1 #@0=0 ; N2 G91 G00 X25. Y50. ; N3 WHILE [#@0 LT3] D01 ; N4 G03 X0. Y0. I 25.[...]

  • Page 323

    6 - 13 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 4 Fo ur funda mental operators, assignme nt operat or (+, -, *, /, MOD, = ) Code +, -, *, /, MOD , = Function Four fundamental operators, assignment operator Addition (+), subtraction (-), multiplication (*), div ision (/), remainder (MOD ) and assignment (=) are executed. Format Numerical v[...]

  • Page 324

    6 - 13 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL (5) F or MOD, the 16- or 32-bit t ype is us ed for oper ation. If oper ation data 1, 2 ar e the 64-bit type, the y are con vert ed into t he 32- bit t ype. The op erati on res ult ca n be the 16-, 32- or 64-bi t t ype, but if the operat ion r esult is the 64- bit t ype, the res ult of operat ion pe[...]

  • Page 325

    6 - 13 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6.5 Trigonometr ic functions (SIN, COS, TAN, ASIN, ACOS, ATAN) Code SIN, COS, TAN, ASIN, ACOS, ATAN Fu nct ion Trigonome tric functions Operations of SIN (sine), COS (c osine), TAN (tangent), ASIN (arcsine), ACOS (arccosine) and AT AN (arctangent) are executed. Format u Numerical value (can be [...]

  • Page 326

    6 - 13 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 6 R eal nu mber to BIN value conv ersion ( INT) Code INT Function Floating-point type real number processing instruction Real number to BIN value A floating-point type real numb er is converted into a 32-bit inte ger (BIN value) including four decima l places. Format N Indirect setting only [...]

  • Page 327

    6 - 14 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 7 B IN val ue to real number conv ersion ( FLT) Code FLT Function Floating-point type real number processing instruction BIN value to real number conversion A 32-bit integer (BIN value) including four decimal places i s converted into a floating-point type real nu mber. Format L Indirect set[...]

  • Page 328

    6 - 14 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.8 32-bit real numb er and 64-bit r eal number data conv ersion (D FLT, SFLT) Code DFLT, SFL T Function 3 2-b it real number and 64-bit real number data conversion The DFLT instruction conv erts the data from 32-bit real numbe r to 64- bit real number. The SFLT instruction converts t he dat a f[...]

  • Page 329

    6 - 14 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6.9 Functions (SQRT, ABS, BIN, BCD, LN, EXP, RND, FIX , FUP) Code SQRT, ABS, BIN, BCD, LN, EXP, RND, FIX, FUP Function Fun cti ons Operations of SQRT (square root), ABS (absolute value), BIN (BCD to BINARY conversion), BCD (BINARY to BCD conversion), LN (natural logarithm), EXP (base e exponent[...]

  • Page 330

    6 - 14 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 10 Logi cal operat ors (AND , OR, XOR, N OT, <<, > >) Code AND, OR, XOR, NOT, <<, >> Fu nct ion Logical oper ators Logical product (AND), logical add (OR), ex clusive logical add (XOR ), logical NOT (NOT ) and shift operations (<<, >>) are executed. Format[...]

  • Page 331

    6 - 14 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] Operator Program example Operation #2010L = 00000000 00000000 00000000 01100100 15 = 00000000 00000000 00000000 00001111 AND #2010L = 100 ; #2020L = #2010L AND 15 ; #2020L = 00000000 00000000 00000000 00000100 = 4 #2010L = 00000000 00000000 00000000 01100100 14 = 00000000 0000000[...]

  • Page 332

    6 - 14 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6.1 1 M ove block wait functi ons ( W AI TON, W AI TOF F) Code WAITON, W AITOFF Function Mo ve bl ock wa it f unct ions The next travel block is ex ecuted at the completion of O N/OFF condition for the specified dev ice. Format A Devi ce ( X, Y, M, B, F ) WO # N IT X x ; A Devi ce ( X, Y, M, B,[...]

  • Page 333

    6 - 14 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] The pro gram whic h exec ute s the n ext b lock at the co mple tion of cond itio n. 1) 0 0001 W AITON #X10 ; 00002 N1 G0 1 X10 0. Y2 00. F 1000. ; 2) 0 0003 W AITOFF #X 11 ; 00004 N2 #2010 = 5 ; 00005 G 00 X 0. Y- 10. ; 3) 0 0006 W AITON #X12 ; 00007 G OTO 10 ; : : 00015 N10 G 00[...]

  • Page 334

    6 - 14 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.12 Block wai t functions (EXE ON, EXEO FF) Code EXEON , EXE OFF Function Bl ock wait func tion The next block is ex ecuted at the completion of ON/OFF condition for the specified device. Format E De vice ( X, Y, M, B , F) O# N XE X x ; EX E De vice ( X, Y, M, B , F) O# FX x ; F [Explanati on] [...]

  • Page 335

    6 - 14 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL (2) Axis des ignat ion progr am (a) Ne xt blo ck is trav el blo ck. EXEO N/EX EOFF SET #M100 ; EXEON #M102 ; G01 X100. F1000. ; : : MO2 ; % Preread of next block is not executed. When the M102 is ON, the next block is executed. Preread of next block is executed. When the M102 is ON , the next block[...]

  • Page 336

    6 - 14 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL V t M100 ON OFF (Example1) t M100 ON OFF V (Example2) It is ignored. It does not become valid before preceding block end. It stops temporary regardless of G00, G01. REMARK Operat ion wh ich co mbined E XEON an d W AITON. WAITON #M100 ; EXEON #M101 ; G01 X100. F100 ; V t M10 0 M101 Waiting for WAITO[...]

  • Page 337

    6 - 15 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 13 B it set a nd r es et f or w or d dev ices (BSET, BRST) Code BSET, BRST Function Bit operation of the w ard devices Sets or resets the specifies bit i n the word devic e. Format S Set bit number (0 to15) Bn D ET ; Word device which operates bit. (#D, # W, #@) B n D; RST Res et bit num ber[...]

  • Page 338

    6 - 15 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 14 Para meter blo ck change (P B) Code PB Function Par amet er bloc k ch ang e The parameter block of the sp ecified No. i s used. Format B Parameter block change command pb ; P Parameter block No. [Explanati on] (1) The n um erical valu e follo wing PB is used as a par am eter block No.. (2[...]

  • Page 339

    6 - 15 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] (1) W hen a param eter b lock chang e is ex ecuted duri ng poi nt-to- point posit ionin g N01 G00 X0. ; N02 G00 X100. ; N03 PB3 ; N04 G00 X300. ; Uses the parameter block at a program start. Changes to parameter b lock 3. N04 PB at a program start is used. PB3 is used. N02 N01 t [...]

  • Page 340

    6 - 15 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 15 Torq ue limit v alue change ( TL) Code TL Fu nct ion Torque limit val ue cha nge The torque limit val ue is chan ged to the specified v alue. Format L Torque limit value Torque limit value change command t; T [Explanati on] (1) T he n umer ical va lue f ollo wing T L is c omm anded as a t[...]

  • Page 341

    6 - 15 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL (9) If spec ifie d in a m ove block , the tor que lim it val ue (T L) is made valid from that motion. W hen the t orque lim it val ue is indep endent (no b lock motion spec ified), it is m ade val id for the n ext m otion. [Progr am Example] (1) W hen torque limit valu e cha nge is made N01 G00 X0.[...]

  • Page 342

    6 - 15 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.16 Home posit ion retur n (CHGA) Code CHGA Function Home position return A home posit ion return of the s pecified ax is is executed. Format H The " J + Axis n ame" to return the home position is set. It is possible to specify it only by an axis. A; C GJ X [Explanati on] (1) T he sta[...]

  • Page 343

    6 - 15 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.17 Speed chang e (CHG V) Code CHGV Function Speed change A speed chan ge of the specifi ed axis is executed. Format Speed change value (Indirect setting is possible) n; HV C GJ X The "J + Axis name" to change the speed value is se t. It is possible to specify it only by an axis. [Exp[...]

  • Page 344

    6 - 15 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.18 Torque l imit v alue change (CH GT) Code CHGT Function Torque limit value change A torque limit v alue cha nge of the specifi ed axis i s executed. Format n; HT C GJ X Torque limit change value (Indirect setting is possible) (1 to 1 000[%]) The "J + Axis name" to change the t orqu[...]

  • Page 345

    6 - 15 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.19 Bit device set, reset f uncti ons (SET , RST ) Code SET, R ST Fun ct ion Bit device set, reset functions The specified dev ice is turned ON/O FF. Format E ON device (Y, M) TY ; S# y De vice O N comm and S OFF device (Y, M) TY ; R# y De vice OFF c omm and [Explanati on] (1) T he sp ecifi ed [...]

  • Page 346

    6 - 15 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.20 Bit devi ce operation on conditi on (IF , T HEN, SET /RST /OUT ) Code IF, TH EN, S ET/RS T/O UT Function Bit device operation on condition W hen the con dition co nsists , a spec ifie d dev ice is turn ed on. Format Device turn ON and OFF on condition. ( Y, M, B, F, s pecial M ) ON device ([...]

  • Page 347

    6 - 16 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK (1) T he m ark of the I/O modu les is X an d Y in SV 43 regar dles s of i nstall ation/n on- in stallati on. PX an d PY is n ot used in the Mot ion pro gram . (2) W ritin g in the de vice X is pos sible onl y for th e ran ge of th e inpu t m odules non- in stallati on. (3) T he star t acc ep[...]

  • Page 348

    6 - 16 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.21 Progr am start (CAL L) Code CALL Function Program start The s pecif ied c ontrol progr am or axis designation program is started . Format A L C LJ X p; JYJ Z JU J V JW J A J B P J+starti ng axis name. Eight or les s can be specifi ed. Moti on pro gram No. (1 to 1024 ) (Indirect set ting is [...]

  • Page 349

    6 - 16 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL Diff erence p oint of the progr am call an d pro gram start O0001 ; % CALL JXJY P10 ; M02 ; Progr am start 1) 2) O0010 ; % M02 ; 3) 2) O000 1 ; % GOSUB JXJY P10 ; M02 ; Program call 1) 5) O0010 ; % M02 ; ;3 ) 2) 4) This program is ex ecuted in parallel the started The following next block of G OSUB[...]

  • Page 350

    6 - 16 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.22 Progr am call 1 (GOSUB ) Code GOSUB Function Program call 1 The s pecif ied c ontrol progr am or axis designation program is called . Format J+starting ax is name. Eight or les s can be spec ified. OU GS B Motion progra m No. (1 to 10 24) (Indirect set ting is possible) JX p; JYJZ JU J V JW[...]

  • Page 351

    6 - 16 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.23 Progr am call 2 (GOS UBE) Code GOSUBE Function Program call 2 The s pecif ied c ontrol progr am or axis designation program is called . The c all sourc e pr ogram is ended a t the error oc cur rence. Format J+starting axis name. Eight or less can be sp ecifie d. OU GS B E Motion progr am No[...]

  • Page 352

    6 - 16 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL (9) T he end of r ol pr ogra m b y CLEAR ins tructi on in t he con trol pr ogram or th e CLEAR r eques t con trol prog ram No. s ettin g reg ister ( D707) are n orm al. Call source pr ogram is not end ed. Refer t o the ex plan atio n of " Program start " for t he dif ferenc e bet ween the[...]

  • Page 353

    6 - 16 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL REMARK Error list which the m ain pr ogram ends by an error occu rrence is sho wn be low. Error type Error code Starting errors 100, 101, 103, 104, 106, 107, 108, 109, 110, 115, 140, 142, 145, 160, 161 Positioning control errors 200, 201, 202, 203, 206,207, 208, 209, 211 Minor error Motion program [...]

  • Page 354

    6 - 16 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.24 Control program end (CLEAR) Code CLEA R Function Control program end The s pecif ied co ntrol progr am is end ed. Format L Motio n program No. (1 to 10 24) (Indirec t setting is pos sible) A C E p ; P R [Explanati on] (1) T he C LEAR is end ed if it is execu ting i t spec if ying the num be[...]

  • Page 355

    6 - 16 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL (4) Th e CLEAR at the p rogram cal l as th e follow ing ope rati on. O100 ; (Contr ol prog ram) A % GOSUB JXJY P200 ; M02 ; O200 ; (Axis designation program) % G01 X100. Y100. ; M02 ; O100 ; (Contr ol prog ram) B % GOSUB P200 ; M02 ; O200 ; (Control p rogram) % ; M02 ; (a) W hen th e starte d pro g[...]

  • Page 356

    6 - 16 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.25 Time t o wait (TIME) Code TIME Function Time to w ait Tim e from the end of the bloc k to the next block beginn ing is speci fied at w aiting time. Format I Waiting time (1 to 65 535) E TM p ; P [Explanati on] (1) T ime f rom the end of th e bloc k to t he nex t bloc k be ginnin g is s peci[...]

  • Page 357

    6 - 17 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.26 Block trans fers (BMOV : 16 -bit unit) Code BMOV Function Block transfers (16-bi t un it) The data of n words from the s pecif ied device are batch-transf erred to the specified transfer destinatio n. (1 6-bi t u nit ) Format M Number of transmission words (Constant or indirect setting (1 t[...]

  • Page 358

    6 - 17 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL (2) P rogr am which batch-tr ansfers a contents f or 5 words from absolute addr ess (0x0600000 0) of Mot ion CPU to a ll data f or 5 words f rom D2000. 12 34 56 78 D2000 BMOV #D2000 H06000000 5 12 34 56 78 0x06000000 90 D2001 D2002 D2003 D2004 0x06000002 0x06000004 0x06000006 0x06000008 90 Batch tr[...]

  • Page 359

    6 - 17 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6. 27 Block tra nsfer ( BDMOV : 32-bit unit) Code BDMOV Function Block transfer (32 -bi t u nit) The data of n words from the s pecified word device are batch- transferred to the specified transfer destinati on. (3 2-bi t u nit ) Format M V BO ; D S n D Number of transmission words (Constant or[...]

  • Page 360

    6 - 17 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] (1) P rogr am which batch-tr ansfers a contents f or 4 words from D2000 to all data for 4 words f rom #@10. 12 34 56 78 #@10 #@11 BDMOV #@10 #D2000 4 12 34 56 78 Batch transfer (32-bit unit) #@12 #@13 D2000 D2001 D2002 D2003 (2) Program whic h batch-t ransf ers a contents for 4 w[...]

  • Page 361

    6 - 17 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.28 Identical data block transfers (FMOV) Code FMOV Function Identical data block transfers The data of n words from the s pecif ied device are batch-transf erred to the specified transfer de stination. (a wor d [1 6-bi t] un it ) Format M V O; D S n F Number of transmission words (Constant or [...]

  • Page 362

    6 - 17 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] (1) Program whic h batch-t ransf ers a contents for f rom D0 to all d ata for 5 words from #@10. 12 #@10 FMOV #@10 #D0 5 12 D0 #@11 #@12 #@13 #@14 12 12 12 12 Batch tran sfer (16-bit unit) The m otion d evic e is n ot ini tial ized (0 set) at the power on. Pleas e use it after in[...]

  • Page 363

    6 - 17 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.29 W rite d evice data to shared CPU memory (MUL TW ) Code MULTW Function W rite device d ata to shared CPU memo ry A part for (n) w ords of data since the dev ice specif ied with (S ) of the self CPU module are w ritten to since the shared CPU memory address spe cified w ith (D) of t he self [...]

  • Page 364

    6 - 17 7 6 MOTION PROGRAMS FOR POSITIONING CONTROL An o perat ion err or wi ll occur if : (a) Number of words (n) to be wri tten is outs ide the ra nge of 1 to 256. (b) T he sh ared C PU m emor y addres s (D) of self CPU of th e wr iting desti nation devic e is outside the range (800H to FFFH) of the shar ed CPU m emory address. (c) T he shar ed CP[...]

  • Page 365

    6 - 17 8 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.30 Read dev ice data from shared CPU memory of th e other CPU (MULT R) Code MULTR Function Read device data from shared CPU memory of the other CPU A part for (n) words of data of the other CPU specified w ith (S1) are read from the address specifie d with (S2) of the shared CPU memory, and it[...]

  • Page 366

    6 - 17 9 6 MOTION PROGRAMS FOR POSITIONING CONTROL (3) W hen data are r ead norm ally from the t arget CPU s pecifi ed wit h (S1), the r eadin g com plete fla g M921 6 to M9 219 (C PU No .1:M92 16, CP U No.2 :M9217 , CPU No.3 :M92 18, CPU No.4:M 9219) corre spondi ng to the targe t CPU turns on . If data cannot be re ad nor mall y, the re adin g co[...]

  • Page 367

    6 - 18 0 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16.31 W rite words data to intelligent function module/special function module (T O) Code TO Function Write words data to intelligent function module/special function module A part for (n) words of data from device specified w ith (S) are written to since address specifie d with (D2) of the buffe[...]

  • Page 368

    6 - 18 1 6 MOTION PROGRAMS FOR POSITIONING CONTROL (4) T he fol lowin g anal ogue m odules can be use d as t he co ntrol m odul e of Mo tion CPU. • Q62D A • Q64D A • Q68D AV • Q68D AI • Q64AD • Q68A DV • Q68AD I (5) An ope ration error will o ccur if : (a) Nu mber o f word s (n) to be writ ten i s outside the ra nge of 1 to 256. (b) M[...]

  • Page 369

    6 - 18 2 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.16. 32 Read words da ta from intelligent functio n modu le/special f unction m odule (FR OM) Code FRO M Function Read words data from intelligent function module/special function module A part for (n) words of data are read from the address specifie d with (S2) of the buffer memory in the intelli[...]

  • Page 370

    6 - 18 3 6 MOTION PROGRAMS FOR POSITIONING CONTROL (3) T he dev ices th at ma y be se t at (D), (S1), (S2) and ( n) ar e sho wn belo w. Word devices (Note) (16-bit integer type) Bit devices (Note) Setting data D W #@ M B F X Y Constant (D) — — — — — — (S1) — — — — — (S2) — — — — — (n) — — — — — (Note) : T h[...]

  • Page 371

    6 - 18 4 6 MOTION PROGRAMS FOR POSITIONING CONTROL 6.1 6.3 3 C onditio nal branch using bit d evice ( ON, OFF) Code ON, OFF Function Bit device cond itional branch By describing this comma nd in the condition al expression of IF or WHILE, branches processing accordi ng to the ON/OFF status of the specified bit device. Format F ON/OF F devi ce ( X, [...]

  • Page 372

    6 - 18 5 6 MOTION PROGRAMS FOR POSITIONING CONTROL [Progr am Example] (1) W hen M1 00 is ON, a branc h to l ine N03 is tak en. N01 IF [ON #M100] GOTO3 ; N02 G01 X100. F200. ; N03 G00 X0. ; Branches to line N0 3 if M100 is ON. Executes the next line (N02) if M1 00 is OFF. (2) Ex ecuti on star ts f rom the nex t line (THEN 1 and l ater) if M 200 is O[...]

  • Page 373

    6 - 18 6 6 MOTION PROGRAMS FOR POSITIONING CONTROL MEM O[...]

  • Page 374

    7 - 1 7 AUXILIA RY AND A PPLIED FUNCT IONS 7. AUXILI ARY AND APPLIED FUNCTI ONS 7.1 Backlash Compens ation Function This funct ion com pensat es f or the backlas h am ount in the m achin e s ystem. W hen the back lash com pensa tion am ount is se t, extra fee d puls es equi valen t to th e back lash com pensatio n amount s et up whene ver the trave[...]

  • Page 375

    7 - 2 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) Backlash compen sation processing Details of bac klas h com pensation proc essing are sh own b elow. Table 7.1 Detail s of backlash compensation p rocessing Condition Proc essing First start after power on • If travel di rection is equal to home position return direction, the backlash compensation is[...]

  • Page 376

    7 - 3 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.2 Torque Limit Functi on This funct ion res tricts the ge nerati ng tor que of the s ervo motor within the s etting r ang e. If the torqu e req uired for co ntrol excee ds th e tor que l imit va lue durin g pos itioni ng contr ol, it r estric ts with the settin g torq ue lim it va lue. (1) Settin g ran g[...]

  • Page 377

    7 - 4 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Motio n pro gram O10; G90; N1 G00 X 100. Y100. ; TL100; N2 G00 X 200. Y200. ; N3 G00 X 300. Y300. ; M02; % 300 100 N3 N2 N1 200 250 50 Sequence No. CHGT Instru ction S(P). CH GT Inst ruction Ser vo com mand X-axis Y-ax is Torque limi t value[%] (P rogram comm and) 300 200 100 250 0 200 100 V t 300 0 50[...]

  • Page 378

    7 - 5 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3 Home Position Ret urn (1) Us e the hom e posit ion retur n at the po wer su ppl y ON and ot her t imes where confir matio n of axis is at the mac hine h ome pos itio n is req uired. (2) T he fo llow ing s ix meth ods for hom e posi tion ret urn ar e sho wn bel ow. • Prox imit y do g type • Coun t t[...]

  • Page 379

    7 - 6 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.1 Home posit ion return data This data is use d to ex ecute the hom e pos ition r etur n. Set t his d ata us ing a perip hera l de vice. Table 7.2 Home p osition return data l ist Settin g ran ge mm i nch degre e Indire ct se ttin g No. Item Setting range Units Setting range Unit s Setting range Un its[...]

  • Page 380

    7 - 7 7 AUXILIA RY AND A PPLIED FUNCT IONS Remarks Explanat or y section • The home positi on ret urn dire ction is set. • The hom e posit ion return meth od is s et. • The prox imity dog type o r count type a re re commen ded for the serv o ampl ifier which does n ot support abso lute v alue. • The curr ent valu e of home p ositio n after [...]

  • Page 381

    7 - 8 7 AUXILIA RY AND A PPLIED FUNCT IONS (1) Trav el value after proximi ty dog ON (a) T he tra vel value after prox imit y dog ON is set t o ex ecute t he co unt t ype home pos it ion ret urn. (b) After the pr oxim ity do g ON, t he h ome pos itio n is t he f irst ze ro-p oint af ter trav el by the settin g trave l va lue. (c) S et the trave l v[...]

  • Page 382

    7 - 9 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) Home posi tion return retry function/dwel l time at the home posi tion return retry (a) V alid/i nvalid of hom e pos ition r eturn r etr y is set. (b) W hen the va lid of home p ositi on ret urn re try func tion is s et, the t ime to stop at retur n of travel direct ion i s set with d well tim e at t h[...]

  • Page 383

    7 - 10 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Home posit ion shift amount/speed set at the home positi on shift (a) The shif t (tr ave l) am ount f rom position stop ped b y hom e pos itio n retur n is set. (b) If the h om e posit ion sh ift am ount is pos itiv e value , it s hift s f rom det ected zero poin t signa l to addres s incr eas e dir e[...]

  • Page 384

    7 - 11 7 AUXILIA RY AND A PPLIED FUNCT IONS (d) Valid/i nval id of t he s etting value for h ome pos itio n shif t am ount b y the home posi tion r eturn met hod is shown be low. Home position return methods Valid /invalid of home position shift amount Proximity dog ty pe Count type Data set type Dog cradle type Stopper type Limit switch comb ined [...]

  • Page 385

    7 - 12 7 AUXILIA RY AND A PPLIED FUNCT IONS (5) Operati on setting for incompleti on of home positi on return (a) O perat ion in se lecting "0: Execute Mot ion pro gram " 1) W hen "0 : Exec ute Motio n progr am " is se t in a ll ax es am ong ax es (Note) specif ied a t Moti on pro gram start , the M otion progr am c an be ex ecu[...]

  • Page 386

    7 - 13 7 AUXILIA RY AND A PPLIED FUNCT IONS Opera tion ex am ple in s tartin g the Motio n progr am in the condit ion th at the f ixed para meter and hom e posit ion re turn re quest s ign al wer e set as the f ollo wing i s sho wn belo w. Setting axis O peration setting for incompleti on of home position return Home position return request signal [...]

  • Page 387

    7 - 14 7 AUXILIA RY AND A PPLIED FUNCT IONS (6) Indir ect setting of home position r eturn data A part of hom e pos itio n retu rn dat a can be exec uted the i ndirect setti ng b y the word d evices ( D, W , #) of Motio n CPU. (a) Data devices for indirect setting There ar e dat a reg ister s (D) , link regist ers (W ) and Moti on reg isters (#) as[...]

  • Page 388

    7 - 15 7 AUXILIA RY AND A PPLIED FUNCT IONS 3) G30 The s econd hom e positio n retur n ad dress s pecif ied with th e hom e posit ion re turn d ata is re ad ev er y time, a nd the posit ioning is execute d with hi gh-s peed f eed rat e. POINT Tak e an int erlock not to chang e the device dat a spec ifie d for indir ect sett ing until the h ome pos [...]

  • Page 389

    7 - 16 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.2 Home posi tion return by the proximity dog type 1 [Control detail s] (1) Prox imity dog type 1 Zero po int pos ition af ter pro xim ity dog ON to OFF is ho me posit ion in t his method. W hen it do es not pass ( zero pas s s ignal: M 2406 +20n O FF) th e zer o poin t from home pos it ion ret urn s t[...]

  • Page 390

    7 - 17 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) Keep the p roximity dog ON dur ing decel erati on from th e home p ositi on ret urn speed to th e creep sp eed. If the proxim it y dog t urns O FF befor e dec elerat ion to the cr eep s peed, a decel erati on stop is m ade and th e next zero point is s et as the hom e position . ON Proximit[...]

  • Page 391

    7 - 18 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) W hen it does not p ass ( zero pass s ignal: M2406 +20n O N) th e zer o poin t from home pos it ion ret urn s tart to decel eration stop b y proxim ity do g ON t o OFF, a minor error "Z CT not se t" (er ror cod e: 120) will occur, a dece lerat ion st op is m ade and hom e pos itio n retur n [...]

  • Page 392

    7 - 19 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.3 Home posi tion return by the proximity dog type 2 [Control detail s] (1) Prox imity dog type 2 Zero po int pos ition af ter pro xim ity dog ON to OFF is ho me posit ion in t his method. W hen it passed (zer o pass s ignal: M2 406+2 0n ON) the zer o poin t from home posit ion re turn s tart t o dec e[...]

  • Page 393

    7 - 20 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Home posi tion return ex ecution Home posit ion r eturn by the proxim it y dog t ype 2 is exe cuted using the CH GA instr uct ion in Sec tio n 7.3.1 6. W hen the hom e pos ition r eturn r equest is O N, th e prox im ity dog t ype 2 h om e posit ion is also made even G28 of the Motion progr am. [Cautio[...]

  • Page 394

    7 - 21 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.4 Home posit ion return by the count type 1 [Control detail s] (1) Count ty pe 1 After t he pr oxim it y dog ON , the zero p oint after the s pecif ied distanc e (tr ave l value af ter prox im ity dog ON) is home posi tion in th is meth od. (If t he prox imity dog signa l of serv o ampli fier is used,[...]

  • Page 395

    7 - 22 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) Hom e p osition return and c ontinu ousl y start of hom e posi tion ret urn ar e als o possi ble in t he pr oxim ity d og ON in the count t ype 1. W hen the hom e pos ition r eturn or cont inuo usly s tart of hom e posit ion r eturn are execu ted in the pr oxim it y dog ON, the hom e positi[...]

  • Page 396

    7 - 23 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.5 Home posit ion return by the count type 2 [Control detail s] (1) Count ty pe 2 After t he pr oxim it y dog ON , the p ositi on whic h tr avele d the s pecif ied distanc e (tra vel val ue after pr oxim ity do g ON) is hom e posi tion in this metho d. (If t he prox imity dog signa l of serv o ampli fi[...]

  • Page 397

    7 - 24 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) Home pos itio n retur n an d cont inuous ly star t of home p ositi on ret urn are also possi ble in t he pr oxim ity d og ON in the count t ype 2. W hen the hom e posi tion r eturn an d cont inuous ly star t of home p ositi on ret urn ar e execu ted in the pr oxim ity dog ON, the hom e posi[...]

  • Page 398

    7 - 25 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.6 Home posit ion return by the count type 3 [Control detail s] (1) Count ty pe 3 After t he pr oxim it y dog ON , the zero p oint after the s pecif ied distanc e (tr ave l value af ter prox im ity dog ON) is home posi tion in th is meth od. (If t he prox imity dog signa l of serv o ampli fier is used,[...]

  • Page 399

    7 - 26 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Home posi tion return ex ecution Home pos it ion re turn b y the count type 3 is ex ecut ed us ing the CHGA instru ction in Secti on 7. 3.16. W hen the hom e pos ition r eturn r eques t is ON, th e cou nt type 3 h ome pos itio n return is als o m ade eve n G28 of the Motion progr am . [Cautions] (1) A[...]

  • Page 400

    7 - 27 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.7 Home posit ion return by the data set type 1 [Control detail s] (1) Data set ty pe 1 The prox imit y dog is not us ed in this metho d for the abs olute po sition system . (2) Home posi tion return by the data set type 1 Home pos it ion is the c omman d posi tion a t the hom e posit ion retur n oper [...]

  • Page 401

    7 - 28 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.8 Home posit ion return by the data set type 2 [Control detail s] (1) Data set ty pe 2 The prox imit y dog is not us ed in this metho d for the abs olute po sition system . (2) Home posi tion return by the data set type 2 Home posit ion is the r eal p osit ion of serv omotor at t he hom e posi tion r [...]

  • Page 402

    7 - 29 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.9 Home posit ion return by the dog cradle ty pe [Control detail s] (1) Dog cradl e type After dec elerat ion stop by th e proxim it y dog ON, if the z ero poin t is passe d after trave ling t o rever se d irectio n an d turn ing th e prox im ity dog O FF, t he d eceler ation stop is made . An d it m o[...]

  • Page 403

    7 - 30 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) W hen home pos iti on re turn retr y fu nctio n is n ot set, if h ome pos itio n retur n is execu ted a gain af ter h ome pos it ion re turn e nd, a m inor error "hom e posit ion r eturn com plete si gna l is tu rnin g ON a t the d og cr adle t ype hom e positio n ret urn s tart" [...]

  • Page 404

    7 - 31 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) W hen the prox im ity dog is s et in t he hom e pos ition retur n dir ect ion, th e prox imit y dog is turne d OFF during trav el to r evers e direc tion of h ome pos itio n retur n, and the zero point is n ot passe d, it cont inues to tr avel in t he rever se direc tion of home posit ion re turn with[...]

  • Page 405

    7 - 32 7 AUXILIA RY AND A PPLIED FUNCT IONS (4) W hen it starts in t he pr oxim ity dog , the zero p oint i s not p asse d at the tim e of t he proxim it y dog is turn ed OF F dur ing tr avel to re verse d ire ction of hom e pos ition retur n, it c ontin ues to trave l with home p ositi on ret urn s peed u ntil t he zero p oint is passed . The ze r[...]

  • Page 406

    7 - 33 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.10 Home positi on return by the stopper type 1 [Control detail s] (1) Stopper ty pe 1 Posit ion of stop per is hom e pos itio n in th is m ethod. It tra vels t o the d irec tion s et in the "h om e posit ion r eturn direct ion" with t he "hom e posit ion re turn s peed ", after a d[...]

  • Page 407

    7 - 34 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) A zero point do es not mus t be pass ed (zero pas s sign al: M2406 +20n ON) betwe en turn ing o n the p ower s uppl y and ex ecut ing ho me pos ition r etur n. (2) Home pos itio n retur n retr y funct ion c annot b e used in th e stop per t ype 1. (3) Set th e torq ue limit val ue a fter re[...]

  • Page 408

    7 - 35 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.11 Home positi on return by the stopper type 2 [Control detail s] (1) Stopper ty pe 2 Posit ion of stop per is hom e pos itio n in th is m ethod. It tra vels the direct ion s et in the "hom e posi tion re turn d irecti on" with the "creep speed ", and it press es a gains t the s to[...]

  • Page 409

    7 - 36 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) A zero point do es not mus t be pass ed (zero pas s sign al: M2406 +20n ON) betwe en turn ing o n the p ower s uppl y and ex ecut ing ho me pos ition r etur n. (2) Home pos itio n retur n retr y funct ion c annot b e used in th e stop per t ype 2. (3) Set th e torque limit val ue at th e re[...]

  • Page 410

    7 - 37 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.12 Home positi on return by the l imit switch combined ty pe [Control detail s] (1) Limi t switch combined ty pe The prox im ity d og is not us ed in this m etho d. H ome pos ition r etur n can be execu ted b y usin g the ex ter nal up per/l ower l imit s witch. W hen the hom e pos ition r eturn is st[...]

  • Page 411

    7 - 38 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) For the axis whic h execut es th e hom e pos ition r eturn b y the lim it s witch c ombi ned type, if the extern al inpu t signa l has not set in th e syste m settin gs, a minor er ror "the posit ionin g contr ol which us e the extern al input s ignal was ex ecut ed for the axis which [...]

  • Page 412

    7 - 39 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.13 Home positi on return retry function W hen a work has b een excee ded hom e pos itio n dur ing pos itio nin g contr ol, e tc., e ven if it exec utes the hom e positi on retur n, depe nding on the posit ion of work , a work m ay not t ravel to home po sition directi on. In th is case , a work i s no[...]

  • Page 413

    7 - 40 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) H ome pos itio n retur n ret ry op eration s etti ng a wor k o utside t he ran ge of extern al lim it switc h (a) W hen th e dir ectio n of " work hom e posit ion " and h om e posit ion r eturn is sam e, norm al hom e posit ion r etur n is o perat ed. Directi on of "work home posi tion&[...]

  • Page 414

    7 - 41 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Dwell tim e setti ng at t he h om e posit ion r eturn r etr y Revers e oper atio n by d etect ion of the ex terna l upper /low er lim it sw itch a nd dwe ll time f unct ion at t he h ome p ositi on ret urn star t after sto p b y proxim it y dog OFF are possib le with the d well tim e at the hom e posi[...]

  • Page 415

    7 - 42 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) Make a s ystem for which does n ot exec ute t he serv o am plif ier po wer of f or ser vo OFF b y the ex tern al upp er/lo wer lim it s witch. H ome pos itio n retur n retr y ca nnot be execu ted on ly in th e state of s ervo O N. (3) Deceler ation is m ade b y detec tion of the extern al lim it sw it[...]

  • Page 416

    7 - 43 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.14 Home position shi ft function Norm ally, when the m achine h ome pos itio n retur n is exec uted, a posi tion of hom e posit ion is set by usi ng t he pr oxim ity dog or ze ro po int s ignal . Ho wever, b y usi ng the home pos it ion shif t fu nctio n, th e pos ition t o wh ich on ly th e spec ifie[...]

  • Page 417

    7 - 44 7 AUXILIA RY AND A PPLIED FUNCT IONS [Control detail s] (1) H ome posit ion s hift op erat ion Oper ation fo r the ho me positio n shi ft functi on is show n below . Home position shift amount is positive value Home position return direction Home position return speed Creep speed Home position return start Proximity dog Travel value after pr[...]

  • Page 418

    7 - 45 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) Settin g rang e of hom e p osition s hif t am ount Set t he hom e pos itio n shif t am ount with in t he ran ge of f rom the det ected zero signa l to exter nal upper/l ower l imit s witch ( FLS/RL S). If the r ange of exter nal upper/ lower lim it switch is e xceed ed, a m ajor error "ext ernal [...]

  • Page 419

    7 - 46 7 AUXILIA RY AND A PPLIED FUNCT IONS (b) H ome pos it ion sh ift oper atio n wit h the "cree p sp eed" V Home posit ion return direction Creep speed Home posit ion retu rn s tart Home position Hom e p ositi on Proximity dog Zero point Home position shif t am ount is po sit ive Home position shif t am ount is ne ga tiv e Fig. 7.20 O[...]

  • Page 420

    7 - 47 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3.15 Condition sel ection of home positi on set A hom e posit ion r eturn m ust be m ade after the s ervom otor h as bee n rot ated m ore th an one re volut ion to pass th e a xis thr ough t he Z-p hase ( motor ref erence p osit ion sign al) and t he zero pass sign al (M 2406+2 0n) h as bee n tur ned O [...]

  • Page 421

    7 - 48 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.3 .1 6 Ex ecution o f home position r eturn The hom e positio n return is exec uted usin g the CHG A instru ction. [Control detail s] (1) Home p ositi on ret urn is exec uted b y the hom e posit ion re turn m ethod s pec ifie d with the hom e pos ition r etur n data ( Refer to Sec tion 7.3. 1). Refe r t[...]

  • Page 422

    7 - 49 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.4 Speed Chang e (CHGV instr uction) The s peed c hange is ex ecut ed at the pos itio ning c ontro l or JO G oper atio n. S(P ).CHGV instru ction of PL C program or CHGV i nstruction of Mot ion program is used for the speed change. [Control detail s] (1) A spe ed of o perat ing axis is f orcibl y cha nge[...]

  • Page 423

    7 - 50 7 AUXILIA RY AND A PPLIED FUNCT IONS Command S peed after Execution of Spee d Chang e No. Travel mode at spee d change (N ote-1) Tr avel mode after speed chan ge (Note-1) Command spe ed at ex ecution of tra vel instruction after speed change 1 PTP/OSC (Note-2) 2 PTP (N ote-2) Constant spee d (Note-3) Program command spee d (Note- 6) 3 PTP/OS[...]

  • Page 424

    7 - 51 7 AUXILIA RY AND A PPLIED FUNCT IONS [Data setting] (1) The set ting rang es to speed ch ange r egiste rs are shown below. mm inc h degree Unit s Item Set ting range Units S etting range Uni ts Setti ng range Units (Note) Speed change val ue 0 to 600000000 10 -2 mm/min 0 to 600000000 10 -3 inch/min 0 to 2147483.647 10 -3 degree/m in (Note) :[...]

  • Page 425

    7 - 52 7 AUXILIA RY AND A PPLIED FUNCT IONS (1) If a sp eed c hange is ex ecuted , the s etting spe ed is ignor ed i n the f ollowi ng cas es. (An erro r will not occur. ) (a) Dur ing m otion program exec ution (b) During dec elerat ion b y the stop comm and (c) D uring a stop (d) Dur ing m anual puls e gen erator oper ation [Operation Timing ] The[...]

  • Page 426

    7 - 53 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.5 JOG Operation The s etting JO G o perat ion i s execu ted. Indiv idual st art or s im ultaneous start c an b e used in th e JO G operat ion. JOG op erati on can be ex ecute d using the P LC pro gram , contro l pro gram or test mode of per ipher al de vice. (Refer to the help of eac h sof tware for JO [...]

  • Page 427

    7 - 54 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.5.2 Indivi dual start JOG op erati on for the s pecif ied axes is star ted. JOG op erati on is exec uted b y the fo llowi ng JOG oper atio n com mands : • For ward JOG start c omm and...... ..... M3 202+2 0n • Revers e JOG start c omm and...... ..... M3 203+2 0n [Control detail s] (1) JO G op erati [...]

  • Page 428

    7 - 55 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) The se tting r ange for JOG speed sett ing regi sters are shown below . Setting ran ge JOG ope rat ion JOG speed sett ing reg ister mm inch de gree No. (Note) Forwa rd JOG Rev erse JOG Mo st sign ifican t Setti ng rang e Setting range Units Setting range Units Setting range Units 1 M3202 M32 03 D641 D[...]

  • Page 429

    7 - 56 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) If the f orward J OG s tart c omm and (M32 02+20 n) and r evers e JOG s tart c omm and (M320 3+20n) turn on s imult aneo usly for a s ingle axis, the for ward JOG o perat ion is ex ecuted . W hen a dece lerat ion st op is made b y the f orwar d JOG start c omm and OFF, the revers e JOG oper[...]

  • Page 430

    7 - 57 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) JO G op eration b y the JO G opera tion comm and (M 3202 +20n/M 3203 +20n) is not execu ted dur ing t he tes t mode using a peri phera l devic es. After r eleas e of t est m ode, t he JOG oper atio n is ex ecut ed b y turnin g the J OG operat ion c omm and OFF to ON . During test mode (M9075) JOG oper[...]

  • Page 431

    7 - 58 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) Motio n pro gram (C ontro l program ) O0100 SET #M2042; All axes serv o ON command turns on. N10 IF[[ON #M 2415] AND [ON #M2435]] GOTO 20; W ait until ax is 1 and axis 2 serv o ON. GOTO 10; N20 #D640L = 100000; Tr ansfer the JOG operation speed to D 640L and D642L. #D642L = 100000; IF [[ON #X003] AND [...]

  • Page 432

    7 - 59 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.5.3 Simultaneous sta rt Sim ultane ous st art J OG o perat ion for spec ifie d m ultipl e axes . [Control detail s] (1) JO G op erati on co ntin ues a t the JO G sp eed se ttin g reg ister valu e for each axis while t he JO G oper atio n sim ultan eous st art com m and (M204 8) tur ns on , and a decel e[...]

  • Page 433

    7 - 60 7 AUXILIA RY AND A PPLIED FUNCT IONS (3) The se tting r ange for JOG speed sett ing regi sters are shown below . Settin g ran ge JOG ope rat ion JOG speed se tti ng regis ter m m inc h de gree No. (Note) Forw ard JOG Rev erse JOG Most si gnific ant S etting ra nge Setting range Units Setting range Units Setting range Units 1 M3202 M3203 D6 4[...]

  • Page 434

    7 - 61 7 AUXILIA RY AND A PPLIED FUNCT IONS [Progr am Example] Program f or sim ultaneous st art of JOG op erati ons are sho wn as the f ollowi ng condit ions. (1) System configur ation JOG operat ion for Ax is 1 a nd Ax is 2. JOG operation command (PX000) MM M M Motion CPU cont rol module Axis 4 Axis 1 Axis 2 Axis 3 AMP AMP AM P AMP Q61P Q02H CPU [...]

  • Page 435

    7 - 62 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.6 Manual Puls e Generator Oper ation Po sition ing cont rol based on the nu mber of pu lses in putted from th e manual pulse genera tor is exec uted. Simul tane ous op erati on for 1 to 3 axes is p ossibl e with one m anual puls e gener ator , the num ber of conn ectabl e m odules ar e sh own be low. Nu[...]

  • Page 436

    7 - 63 7 AUXILIA RY AND A PPLIED FUNCT IONS (b) O utput s peed The ou tput s peed is the posit ioning spee d corr esp ondin g to the num ber of pulses input fr om a manua l pulse ge nerat or in uni t tim e. [Output sp eed] = [Nu mber of input pulses per 1 ms] [Manual pul se generator 1-pulse input magnification setting] (3) Settin g of the axis ope[...]

  • Page 437

    7 - 64 7 AUXILIA RY AND A PPLIED FUNCT IONS (5) T he set ting manua l pul se gen erator 1-p ulse input magnif icat ion chec ks the "1- pulse input m agn ifica tion s etting regist ers of the m anu al puls e gen erator " of the applic able ax is at the tur ning m anual p ulse gen erator e nabl e flag turns off to on. If the valu e is o uts[...]

  • Page 438

    7 - 65 7 AUXILIA RY AND A PPLIED FUNCT IONS (7) Er rors det ails at the data setting for man ual pu lse gene rato r operat ion are sho wn below. Error details Error processing Axis set to manual pulse gen erator operation is specified. • Duplicated specified ax is is ignored. • First setting manual pul se generator operation is executed. Axis s[...]

  • Page 439

    7 - 66 7 AUXILIA RY AND A PPLIED FUNCT IONS (5) If the s ame m anual puls e gener ator enabl e flag t urns on ag ain f or axis dur ing smooth ing deceler ation after manua l pu lse gener ator enab le f lag turns off , an error [ 214] is se t and m anua l puls e gener ator inpu t is n ot en abled. Tur n the manual puls e gener ator enabl e flag on a[...]

  • Page 440

    7 - 67 7 AUXILIA RY AND A PPLIED FUNCT IONS [Progr am Example] Progr am ex ecutes manu al puls e gen erator oper ation is shown as the f ol lowing condit ions. (1) System configur ation Manual puls e ge nerator oper ation of Axis 1. Manual pul se generator enable flag (M2051 : P1, M2052 : P2) MM M M Motion CPU control module Axis 4 Axis 1 Axis 2 Ax[...]

  • Page 441

    7 - 68 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.7 Overri de Ratio Setting Function The s peed c hange c an b e execut ed b y sett ing the overr ide r atio to the c omm and speed of the Moti on progr am in this f uncti on. [Control detail s] (1) T he over ride r atio is set i n the ran ge of 0 to 1 00[%] i n 1[%] u nits to t he com mand speed in the M[...]

  • Page 442

    7 - 69 7 AUXILIA RY AND A PPLIED FUNCT IONS (2) W hen the spee d is c hang ed b y the o verride r atio sett ing f unction , accele ration /dece lerat ion proces sing is execute d accor ding to the " acce leration tim e" and "dec elerat ion tim e" in the param eter bloc k. (3) T he o verride r atio sett ing is va lid for Moti on [...]

  • Page 443

    7 - 70 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.8 FIN signal wait function By sel ecting t he FIN si gnal wai t funct ion and se tting a M-code at each exe cuting po int, a proc ess en d of each ex ecut ing p oint is sync hroni zed wit h the F IN si gnal, the FIN sign al tur ns ON to OFF an d then the ne xt po sitioni ng is exe cuted. Turn th e FIN s[...]

  • Page 444

    7 - 71 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) W hen the stop c omm and (ex terna l, M32 00+20 n, M32 01+20n) , ca ncel s ignal or sk ip signal is in put, the M- code ou tputti ng signa l turns OF F. (2) W hen M-code is se t at t he end poin t, pos ition ing en ds after the F IN sig nal has tur n OFF to ON to OFF. (3) T ransit ion of po[...]

  • Page 445

    7 - 72 7 AUXILIA RY AND A PPLIED FUNCT IONS (6) T he com mand in-pos iti on sig nal for FIN sign al wait f unction is outp ut as belo w. (a) W hen the aut om atic de celerat ion is star ted b y pos itio ning t o the ex ecut ed point ( inc luding the las t po int) d uring F IN si gnal wait. If the diff erence b etwee n the p ositi oning address (com[...]

  • Page 446

    7 - 73 7 AUXILIA RY AND A PPLIED FUNCT IONS POINTS (1) The f ixed acceleration/d eceleration ti me method is ac celeration/decelera tion processi ng that the time which accelera tion/deceleration takes is fix ed, even if the command dif fers. A cceleration/deceleration time is fixed V t (a) The f ollowing processing and para meters are invalid in t[...]

  • Page 447

    7 - 74 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.9 Single Bl ock Operation This funct ion is used to ex ecute the pro gram operat ion block -by-bloc k an d chec k th e operat ion of Mot ion pr ogram . The s ingle block is av ailab le in t wo modes : a m ode wher e a si ngle b lock is spec ifie d before a pro gram start, a nd a mode where a sin gle b l[...]

  • Page 448

    7 - 75 7 AUXILIA RY AND A PPLIED FUNCT IONS (b) S ingle block m ode (M4408) This signa l mak es a s ingl e bloc k va lid. (c) S ingle block start (M44 09) This single s tarts a pro gram in a s ingle block wait ing st atus. (2) How to ex ecute single block from a start W hen the sin gle b lock m ode si gnal (M 4408) turns ON, t he sing le bloc k pro[...]

  • Page 449

    7 - 76 7 AUXILIA RY AND A PPLIED FUNCT IONS (4) How to star t operation continuously during execution of single bl ock Turn th e sin gle bloc k m ode sig nal (M4 408) f rom ON to OF F. W hen the s ingle block start s igna l (M440 9) tu rns O FF to O N in this s tate, the si ngle b lock process ing s ignal ( M440 9) turns OFF and th e pro gram makes[...]

  • Page 450

    7 - 77 7 AUXILIA RY AND A PPLIED FUNCT IONS (6) How to execute single block dur ing continuous operation Turn th e sin gle bl ock m ode sig nal (M4 408) ON duri ng pr ogram operat ion. During move block exec utio n, the pr ogram is s topp ed after term inati on of th at block and exec utio n wa its fo r the si ngle b lock start si gnal ( M440 9) to[...]

  • Page 451

    7 - 78 7 AUXILIA RY AND A PPLIED FUNCT IONS [Cautions] (1) S ingle block m ode signal (M44 08) an d singl e bloc k c omm and (M440 3+10n) If the single block b y single block mode s igna l (M440 8) an d the s ingle block b y singl e block com mand ( M4403 +10n) are ex ecuted sim ultaneo usl y, the o perat ion by the s ing le bloc k com m and (M44 0[...]

  • Page 452

    7 - 79 7 AUXILIA RY AND A PPLIED FUNCT IONS 7.10 Control Pr ogram Stop Function from The PLC C PU The No . of co ntrol progr am dur ing ex ecu tion is spec ifie d to e nd a pr ogram fr om the PLC C PU. (T his fu nct ion is equi valen t to a Motion progr am (CLEAR) for posit ionin g control .) (1) T he co ntrol program se t as th e CLEA R requ est c[...]

  • Page 453

    7 - 80 7 AUXILIA RY AND A PPLIED FUNCT IONS MEM O[...]

  • Page 454

    8 - 1 8 USER FILES 8 8. USER FILES A user file list a nd d irector y st ructur e are s hown belo w 8.1 Projects User f iles ar e m anaged on a "proj ect" b asis. W hen you se t a "pr oject nam e", a " project nam e" fol der is creat ed as ind icated on the next p age, an d un der that, an e diting f older (tem p) are c[...]

  • Page 455

    8 - 2 8 USER FILES 8.2 User Fil e List A user file list is sho wn be low. Sfc (1) (2) (3) (7 ) ( 9) svgc ode.bin gsvp. cnf svsystemH.bin svlatch.bin svdata H.bin svls.b in motionp ara. bin svbac kup.bi n svbackup2.bin svdat ag.bin svbackup6.bin modevi ce.bi n temp (4 ) devset.inf (5) ( 6) (8 ) (Note -1) : Indicate s the file (data) st ored in CPU m[...]

  • Page 456

    APP - 1 A PPENDICES APP. APPENDICES APPENDIX 1 Error Co des Stored Usin g The Motio n CPU The M otion pr ogram setti ng er rors and posi tioni ng errors are detec ted in the Mo tion CPU side . (1) Motio n pro gram sett ing erro rs Thes e are pos itio ning d ata errors s et in the Motion prog ram, at it chec ks the param eter b lock No . and ax is N[...]

  • Page 457

    APP - 2 A PPENDICES Table 1.1 Error code storage regi sters, error detection signal s Error code storage regist er Devi ce Error clas s Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8 Axis 9 Axis 10 Axis 11 Axis 12 Axis 13 Axis 14 Axis 15 Axis 16 Error detection signal Min or err or D6 D26 D46 D66 D86 D106 D 126 D146 D166 D186 D206 D226 D24[...]

  • Page 458

    APP - 3 A PPENDICES APPENDIX 1.1 Mo tion pr ogram s etting err ors (Stor ed in D9190) The err or cod es, er ror con tents and cor recti ve acti ons f or Motion progr am setting errors are s hown in T able 1. 2. Table 1.2 Moti on program setti ng error list Error code stored in D9190 Error nam e Error cont ents E rror proces sing Correct ive action [...]

  • Page 459

    APP - 4 A PPENDICES APPENDIX 1.2 Minor error s Thes e errors are detect ed in t he PLC program or Motio n progr am , and the error codes of 1 to 999 are us ed. Minor errors incl ude the sett ing dat a err ors, s tarti ng erro rs, pos ition ing co ntrol errors , speed c hang e/torq ue con tro l val ue cha nge er rors and M otion pr ogr am ex ecutio [...]

  • Page 460

    APP - 5 A PPENDICES Table 1.3 Setting data err or (1 to 99) li st (Continued) Error code Erroneous data Chec k timing Error cause Error processing Corrective act ion 40 Para meter block Interpolat ion control start The interpolation control unit of the parameter block is diff erent from the control unit of the fixed parameters. Control with the con[...]

  • Page 461

    APP - 6 A PPENDICES (2) Positi oning control start err ors (100 to 199) Thes e errors are detect ed at the pos itio ning c ontr ol start . The err or cod es, c auses , pr ocessi ng, and correc tive ac tio ns ar e sho wn in T able 1.4 be low. Table 1.4 Positioni ng control start er ror (100 to 199) li st Control m ode Error code Control progra m Axi[...]

  • Page 462

    APP - 7 A PPENDICES Table 1.4 Pos itioning control star t error (100 to 199) li st (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 109 The address that does not generate an arc is set at the central po[...]

  • Page 463

    APP - 8 A PPENDICES Table 1.4 Pos itioning control star t error (100 to 199) li st (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 140 The travel value of the referenc e a xis is set at "0" i[...]

  • Page 464

    APP - 9 A PPENDICES (3) Positi oning control error s (200 to 299) Thes e are errors detect ed duri ng the pos itioni ng contr ol. The err or cod es, c auses , proc essing and c orrect ive act ions are s hown i n Tab le 1.5 be low. Table 1.5 Positi oning control err or (200 to 299) l ist Control m ode Error code Control progra m Axis designation p r[...]

  • Page 465

    APP - 10 A PPENDICES Table 1.5 Pos itioning control e rror (200 to 299) li st (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on • Return to a point before t he proximity dog signal ON using JOG operati[...]

  • Page 466

    APP - 11 A PPENDICES Table 1.5 Pos itioning control e rror (200 to 299) li st (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 214 The manual pulse generator w as enabled during the start of t he a ppl [...]

  • Page 467

    APP - 12 A PPENDICES (4) Speed chang e/torque li mit value change error s (300 to 399) Thes e are er rors detect ed a t spee d chan ge or torqu e lim it valu e cha nge. The err or cod es, c auses , proc essing and c orrect ive act ions are s hown i n Tab le 1.6 be low. Table 1.6 Speed chang e/torque l imit value chang e error (300 to 399) l ist Con[...]

  • Page 468

    APP - 13 A PPENDICES (5) Moti on program runni ng errors ( 500 to 699) Thes e errors are detect ed dur ing M otion pr ogram exec ution. Check the ex ecute Motio n program No., execu te seq uence No. and exec ute block No., a nd corr ect the Mot ion progr am . Table 1.7 l ists t he proc essi ngs a nd corr ective acti ons for Moti on progr am runnin [...]

  • Page 469

    APP - 14 A PPENDICES Table 1.7 Moti on program r unning err or (500 to 699) lis t (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 534 [ , ] exceeded 5 level s. • Correct the Motion program . 535 The [...]

  • Page 470

    APP - 15 A PPENDICES Table 1.7 Moti on program r unning err or (500 to 699) lis t (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 584 Cancel start (G24) program No. error • Corr ect the Moti on progr[...]

  • Page 471

    APP - 16 A PPENDICES Table 1.7 Moti on program r unning err or (500 to 699) lis t (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 616 The sequence No. started by CA LL, GOSUB/GOS UBE is outside t he ra[...]

  • Page 472

    APP - 17 A PPENDICES Table 1.7 Moti on program r unning err or (500 to 699) lis t (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 650 Writ e device data to shared CPU memory (MULTW ) execution error ?[...]

  • Page 473

    APP - 18 A PPENDICES Table 1.7 Moti on program r unning err or (500 to 699) lis t (Continued) Control m ode Error code Control progra m Axis designation prog ram (positioning) JOG Manual pulse gene rator Home position return OSC Error caus e E rror processing Correc tive acti on 652 Write devi ce data to i ntelligent f unction module/ special func [...]

  • Page 474

    APP - 19 A PPENDICES (6) System er rors (900 to 999) Table 1.8 Sy stem error (900 to 999) list Control m ode Error code Control progra m Axis designation prog ram ( positioning) JOG Manual pulse gene rator Home position return OSC Error caus e Error processing Correc tive acti on 901 • The motor travel value while the power is off exceeded the &q[...]

  • Page 475

    APP - 20 A PPENDICES APPENDIX 1.3 Major errors These er rors occur by con trol c omm and from the ex ternal input s igna l or Mo tion program , an d the er ror co des 10 00 to 1999 are use d. Major errors inclu de the positioning control start erro rs, position ing control errors absolute position system errors and system errors . (1) Positi oning [...]

  • Page 476

    APP - 21 A PPENDICES (2) Positi oning control error s (1100 to 1199) Thes e errors are detect ed at the pos itio ning c ontr ol. The err or cod es, c auses , proc essing and c orrect ive act ions are s hown i n Tab le 1.10. Table 1.10 Positi oning control er ror (1100 to 1199) list Control m ode Error code Control progra m Axis designation program [...]

  • Page 477

    APP - 22 A PPENDICES (3) Absolute position syst em errors (1200 to 1299) Thes e errors ar e detect ed at the abs olute pos itio ning s ystem . The err or cod es, c auses , proc essing and c orrect ive act ions are s hown i n Tab le 1.11. Table 1.11 Absolute position sy stem error ( 1200 to 1299) list Control m ode Error code Control progra m Axis d[...]

  • Page 478

    APP - 23 A PPENDICES (4) System er rors (1300 to 1399) These er rors are detect ed at th e power -on. The err or cod es, c auses , proc essing and c orrect ive act ions are s hown i n Tab le 1.12. Table 1.12 Sy stem error ( 1300 to 1399) list Control m ode Error code Control progra m Axis designation p rogram (positioning) JOG Manual pulse gene rat[...]

  • Page 479

    APP - 24 A PPENDICES APPENDIX 1.4 Servo e rrors (1) Serv o amplifier er rors (2000 to 2899) Thes e error s are detect ed b y the ser vo am plif ier, a nd t he err or codes are [2000] to [289 9]. The s ervo er ror d etecti on si gnal (M 2408 +20n) turns on at the s ervo am pl ifier error occurr ence. Elim inat e the error c aus e, reset the s ervo a[...]

  • Page 480

    APP - 25 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st Error caus e Error code Nam e Descripti on Error check Error processing Correc tive acti on • Power supply voltage is low. MR-J 3-  B: 160VAC o r less MR-J 3-  B1: 83ACV or less • There was an inst antaneous control power failu re of 60[m s] or longer. • Shortage of po we[...]

  • Page 481

    APP - 26 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Nam e Descripti on Error check Error processing Correc tive acti on • Encoder c onnector (CN2) di sconn ected. • Connect c orrectl y. • Encoder f ault • Re pl ac e the s ervomotor. • Encoder c able faulty (Wire break age or shorted) •[...]

  • Page 482

    APP - 27 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Nam e Descripti on Error check Error processing Correc tive acti on • W rong s etting of s ystem s etting (regenerat ive brake) • Check t he regenerative br ake of system setting and set correctly. • Built -in regenerativ e brake resis tor [...]

  • Page 483

    APP - 28 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Nam e Descripti on Error check Error processing Correc tive acti on • Short oc curred in servom otor po wer (U, V, W). • Correct the wiring. • Transist or (IPM) of t he servo ampl ifier faulty . [Checki ng method] Servo error [ 2032] occ ur[...]

  • Page 484

    APP - 29 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Nam e Descripti on Error check Error processing Correc tive acti on • Servo am plifier fa il ure • Replace t he servo ampl ifier. • The power suppl y was turned on and of f continuous ly by overlo aded status . • The drive m ethod is revi[...]

  • Page 485

    APP - 30 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Nam e Descripti on Error check E rror processing Correc tive acti on • Machine st ruck s omething. • Review operat ion pattern. • Install li mit switches. • W rong c onnection of servom otor. (Servo ampli fier's out put termi nals U,[...]

  • Page 486

    APP - 31 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Descr ipt ion Error check Error processing Correc tive acti on • Bttery c able for absol ute posit ion detecti on system is open. • Repair the c able or replace t he batter y. 2102 (AL.92) Open battery cable warnin g • Voltage of batte[...]

  • Page 487

    APP - 32 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Descr ipt ion Error check Error processing Correc tive acti on 2153 (AL.ED) Outpu t wa tt exce ss w arnin g • Continuo us operation was perform ed with the output wattage (s peed torque) of the s ervomot or exceedin g 150[%] of the rated o[...]

  • Page 488

    APP - 33 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check E rror processing Correcti ve action Param eter error • The servo paramet er value is outside the setting range. (Any unauthori zed parameter is ignored and the value before sett ing is held.) Error code Param eter[...]

  • Page 489

    APP - 34 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check Error processing Correcti ve action Error code Param eter No. Nam e 2336 PB 17 For manuf acturer set ting 2337 PB18 Low-pass filter 2338 PB19 Vibration s uppression c ontrol vibration f requency s etting 2339 PB20 Vi[...]

  • Page 490

    APP - 35 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check Error processing Correcti ve action Error code Param eter No. Nam e 2367 PC03 Encoder output pulses selecti on 2368 PC04 Function s election C-1 2369 PC05 Function s election C-2 2370 PC06 For manufac turer sett ing [...]

  • Page 491

    APP - 36 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check Error processing Correcti ve action Error code Param eter No. Nam e 2407 PD11 For manufact urer setting 2408 PD12 For manufact urer setting 2409 PD13 For m anufact urer setti ng 2410 PD14 Function selec tion D-3 2411[...]

  • Page 492

    APP - 37 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check E rror processing Correcti ve action Initi al paramet er error • The parameter setti ng is wrong. • The parameter dat a w as corrupted. Error code Param eter No. Name 2601 PA01 For manufac turer sett ing 2602 PA0[...]

  • Page 493

    APP - 38 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check Error processing Correcti ve action Error code Param eter No. Nam e 2636 PB 17 For manuf acturer set ting 2637 PB18 Low-pass filter 2638 PB19 Vibration s uppression c ontrol vibration f requency s etting 2639 PB20 Vi[...]

  • Page 494

    APP - 39 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Name Desc ription Error check Error processing Correcti ve action Error code Param eter No. Nam e 2667 PC03 Encoder output pulses selecti on 2668 PC04 Function s election C-1 2669 PC05 Function s election C-2 2670 PC06 For manufac turer sett ing [...]

  • Page 495

    APP - 40 A PPENDICES Table 1.13 Serv o error (2000 to 2899) li st (Con tin ued) Error caus e Error code Na me Descri ptio n Error check Error processing Correcti ve action Error code Param eter No. Nam e 2707 PD11 For m anufact urer setti ng 2708 PD12 For m anufact urer setti ng 2709 PD13 For m anufacturer s etting 2710 PD14 Func tion selec tion D-[...]

  • Page 496

    APP - 41 A PPENDICES APPENDIX 1.5 PC link communi cation errors Table 1.14 PC li nk communication error codes list Error codes stor ed in D9196 Error description Corrective action 01 • A receiving pa cket for PC lin k communic ation does not arrive. • The arrival tim ing of the receiving p acket is t oo late. • Check w hether the power of PC [...]

  • Page 497

    APP - 42 A PPENDICES APPENDIX 2 Motion dedic ated sign al APPENDIX 2.1 I nt er nal r elay (M) (1) Axis stat us list Axis No. Device No. Si gnal name 1 M 2400 to M241 9 2 M 2420 to M243 9 3 M 2440 to M245 9 Signal name Refresh c ycle Fetch cy cle Signal direction 4 M 2460 to M247 9 0 P ositioning s tart complet e 5 M 2480 to M249 9 1 P ositioning c [...]

  • Page 498

    APP - 43 A PPENDICES (2) Axis command signal list Axis No. Devic e No. Signal name 1 M3200 to M3219 2 M3220 to M3239 3 M3240 to M3259 Signal nam e Refresh cyc le Fetch c ycle Signal directi on 4 M32 60 to M 32 79 0 Stop c ommand 5 M32 80 to M 32 99 1 Rapid s top command Operation cyc le 6 M3300 to M3319 2 F orwa rd ro ta ti on JO G st ar t c omm an[...]

  • Page 499

    APP - 44 A PPENDICES (3) Axis status 2 l ist Axis No. Device No. Si gnal name 1 M 4000 to M400 9 2 M 4010 to M401 9 3 M 4020 to M402 9 Signal name Refresh c ycle Fetch cy cle Signal direction 4 M 4030 to M403 9 0 5 M 4040 to M404 9 1 Unus able — — — 6 M 4050 to M405 9 2 A utomatic start 7 M 4060 to M406 9 3 Tem porary stop Operation cycle Sta[...]

  • Page 500

    APP - 45 A PPENDICES (4) Axis command signal 2 list Axis No. Devic e No. Signal name 1 M4400 to M4409 2 M4410 to M4419 3 M4420 to M4429 Signal nam e Refresh cyc le Fetch c ycle Signal directi on 4 M44 30 to M 44 39 0 Temporary s top command 5 M4440 to M 44 49 1 Optional program stop command 6 M44 50 to M 44 59 2 Optional block skip command 7 M4460 [...]

  • Page 501

    APP - 46 A PPENDICES (5) Common dev ice list De vice No. Signal nam e Ref res h cycle Fetch cycle Signal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycl e F etch cycle Signal direct ion Remark (Note-4) M2054 Operati on cycle over fl ag Operat ion cycl e S tatus signal M2000 PLC ready f lag Main cycl e Command signal (Note-1) M3072[...]

  • Page 502

    APP - 47 A PPENDICES Common dev ice list ( Continued) De vice No. Signal nam e Ref res h cycle Fetch cycle Si gnal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycle F etch cycle Signal direct ion Remark (Note-4) M2119 M2180 M2120 M2181 M2121 M2182 M2122 M2183 M2123 M2184 M2124 M2185 M2125 M2186 M2126 M2187 M2127 Unusable (9 points)[...]

  • Page 503

    APP - 48 A PPENDICES Common dev ice list ( Continued) De vice No. Signal nam e Ref res h cycle Fetch cycle Signal direct ion Remark (Note-4) De vice No. Signal nam e Refres h cycle Fetc h cycle Si gnal direct ion Remark (Note-4) M2240 Axi s 1 M2280 M2241 Axi s 2 M2281 M2242 Axi s 3 M2282 M2243 Axi s 4 M2283 M2244 Axi s 5 M2284 M2245 Axi s 6 M2285 M[...]

  • Page 504

    APP - 49 A PPENDICES Expl anatio n of the reque st registe r No. Function Bit devic e Request regis ter 1 PLC ready f lag M2000 D704 2 Al l axes servo ON comm and M2042 D706 3 JOG operat ion sim ultaneous st art comm and M2048 D708 4 Manual pul se generat or 1 enable flag M2051 D755 5 Manual pul se generat or 2 enable flag M2052 D756 6 Manual pul s[...]

  • Page 505

    APP - 50 A PPENDICES (6) Special relay allocated dev ice list (Status) Device No. Si gnal name Refresh cyc le Fetch cyc le Si gnal direction Remark (Note) M2320 Fuse bl own detecti on M9000 M2321 AC/ DC DOW N detection M9005 M2322 Batt ery low M90 06 M2323 Bat tery lo w latch M9007 M2324 Self -diagnostic error M9008 M2325 Diagnost ic error Error oc[...]

  • Page 506

    APP - 51 A PPENDICES (7) Common dev ice list ( Command signal ) Device No. S ignal name Refresh c ycle Fetch c ycle S ignal direct ion Remark (Note-1) , (No te-2) M3072 PLC ready flag Ma in cy cle Comm and signal M2000 M3073 Unusable — — — — M3074 All axes servo ON com mand Operation cycle M2042 M3076 JOG operation s imult aneous start comm[...]

  • Page 507

    APP - 52 A PPENDICES APPENDIX 2.2 D at a r eg ister s (D) (1) Axis monitor device lis t Axis No. Devic e No. Signal name 1 D0 to D19 2 D20 to D39 3 D40 to D59 Signal name Refresh cycle Fetch cycle Uni t Signal directi on 4 D60 to D79 0 5 D80 to D99 1 Mach ine value 6 D100 t o D119 2 7 D120 t o D139 3 Real m achine value Comm and unit 8 D140 t o D15[...]

  • Page 508

    APP - 53 A PPENDICES (2) Contr ol change register lis t Axis No. Devi ce No. Signal name 1 D640, D641 2 D642, D643 3 D644, D645 Signal name Refresh c ycle Fetc h cycle Unit Signal directi on 4 D646, D647 0 5 D648, D649 1 JOG speed s etting At start Com mand unit Comm and device 6 D650, D651 7 D652, D653 8 D654, D655 9 D656, D657 10 D658, D659 11 D6[...]

  • Page 509

    APP - 54 A PPENDICES (3) Axis monitor device 2 lis t Axis No. Devic e No. Signal name 1 D800 to D819 2 D820 to D839 3 D840 to D859 Signal name Refresh cycl e Fetc h cycle Unit Signal directi on 4 D860 to D879 0 5 D880 to D899 1 Cur re nt v al ue Operat ion cycle Comm and unit 6 D900 to D919 7 D920 to D939 2 Execute s equence No. (main) 8 D940 to D9[...]

  • Page 510

    APP - 55 A PPENDICES (4) Contr ol program moni tor devi ce list Device No. Signal name D1440 to D1445 D1446 to D1451 D1452 to D1457 S ignal name Refresh cycle Fetch cycle Unit Signal directi on D1458 to D1463 0 P rogram No. D1464 to D1469 1 Sequence No. D1470 to D1475 2 Bloc k No. D1476 to D1481 D1482 to D1487 3 Error c ode (Minor error c ode) D148[...]

  • Page 511

    APP - 56 A PPENDICES (5) Contr ol change register 2 li st Axis No. Devi ce No. Signal name 1 D1536 to D1538 2 D1539 to D1541 3 D1542 to D1544 Si gnal name Ref resh cycl e Fetch cycle Unit Signal directi on 4 D1545 to D1547 5 D1548 to D1550 0 Overri de ratio set ting register (0 t o 100) Operation cyc le % C ommand device 6 D1551 to D1553 1 7 D1554 [...]

  • Page 512

    APP - 57 A PPENDICES (6) Tool leng th offset data setting r egister list (Hig her rank, lower rank) Dev ice N o. Signal name D1651, D1650 Tool length of fset dat a 1 D1653, D1652 Tool length of fset dat a 2 D1655, D1654 Tool length of fset dat a 3 D1657, D1656 Tool length of fset dat a 4 D1659, D1658 Tool length of fset dat a 5 D1661, D1660 Tool le[...]

  • Page 513

    APP - 58 A PPENDICES (7) Common dev ice list Device No. Signal name Refresh cycle Fetch cycle Signal direction Device No. Signal name Refresh cycle Fetch cycle Signal direction D704 PLC ready flag reques t D752 Manual pulse gener ator 1 smoothing m agni fication setting regi ster D705 Speed swi tching poi nt specifie d flag request D753 Manual puls[...]

  • Page 514

    APP - 59 A PPENDICES APPENDIX 2.3 M ot ion R eg is ter s ( #) Motion register s (#) Axis No. Devic e No. Si gnal name 1 #8064 to #8067 2 #8068 to #8071 3 #8072 to #8075 Signal nam e (Note-1) Signal descripti on Refresh c ycle Signal directi on 4 #8076 to #8079 5 #8080 to #8083 +0 Servo ampl ifier type 0 : Unused 256 : MR-J3-B W hen the servo ampl i[...]

  • Page 515

    APP - 60 A PPENDICES APPENDIX 2.4 Special Relays Speci al rela ys ar e int ernal r ela ys whose app licati ons ar e fixe d in the Mo tion C PU. F or this re ason, the y cannot be used in th e same wa y as the norm al intern al rela ys by the Motion pr ogram s. However, the y can be turned O N/OFF as neede d in or der t o contr ol the Motion CPU. Th[...]

  • Page 516

    APP - 61 A PPENDICES Specia l relay list No. Name Meaning Details Set by (W hen set ) Remark M9000 Fu se bl own detecti on OFF : Norm al ON : Fuse blo wn module detect ed • Tur n on when th ere is o ne or mor e outpu t module s cont rol of se lf CPU wh ich fuse has bee n blown . Rema ins on if normal status i s restor ed. • Turn on if a m oment[...]

  • Page 517

    APP - 62 A PPENDICES Special rel ay list (continued) No. Name Meaning Details Set by (W hen set ) Remark M9077 Manual pul se ge nerator axis setting e rror flag ON : At le ast on e D714 to D719 se tting is abnorm al. OFF : All D 714 to D719 settin gs a re no rmal. • This flag indi cates whether t he setti ng desi gnated a t the manual pulse gener[...]

  • Page 518

    APP - 63 A PPENDICES APPENDIX 2.5 Special Registers Speci al regis ters are i nterna l reg isters whose ap plic atio ns are f ixed in the Motio n CPU. For t his reas on, it is not p oss ible to use t hese r egis ters i n Mot ion SFC progr am s in t he sam e way that norm al re gist ers ar e used . However , dat a can be writte n as n eeded in ord e[...]

  • Page 519

    APP - 64 A PPENDICES Special regi ster list No. Name Meanin g Details Set by (W hen set ) Remark D900 0 Fus e bl o wn No . Module No. wit h blow n fuse • W hen fuse blow n mod ules a re det ected, the lo west I/O mo dule No. i s store d in D9 000. D900 5 AC/D C DO W N counte r No. Numbe r of time s for AC /DC D OW N • 1 is ad ded to the s tored[...]

  • Page 520

    APP - 65 A PPENDICES Special regi ster list (continued) No. Name Meaning Details Set by (W hen set ) Remark D902 6 Clock data Clock data (Day , hour) • Sto res t he da y and hour i n BC D. B15 B12 to B11 B8 to B7 B4 to B3 B0 to Day Hour Example : 31st, 10 a.m. H3110 D902 7 Clock data Clock data (Minut e, secon d) • Stor es the mi nute and se co[...]

  • Page 521

    APP - 66 A PPENDICES Special regi ster list (continued) No. Name Meanin g Details Set by (W hen set ) Remark D918 8 Motion operat ion cyc le Moti on opera tion cyc le • The time when t he mo tion oper ation c ycle is stored in t he [ µ s] uni t. S (Operati on cycle ) D918 9 Error pro gram No. Erro r progra m No. of serv o progra m W hen the serv[...]

  • Page 522

    APP - 67 A PPENDICES APPENDIX 3 Pr ocessing Times of the Motion CPU The proc ess ing tim e of each s igna l and e ach i nstruct ion f or pos ition ing c ontro l in th e Mult iple CP U s ys t em is s ho w n b el o w. (1) CPU pr ocessing time [ms] Q173HCPU Q172HCPU Operation cycle 0.88 1.77 3.55 7.11 0.88 1.77 WAIT ON/OFF 1.9 to 2.6 3.2 to 4.3 4.7 to[...]

  • Page 523

    WA RRA NTY Please confir m the fo llowing pr oduct w arranty details before usin g this product. 1. Gratis W arranty Term and Gratis W arra nty Range If any faults or defects ( hereinafter " Failure") fou nd to be the responsi bility of M itsubishi o ccurs during use of the product within the grati s warranty term, the product shall be r [...]

  • Page 524

    IB(NA)-0300115-A(0602)MEE P Q MOTION CONTROLLER Qseries (SV43) Programming Manual (Q173HCPU/Q172HCPU) MOTION CONTROLLERS Programming Manual MODEL MODEL CODE Q173H-P-SV43-E 1XB915 IB(NA)-0300115-A(0602)MEE When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permiss[...]