Download  Print this page

Mitsubishi Electric QD75MH1 User Manual

Type qd75mh positioning module
Hide thumbs
   
1
2
3
4
5
6
7
Table Of Contents
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
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834

Advertisement

Quick Links

Type QD75MH Positioning Module
User's Manual
(Details)
Mitsubishi Programmable
Logic Controller
QD75MH1
QD75MH2
QD75MH4

Advertisement

Table of Contents
loading

  Related Manuals for Mitsubishi Electric QD75MH1

  Summary of Contents for Mitsubishi Electric QD75MH1

  • Page 1 Type QD75MH Positioning Module User's Manual (Details) Mitsubishi Programmable QD75MH1 Logic Controller QD75MH2 QD75MH4...
  • Page 2: Safety Instructions

    SAFETY INSTRUCTIONS (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product. For the safety instructions of the programmable logic controller system, please read the CPU module User's Manual.
  • Page 3 [Design Instructions] CAUTION Do not bundle or adjacently lay the external input signal cable of the QD75MH or SSCNET cable with the main circuit or power wire. Separate these by 100mm (3.94in.) or more. Failure to observe this could lead to malfunctioning caused by noise. [Mounting Instructions] CAUTION Use the PLC within the general specifications environment given in the CPU module User's...
  • Page 4 [Wiring Instructions] CAUTION Check the layout of the terminals and then properly route the wires to the module. Solder connector for external input signal cable properly. Insufficient soldering may cause malfunction. Be careful not to let foreign matter such as sawdust or wire chips get inside the module. These may cause fires, failure or malfunction.
  • Page 5 [Wiring Instructions] CAUTION Make sure to lay SSCNET cable with greater radius than the minimum bend radius. (Refer to the Section 4.2.1 Precautions for SSCNET cable wiring.) Fix the optical cable at the closest part to the connector with bundle material in order to prevent SSCNET cable from putting its own weight on SSCNET connector.
  • Page 6 [Startup/Maintenance Instructions] DANGER Completely turn off the externally supplied power used in the system before clearing or tightening the screws. Not doing so may cause electric shocks. [Startup/Maintenance Instructions] CAUTION Never disassemble or modify the module. Failure to observe this could lead to trouble, malfunctioning, injuries or fires. Completely turn off the externally supplied power used in the system before installing or removing the module.
  • Page 7: Revisions

    This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 8: Table Of Contents

    INTRODUCTION Thank you for purchasing the Mitsubishi general-purpose programmable logic controller MELSEC-Q Series. Always read through this manual, and fully comprehend the functions and performance of the Q Series PLC before starting use to ensure correct usage of this product. CONTENTS SAFETY INSTRUCTIONS..........................A- 1 REVISIONS ..............................A- 6...
  • Page 9 3.2.3 QD75MH sub functions and common functions ................3- 8 3.2.4 Combination of QD75MH main functions and sub functions............3- 12 3.3 Specifications of input/output signals with PLC CPU ................3- 14 3.3.1 List of input/output signals with PLC CPU..................3- 14 3.3.2 Details of input signals (QD75MH PLC CPU)................
  • Page 10 5.2.7 Servo parameters (Basic setting) ....................5- 62 5.2.8 Servo parameters (Gain • filter setting)................... 5- 68 5.2.9 Servo parameters (Expansion setting) .................... 5- 80 5.2.10 Servo parameters (Input/Output setting) ..................5- 86 5.3 List of positioning data ..........................5- 90 5.4 List of block start data ..........................
  • Page 11 Section 2 Control Details and Setting 8. OPR Control 8- 1 to 8- 16 8.1 Outline of OPR control ..........................8- 2 8.1.1 Two types of OPR control ......................... 8- 2 8.2 Machine OPR ............................8- 5 8.2.1 Outline of the machine OPR operation..................... 8- 5 8.2.2 Machine OPR method........................
  • Page 12 9.2.20 NOP instruction ..........................9- 111 9.2.21 JUMP instruction .......................... 9- 112 9.2.22 LOOP............................9- 114 9.2.23 LEND ............................9- 115 10. High-Level Positioning Control 10- 1 to 10- 26 10.1 Outline of high-level positioning control ....................10- 2 10.1.1 Data required for high-level positioning control................10- 3 10.1.2 "Block start data"...
  • Page 13 12. Control Sub Functions 12- 1 to 12-106 12.1 Outline of sub functions ........................12- 2 12.1.1 Outline of sub functions ........................ 12- 2 12.2 Sub functions specifically for machine OPR ..................12- 4 12.2.1 OPR retry function......................... 12- 4 12.2.2 OP shift function ...........................
  • Page 14 14. Dedicated Instructions 14- 1 to 14- 18 14.1 List of dedicated instructions ....................... 14- 2 14.2 Interlock during dedicated instruction is executed ................14- 2 14.3 PSTRT1, PSTRT2, PSTRT3, PSTRT4....................14- 3 14.4 TEACH1, TEACH2, TEACH 3, TEACH 4 ................... 14- 7 14.5 PFWRT..............................
  • Page 15: About Manuals

    About Manuals The following manuals are also related to this product. In necessary, order them by quoting the details in the tables below. Related Manuals Manual Number Manual Name (Model Code) Type QD75MH Positioning Module User's Manual (Hardware) Describes the performance, specifications, Input interface, component names, and startup procedure of IB-0300099 the respective positioning modules: Type QD75MH (1XB909)
  • Page 16: Generic Terms And Abbreviations

    PLC CPU Generic term for PLC CPU on which QD75MH can be mounted. QD75MH Generic term for positioning module QD75MH1, QD75MH2 and QD75MH4. The module type is described to indicate a specific module. MR-J3-B Servo amplifier: Abbreviation for MR-J3- B. (...
  • Page 17 MEMO A - 16...
  • Page 18: Section 1 Product Specifications And Handling

    Section 1 Product Specifications and Handling Section 1 is configured for the following purposes (1) to (5). (1) To understand the outline of positioning control, and the QD75MH specifications and functions (2) To carry out actual work such as installation and wiring (3) To set parameters and data required for positioning control (4) To create a PLC program required for positioning control (5) To understand the memory configuration and data transmission process...
  • Page 19 MEMO...
  • Page 20 Chapter 1 Product Outline The purpose and outline of positioning control using QD75MH are explained in this chapter. Reading this chapter will help you understand what can be done using the positioning system and which procedure to use for a specific purpose. By understanding "What can be done", and "Which procedure to use"...
  • Page 21: Product Outline 1- 1 To

    1 PRODUCT OUTLINE MELSEC-Q 1.1 Positioning control 1.1.1 Features of QD75MH The features of the QD75MH are shown below. (1) Availability of one, two, and four axis modules (a) One, two and four axis positioning modules are available. They can be selected according to the PLC CPU type and the number of required control axes.
  • Page 22 1 PRODUCT OUTLINE MELSEC-Q (c) Continuous positioning control using multiple positioning data can be executed in accordance with the operation patterns the user assigned to the positioning data. (Refer to Section 5.3 and 9.1.2.) Continuous positioning control can be executed over multiple blocks, where each block consists of multiple positioning data.
  • Page 23 1 PRODUCT OUTLINE MELSEC-Q (6) Control can be realized with the mechanical system input The external inputs, such as external start, stop, and speed/position switching is used to perform the positioning control without using the PLC program. (7) Easy maintenance Each QD75MH positioning module incorporates the following improvements in maintainability: (a) Data such as the positioning data and parameters can be stored on a flash...
  • Page 24: Purpose And Applications Of Positioning Control

    1 PRODUCT OUTLINE MELSEC-Q 1.1.2 Purpose and applications of positioning control "Positioning" refers to moving a moving body, such as a workpiece or tool (hereinafter, generically called "workpiece") at a designated speed, and accurately stopping it at the target position. The main application examples are shown below. Punch press (X, Y feed positioning •...
  • Page 25 1 PRODUCT OUTLINE MELSEC-Q Lifter (Storage of Braun tubes onto aging rack) • During the aging process of Braun tubes, Unloader storage onto the rack is carried out by Loader/unloader positioning with the AC servo. • The up/down positioning of the lifter is carried B conveyor Aging rack out with the 1-axis servo, and the horizontal...
  • Page 26: Mechanism Of Positioning Control

    QD75MH by the SSCNET Motor Carries out the actual work according to commands from the servo. Workpiece (Note): For QD75MH1, 2 and 4, use SW2D5C-QD75P (Version 2.21X) or later of the GX Configurator. 1 - 7...
  • Page 27: Overview Of Positioning Control Functions

    1 PRODUCT OUTLINE MELSEC-Q 1.1.4 Overview of positioning control functions The outline of the "overview of positioning control" and "overview of individual positioning control and continuous positioning control", "overview of block positioning control" and "overview of acceleration/deceleration processing control" is shown below. ositioning control An overview of positioning using positioning data described below.
  • Page 28 1 PRODUCT OUTLINE MELSEC-Q (Note) (b) 2-axis linear interpolation control This controls interpolation along a linear locus from the start point address (current stop position) defined by two axes. [Control using the absolute system] 1) This performs linear interpolation using two axes from the start point address to the endpoint address.
  • Page 29 1 PRODUCT OUTLINE MELSEC-Q (Note) (2) Circular interpolation control There are two types of circular interpolation controls: circular interpolation with a specified sub point and circular interpolation with the specified center point. (a) Circular interpolation with a specified sub point Circular interpolation is performed using the specified endpoint address and sub point (passing point) address.
  • Page 30 1 PRODUCT OUTLINE MELSEC-Q (3) Fixed-feed control This performs positioning for the specified increment of travel. Positioning direction Operation timing [1-axis fixed-feed control] Stop position Reverse direction Forward direction Movement direction for Movement direction for a negative movement amount a positive movement amount Start [2-axis fixed-feed control] Forward...
  • Page 31 1 PRODUCT OUTLINE MELSEC-Q (5) Speed-position switching control This starts positioning under speed control, and switches to position control according to the input of the QD75MH speed-position switching signal and perform positioning for the specified increment of travel. Specified travel Speed control Position control increment...
  • Page 32 1 PRODUCT OUTLINE MELSEC-Q ndividual positioning control and continuous positioning control The QD75 performs positioning according to the user-set positioning data, which is a set of information comprised of the control method (position control, speed control, speed-position switching control), positioning address, operation pattern, and so on. Up to 600 of positioning data are assigned respectively to positioning data Nos.
  • Page 33 1 PRODUCT OUTLINE MELSEC-Q (2) Continuous positioning control (operation pattern = 01: positioning continues) The operation stops temporarily upon the completion of positioning for the specified positioning data, and then continues with the next positioning data number. This is specified when performing positioning in which the direction changes because of multiple positioning data items having consecutive positioning data numbers.
  • Page 34 1 PRODUCT OUTLINE MELSEC-Q (3) Continuous path control (operation pattern = 11: positioning continue) After executing positioning using the specified positioning data, the operation changes its speed to that of the next positioning data number and continues positioning. This is specified when continuously executing multiple positioning data items having consecutive positioning data numbers at a specified speed.
  • Page 35 1 PRODUCT OUTLINE MELSEC-Q lock positioning control Block positioning is a control that continuously executes the positioning of specified blocks. One block equivalent to a series of positioning data up to the completion of positioning (operation pattern = 00) by Independent or continuous positioning control. A maximum of 50 blocks per axis can be specified.
  • Page 36 1 PRODUCT OUTLINE MELSEC-Q Overview of acceleration/deceleration processing control Acceleration/deceleration processing for the positioning processing, manual pulse- generator processing, OPR processing and JOG processing is performed using the user-specified method, acceleration time and deceleration time. (1) Acceleration/deceleration method There are two types of acceleration and deceleration processing: the automatic trapezoidal acceleration/deceleration processing method and S-pattern acceleration/deceleration processing method.
  • Page 37: Outline Design Of Positioning System

    1 PRODUCT OUTLINE MELSEC-Q 1.1.5 Outline design of positioning system The outline of the positioning system operation and design, using the QD75MH, is shown below. (1) Positioning system using QD75MH Servo QD75MH MR-J3-B motor Positioning command Positioning Current Speed Inverter control control control...
  • Page 38: Communicating Signals Between Qd75Mh And Each Module

    1 PRODUCT OUTLINE MELSEC-Q 1.1.6 Communicating signals between QD75MH and each module The outline of the signal communication between the QD75MH (positioning module) and PLC CPU, peripheral device and servo amplifier, etc., is shown below. (A peripheral device communicates with the QD75MH via the PLC CPU to which it is connected) QD75MH PLC CPU...
  • Page 39 1 PRODUCT OUTLINE MELSEC-Q QD75MH PLC CPU The QD75MH and PLC CPU communicate the following data via the base unit. Direction QD75MH PLC CPU PLC CPU QD75MH Communication Signal indicating QD75MH state Signal related to commands • QD75 READY signal •...
  • Page 40 1 PRODUCT OUTLINE MELSEC-Q QD75MH Manual pulse generator The QD75MH and manual pulse generator communicate the following data via the external device connection connector. (The manual pulse generator should be connected to an external device connection connector for axis 1 or for axes 1 and 2.) Direction QD75MH Manual pulse generator...
  • Page 41: Flow Of System Operation

    1 PRODUCT OUTLINE MELSEC-Q 1.2 Flow of system operation 1.2.1 Flow of all processes The positioning control processes, using the QD75MH, are shown below. GX Configurator-QP QD75MH Servo, etc. PLC CPU GX Developer Understand the functions and performance, and determine the positioning operation method Design (system design) Installation, wiring...
  • Page 42 1 PRODUCT OUTLINE MELSEC-Q The following work is carried out with the processes shown on the previous page. Details Reference • Chapter 1 • Understand the product functions and usage methods, the configuration devices Chapter 2 • and specifications required for positioning control, and design the system. Chapter 3 •...
  • Page 43: Outline Of Starting

    1 PRODUCT OUTLINE MELSEC-Q 1.2.2 Outline of starting The outline for starting each control is shown with the following flowchart. It is assumed that each module is installed, and the required system configuration, etc., has been prepared. Flow of starting Installation and connection of module Preparation Setting of hardware...
  • Page 44 1 PRODUCT OUTLINE MELSEC-Q Setting method : Indicates the PLC program that must be created. <GX Configurator-QP> Write Set with GX Configurator-QP Set the parameter and data for executing main function, and the sub functions that need to be set beforehand. QD75MH <GX Developer>...
  • Page 45: Outline Of Stopping

    1 PRODUCT OUTLINE MELSEC-Q 1.2.3 Outline of stopping Each control is stopped in the following cases. (1) When each control is completed normally. (2) When the Servo READY signal is turned OFF. (3) When a PLC CPU error occurs. (4) When the PLC READY signal is turned OFF. (5) When an error occurs in the QD75MH.
  • Page 46 1 PRODUCT OUTLINE MELSEC-Q Axis Stop process operation OPR control Manual control M code status Stop Major High-level Manual Stop cause ON signal after Machine Fast JOG/ axis positioning positioning pulse after stop stopping Inching control control generator control control operation Md.26 operation...
  • Page 47: Outline For Restarting

    1 PRODUCT OUTLINE MELSEC-Q 1.2.4 Outline for restarting When a stop cause has occurred during operation with position control causing the axis to stop, positioning to the end point of the positioning data can be restarted from Cd.6 the stopped position by using the " Restart command".
  • Page 48 Chapter 2 System Configuration In this chapter, the general image of the system configuration of the positioning control using QD75MH, the configuration devices, applicable CPU and the precautions of configuring the system are explained. Prepare the required configuration devices to match the positioning control system. 2.1 General image of system .....................2- 2 2.2 Component list......................2- 4 2.3 Applicable system......................2- 6...
  • Page 49: General Image Of System

    2 SYSTEM CONFIGURATION MELSEC-Q 2.1 General image of system The general image of the system, including the QD75MH, PLC CPU and peripheral devices is shown below. (The Nos. in the illustration refer to the "No." in Section 2.2 "Component list". Main base unit Extension cable...
  • Page 50 2 SYSTEM CONFIGURATION MELSEC-Q Servo Motor amplifer Extenal connector of servo amplifer Upper/lower stroke limit switch Near-point dog signal Manual pulse generator SSCNET cable Machine system inputs (switches) Cable Forced stop input signal Upper/lower stroke limit switch External-command signal/switching signal Stop signal Peripheral device Near-point dog signal...
  • Page 51: Component List

    For details, refer to GX Configurator-QP Operating Manual. Servo amplifier – (Prepared by user) (Prepared by user) Manual pulse – generator Recommended: MR-HDP01 (Mitsubishi Electric) SSCNET cable (Prepared by user) (For connecting – between the Cables are needed to connect the QD75MH with the servo amplifier.
  • Page 52 2 SYSTEM CONFIGURATION MELSEC-Q Part name Type Remarks • Connection between QD75MH and MR-J3- B. • Connection between MR-J3- B and MR-J3- B. MR-J3BUS M • Standard code for inside panel. • 0.15m(0.49ft.), 0.3m(0.98ft.), 0.5m(1.64ft.), 1m(3.28ft.), 3m(9.84ft.) • Connection between QD75MH and MR-J3- B. •...
  • Page 53: Applicable System

    2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Applicable system The QD75MH can be used in the following system. (1) Applicable modules and the number of installable modules The following table indicates the CPU modules and network modules (for remote I/O station) usable with the QD75MH and the number of installable modules. Applicable modules Number of installable modules Remarks...
  • Page 54 2 SYSTEM CONFIGURATION MELSEC-Q (4) Supported software packages The following table lists the compatibility between the systems using the QD75MH and the software packages. GX Developer is required for use of the QD75MH. Software version GX Developer GX Configurator-QP Single PLC Version 7 or later system Q00J/Q00/Q01CPU...
  • Page 55: How To Check The Function Version And Serial No

    2 SYSTEM CONFIGURATION MELSEC-Q 2.4 How to check the function version and SERIAL No. The function version and the SERIAL No. of the QD75MH can be checked in the following methods. [1] Method using the rated plate on the module side face [2] Method using the software [1] Method using the rated plate on the module side face Check the alphabet of "SERIAL".
  • Page 56 Chapter 3 Specifications and Functions The various specifications of the QD75MH are explained in this chapter. The "General specifications", "Performance specifications", "List of functions", "Specifications of input/output signals with PLC CPU", and the "Specifications of input/output interfaces with external devices", etc., are described as information required when designing the positioning system.
  • Page 57: Performance Specifications

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.1 Performance specifications Model QD75MH1 QD75MH2 QD75MH4 Item No. of control axes 1 axis 2 axes 4 axes 2-, 3-, or 4-axis linear 2-axis linear interpolation Interpolation function None interpolation 2-axis circular interpolation 2-axis circular interpolation...
  • Page 58 MR-J3BUS M: The cable length is 3m(0.98ft.) max. / SSCNET cable over all length MR-J3BUS M-A: The cable length is 20m(65.62ft.) max. / MR-J3BUS M-B: The cable length is 50m(164.04ft.) max. Internal current consumption QD75MH1 : 0.60A QD75MH2 : 0.60A QD75MH4 : 0.60A...
  • Page 59: List Of Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2 List of functions 3.2.1 QD75MH control functions The QD75MH has several functions. In this manual, the QD75MH functions are categorized and explained as follows. Main functions (1) OPR control "OPR control" is a function that established the start point for carrying out positioning control, and carries out positioning toward that start point.
  • Page 60 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Main functions Sub functions OPR control Control registered in QD75MH (Functions characteristic to machine OPR) [Positioning start No.] retry function [9001] Machine OPR OP shift function [9002] Fast OPR <Functions that compensate control> Backlash compensation function Electronic gear function Major positioning control Control using "Positioning data"...
  • Page 61: Qd75Mh Main Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.2 QD75MH main functions The outline of the main functions for positioning control with the QD75MH is described below. (Refer to "Section 2" for details on each function.) Reference Main functions Details section Mechanically establishes the positioning start point using Machine OPR control a near-point dog or stopper.
  • Page 62 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Reference Main functions Details section With one start, executes the positioning data in a random block Block start (Normal start) 10.3.2 with the set order. Carries out condition judgment set in the "condition data" for the designated positioning data, and then executes the "block start data".
  • Page 63: Qd75Mh Sub Functions And Common Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.3 QD75MH sub functions and common functions Sub functions The functions that assist positioning control using the QD75MH are described below. (Refer to Section 2 for details on each function. Reference Sub function Details section This function retries the machine OPR with the upper/lower limit switches during OPR.
  • Page 64 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Reference Sub function Details section This function temporarily stops the operation to confirm the positioning operation during debugging, etc. Step function 12.7.1 The operation can be stopped at each "automatic deceleration" or "positioning data". This function stops (decelerates to a stop) the positioning being Skip function executed when the skip signal is input, and carries out the next 12.7.2...
  • Page 65 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Common functions The outline of the functions executed as necessary are described below. (Refer to Section 2 for details on each function.) Reference Common functions Details section This function returns the "parameters" stored in the QD75MH buffer memory and flash ROM to the default values.
  • Page 66 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q MEMO 3 - 11...
  • Page 67: Combination Of Qd75Mh Main Functions And Sub Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.4 Combination of QD75MH main functions and sub functions With positioning control using the QD75MH, the main functions and sub functions can be combined and used as necessary. A list of the main function and sub function combinations is given below.
  • Page 68 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Functions that Functions that change Functions that limit control Other functions compensate control control details REMARK • The "common functions" are functions executed as necessary. (These are not combined with the control.) • "High-level positioning control" is a control used in combination with the "major positioning control".
  • Page 69: Specifications Of Input/Output Signals With Plc Cpu

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3 Specifications of input/output signals with PLC CPU 3.3.1 List of input/output signals with PLC CPU The QD75MH uses 32 input points and 32 output points for exchanging data with the PLC CPU. The input/output signals when the QD75MH is mounted in slot No. 0 of the main base unit are shown below.
  • Page 70: Details Of Input Signals (Qd75Mh Plc Cpu)

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3.2 Details of input signals (QD75MH PLC CPU) The ON/OFF timing and conditions of the input signals are shown below. Device Signal name Details QD75 READY ON: READY • When the PLC READY signal [Y0] turns from OFF to ON, the parameter setting OFF: Not READY/ range is checked.
  • Page 71 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Important 1 : The BUSY signal turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not to be detected in the PLC program. 2 : "Positioning complete"...
  • Page 72: Qd75Mh)

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3.3 Detail of output signals (PLC CPU QD75MH) The ON/OFF timing and conditions of the output signals are shown below. Device No. Signal name Details PLC READY OFF: (a) This signal notifies the QD75MH that the PLC CPU is normal. PLC READY OFF •...
  • Page 73: Specifications Of Interfaces With External Devices

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4 Specifications of interfaces with external devices 3.4.1 Electrical specifications of input signals Input specifications Rated input Working Input Response Signal name voltage/current voltage range voltage/current voltage/current resistance time Forced stop input signal (EMI) Upper limit signal 19.2 to 17.5VDC or more/ 7VDC or less/...
  • Page 74: Signal Layout For External Device Connection Connector

    3.4.2 Signal layout for external device connection connector The specifications of the connector section, which is the input/output interface for the QD75MH and external device, are shown below. The signal layout for the QD75MH external device connection connector is shown. QD75MH1 QD75MH2 QD75MH4 QD75MH4...
  • Page 75: List Of Input Signal Details

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.3 List of input signal details The details of each QD75MH external device connection connector are shown below: Pin No. Signal details Signal name (Negative logic is selected by external input signal logic selection) AX1 AX2 AX3 AX4 •...
  • Page 76: Interface Internal Circuit

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.4 Interface internal circuit The outline diagrams of the internal circuits for the QD75MH1 external device connection interface are shown below. (1) Input Need for wiring External wiring Pin No. Internal circuit Signal name When Upper-limit...
  • Page 77: External Circuit Design

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.5 External circuit design Configure up the power supply circuit and main circuit which turn off the power supply after detection alarm occurrence and servo forced stop. When designing the main circuit of the power supply, make sure to use a no fuse breaker (NFB).
  • Page 78 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (1) Example when using the forced stop of the QD75MH Alarm Forced stop Operation ready Servo amplifer Servomotor MR-J3-B 3-phase 200VAC to 230VAC Ground Electromagnetic breake DICOM SSCNET CN1A CN1B DOCOM 24VDC Servo amplifer Servomotor MR-J3-B Ground Electromagnetic...
  • Page 79 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (2) Example when using the forced stop of the QD75MH and MR-J3-B Alarm Forced stop Operation ready Servo amplifer Servomotor MR-J3-B 3-phase 200VAC to 230VAC Ground Electromagnetic breake DICOM SSCNET CN1A CN1B DOCOM 24VDC Servo amplifer Servomotor MR-J3-B Ground...
  • Page 80 Chapter 4 Installation, Wiring and Maintenance of the Product The installation, wiring and maintenance of the QD75MH are explained in this chapter. Important information such as precautions to prevent malfunctioning of the QD75MH, accidents and injuries as well as the proper work methods are described. Read this chapter thoroughly before starting installation, wiring or maintenance, and always following the precautions.
  • Page 81: Outline Of Installation, Wiring And Maintenance

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1 Outline of installation, wiring and maintenance 4.1.1 Installation, wiring and maintenance procedures The outline and procedures for QD75MH installation, wiring and maintenance are shown below. STEP 1 Understand the "Handling precautions" and "Names of each part"...
  • Page 82: Names Of Each Part

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1.2 Names of each part (1) The part names of the QD75MH are shown below: For QD75MH4 (1) RUN indicator LED, ERR indicator LED QD75MH4 (2) Axis display LED QD75MH4 (3) External device connector (40-pin connector) AX1: Axis 1 AX2: Axis 2...
  • Page 83 AX1 to AX4 are stopped or on OFF. standby. The symbols in the Display column indicate the following statuses: : Turns OFF. : Illuminates. : Flashes. The interface for each QD75MH is shown below: QD75MH1 QD75MH2 QD75MH4 QD75MH1 QD75MH2 QD75MH4 QD75MH4 QD75MH1 QD75MH2...
  • Page 84: Handling Precautions

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1.3 Handling precautions Handle the QD75MH and cable while observing the following precautions. [1] Handling precautions CAUTION Use the PLC within the general specifications environment given in this manual. Using the PLC outside the general specification range environment could lead to electric shocks, fires, malfunctioning, product damage or deterioration.
  • Page 85 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [2] Other precautions (1) Main body • The main body case is made of plastic. Take care not to drop or apply strong impacts onto the case. • Do not remove the QD75MH PCB from the case. Failure to observe this could lead to faults.
  • Page 86: Installation

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.2 Installation 4.2.1 Precautions for installation The precautions for installing the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. [1] Precautions for SSCNET cable wiring SSCNET cable is made from optical fiber.
  • Page 87 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q (4) Twisting If SSCNET cable is twisted, it will become the same stress added condition as when local lateral pressure or bend is added. Consequently, transmission loss increases, and the breakage of SSCNET cable may occur at worst.
  • Page 88: Precautions For Installation

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [3] Precautions for installation DANGER Completely turn off the externally supplied power used in the system before clearing or tightening the screws. Not doing so may cause electric shocks. CAUTION Never disassemble or modify the module. Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
  • Page 89: Wiring

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.3 Wiring The precautions for wiring the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. 4.3.1 Precautions for wiring DANGER Completely turn off the externally supplied power used in the system before installing or placing wiring.
  • Page 90 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q CAUTION Do not see directly the light generated from SSCNET connector of servo amplifier or QD75MH. When the light gets into eye, may feel something is wrong for eye. (The light source of SSCNET corresponds to class1 defined in JISC6802 or IEC60825-1.) If SSCNET cable is added a power such as a major shock, lateral pressure, haul, sudden...
  • Page 91: Precautions For Wiring

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [1] Precautions for wiring (1) Use separate cables for connecting to the QD75MH and for the power cable that create surge and inductance. (2) The shielded cable for connecting QD75MH can be secured in duct or bundle fixing.
  • Page 92 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Processing example of shielded cables] Connections of FG wire and each shielded cable Remove the covering from all shielded cables and bind the appeared shield with a conductive tape. Coat the wire with insulaing tape.
  • Page 93 (5) To make this product conform to the EMC directive and low voltage instruction, be sure to used of a AD75CK type cable clamp (manufactured by Mitsubishi Electric) for grounding connected to the control box and the shielded cable. Inside control box 20cm(7.88inch)
  • Page 94 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Wiring examples using duct (incorrect example and corrected example)] Wiring duct Relay Relay Servo Servo Relay amplifier amplifier Control panel The servo amplifiers are placed Noise source near the noise source. (Power system, The connection cable between etc.)
  • Page 95: Confirming The Installation And Wiring

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.4 Confirming the installation and wiring 4.4.1 Items to confirm when installation and wiring are completed Check the following points when completed with the QD75MH installation and wiring. • Is the module correctly wired? ... "Connection confirmation" With "connection confirmation", the following three points are confirmed using GX Configurator-QP's connection confirmation function.
  • Page 96: Maintenance

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.5 Maintenance 4.5.1 Precautions for maintenance The precautions for servicing the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. DANGER Completely turn off the externally supplied power used in the system before clearing or tightening screws.
  • Page 97 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q MEMO 4 - 18...
  • Page 98 Chapter 5 Data Used for Positioning Control The parameters and data used to carry out positioning control with the QD75MH are explained in this chapter. With the positioning system using the QD75MH, the various parameters and data explained in this chapter are used for control. The parameters and data include parameters set according to the device configuration, such as the system configuration, and parameters and data set according to each control.
  • Page 99: Types Of Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1 Types of data 5.1.1 Parameters and data required for control The parameters and data required to carry out control with the QD75MH include the "setting data", "monitor data" and "control data" shown below. Setting data (Data set beforehand according to the machine and application, and stored in the flash ROM.) Positioning...
  • Page 100 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Even when the PLC READY signal [Y0] is ON, the values or contents of the following can be changed: basic parameters 2, detailed parameters 2, positioning data, and block start data. The servo parameter is transmitted from QD75MH to the servo amplifier when the initialized communication carried out after the power supply is turned ON or the PLC CPU is reset.
  • Page 101 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitor data (Data that indicates the control state. Stored in the buffer memory, and monitors as necessary.) Md.1 Md.50 Md.100 Md.111 System monitor data Monitors the QD75MH specifications and the operation history. Md.1 Md.19 , Md.50 Monitors the data related to the operating axis, such as the current position Axis monitor data...
  • Page 102 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 5...
  • Page 103: Setting Items For Positioning Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.2 Setting items for positioning parameters The table below lists items set to the positioning parameters. Setting of positioning parameters is similarly done for individual axes for all controls achieved by the QD75. For details of controls, refer to Section 2.
  • Page 104 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Control Major positioning control Manual control Position control Other control Positioning parameter Pr.25 Acceleration time 1 – – – Pr.26 Acceleration time 2 – – – Pr.27 Acceleration time 3 – – – 12.7.7 Deceleration time 1 –...
  • Page 105: Setting Items For Opr Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.3 Setting items for OPR parameters When carrying out "OPR control", the "OPR parameters" must be set. The setting items for the "OPR parameters" are shown below. The "OPR parameters" are set commonly for each axis. Refer to Chapter 8 "OPR control"...
  • Page 106: Setting Items For Servo Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.4 Setting items for servo parameters The servo parameters are used to control the servomotor and the data that is determined by the specification of the servo being used. The table below lists items set to the servo parameters. Servo amplifier MR-J3-B Remark...
  • Page 107 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Servo amplifier MR-J3-B Remark Servo parameters Pr.146 Gain changing time constant Gain changing ratio of load inertia Pr.147 moment to servomotor inertia moment Pr.148 Gain changing position loop gain Pr.149 Gain changing speed loop gain Refer to the section Gain changing speed integral 5.2.8...
  • Page 108: Setting Items For Positioning Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.5 Setting items for positioning data Positioning data must be set for carrying out any "major positioning control". The table below lists the items to be set for producing the positioning data. One to 600 positioning data items can be set for each axis. For details of the major positioning controls, refer to Chapter 9 "Major Positioning Control".
  • Page 109 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Checking the positioning data Da.1 Da.10 The items are checked at the following timings: (1) Startup of a positioning operation (2) Error check performed by GX Configurator-QP 5 - 12...
  • Page 110 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 13...
  • Page 111: Setting Items For Block Start Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.6 Setting items for block start data The "block start data" must be set when carrying out "high-level positioning control". The setting items for the " block start data" are shown below. Up to 50 points of " block start data" can be set for each axis. Refer to Chapter 10 "High-level Positioning Control"...
  • Page 112: Setting Items For Condition Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.7 Setting items for condition data When carrying out "high-level positioning control" or using the JUMP instruction in the "major positioning control", the "condition data" must be set as required. The setting items for the "condition data" are shown below. Up to 10 "condition data"...
  • Page 113: Types And Roles Of Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.8 Types and roles of monitor data The monitor data area in the buffer memory stores data relating to the operating state of the positioning system, which are monitored as required while the positioning system is operating.
  • Page 114 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitoring details Corresponding item Number of write accesses Md.19 to the flash ROM after the Number of write accesses to flash ROM No. of write accesses to flash ROM power is switched ON Forced stop input signal Forced stop input signal (EMI) Md.50 Forced stop input...
  • Page 115 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitoring the state Monitor details Corresponding item Md.26 Monitor the axis operation state Axis operation status Md.23 Monitor the latest error code that occurred with the axis Axis error No. Md.24 Monitor the latest warning code that occurred with the axis Axis warning No.
  • Page 116 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 19...
  • Page 117: Types And Roles Of Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.9 Types and roles of control data Operation of the positioning system is achieved through the execution of necessary controls. (Data required for controls are given through the default values when the power is switched ON, which can be modified as required by the PLC program.) Controls are performed over system data or machine operation.
  • Page 118 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [2] Controlling the operation Controlling the operation Control details Corresponding item Cd.3 Set which positioning to execute (start No.). Positioning start No. Cd.5 Md.23 Md.24 Clear (reset) the axis error ( ) and warning ( Axis error reset Cd.6 Issue instruction to restart (When axis operation is stopped).
  • Page 119 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Making settings related to operation Control details Corresponding item Cd.7 Turn M code ON signal OFF. M code OFF request Cd.9 Set new value when changing current value. New current value Cd.24 Validate speed-position switching signal from external device. Speed-position switching enable flag Change movement amount for position control during speed- Speed-position switching control...
  • Page 120 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 23...
  • Page 121: List Of Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2 List of parameters 5.2.1 Basic parameters 1 Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : mm 1 : inch Pr.1...
  • Page 122 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.2 to Pr.4 Electronic gear Mechanical system value used when the QD75MH performs positioning control. Pr.2 The settings are made using Pr.4 The electronic gear is expressed by the following equation. No. of pulses per rotation (AP) Electronic gear = Movement amount per rotation (AL) Unit magnification (AM)
  • Page 123 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q However, the maximum value that can be set for this "movement amount per rotation (AL)" parameter is 20000000.0 µ m (20m). Set the "movement amount per rotation (AL)" as shown below so that the "movement amount per rotation (AL)" does not exceed this maximum value.
  • Page 124 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 27...
  • Page 125: Basic Parameters 2

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.2 Basic parameters 2 Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting range differs depending on the "...
  • Page 126 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Pr.1 setting value Value set with peripheral device (unit) Value set with PLC program (unit) 1 to 2000000000 (×10 mm/min) 0 : mm 0.01 to 20000000.00 (mm/min) 1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (×10 inch/min) 1 1 to 2000000000 (×10...
  • Page 127: Detailed Parameters 1

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.3 Detailed parameters 1 Setting value buffer memory Setting value, setting range address Item Default value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.1 The setting value range differs according to the "...
  • Page 128 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.11 Backlash compensation amount) Pr.2 No. of pulses per rotation) 0 ≤ ( = A) ≤ 65535 (PLS) ….(1) Pr.3 Movement amount per pulse) Pr.2 An error (error code: 920) occurs when " No.
  • Page 129 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 1) Generally, the OP is set at the lower limit or upper limit of the stroke limit. 2) By setting the upper limit value or lower limit value of the software stroke limit, overrun can be prevented in the software.
  • Page 130 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.17 Torque limit setting value Set the maximum value of the torque generated by the servomotor as a percentage between 1 and 1000%. The torque limit function limits the torque generated by the servomotor within the set range.
  • Page 131 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Standard speed switching mode Pr.19 1 : Front-loading speed switching Speed switching mode...
  • Page 132 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.19 Speed switching mode Set whether to switch the speed switching mode with the standard switching or front-loading switching mode. 0 : Standard switching....Switch the speed when executing the next positioning data. 1 : Front-loading switching ..
  • Page 133 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.21 Current feed value during speed control Md.20 Specify whether you wish to enable or disable the update of " Current feed value" while operations are performed under the speed control (including the speed-position and position-speed switching control).
  • Page 134 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.24 Manual pulse generator input selection Set the manual pulse generator input pulse mode. (Only the value specified against the axis 1 is valid.) 0: A-phase/B-phase; multiplied by 4 1: A-phase/B-phase; multiplied by 2 2: A-phase/B-phase;...
  • Page 135: Detailed Parameters 2

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.4 Detailed parameters 2 Setting value buffer memory Setting value, setting range Default address Item value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.25 Acceleration time 1...
  • Page 136 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Pr.1 setting value Value set with PLC program (unit) (unit) 1 to 2000000000 ( × 10 0 : mm 0.01 to 20000000.00 (mm/min) mm/min) 1 to 2000000000 ( × 10 1 : inch 0.001 to 2000000.000 (inch/min) inch/min)
  • Page 137 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Automatic trapezoid Pr.34 acceleration/deceleration process Acceleration/deceleration...
  • Page 138 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.35 S-pattern ratio Set the S-pattern ratio (1 to 100%) for carrying out the S-pattern acceleration/deceleration process. The S-pattern ratio indicates where to draw the acceleration/deceleration curve using the Sin curve as shown below. (Example) Positioning speed...
  • Page 139 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.36 Sudden stop deceleration time Pr.8 Set the time to reach speed 0 from " Speed limit value" during the sudden stop. The illustration below shows the relationships with other parameters. 1) Positioning start 2) Sudden stop cause occurrence 3) Positioning stop When positioning is started,...
  • Page 140 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.37 Stop group 1 sudden stop selection Pr.39 Stop group 3 sudden stop selection Set the method to stop when the stop causes in the following stop groups occur. • Stop group 1 ....Stop with hardware stroke limit •...
  • Page 141 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 to 65535 (ms) 0 to 32767 : Pr.40 Set as a decimal...
  • Page 142 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) 0 to 100000 ( × 10 µ m) 0 to 10000.0 ( µ m) 0 : mm 0 to 100000 ( ×...
  • Page 143 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.42 External command function selection Select a command with which the external command signal should be associated. 0: External positioning start The external command signal input is used to start a positioning operation. 1: External speed change request The external command signal input is used to change the speed in the current positioning operation.
  • Page 144 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.84 Restart allowable range when servo OFF to ON (1) What is the restart function when servo OFF to ON ? The QD75MH restart function when servo OFF changes to ON, performs continuous positioning operation (positioning start, restart) when the servo is switched from OFF to ON in the stopped state (including servo emergency stop).
  • Page 145 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 2) When the difference between the last command position of the QD75MH at the time the servo stop signal turned ON and the present value at the time the servo stop signal turned OFF is greater than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as on-standby and cannot be restarted.
  • Page 146 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (3) Precautionary notes (a) The difference between the last command position when the servo turned OFF and the present value when the servo turned ON, is output at the first operation of restart. If the restart allowable range is large at this time, an overload may occur on the servo side.
  • Page 147: Opr Basic Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.5 OPR basic parameters Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Near-point dog method Pr.43 4 : Count method 1)
  • Page 148 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 4 : Count method 1) (1) Start machine OPR. Pr.46 (Start movement at the " OPR speed" in the Pr.44 " OPR direction".) (2) Detect the near-point dog ON, and start deceleration. Pr.50 OPR speed Pr.46 Setting for the movement...
  • Page 149 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 : Positive direction (address Pr.44 increment direction) 1 : Negative direction (address...
  • Page 150 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) -2147483648 to 2147483647 ( × 10 µ m) -214748364.8 to 214748364.7 ( µ m) 0 : mm -2147483648 to 2147483647 ( ×...
  • Page 151 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 Pr.1 The setting value range differs depending on the " Unit Pr.47 setting".
  • Page 152 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.48 OPR retry Set whether to carry out OPR retry. When the OPR retry function is validated and the machine OPR is started, first the axis will move in the OPR direction (1)). If the upper/lower limit signal turns OFF before the near-point dog signal ON is detected (2)), the axis will decelerate to a stop, and then will move in the direction opposite the OPR direction (3)).
  • Page 153: Opr Detailed Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.6 OPR detailed parameters Setting value buffer memory Setting value, setting range Default Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting value range differs depending on the "...
  • Page 154 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) 0 to 2147483647 ( × 10 µ m) 0 to 214748364.7 ( µ m) 0 : mm 0 to 2147483647 ( ×...
  • Page 155 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with peripheral Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 device The setting value range differs depending on the " Pr.1 Unit setting".
  • Page 156 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) -2147483648 to 2147483647 ( × 10 µ m) -214748364.8 to 214748364.7 ( µ m) 0 : mm -2147483648 to 2147483647 ( ×...
  • Page 157 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.56 Speed designation during OP shift Set the operation speed for when a value other than "0" is set for " Pr.53 OP shift Pr.46 Pr.47 amount". Select the setting from " OPR speed" or " Creep speed".
  • Page 158 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 61...
  • Page 159: Servo Parameters (Basic Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.7 Servo parameters (Basic setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value Used to select the servo amplifier series, which is connected to the QD75MH.
  • Page 160 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 1 30100 30300 30500 30700...
  • Page 161 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Low response (10.0Hz) (11.3Hz) (12.7Hz) (14.3Hz) (16.1Hz) (18.1Hz) (20.4Hz) (23.0Hz) (25.9Hz) 10 : (29.2Hz) 11 : (32.9Hz) 12 : (37.0Hz) 13 : (41.7Hz) 14 : (47.0Hz) Used to set the response of auto tuning. 15 : (52.9Hz) (When "...
  • Page 162 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 32 30109 30309 30509 30709...
  • Page 163 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 0: Forward rotation (CCW) with the increase of the positioning Pr.114 address. (PA14) Rotation direction selection Used to set the rotation direction of the servomotor. 1: Reverse rotation (CW) with the increase of the positioning address.
  • Page 164 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 1 30114 30314 30514 30714...
  • Page 165: Servo Parameters (Gain • Filter Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.8 Servo parameters (Gain • filter setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value • Used to set the adaptive filter tuning of the servo amplifier.
  • Page 166 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 2 30119 30319 30519 30719...
  • Page 167 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the feed forward gain of the positioning control. When the setting is 100[%], the droop pulses during operation at constant speed are Pr.122 nearly zero. However, sudden (PB04) Feed forward gain acceleration/deceleration will increase the...
  • Page 168 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 100 30122 30322 30522 30722...
  • Page 169 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the integral time constant of the speed loop. • Higher setting increases the response level but is liable to generate vibration and/or noise. Pr.128 Speed integral compensation •...
  • Page 170 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 10000 30128 30328 30528 30728...
  • Page 171 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Machine resonance suppression filter 2 selection 0: Invalid 1: Valid Notch depth selection 0: Deep (-40db) Pr.134 • Use to selection the machine resonance (-14db) Notch form selection 2 (PB16) suppression filter 2.
  • Page 172 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Machine resonance suppression filter 2...
  • Page 173 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 0: Automatic selection Pr.141 Low-pass filter selection Select the low pass filter. 1: Manual selection (" Pr.136 (PB23) Low-pass filter" setting value) Slight vibration suppression control selection • Select the slight vibration suppression control and 0: Invalid Pr.142 Slight vibration suppression...
  • Page 174 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0000 30141 30341 30541 30741...
  • Page 175 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the ratio of load inertia moment to servo Gain changing ratio of load Pr.147 motor inertia moment when gain changing is valid. inertia moment to 0.0 to 300.0[Times] (PB29) •...
  • Page 176 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 3000 30147 30347 30547 30747...
  • Page 177: Servo Parameters (Expansion Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.9 Servo parameters (Expansion setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value Pr.164 • Set error excessive alarm level with rotation amount (PC01) Error excessive alarm level 1 to 200[rev]...
  • Page 178 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 200 30164 30364 30564 30764...
  • Page 179 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 7: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) 8: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) 9: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) Used to set the output signal from analog monitor A: Feedback position output 1 of the servo amplifier.
  • Page 180 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to D 30172 30372 30572 30772...
  • Page 181 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value C: Feedback position Used to set the output signal from analog monitor (Note-1), ( 10V/1 x 10 [PLS]) output 2 of the servo amplifier. (Note-3) Pr.173 (Note-1): Encoder pulse unit. Analog monitor output 2 (PC10) (Note-2): 8V is outputted at the maximum torque.
  • Page 182 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to D 30173 30373 30573 30773...
  • Page 183: Servo Parameters (Input/Output Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.10 Servo parameters (Input/output setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value 00: Always OFF (Note-3) 01: Maker setting 02: RD (Servo ON) 03: ALM (Servo alarm) (Note-1)
  • Page 184 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Output signal device 0005...
  • Page 185 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Used to select the output signal (CN3-9 pin) of the (Note-3) 10: Maker setting servo amplifier. (Note-1): It becomes to always OFF in speed control Pr.203 Output signal device selection mode.
  • Page 186 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Output signal device 0004...
  • Page 187: List Of Positioning Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.3 List of positioning data Da.1 Da.10 Before explaining the positioning data setting items , the configuration of the positioning data will be shown below. The positioning data stored in the QD75MH buffer memory has the following type of configuration.
  • Page 188 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q ˆ Ê ’ u Œ ˆ ‚ ß Ž ¯ • Ê Ž q ˆ Ê ’ u Œ ˆ ‚ ß Ž ¯ • Ê Ž q 19990 19980 Da.1@ ` @ Da.4 Da.1@ ` @ Da.4 Positioning data No.
  • Page 189 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value Default Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 00: Positioning complete Da.1 Operation pattern Operation 01: Continuous positioning control pattern...
  • Page 190 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.1 Operation pattern The operation pattern designates whether positioning of a certain data No. is to be ended with just that data, or whether the positioning for the next data No. is to be carried out in succession.
  • Page 191 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.4 Deceleration time No. Set which of "deceleration time 0 to 3" to use for the deceleration time during positioning. Pr.10 0 : Use the value set in " Deceleration time 0". Pr.28 1 : Use the value set in "...
  • Page 192 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (2) Incremental (INC) system, fixed-feed 1, fixed-feed 2, fixed-feed 3, fixed-feed 4 • The setting value (movement amount) for the INC system is set as a movement amount with sign. When movement amount is positive: Moves in the positive direction (address increment direction) When movement amount is negative: Moves in the negative direction (address decrement direction)
  • Page 193 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (3) Speed-position switching control • INC mode: Set the amount of movement after the switching from speed control to position control. • ABS mode: Set the absolute address which will be the target value after speed control is switched to position control.
  • Page 194 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.1 When " Unit Setting" is "PLS" The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.) Value set with peripheral device Da.2...
  • Page 195 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.1 When " Unit Setting" is "inch" The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.) Value set with PLC program Value set with peripheral device...
  • Page 196 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 99...
  • Page 197 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting value range differs according to the " Da.2 Control system".
  • Page 198 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Pr.1 When " Unit Setting" is "mm" The table below lists the control systems that require the setting of the arc address and shows the setting range. (With any control system excluded from the table below, the arc address does not need to be set.) Value set with PLC program Value set with peripheral device...
  • Page 199 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting value range differs depending on the " Pr.1 Unit setting".
  • Page 200 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.10 M code (or condition data No./No. of LOOP to LEND repetitions) Set an "M code", a "condition data No. ", or the "number of LOOP to LEND Da.2 repetitions" depending on how the " Control system"...
  • Page 201 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.9 Dwell time/JUMP designation positioning data No. Da.2 Set the "dwell time" or "positioning data No." corresponding to the " Control system". • Da.2 When a method other than "JUMP instruction " is set for " Control system"...
  • Page 202 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 105...
  • Page 203: List Of Block Start Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.4 List of block start data The illustrations below show the organization of the block start data stored in the QD75 Da.11 Da.14 buffer memory. The block start data setting items are explained in the pages that follow.
  • Page 204 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 50th point Buffer memory Setting item address 2nd point 1st point Buffer memory Setting item address 28049 Buffer memory Setting item address œ ˆ Ê ’ u Œ ˆ ‚ ß Ž n “ ® ƒ f [ ƒ ^ 28001 28000 Da.12 Start data No.
  • Page 205 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q REMARK To perform an high-level positioning control using block start data, set a number Cd.3 between 7000 and 7004 to the " Positioning start No." and use the Cd.4 " Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block.
  • Page 206 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value Default address Item value Value set with peripheral Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 device 0 : End Da.11 Shape 0 0 0 1 : Continue 0000...
  • Page 207 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.11 Shape Set whether to carry out only the local "block start data" and then end control, or to execute the "block start data" set in the next point. Setting value Setting details 0 : End Execute the designated point's "block start data", and then complete the control.
  • Page 208 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 111...
  • Page 209: List Of Condition Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.5 List of condition data The illustrations below show the organization of the condition data stored in the QD75 Da.15 Da.19 buffer memory. The condition data setting items are explained in the pages that follow. No.10 Up to 10 block start data points can be set (stored) Buffer memory...
  • Page 210 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q No.10 Buffer memory Setting item address No.2 Buffer memory No.1 Setting item address 28190 Buffer memory Setting item address 28110 28191 28192 28100 28193 Da.16 Condition Da.15 Condition 28194 operator target 28111 28195 28112 Open 28101...
  • Page 211 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q REMARK To perform an high-level positioning control using block start data, set a number Cd.3 between 7000 and 7004 to the " Positioning start No." and use the Cd.4 " Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block.
  • Page 212 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 01 : Device X 02 : Device Y Da.15 Condition target 03 : Buffer memory (1-word)
  • Page 213 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.15 Condition target Set the condition target as required for each control. Setting value Setting details : Device X Set the input/output signal ON/OFF as the conditions. : Device Y : Buffer memory (1-word) Set the value stored in the buffer memory as the condition.
  • Page 214 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.18 Parameter 1 Da.16 Set the parameters as required for the " Condition operator". Da.16 Setting value Setting details Condition operator : ∗∗=P1 : ∗∗ ≠ P1 The value of P1 should be equal to or smaller than the value of : ∗∗≤P1 P2.
  • Page 215: List Of Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.6 List of monitor data 5.6.1 System monitor data Storage item Storage details Whether the mode is the test mode from the peripheral device or not is stored. • Md.1 In test mode flag When not in test mode : OFF •...
  • Page 216 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer memory address Reading the monitor value Default value (common for axis 1 to axis 4) Monitoring is carried out with a decimal. Monitor Storage value 1200 value 0: Not in test mode 1: In test mode (Unless noted in particular, the monitor value is saved as binary data.) 5 - 119...
  • Page 217 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value [Storage details] This area stores the start information (restart flag, start origin, and start axis): • Restart flag: Indicates whether the operation has or has not been halted and restarted.
  • Page 218 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.8 1292 Start history pointer 0000 Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 219 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value [Storage details] This area stores the following results of the error judgment performed upon starting: • BUSY start warning flag • Error flag • Error No. [Reading the monitor value] Monitoring is carried out with a hexadecimal display.
  • Page 220 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.8 1292 Start history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 221 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Md.9 Stores a number (Axis No.) Monitor Storage value Axis in which that indicates the axis that value 1: Axis 1 the error...
  • Page 222 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.13 1357 Error history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing error history records. Pointer No.
  • Page 223 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Md.14 Stores a number (Axis No.) Monitor Storage value Axis in which that indicates the axis that value 1: Axis 1 the warning...
  • Page 224 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.18 1422 Warning history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing warning history records. Pointer No.
  • Page 225: Axis Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.6.2 Axis monitor data Storage item Storage details The currently commanded address is stored. (Different from the actual motor position during operation) The current position address is stored. If "degree" is selected as the unit, the addresses will have a ring structure for values between 0 and 359.99999 degrees.
  • Page 226 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal. Low-order buffer memory Example) 800 1100 1000 Monitor 0000 value 1001...
  • Page 227 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Whenever an axis warning is reported, a related warning code is stored. • This area stores the latest warning code always. (Whenever an axis warning is reported, a new warning code replaces the stored warning code.) Md.24 Axis warning No.
  • Page 228 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor Warning No. value For details of warning Nos. 1007 1107 (warning codes), refer to Section 15.3 "List of warn-...
  • Page 229 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • The speed which is actually output as a command at that time in each axis is stored. (May be different from the actual motor speed) "0" is stored when the axis is at a stop. Update timing: 56.8ms Md.28 Axis feedrate...
  • Page 230 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal. Low-order buffer memory Example) 812 Monitor value High-order buffer memory Example) 813 1012 1112 0000...
  • Page 231 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details This area stores the states (ON/OFF) of various flags. Information on the following flags is stored. In speed control flag: This signal that comes ON under the speed control can be used to judge whether the operation is performed under the speed control or position control.
  • Page 232 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal display. Monitor value Buffer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 memory Not used Not used...
  • Page 233 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • During operation with positioning data : The actual target speed, considering the override and speed limit value, etc., is stored. "0" is stored when positioning is completed. • During interpolation : The composite speed or reference axis speed is stored in the reference...
  • Page 234 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal display. Low-order buffer memory Example) 820 Monitor value High-order buffer memory Example) 821 1020 1120...
  • Page 235 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • Md.36 Special start data instruction The " instruction code" used with special start and indicated by the start data pointer currently being executed is stored. code setting value The "instruction parameter"...
  • Page 236 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor Storage value value 00: Block start (Normal start) 01: Condition start 1027 1127 02: Wait start...
  • Page 237 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • This area stores the remaining number of repetitions during "repetitions" specific to special starting. Md.41 Special start repetition • The count is decremented by one (-1) at the loop end. counter •...
  • Page 238 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Storage value 1032 1132 0 to 255 Monitor value Monitoring is carried out with a hexadecimal display.
  • Page 239 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • "1" is stored when the constant speed status or acceleration status switches to the deceleration status during position control whose operation pattern is "Positioning complete". • "0" is stored at the next operation start or manual pulse generator operation Deceleration start flag enable.
  • Page 240 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Storage value Monitor value 0: Status other than below 1099 1199 1: Status from deceleration start to next operation...
  • Page 241 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • This area stores the Software No. of the servo amplifier used. Md.106 Servo amplifier Software No. • This area is update when the control power of the servo amplifier is turned on. •...
  • Page 242 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor value Example) -B35W200 A0 Address Monitor Stored 1064 1164...
  • Page 243 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details This area stores the servo status. • Zero point pass Turns ON if the zero point of the encoder has been passed even once. • Zero speed Turns ON when the motor speed is lower than the servo parameter “zero speed.” •...
  • Page 244 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Stored items Meaning 0000 1076 1176 Zero point pass 0: OFF Zero speed 1: ON...
  • Page 245: List Of Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.7 List of control data 5.7.1 System control data Setting item Setting details • Requests writing of data (parameters, positioning data, and block start data) from the buffer memory to the flash ROM. POINT (1) Do not turn the power OFF or reset the PLC CPU while writing to the flash ROM.
  • Page 246 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer memory address Setting value Default value (common to axes 1 to 4) Set with a decimal. Setting value 1900 Flash ROM write request 1: Requests write access to flash ROM. The QD75MH resets the value to "0" automatically when the write access completes. (This indicates the completion of write operation.) Set with a decimal.
  • Page 247: Axis Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.7.2 Axis control data Setting item Setting details • Set the positioning start No. Cd.3 Positioning start No. (Only 1 to 600 for the Pre-reading start function. For details, refer to Section 12.7.8 "Pre-reading start function".) •...
  • Page 248 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1500 1600 1700 1800 Positioning data No. : Positioning data No. 1 to 600 : Block start designation 7000 to7004...
  • Page 249 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Cd.8 External command valid Validates or in validates external command signals. • When changing the "current feed value" using the start No. "9003", use this data item to specify a new feed value. •...
  • Page 250 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1505 1605 1705 1805 External command valid 0: Invalidates an external command. 1: Validates an external command.
  • Page 251 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • When changing the acceleration time during a speed change, use this data item to specify a new acceleration time. Cd.10 New acceleration time value Cd.10 setting range (unit) 0 to 8388608 (ms) •...
  • Page 252 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 1508 1608 1708 1808 Set with a decimal. 1509 1609 1709 1809 Cd.10 New acceleration time value Setting value Cd.11 New deceleration time value...
  • Page 253 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • To use the positioning operation speed override function, use this data item to specify an "override" value. For details of the override function, refer to Section 12.5.2 "Override function". Cd.13 Positioning operation speed override...
  • Page 254 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1513 1613 1713 1813 Override value (%) 1 to 300 Set with a decimal. Actual value Cd.14 New speed value Conversion into an integer value...
  • Page 255 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Use this data item to set the amount of movement by inching. • The machine performs a JOG operation if "0" is set. • Set a value within the following range: inch degree Pr.1...
  • Page 256 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Actual value Cd.16 Inching movement amount Conversion into an integer value Unit conversion table ( Cd.16 ) Unit Setting value 1517 1617 1717 1817...
  • Page 257 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • The PLC program can use this data item to forcibly turn the OPR request flag from ON to OFF. Cd.19 OPR request flag OFF POINT request This parameter is made valid when the increment system is valid. •...
  • Page 258 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value OPR request flag OFF request 1521 1621 1721 1821 1: Turns the "OPR request flag" from ON to OFF.
  • Page 259 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • During the speed control stage of the speed-position switching control (INC mode), it is possible to change the specification of the movement amount during the position control stage. For that, use this data item to specify a new movement amount.
  • Page 260 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Speed-position switching Cd.23 Actual value control movement amount change register Conversion into an integer value Unit conversion table ( Cd.23 ) Unit 1526...
  • Page 261 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Cd.26 Position-speed switching Set whether the external control signal (external command signal [CHG]: "speed- control enable flag position, position-speed switching request" is selected) is enabled or not. • When changing the target position during a positioning operation, use this data item to specify a new positioning address.
  • Page 262 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value Position-speed switching 1532 1632 1732 1832 enable flag 0: Position control will not be taken over by speed control even when the external command signal comes ON.
  • Page 263 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details Cd.30 Simultaneous starting axis start data No. (axis 1 start data No.) Cd.31 Simultaneous starting axis start data No. (axis 2 start data No.) • Use these data items to specify a start data No. for each axis that has to start simultaneously.
  • Page 264 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 1540 1640 1740 1840 Set with a decimal. 1541 1641 1741 1841 Setting value Cd.30 to Cd.33 Simultaneous starting axis start data No.: 1542 1642 1742 1842...
  • Page 265 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • During a step operation, this data item determines whether the operation is Cd.36 Step start information continued or restarted. • To skip the current positioning operation, set "1" in this data item. Cd.37 Skip command •...
  • Page 266 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1546 1646 1746 1846 Step start information 1: Continues step opration 2: Restarts operation The QD75MH resets the value to "0"...
  • Page 267 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Turns OFF each axis servo. POINT Cd.100 Servo OFF command When you want to turn ON the servo for two to four axes with only the servo for one axis turned OFF, write "1"...
  • Page 268 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1551 1651 1751 1851 Servo OFF command 0: Servo ON 1: Servo OFF When all axis servo ON is valid.
  • Page 269 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 172...
  • Page 270 Chapter 6 PLC Program Used for Positioning Control The programs required to carry out positioning control with the QD75MH are explained in this chapter. The PLC program required for control is created allowing for the "start conditions", "start time chart", "device settings" and general control configuration. (The parameters, positioning data, block start data and condition data, etc., must be set in the QD75MH according to the control to be executed, and program for setting the control data or a program for starting the various control must be created.)
  • Page 271: Precautions For Creating Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.1 Precautions for creating program The common precautions to be taken when writing data from the PLC CPU to the QD75MH buffer memory are described below. When diverting any of the program examples introduced in this manual to the actual system, fully verify that there are no problems in the controllability of the target system.
  • Page 272 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) System configuration Unless particularly designated, the PLC program for the following system is shown in this chapter and subsequent. Refer to Section 6.2 for the application of the devices to be used. Q35B X40 to X4F Extenal...
  • Page 273 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (b) When the circuit uses the "intelligent function device" on the source(s) side and the destination (D) side of a MOV command, change the command to a FROM command and a TO command. MOVP G826 Set the...
  • Page 274: List Of Devices Used

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.2 List of devices used In the PLC programs shown in this chapter and subsequent, the application of the devices used are as follows. The I/O numbers for QD75MH indicate those when QD75MH is mounted in the 0-slot of the main base.
  • Page 275 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 M code OFF command Commanding M code OFF JOG operation speed setting Commanding JOG operation speed command setting Commanding forward run JOG/inching Forward run JOG/inching command...
  • Page 276 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 OPR request OFF command Commanding OPR request OFF OPR request OFF command pulse OPR request OFF commanded OPR request OFF command storage OPR request OFF command held Fast OPR command Commanding fast OPR...
  • Page 277 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 TEACH1 instruction complete device TEACH1 instruction completed TEACH1 instruction error complete TEACH1 instruction error completed device PINIT instruction complete device PINIT instruction completed PINIT instruction error complete device PINIT instruction error completed...
  • Page 278 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Acceleration time setting (low-order 16 bits) Cd.10 New acceleration time Acceleration time setting value) (high-order 16 bits) Deceleration time setting (low-order 16 bits) Cd.11...
  • Page 279 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 No. of pulses per rotation (low-order 16 bits) Pr.2 No. of pulses per rotation) No. of pulses per rotation (high-order 16 bits) Movement amount per rotation (low-order 16 bits)
  • Page 280 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 D107 Positioning address (high-order 16 bits) Da.7 Circular interpolation address) Circular interpolation address Da.8 Command speed) D108 (low-order 16 bits) Da.9 Dwell time)
  • Page 281 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 D144 Command speed (low-order 16 bits) Da.4 Deceleration time No.) D145 Command speed (low-order 16 bits) Da.5 Axis to be interpolated) D146 Positioning address (low-order 16 bits)
  • Page 282 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Data No.15 D240 Positioning identifier Da.1 Operation pattern) D241 M code Da.2 Control system) D242 Dwell time Da.3 Acceleration time No.) D243...
  • Page 283 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name U0\G806 Error code Md.23 Axis error No.) U0\G809 Axis operation status Md.26 Axis operation status) U0\G817 Status Md.31 Status) U0\G1500 Positioning start No. Cd.3 Positioning start No.) U0\G1502 Axis error reset Cd.5...
  • Page 284: Creating A Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.3 Creating a program The "positioning control operation program" actually used is explained in this chapter. The functions and programs explained in Section 2 are assembled into the "positioning control operation program" explained here. (To monitor the control, add the required monitor program that matches the system.
  • Page 285: Positioning Control Operation Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.3.2 Positioning control operation program The various programs that configure the "positioning control operation program" are shown below. When creating the program, refer to the explanation of each program and Section 6.4 "Positioning program examples", and create an operation program that matches the positioning system.
  • Page 286 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Initialization program Not carried out OPR is... No.5 Refer to Section 6.5.1 OPR request OFF program Carried out No.6 External command function valid Refer to Section 6.5.1 setting program No.7 PLC READY signal [Y0] ON Required...
  • Page 287 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Start details setting program Program required to carry out • "OPR control" • "Major positioning control" No.9 • "High-level positioning control" Positioning start No. Refer to Section 6.5.2 setting program Start program No.10...
  • Page 288 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Sub program Program added according to control details. (Create as required.) No.16 Speed change program Refer to Section 12.5.1 No.17 Override program Refer to Section 12.5.2 No.18 Acceleration/deceleration time Refer to Section 12.5.3 change program No.19...
  • Page 289: Positioning Program Examples

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.4 Positioning program examples An example of the "Axis 1" positioning program is given in this section. [No. 1] to [No. 3] parameter and data setting program When setting the parameters or data with the PLC program, set them in the QD75MH using the TO command from the PLC CPU.
  • Page 290 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 21...
  • Page 291 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 22...
  • Page 292 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 23...
  • Page 293 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 24...
  • Page 294 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 25...
  • Page 295 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 26...
  • Page 296 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 27...
  • Page 297 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 28...
  • Page 298 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 29...
  • Page 299 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 30...
  • Page 300 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 31...
  • Page 301 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 32...
  • Page 302 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 33...
  • Page 303 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 34...
  • Page 304 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 35...
  • Page 305 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 36...
  • Page 306 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 37...
  • Page 307 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 38...
  • Page 308 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 39...
  • Page 309 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 40...
  • Page 310 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 41...
  • Page 311 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 42...
  • Page 312 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 43...
  • Page 313 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 44...
  • Page 314 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 45...
  • Page 315 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 46...
  • Page 316 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 47...
  • Page 317 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 48...
  • Page 318 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 49...
  • Page 319 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 50...
  • Page 320 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 51...
  • Page 321: Program Details

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5 Program details 6.5.1 Initialization program [1] OPR request OFF program Md.31 This program forcibly turns OFF the "OPR request flag" ( Status: b3) which is ON. When using a system that does not require OPR, assemble the program to cancel the "OPR request"...
  • Page 322: Start Details Setting Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.2 Start details setting program This program sets which control, out of "OPR", "major positioning control" or "high-level positioning control" to execute. For " high-level positioning control", "fast OPR", "speed- position switching control" and "position-speed switching control", add the respectively required PLC program.
  • Page 323 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) For "position-speed switching control", set the control data shown below. Cd.25 (As required, set the " Position-speed switching control speed change resister".) Buffer memory address Setting Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4 Position-speed switching 1530...
  • Page 324: Start Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.3 Start program This program is used to start the control with start commands. The control can be started with the following two methods. [1] Starting by inputting positioning start signal [Y10, Y11, Y12, Y13] [2] Starting by inputting external command signal Buffer memory Servo amplifier...
  • Page 325 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Servo ON conditions Setting of servo parameter PLC READY signal Y0 ON All axis servo ON Y1 ON Starting conditions To start the control, the following conditions must be satisfied. The necessary start conditions must be incorporated in the PLC program so that the control is not started when the conditions are not satisfied.
  • Page 326 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [1] Starting by inputting positioning start signal Operation when starting (1) When the positioning start signal turns ON, the start complete signal and BUSY signal turn ON, and the positioning operation starts. It can be seen that the axis is operating when the BUSY signal is ON.
  • Page 327 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q POINT The BUSY signal [XC, XD, XE, XF] turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not be detected in the PLC program. (The ON status of the start complete signal [X10, X11, X12, X13], positioning complete signal [X14, X15, X16, X17] and M code ON signal [X4, X5, X6, X7] can be detected in the PLC program.)
  • Page 328 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (2) Time chart for starting "fast OPR" [Y10] Positioning start signal All axis servo ON [Y1] PLC READY signal [Y0] [X0] QD75 READY signal [X10] Start complete signal BUSY signal [XC] Error detection signal [X8] Cd.
  • Page 329 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) Time chart for starting "speed-position switching control" Operation pattern(00) Speed control Position control Dwell time Positioning data No.(1) Positioning start signal [Y10] All axis servo ON [Y1] PLC READY signal [Y0] [X0] QD75 READY signal [X10]...
  • Page 330 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Machine OPR operation timing and process time Positioning start [Y10, Y11, Y12, Y13] signal [XC, XD, XE, XF] BUSY signal Start complete signal [X10, X11, X12, X13] Md. 26 Axis operation status Waiting In OPR Waiting...
  • Page 331 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Position control operation timing and process time Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] M code ON signal (WITH mode) [X4, X5, X6, X7] Cd. 7 M code OFF request Positioning start complete [X10, X11, X12, X13] signal...
  • Page 332 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [2] Starting by inputting external command signal When starting positioning control by inputting the external command signal, the start command can be directly input into the QD75MH. This allows the variation time equivalent to one scan time of the PLC CPU to be eliminated. This is an effective procedure when operation is to be started as quickly as possible with the start command or when the starting variation time is to be suppressed.
  • Page 333: Continuous Operation Interrupt Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.4 Continuous operation interrupt program During positioning control, the control can be interrupted during continuous positioning control and continuous path control (continuous operation interrupt function). When "continuous operation interruption" is execution, the control will stop when the operation of the positioning data being executed ends.
  • Page 334 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (3) If the operation cannot be decelerated to a stop because the remaining distance is insufficient when "continuous operation interrupt request" is executed with continuous path control, the interruption of the continuous operation will be postponed until the positioning data shown below.
  • Page 335: Restart Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.5 Restart program When a stop factor occurs during position control and the operation stops, the positioning can be restarted from the stopped position to the position control end point Cd.6 by using the "restart command" ( Restart command).
  • Page 336 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q REMARK Restarting after stopping is possible even for the following control. • • Incremental system position control Continuous positioning control • • Continuous path control Block start [3] Control data requiring setting Set the following data to execute restart.
  • Page 337 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (5) Time chart for restarting Dwell time Positioning start signal [Y10] All axis servo ON [Y1] Axis stop signal [Y4] PLC READY signal [Y0] QD75 READY signal [X0] Start complete signal [X10] BUSY signal [XC] Positioning complete signal...
  • Page 338: Stop Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.6 Stop program The axis stop signal [Y4, Y5, Y6, Y7] or a stop signal from an external device is used to stop the control. Create a program to turn ON the axis stop signal [Y4, Y5, Y6, Y7] as the stop program. The process for stopping control is explained below.
  • Page 339 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [2] Types of stop processes The operation can be stopped with deceleration stop, sudden stop or immediate stop. (1) Deceleration stop Pr.10 Pr.28 Pr.29 The operation stops with "deceleration time 0 to 3" ( Pr.30 Which time from "deceleration time 0 to 3"...
  • Page 340 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [3] Order of priority for stop process The order of priority for the QD75 stop process is as follows. Deceleration stop < Sudden stop < Servo OFF (1) If the deceleration stop command ON (stop signal ON) or deceleration stop cause occurs during deceleration to speed 0 (including automatic deceleration), operation changes depending on the setting of "...
  • Page 341 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [4] Inputting the stop signal during deceleration (1) Even if stop is input during deceleration (including automatic deceleration), the operation will stop at that deceleration speed. (2) If stop is input during deceleration for OPR, the operation will stop at that deceleration speed.
  • Page 342 Chapter 7 Memory Configuration and Data Process The QD75MH memory configuration and data transmission are explained in this chapter. The QD75MH is configured of two memories. By understanding the configuration and roles of two memories, the QD75MH internal data transmission process, such as "when the power is turned ON"...
  • Page 343: Configuration And Roles Of Qd75Mh Memory

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1 Configuration and roles of QD75MH memory 7.1.1 Configuration and roles of QD75MH memory The QD75MH is configured of the following two memories. Area configuration Memory Role configuration Area that can be directly accessed •...
  • Page 344 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Details of areas • Parameter area Area where parameters, such as positioning parameters and OPR parameters, required for positioning control are set and stored. Pr.1 Pr.57 Pr.84 (Set the items indicated with Pr.80 for each axis.) •...
  • Page 345 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q User accesses Data is backed up here. here. Flash ROM Buffer memory Parameter area Parameter area Positioning data area Positioning data area (No.1 to 600) (No.1 to 600) Block start data area Block start data area (No.7000 to 7004) (No.
  • Page 346: Buffer Memory Area Configuration

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1.2 Buffer memory area configuration The QD75MH buffer memory is configured of the following types of areas. Buffer memory address Writing Buffer memory area configuration possibility Axis 1 Axis 2 Axis 3 Axis 4 Basic parameter area 0 to 15 150 to 165...
  • Page 347 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Buffer memory address Writing Buffer memory area configuration possibility Axis 1 Axis 2 Axis 3 Axis 4 30100 to 30300 to 30500 to 30700 to Basic setting parameter area 30115 30315 30515 30715 Gain •...
  • Page 348 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q MEMO 7 - 7...
  • Page 349: Data Transmission Process

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.2 Data transmission process The data is transmitted between the QD75MH memories with steps (1) to (10) shown below. The data transmission patterns numbered (1) to (10) on the right page correspond to the numbers (1) to (10) on the left page.
  • Page 350 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (1) Transmitting data when power is turned ON or PLC CPU is reset When the power is turned ON or the PLC CPU is reset, the "parameters", "positioning data" and "block start data" stored (backed up) in the flash ROM is transmitted to the buffer memory.
  • Page 351 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (3) Validate parameters when PLC READY signal [Y0] changes from OFF to ON When the PLC READY signal [Y0] changes from OFF to ON, the data stored in the buffer memory's "parameter area (a) 2"...
  • Page 352 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q MEMO 7 - 11...
  • Page 353 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Pheripharal devices (7) Flash ROM request (Write) PLC CPU (6) Flash ROM write (7) Flash ROM request (Write) (Set "1" in Cd.1 with TO command) QD75MH Buffer memory Parameter area (a) Pr.1 to Pr.7 Parameter area (a) Pr.11...
  • Page 354 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (6) Writing the flash ROM by a PLC CPU request ( Cd.1 The following transmission process is carried out by setting "1" in " Flash ROM write request" (buffer memory [1900]). 1) The "parameters", "positioning data (No. 1 to 600)", "block start data (No. 7000 to 7004)"...
  • Page 355 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Ž ü • Ó ‹ @ Š í Pheripharal devices (8) Data read (9) Data write PLC CPU (9) Data write (8) Data read QD75MH Buffer memory Parameter area (a) Pr.1 to Pr.7 Parameter area (a) Pr.11 Pr.24...
  • Page 356 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (8) Reading data from buffer memory to peripheral device ( The following transmission processes are carried out with the [Read from module] from the peripheral device. 1) The "parameters", "positioning data (No. 1 to 600)" and "block start data (No. 7000 to 7004)"...
  • Page 357 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q QD75MH For MR-J3-B Buffer memory Servo parameter area Parameter area (a) Pr.204 Pr.100 Parameter area (b) Positioning data area (No.1 to 600) Block start data area (No.7000 to 7004) Servo parameter area (No.30100 to 30804) Monitor data area Control data area PLC CPU...
  • Page 358 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (10) Transmitting servo parameter from the buffer memory area to servo amplifier ( The servo parameter in the buffer memory area is transmitted to the servo amplifier by the following timing. 1) The servo parameter transmitted to the servo amplifier when communications with servo amplifier start.
  • Page 359 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q How to transfer the servo parameter which wrote it in the flash ROM to servo amplifier Flash ROM writing carried out after the servo parameter is set up in the buffer memory. After that, when the power is turned ON or the PLC CPU is reset, the servo parameters stored in the flash ROM is transmitted to the buffer memory.
  • Page 360 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (b) When the servo parameter " Servo series"="0" is stored flash ROM. Pr.100 Communication start timing to the servo amplifier: The data written from PLC program before the PLC READY signal [Y0] ON (Fig. 7.1 B). Transfer the servo parameter : The data written from PLC program before the...
  • Page 361 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q The data transmission is carried out as shown in the previous pages, but the main method of using this data process is shown below. (Ex.) Setting the positioning data The following methods can be used to set the positioning data. From peripheral device Using sequense program Write positioning data into buffer...
  • Page 362 Section 2 Control Details and Setting Section 2 is configured for the following purposes shown in (1) to (3). (1) Understanding of the operation and restrictions of each control. (2) Carrying out the required settings in each control (3) Dealing with errors The required settings in each control include parameter setting, positioning data setting, control data setting by a PLC program, etc.
  • Page 363 MEMO...
  • Page 364 Chapter 8 OPR Control The details and usage of "OPR control" are explained in this chapter. OPR control includes "machine OPR" that establish a machine OP without using address data, and "fast OPR" that store the coordinates established by the machine OPR, and carry out positioning to that position.
  • Page 365: Outline Of Opr Control

    8 OPR CONTROL MELSEC-Q 8.1 Outline of OPR control 8.1.1 Two types of OPR control In "OPR control" a position is established as the starting point (or "OP") when carrying out positioning control, and positioning is carried out toward that starting point. It is used to return a machine system at any position other than the OP to the OP when the QD75MH issues a "OPR request"...
  • Page 366 8 OPR CONTROL MELSEC-Q CAUTION In the case of the absolute position system, use the PLC program to check the OPR request before performing the positioning operation. Failure to observe this could lead to an accident such as a collision. REMARK OPR request Md.31...
  • Page 367 8 OPR CONTROL MELSEC-Q OPR sub functions Refer to Section 3.2.4 "Combination of QD75MH main functions and sub functions" for details on "sub functions" that can be combined with OPR control. Also refer to Chapter 12 "Control sub functions" for details on each sub function. [Remarks] The following two sub functions are only related to machine OPR.
  • Page 368: Machine Opr

    8 OPR CONTROL MELSEC-Q 8.2 Machine OPR 8.2.1 Outline of the machine OPR operation Important Use the OPR retry function when the OP position is not always in the same direction from the workpiece operation area (when the OP is not set near the upper or lower limit of the machine).
  • Page 369: Machine Opr Method

    8 OPR CONTROL MELSEC-Q 8.2.2 Machine OPR method The method by which the machine OP is established (method for judging the OP position and machine OPR completion) is designated in the machine OPR according to the configuration and application of the positioning method. The following table shows the methods that can be used for this OPR method.
  • Page 370: Opr Method (1): Near-Point Dog Method

    8 OPR CONTROL MELSEC-Q 8.2.3 OPR method (1): Near-point dog method The following shows an operation outline of the "near-point dog method" OPR method. Operation chart The machine OPR is started. (The machine begins the acceleration designated in " Pr.51 OPR acceleration time selection", in the direction designated in "...
  • Page 371 8 OPR CONTROL MELSEC-Q Precautions during operation (1) An error "Start at home position (OP) fault (error code: 201)" will occur if another machine OPR is attempted after a machine OPR completion when the OPR retry function is not set ("0" is set in " Pr.48 OPR retry").
  • Page 372: Opr Method (2): Count Method 1)

    8 OPR CONTROL MELSEC-Q 8.2.4 OPR method (2): Count method 1) The following shows an operation outline of the "count method 1)" OPR method. In the "count method 1)" OPR, the following can be performed: • Machine OPR on near-point dog •...
  • Page 373 8 OPR CONTROL MELSEC-Q Precautions during operation (1) An error "Count method movement amount fault (error code: 206)" will occur Pr.50 and the operation will not start if the " Setting for the movement amount after near-point dog ON" is smaller than the deceleration distance Pr.46 Pr.47 from the "...
  • Page 374: Opr Method (3): Count Method 2)

    8 OPR CONTROL MELSEC-Q 8.2.5 OPR method (3): Count method 2) The following shows an operation outline of the "method 2)" OPR method. The "count method 2)" method is effective when a "zero signal" cannot be received. (Note that compared to the "count method 1)" method, using this method will result in more deviation in the stop position during machine OPR.) Near-point dog is use to the external device connector of the QD75MH.
  • Page 375 8 OPR CONTROL MELSEC-Q Restrictions When this method is used, a deviation will occur in the stop position (OP) compared to other OPR methods because an error of about 1 ms occurs in taking in the near-point dog ON. Precautions during operation (1) An error "Count method movement amount fault (error code: 206)"...
  • Page 376: Opr Method (4): Data Set Method

    8 OPR CONTROL MELSEC-Q 8.2.6 OPR method (4): Data set method The following shows an operation outline of the "Data set method" OPR method. The " Data set method" method is effective when a "Near-point dog" does not used. It can be used with absolute position system. With the data set method OPR, the position where the machine OPR has been carried out, is registered into the QD75MH as the OP, and the current feed value and feed machine value is overwritten to an OP address.
  • Page 377: Fast Opr

    8 OPR CONTROL MELSEC-Q 8.3 Fast OPR 8.3.1 Outline of the fast OPR operation Fast OPR operation Md.21 In a fast OPR, positioning is carried out by a machine OPR to the " Machine feed value" stored in the QD75MH. The following shows the operation during a basic fast OPR start.
  • Page 378 8 OPR CONTROL MELSEC-Q Operation timing and processing time of fast OPR The following shows details about the operation timing and time during fast OPR. Positioning start signal [Y10,Y11,Y12,Y13] [XC,XD,XE,XF] BUSY signal Start complete signal [X10,X11,X12,X13] Standing Standing by In position control Md.26 Axis operation status Positioning operation Fig.
  • Page 379 8 OPR CONTROL MELSEC-Q 8.4 Selection of the OPR setting condition 8.4.1 Outline of the OPR setting condition If executing the home position return (OPR), it is necessary to make sure that the servomotor has been rotated more than one revolution and passed the Z phase (Motor Md.108 reference position signal) and that the zeroing pass signal ( Servo status : b4)
  • Page 380 Chapter 9 Major Positioning Control The details and usage of the major positioning controls (control functions using the "positioning data") are explained in this chapter. The major positioning controls include such controls as "positioning control" in which positioning is carried out to a designated position using the address information, "speed control"...
  • Page 381: Outline Of Major Positioning Controls

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1 Outline of major positioning controls "Major positioning controls" are carried out using the "positioning data" stored in the QD75MH. The basic controls such as position control and speed control are executed by setting the required items in this "positioning data", and then starting that positioning data. The control system for the "major positioning controls"...
  • Page 382 9 MAJOR POSITIONING CONTROL MELSEC-Q Major positioning control Details Da.2 Control system Forward run The control is continued as position control (positioning for speed/position the designated address or movement amount) by turning Speed-position switching control Reverse run ON the "speed-position switching signal" after first carrying speed/position out speed control.
  • Page 383: Data Required For Major Positioning Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.1 Data required for major positioning control The following table shows an outline of the "positioning data" configuration and setting details required to carry out the "major positioning controls". Setting item Setting details Set the method by which the continuous positioning data (Ex: positioning data No. 1, Da.1 Operation pattern No.
  • Page 384: Operation Patterns Of Major Positioning Controls

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.2 Operation patterns of major positioning controls In "major positioning control" (high-level positioning control), " Da.1 Operation pattern" can be set to designate whether to continue executing positioning data after the started positioning data. The "operation pattern" includes the following 3 types. Positioning complete (1) Independent positioning control (operation pattern: 00)
  • Page 385 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT The BUSY signal [XC, XD, XE, XF] turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not be detected in the PLC program. [1] Independent positioning control (Positioning complete) This control is set when executing only one designated data item of positioning.
  • Page 386 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] Continuous positioning control (1) The machine always automatically decelerates each time the positioning is completed. Acceleration is then carried out after the QD75MH command speed reaches 0 to carry out the next positioning data operation. If a dwell time is designated, the acceleration is carried out after the designated time elapses.
  • Page 387 9 MAJOR POSITIONING CONTROL MELSEC-Q [3] Continuous path control (1) Continuous path control (a) The speed is changed without deceleration stop between the command speed of the positioning data currently being run and the speed of the positioning data that will be run next. The speed is not changed if the current speed and the next speed are equal.
  • Page 388 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning continue (11) Dwell time Positioning continue (11) Positioning Address (+) direction complete (00) Address (-) direction Positioning start signal [Y10, Y11, Y12, Y13] Start complete signal [X10, X11, X12, X13] [XC, XD, XE, XF] BUSY signal Positioning complete signal [X14, X15, X16, X17]...
  • Page 389 9 MAJOR POSITIONING CONTROL MELSEC-Q (b) When the operation pattern of the positioning data currently being executed is "continuous path control: 11", and the movement amount of the next positioning data is "0". (c) During operation by step operation. (Refer to Section 12.7.1 "Step function".) (d) When there is an error in the positioning data to carry out the next operation.
  • Page 390 9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Speed handling (a) Continuous path control command speeds are set with each positioning data. The QD75MH then carries out the positioning at the speed designated with each positioning data. (b) The command speed can be set to "–1" in continuous path control. The control will be carried out at the speed used in the previous positioning data No.
  • Page 391 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) Speed switching Pr.19 (Refer to " Speed switching mode".) (a) Standard speed switching mode If the respective command speeds differ in the "positioning data currently being executed" and the "positioning data to carry out the next operation", the machine will accelerate or decelerate after reaching the positioning point set in the "positioning data currently being executed"...
  • Page 392 9 MAJOR POSITIONING CONTROL MELSEC-Q [When the speed cannot change over in P2] [When the movement amount is small during automatic deceleration] When the relation of the speeds is P1 = P4, P2 = P3, P1 < P2. The movement amount required to carry out the automatic deceleration cannot be secured, so the machine immediately stops in a speed ≠...
  • Page 393 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed switching condition If the movement amount is small in regard to the target speed, the current speed may not reach the target speed even if acceleration/deceleration is carried out. In this case, the machine is accelerated/decelerated so that it nears the target speed.
  • Page 394: Designating The Positioning Address

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.3 Designating the positioning address The following shows the two methods for commanding the position in control using positioning data. Absolute system Positioning is carried out to a designated position (absolute address) having the OP as a reference. This address is regarded as the positioning address. (The start point can be anywhere.) Address Start point...
  • Page 395: Confirming The Current Value

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.4 Confirming the current value Values showing the current value The following two types of addresses are used as values to show the position in the QD75MH. These addresses ("current feed value" and "machine feed value") are stored in the monitor data area, and used in monitoring the current value display, etc.
  • Page 396 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) A 1.7ms error will occur in the current value update timing when the stored "current feed value" is used in the control. A 56.8ms error will occur in the current value update timing when the stored "machine feed value"...
  • Page 397: Control Unit "Degree" Handling

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.5 Control unit "degree" handling When the control unit is set to "degree", the following items differ from when other control units are set. [1] Current feed value and machine feed value addresses Md.20 The address of " Current feed value"...
  • Page 398 9 MAJOR POSITIONING CONTROL MELSEC-Q [3] Positioning control method when the control unit is set to "degree" 1) Absolute system (a) When the software stroke limit is invalid Positioning is carried out in the nearest direction to the designated address, using the current value as a reference. (This is called "shortcut control".) Example 1) Positioning is carried out in a clockwise direction when the current value is moved from 315°...
  • Page 399 9 MAJOR POSITIONING CONTROL MELSEC-Q (b) When the software stroke limit is valid The positioning is carried out in a clockwise/counterclockwise direction depending on the software stroke limit range setting method. Because of this, positioning with "shortcut control" may not be possible.
  • Page 400 9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.6 Interpolation control Meaning of interpolation control In "2-axis linear interpolation control", "3-axis linear interpolation control", "4-axis linear interpolation control", "2-axis fixed-feed control", "3-axis fixed-feed control", "4-axis fixed-feed control", "2-axis speed control", "3-axis speed control", "4-axis speed control", and "2-axis circular interpolation control", control is carried out so that linear and arc paths are drawn using a motor set in two to four axis directions.
  • Page 401 9 MAJOR POSITIONING CONTROL MELSEC-Q Setting the positioning data during interpolation control When carrying out interpolation control, the same positioning data Nos. are set for the "reference axis" and the "interpolation axis". The following table shows the "positioning data" setting items for the reference axis and interpolation axis.
  • Page 402 9 MAJOR POSITIONING CONTROL MELSEC-Q Starting the interpolation control The positioning data Nos. of the reference axis (axis in which interpolation control Da.2 was set in " Control system") are started when starting the interpolation control. (Starting of the interpolation axis is not required.) The following errors or warnings will occur and the positioning will not start if both reference axis and the interpolation axis are started.
  • Page 403 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT • When the "reference axis speed" is set during interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the Pr.8 reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 404: Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2 Setting the positioning data 9.2.1 Relation between each control and positioning data The setting requirements and details for the setting items of the positioning data to be Da.2 set differ according to the " Control system".
  • Page 405 9 MAJOR POSITIONING CONTROL MELSEC-Q REMARK • It is recommended that the "positioning data" be set whenever possible with GX Configurator-QP. Execution by PLC program uses many PLC programs and devices. The execution becomes complicated, and the scan times will increase. Major positioning control Other control Current value...
  • Page 406: 1-Axis Linear Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.2 1-axis linear control Da.2 In "1-axis linear control" (" Control system" = ABS linear 1, INC linear 1), one motor is used to carry out position control in a set axis direction. [1] 1-axis linear control (ABS linear 1) Operation chart In absolute system 1-axis linear control, addresses established by a machine OPR are used.
  • Page 407 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 1-axis linear control (INC linear 1) Operation chart In incremental system 1-axis linear control, addresses established by a machine OPR are used. Positioning is carried out from the current stop position (start point Da.6 address) to a position at the end of the movement amount set in "...
  • Page 408: 2-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.3 2-axis linear interpolation control Da.2 In "2-axis linear interpolation control" (" Control system" = ABS linear 2, INC linear 2), two motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 409 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning control. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 410 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis linear interpolation control (INC linear 2) Operation chart In incremental system 2-axis linear interpolation control, addresses established by a machine OPR on a 2-axis coordinate plane are used. Linear interpolation positioning is carried out from the current stop position (start point address) to a Da.6 position at the end of the movement amount set in "...
  • Page 411 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning operation. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 412: 3-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.4 3-axis linear interpolation control Da.2 In "3-axis linear interpolation control" (" Control system" = ABS linear 3, INC linear 3), three motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 413 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning control. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 414 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 3-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 415 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 3-axis linear interpolation control (INC linear 3) Operation chart In the incremental system 3-axis linear interpolation control, using an address established by a machine OPR in the 3-axis coordinate space, a linear interpolation positioning is carried out from the current stop position (start point Da.6 address) to a position at the end of the movement amount set in the "...
  • Page 416 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning operation. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 417 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 3-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 418: 4-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.5 4-axis linear interpolation control Da.2 In "4-axis linear interpolation control" (" Control system" = ABS linear 4, INC linear 4), four motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 419 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis linear interpolation control (ABS linear 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 420 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 4-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 421 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 4-axis linear interpolation control (INC linear 4) Operation chart In the incremental system 4-axis linear interpolation control, using an address established by a machine OPR in the 4-axis coordinate plane, a linear interpolation positioning is carried out from the current stop position (start point address) to a Da.6 position at the end of the movement amount set in the "...
  • Page 422 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis linear interpolation control (INC linear 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 423: 1-Axis Fixed-Feed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.6 1-axis fixed-feed control Da.2 In "1-axis fixed-feed control" (" Control system" = fixed-feed 1), one motor is used to carry out fixed-feed control in a set axis direction. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 424 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example The following table shows setting examples when "1-axis fixed-feed control (fixed- feed 1)" is set in positioning data No. 1 of axis 1. Setting Setting item Setting details example Positioning Set "Positioning complete" assuming the next positioning data will not Da.1 Operation pattern complete be executed.
  • Page 425: 2-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.7 2-axis fixed-feed control (interpolation) Da.2 In "2-axis fixed-feed control" (" Control system" = fixed-feed 2), two motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 426 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis fixed-dimension feed control (fixed-feed 2)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 427: 3-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.8 3-axis fixed-feed control (interpolation) Da.2 In "3-axis fixed-feed control" (" Control system" = fixed-feed 3), three motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 428 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart Md.20 In incremental system 3-axis fixed-feed control, the addresses ( Current feed value) of the current stop position (start addresses) of every axes are set to "0". Linear interpolation positioning is then carried out from that position to a Da.6 position at the end of the movement amount set in "...
  • Page 429 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) An axis error "Continuous path control not possible (error code: 516)" will occur and the operation cannot start if "continuous path control" is set in Da.1 " Operation pattern". ("Continuous path control" cannot be set in fixed- feed control.) Da.2 (2) "Fixed-feed"...
  • Page 430 9 MAJOR POSITIONING CONTROL MELSEC-Q Axis 2 Axis 1 Axis 3 Axis (interpolatio (reference (interpolation n axis) Setting details axis) setting axis) setting setting Setting item example example example Positioning Set "Positioning complete" assuming the next Da.1 Operation pattern – –...
  • Page 431: 4-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.9 4-axis fixed-feed control (interpolation) Da.2 In "4-axis fixed-feed control" (" Control system" = fixed-feed 4), four motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 432 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis fixed-feed control (fixed- feed 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 433: 2-Axis Circular Interpolation Control With Sub Point Designation

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.10 2-axis circular interpolation control with sub point designation In "2-axis circular interpolation control" (" Da.2 Control system" = ABS circular sub, INC circular sub), two motors are used to carry out position control in an arc path passing through designated sub points, while carrying out interpolation for the axis directions set in each axis.
  • Page 434 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases. • Pr.1 When "degree" is set in " Unit setting" • Pr.1 When the units set in " Unit setting" are different for the reference axis and interpolation axis.
  • Page 435 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with sub point designation (ABS circular sub)" is set in positioning data No. 1 of axis 1.
  • Page 436 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis circular interpolation control with sub point designation (INC circular sub) Operation chart In the incremental system, 2-axis circular interpolation control with sub point designation, positioning is carried out from the current stop position (start point Da.6 address) to a position at the end of the movement amount set in "...
  • Page 437 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases. • Pr.1 When "degree" is set in " Unit setting" • Pr.1 When the units set in " Unit setting" are different for the reference axis and interpolation axis.
  • Page 438 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with sub point designation (INC circular sub)" is set in positioning data No. 1 of axis 1.
  • Page 439: 2-Axis Circular Interpolation Control With Center Point Designation

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.11 2-axis circular interpolation control with center point designation Da.2 In "2-axis circular interpolation control" (" Control system" = ABS circular right, INC circular right, ABS circular left, INC circular left), two motors are used to carry out position control in an arc path having a designated center point, while carrying out interpolation for the axis directions set in each axis.
  • Page 440 9 MAJOR POSITIONING CONTROL MELSEC-Q Circular interpolation error compensation In circular interpolation control with center point designation, the arc path calculated from the start point address and arc address may deviate from the position of the end point address set in " Da.6 Positioning address/movement amount".
  • Page 441 9 MAJOR POSITIONING CONTROL MELSEC-Q [1] 2-axis circular interpolation control with center point designation (ABS circular right, ABS circular left) Operation chart In the absolute system, 2-axis circular interpolation control with center point designation, addresses established by a machine OPR on a 2-axis coordinate plane are used.
  • Page 442 9 MAJOR POSITIONING CONTROL MELSEC-Q In circular interpolation control with center point designation, an angular velocity is calculated on the assumption that operation is carried out at a command speed on the arc using the radius calculated from the start point address and center point address, and the radius is compensated in proportion to the angular velocity deviated from that at the start point.
  • Page 443 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with center point designation (ABS right arc, ABS left arc)" is set in positioning data No.
  • Page 444 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis circular interpolation control with center point designation (INC circular right, INC circular left) Operation chart In the incremental system, 2-axis circular interpolation control with center point designation, addresses established by a machine OPR on a 2-axis coordinate plane are used.
  • Page 445 9 MAJOR POSITIONING CONTROL MELSEC-Q In circular interpolation control with center point designation, an angular velocity is calculated on the assumption that operation is carried out at a command speed on the arc using the radius calculated from the start point address and center point address, and the radius is compensated in proportion to the angular velocity deviated from that at the start point.
  • Page 446 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with center point designation (INC circular right, INC circular left)" is set in positioning data No.
  • Page 447: 1-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.12 1-axis speed control In "1-axis speed control" (" Da.2 Control system" = Forward run: speed 1, Reverse run: speed 1), control is carried out in the axis direction in which the positioning data Da.8 has been set by continuously outputting pulses for the speed set in "...
  • Page 448 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 1-axis speed control Md.20 The following table shows the " Current feed value" during 1-axis speed control corresponding to the " Pr.21 Current feed value during speed control" settings. Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 449 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "1-axis speed control (forward run: speed 1)" is set in the positioning data No. 1 of axis 1. Setting Setting item Setting details example Positioning Da.1 Operation pattern...
  • Page 450: 2-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.13 2-axis speed control Da.2 In "2-axis speed control" (" Control system" = Forward run: speed 2, Reverse run: speed 2), control is carried out in the 2-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in " Da.8 Command speed"...
  • Page 451 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 2-axis speed control Md.20 The following table shows the " Current feed value" during 2-axis speed control corresponding to the " Pr.21 Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) "...
  • Page 452 9 MAJOR POSITIONING CONTROL MELSEC-Q (5) An error "No command speed (error code: 503)" occurs if a current speed (-1) Da.8 is set in " Command speed". (6) The software stroke limit check is not carried out when the control unit is set to "degree".
  • Page 453: 3-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.14 3-axis speed control Da.2 In "3-axis speed control" (" Control system" = Forward run: speed 3, Reverse run: speed 3), control is carried out in the 3-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in " Da.8 Command speed"...
  • Page 454 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 3-axis speed control Md.20 The following table shows the " Current feed value" during 3-axis speed control corresponding to the " Pr.21 Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 455 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) When either of three axes exceeds the speed limit, that axis is controlled with the speed limit value. The speeds of the other axes are limited at the ratios of Da.8 " Command speed". (Examples) Axis Axis 1 setting...
  • Page 456 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "3-axis speed control (forward run: speed 3)" is set in the positioning data No. 1 of axis 1 (reference axis). Axis 1 Axis 2 Axis 3 Axis (reference...
  • Page 457: 4-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.15 4-axis speed control Da.2 In "4-axis speed control" (" Control system" = Forward run: speed 4, Reverse run: speed 4), control is carried out in the 4-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in " Da.8 Command speed"...
  • Page 458 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart shows the operation timing for 4-axis speed control with axis 1 as the reference axis. The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control. The "positioning complete signal"...
  • Page 459 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 4-axis speed control Md.20 The following table shows the " Current feed value" during 4-axis speed control corresponding to the " Pr.21 Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 460 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) When either of four axes exceeds the speed limit, that axis is controlled with the speed limit value. The speeds of the other axes are limited at the ratios of Da.8 " Command speed". (Examples) Axis Axis 1...
  • Page 461 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "4-axis speed control (forward run: speed 4)" is set in the positioning data No. 1 of axis 1 (reference axis). Axis 1 Axis 2 Axis 3 Axis 4 Axis...
  • Page 462: Speed-Position Switching Control (Inc Mode)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.16 Speed-position switching control (INC mode) In "speed-position switching control (INC mode)" (" Da.2 Control system = Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in Da.8 " Command speed" are kept output on the axial direction set to the positioning data.
  • Page 463 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart (Fig.9.13) shows the operation timing for speed-position Md.31 switching control (INC mode). The "in speed control flag" ( Status: b0) is turned ON during speed control of speed-position switching control (INC mode). Da.
  • Page 464 9 MAJOR POSITIONING CONTROL MELSEC-Q [Operation example] The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of " Da.2 Control system" "Forward run: speed/position" at " Pr.1 Unit setting"...
  • Page 465 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during speed-position switching control (INC mode) Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd.7 M code OFF request Start complete signal [X10,X11,X12,X13] Standing Md.26 Axis operation status In speed control In position control Standing by...
  • Page 466 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during speed-position switching control (INC mode) The following table shows the " Md.20 Current feed value" during speed-position Pr.21 switching control (INC mode) corresponding to the " Current feed value during speed control" settings. Pr.21 Current feed value during Md.20 Current feed value...
  • Page 467: Speed-Position Switching Control (Abs Mode)

    9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as speed-position switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 468 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT • The machine recognizes the presence of a movement amount change request when the data is Cd.23 written to " Speed-position switching control movement amount change register" with the PLC program. • The new movement amount is validated after execution of the speed-position switching control (INC mode), before the input of the speed-position switching signal.
  • Page 469 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows setting examples when "speed-position switching control (INC mode) by forward run" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details Set "Positioning complete"...
  • Page 470: Speed-Position Switching Control (Abs Mode)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.17 Speed-position switching control (ABS mode) In case of "speed-position switching control (ABS mode)" (" Da.2 Control system = Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in " Da.8 Command speed" are kept output in the axial direction set to the positioning data.
  • Page 471 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart (Fig.9.16) shows the operation timing for speed-position Md.31 switching control (ABS mode). The "in speed control flag" ( Status: b0) is turned ON during speed control of speed-position switching control (ABS mode). Da.
  • Page 472 9 MAJOR POSITIONING CONTROL MELSEC-Q [Operation example] The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of " Da.2 Control system" "Forward run: speed/position" at " Pr.1 Unit setting"...
  • Page 473 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during speed-position switching control (ABS mode) Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd.7 M code OFF request Start complete signal [X10,X11,X12,X13] Standing Md.26 Axis operation status In speed control Standing by In position control...
  • Page 474 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during speed-position switching control (ABS mode) The following table shows the " Md.20 Current feed value" during speed-position Pr.21 switching control (ABS mode) corresponding to the " Current feed value during speed control" settings. "...
  • Page 475 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as speed-position switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 476 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) An axis error (error code: 516) will occur and the operation cannot start if Da.1 "continuous positioning control" or "continuous path control" is set in " Operation pattern". (2) "Speed-position switching control" cannot be set in " Da.2 Control system"...
  • Page 477 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal 360 added 360 added positioning address positioning address positioning address Positioning data setting examples The following table shows setting examples when "speed-position switching control (ABS mode) by forward run" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details...
  • Page 478: Position-Speed Switching Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.18 Position-speed switching control Da.2 In "position-speed switching control" (" Control system" = Forward run: position/speed, Reverse run: position/speed), before the position-speed switching signal is input, position control is carried out for the movement amount set in Da.6 "...
  • Page 479 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart shows the operation timing for position-speed switching control. The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control of position-speed switching control. Da. 8 Command speed Position Speed control control...
  • Page 480 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during position-speed switching control Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd. 7 M code OFF request Start complete signal [X10,X11,X12,X13] In position control Axis operation status Standing by In speed control...
  • Page 481 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during position-speed switching control The following table shows the " Md.20 Current feed value" during position-speed Pr.21 switching control corresponding to the " Current feed value during speed control" settings. " Pr.21 Current feed value during Md.20 Current feed value speed control"...
  • Page 482 9 MAJOR POSITIONING CONTROL MELSEC-Q Position-speed switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as position-speed switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 483 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • The machine recognizes the presence of a command speed change request when the data is Cd.25 written to " Position-speed switching control speed change register" with the PLC program. • The new command speed is validated after execution of the position-speed switching control before the input of the position-speed switching signal.
  • Page 484 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows setting examples when "position-speed switching control (forward run: position/speed)" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details Set "Positioning complete" assuming the next positioning data will not Positioning Da.1 Operation pattern be executed.
  • Page 485: Current Value Changing

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.19 Current value changing When the current value is changed to a new value, control is carried out in which the Md.20 " Current feed value" of the stopped axis is changed to a random address set by the user.
  • Page 486 9 MAJOR POSITIONING CONTROL MELSEC-Q Da.6 (4) If the value set in " Positioning address/movement amount" is outside Pr.12 Pr.13 the software stroke limit ( ) setting range, an error "Software stroke limit +, - (error code: 507 or 508)" will occur at the positioning start, and the operation will not start.
  • Page 487 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] Changing to a new current value using the start No. (No. 9003) for a current value changing Operation chart The current value is changed by setting the new current value in the current value Cd.9 changing buffer memory "...
  • Page 488 9 MAJOR POSITIONING CONTROL MELSEC-Q Setting method for the current value changing function The following shows an example of a PLC program and data setting to change the Md.20 current value to a new value with the positioning start signal. (The " Current feed value is changed to "5000.0 µ...
  • Page 489 9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Add the following PLC program to the control program, and write it to the PLC CPU. Example Current value changing Store new current feed value in D106 and D107 <Pulsate current value changing command> <Write current value changing to the QD75>...
  • Page 490: Nop Instruction

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.20 NOP instruction The NOP instruction is used for the nonexecutable control system. Operation The positioning data No. to which the NOP instruction is set transfers, without any processing, to the operation for the next positioning data No. Positioning data setting examples The following table shows the setting examples when "NOP instruction"...
  • Page 491: Jump Instruction

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.21 JUMP instruction The JUMP instruction is used to control the operation so it jumps to a positioning data No. set in the positioning data during "continuous positioning control" or "continuous path control". JUMP instruction include the following two types of JUMP. (1) Unconditional JUMP When no execution conditions are set for the JUMP instruction (When "0"...
  • Page 492 9 MAJOR POSITIONING CONTROL MELSEC-Q (2) The operation pattern, if set, is ignored in the JUMP instruction. (3) Use unconditional JUMP instructions when setting JUMP instructions at the end of continuous path control/continuous positioning control. When conditional JUMP instructions are set at the end of continuous path control/continuous positioning control, the positioning data of the next positioning data No.
  • Page 493: Loop

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.22 LOOP The LOOP is used for loop control by the repetition of LOOP to LEND. Operation The LOOP to LEND loop is repeated by set repeat cycles. Positioning data setting examples The following table shows the setting examples when "LOOP" is set in positioning data No.
  • Page 494: Lend

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.23 LEND The LEND is used to return the operation to the top of the repeat (LOOP to LEND) loop. Operation When the repeat cycle designated by the LOOP becomes 0, the loop is terminated, and the next positioning data No. processing is started. (The operation pattern, if set to "Positioning complete", will be ignored.) When the operation is stopped after the repeat operation is executed by designated cycles, the dummy positioning data (for example, incremental...
  • Page 495 9 MAJOR POSITIONING CONTROL MELSEC-Q MEMO 9 - 116...
  • Page 496 Chapter 10 High-Level Positioning Control The details and usage of high-level positioning control (control functions using the "block start data") are explained in this chapter. High-level positioning control is used to carry out applied control using the "positioning data". Examples of applied control are using conditional judgment to control "positioning data"...
  • Page 497: Outline Of High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1 Outline of high-level positioning control In "high-level positioning control" the execution order and execution conditions of the "positioning data" are set to carry out more applied positioning. (The execution order and execution conditions are set in the "block start data" and "condition data".) The following applied positioning controls can be carried out with "high-level positioning control".
  • Page 498: Data Required For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1.1 Data required for high-level positioning control "High-level positioning control" is executed by setting the required items in the "block start data" and "condition data", then starting that "block start data". Judgment about whether execution is possible, etc., is carried out at execution using the "condition data"...
  • Page 499: Block Start Data" And "Condition Data" Configuration

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1.2 "Block start data" and "condition data" configuration The "block start data" and "condition data" corresponding to "block No. 7000" can be stored in the buffer memory. (The following drawing shows an example for axis 1.) 50th point Buffer memory Setting item...
  • Page 500 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Set in QD75MH the " block start data" and "condition data" corresponding to the following "block Nos. 7001 to 7004" using GX Configurator-QP or the PLC program. (The following drawing shows an example for axis 1.) th point th point Buffer memory...
  • Page 501: High-Level Positioning Control Execution Procedure

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.2 High-level positioning control execution procedure High-level positioning control is carried out using the following procedure. "High-level positioning control" executes each control Preparation STEP 1 ("major positioning control") set in the positioning data Carry out the "major positioning control" setting. Refer to Chapter 9 with the designated conditions,so first carry out preparations so that "major positioning control"...
  • Page 502: Setting The Block Start Data

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3 Setting the block start data 10.3.1 Relation between various controls and block start data The " block start data" must be set to carry out "high-level positioning control". The setting requirements and details of each " block start data" item to be set differ Da.13 according to the "...
  • Page 503: Block Start (Normal Start)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.2 Block start (normal start) In a "block start (normal start)", the positioning data groups of a block are continuously executed in a set PLC starting from the positioning data set in " Da.12 Start data No." by one start.
  • Page 504 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q [2] Control examples The following shows the control executed when the "block start data" of the 1st point of axis 1 is set as shown in section [1] and started. <1> The positioning data is executed in the following order before stopping. Axis 1 positioning data No.
  • Page 505: Condition Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.3 Condition start In a "condition start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Da.12 Start data No.". If the conditions have been established, the " block start data" set in "1: condition start" is executed.
  • Page 506: Wait Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.4 Wait start In a "wait start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Da.12 Start data No.". If the conditions have been established, the " block start data" is executed. If the conditions have not been established, the control stops (waits) until the conditions are established.
  • Page 507: Simultaneous Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.5 Simultaneous start In a "simultaneous start", the positioning data set in the " Da.12 Start data No." and positioning data of other axes set in the "condition data" are simultaneously executed (pulses are output with the same timing). (The "condition data"...
  • Page 508: Repeated Start (For Loop)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.6 Repeated start (FOR loop) In a "repeated start (FOR loop)", the data between the " block start data" in which "4: FOR loop" is set in " Da.13 Special start instruction" and the "block start data" in which "6: NEXT start"...
  • Page 509: Repeated Start (For Condition)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.7 Repeated start (FOR condition) In a "repeated start (FOR condition)", the data between the " block start data" in which "5: FOR condition" is set in " Da.13 Special start instruction" and the " block start data" in which "6: NEXT start"...
  • Page 510: Restrictions When Using The Next Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.8 Restrictions when using the NEXT start The "NEXT start" is a instruction indicating the end of the repetitions when executing Section 10.3.6 "Repeated start (FOR loop)" and Section 10.3.7 "Repeated start (FOR condition)". The following shows the restrictions when setting "6: NEXT start" in the " block start data".
  • Page 511: Setting The Condition Data

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.4 Setting the condition data 10.4.1 Relation between various controls and the condition data "Condition data" is set in the following cases. (1) When setting conditions during execution of Section 9.2.21 "JUMP instruction" (major positioning control) (2) When setting conditions during execution of "high-level positioning control"...
  • Page 512 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q The setting requirements and details of the following "condition data" " Da.16 " to " Da.19 " setting items differ according to the " Da.15 Condition target" setting. The following shows the " Da.16 " to " Da.19 "...
  • Page 513 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q REMARK The "PLC CPU memo area" can be designated as the buffer memory address to be designated in Da.17 . (Refer to Section 7.1.1 "Configuration and roles of QD75MH memory".) QD75MH buffer memory Address 30000 30001 30099 10 - 18...
  • Page 514: Condition Data Setting Examples

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.4.2 Condition data setting examples The following shows setting examples for "condition data". (1) Setting the device ON/OFF as a condition [Condition] Device "X0" (=QD75 READY) is OFF Da.16 Da.15 Da.17 Da.18 Da.19 Condition Condition target Address Parameter 1 Parameter 2...
  • Page 515: Multiple Axes Simultaneous Start Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.5 Multiple axes simultaneous start control The "multiple axes simultaneous start control" starts and controls the multiple axes simultaneously by outputting pulses to the axis to be started at the same timing as the start axis. The maximum of four axes can be started simultaneously.
  • Page 516 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q [4] Multiple axes simultaneous start control function setting method The following shows the setting of the data used to execute the multiple axes simultaneous start control with positioning start signals (The axis control data on the start axis is set).
  • Page 517 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q POINTS (1) The "multiple axes simultaneous start control" carries out an operation equivalent to the "simultaneous start" using the "block start data". (2) The setting of the "multiple axes simultaneous start control" is easier than that of the "simultaneous start"...
  • Page 518: Start Program For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.6 Start program for high-level positioning control 10.6.1 Starting high-level positioning control To execute high-level positioning control, a PLC program must be created to start the control in the same method as for major positioning control. The following shows the procedure for starting the "1st point block start data"...
  • Page 519: Example Of A Start Program For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.6.2 Example of a start program for high-level positioning control The following shows an example of a start program for high-level positioning control in which the 1st point " block start data" of axis 1 is started. (The block No. is regarded as "7000".) Control data that require setting The following control data must be set to execute high-level positioning control.
  • Page 520 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Start time chart The following chart shows a time chart in which the positioning data No. 1, 2, 10, 11, and 12 of axis 1 are continuously executed as an example. (1) Block start data setting example Da.13 Da.11 Da.12...
  • Page 521 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Creating the program Example Set the block start data beforehand. Positioning start command <Pulse the positioning start command.> M104 M104 <Write the positioning data No. 7000 K1500 K7000 for block positioning.> K1501 <Write the positioning start point No.> <Turn ON the positioning start signal.>...
  • Page 522 Chapter 11 Manual Control The details and usage of manual control are explained in this chapter. In manual control, pulse output commands are issued during a JOG operation and an inching operation executed by the turning ON of the JOG START signal, or from a manual pulse generator connected to the QD75MH.
  • Page 523: Outline Of Manual Control

    11 MANUAL CONTROL MELSEC-Q 11.1 Outline of manual control 11.1.1 Three manual control methods "Manual control" refers to control in which positioning data is not used, and a positioning operation is carried out in response to signal input from an external device. The three types of this "manual control"...
  • Page 524 11 MANUAL CONTROL MELSEC-Q [3] Manual pulse generator operation "Manual pulse generator operation" is a control method in which positioning is carried out in response to the No. of pulses input from a manual pulse generator (the No. of input pulses is output). This operation is used for manual fine adjustment, etc., when carrying out accurate positioning to obtain the positioning address.
  • Page 525: Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2 JOG operation 11.2.1 Outline of JOG operation Important Use the hardware stroke limit function when carrying out JOG operation near the upper or lower limits. (Refer to Section "12.4.4"). * If the hardware stroke limit function is not used, the workpiece may exceed the moving range, causing an accident.
  • Page 526 11 MANUAL CONTROL MELSEC-Q Precautions during operation The following details must be understood before carrying out JOG operation. Cd.17 (1) For safety, first set " JOG speed" to a smaller value and check the movement. Then gradually increase the value. (2) An axis error will occur and the operation will not start (error code: 300) if the "JOG speed"...
  • Page 527 11 MANUAL CONTROL MELSEC-Q JOG operation timing and processing time The following drawing shows details of the JOG operation timing and processing time. Forward run JOG start signal [Y8, YA, YC, YE] Reverse run JOG start signal [Y9, YB, YD, YF] BUSY signal [XC, XD, XE, XF] Standing Md.
  • Page 528: Jog Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.2.2 JOG operation execution procedure The JOG operation is carried out by the following procedure. Preparation One of the following two methods can be used. STEP 1 Set the positioning parameters <Method 1> Pr.1 Pr.39 Refer to Chapter 5 Directly set (write) the parameters in the QD75MH using GX and Section 11.2.3.
  • Page 529: Setting The Required Parameters For Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2.3 Setting the required parameters for JOG operation The "Positioning parameters" must be set to carry out JOG operation. The following table shows the setting items of the required parameters for carrying out JOG operation. When only JOG operation will be carried out, no parameters other than those shown below need to be set.
  • Page 530 11 MANUAL CONTROL MELSEC-Q Factory-set initial value Setting item Setting requirement (setting details) Pr.25 Acceleration time 1 (Unit: ms) 1000 Pr.26 Acceleration time 2 (Unit: ms) 1000 Pr.27 Acceleration time 3 (Unit: ms) 1000 Pr.28 Deceleration time 1 (Unit: ms) 1000 Pr.29 Deceleration time 2 (Unit: ms)
  • Page 531: Creating Start Programs For Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2.4 Creating start programs for JOG operation A PLC program must be created to execute a JOG operation. Consider the "required control data setting", "start conditions" and "start time chart" when creating the program. The following shows an example when a JOG operation is started for axis 1. Cd.17 ("...
  • Page 532 11 MANUAL CONTROL MELSEC-Q Start time chart Forward JOG run Reverse JOG run [Y8] Forward run JOG start signal [Y9] Reverse run JOG start signal [Y0] PLC READY signal [Y1] All axis servo ON [X0] QD75 READY signal [XC] BUSY signal [X8] Error detection signal Fig.
  • Page 533 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No. 10 JOG operation setting program <Set JOG operation speed (100.00mm/min)> <Set a "0" for inching movement amount> <Write JOG operation speed> No.12 JOG operation/inching operation execution program <JOG/inching operation flag ON> <JOG/inching operation termination>...
  • Page 534: Jog Operation Example

    11 MANUAL CONTROL MELSEC-Q 11.2.5 JOG operation example When the "stop signal" is turned ON during JOG operation When the "stop signal" is turned ON during JOG operation, the JOG operation will stop by the "deceleration stop" method. JOG start signals will be ignored while the stop signal is ON. The operation can be started by turning the stop signal OFF, and turning the JOG start signal from OFF to ON again.
  • Page 535 11 MANUAL CONTROL MELSEC-Q When both the "forward run JOG start signal" and "reverse run JOG start signal" are turned ON simultaneously for one axis When both the "forward run JOG start signal" and "reverse run JOG start signal" are turned ON simultaneously for one axis, the "forward run JOG start signal" is given priority.
  • Page 536 11 MANUAL CONTROL MELSEC-Q When the "JOG start signal" is turned ON again during deceleration caused by the ON OFF of the "JOG start signal" When the "JOG start signal" is turned ON again during deceleration caused by the OFF of the "JOG start signal", the JOG operation will be carried out from the time the "JOG start signal"...
  • Page 537 11 MANUAL CONTROL MELSEC-Q When the "JOG start signal" is turned ON immediately after the stop signal OFF (within 100ms) When the "JOG start signal" is turned ON immediately after the stop signal OFF (within 100ms), it will be ignored and the JOG operation will not be carried out. Forward run JOG operation Forward run JOG start signal [Y8, YA, YC, YE]...
  • Page 538: Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3 Inching operation 11.3.1 Outline of inching operation Important When the inching operation is carried out near the upper or lower limit, use the hardware stroke limit function (Refer to Section 12.4.4). If the hardware stroke limit function is not used, the workpiece may exceed the movement range, and an accident may result.
  • Page 539 11 MANUAL CONTROL MELSEC-Q Precautions during operation The following details must be understood before inching operation is carried out. (1) Acceleration/deceleration processing is not carried out during inching operation. (Pulses corresponding to the designated inching movement amount are output at the first control cycle of the QD75MH (1.7ms). The movement direction of inching operation is reversed and, when a backlash compensation is carried out, first pulses corresponding to the backlash amount are output in the first control cycle of the QD75MH and then pulses corresponding to the designated...
  • Page 540 11 MANUAL CONTROL MELSEC-Q Inching operation timing and processing times The following drawing shows the details of the inching operation timing and processing time. Forward run JOG start signal [Y8,YA,YC,YE] Reverse run JOG start signal [Y9,YB,YD,YF] BUSY signal [XC,XD,XE,XF] Md.26 Standing by Inching operation Standing by...
  • Page 541: Inching Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.3.2 Inching operation execution procedure The inching operation is carried out by the following procedure. Preparation One of the following two methods can be used. STEP 1 Set the positioning parameters. <Method 1> Pr.1 Pr.31 Refer to Chapter 5 Directly set (write) the parameters in the QD75MH using GX and Section 11.3.3.
  • Page 542: Setting The Required Parameters For Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3.3 Setting the required parameters for inching operation The "Positioning parameters" must be set to carry out inching operation. The following table shows the setting items of the required parameters for carrying out inching operation. When only inching operation will be carried out, no parameters other than those shown below need to be set.
  • Page 543: Creating A Program To Enable/Disable The Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3.4 Creating a program to enable/disable the inching operation A PLC program must be created to execute an inching operation. Consider the "required control data setting", "start conditions", and "start time chart" when creating the program. The following shows an example when an inching operation is started for axis 1.
  • Page 544 11 MANUAL CONTROL MELSEC-Q Start time chart Forward run inching operation Reverse run inching operation Forward run JOG start signal [Y8] Reverse run JOG start signal [Y9] PLC READY signal [Y0] All axis servo ON [Y1] QD75 READY signal [X0] BUSY signal [XC] Error detection signal [X8] Positioning complete signal [X14]...
  • Page 545 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.11 Inching operation setting program <Set inching movement amount> <Write inching movement amount> No.12 JOG operation/inching operation execution program <JOG/inching operation flag ON> <JOG/inching operation termination> <Execute forward JOG/inching operation> <Execute reverse JOG operation>...
  • Page 546: Inching Operation Example

    11 MANUAL CONTROL MELSEC-Q 11.3.5 Inching operation example When "stop signal" is turned ON during inching operation: If "stop signal" is turned ON during inching operation, the inching operation will be stopped. While the stop signal is turned ON, the JOG start signal is ignored. The inching operation can be re-started when the stop signal is turned OFF and then re-turned ON.
  • Page 547 11 MANUAL CONTROL MELSEC-Q When "JOG start signal" is turned ON when peripheral devices are in the test mode: If "JOG star signal" is turned ON when peripheral devices are in the test mode, the "JOG start signal" will be ignored and inching operation will not be carried out. Inching operation not Forward run inching possible because JOG...
  • Page 548: Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4 Manual pulse generator operation 11.4.1 Outline of manual pulse generator operation Important Create the PLC program so that " Cd.21 Manual pulse generator enable flag" is always set to "0" (disabled) when a manual pulse generator operation is not carried out.
  • Page 549 11 MANUAL CONTROL MELSEC-Q Restricted items A manual pulse generator is required to carry out manual pulse generator operation. Precautions during operation The following details must be understood before carrying out manual pulse generator operation. (1) The speed during manual pulse generator operation is not limited by the Pr.8 "...
  • Page 550 11 MANUAL CONTROL MELSEC-Q REMARK • One QD75MH module can be connected to one manual pulse generator. • The QD75MH module can simultaneously command to the axis 1 to axis 4 servo amplifier by one manual pulse generator. (axis 1 to axis 4 simultaneous operation is possible.) Errors during operation When the operation is stopped by the stroke limit (limit signal OFF), manual pulse generator operation can be performed in the direction in which the limit signal turns...
  • Page 551 11 MANUAL CONTROL MELSEC-Q Position control by manual pulse generator operation In manual pulse generator operation, the position is moved by a "manual pulse generator 1 pulse movement amount" per pulse. The current feed value in the positioning control by manual pulse generator operation can be calculated using the expression shown below.
  • Page 552: Manual Pulse Generator Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.4.2 Manual pulse generator operation execution procedure The manual pulse generator operation is carried out by the following procedure. One of the following two methods can be used. Preparation STEP 1 Set the positioning parameters <Method 1> Pr.1 Pr.24 Refer to Chapter 5...
  • Page 553: Setting The Required Parameters For Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4.3 Setting the required parameters for manual pulse generator operation The "Positioning parameters" must be set to carry out manual pulse generator operation. The following table shows the setting items of the required parameters for carrying out manual pulse generator operation.
  • Page 554: Creating A Program To Enable/Disable The Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4.4 Creating a program to enable/disable the manual pulse generator operation A PLC program must be created to execute a manual pulse generator operation. Consider the "required control data setting", "start conditions" and "start time chart" when creating the program.
  • Page 555 11 MANUAL CONTROL MELSEC-Q Start time chart Forward run Reverse run Pulse input A phase Pulse input B phase [Y0] PLC READY signal [Y1] All axis servo ON [X0] QD75 READY signal [X10] Start complete signal [XC] BUSY signal Error detection signal [X8] Cd.
  • Page 556 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.13 Manual pulse generator operation program <Pulsate manual pulse generator operation command> <Set manual pulse generator input scale per pulse> <Write manual pulse generator operation enable> <Write data for manual pulse generator> <Turn ON manual pulse generator operating flag>...
  • Page 557 11 MANUAL CONTROL MELSEC-Q MEMO 11 - 36...
  • Page 558 Chapter 12 Control Sub Functions The details and usage of the "sub functions" added and used in combination with the main functions are explained in this chapter. A variety of sub functions are available, including functions specifically for machine OPR and generally related functions such as control compensation, etc. More appropriate, finer control can be carried out by using these sub functions.
  • Page 559: Outline Of Sub Functions

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.1 Outline of sub functions "Sub functions" are functions that compensate, limit, add functions, etc., to the control when the main functions are executed. These sub functions are executed by parameter settings, commands from GX Configurator-QP, sub function PLC programs, etc.
  • Page 560 12 CONTROL SUB FUNCTIONS MELSEC-Q Sub function Details This function holds the current value. This function sets the absolute position coordinate in relation to the OP in the Absolute position system function machine movement range, and prevent the OP from being lost even if the power supply is turned OFF to ON.
  • Page 561: Sub Functions Specifically For Machine Opr

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.2 Sub functions specifically for machine OPR The sub functions specifically for machine OPR include the "OPR retry function" and "OP shift function". Each function is executed by parameter setting. 12.2.1 OPR retry function When the workpiece goes past the OP without stopping during positioning control, it may not move back in the direction of the OP although a machine OPR is commanded, depending on the workpiece position.
  • Page 562 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) OPR retry operation when the workpiece is outside the range between the upper and lower limits. 1) When the direction from the workpiece to the OP is the same as the " OPR direction", a Pr.44 normal machine OPR is carried out.
  • Page 563 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Setting the dwell time during an OPR retry The OPR retry function can perform such function as the dwell time using " Pr.57 Dwell time at OPR retry" when the reverse run operation is carried out due to detection by the limit signal for upper and lower limits and when the machine OPR is executed after the near point dog is turned OFF to stop the operation.
  • Page 564 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precaution during control (1) The following table shows whether the OPR retry function may be executed Pr.43 by the " OPR method". Pr.43 OPR method Execution status of OPR retry function Near-point dog method : Execution possible Count method 1) : Execution possible...
  • Page 565: Op Shift Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.2.2 OP shift function When a machine OPR is carried out, the OP is normally established using the near- point dog, stopper, and zero signal. However, by using the OP shift function, the machine can be moved a designated movement amount from the position where the zero signal was detected.
  • Page 566 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Setting range for the OP shift amount Set the OP shift amount within the range from the detected zero signal to the upper/lower limit switches. Setting range of the negative OP Setting range of the positive OP shift amount shift amount Address decrease Address increase...
  • Page 567 12 CONTROL SUB FUNCTIONS MELSEC-Q Pr.47 (2) OP shift operation at the " Creep speed" (When " Pr.56 Speed designation during OP shift" is 1) Pr. 44 OPR direction Pr. 47 Creep When the " Pr. 53 OP speed shift amount" is positive Zero point Machine OPR start When the "...
  • Page 568: Functions For Compensating The Control

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3 Functions for compensating the control The sub functions for compensating the control include the "backlash compensation function", "electronic gear function", and "near pass function". Each function is executed by parameter setting or PLC program creation and writing. 12.3.1 Backlash compensation function The "backlash compensation function"...
  • Page 569 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The feed command of the backlash compensation amount are not added to Md.20 Md.21 the " Current feed value" or " Machine feed value". (2) Always carry out a machine OPR before starting the control when using the backlash compensation function (when "...
  • Page 570: Electronic Gear Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3.2 Electronic gear function The "electronic gear function" adjusts the pulses calculated and output according to the parameters set in the QD75MH with the actual machine movement amount. The "electronic gear function" has the following three functions ( [A] to [C] ). [A] During machine movement, the function increments in the QD75MH values less than one pulse that could not be pulse output, and outputs the incremented amount of pulses when the total incremented value reached one...
  • Page 571 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Basic concept of the electronic gear The electronic gear is an item which determines how many rotations (rotations by how many pulses) the motor must make in order to move the machine according to the programmed movement amount. QD75MH Machine Reduction retio...
  • Page 572 12 CONTROL SUB FUNCTIONS MELSEC-Q (1) For "Ball screw" + "Reduction gear" When the ball screw pitch is 10mm, the motor is the HF-KP (262144 PLS/rev) and the reduction ratio of the reduction gear is 9/44. Machine Reduction ratio 9/44 First, find how many millimeters the load (machine) will travel ( ) when the motor turns one revolution (AP).
  • Page 573 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) When "PLS (pulse)" is set as the control unit When using PLS (pulse) as the control unit, set the electronic gear as follows. AP = "No. of pulses per rotation" AL = "Movement amount per rotation" AM = 1 Example) When the motor is the HF-KP (262144PLS/rev) AP = 262144 ..
  • Page 574 12 CONTROL SUB FUNCTIONS MELSEC-Q Thus, AP, AL and AM to be set are as follows. AP = 180224 …… Pr.2 AP = 180224 … Pr.2 AL = 67.50000 … Pr.3 AL = 0.06750 … Pr.3 AM = 1 ………..… Pr.4 AM = 1000 …….
  • Page 575 12 CONTROL SUB FUNCTIONS MELSEC-Q AL has a significant number to first decimal place, round down numbers to two decimal places. Reduce a fraction in the above result. 24168089 41680896 (AP) AL × AM 2968805.0 (AL) × 1(AM) 2968805.0 Thus, AP, AL and AM to be set are as follows. AP = 41680896 …….
  • Page 576 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] The method for compensating the error When the position control is carried out using the "Electronic gear" set in a parameter, this may produce an error between the command movement amount (L) and the actual movement amount (L'). With QD75MH, this error is compensated by adjusting the electronic gear.
  • Page 577: Near Pass Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3.3 Near pass function When continuous pass control is carried out using interpolation control, the near pass function is carried out. The "near pass function" is a function to suppress the mechanical vibration occurring at the time of switching the positioning data when continuous pass control is carried out using interpolation control.
  • Page 578 12 CONTROL SUB FUNCTIONS MELSEC-Q Precautions during control (1) If the movement amount designated by the positioning data is small when the continuous path control is executed, the output speed may not reach the designated speed. (2) If continuous path control is carried out, the output will suddenly reverse when the reference axis movement direction changes from the positioning data No.
  • Page 579 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) When continuous path control of a circular interpolation is being carried out in the near pass, an address in which the extra movement amount is subtracted from the positioning address of the positioning data currently being executed is replaced by the starting point address of the next positioning data No.
  • Page 580: Functions To Limit The Control

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4 Functions to limit the control Functions to limit the control include the "speed limit function", "torque limit function", "software stroke limit function", "hardware stroke limit function", and "forced stop function". Each function is executed by parameter setting or PLC program creation and writing.
  • Page 581 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control If any axis exceeds " Pr.8 Speed limit value" during 2- to 4-axis speed control, the axis in excess of the speed limit value is controlled at the speed limit value. The speeds of the other axes interpolated are suppressed depending on their command speed ratios.
  • Page 582: Torque Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.2 Torque limit function The "torque limit function" limits the generated torque to a value within the "torque limit value" setting range when the torque generated in the servomotor exceeds the "torque limit value". The "torque limit function" protects the deceleration function, limits the power of the operation pressing against the stopper, etc.
  • Page 583 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control details The following drawing shows the operation of the torque limit function. Each operations PLC READY signal (Y0) All axis servo ON (Y1) Start signal (Y10) Torque limit setting Pr.17 value (26) Torque output setting Cd.101 value (1552) New toruque value...
  • Page 584 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the torque limit function (1) To use the "torque limit function", set the "torque limit value" in the parameters shown in the following table, and write them to the QD75MH. a) The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
  • Page 585 12 CONTROL SUB FUNCTIONS MELSEC-Q Md.35 The following table shows the " Torque limit stored value" of the buffer memory address. Buffer memory address Monitor Monitor item Storage details Axis Axis Axis Axis value The "torque limit value" valid at that time is Torque limit stored 826 926 1026 1126 Md.35...
  • Page 586: Software Stroke Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.3 Software stroke limit function In the "software stroke limit function" the address established by a machine OPR is used to set the upper and lower limits of the moveable range of the workpiece. Movement commands issued to addresses outside that setting range will not be executed.
  • Page 587 12 CONTROL SUB FUNCTIONS MELSEC-Q Md.20 The following drawing shows the differences in the operation when " Current feed value" and " Md.21 Machine feed value" are used in the moveable range limit check. [Conditions] Assume the current stop position is 2000, and the upper stroke limit is set to 5000. Moveable range Md.
  • Page 588 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Software stroke limit check details Processing when Check details an error occurs An error shall occur if the current value 1 is outside the software stroke limit range (Check " Md.20 Current feed value" or " Md.21 Machine feed value".) An "axis error"...
  • Page 589 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Precautions during software stroke limit check (1) A machine OPR must be executed beforehand for the "software stroke limit function" to function properly. (2) During interpolation control, a stroke limit check is carried out for the every current value of both the reference axis and the interpolation axis.
  • Page 590 12 CONTROL SUB FUNCTIONS MELSEC-Q (5) During simultaneous start, a stroke limit check is carried out for the current values of every axis to be started. Every axis will not start if an error occurs, even if it only occurs in one axis. [5] Setting the software stroke limit function To use the "software stroke limit function", set the required values in the parameters shown in the following table, and write them to the QD75MH.
  • Page 591 12 CONTROL SUB FUNCTIONS MELSEC-Q [7] Setting when the control unit is "degree" Current value address The " Current feed value" address is a ring address between 0 and Md.20 359.99999 ° . 359.99999° 359.99999° 0° 0° 0° Fig. 12.16 Current value address when the control unit is "degree". Setting the software stroke limit The upper limit value/lower limit value of the software stroke limit is a value between 0 and 359.99999 °...
  • Page 592: Hardware Stroke Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.4 Hardware stroke limit function DANGER When the hardware stroke limit is required to be wired, ensure to wire it in the negative logic using b-contact. If it is set in positive logic using a-contact, a serious accident may occur. In the "hardware stroke limit function", limit switches are set at the upper/lower limit of the physical moveable range, and the control is stopped (by deceleration stop) by the input of a signal from the limit switch.
  • Page 593 12 CONTROL SUB FUNCTIONS MELSEC-Q (1) For an external input signal of QD75MH Lower limit Upper limit QD75MH control moveable range Mechanical stopper Mechanical stopper Movement Movement Start Start direction direction Deceleration stop at Deceleration stop at lower limit switch detection upper limit switch detection Servo amplifier QD75MH...
  • Page 594 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Wiring the hardware stroke limit When using the hardware stroke limit function, wire the terminals of the QD75MH or servo amplifier (MR-J3-B) upper/lower limit stroke limit as shown in the following drawing. (When " Pr.22 Input signal logic selection"...
  • Page 595 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] When the hardware stroke limit function is not used When not using the hardware stroke limit function, wire the terminals of the QD75MH upper/lower limit stroke limit as shown in the following drawing. Pr.22 When the logic of FLS and RLS is set to "positive logic"...
  • Page 596: Forced Stop Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.5 Forced stop function DANGER When the forced stop is required to be wired, ensure to wire it in the negative logic using b-contact. Provided safety circuit outside the QD75MH so that the entire system will operate safety even when the "...
  • Page 597 12 CONTROL SUB FUNCTIONS MELSEC-Q The following drawing shows the operation of the forced stop function. Forced stop Forced stop causes occurrence causes occurrence Each operation PLC READY signal(Y0) All axis servo ON(Y1) Start signal(Y10) Forced stop input (Input voltage of EMI) Md.50 Forced stiop input Servo status...
  • Page 598 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the forced stop To use the "Forced stop function", set the following data using a PLC program. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0). Setting Setting item Setting details...
  • Page 599: Functions To Change The Control Details

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5 Functions to change the control details Functions to change the control details include the "speed change function", "override function", "acceleration/deceleration time change function" and "torque change function". Each function is executed by parameter setting or PLC program creation and writing.
  • Page 600 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Control details The following drawing shows the operation during a speed change. Speed changes to V2. Speed changes to V3. Operation during positioning by V1. Md. 40 In speed change processing flag Fig. 12.23 Speed change operation [2] Precautions during control (1) Control is carried out as follows at the speed change during continuous path control.
  • Page 601 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) When the stop command was given to make a stop after a speed change that had been made during position control, the restarting speed depends on the " Cd.14 New speed value". Da. 8 Command speed Speed change Cd.
  • Page 602 12 CONTROL SUB FUNCTIONS MELSEC-Q (5) A warning "Deceleration/stop speed change (warning code: 500)" occurs and the speed cannot be changed in the following cases. • During deceleration by a stop command • During automatic deceleration during positioning control (6) A warning "Speed limit value over (warning code: 501)" occurs and the speed is controlled at the "...
  • Page 603 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) The following shows the speed change time chart. Dwell time Positioning start signal [Y10] [Y0] PLC READY signal [Y1] All axis servo ON [X0] QD75 READY signal [X10] Start complete signal [XC] BUSY signal Positioning complete signal [X14] [X8]...
  • Page 604 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the speed change function using an external command signal The speed can also be changed using an "external command signal". The following shows the data settings and PLC program example for changing the control speed of axis 1 using an "external command signal". (In this example, the control speed is changed to "10000.00mm/min".) (1) Set the following data to change the speed using an external command signal.
  • Page 605 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Add the following PLC program to the control program, and write it to the PLC CPU. Example Write 1000000 to D108 and D109. External command [Speed change processing] valid signal DTOP K1514 D108 <Write the new speed. > <Set the external command function selection to external speed change request.
  • Page 606: Override Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.2 Override function The override function changes the command speed by a designated percentage (1 to 300%) for all control to be executed. The speed can be changed by setting the percentage (%) by which the speed is changed in "...
  • Page 607 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precaution during control (1) When changing the speed during continuous path control, the speed change will be ignored if there is not enough distance remaining to carry out the change. (2) A warning "Deceleration/stop speed change (warning code: 500)" occurs and the speed cannot be changed in the following cases.
  • Page 608 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) The following shows a time chart for changing the speed using the override function. Dwell time Positioning start signal [Y10] PLC READY signal [Y0] All axis servo ON [Y1] QD75 READY signal [X0] [X10] Start complete signal [XC] BUSY signal...
  • Page 609: Acceleration/Deceleration Time Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.3 Acceleration/deceleration time change function The "acceleration/deceleration time change function" is used to change the acceleration/deceleration time during a speed change to a random value when carrying out the speed change indicated in Section 12.5.1 "Speed change function". In a normal speed change (when the acceleration/deceleration time is not changed), Pr.9 Pr.10...
  • Page 610 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) When "0" is set in " Cd.10 New acceleration time value" and " Cd.11 deceleration time value", the acceleration/deceleration time will not be changed even if the speed is changed. In this case, the operation will be controlled at the acceleration/deceleration time previously set in the parameters.
  • Page 611 12 CONTROL SUB FUNCTIONS MELSEC-Q (4) If the "new acceleration/deceleration time" is set to "0" and the speed is changed after the "new acceleration/deceleration time" is validated, the operation will be controlled with the previous "new acceleration/deceleration time". Example New acceleration/deceleration time ( Cd.
  • Page 612 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the acceleration/deceleration time change function To use the "acceleration/deceleration time change function", write the data shown in the following table to the QD75MH using the PLC program. The set details are validated when a speed change is executed after the details are written to the QD75MH.
  • Page 613: Torque Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.4 Torque change function The "torque change function" is used to change the torque limit value during torque limiting. Pr.17 The torque limit value during torque limiting is normally the value set in the " Torque limit setting value"...
  • Page 614 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Control details The torque value of the axis control data can be changed at all times. The torque can be limited with a new torque value from the time the new torque value has been written to the QD75MH.
  • Page 615 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control Cd.22 (1) If a value besides "0" is set in the " New torque value", the torque generated by the servomotor will be limited by that value. To limit the torque with the value set in "...
  • Page 616: Absolute Position System

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.6 Absolute position system The QD75MH can construct an absolute position system by installing the absolute position system and connecting it through SSCNET The following describes precautions when constructing the absolute position system. Battery Servomotor QD75MH Servo amplifier Position command...
  • Page 617 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] OPR The absolute position system can establish the location of the OPR, using "Data set method", "Near-point dog" and "Count method" OPR method. In the "Data set method" OPR method, the location to which the location of the OPR position is moved by manual operation (JOG operation/manual pulse generator operation) is treated as the OPR position.
  • Page 618: Other Functions

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7 Other functions Other functions include the "step function", "skip function", "M code output function", "teaching function", "target position change function", "command in-position function", "acceleration/deceleration processing function", "pre-reading start function", " deceleration start flag function" and "stop command processing for deceleration stop function"...
  • Page 619 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Step mode In step operations, the timing for stopping the control can be set. This is called Cd.34 the "step mode". (The "step mode" is set in the control data " Step mode".) The following shows the two types of "step mode" functions. (1) Deceleration unit step The operation stops at positioning data requiring automatic deceleration.
  • Page 620 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Using the step operation The following shows the procedure for checking positioning data using the step operation. (1) Turn ON the step valid flag before starting the positioning data. Cd.35 (Write "1" (carry out step operation) in " Step valid flag".) (2) Set the step mode before starting the positioning data.
  • Page 621 12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Control details (1) The following drawing shows a step operation during a "deceleration unit step". Cd. 35 Step valid flag Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] Positioning No.10...
  • Page 622 12 CONTROL SUB FUNCTIONS MELSEC-Q [6] Precautions during control (1) When step operation is carried out using interpolation control positioning data, the step function settings are carried out for the reference axis. (2) When the step valid flag is ON, the step operation will start from the Md.26 beginning if the positioning start signal is turned ON while "...
  • Page 623: Skip Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.2 Skip function The "skip function" is used to stop (deceleration stop) the control of the positioning data being executed at the time of the skip signal input, and execute the next positioning data. Cd.37 A skip is executed by a skip command ( Skip command) or external command signal.
  • Page 624 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the skip function from the PLC CPU The following shows the settings and PLC program example for skipping the control being executed in axis 1 with a command from the PLC CPU. (1) Set the following data. (The setting is carried out using the PLC program shown below in section (2)).
  • Page 625 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the skip function using an external command signal The skip function can also be executed using an "external command signal". The following shows the settings and PLC program example for skipping the control being executed in axis 1 using an "external command signal". (1) Set the following data to execute the skip function using an external command signal.
  • Page 626: M Code Output Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.3 M code output function The "M code output function" is used to command sub work (clamping, drill rotation, tool replacement, etc.) related to the positioning data being executed. When the M code ON signal (X4, X5, X6, X7) is turned ON during positioning Md.25 execution, a No.
  • Page 627 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) AFTER mode The M code ON signal (X4, X5, X6, X7) is turned ON at the positioning Md.25 completion, and the M code is stored in " Valid M code". Positioning start signal [Y10, Y11, Y12, Y13] [XC, XD, XE, XF] BUSY signal M code ON signal...
  • Page 628 12 CONTROL SUB FUNCTIONS MELSEC-Q Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] M code ON signal [X4, X5, X6, X7] Cd. 7 M code OFF request Md. 25 Valid M code Positioning Da. 1 Operation pattern m1 and m3 indicate set M codes.
  • Page 629 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the M code output function The following shows the settings to use the "M code output function". Da.10 (1) Set the M code No. in the positioning data " M code". (2) Set the timing to output the M code ON signal (X4, X5, X6, X7). Set the required value in the following parameter, and write it to the QD75MH.
  • Page 630: Teaching Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.4 Teaching function The "teaching function" is used to set addresses aligned using the manual control (JOG operation, inching operation manual pulse generator operation) in the positioning data addresses (" Da.6 Positioning address/movement amount", " Da.7 address").
  • Page 631 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) Before teaching, a "machine OPR" must be carried out to establish the OP. Md.20 (When a current value changing, etc., is carried out, " Current feed value" may not show absolute addresses having the OP as a reference.) (2) Teaching cannot be carried out for positions to which movement cannot be executed by manual control (positions to which the workpiece cannot physically move).
  • Page 632 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Teaching procedure The following shows the procedure for a teaching operation. (Interpolation operation with axis 1 as a reference) (1) When teaching to the " Positioning address/movement amount" Da.6 Start Carry out a machine OPR. Move the workpiece to the target position •...
  • Page 633 12 CONTROL SUB FUNCTIONS MELSEC-Q Da.7 (2) When teaching to the " Arc address", then teaching to the " Da.6 Positioning address/movement amount" Start Carry out a machine OPR. Move the workpiece to the circular interpolation sub point using a •...
  • Page 634 12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Teaching program example The following shows a PLC program example for setting (writing) the positioning data obtained with the teaching function to the QD75MH. (1) Setting conditions • When setting the current feed value as the positioning address, write it when the BUSY signal is OFF.
  • Page 635 12 CONTROL SUB FUNCTIONS MELSEC-Q Carry out the teaching operation with the following program. Example No.20 Teaching program Position to the target position with manual operation. <Pulsate teaching command> <Hold teaching command> <Set teaching data> <Set positioning data No.> <Execute teaching> <Turn OFF teaching command memory>...
  • Page 636: Target Position Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.5 Target position change function The "target position change function" is a function to change a target position to a newly designated target position at any timing during the position control (1-axis linear control). A command speed can also be changed simultaneously. The target position and command speed changed are set directly in the buffer Cd.29 memory, and the target position change is executed by "...
  • Page 637 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during operation (1) If the positioning movement direction from the stop position to a new target position is reversed, stop the operation once and then position to the new target position. (Refer to Fig. 12.41 (c).) (2) If a command speed exceeding the speed limit value is set to change the command speed, a warning will be given, and the new command speed will be the speed limit value (warning code: 501).
  • Page 638 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Method of setting target position change function from PLC CPU The following table and chart show the example of a data setting and PLC program used to change the target position of the axis 1 by the command from the PLC CPU, respectively.
  • Page 639 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) The following PLC program is added to the control program, and written to the PLC CPU. Example No.22 Target position change program <Pulsate target position change command> <Hold target position change command> <Set target position change value 300.0 m (address)>...
  • Page 640: Command In-Position Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.6 Command in-position function The "command in-position function" checks the remaining distance to the stop position during the automatic deceleration of positioning control, and sets "1". This flag is called the "command in-position flag". The command in-position flag is used as a front- loading signal indicating beforehand the completion of the position control.
  • Page 641 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) A command in-position width check will not be carried out in the following cases. • During deceleration by a stop command or sudden stop command. • During position control, the operation pattern is "continuous path control" •...
  • Page 642 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the command in-position function To use the "command in-position function", set the required value in the parameter shown in the following table, and write it to the QD75MH. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
  • Page 643: Acceleration/Deceleration Processing Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.7 Acceleration/deceleration processing function The "acceleration/deceleration processing function" adjusts the acceleration/deceleration when each control is executed. Adjusting the acceleration/deceleration processing to match the control enables more precise control to be carried out. There are two acceleration/deceleration adjustment items that can be set: "Acceleration/deceleration time 0 to 3", and "acceleration/deceleration method setting".
  • Page 644 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] "Acceleration/deceleration method setting" control details and setting In the "acceleration/deceleration method setting", the acceleration/deceleration processing method is selected and set. The set acceleration/deceleration processing is applied to all acceleration/deceleration. The two types of "acceleration/deceleration method setting" are shown below. (1) Automatic trapezoidal acceleration/deceleration processing method This is a method in which linear acceleration/deceleration is carried out...
  • Page 645 12 CONTROL SUB FUNCTIONS MELSEC-Q When a speed change request is given during S-pattern acceleration/ deceleration processing, S-pattern acceleration/deceleration processing begins at a speed change request start. When speed change Speed change (acceleration) request is not given Command speed before speed change Speed change request Speed change (deceleration) Fig.
  • Page 646: Pre-Reading Start Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.8 Pre-reading start function The "pre-reading start function" does not output pulses while the execution prohibition flag is ON if a positioning start request is given with the execution prohibition flag ON, and starts servo within 1.1ms after OFF of the execution prohibition flag is detected. The positioning start request is given when the axis is in a standby status, and the execution prohibition flag is turned OFF at the axis operating timing.
  • Page 647 12 CONTROL SUB FUNCTIONS MELSEC-Q The pre-reading start function is effective for the system as shown below. Cutter Cutter shaft Feed shaft Stock Fig. 12.49 System example using pre-reading start function Fig. 12.49 shows a system example which repeats: 1) Feeding a stock with a feed shaft; and 2) Cutting it with a cutter to cut the stock to fixed size.
  • Page 648 12 CONTROL SUB FUNCTIONS MELSEC-Q Feed shaft Start Stop time Start time time Cutter shaft Start time Feed shaft start request Cutter shaft start request Fig. 12.50 Operation timings of system example The cutter shaft starts from the moment the feed shaft has completed feeding the stock "...
  • Page 649 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The time required to analyze the positioning data is up to 4.0ms. (2) After positioning data analysis, the system is put in an execution prohibition flag OFF waiting status. Any change made to the positioning data in the execution prohibition flag OFF waiting status is not reflected on the positioning data.
  • Page 650 12 CONTROL SUB FUNCTIONS MELSEC-Q Pre-reading start function (when dedicated instruction PSTRT1 is used) <Turns ON execution prohibition flag> <Sets 1 to positioning start No.> <Executes positioning start> <Turns OFF execution prohibition flag> <Normal termination of positioning> <Sets error code> <Abnormal termination of positioning>...
  • Page 651: Deceleration Start Flag Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.9 Deceleration start flag function The "deceleration start flag function" turns ON the flag when the constant speed status or acceleration status switches to the deceleration status during position control whose operation pattern is "Positioning complete". This function can be used as a signal to start the operation to be performed by other equipment at each end of position control or to perform preparatory operation, etc.
  • Page 652 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Block start At a block start, this function is valid for only the position control whose operation pattern is "Positioning complete" at the point whose shape has been set to "End". (Refer to Fig. 12.52.) The following table indicates the operation of the deceleration start flag in the case of the following block start data and positioning data.
  • Page 653 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The deceleration start flag function is valid for the control system of "1-axis linear control", "2-axis linear interpolation control", "3-axis linear interpolation control", "4-axis linear interpolation control", "speed-position switching control" or "position-speed switching control".
  • Page 654 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Deceleration start flag function setting method To use the "deceleration start flag function", set "1" to the following control data using a PLC program. The set data is made valid on the rising edge (OFF to ON) of the PLC READY signal [Y0].
  • Page 655: Stop Command Processing For Deceleration Stop Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.10 Stop command processing for deceleration stop function The "stop command processing for deceleration stop function" is provided to set the deceleration curve if a stop cause occurs during deceleration stop processing (including automatic deceleration). This function is valid for both automatic trapezoidal and S-pattern acceleration/deceleration processing methods.
  • Page 656 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Deceleration curve continuation The current deceleration curve is continued after a stop cause has occurred. If a stop cause occurs during automatic deceleration of position control, the deceleration stop processing may be complete before the target has reached the positioning address specified in the positioning data that is currently executed.
  • Page 657 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method To use the "stop command processing for deceleration stop function", set the following control data in a PLC program. The set data are made valid as soon as they are written to the buffer memory. The PLC ready signal [Y0] is irrelevant.
  • Page 658: Speed Control 10 X Multiplier Setting For Degree Axis Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.11 Speed control 10 x multiplier setting for degree axis function The "Speed control 10 x multiplier setting for degree axis function" is executed the positioning control by 10 x speed of the setting value in the command speed and the speed limit value when the setting unit is "degree".
  • Page 659 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Monitor data • Feedrate Md.22 • Current speed Md.27 • Axis feed rate Md.28 • Target speed Md.33 " Pr.83 For the above monitoring data, Speed control 10 x multiplier " setting for degree axis is evaluated whether it is valid for each axis.
  • Page 660: Operation Setting For Incompletion Of Opr Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.12 Operation setting for incompletion of OPR function The "Operation setting for incompletion of OPR function" is provided to select whether positioning control is operated or not, when OPR request flag is ON. This section explains the "Operation setting for incompletion of OPR function" as follows: [1] Control details [2] Precautions during control...
  • Page 661 12 CONTROL SUB FUNCTIONS MELSEC-Q Md.31 (2) When OPR request flag ( Status: b3) is ON, starting Fast OPR will result in an "Home positioning return (OPR) request flag ON" error (error Pr.55 code: 207) despite the setting value of " Operation setting for incompletion of OPR", and Fast OPR will not be performed.
  • Page 662: Servo On/Off

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.8 Servo ON/OFF 12.8.1 Servo ON/OFF The servo amplifiers connected to the QD75MH is executed servo ON or OFF. By establishing the servo ON status with the servo ON command, servo motor operation is enabled. The following two types of servo ON or OFF can be used.
  • Page 663: Follow Up Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.8.2 Follow up function (1) Follow up function The follow up function monitors the number of motor rotations (actual present value) with the servo OFF and reflects the value in the present feed value. Therefore, even if the servomotor rotates while the servo OFF, the servomotor will not just rotate for the quantify of droop pulses the next time the servo turns ON but positioning can be performed from the stop position.
  • Page 664 Chapter 13 Common Functions The details and usage of the "common functions" executed according to the user's requirements are explained in this chapter. Common functions include functions required when using the QD75MH, such as parameter initialization and execution data backup. Read the setting and execution procedures for each common function indicated in this chapter thoroughly, and execute the appropriate function where required.
  • Page 665: Outline Of Common Functions

    13 COMMON FUNCTIONS MELSEC-Q 13.1 Outline of common functions "Common functions" are executed according to the user's requirements, regardless of the control system, etc. These common functions are executed by peripheral devices or using PLC programs. The following table shows the functions included in the "common functions". Means Common function Details...
  • Page 666: Parameter Initialization Function

    13 COMMON FUNCTIONS MELSEC-Q 13.2 Parameter initialization function "The parameter initialization function" is used to return the setting data set in the QD75MH buffer memory and flash ROM to their factory-set initial values. The details shown below explain about the "parameter initialization function". [1] Parameter initialization means [2] Control details [3] Precautions during control...
  • Page 667 13 COMMON FUNCTIONS MELSEC-Q [4] Parameter initialization method (1) Parameter initialization is carried out using the dedicated instruction "PINIT". (Refer to Chapter 14 "Dedicated instructions" for details.) (2) Parameter initialization can also be carried out by the writing of the data shown in the table below to the buffer memory using the TO command/intelligent function device.
  • Page 668: Execution Data Backup Function

    13 COMMON FUNCTIONS MELSEC-Q 13.3 Execution data backup function When the QD75MH buffer memory data is rewritten from the PLC CPU, "the data backed up in the QD75MH flash ROM" may differ from "the data (buffer memory data) for which control is being executed". In cases like these, the data being executed will be lost when the PLC power is turned OFF.
  • Page 669 13 COMMON FUNCTIONS MELSEC-Q [4] Execution data backup method (1) Execution data backup (writing to the flash ROM) is carried out using the dedicated instruction "PFWRT". (Refer to "Chapter 14 Dedicated instructions" for details.) (2) Refer to Section 7.2 "Data transmission process" for the data transmission processing at the backup of the execution data.
  • Page 670: External Signal Selection Function

    13 COMMON FUNCTIONS MELSEC-Q 13.4 External signal selection function When the upper/lower limit signal and near point dog signal is connected, either the external device connector of QD75MH or external input signal of servo amplifier (PIN No. CN3-2, CN3-12, CN3-19) is selected whether use it. The details shown below explain about the "External signal selection function".
  • Page 671: External I/O Signal Logic Switching Function

    13 COMMON FUNCTIONS MELSEC-Q 13.5 External I/O signal logic switching function This function switches the signal logic according to the external equipment connected to the QD75MH or the external input signal (upper/lower limit switch, near-point dog) of the servo amplifier. For the system in which b-contact, upper limit switch, and lower limit switch are not used, the parameter logic setting can be controlled without wiring if it is changed to a "positive logic".
  • Page 672 Chapter 14 Dedicated Instructions The QD75MH dedicated instructions are explained in this chapter. These instructions are used to facilitate the programming for the use of the functions of the intelligent function module. Using the dedicated instructions, the programming can be carried out without being aware of the QD75MH buffer memory address and interlock signal.
  • Page 673: List Of Dedicated Instructions

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.1 List of dedicated instructions The dedicated instructions explained in this Chapter are listed in Table 14.1. Table 14.1 List of dedicated instructions Dedicated Application Outline of functions Reference instruction PSTRT1 PSTRT2 This function starts the positioning control of the designated Positioning start Section 14.4 axis of the QD75MH.
  • Page 674: Pstrt1, Pstrt2, Pstrt3, Pstrt4

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.3 PSTRT1, PSTRT2, PSTRT3, PSTRT4 These dedicated instructions are used to start the positioning of the designated axis. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word...
  • Page 675 14 DEDICATED INSTRUCTIONS MELSEC-Q [Control data] Setting side Device Item Setting data Setting range ( 1) (S)+0 System area – – – The state at the time of completion is stored. (S)+1 Complete status • 0 : Normal completion – System •...
  • Page 676 14 DEDICATED INSTRUCTIONS MELSEC-Q processing processing processing processing PLC program PSTRT instruction execution completion PSTRT instruction When Complete device completed abnormally When Complete state display completed normally device 1 scan [Errors] (1) When an PSTRT instruction is completed abnormally, the error complete signal ((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).
  • Page 677 "Starting number" (device: (S)+2) of the control data. • The instruction for a non-existent axis is specified. (Example: The PSTRT2 instruction is specified when the QD75MH1 is used.) [Program examples] • The following program executes the positioning start of positioning data No. 1 when X100 turns ON.
  • Page 678: Teach1, Teach2, Teach3, Teach4

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.4 TEACH1, TEACH2, TEACH3, TEACH4 These dedicated instructions are used to teach the designated axis. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word K, H, $ –...
  • Page 679 14 DEDICATED INSTRUCTIONS MELSEC-Q [Control data] Setting side Device Item Setting data Setting range ( 1) (S)+0 System area – – – The state at the time of completion is stored. (S)+1 Complete status : Normal completion – System Other than 0 : Abnormal completion (error code)( 2) The address (positioning address/arc address) to which Teaching data the current feed value is written is set.
  • Page 680 • Any value other than 1 to 600 is set to "Positioning No." (device: (S)+3) of the control data. • The instruction for a non-existent axis is specified. (Example: The TEACH2 instruction is specified when the QD75MH1 is used.) 14 - 9...
  • Page 681 14 DEDICATED INSTRUCTIONS MELSEC-Q [Program example] Program to execute the teaching of the positioning data No. 3 of the axis 1 when X39 is turned ON. No. 20 Teaching program Positioned manually to target position. <Teaching command pulse> <Teaching command hold> <Teaching data setting>...
  • Page 682: Pfwrt

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.5 PFWRT These dedicated instructions are used to write the QD75MH parameters, positioning data and block start data to the flash ROM. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others...
  • Page 683 14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) The PFWRT instruction completion can be confirmed using the complete devices ((D)+0) and ((D)+1). (a) Complete device ((D)+0) This device is turned ON by the END processing of the scan for which PFWRT instruction is completed, and turned OFF by the next END processing. (b) Complete state display device ((D)+1) This device is turned ON and OFF according to the state in which PFWRT instruction is completed.
  • Page 684 14 DEDICATED INSTRUCTIONS MELSEC-Q [Precautions] (1) Do not turn ON the power and reset the PLC CPU while parameters, positioning data and block start data are written to the flash ROM using the PFWRT instruction. A parameter error will occur or normal positioning start will become impossible because the parameters, positioning data and block start data are not written normally to the flash ROM.
  • Page 685 14 DEDICATED INSTRUCTIONS MELSEC-Q [Program example] Program used to write the parameters and positioning data stored in the buffer memory to the flash ROM when X3D is turned ON. No. 26 Flash ROM write program <Flash ROM write command pulse> <Flash ROM write command hold>...
  • Page 686: Pinit

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.6 PINIT This dedicated instruction is used to initialize the setting data of the QD75MH. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word K, H, $ –...
  • Page 687 14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) This dedicated instruction is used to return the setting data set in the QD75MH buffer memory and flash ROM to their factory-set data (initial values). Setting data Basic parameters ( Pr.1 to Pr.10 ) Detailed parameters ( Pr.11 to Pr.42 , Pr.80 to Pr.84 ) OPR basic parameters ( Pr.43 to Pr.48 ) OPR detailed parameters ( Pr.49 to Pr.57 )
  • Page 688 14 DEDICATED INSTRUCTIONS MELSEC-Q [Precautions] (1) The PINIT instruction can only be executed when the QD75 READY signal (X0) is turned OFF. When the QD75 READY signal is turned ON, the PINIT instruction cannot be executed. Before executing the PINIT instruction, turn OFF the PLC READY signal (Y0) and then turn OFF the QD75 READY signal.
  • Page 689 14 DEDICATED INSTRUCTIONS MELSEC-Q MEMO 14 - 18...
  • Page 690 Chapter 15 Troubleshooting The "errors" and "warnings" detected by the QD75MH are explained in this chapter. Errors can be confirmed with the QD75MH LED display and peripheral devices. When an error or warning is detected, confirm the detection details and carry out the required measures.
  • Page 691: Error And Warning Details

    15 TROUBLESHOOTING MELSEC-Q 15.1 Error and warning details [1] Errors Types of errors Errors detected by the QD75MH include parameter setting range errors, errors at the operation start or during operation and errors detected by servo amplifier. (1) Errors detected by the QD75MH include parameter setting range errors The parameters are checked when the power is turned ON and at the rising edge (OFF ON) of the PLC READY signal [Y0].
  • Page 692 15 TROUBLESHOOTING MELSEC-Q (4) Types of error codes Error code Classification of errors 001 to 009 Fatal errors 100 to 199 Common errors 200 to 299 OPR or absolute position restoration errors 300 to 399 JOG operation or inching operation errors 500 to 599 Positioning operation errors 800 to 899...
  • Page 693 15 TROUBLESHOOTING MELSEC-Q (3) Servo amplifier detection warnings These are warning that occur at the hardware error such as servo amplifier and servomotor or the inapplicable servo parameters. Error or normality operation can't be executed by waning when warning is left as it is though servo off isn't executed.
  • Page 694 15 TROUBLESHOOTING MELSEC-Q [4] Invalid operations For the following operations, the setting details will be invalidated, and an error or warning will not occur. • Speed change during machine OPR • Speed change before operation (Speed override change, skip command, continuous operation interruption request, target position change request) •...
  • Page 695: List Of Errors

    15 TROUBLESHOOTING MELSEC-Q 15.2 List of errors The following table shows the error details and remedies to be taken when an error occurs. 15.2.1 QD75MH detection error Classification Error Error name Error Operation status at error occurrence of errors code —...
  • Page 696 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — • Check that there is no influence from noise. — — — —...
  • Page 697 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code When the machine home position return (OPR) retry invalid is set, the Start at home near-point dog home position return The machine home position return position (OP) fault (OPR) is started with the home (OPR) is not started.
  • Page 698 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Validate the home position return (OPR) retry function (set value: 1). (Refer to Section 12.2.1) <OPR retry> •...
  • Page 699 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code When the count method 1) or 2) – machine home position return (OPR) Home Illegal near-point dog Home position return (OPR) is not is started, the near-point dog is set to position signal started.
  • Page 700 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 When the count method 1) or 2) – machine home <External input signal selection> position return (OPR) is used, the near-point dog is set to "0: External input signal of QD75MH".
  • Page 701 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • When the parameter "interpolation speed designation method" performs a linear interpolation in setting a "composite speed", the axis movement amount for each positioning data exceeds At start: The system will not operate.
  • Page 702 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 <Positioning address/movement amount> • ABS unit [mm] [PLS] [inch] –2147483648 to 2147483647 Unit [degree] 0 to 35999999 • INC (When software stroke limits are valid) Review the positioning address.
  • Page 703 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code At start: The system will not operate. In the analysis of new current value: • Positioning is carried out at a Current value is not position beyond the software stroke changed.
  • Page 704 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 New current value 1506 1606 1706 1806 1507 1607 1707 1807 At start: Bring the current feed value into the software stroke limit using the manual control operation.
  • Page 705 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The operation pattern set value is 2. • A target position change is requested on those control systems other than ABS1 and INC1. Outside operation •...
  • Page 706 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Correct the operation pattern. (Refer to Section 5.3 Da.1 Same as error codes 515 to 516 Correct the control system. (Refer to Section 5.3 Da.2 Correct the positioning data or change the parameter...
  • Page 707 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The control system setting value is outside the specified limit. • The number of control axes differs from the previous data when At start: The system will not operate. continuous positioning control or During operation: continuous path control is to be...
  • Page 708 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Correct the control system or parameter. (Refer to section 9.1.6, 9.2.20) Same as error codes 515 to 516 •...
  • Page 709 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The condition setting values are not set or outside the setting range. • The condition operator setting values are not set or outside the setting range.
  • Page 710 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — Normalize the block start data. Refer to Section 5.4 "Block start data" <Special start instruction> Correct the instruction code of the special start data. to 06 (Refer to Section 5.4 Da.13...
  • Page 711 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code At start: The system will not operate. During operation: The system decelerates to a The setting value of ABS direction in stop. the unit of degree is as follows. Illegal setting of ABS (Note that, in the continuous direction in unit of...
  • Page 712 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 ABS setting direction in the • Set the ABS setting direction in the unit of degree 0: Shortcut unit of degree within the setting range.
  • Page 713 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code Data is written to the flash ROM Flash ROM exceed continuously 25 times or more from At start: The system will not operate. writing error the PLC program.
  • Page 714 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Review the PLC program so that data is not written continuously to the flash ROM. (Using " Md.19 "...
  • Page 715 15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence The calculation result of the following equation is smaller than 0 or larger than 65536. Backlash The QD75 READY signal (X0) is compensation not turned ON. Pr.11 Pr.2 amount error...
  • Page 716 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Correct the parameters. Pr.11 Pr.2 • " Pr.2 No. of pulses per rotation", 0 ≤ ≤ 65535 " Pr.3 Movement amount per pulse"...
  • Page 717 15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence The detailed parameter 1 "speed- position function selection" is preset to 2 and the following three conditions are Speed-position not satisfied: function selection 1) Unit is "degree". error 2) Software stroke limits are invalid.
  • Page 718 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Speed-position switching control (ABS mode) should satisfy the conditions 1) to 3) given on the left. When 0, 2 speed-position switching control (ABS mode) is not used, set 0 to speed-position function selection and turn the PLC READY signal [Y0] from OFF to ON.
  • Page 719 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The set range of the detailed S-pattern ratio parameter 2 "S-pattern ratio" is outside setting error the setting range. The set range of the detailed Illegal sudden stop parameter 2 "Sudden stop deceleration deceleration time...
  • Page 720 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 1 to 100 1 to 8388608 0, 1 0, 1 0, 1 0 to 10000 After setting the value inside the setting range, turn the PLC READY signal [Y0] from OFF to ON.
  • Page 721 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The set range of the home position return (OPR) basic parameter "Home position return (OPR) speed" is outside the setting range. Home position return •...
  • Page 722 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Set the value inside the setting range. <OPR speed> 1 to 50000000 [PLS/s] • Set the speed to the bias speed at start or higher. 1 to 2000000000 [mm/min or others] (Refer to Section 5.2.5) •...
  • Page 723 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The set range of the home position return (OPR) detailed parameter " Home position return (OPR) torque limit value" is outside the setting Home position return range.
  • Page 724 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 1 to 1000 After setting the value inside the setting range, turn the PLC READY signal [Y0] from OFF to ON. 0, 1 0, 1 —...
  • Page 725: Mr-J3-B Detection Error

    15 TROUBLESHOOTING MELSEC-Q 15.2.2 MR-J3-B detection error There is an error that the same code is used. Confirm the error for details by the indication of the servo amplifier. Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The power supply voltage is low.
  • Page 726 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Reconsider the power supply voltage. — — — — Always Servo amplifier error (2010) occurs if power is switched on after disconnection of the Change the servo amplifier.
  • Page 727 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The encoder connecter (CN2) is disconnected. Communication error occurred 2020 Encoder error 2 Fault in the encoder. between encoder and servo amplifier. Encoder cable fault. (Wire breakage or shot) Power input wires and servomotor power wires are in contact.
  • Page 728 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Connect correctly. — — — — Change the servomotor. Repair or change the cable. Servo amplifier error (2024) occurs if the servo is switched Always on after disconnecting the U, V,...
  • Page 729 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Small acceleration/deceleration time constant caused overshoot to be large. Servo system is instable to cause overshoot. Speed has exceeded the 2031 Overspeed instantaneous permissible speed. Servo The setting value of the electric gear amplifier...
  • Page 730 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Load inertia ratio Increase acceleration/deceleration time constant. 30147 30347 30547 30747 Acceleration time • Reset servo gain to proper value. 12, 13 162, 163 312, 313 462, 463 •...
  • Page 731 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Lead of built-in regenerative brake resistor or regenerative brake option is open or disconnected. Though the regenerative brake option is used, the DRU parameter "...
  • Page 732 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 — — — — Use the regenerative brake option. Set correctly. — — — — • Change lead. —...
  • Page 733 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Command given is greater than the maximum speed of the servomotor. Command Input pulse frequency of command 2035 Noise has entered the SSCNET frequency error pulse is too high.
  • Page 734 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Review operation program. — — — — Take measures against noise. Change QD75MH. Connect the connector of the SSCNET cable.
  • Page 735 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The current exceeded the continuous output current of the servo amplifier. The servo system is unstable, causing hunting. Load exceeded overload protection characteristic of servo amplifier. 2050 Overload 1 Load ratio 300%: 2.5s or more...
  • Page 736 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 • Reduce load. • Review operation pattern. — — — — • Use servomotor that provides larger output.
  • Page 737 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Acceleration/deceleration time constant too small. Torque limit value too small. The deviation between the model Start disabled due to insufficient position and the actual servomotor 2052 Error excessive torque caused drop in power supply...
  • Page 738 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Acceleration time 12, 13 162, 163 312, 313 462, 463 36, 37 186, 187 336, 337 486, 487 38, 39 188, 189 338, 339 488, 489 Increase the...
  • Page 739: List Of Warnings

    15 TROUBLESHOOTING MELSEC-Q 15.3 List of warnings The following table shows the warning details and remedies to be taken when a warning occurs. 15.3.1 QD75MH detection warning Classification Warning Operation status at warning Warning name Warning of warnings code occurrence —...
  • Page 740 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — — — — — — Normalize the start request ON timing. Normalize the start request ON timing. <Restart command>...
  • Page 741 15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence • When input magnification is set at Manual pulse Outside manual The manual pulse generator 1 pulse 1001 or higher: Re-set to 1000. generator pulse generator input magnification is set at 0 or operation...
  • Page 742 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 <Manual pulse generator 1 pulse 1522 1622 1722 1822 Set the manual pulse generator 1 pulse input input magnification> 1523 1623 1723...
  • Page 743 15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence • The command speed is controlled at Outside command The command speed exceeds the the "speed limit value". speed range speed limit. • The "speed limiting flag" turns ON. Teaching is not carried out when the set value is 0 or 601 or more.
  • Page 744 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 For command speed, 1 to 50000000 [PLS/s] refer to Section 5.3 1 to 2000000000 [mm/min or another] "List of positioning data" Speed limit value Set the command speed to within the setting range.
  • Page 745: Mr-J3-B Detection Warning

    15 TROUBLESHOOTING MELSEC-Q 15.3.2 MR-J3-B detection warning Classifica Warning display of tion of Warning name Warning Cause code the servo warnings amplifier Battery cable is open. Open battery Absolute position detection 2102 cable warning system battery voltage is low. Battery voltage fell to 2.8VDC or less. Droop pulses remaining are greater than the in-position range setting.
  • Page 746 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Servo address amplifier status of Check point Corrective action the warning Axis 1 Axis 2 Axis 3 Axis 4 occurrence. Repair cable or battery changed. — — — — Change battery. In-position range Remove the cause of droop pulse occurrence. 30110 30310 30510 30710 Creep speed Reduce creep speed.
  • Page 747 15 TROUBLESHOOTING MELSEC-Q Classifica Warning display of tion of Warning name Warning Cause code the servo warnings amplifier Servo ON signal is turned ON Main circuit of Servo ON signal is turned ON while 2149 while the main circuit power is warning the main circuit power is off.
  • Page 748 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Servo address amplifier status of Check point Corrective action the warning Axis 1 Axis 2 Axis 3 Axis 4 occurrence. Switch on main circuit power. — — — — • Reduce the positioning frequency at the specific positioning address.
  • Page 749: Led Display Functions

    15 TROUBLESHOOTING MELSEC-Q 15.4 LED display functions The states of QD75MH and each axis control can be confirmed by the LEDs located on the front panel of the QD75MH main unit. QD75MH4 Each axis can be monitored by the states of the LEDs. The operation and indications of the LEDs are as shown below.
  • Page 750 Appendices Appendix 1 Functions ......................Appendix- 3 Appendix 1.1 Multiple CPU correspond function............Appendix- 3 Appendix 1.2 The combination of software package for QD75MH and QCPU ..Appendix- 3 Appendix 2 Positioning data (No.1 to 600) List of buffer memory addresses .....Appendix- 4 Appendix 3 Connection with servo amplifiers...............Appendix- 28 Appendix 3.1 Connection of SSCNET cables ............Appendix- 28...
  • Page 751 APPENDICES MELSEC-Q MEMO Appendix - 2...
  • Page 752: Appendix 1 Functions

    APPENDICES MELSEC-Q Appendix 1 Functions Appendix 1.1 Multiple CPU correspond function Refer to the QCPU User's Manual (Multiple CPU system). (SH-080485ENG) Appendix 1.2 The combination of software package for QD75MH and QCPU Refer to the GX Configurator-QP Operating Manual. (SH-080172) Appendix - 3...
  • Page 753: Appendix 2 Positioning Data (No.1 To 600) List Of Buffer Memory Addresses

    APPENDICES MELSEC-Q Appendix 2 Positioning data (No.1 to 600) List of buffer memory addresses (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time code time identi-...
  • Page 754 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 755 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 756 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 757 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 758 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 759 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 760 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 761 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 762 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 763 APPENDICES MELSEC-Q (2) For axis 2 Posi-