Download  Print this page

Mitsubishi Electric Melsec QJ71LP21 Reference Manual

Q corresponding melsecnet/h network system.
Hide thumbs
   
1
2
3
4
5
6
7
8
9
10
11
Table of Contents
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

Advertisement

Q Corresponding MELSECNET/H
Network System
Reference Manual (PLC to PLC network)
-QJ71LP21
-QJ71LP21-25
-QJ71LP21S-25
-QJ71LP21G
-QJ71LP21GE
-QJ71BR11
-QJ71NT11B

Advertisement

Table of Contents

Troubleshooting

   Also See for Mitsubishi Electric Melsec QJ71LP21

   Related Manuals for Mitsubishi Electric Melsec QJ71LP21

   Summary of Contents for Mitsubishi Electric Melsec QJ71LP21

  • Page 1 Q Corresponding MELSECNET/H Network System Reference Manual (PLC to PLC network) -QJ71LP21 -QJ71LP21-25 -QJ71LP21S-25 -QJ71LP21G -QJ71LP21GE -QJ71BR11 -QJ71NT11B...
  • Page 3: Safety Precautions

    • SAFETY PRECAUTIONS • (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals 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 controller system, please read the CPU module user's manual.
  • Page 4 [Design Precautions] CAUTION • Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. [Installation Precautions] CAUTION •...
  • Page 5 [Wiring Precautions] WARNING • Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or damage to the product. CAUTION • Individually ground the FG terminal of the programmable controller with a ground resistance of or less.
  • Page 6 [Setup and Maintenance Precautions] CAUTION • Before performing online operations (especially, program modification, forced output, and operation status change) for the running CPU module in other station from GX Developer via MELSECNET/H, read relevant manuals carefully and ensure the safety. •...
  • Page 7: Conditions Of Use For The Product

    • CONDITIONS OF USE FOR THE PRODUCT • (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 8: Revisions

    REVISIONS The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Dec., 1999 SH(NA)-080049-A First printing Oct., 2000 SH(NA)-080049-B Correction Safety Precautions, Contents, About Manuals, About the Generic Terms and Abbreviations, Chapter 1, Section 1.1, 1.2, Chapter 2, Section 2.1.3, 2.1.4, 2.2.2, 3.1.1, 3.1.2, 3.2, 3.2.1, 3.2.2, 3.3, 3.3.1, 3.3.2, 3.3.3, 4.1, 4.2, 4.3.1, 4.3.2, 4.5, 4.5.1, 4.5.2, 4.5.3, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1, 4.8.2, 4.8.3, 4.8.4, Chapter 5, Section 5.1,...
  • Page 9 The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Jun., 2004 SH(NA)-080049-F · The contents of function version D were added. · The entire manual was reviewed. Oct., 2004 SH(NA)-080049-G Mode addition MELSECNET/H Extended Mode Correction Safety Precautions, Product Configuration, Section 1.1, 1.2, 2.1.2, 2.2,...
  • Page 10 The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Jan., 2009 SH(NA)-080049-L Mode addition QJ71NT11B Correction SAFETY PRECAUTIONS, COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES, GENERIC TERMS AND ABBREVIATIONS, PACKING LIST, Section 1.1 to 1.3, 2.1.1, 2.1.2, 2.1.4, 2.2, 2.2.3, 3.1.1 to 3.1.3, 3.2.2, 3.3.2, 3.3.3, 4.1 to 4.3, 4.5, 4.5.1 to 4.5.3, 4.7.1, 4.7.2, 4.8, 4.8.2, Chapter 5, Section 5.1, 5.2.5, 5.4, 5.7.1, 6.1.1, 6.4, 7.1 to 7.3, 7.4.1, 7.4.2, 7.4.5, 7.5.5, 7.9, 7.10.2, 8.2, 8.2.1 to 8.2.4, 8.3,...
  • Page 11 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 12: Table Of Contents

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC-Q series programmable controller. Before using the product, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller to handle the product correctly.
  • Page 13 3.3.3 Reducing the link refresh time ......................3- 47 3.3.4 Reduction of the link scan time ....................... 3- 52 3.3.5 Control station shift time ........................3- 52 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION 4- 1 to 4-45 4.1 Procedures Before Starting the Operation .................... 4- 4.2 Part Names and Settings ........................
  • Page 14 5.2.7 Example of parameter settings ....................... 5- 13 5.3 Common Parameters (Network Range Assignment Screen) .............. 5- 14 5.3.1 Send range for each station (LB/LW settings) ................5- 14 5.3.2 Send range for each station (LX/LY settings) ................5- 15 5.3.3 Specification of the I/O master station ....................
  • Page 15 7.4.5 (3) Requesting transient transmission to other stations (J(P)/G(P).REQ) ........7- 72 7.4.5 (4) Reading/writing word devices of other stations (J(P).ZNRD, J(P).ZNWR) ......7- 82 7.4.5 (5) Remote RUN/Remote STOP (Z(P).RRUN, Z(P).RSTOP) ............7- 91 7.4.5 (6) Reading and writing clock data of other station CPU modules (Z(P).RTMRD, Z(P).RTMWR) .................................
  • Page 16 8.3.2 Error code list........................... 8- 39 8.4 H/W Information ............................. 8- 49 APPENDICES App- 1 to App-42 Appendix 1 Comparison of Network Module Specifications, and Compatibility ........App- Appendix 1.1 List of comparison between MELSECNET/H and MELSECNET/H Extended mode and MELSECNET/10 mode specifications ........App- Appendix 1.2 Upgraded functions of the network module ..............
  • Page 17: Manuals

    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES Method of ensuring compliance To ensure that Mitsubishi Electric programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
  • Page 18: Generic Terms And Abbreviations

    GENERIC TERMS AND ABBREVIATIONS Generic term/abbreviation Description of generic term/abbreviation Abbreviation for the QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, and QJ71LP21GE QJ71LP21 MELSECNET/H network modules. However, QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, and QJ71LP21GE are used in this manual to indicate special machine types QJ71BR11 Abbreviation for the QJ71BR11 MELSECNET/H network module QJ71NT11B...
  • Page 19 Generic term/abbreviation Description of generic term/abbreviation SEND Abbreviation for JP.SEND and GP.SEND RECV Abbreviation for JP.RECV and GP.RECV READ Abbreviation for JP.READ and GP.READ SREAD Abbreviation for JP.SREAD and GP.SREAD WRITE Abbreviation for JP.WRITE and GP.WRITE SWRITE Abbreviation for JP.SWRITE and GP.SWRITE Abbreviation for J.REQ, JP.REQ, G.REQ and GP.REQ ZNRD Abbreviation for J.ZNRD and JP.ZNRD...
  • Page 20: Definitions Of Terminology

    DEFINITIONS OF TERMINOLOGY Term Description A function by which data are periodically exchanged among stations on the network using Cyclic transmission link devices A function of communication with another station, which is used when requested by a Transient transmission dedicated instruction or GX Developer Link dedicated instruction Dedicated instruction used for transient transmission.
  • Page 21: Packing List

    PACKING LIST Model name Part name Quantity QJ71LP21 MELSECNET/H Network Module QJ71LP21 (optical loop type) QJ71LP21-25 MELSECNET/H Network Module QJ71LP21-25 (optical loop type) QJ71LP21S-25 MELSECNET/H Network Module QJ71LP21S-25 (optical loop type, with external power supply function) QJ71LP21G MELSECNET/H Network Module QJ71LP21G (optical loop type) QJ71LP21GE MELSECNET/H Network Module...
  • Page 22: Overview

    OVERVIEW MELSEC-Q 1 OVERVIEW The MELSECNET/H network system includes a PLC to PLC network for communicating between the control station and normal stations, and a remote I/O network for communicating between the remote master station and remote I/O stations. This manual is used for configuring PLC to PLC networks on MELSECNET/H network systems (hereinafter abbreviated as MESECNET/H.) When configuring a remote I/O network using MELSECNET/H, refer to Q corresponding MELSECNET/H Network System Reference Manual (Remote I/O...
  • Page 23 OVERVIEW MELSEC-Q Control station (MELSECNET/10 mode) Control station (MELSECNET/H mode) Q25HCPU GX Developer Remote master station MELSECNET/10 MELSECNET/H (25Mbps) PLC to PLC network remote I/O network Q25HCPU Normal station Normal Normal MELSECNET/H (10Mbps) station station PLC to PLC network Remote I/O QnACPU AnUCPU station...
  • Page 24 OVERVIEW MELSEC-Q The table below shows the CPU modules that can be combined for use on each network. Network to be connected Type of networks that can MELSECNET/10 MELSECNET/H module be used with CPU PLC to PLC network PLC to PLC network MELSECNET/H (10 Mbps) (MESLECNET/10 mode)
  • Page 25: Features

    OVERVIEW MELSEC-Q 1.2 Features The MELSECNET/H is designed to provide higher processing speed, more capacity, and more functionality while maintaining the connectivity with the MELSECNET/10; it is easier to use than ever in combination with GX Developer. Furthermore, the MELSECNET/H has the following features that were not available with the conventional MELSECNET (II) and MELSECNET/B data link systems.
  • Page 26 OVERVIEW MELSEC-Q Large-scale and flexible system configuration The link device has a larger capacity: 16384 points for the link relay (LB) and 16384 points for the link register (LW). (Refer to Section 3.1.1) The maximum number of link points per station has been increased. By selecting the network type, the maximum number of link points per station can be increased.
  • Page 27 OVERVIEW MELSEC-Q By installing multiple network modules, N:N communication (transient transmission) with destination stations on eight network systems that use the programmable controllers as relay stations can be performed using the routing function. (Refer to Section 7.4.2, "Routing Function.") Transient transmission using the routing function can be performed not only in a system composed of MELSECNET/H networks but also in a system that contains CC-Link IE Controller Network, CC-Link IE Field Network and/or MELSECNET/10 networks.
  • Page 28 OVERVIEW MELSEC-Q Providing various communication services Transient transmission can be performed by designating a channel number (1 to 64) of the receiving station. This function allows to set (change) the channel numbers arbitrarily with the sequence programs and to perform transmission to multiple stations with the same channel number at one time.
  • Page 29 OVERVIEW MELSEC-Q The interrupt sequence program of the host's CPU module can be started up using the event issue function. This function reduces the response time of the system and process real-time data receiving. (Refer to Section 7.5, "Starting Up the Interrupt Sequence Program.") CPU module Network module MELSECNET/H...
  • Page 30 OVERVIEW MELSEC-Q By using the station detach function (coaxial bus system and twisted bus system), even when some of the connected stations are down due to power off, etc., the normal communication can be continued among other operational stations. When an error occurs in a normal network due to disconnection, etc. the data link can be continued by switching to link data refresh on the standby network if two network modules, a regular module and a standby module, are installed for each programmable controller CPU (High Performance...
  • Page 31 OVERVIEW MELSEC-Q Enhancement and compatibility of the network functions Because of the 32-bit data assurance, data with double word precision (32 bits) can be assured without an interlock. (Refer to Section 6.2.1, "32-bit data assurance.") CPU module Network module device W Updated part Refresh A of refresh A...
  • Page 32 OVERVIEW MELSEC-Q By using the MELSECNET/10 mode (functional compatibility and performance compatibility mode), the MELSECNET/H can be used together with the conventional network modules to easily install a programmable Controller Network system. To use the MELSECNET/H in the MELSECNET/10 mode (functional compatibility and performance compatibility mode), please refer to the "For QnA/Q4AR MELSECNET/10 Network System Reference Manual".
  • Page 33 OVERVIEW MELSEC-Q Troubleshooting process has been simplified through system monitoring. (System monitor/error code display) Displays the latest error code. Displays error history. Displays the description and corrective action of the error code selected in error history. After assigning the refresh parameters and inter-link data transfer devices to a network system in which multiple network modules are installed, duplicate device settings can easily be checked with [Assignment image diagram].
  • Page 34 OVERVIEW MELSEC-Q Redundant system configuration Network modules can be dualized. A system containing a network module can be dualized (redundant system) by installing another network module and using redundant CPUs. In case of an error in the control system CPU or a network module, the redundant system including double network modules switches the control system to the standby system, allowing system control and data linking to be continued on the standby system.
  • Page 35: Symbols Used In This Manual

    OVERVIEW MELSEC-Q 1.3 Symbols Used in This Manual Symbols Symbol Name Control station Normal station (Station that can serve as a control station) Symbol format Group number (1 to 32): G Station number (1 to 64) Symbol Network number (1 to 239) [Example] Network No.
  • Page 36: System Configuration

    SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains system configurations available with the MELSECNET/H. 2.1 MELSECNET/H Network Configurations This section describes network configurations available with the MELSECNET/H. 2.1.1 Single network system A single network system is the system where the control station and normal stations are connected with any of the following cables.
  • Page 37 SYSTEM CONFIGURATION MELSEC-Q Twisted bus system In the twisted bus system, 1 control station and 31 normal stations (a total of 32 stations) can be connected. Any station number can be assigned as the control station. Note that, only 1 station can be assigned as the control station per system. Station No.32 Station No.1 Station No.2...
  • Page 38: Redundant System (redundant Cpu)

    SYSTEM CONFIGURATION MELSEC-Q 2.1.2 Redundant system (Redundant CPU) The redundant system refers to a system where a system including a network module is dualized by connecting another network module to another redundant CPU (redundant system). If failure of the control system CPU or a network module occurs, the redundant system switches the control system to the standby system, allowing system control and data linking to be continued on the standby system.
  • Page 39: Simple Dual-structured System (high Performance Model Qcpu And Process Cpu)

    SYSTEM CONFIGURATION MELSEC-Q 2.1.3 Simple dual-structured system (High Performance model QCPU and Process CPU) In a simple dual-structured system, "regular" and "standby" network modules are installed in each CPU module, so that if the regular network is down, the data link can still be continued by switching to the standby network through link data refresh.
  • Page 40: Multiple Network System (high Performance Model Qcpu, Process Cpu, Redundant Cpu, And Universal Model Qcpu)

    SYSTEM CONFIGURATION MELSEC-Q 2.1.4 Multiple network system (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) What is multiple network system The multiple network system is a network system in which multiple networks are connected via relay stations. Duplicated setting of a network number is not allowed.
  • Page 41: Applicable Systems

    SYSTEM CONFIGURATION MELSEC-Q 2.2 Applicable Systems This section describes the applicable systems. No. of mountable modules is the maximum number of mountable network modules with CC-Link IE Controller Network. Applicable modules and base units, and number of mountable modules When mounted with a CPU module Refer to the user’s manual for the CPU module used.
  • Page 42 SYSTEM CONFIGURATION MELSEC-Q Compatible network modules Available network types and systems vary depending on the function version of the network module. (a) When optical loop system or coaxial bus system is used MELSECNET/H mode MELSECNET/H Extended mode MELSECNET/10 mode Single CPU system Function version A or later Basic model QCPU Multiple CPU system...
  • Page 43 SYSTEM CONFIGURATION MELSEC-Q Compatible software packages (when using GX Developer) The systems using network modules and compatible software packages are shown in the table below. (a) When the optical loop system or coaxial bus system is used MELSECNET/H mode MELSECNET/H Extended mode MELSECNET/10 mode Single CPU system Version 7 or later...
  • Page 44: Precautions When Using Link Dedicated Instructions

    SYSTEM CONFIGURATION MELSEC-Q 2.2.1 Precautions when using link dedicated instructions When accessing to other stations from MELSECNET/H network modules (who issue the request) with function version B or later upon link dedicated instructions, the handling methods are different depending on the module of the target station. The handling methods for each module of the target station are explained below.
  • Page 45 SYSTEM CONFIGURATION MELSEC-Q Instructions added for function version B Target station CC-Link IE CC-Link IE MELSECNET/ MELSECNET/ Q series Request issued by Controller Field Network H network 10 network Ethernet Network module module module module module RRUN, RSTOP, RTMRD, RTMWR : Processed normally.
  • Page 46: Precautions When Using Network Modules In The Multiple Cpu System

    SYSTEM CONFIGURATION MELSEC-Q 2.2.2 Precautions when using network modules in the multiple CPU system Pay attention to the following points when configuring a MELSECNET/H network system with a multiple CPU system. Set the network parameters in the control CPU that controls the network modules.
  • Page 47 SYSTEM CONFIGURATION MELSEC-Q (3) Precautions for execution of transient transmission (a) Access range of GX Developer When connecting GX Developer to a CPU module and accessing other stations, it is possible for GX Developer to access up to the 8 network systems whether the relay stations on the multiple CPU system are control or non-control CPUs.
  • Page 48 SYSTEM CONFIGURATION MELSEC-Q (b) Setting routing parameters If different control CPUs are set to relay stations, set the same routing parameter to each of the control CPUs. The following illustration shows a setting example where transient data are transmitted from 1Mp1 to 3Ns2. QCPU QCPU 1Mp1...
  • Page 49 SYSTEM CONFIGURATION MELSEC-Q Data cannot be transferred between data links with data link transmission parameters if the control CPUs of the network modules on the multiple CPU system are different. To transfer data to another network, use the CPU shared memory. Transmission between data links possible Transmission between data links not possible CPU No.2 is a...
  • Page 50 SYSTEM CONFIGURATION MELSEC-Q Precautions for executing a link dedicated instruction to a multiple CPU system (Group specification, All stations) If a WRITE/SWRITE, REQ, RRUN/RSTOP or RTMWR instruction is issued under the following conditions (a), it may not be executed on some stations depending on the system configuration (Control CPU setting) of the target multiple CPU system.
  • Page 51 SYSTEM CONFIGURATION MELSEC-Q When all of the following conditions from a) to d) are met, use a MELSECNET/H module whose serial number (first five digits) is "10042" or later. (a) A multiple CPU system containing a Built-in Ethernet port QCPU is configured.
  • Page 52: List Of Functions For Each Cpu Module

    SYSTEM CONFIGURATION MELSEC-Q 2.2.3 List of functions for each CPU module The available functions of the MELSECNET/H depend on the CPU module with which a network module is mounted. 1)High Performance model QCPU, Process CPU 2)Basic model QCPU 3)Redundant CPU 4)Universal model QCPU 5)Safety CPU CPU module...
  • Page 53: Checking Serial Number And Function Version

    SYSTEM CONFIGURATION MELSEC-Q 2.3 Checking Serial Number and Function Version The serial number and function version of the network module can be checked on the rating plate, front of the module, or system monitor window in GX Developer. (1) Checking on the rating plate The rating plate is located on the side of the network module.
  • Page 54 SYSTEM CONFIGURATION MELSEC-Q (3) Checking on the System Monitor screen (Product Information List) To display the system monitor, select [Diagnostics] [System monitor] Product Inf. List button of GX Developer. Function version Serial No. Product No. (a) Production number display Since the network module does not support the production number display, "-"...
  • Page 55: Specifications

    SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS This chapter explains the performance specifications and function specifications of the network modules as well as the specifications of the send/receive processing time of the link data. For details of the general specifications, refer to the QCPU User's Manual (Hardware Design, Maintenance and Inspection).
  • Page 56 SPECIFICATIONS MELSEC-Q Optical loop system Item QJ71LP21 QJ71LP21-25 QJ71LP21S-25 QJ71LP21G QJ71LP21GE By noise simulator of 500Vp-p noise External Power voltage, Noise immunity Supply 1s noise width, and 25 to 60Hz noise frequency Internal current consumption (5VDC) 0.55 A 98mm 98mm 98mm 55.2mm External dimensions...
  • Page 57 SPECIFICATIONS MELSEC-Q (2) Performance specifications of the coaxial bus system Coaxial bus system Item QJ71BR11 LX/LY 8192 points Maximum number of 16384 points (8192 points in the MELSECNET/10 mode) link points per network 16384 points (8192 points in the MELSECNET/10 mode) •...
  • Page 58 SPECIFICATIONS MELSEC-Q (3) Performance specifications of the twisted bus system Twisted bus system Item QJ71NT11B LX/LY 8192 points Maximum number of 16384 points link points per network 16384 points • MELSECNET/H mode LW)}  2000 bytes {(LY + LB) / 8 + (2 Maximum number of link points per station •...
  • Page 59: Optical Fiber Cable Specifications

    A technical skill and a special tool are needed when connecting an optical fiber cable to an exclusive connector. Optical fiber cables with connectors are available from Mitsubishi Electric System & Service Co. Ltd. (Catalogs of the optical fiber cables are also available.) For cabling, consult your local Mitsubishi Electric System &...
  • Page 60: Coaxial Cable Specifications

    SPECIFICATIONS MELSEC-Q 3.1.3 Coaxial cable specifications The following table lists the specifications of the coaxial cables used for the coaxial bus system. Use the following high frequency coaxial cables: • 3C-2V (JIS C 3501 compliant) • 5C-2V (JIS C 3501 compliant) •...
  • Page 61 SPECIFICATIONS MELSEC-Q (2) Connecting the coaxial cable connectors The following section explains how to connect the BNC connector (the connector plug for the coaxial cable) to the cable. Using a BNC connector manufactured by DDK Ltd. The following explains how to connect the BNC-P-3-NiCAu or BNC-P-5- NiCAu to the cable.
  • Page 62 SPECIFICATIONS MELSEC-Q Solder the contact to the internal conductor. Solder here Insert the connector assembly shown in (4) into the plug shell and screw the nut into the plug shell. POINT (1) Note the following precautions when soldering the internal conductor and contact.
  • Page 63 SPECIFICATIONS MELSEC-Q Using a BNC connector manufactured by Canare Electric Co., Ltd. The following explains how to connect the BCP-C3B, BCP-C5B, or BCP- C5FA to the cable.  Structure of the BNC connector and coaxial cable  How to connect the BNC connector and the coaxial cable Thread a coaxial cable through a crimping sleeve as shown in the figure below.
  • Page 64 SPECIFICATIONS MELSEC-Q After the crimp, check the crimp height of the crimp part. When the crimp height at the measurement position is between 1.4mm and 1.5mm, the pin is properly crimped. If the crimp height is not between 1.4mm and 1.5mm, adjust the crimp tool and crimp the center contact pin again.
  • Page 65: Shielded Twisted Pair Cable Specifications

    SPECIFICATIONS MELSEC-Q 3.1.4 Shielded twisted pair cable specifications The following shows the specifications of a shielded twisted pair cable used in the twisted bus system. Shielded twisted pair cables that satisfy the following specifications can also be used even not introduced. (1) Shielded twisted pair cable specifications The following table lists the shielded twisted pair cable specifications.
  • Page 66 Product name Model Manufacturer Remarks Solderless terminal FA-VTC125T9 0.3 to 1.65mm For inquiries and orders, please contact your local Mitsubishi Electric Engineering Tool dedicated for FA-NH65A Co., Ltd representative. solderless terminal Solderless terminal TE0.5-10 0.3 to 0.5mm For inquiries and orders, please contact your local NICHIFU TERMINAL MFG.
  • Page 67: Cc-link Ver. 1.10-compatible Cable Specifications

    The following CC-Link Ver. 1.10-compatible cables can be used. Product name Model Manufacturer CC-Link Ver. 1.10- FANC-110SBH Mitsubishi Electric System & Service Co., Ltd. compatible cable FA-CBL200PSBH Mitsubishi Electric Engineering Co., Ltd. (2) Connection of a solderless terminal to the Version 1.10 compatible CC-Link dedicated cable For connection method of a solderless terminal and the cable, refer to Section 3.1.4 (2).
  • Page 68: Function Specifications

    SPECIFICATIONS MELSEC-Q 3.2 Function Specifications This section describes the functions of the MELSECNET/H. The list of functions is shown below: 3 - 14 3 - 14...
  • Page 69: Cyclic Transmission Function (periodical Communication)

    SPECIFICATIONS MELSEC-Q 3.2.1 Cyclic transmission function (periodical communication) The cyclic transmission function periodically allows data communication between stations on the same network using the link devices (LB/LW/LX/LY). In this manual, the devices on the network module side are prefixed by "L" so that devices on the CPU module side (B/W/X/Y) and the link devices on the network module side can be distinguished.
  • Page 70 SPECIFICATIONS MELSEC-Q (2) Communication using LX/LY This function allows 1:1 communication between the I/O master station that controls LX/LY and other stations (maximum of 63 stations in the optical loop system and maximum of 31 stations in the coaxial bus system and twisted bus system).
  • Page 71 SPECIFICATIONS MELSEC-Q The following figure shows an example of the LX/LY communication assignments between the 1M 1 station (I/O master station) and the 1N 2 and 1N 3 stations. When the 1M 1 station turns on Y1000, X1000 of the 1N 2 station turns on.
  • Page 72: Ras Function

    SPECIFICATIONS MELSEC-Q 3.2.2 RAS function The RAS as in the RAS function stands for Reliability, Availability and Serviceability and refers to the overall ease of use of the automated equipment. (1) Automatic return function When a station disconnected from a network due to a data link error recovers from the error, the station is automatically reconnected to the network and restarts data link.
  • Page 73 SPECIFICATIONS MELSEC-Q (2) Control station switch function By using this function, if the control station (the station for which the common parameters have been set) goes down, another normal station becomes the sub- control station to continue the data link. 1) When the control station goes down, the station 2) When the sub-control station No.
  • Page 74 SPECIFICATIONS MELSEC-Q (3) Control station return control function The network stop time can be eliminated by correcting the errors that caused the control station to go down and making it return to the network as a normal station. How the control station returns to the network can be selected by the network settings.
  • Page 75 SPECIFICATIONS MELSEC-Q (4) Loopback function (optical loop system) In the optical loop system, the transmission path is dual-structured. When an error occurs in a transmission path, the faulty area is disconnected by switching the transmission path from the forward loop to the reverse loop or from the reverse loop to the forward loop, or performing a loopback.
  • Page 76 SPECIFICATIONS MELSEC-Q Precautions in using the optical loop system When the cable is inserted or removed, the line (forward loop/reverse loop) may be switched, but the data link will be performed normally. When the loopback is being executed due to a cable disconnection, both the forward and reverse loops may be recognized as normal depending on the condition of the cable disconnection.
  • Page 77 SPECIFICATIONS MELSEC-Q REMARKS If the network module has become faulty, a loopback may not be made depending on the fault. In this case, the data link may become deactivated. Identify the faulty network module in the following method. (1) Check the LED indications (RUN LED off, ERR. LED on) of all network modules for a faulty station.
  • Page 78 SPECIFICATIONS MELSEC-Q (5) Prevention of station failure by using external power supply (Optical loop system) Direct power supply (24 V DC) from outside to network modules will prevent the loopback operation. Because of this, station(s) placed between faulty stations will not go down when more than one station go down, (The QJ71LP21S-25 is the network module where power can be supplied from outside.) Even if the distance between normally operating stations (1Ns2 and 1Ns4, 1Ns4...
  • Page 79 SPECIFICATIONS MELSEC-Q (6) Station detach function (coaxial bus system and twisted bus system) In the coaxial bus system and twisted bus system, even if the power to a connected station is turned off, the data link continues between other stations which are still able to perform data communication.
  • Page 80 SPECIFICATIONS MELSEC-Q (7) Transient transmission enabled even at CPU module error By using this function, the network module can continue the transient transmission even if an error that stops the CPU module occurs while the system is operating. The description of the error of the corresponding station can be checked from other stations using GX Developer.
  • Page 81 SPECIFICATIONS MELSEC-Q (8) Checking the transient transmission abnormal detection time By using this function, the "Time," "Abnormal detection network number," and "Abnormal detection station number" can be checked when a transient transmission (SEND, READ, SREAD, WRITE, SWRITE, REQ and other instructions) ends abnormally.
  • Page 82 SPECIFICATIONS MELSEC-Q (9) Diagnostic function The diagnostic function is used to check the network's line status and the module setting status. The diagnostic function consists mainly of following two types of tests: • Offline tests • Online tests POINT Execute the online tests when the network module is communicating (T.PASS LED is on).
  • Page 83: Specifications Of The Link Data Sending/receiving Processing Time

    SPECIFICATIONS MELSEC-Q 3.3 Specifications of the Link Data Sending/Receiving Processing Time This section explains the link data sending/receiving processing time and how to calculate the data link transmission delay time in the MELSECNET/H network system. 3.3.1 Link data sending/receiving processing (1) Overview of the sending/receiving processing In the cyclic transmission, communication is performed using the LB/LW/LX/LY devices of the network module.
  • Page 84 SPECIFICATIONS MELSEC-Q (2) Link scan and link refresh The link scan is executed "asynchronous" with the sequence scan of the CPU module. The link refresh is executed by the "END processing" of the CPU module. Sequence scan Link refresh Link refresh Link refresh Link scan POINT...
  • Page 85 SPECIFICATIONS MELSEC-Q (3) Link data when a communication error station or communication stop station occurs on the network When a communication error or communication stop station occur on the network during the data link, the receive data from those stations immediately before the error occurrence is retained.
  • Page 86 SPECIFICATIONS MELSEC-Q (4) SB/SW when a communication error station/communication stop station occurs on the network The status of whether there are any communication error/communication stop stations on the network can be checked with the link special relay/link special register (SB/SW). Use them as interlocks for programs.
  • Page 87: How To Calculate The Transmission Delay Time

    SPECIFICATIONS MELSEC-Q 3.3.2 How to calculate the transmission delay time (1) Transmission delay time in the same network Cyclic transmission (LB/LW/LX/LY periodical communication) The transmission delay time in the B/W/Y communication is obtained by the equation below using the following variables: •...
  • Page 88 SPECIFICATIONS MELSEC-Q Communication with the SEND/RECV/RECVS/ZNRD/ZNWR instruction The transmission delay time in communication with the SEND, RECV, RECVS, ZNRD, or ZNWR instruction depends on the system of the sending and receiving stations, as shown below. Receiving station Redundant system Non-redundant system Sending station (control system CPU) Expression of 2)
  • Page 89 SPECIFICATIONS MELSEC-Q REMARKS When executing transient transmissions from multiple stations at the same time, the execution time of the instruction may be shortened by increasing the setting value for the maximum number of transient requests in one link scan. For instance, when there are seven stations that execute an instruction, the time for "LS 4"...
  • Page 90 SPECIFICATIONS MELSEC-Q : Scan time of the sending station (except link refresh time) : Scan time of the receiving station 1 (except link refresh time)  : Link refresh time of the sending station  : Link refresh time of the receiving station : Link scan time : Scan time delay due to tracking transfer on the sending side 4 : Scan time delay due to tracking transfer on the receiving side 4...
  • Page 91 SPECIFICATIONS MELSEC-Q Link refresh time Basic model QCPU, High Performance model QCPU, Process CPU, Redundant CPU, Universal model QCPU The link refresh time (the time delay of the END processing time in the CPU module) is obtained by the equation below using the following variables: •...
  • Page 92 SPECIFICATIONS MELSEC-Q • When network modules are installed on the main base unit Constant CPU type (×10 (×10 (×10 (×10 (×10 Q00JCPU 1300 0.67 Basic model QCPU Q00CPU 1100 0.66 Q01CPU 0.61 Q02CPU 0.48 0.60 High Performance model QCPU Q02H/Q06H/Q12H/Q25HCPU 0.41 0.53 Q02PH/Q06PH/Q12PH/...
  • Page 93 SPECIFICATIONS MELSEC-Q Safety CPU [Link refresh time] LB + LX + LY + SB [ms]  T ,  R + LW + 1000 1 .8 5  : Link refresh time (sending station)  : Link refresh time (receiving station) : Total points of link relays (LB) refreshed by the corresponding station LW : Total points of link registers (LW) refreshed by the...
  • Page 94 SPECIFICATIONS MELSEC-Q REMARKS (1) Data link transfer time (for Universal model QCPU) Universal model QCPUs transfer interlink data in several batches. The following are the calculation formulas for the data link transfer time. (a) Data link transfer time taken in one END α...
  • Page 95 SPECIFICATIONS MELSEC-Q (b) Data link transfer time required for transferring data of all the set points α = KM7× [ms]  L1 : Data link transfer time taken to transfer all the set points of data : Total number of link relay (LB) points set in interlink transmission parameters : Total number of link register (LW) points set in interlink transmission parameters...
  • Page 96 SPECIFICATIONS MELSEC-Q Link scan time in the optical loop system and coaxial bus system The link scan time in the optical loop system and coaxial bus system is obtained by the equation below using the following variables: • Network type •...
  • Page 97 SPECIFICATIONS MELSEC-Q MELSECNET/H Extended mode With a communication speed of 10Mbps [Link scan time] LB + LY + (LW 0.001 LS = KB + (0.45 SP) + + (T 0.001) + (F 4) [ms] With a communication speed of 25Mbps [Link scan time] LB + LY + (LW 0.0004...
  • Page 98 SPECIFICATIONS MELSEC-Q Link scan time in the twisted bus system The link scan time in the twisted bus system is obtained by the equation below using the following variables: • Network type • Number of assignment points of the link device •...
  • Page 99 SPECIFICATIONS MELSEC-Q (2) Transmission delay time between multiple networks using the inter- link data transfer function The following shows the cyclic transmission delay time for the case where link device data are transferred to another network with the interlink transfer function. [Inter-link data transfer] (Transmission delay time) + ...
  • Page 100 SPECIFICATIONS MELSEC-Q (3) Example of the transmission delay time calculation The following example calculates the transmission delay time with the following system configuration and under the following conditions: (System configuration and conditions) CPU module: Q06HCPU Network type: MELSECNET/H mode Communication speed: 10Mbps Total number of stations: 8 stations (1 control station, 7 normal stations) Number of link device points: LB = 1024 points, LW = 1024 points,...
  • Page 101: Reducing The Link Refresh Time

    SPECIFICATIONS MELSEC-Q 3.3.3 Reducing the link refresh time The link refresh time can be reduced by decreasing the number of refresh points to the CPU module. Reduce the refresh points by any of the following: • Refresh parameters • Common parameters •...
  • Page 102 SPECIFICATIONS MELSEC-Q (2) How to decrease the number of refresh points Using the refresh parameters Set the values so that only the required parts are refreshed. For more details, refer to Section 5.7.1. QCPU Network module Common Device parameters Set refresh parameters only for necessary Link Range set with...
  • Page 103 SPECIFICATIONS MELSEC-Q Using direct access to link devices The refresh time can be reduced by directly accessing link devices that are less frequently used by the host and excluding them from the refresh range. (Refer to Section 7.1) Network module Range of Link refresh sending...
  • Page 104 SPECIFICATIONS MELSEC-Q The link refresh is executed by the END processing of the CPU module, but reading from/writing to the network module is directly performed when an instruction is executed; thus the transmission delay time can be reduced. Direct access to the sending station When close to step 0 The direct access is faster by a maximum of one scan of a sequence program when compared with the link refresh.
  • Page 105 SPECIFICATIONS MELSEC-Q Direct access to the receiving station When close to step 0 The link refresh and the direct access occur at almost the same time. (Link refresh) Link scan Sequence scan (Direct access) Link scan Sequence scan J1\B0 J1\B0 When close to END The direct access is faster by a maximum of one scan of a sequence program when compared with the link refresh.
  • Page 106: Reduction Of The Link Scan Time

    SPECIFICATIONS MELSEC-Q 3.3.4 Reduction of the link scan time The amount of link refresh and link scan data (LB/LW) per END processing can be reduced by assigning the data in the link devices (LB/LW) for normal cyclic transmission, which does not require high-speed transmission, to the extension area (2000 to 3FFF ), and transmit it by the low-speed cyclic transmission.
  • Page 107: Setup And Procedures Before Starting The Operation

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION This chapter explains the procedures, settings, connections and testing that are required to start the data link operation. 4.1 Procedures Before Starting the Operation The following flowchart shows the procedure for the data link operation: S ta rt Module switch setting...
  • Page 108: Part Names And Settings

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.2 Part Names and Settings This section explains part names and settings of the network modules. 4.2.1 QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE QJ71LP21, QJ71LP21G, QJ71LP21-25 QJ71LP21S-25 QJ71LP21GE Indicator LEDs Name LED status Description The module operating normally ON (green)
  • Page 109 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Name LED status Description L ERR. ON (red) A communication error occurred (one of the following communication errors has occurred): : An error was generated by a fault such as a cable error and noise. OVER : This error occurs when the next data is received before the last receive data is loaded into the module, and the previous data is lost.
  • Page 110 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Mode setting switch Used to set the mode of the network module. (Factory default: 0) Set the mode setting switches in the same position on all network modules. (a) QJ71LP21, QJ71LP21G, QJ71LP21GE Setting Description Online (The mode selected by the network parameter will be enabled.)
  • Page 111: Qj71br11

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.2.2 QJ71BR11 Indicator LEDs Same as the optical loop system. (Refer to Section 4.2.1.) Station number setting switch Used to set the station number of the network module. (Factory default: 1) Setting Description Setting error STATION NO.
  • Page 112 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Mode setting switch Used to set the mode of the network module. (Factory default: 0) Set the mode setting switches in the same position on all network modules. Setting Description Online (The mode selected by the network parameter will be enabled.) Self-loopback test MODE Internal self-loopback test...
  • Page 113: Qj71nt11b

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.2.3 QJ71NT11B Indicator LEDs Same as the optical loop system. (Refer to Section 4.2.1.) Station number/mode setting switch Used to set the station number and mode of the network module. (Factory default: 1) Set the same operation mode to all network modules.
  • Page 114: Loading And Installation

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3 Loading and Installation This section provides the handling precautions, from unpacking to installation of the network module. For details of the loading and installation of the network module, refer to QCPU User's Manual (Hardware Design, Maintenance and Inspection).
  • Page 115 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Use drivers, which match the following recommended driver dimensions, for the operation of the station number setting switch and the mode setting switch. Using drivers with unsuitable edge width or thickness may damage the switches. Screw location Tightening torque range Edge width (L)
  • Page 116: Installing And Uninstalling The Module

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3.2 Installing and uninstalling the module (1) Installing the module Base unit Fully insert the module fixing latch into the module fixing hole in the base unit (exercise care not to allow the module fixing latch to separate from Base unit Module fixing...
  • Page 117: Stopping The Cpu Module (unintentional Output Prevention)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3.3 Stopping the CPU module (unintentional output prevention) Set the RUN/STOP switch *1 of the CPU module to STOP position. STOP *1: Use the RESET/STOP/RUN switch for the Basic model QCPU, Universal model QCPU, and safety CPU.
  • Page 118: Standalone Check Of The Network Module (offline Tests)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5 Standalone Check of the Network Module (Offline Tests) Before executing the data link operation, check the network module and the cables. Conduct an offline test following the procedure below. Flow of offline tests Test start Self-loopback test Hardware of the network module is checked...
  • Page 119: Self-loopback Test

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.1 Self-loopback test This test checks the hardware of a standalone network module, including the send/receive circuit and cable of the transmission system. POINT Do not connect or disconnect the cable or terminating resistor during execution of the test.
  • Page 120 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Starting a test/checking the result The self-loopback test is executed when the CPU module is powered on from off or reset. Check the status by the indicator LED of the network module. The T.
  • Page 121: Internal Self-loopback Test

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.2 Internal self-loopback test This test checks the hardware of a standalone network module, including the send/receive circuit of the transmission system. System configurations (a) Optical loop system Do not connect optical fiber cable to the network module. Ensure to prevent ambient light from entering the module through connectors.
  • Page 122 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Starting a test/checking the result The internal self-loopback test is executed when the CPU module is powered on from off or reset. Check the status by the indicator LED of the network module. The T.
  • Page 123: Hardware Test

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.3 Hardware test This test checks the hardware inside the network module. System configurations (a) Optical loop system Connect IN and OUT terminals of the network module with an optical fiber cable. (b) Coaxial bus system Do not connect a cable and connector to the network module.
  • Page 124 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Starting a test/checking the result The hardware test is executed when the CPU module is powered on from off or reset. Check the status by the indicator LED of the network module. The T.
  • Page 125: Cable Connection

    Maintain the bending radius of the optical fiber cable within the allowable range using a tool for securing the optical fiber cable bending radius. Contact Mitsubishi Electric System Service, Inc, for the tool. When laying the optical fiber cables, do not touch the fiber core of the cable and module connectors, and avoid dust or particles.
  • Page 126 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Cable connection How to connect the cable Connect the OUT and IN terminals with an optical fiber cables as shown below. Note that there is no need to connect the cables in the order of station numbers.
  • Page 127 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q POINT Data link operation may be executed when IN and IN or OUT and OUT are connected with an optical fiber cable. Check that IN and OUT are connected otherwise the loopback function, the network diagnostic function, and some of other functions do not operate normally.
  • Page 128: Coaxial Bus System

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.6.2 Coaxial bus system (1) Precautions for connecting Restrictions on the cable length between the stations When connecting between the network modules, the cable lengths indicated in the table below must be used according to the number of stations connected.
  • Page 129 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q When connecting a coaxial cable, the following restrictions on the bending radius must be observed. Allowable bending radius Connector Cable type 3C – 2V 23 mm (0.91 inches) 55 mm 5C – 2V 30 mm (1.18 inches) (2.17 inches) 5C –...
  • Page 130 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Cable connection Connection method Connect the coaxial cable as shown below. Install a terminating resistor (sold separately: A6RCON-R75) to the stations connected at both ends. The F-type connector (A6RCON-F) comes with the module. Without a repeater module Control station Normal station...
  • Page 131 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q With a repeater module (branch connection) Control station Normal station Normal station Station No. 1 Station No. 2 Station No. 3 QJ71BR11 QJ71BR11 QJ71BR11 F-type connector F-type connector F-type connector A6RCON-F A6RCON-F A6RCON-F T-type connector (A6BR10 accessory)
  • Page 132 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Installing the coaxial cable The following shows how to install the coaxial cable: Network module Start (Installation) Jack Turn OFF the power. Plug Projection Insert the plug by aligning the groove of the plug with the projection of the jack.
  • Page 133: Twisted Bus System (when Using A Shielded Twisted Pair Cable)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.6.3 Twisted bus system (when using a shielded twisted pair cable) (1) Wiring precautions Wiring a shielded twisted pair cable When wiring a shielded twisted pair cable, prevent the noise and surge induction, referring to the following.
  • Page 134 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Connecting a cable to the spring clamp terminal block The following explains connecting method of a cable to a spring clamp terminal block. For the stripping method of the cable end, refer to Section 3.1.4. in this manual.
  • Page 135: Twisted Bus System (when Using Cc-link Ver.1.10-compatible Cable)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.6.4 Twisted bus system (when using CC-Link Ver.1.10-compatible cable) (1) Wiring precautions (a) Usage of CC-Link cables The CC-Link Ver. 1.10-compatible cable cannot be used together with other CC-Link cables (CC-Link dedicated cable and CC-Link dedicated high- performance cable) When used together, normal data communication cannot be expected.
  • Page 136: Offline Tests From Gx Developer

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.7 Offline Tests from GX Developer The offline tests check the cable connection status using the network parameters of GX Developer. 4.7.1 Station-to-station test In the station-to-station test, the hardware of the network modules and cables between two adjacent stations can be checked.
  • Page 137 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS Before conducting the station-to-station test when three or more stations are connected by the coaxial/twisted bus system, any stations that are not tested must be switched to offline or powered off. Station to Station to Offline or...
  • Page 138 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Setting the test mode Mode setting for the station-to-station test on a non-redundant system station Set the mode network parameters for station number n and station number n + 1 to "Test between master station" and "Test between slave station" respectively, and write the parameter settings to the CPU module.
  • Page 139 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS The QJ71NT11B does not support the Redundant CPU. (3) Starting the test Perform the following on the station to be tested first, and then the station executing the test. High Performance model QCPU, Process CPU, and Redundant CPU Set the RUN/STOP switch to STOP position, and reset with the RESET/L.CLR switch.
  • Page 140 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (4) Checking the test result The T.PASS LED of the network module flashes at approximately 0.5 s intervals. When the T. PASS LED flashes 20 times (approx. 10 seconds) or more and if the ERR.LED does not flash, this condition indicates normal completion.
  • Page 141 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS Testing status and the result can be checked in the following link special registers. Baton pass status (host) SW0047 : Offline test Cause of baton pass interruption SW0048 : Offline test Offline test execution item/faulty SW00AC or 6...
  • Page 142: Forward Loop/reverse Loop Test (optical Loop System Only)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.7.2 Forward loop/reverse loop test (optical loop system only) The forward loop/reverse loop test checks the hardware of the network modules and cables after all stations are connected with optical fiber cables. It also checks whether the cables are connected between OUT and IN connections properly.
  • Page 143 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Mode setting for the forward loop/reverse loop test on the redundant system To perform the forward loop/reverse loop test on the redundant system, set the operation mode of the redundant CPU to backup mode. If the power to both systems cannot be turned on or off, perform the forward loop/reverse loop test in separate mode.
  • Page 144 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q When designating a station in other than the redundant system as a testing station The settings are the same as those for the usual forward loop/reverse loop test (refer to (1) (a) of this section). Set "Online"...
  • Page 145 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (3) Checking the test result The T.PASS LED of the network module flashes at approximately 0.5 s intervals. When the T. PASS LED flashes 20 times (approx. 10 seconds) or more and if the ERR.LED does not flash, this condition indicates normal completion.
  • Page 146 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS Testing status and the result can be checked in the following link special registers. Baton pass status (host) SW0047 : Offline test Cause of baton pass interruption SW0048 : Offline test Offline test execution item/faulty SW00AC : Loop test...
  • Page 147: Network Diagnostics From Gx Developer (online Tests)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8 Network Diagnostics from GX Developer (Online Tests) With the network diagnostic function of GX Developer, the line status can easily be checked and diagnosed. To conduct the network diagnostics, the network parameters (station number setting switch, mode setting switch, number of modules, network settings, and common parameters) must be set.
  • Page 148: Loop Test (optical Loop System Only)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8.1 Loop test (optical loop system only) This test checks the line status of the forward and reverse loops upon completion of the wiring of the optical loop system. Also, when a loopback is being executed, it checks the station that executes the loopback.
  • Page 149: Setup Confirmation Test (optical Loop, Coaxial Bus System Only)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8.2 Setup confirmation test (optical loop, coaxial bus system only) The switch settings of the network module can be checked with this test. The following three types of items can be checked: Control station duplication check Station number duplication check Matching between the network number set for the station to which GX...
  • Page 150: Station Order Check Test (optical Loop System Only)

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8.3 Station order check test (optical loop system only) This test checks the connected station numbers in the optical loop system. The following connection orders can be checked by the loop status (displayed on the station order check test result screen.
  • Page 151: Communication Test

    SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8.4 Communication test This test checks whether or not data communication can normally be performed between the host and a destination station (specified with network number and station number). Especially when the destination has another network number, the relay network and station numbers are displayed.
  • Page 152: Parameter Settings

    PARAMETER SETTINGS MELSEC-Q 5 PARAMETER SETTINGS To run the MELSECNET/H, the parameters for the network module mounted to the programmable controller CPU must be set with GX Developer. Depending on the network configuration, some parameters must be set, some must be set as required, and some do not.
  • Page 153 PARAMETER SETTINGS MELSEC-Q List of parameter settings for a single network system Necessity for setting by station type Parameter setting item Reference section Control station Normal station (MNET/H mode (MNET/H mode Network type (control station), MNET/H (normal station), MNET/H Section 5.1 EX (control station)) EX (normal station)) Starting I/O No.
  • Page 154 PARAMETER SETTINGS MELSEC-Q List of parameter settings for a redundant system Necessity for setting by station type Parameter setting item Reference section Control station Normal station (MNET/H mode (MNET/H mode Network type (control station), MNET/H (normal station), MNET/H Section 5.1 EX (control station)) EX (normal station)) Starting I/O No.
  • Page 155 PARAMETER SETTINGS MELSEC-Q List of parameter settings for a simplified redundant system Necessity for setting by station type Parameter setting item Reference section Control station Normal station Standby station (MNET/H mode (MNET/H mode (control station), (normal station), (MNET/H Network type Section 5.1 MNET/H EX MNET/H EX...
  • Page 156 PARAMETER SETTINGS MELSEC-Q List of parameter settings for multiple network systems Necessity for setting by station type Parameter setting item Reference section Control station Normal station Standby station (MNET/H mode (MNET/H mode (control station), (normal station), (MNET/H Network type Section 5.1 MNET/H EX MNET/H EX standby station)
  • Page 157 PARAMETER SETTINGS MELSEC-Q (5) When parameters have not been set (other than a safety CPU) For network modules, parameters must be set. If parameters have not been set, data link will be executed as described below. Operation When network parameters have not been set Item Description Data link is executed with the setting as any of the following:...
  • Page 158: Setting The Number Of Modules (network Type)

    PARAMETER SETTINGS MELSEC-Q 5.1 Setting the Number of Modules (Network Type) Set the network type and the station type for each module. Up to four modules can be set for a combination of MELSECNET/H and CC-Link IE Controller Network. Note that, however, there are restrictions on the number of modules mounted for one programmable controller CPU depending on the CPU model used.
  • Page 159 PARAMETER SETTINGS MELSEC-Q Precautions Network type within the same network Set all network modules within the same network to the same network type. If there are different network types within the same network, some of the network modules may be disconnected from the system, for example, and normal data link is not executed.
  • Page 160: Network Settings

    PARAMETER SETTINGS MELSEC-Q 5.2 Network Settings These parameters are used to configure the MELSECNET/H network. Set the start I/O No., network No., total stations, group No. and mode for each of the module model names set in the number of modules settings. 5.2.1 Starting I/O No.
  • Page 161: Total Stations

    PARAMETER SETTINGS MELSEC-Q 5.2.3 Total stations Set the total number of stations including the control station, normal stations and reserved stations in one network. This setting is required only when "MNET/H mode (control station)" is selected. Total stations 4 Reserved Standby station Standby station Standby station...
  • Page 162: Mode

    PARAMETER SETTINGS MELSEC-Q 5.2.5 Mode Set the operation mode of the network module. The set parameters take effect when the switch setting of the network module is set to "online". For the switch setting of each network module, refer to Section 4.2. Selection item Description Online...
  • Page 163: Communication Speed Setting (twisted Bus System Only)

    PARAMETER SETTINGS MELSEC-Q 5.2.6 Communication speed setting (twisted bus system only) Set communication speed for the twisted bus system. The communication speed can be selected in the Network parameter of the control station. Normal stations operate according to the communication speed set in the control station.
  • Page 164: Example Of Parameter Settings

    PARAMETER SETTINGS MELSEC-Q 5.2.7 Example of parameter settings The following example shows the parameter settings for a system that include a control station, a normal station, and a standby station. [System configuration] Control Normal Standby station station station Q25HCPU QJ71 QJ71 QJ71 LP21...
  • Page 165: Common Parameters (network Range Assignment Screen)

    PARAMETER SETTINGS MELSEC-Q 5.3 Common Parameters (Network Range Assignment Screen) The common parameters are used to set the cyclic transmission ranges of LB, LW, LX and LY that can be sent by each station in a single network. The common parameter settings are required only for the control station.
  • Page 166: Send Range For Each Station (lx/ly Settings)

    PARAMETER SETTINGS MELSEC-Q 5.3.2 Send range for each station (LX/LY settings) Set send ranges for each station of LX/LY, which represent the amount of data that can be sent by each station in a single network in one (two) block units. The link devices (LX/LY) between the I/O master station (M station) and other station (L station) are assigned 1:1.
  • Page 167: Specification Of The I/o Master Station

    PARAMETER SETTINGS MELSEC-Q [Precaution] Duplicate link device ranges cannot be assigned to each station between block 1 and block 2. In addition, they must be different from the actual I/O (the range of input/output numbers to which the actual module is installed). Link device CPU device LX/LY settings (1)
  • Page 168: Supplementary Settings

    PARAMETER SETTINGS MELSEC-Q 5.4 Supplementary Settings The supplementary settings are included in the common parameter settings. They can be used when more specific applications are required. The default settings should normally be used. The supplementary settings (common parameter settings) are required only for the control station.
  • Page 169 PARAMETER SETTINGS MELSEC-Q Constant scan The constant link scan function is used to maintain the link scan time constant. Set a value in the following range to use a constant scan time: Setting time Constant scan Blank Not executed (default) 1 to 500 ms Executed using the set time Maximum No.
  • Page 170 PARAMETER SETTINGS MELSEC-Q Transient setting (Refer to Section 7.4.1) Set the execution conditions for the transient transmission. "Maximum no. of transients in 1 scan" Set the number of transients (total for one entire network) that a single network can execute in one link scan. •...
  • Page 171: Control Station Return Setting

    PARAMETER SETTINGS MELSEC-Q 5.5 Control Station Return Setting This parameter is used to specify the type of station used by the control station when returning to the network in the control station return control function (Refer to Section 3.2.2). Select this parameter to make the control station return as a normal station without stopping the baton pass in the system in operation.
  • Page 172: Station Inherent Parameters (high Performance Model Qcpu, Process Cpu, Redundant Cpu, And Universal Model Qcpu)

    PARAMETER SETTINGS MELSEC-Q 5.6 Station Inherent Parameters (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) The station inherent parameters are used for rearranging each station's transmission ranges (LB, LW). Rearrangement of the each station transmission ranges (LB, LW) eliminates the need for program modification even if link device settings are expanded during operation.
  • Page 173 PARAMETER SETTINGS MELSEC-Q Setting items Parameter name Set the parameter name to make it easy to understand for which system each parameter is used. • Number of input characters: Up to eight alphabetic characters Switch screens The windows can be switched using the selection dialogue box (LB settings, LW settings).
  • Page 174 PARAMETER SETTINGS MELSEC-Q POINT Set values for Setting 1 and Setting 2 within the device range specified with a common parameter. If a value outside the range is selected, a mismatch error occurs. Also, duplicate ranges cannot be specified for Setting 1 and Setting 2. Setting 1 Setting 2 Setting 1...
  • Page 175 PARAMETER SETTINGS MELSEC-Q Example of settings The settings shown below are displayed on the screen when the common parameters (network range assignments) are changed as follows: Move the devices of station number 1. B100 to B1FF B500 to B5FF Lump the devices of station number 2 to 5 together so that they are contiguous.
  • Page 176: Refresh Parameters

    PARAMETER SETTINGS MELSEC-Q 5.7 Refresh Parameters The refresh parameters are used to transfer the link device data (LB, LW, LX, LY) of the network module to the devices (X, Y, M, L, T, B, C, ST, D, W, R, ZR) of the CPU module for operation of the sequence programs.
  • Page 177 PARAMETER SETTINGS MELSEC-Q Using the assignment image diagram, assignment errors and duplicate settings between the modules can also be checked. It is a convenient tool to view the assignment status when setting or changing the network refresh parameters. It also displays the interlink transmission parameters; thus, complicated settings among the network modules can be verified.
  • Page 178 PARAMETER SETTINGS MELSEC-Q Default button Select this button to automatically assign the default link devices according to the number of installed modules. Check button Select this button to check if there are any duplicate parameter data settings. End setup button Click this button to return to the network setting screen after completing the data settings.
  • Page 179: Concept Of The Link Refreshing

    PARAMETER SETTINGS MELSEC-Q 5.7.1 Concept of the link refreshing Link refresh ranges The ranges that are set in Refresh parameters and that are set with common parameters are refreshed. Devices for which link refreshing can be executed The following table indicates the devices for which link refreshing can be executed.
  • Page 180 PARAMETER SETTINGS MELSEC-Q POINT To use the entire device range (16K points) of LB/LW, either of the following settings must be made: Change the number of device points of B/W. In the refresh parameters, use devices other than B/W for the refresh target device of LB/LW.
  • Page 181: How To Set The Refresh Parameters

    PARAMETER SETTINGS MELSEC-Q 5.7.2 How to set the refresh parameters Automatic setting with the Default button (a) High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU When B/W points set in [Device] under [PLC parameter] are 8K points or more (6K points or more when three modules are mounted) Link devices are assigned as shown below.
  • Page 182 PARAMETER SETTINGS MELSEC-Q When B/W points set in [Device] under [PLC parameter] are less than 8K points (less than 6K points when three modules are mounted) Link devices equivalent to the B/W points set in [Device] are assigned, up to the following points for each module. No.
  • Page 183 PARAMETER SETTINGS MELSEC-Q Basic model QCPU and safety CPU When B/W points set in [Device] under [PLC parameter] are 2K points or more Link devices are assigned as shown below. Installation location Module 1 Number of installation LB/LW 2048 points 1 Module 07FF 07FF...
  • Page 184 PARAMETER SETTINGS MELSEC-Q Manual setting by direct input Select "Assignment method". Select "Points/Start" when entering link device points and start addresses. Select "Start/End" when entering start and end addresses of link devices. Configure the settings for the link side and CPU side devices. Example: When "Start/End"...
  • Page 185 PARAMETER SETTINGS MELSEC-Q POINT When setting the CPU side device range, check if: • The refresh range does not overlap with any other range (e.g. actual I/O). • The CPU side device range is within the range set in [Device] of [PLC parameter].
  • Page 186 PARAMETER SETTINGS MELSEC-Q When no refresh parameters are set (Other than Universal model QCPU and safety CPU) High Performance model QCPU, Process CPU, and Redundant CPU Link devices are assigned as shown below. Installation location Module 1 Module 2 Module 3 Module 4 Number of installation...
  • Page 187 PARAMETER SETTINGS MELSEC-Q POINT When B/W points less than the following are set in [Device] under [PLC parameter], set refresh parameters accordingly. Or, increase the B/W points to the following value or more in [Device]. Device points in [Device] No. of modules 8K points 8K points 8K points...
  • Page 188 PARAMETER SETTINGS MELSEC-Q Setting example The following shows an example of the refresh parameter settings: [System configuration] Control Normal Standby station station station QJ71 QJ71 QJ71 LP21 BR11 BR11 Regular network (network No. 2) Network No. 1 Standby network (network No. 3) [Parameter assignments] Network module (1M Network module (2N...
  • Page 189 PARAMETER SETTINGS MELSEC-Q [Setting screen] The following shows the settings of the refresh parameters for each module that are displayed on the screen. Settings of module 1 (1M 1) (transfer SB, transfer SW, transfers 1 to 6) (Transfers 7 to 9) Settings of module 2 (2N 2) (transfer SB, transfer SW, transfers 1 and 2) 5 - 38...
  • Page 190: Valid Module During Other Station Access

    PARAMETER SETTINGS MELSEC-Q 5.8 Valid Module During Other Station Access This parameter is used to specify any of the following modules to be relayed when a data communication request for which the network number of the access target programmable controller station cannot be specified from the host (access from the serial communication module (A compatible 1C frame), the Ethernet module (A compatible 1E frame), etc.
  • Page 191: Standby Station Compatible Module (high Performance Model Qcpu And Process Cpu)

    PARAMETER SETTINGS MELSEC-Q 5.9 Standby Station Compatible Module (High Performance model QCPU and Process CPU) This parameter is set to configure a simple dual-structured system. Specify a regular station to be paired with the standby station. If the set regular network is down, the network of the wait station (standby station) is enabled.
  • Page 192 PARAMETER SETTINGS MELSEC-Q [Setting example] Control Normal Standby station station station Q25HCPU QJ71 QJ71 QJ71 LP21 BR11 BR11 Regular network (network No. 2) Network No. 1 Standby network (network No. 3) To use the 3N 2 station as the standby station for the normal station 2N 2 as shown in the figure above, select "Module 2"...
  • Page 193: Writing Parameters To The Cpu

    PARAMETER SETTINGS MELSEC-Q 5.10 Writing Parameters to the CPU To enable the network parameter settings, they must be written to the CPU using the Write to PLC function of GX Developer. The PLC parameters are written as well when the network parameters are written. To write the parameters to a programmable controller of other station than the one that connects GX Developer via the MELSECNET/H, change the specification of the connection destination of GX Developer.
  • Page 194: Programming

    PROGRAMMING MELSEC-Q 6 PROGRAMMING When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control. 6.1 Programming Precautions This section explains the precautions in creating programs using data on the network. 6.1.1 Interlock related signals A list of the interlock signal devices used in the sequence programs is provided below.
  • Page 195 PROGRAMMING MELSEC-Q List of Interlock Devices Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Loop Loop Loop Loop Indicates the communication status between the network module SB0020 and CPU module. Module status (32) Off: Normal On: Abnormal Indicates the host's baton pass status (transient transmission enabled).
  • Page 196 PROGRAMMING MELSEC-Q List of Interlock Devices (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Loop Loop Loop Loop Stores the cyclic transmission status of each station (including the host). 0: Executing cyclic transmission (including the station with the maximum station number and smaller number as well as reserved stations) 1: Cyclic transmission not executed...
  • Page 197: Program Example

    PROGRAMMING MELSEC-Q 6.1.2 Program example Provide interlocks in programs according to the link status of the host and other stations. The following example shows an interlock in the communication program that uses the link status of the host (SB0047, SB0049) and the link status of station number 2 (SW0070 bit 1, SW0074 bit 1).
  • Page 198: Cyclic Transmission

    PROGRAMMING MELSEC-Q 6.2 Cyclic Transmission The link scan of MELSECNET/H and the sequence scan of the programmable controller operate asynchronously. Thus, the link refresh executed per sequence scan is asynchronous with the link scan. Depending on the timing of the link refresh, link data with data types of more than 32 bits (two words), such as the ones below, may be broken up into new and old data, which may coexist in 16-bit (one word) units.
  • Page 199 PROGRAMMING MELSEC-Q POINT When handling data larger than 32 bits (two words), enable the station-based block data assurance described in Section 6.2.2, or apply interlocks in the programs by seeing the interlock program example in Section 6.2.3. When the network is set up in the MELSECNET/10 mode, 32-bit data assurance is valid only stations with QCPU.
  • Page 200: Station-based Block Data Assurance For Cyclic Data

    PROGRAMMING MELSEC-Q 6.2.2 Station-based block data assurance for cyclic data Since handshakes are performed between a CPU module and a network module for link refresh, consistency of cyclic data is assured for each station (link data separation prevention per station As shown below, set the send and receive parameters as needed.
  • Page 201: Interlock Program Example

    PROGRAMMING MELSEC-Q 6.2.3 Interlock program example When data larger than two words (32 bits) are transferred at one time with the 32-bit data assurance function or the station-based block data assurance function disabled, old and new data may be mixed in units of one word (16 bits). As in the example below, provide interlocks in a program using the oldest number of either the link relay (B).
  • Page 202: Link Dedicated Instruction List

    PROGRAMMING MELSEC-Q 6.3 Link Dedicated Instruction List The following table outlines the instructions that can be used for the MELSECNET/H. For details of the format and program examples of each instruction, refer to the applicable section listed in the Reference section column. Link dedicated instruction list Reference Name...
  • Page 203 PROGRAMMING MELSEC-Q Link dedicated instruction list Reference Name Description Target station Instruction section Issues "remote RUN/STOP" and "clock data read/write" requests to other stations. Network module Network module • QCPU Channel 1 Transient • RCPU Channel 2 request to Channel 3 •...
  • Page 204 PROGRAMMING MELSEC-Q Link dedicated instruction list Reference Name Description Target station Instruction section "Remote RUN" performed for other stations' CPU modules 1 Network module Network module Channel 1 Channel 2 • QCPU Channel 3 RRUN Remote RUN • RCPU Section 7.4.5 (5) Channel 4 RRUN •...
  • Page 205 PROGRAMMING MELSEC-Q POINT (1) Link dedicated instructions must be executed in online mode. Execution of the link dedicated instructions is not allowed in offline mode. (2) Turn off the executing link instruction after the completion device turns on. (3) When the link dedicated instruction is used to access the other station programmable controller during network diagnosis, the execution of the link dedicated instruction may be delayed.
  • Page 206: Using The Link Special Relays (sb)/link Special Registers (sw)

    PROGRAMMING MELSEC-Q 6.4 Using the Link Special Relays (SB)/Link Special Registers (SW) The data linking information is stored in the link special relays (SB)/link special registers (SW). They can be used by the sequence programs, or used for investigating faulty areas and the causes of errors by monitoring them.
  • Page 207 PROGRAMMING MELSEC-Q (Cyclic transmission restart) In the following link special register (SW), specify a station for restarting cyclic transmission. • Specification of target station Link stop/startup direction content (SW0000) • Specification of station No. Link stop/startup direction content (SW0001 to SW0004) Turn System link startup (SB0002) ON.
  • Page 208 PROGRAMMING MELSEC-Q Cyclic transmission stop/restart of the host (Cyclic transmission stop) Turn Link stop (host) (SB0001) ON. When the network module accepts a request, Cyclic transmission stop acknowledgment status (host) (SB004E) is turned ON. When the cyclic transmission stop is completed, Cyclic transmission stop completion status (host) (SB004F) is turned ON.
  • Page 209 PROGRAMMING MELSEC-Q Checking data link The data link status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Sections 8.1.1 and 8.1.2.) Check the data link status of other stations Link scan time etc., can be checked in SW005A to SW005B and SW006B to SW006D.
  • Page 210 PROGRAMMING MELSEC-Q Checking data link status of the host Link scan time etc., can be checked in SW005A to SW005B and SW006B to SW006D. If an error occurs to data link, either of the following link special relays (SB) will be turned ON. •...
  • Page 211 PROGRAMMING MELSEC-Q Checking transient transmission errors Transient transmission errors are checked through the GX Developer network diagnostics, but they also can be checked with link special relays (SB) and link special registers (SW). (Refer to Section 8.1.4) When a transient transmission error occurs, Transient error (SB00EE) is turned ON.
  • Page 212 PROGRAMMING MELSEC-Q Checking the low-speed cyclic transmission status The status of the low-speed cyclic transmission can be checked with link special relays (SB) and link special registers (SW). When cyclic transmission settings are configured with common parameters, Low-speed cyclic designation (SB0059) turns ON. If an error occurs at start of low-speed cyclic transmission, an error code is stored in Low-speed cyclic transmission start execution results (SW00EC).
  • Page 213 PROGRAMMING MELSEC-Q Checking cables for faults The cable condition can be checked not only in the network diagnostics of GX Developer but also with link special relays (SB) and link special registers (SW). (Refer to Section 8.1.4.) When a communication error occurs due to a cable fault, the error count is stored in any of the link special registers (SW) in the table below.
  • Page 214 PROGRAMMING MELSEC-Q Checking the forward/reverse loop in the optical loop system The forward/reverse loop in the optical loop system can be checked not only in the network diagnostics of GX Developer but also with link special relays (SB) and link special registers (SW). (Refer to Sections 8.1.1 and 8.1.2.) Checking the forward/reverse loop of another station When an error occurs on the forward or reverse loop, the following link special relay (SB) is turned ON.
  • Page 215 PROGRAMMING MELSEC-Q Checking the forward/reverse loop of the host When an error occurs on the forward or reverse loop, Host loop status (SB0090) turns ON. If loopback occurs, the cause of the loopback is stored in Loop switch data (SW00D0 to SW00DF). The position of the loop switch data storage can be checked with Loop switch data pointer (SW00CF).
  • Page 216 PROGRAMMING MELSEC-Q Checking the offline test status The test status is checked through the LEDs on the network module, but it also can be checked with link special relays (SB) and link special registers (SW). (Refer to Sections 4.5 and 4.7.) Requesting side When the offline test is instructed, Offline test instruction (SB00AC) is turned ON.
  • Page 217 PROGRAMMING MELSEC-Q Checking the online test status The test status is checked through LED of the network module main frame, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Section 4.8.) Requesting side When the online test is instructed, Online test instruction (SB00A8) is turned ON.
  • Page 218 PROGRAMMING MELSEC-Q Checking parameter status The reflection status and setting contents of parameters can be checked with link special relay (SB) and link special register (SW). Checking parameter status of other stations Check the following link special relay (SB) and link special register (SW) with the master station.
  • Page 219 PROGRAMMING MELSEC-Q Checking the parameter status of the host (including the switch setting on the network module) Upon completion of receiving parameters, Parameter receive status (SB0054) is turned OFF. If any error is found in the parameters, the following link special relays (SB) are turned ON.
  • Page 220 PROGRAMMING MELSEC-Q (10) Checking CPU module status The CPU module status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Sections 8.1.2 and 8.1.3.) Checking the CPU module status of other stations Whether the CPU module is in RUN status or STOP status can be checked with the following link special relay (SB) and link special...
  • Page 221 PROGRAMMING MELSEC-Q (11) Checking the multiplex transmission status The multiplex transmission status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Section 8.1.3.) If the "With multiplex transmission"...
  • Page 222 PROGRAMMING MELSEC-Q Checking the redundant system status When a Redundant CPU in separate mode exists, Redundant system status (1) (SB01F4) is ON. The operation mode of a redundant CPU can be checked in Redundant system status (1) (SW01F4 to SW01F7). When any pairing setting exists, Redundant system status (2) (SB01F8) is ON.
  • Page 223 PROGRAMMING MELSEC-Q (13) Setting a link dedicated instruction and checking the processing result With link special relays (SB) and link special registers (SW), link dedicated instructions can be set and the processing results can be checked. Link dedicated instructions can be set with the following link special registers (SW).
  • Page 224 PROGRAMMING MELSEC-Q (14) Checking the communication status between the network module and CPU module The communication status between the network module and CPU module can be checked by using the link special relay (SB) or link special register (SW). Checking the error details When an error occurs during the communications between the network module and CPU module, Module status (SB0020) is turned An error code is stored in Module status (SW0020).
  • Page 225 APPLICATION FUNCTIONS MELSEC-Q 7 APPLICATION FUNCTIONS When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control. Chapter 3 Basic Cyclic transmission function Communication using LB/LW Section 3.2.1 (1) functions...
  • Page 226: Application Functions

    APPLICATION FUNCTIONS MELSEC-Q 7.1 Direct Access to the Link Devices The link devices (LB, LW, LX, LY, SB, SW) of the network module can be directly read or written by sequence programs regardless of the link refresh of the CPU module. With direct access, link devices that are not set within the range of the link refresh with the refresh parameters can also be read or written.
  • Page 227 APPLICATION FUNCTIONS MELSEC-Q (1) How to specify J \ Specify the network number and link device to be read or written. Link relay · · · · · · · · · · · · · · · · · · · · · · · · · B0 to 3FFF Link register ·...
  • Page 228 APPLICATION FUNCTIONS MELSEC-Q (2) Address specification range of the link devices When reading Read the entire range of link device addresses of the network module. When writing Make sure to write into a range of link device addresses within the host's send range that has not been set as a link refresh range.
  • Page 229 APPLICATION FUNCTIONS MELSEC-Q If an address in the link refresh range is specified, data is written to that address when the instruction is executed, but the link device of the network module is overwritten by the link device data of the CPU module by the link refresh.
  • Page 230: Inter-link Data Transfer Function (high Performance Model Qcpu, Process Cpu, Redundant Cpu, And Universal Model Qcpu)

    APPLICATION FUNCTIONS MELSEC-Q 7.2 Inter-Link Data Transfer Function (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) This function transfers link data to different networks in a batch mode using parameters when multiple networks are connected to one programmable controller. Interlink transfer is executable between CC-Link IE Controller Network, CC-Link IE Field Network and MELSECNET/H.
  • Page 231 APPLICATION FUNCTIONS MELSEC-Q (2) Interlink transmission parameters When transferring data to other network, up to 64 transfer ranges can be set between the network modules. Note that, when data from a given device range is transferred to multiple network numbers, as many setting ranges must be set as the number of transfer to networks.
  • Page 232 APPLICATION FUNCTIONS MELSEC-Q Precautions Do not set the Transfer to device range of the network module within the refresh range of the network. Otherwise, the correct data cannot be sent to other stations. Network module 1 Network module 2 Refresh range Transfer Refresh range Transfer...
  • Page 233: Low-speed Cyclic Transmission Function (high Performance Model Qcpu, Process Cpu, Redundant Cpu, And Universal Model Qcpu)

    APPLICATION FUNCTIONS MELSEC-Q 7.3 Low-Speed Cyclic Transmission Function (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) The low-speed cyclic transmission function is convenient when sending data that does not require high-speed transfer to other stations in a batch mode using the link devices (LB/LW).
  • Page 234: Send Range Settings

    APPLICATION FUNCTIONS MELSEC-Q 7.3.1 Send range settings Each station's send range of link devices (low-speed LB, low-speed LW) is assigned to the extended area (2000 to 3FFF) in 16-point units for LB (start : 0 to end F) and in one-point units for LW. Each station's send range can also be assigned using a random station number assignment sequence.
  • Page 235: Send Timing

    APPLICATION FUNCTIONS MELSEC-Q 7.3.2 Send timing The low-speed cyclic transmission is executed separately from the normal cyclic transmission. This section describes the setting, processing interval and link cycle of the low-speed cyclic transmission. (1) Transmission setting The link cycle of the low-speed cyclic transmission varies depending on its transmission setting.
  • Page 236 APPLICATION FUNCTIONS MELSEC-Q (2) Transmission processing interval The following system configuration example is used for subsequent explanations. control normal normal normal station station station station When "Transmit data of one station in 1 link scan", "Fixed term cycle interval setting (Maximum no. of transients: 1)" and "System times (Maximum no.
  • Page 237 APPLICATION FUNCTIONS MELSEC-Q When "Fixed term cycle interval (Maximum no. of transients: 2)" and "System times (Maximum no. of transients: 2)" are set Low-speed cyclic transmission 1 sending 2 sending 3 sending 4 sending Normal Normal link scan link scan Transmission processing interval (3) Link cycle Link cycle examples of the low-speed transmission are as shown below.
  • Page 238: Startup

    APPLICATION FUNCTIONS MELSEC-Q 7.3.3 Startup (1) Sending of data for one station per link scan (default) The low-speed cyclic data for a maximum of one station is sent in one link scan of the normal cyclic transmission. [Setting method] Click ( ) [Transmit data of one station in 1 scan] to select. POINT The fastest link scan time in the low-speed cyclic transmission can be calculated by the following equation:...
  • Page 239 APPLICATION FUNCTIONS MELSEC-Q (3) System timer interval The low-speed cyclic data is sent in the link cycle at the specified time. By omitting year, month, and date, the low-speed cycle transmission can be activated yearly (or monthly, or daily). Hour, minute and second cannot be omitted.
  • Page 240: Transient Transmission Function (non-periodical Communication)

    APPLICATION FUNCTIONS MELSEC-Q 7.4 Transient Transmission Function (Non-Periodical Communication) The transient transmission function performs data communication only when it is requested between stations. The transient transmission function can be requested with the dedicated link instructions (SEND, RECV, READ, SREAD, WRITE, SWRITE, REQ, ZNRD, ZNWR, RECVS, RRUN, RSTOP, RTMRD and RTMWR), GX Developer, the intelligent function module, etc.
  • Page 241: Communication Function

    APPLICATION FUNCTIONS MELSEC-Q 7.4.1 Communication function (1) Parameter settings Set the execution conditions for the transient transmission with the parameters listed below. In the default settings, both the number of transients that one network can execute in one link scan ([Maximum no. of transients in 1 scan]) and the number of transients that one station can execute in one link scan ([Maximum no.
  • Page 242 APPLICATION FUNCTIONS MELSEC-Q (2) Transient transmission range In a multiple network system of the MELSECNET/H, communication can be performed with stations in a maximum of eight networks by setting the routing parameters described in Section 7.4.2. The following figure illustrates the transient transmission range using an example where the destinations are limited to eight networks.
  • Page 243 APPLICATION FUNCTIONS MELSEC-Q [Transient transmission valid range] The following table shows the valid ranges of send/receive by transient transmission using the network configuration on the previous page. In the table below, , and indicate whether or not the transient transmission between the request source (destination) listed in the column at the left and the request destination (source) listed in the row at the bottom is possible.
  • Page 244: Routing Function

    APPLICATION FUNCTIONS MELSEC-Q 7.4.2 Routing function The routing function is used to execute transient transmissions to stations having other network numbers in a multiple network system. In order to execute the routing function, it is necessary to set the "routing parameters" to associate the network numbers of the request source and the station that will function as a bridge between the networks.
  • Page 245 APPLICATION FUNCTIONS MELSEC-Q (2) Routing parameter settings Setting screen On the following screen, up to 64 "Target network No." can be set for the High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU, or up to eight for the Basic model QCPU and safety CPU.
  • Page 246 APPLICATION FUNCTIONS MELSEC-Q (3) Settings for different network system configurations and setting contents The stations to set for the transient transmission and the contents of the routing parameters vary depending on the system configuration. Single network system It is not necessary to set the routing parameters for the transient transmission to the same network.
  • Page 247 APPLICATION FUNCTIONS MELSEC-Q POINT When a network is connected in a loop as shown in the figure below, make sure to set the routing parameters so that the same relay station is routed for both the "route from request source to request designation" and the "route back from request destination to request source."...
  • Page 248 APPLICATION FUNCTIONS MELSEC-Q (4) Calculation of transmission delay time The processing time of the transient transmission instruction to access a station on other network in a multiple network system can be obtained by adding the following transmission delay factors. (Routing transmission delay time) = (processing time from request source to relay station) + (processing time from relay station to request destination) (a) Processing time from request source to relay station This is the transmission delay time from the request source (the station that...
  • Page 249 APPLICATION FUNCTIONS MELSEC-Q (5) Setting example The routing parameter setting examples (A, B) are explained using the following system configuration. POINT Since only one network module can be installed with the Basic model QCPU, Q00UJCPU, Q00UCPU, Q01UCPU and safety CPU, it cannot be used as a relay station.
  • Page 250 APPLICATION FUNCTIONS MELSEC-Q Setting example B The routing parameters must be set for the request source 1), relay station 2), relay station 3), relay station 4), relay station 5), relay station 6), relay station 7), and relay station 8). In addition, there are two types of routing parameter settings; one is used when sending data from the request source to the request destination (when sending a request), and the other is used when returning from the request destination to the request source (when sending a response).
  • Page 251: Group Function

    APPLICATION FUNCTIONS MELSEC-Q 7.4.3 Group function The group function is used to group the target stations of a transient transmission and send data to all of the stations in a group with a single instruction. One network may have a maximum of 32 groups. By setting a group specification to the target station number in the control data of a dedicated link instruction, stations with the matching group number retrieve the transient data.
  • Page 252: Message Sending Function Using The Logical Channel Numbers

    APPLICATION FUNCTIONS MELSEC-Q 7.4.4 Message sending function using the logical channel numbers The message sending function using the logical channel numbers is useful when there are many kinds of information and the receiving station side needs to selectively receive only some of the send messages. The sending station side is equivalent to a broadcast station that delivers messages to logical channels, and the receiving station side is equivalent to a television receiver in an ordinary household that can switch between logical channels.
  • Page 253 APPLICATION FUNCTIONS MELSEC-Q POINT Whether or not channel No.-specified transient transmission has been executed cannot be verified. If it is executed consecutively, the no free area in the receive buffer error (error code: F222) may occur. Properly design the system to leave execution intervals and perform a test (debugging) so that transmission can be executed consecutively.
  • Page 254: Programming

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 Programming This section describes the formats of dedicated instructions available for network modules and program examples. POINT The descriptions in this section are based on the MELSECNET/H specifications. For access to CC-Link IE Controller Network or CC-Link IE Field Network, refer to the manual for the network module used.
  • Page 255 APPLICATION FUNCTIONS MELSEC-Q (Example 1) When using the same channel with multiple instructions One network module has 8 channels for executing instructions. Although these channels can be used at the same time, the same channel cannot be concurrently used for multiple instructions. If execution of multiple instructions are attempted at the same time on the same channel, those to be executed later have to wait.
  • Page 256 APPLICATION FUNCTIONS MELSEC-Q 7 - 32 7 - 32...
  • Page 257 APPLICATION FUNCTIONS MELSEC-Q POINT When simultaneously accessing multiple other stations from the host station, change the channel setting of the host station for each request target. Station No.3 Station No.1 (Host station) (Other station) WRITE Channel 1: Write to station No.1 Channel 1 Channel 2: Read from station No.1 Channel 2...
  • Page 258 APPLICATION FUNCTIONS MELSEC-Q (Example 2) When executing instructions from a redundant system If system is switched in a redundant system during execution of an instruction, the instruction will be discontinued in the redundant CPU of the new control system and will not be completed. Using the SM1518 (one scan ON after system switching) and the complete signal, create a program that any instruction being executed will be continued by the new control system even when the system is...
  • Page 259 APPLICATION FUNCTIONS MELSEC-Q 2) Available devices The following devices are available for the dedicated instructions: Internal devices File register Constant Word X, Y, M, L, F, V, B T, ST, C, D, W R, ZR K, H, $ 1: Word device bit specification is available for bit data. A bit of a word device is specified with Word device and Bit No.
  • Page 260: 1) Data Sending/receiving (jp/gp.send, Jp/gp.recv)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (1) Data sending/receiving (JP/GP.SEND, JP/GP.RECV) Target station Refer to Section 6.3. Instruction format JP/GP.SEND This instruction sends data to a network module in other station. Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register Constant data...
  • Page 261 APPLICATION FUNCTIONS MELSEC-Q Control data Setting Device Item Setting data Setting range side 1) Execution type (bit 0) 0: No arrival confirmation • When the target station is on the same network Completed when data are sent from the host station. Execution Target source...
  • Page 262 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side Specify the station No. of the target station. 1) Station No. specification 1 to 64 : Station No. (To increase the reliability of data, it is recommended to execute the instruction with the execution type in (S1)+0 set to "1: With arrival confirmation".) 2) Group specification...
  • Page 263 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side Clock data on error completion are stored in BCD format. (Data are stored when "1: Clock data at the time of error completion is set in the area starting from (S1)+11." is set in the error completion type in (S1)+0). Note that the stored value will not be cleared even after the dedicated instruction is completed.
  • Page 264 APPLICATION FUNCTIONS MELSEC-Q POINT When sending data to the same channel of the receiving station, execute the sending after the receiving station reads data using the RECV instruction. If the sending station sends data to the same channel of the receiving station before the receiving station reads data using the RECV instruction, an error will occur.
  • Page 265 APPLICATION FUNCTIONS MELSEC-Q 2) JP/GP.RECV This instruction is used when sending data from the network module in another station. Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register Constant data File register module device Others K, H, $ Word Word...
  • Page 266 APPLICATION FUNCTIONS MELSEC-Q Control data Setting Device Item Setting data Setting range side Error completion 0000 1) Error completion type (bit 7) (S1)+0 User type 0080 Specify the clock data setup status for error completion. 0: Clock data at the time of error completion is not set in the area starting from (S1)+11. 1: Clock data at the time of error completion is set in the area starting from (S1)+11.
  • Page 267 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side Network No. of the station, where an error was detected, is stored. (Data are stored when "1: Clock data at the time of error completion is set in the area starting Error-detected from (S1)+11."...
  • Page 268 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion SEND (When with arrival confirmation) Sequence scan Send command Sending station CPU Send completion device (Device designated in (D1)) One scan Send completion device (Device at (D1)+1) Network module Channel 1 Data Storage sending complete...
  • Page 269 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [In case of the SEND instruction] SEND Sequence scan Send command Sending station CPU Send completion device (Device designated in (D1)) Send completion device (Device at (D1)+1) One scan Completion status Error code (Device at (S1)+1) Network module Channel 1 Data...
  • Page 270 APPLICATION FUNCTIONS MELSEC-Q Program example 1 (target station is specified) Station number 3 uses channel 3 and sends data to the target station of station number 15's storage channel 5 (logical channel 5) using the SEND instruction. Upon receiving the data, station number 15 reads data from channel 5. Network module Network module (station No.
  • Page 271 APPLICATION FUNCTIONS MELSEC-Q Program for station number 15 (RECV instruction) When actually using the following program, provide interlocks in the program referring to Section 6.1. 7 - 47 7 - 47...
  • Page 272 APPLICATION FUNCTIONS MELSEC-Q Program example 2 (logical channel numbers are used) Station number 1 uses channel 2 and sends message data to the target station storage channel number 13 (logical channel 13) using the SEND instruction. Station number 2 executes the RECV instruction and reads the received data from channel 5 (logical channel 13).
  • Page 273 APPLICATION FUNCTIONS MELSEC-Q Program for station number 1 (SEND instruction) When using the following program, provide interlocks in the program referring to Section 6.1. 7 - 49 7 - 49...
  • Page 274 APPLICATION FUNCTIONS MELSEC-Q Program for receiving station (station number 2) (RECV instruction) When using the following program, provide interlocks in the program referring to Section 6.1. 7 - 50 7 - 50...
  • Page 275 APPLICATION FUNCTIONS MELSEC-Q Program example 3 (when specifying a target station to execute an instruction to the redundant system) When the target station is in a redundant system, the SEND instruction must be executed after judging whether it is a control system. If the target station is on the standby system, the RECV instruction is not executed and the target station saving channel is not available.
  • Page 276 APPLICATION FUNCTIONS MELSEC-Q POINT When the SEND instruction is executed to the redundant system, the processing of the RECV instruction and interrupt program (RECVS instruction) depends on the following conditions: When the SEND instruction is executed to the control system and the system is switched before execution of the RECV instruction and the interrupt program If the control system is switched to the standby system before execution of...
  • Page 277: 2) Reading From/writing To Word Devices Of Other Stations (jp/gp.read, Jp/gp.sread, Jp/gp.write, Jp/gp.swrite)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (2) Reading from/writing to word devices of other stations (JP/GP.READ, JP/GP.SREAD, JP/GP.WRITE, JP/GP.SWRITE) Target station Refer to Section 6.3. (a) Instruction format JP/GP.READ and JP/GP.SREAD These instructions are used to read data from devices of a programmable controller on another station.
  • Page 278 APPLICATION FUNCTIONS MELSEC-Q Instruction format [Network No. specification] [Execution condition] [Instruction symbol] Command JP.READ (D2) JP.READ (S1) (S2) (D1) Command JP.SREAD JP.SREAD (S1) (S2) (D1) (D2) (D3) [Network module start I/O No. specification] [Instruction symbol] [Execution condition] Command GP.READ GP.READ (S1) (S2) (D1)
  • Page 279 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the host station (1 to 239, 254) 254: The network specified in Valid module during other station access User Binary 16 bits Start I/O number of the host station's network module (00 to FE : The higher two digits of the 3-digit I/O number) (S1)
  • Page 280 APPLICATION FUNCTIONS MELSEC-Q Control data Setting Device Item Setting data Setting range side Error completion 0001 1) Error completion type (bit 7) (S1)+0 User type 0081 Specify the clock data setup status for error completion. 0: Clock data at the time of error completion is not set in the area starting from (S1)+11. 1: Clock data at the time of error completion is set in the area starting from (S1)+11.
  • Page 281 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side Specify the monitoring time required for instruction completion. If an instruction is not completed within this time, it will be resent the number of times specified in (S1)+7. (S1)+8 Arrival monitoring time 0 to 32767 User : 10 seconds...
  • Page 282 APPLICATION FUNCTIONS MELSEC-Q POINT Specify the device of the other station CPU module to be read with the READ/SREAD instruction within the range available for the host CPU module. (Head device No. (S2) of read target of other station CPU module) + (Number of read points - 1) (Last device No.
  • Page 283 APPLICATION FUNCTIONS MELSEC-Q JP/GP.WRITE and JP/GP.SWRITE These instructions are used to write data to devices of a programmable controller on another station. (In units of words) With the SWRITE instruction, a device on another station turns on when data writing is completed. (The other station can recognize that data have been written with the SWRITE instruction.) Applicable device Applicable device...
  • Page 284 APPLICATION FUNCTIONS MELSEC-Q Instruction format [Network No. specification] [Instruction symbol] [Execution condition] Command JP.WRITE (S2) JP.WRITE (S1) (D1) (D2) Command JP.SWRITE (D2) JP.SWRITE (S1) (S2) (D1) (D3) [Network module start I/O No. specification] [Instruction symbol] [Execution condition] Command GP.WRITE (S2) (D2) GP.WRITE (S1)
  • Page 285 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the host station (1 to 239, 254) 254: The network specified in Valid module during other station access User Binary 16 bits Start I/O number of the host station's network module (00 to FE : The higher two digits of the 3-digit I/O number) (S1)
  • Page 286 APPLICATION FUNCTIONS MELSEC-Q Control data Device Item Setting data Setting range Setting side 1) Execution type (bit 0) 0: No arrival confirmation • When the target station is on the same network Completed when data are sent from the host station. Execution Target source...
  • Page 287 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side Specify the CPU module on the station to be accessed. Setting value Description Control CPU (The access target is the same as when "03FF " is 0000 specified.) 03D0 Control system CPU 03D1 Standby system CPU...
  • Page 288 APPLICATION FUNCTIONS MELSEC-Q Device Item Setting data Setting range Setting side (S1)+6 (Use prohibited) 1) For instruction execution Specify the number of times the instruction is to be resent when it is not completed within the monitoring time specified in (S1)+8. 0 to 15 User (Setting is available when the execution type is set to "1: With arrival confirmation"...
  • Page 289 APPLICATION FUNCTIONS MELSEC-Q POINT Specify the device of the other station CPU module to be written with the WRITE/SWRITE instruction within the range available for the host CPU module. (Head device No. (D1) of write target of other station CPU module) + (Number of write points - 1) (Last device No.
  • Page 290 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [READ and SREAD instructions] 7 - 66 7 - 66...
  • Page 291 APPLICATION FUNCTIONS MELSEC-Q [WRITE and SWRITE instructions] 7 - 67 7 - 67...
  • Page 292 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [READ and SREAD instructions] [WRITE and SWRITE instructions] 7 - 68 7 - 68...
  • Page 293 APPLICATION FUNCTIONS MELSEC-Q Program example Read the data in D10 to D14 of station number 4 to D200 to D204 of station number 1. Read the data in SD0 (diagnostic error) of station number 4 to D210 of station number 1. Write the data stored in D300 to D303 of station number 2 to D50 to D53 of station number 3.
  • Page 294 APPLICATION FUNCTIONS MELSEC-Q Program for station number 1 (READ instruction) When actually using the following program, provide interlocks in the program referring to Section 6.1. (When reading the data in D10 to D14 of station number 4 to D200 to D204 of station number 1) (When reading the data in SD0 (diagnostic error) of station number 4 to D210 of station number 1)
  • Page 295 APPLICATION FUNCTIONS MELSEC-Q Program for station number 2 (SWRITE instruction) When actually using the following program, provide interlocks in the program referring to Section 6.1. 7 - 71 7 - 71...
  • Page 296: 3) Requesting Transient Transmission To Other Stations (j(p)/g(p).req)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (3) Requesting transient transmission to other stations (J(P)/G(P).REQ) Target station Refer to Section 6.3. This instruction is used to send a transient transmission request to the programmable controller in other stations. Instruction format Applicable device Applicable device Setting Link direct device Intelligent function...
  • Page 297 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the host station (1 to 239, 254) Binary 16 bits 254: The network specified in Valid module during other station access User Start I/O number of the host’s station network module Character string (00 to FE : The higher two digits of the 3-digit I/O number)
  • Page 298 APPLICATION FUNCTIONS MELSEC-Q Control data Setting Device Item Setting data Setting range side Error completion 0011 1) Error completion type (bit 7) (S1)+0 User type 0091 Specify the clock data setup status for error completion. 0: Clock data at the time of error completion is not set in the area starting from (S1)+11. 1: Clock data at the time of error completion is set in the area starting from (S1)+11.
  • Page 299 APPLICATION FUNCTIONS MELSEC-Q Setting Device Item Setting data Setting range side 1) For instruction execution Specify the number of times the instruction is to be resent when it is not completed within 0 to 15 User the monitoring time specified in (S1)+8. (S1)+7 Number of resends 2) At instruction completion...
  • Page 300 APPLICATION FUNCTIONS MELSEC-Q 1) Request data (S2)/response data(D1) (for reading/writing the clock data) Request data (All set by the user) Clock data Clock data Device Item Setting data read write 0001 : Clock data read (S2)+0 Request type 0011 : Clock data write (when station No. is specified in (S1)+5) 0031 : Clock data write (when all stations or a group is specified in (S1)+5) 0002...
  • Page 301 APPLICATION FUNCTIONS MELSEC-Q Response data (All set by the system) Clock data Clock data Device Item Setting data read write 0081 : Clock data read (D1)+0 Request type 0091 : Clock data write (when station No. is specified in (S1)+5) 0002 : Clock data read (D1)+1...
  • Page 302 APPLICATION FUNCTIONS MELSEC-Q 2) Request data (S2)/response data (D1) at remote RUN/STOP Request data (All set by the user) Remote Remote Device Item Setting data STOP 0010 : When station No. is specified in (S1)+5 (S2)+0 Request type 0030 : When all stations or a group is specified in (S1)+5 0001 : Remote RUN (S2)+1...
  • Page 303 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion 7 - 79 7 - 79...
  • Page 304 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion 7 - 80 7 - 80...
  • Page 305 APPLICATION FUNCTIONS MELSEC-Q Program example The following example shows a program that stops the CPU module of station number 13 in network number 7. When using the following program, provide interlocks in the program referring to Section 6.1. 7 - 81 7 - 81...
  • Page 306: 4) Reading/writing Word Devices Of Other Stations (j(p).znrd, J(p).znwr)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (4) Reading/writing word devices of other stations (J(P).ZNRD, J(P).ZNWR) Target station Refer to Section 6.3. Instruction format J(P).ZNRD This instruction reads data from devices of a programmable controller on another station. (In units of words) Applicable device Applicable device Setting Link direct device...
  • Page 307 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239) User Binary 16 bits Target station No. (1 to 64) (S1) Target station's start device where data to be read are stored The host station's start device where readout data will be stored Device name (D1)
  • Page 308 APPLICATION FUNCTIONS MELSEC-Q J(P).ZNWR This instruction writes data to devices of a programmable controller on another station. (In units of words) Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register Constant data File register module device Others K, H, $ Word...
  • Page 309 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239) Target station No. Specify the station No. of the target station. 1) Station No. specification 1 to 64: Station No. User Binary 16 bits 2) Group specification...
  • Page 310 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [ZNRD instruction] ZNRD Sequence scan Read command Read completion device Host CPU (Device designated in (D2)) One scan Read completion device (Device at (D2)+1) Read data storage device (Device designated in (D1)) Network module Channel 1(fixed) Network module...
  • Page 311 APPLICATION FUNCTIONS MELSEC-Q [ZNWR instruction] ZNWR Sequence scan Write command Write completion device Host CPU (Device designated in (D2)) One scan Write completion device (Device at (D2)+1) Write data storage device 3000 (Device designated in (S1)) Channel 2 (fixed) Network module Network module Sequence scan Target station CPU...
  • Page 312 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [ZNRD instruction] ZNRD Sequence scan Read command Host CPU Read completion device (Device designated in (D2)) Read completion device (Device at (D2)+1) One scan Error code SW0031 Network module Channel 1(fixed) Target station error [ZNWR instruction] ZNWR Sequence scan Write command...
  • Page 313 APPLICATION FUNCTIONS MELSEC-Q Program example 1 (When a system other than the redundant system is the target system) The program examples shown below are programmed for the following system configuration. When actually using the programs below, provide interlocks in the program referring to Section 6.1.
  • Page 314 APPLICATION FUNCTIONS MELSEC-Q Program example 2 (when a redundant system is the target system) When the target station is in a redundant system, the ZNRD instruction must be executed after judging whether it is a control system. The program example shown below is an interlock program for reading D10 to D14 of the control system CPU of the redundant system consisting of station Nos.
  • Page 315: 5) Remote Run/remote Stop (z(p).rrun, Z(p).rstop)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (5) Remote RUN/Remote STOP (Z(P).RRUN, Z(P).RSTOP) Target station Refer to Section 6.3. Instruction format Z(P).RRUN This instruction is used to remotely stop a programmable controller on another station. Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register...
  • Page 316 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239, 254) "Jn"/Jn 254: The network specified in Valid module during other station access String/Binary 16 bits Start I/O number of the host station's network module "Un"/Un (00 to FE : The higher two digits of the 3-digit I/O number)
  • Page 317 APPLICATION FUNCTIONS MELSEC-Q 1: Local devices and file registers for each program cannot be used as devices in setting data. 2: The setting side is as shown below. User : It is data the user sets in the sequence program before execution of a link dedicated instruction. System: The programmable controller CPU stores the execution result of the link dedicated instruction.
  • Page 318 APPLICATION FUNCTIONS MELSEC-Q Z(P).RSTOP This instruction is used to remotely stop a programmable controller on another station. Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register Constant data File register module device Others K, H, $ Word Word U \G...
  • Page 319 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239, 254) "Jn"/Jn 254: The network specified in Valid module during other station access String/Binary 16 bits Start I/O number of the host station's network module "Un"/Un (00 to FE : The higher two digits of the 3-digit I/O number)
  • Page 320 APPLICATION FUNCTIONS MELSEC-Q POINT Remote STOP is available when the RUN/STOP switch of the target station CPU is set to "RUN". Remote STOP is not executable when system protect is applied to the target station CPU. If the target station CPU, for which remote STOP was performed, is reset, the remote STOP information is erased.
  • Page 321 APPLICATION FUNCTIONS MELSEC-Q [RSTOP instruction] RSTOP Sequence scan Execution command Host CPU Execution completion device (device specified with (D)) One scan Execution completion device (device specified with (D)+1) Network module Channel 1 Network module When stopped Sequence scan Target station’s CPU Remote STOP According to the system organization, sequence scan time, etc., several scans will be run until the sequence scan STOP instruction...
  • Page 322 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [RRUN instruction] RRUN Sequence scan Execution command Host CPU Execution completion device (device specified with (D)) Execution completion device (device specified with (D)+1) One scan Error code SW0031 Channel 1 Network module Target station error [RSTOP instruction] RSTOP Sequence scan...
  • Page 323 APPLICATION FUNCTIONS MELSEC-Q Program examples The program examples shown below are programmed for the following system configuration. When actually using the programs below, provide interlocks in the program referring to Section 6.1. Station No. 1 Station No. 2 QCPU QX40 QY40P QCPU QX40 QY40P QJ71...
  • Page 324: 6) Reading And Writing Clock Data Of Other Station Cpu Modules (z(p).rtmrd, Z(p).rtmwr)

    APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (6) Reading and writing clock data of other station CPU modules (Z(P).RTMRD, Z(P).RTMWR) Target station Refer to Section 6.3. Instruction format Z(P).RTMRD This instruction is used to read clock data from a programmable controller on another station. Applicable device Applicable device Setting...
  • Page 325 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239, 254) "Jn"/Jn 254: The network specified in Valid module during other station access String/Binary 16 bits Start I/O number of the host station's network module "Un"/Un (00 to FE : The higher two digits of the 3-digit I/O number)
  • Page 326 APPLICATION FUNCTIONS MELSEC-Q Z(P).RTMWR This instruction is used to write clock data to a programmable controller on another station. Applicable device Applicable device Setting Link direct device Intelligent function Internal device Index register Constant data File register module device Others K, H, $ Word Word...
  • Page 327 APPLICATION FUNCTIONS MELSEC-Q Setting data Setting data Description Setting side Data type Network No. of the target station (1 to 239, 254) "Jn"/Jn 254: The network specified in Valid module during other station access String/Binary 16 bits Start I/O number of the host station's network module "Un"/Un (00 to FE : The higher two digits of the 3-digit I/O number)
  • Page 328 APPLICATION FUNCTIONS MELSEC-Q Clock data Device Item Setting data In (D1)+1 to (D1)+4, specify data to be changed. (all set by the user) 0: Do not change 1: Change b7 b6 b5 b4 b3 b2 b1 b0 (D1)+0 Change pattern Year (lower two digits) Month Date...
  • Page 329 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [RTMRD instruction] RTMRD Sequence scan Read command Read completion device Host CPU (device specified with (D2)) One scan Read completion device (device specified with (D2)+1) Device for storing the read Clock data clock data (device specified with (D1)) Network module Channel 1...
  • Page 330 APPLICATION FUNCTIONS MELSEC-Q [RTMWR instruction] RTMWR Sequence scan Write command Write completion device Host CPU (device specified with (D2)) One scan Write completion device (device specified with (D2)+1) Device for storing the written Clock data clock data (device specified with (D1)) Network module Channel 1 Network module...
  • Page 331 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [RTMRD instruction] RTMRD Sequence scan Read command Read completion device Host CPU (device specified with (D2)) Read completion device (device specified with (D2)+1) One scan Error code SW0031 Network module Channel 1 Target station error [RTMWR instruction] RTMWR Sequence scan...
  • Page 332 APPLICATION FUNCTIONS MELSEC-Q Program examples The program examples shown below are programmed for the following system configuration. When actually using the programs below, interlock the programs referring Section 6.1. RTMRD instruction A program to execute the clock data read instruction with the use of channel 1 for the station No.4 control CPU and storing the result in D0 is shown below.
  • Page 333: Setting The Clock To Stations On A Network With Gx Developer

    APPLICATION FUNCTIONS MELSEC-Q 7.4.6 Setting the clock to stations on a network with GX Developer The clock can be set on the CPU modules that are connected on a network using GX Developer. By specifying the execution destination to all stations or a group, the clock can be set on multiple stations at the same time.
  • Page 334: Starting The Interrupt Sequence Program

    APPLICATION FUNCTIONS MELSEC-Q 7.5 Starting the Interrupt Sequence Program This function checks the interrupt conditions at data receiving from other stations using the interrupt setting parameters of the host. When the interrupt conditions are matched, it issues an interrupt request to the CPU module from the network module and starts the interrupt sequence program of the host's CPU.
  • Page 335: Interrupt Setting Parameters

    APPLICATION FUNCTIONS MELSEC-Q 7.5.1 Interrupt setting parameters A maximum of 16 interrupt conditions can be set for each device code of the interrupt setting conditions on the following setting screen. Click the Interrupt settings button to display the setting screen. [Selections of interrupt conditions for interrupt device codes and valid setting ranges] Setting condition Word device...
  • Page 336 APPLICATION FUNCTIONS MELSEC-Q REMARKS The correspondence between the interrupt (SI) No. of the network module and the interrupt pointer (I on the CPU side are set on the PLC system setting screen on the PLC parameters as shown below. 1: Number used for the actual interrupt program (I The following shows how to set these parameters on the PC system setting screen using the interrupt setting parameters shown on the previous page.
  • Page 337: Interrupts Using The Recvs Instruction

    APPLICATION FUNCTIONS MELSEC-Q 7.5.2 Interrupts using the RECVS instruction An interrupt program can be started when the SEND instruction is received at the channel whose parameters are specified with the RECVS instruction. When "RECV instruction" is selected as the device code, the settings of "Channel No." and "Interrupt (SI) No."...
  • Page 338: Interrupts By The Link Devices (lb/lw/lx) For Cyclic Transmission

    APPLICATION FUNCTIONS MELSEC-Q 7.5.3 Interrupts by the link devices (LB/LW/LX) for cyclic transmission The specified interrupt sequence program can be executed from other stations when the conditions of "rise/fall" of the link devices (LB/LW) and "equal to/not equal to" of the link register (LW) are matched.
  • Page 339 APPLICATION FUNCTIONS MELSEC-Q REMARKS When the sequence program executes at high speed, the scan time may take longer because the execution time of the interrupt program affects the performance of the interrupt program. When multiple interrupts occur at the same time, the operation delay may occur.
  • Page 340: Interrupts By The Link Special Device (sb/sw)

    APPLICATION FUNCTIONS MELSEC-Q 7.5.4 Interrupts by the link special device (SB/SW) The specified interrupt sequence program can be executed when the conditions of the control information (SB/SW) during data linking match. In the example below, specify the interrupt setting parameters for station number 15 so that the interrupt program is started when SB0049 turns on (data link error occurred).
  • Page 341: Message Reception "one Scan Completion" Instruction (z.recvs)

    APPLICATION FUNCTIONS MELSEC-Q 7.5.5 Message reception "one scan completion" instruction (Z.RECVS) This instruction reads the channel data that is sent to the host with the SEND instruction. The processing completes at the execution of this instruction; thus, the processing speed of this instruction is faster than that of the RECV instruction. (1) The instruction format of RECVS Applicable device Applicable device...
  • Page 342 APPLICATION FUNCTIONS MELSEC-Q Control data Setting side Device Item Setting data Setting range Error completion 0000 (S1)+0 1) Error completion type (bit 7) User type 0080 Specify the clock data setup status for error completion. 0: Clock data at the time of error completion is not set in the area starting from (S1)+11. 1: Clock data at the time of error completion is set in the area starting from (S1)+11.
  • Page 343 APPLICATION FUNCTIONS MELSEC-Q (2) Instruction execution timing Normal completion SEND (With arrival confirmation) Sequence scan Send command Sending side CPU Send completion device (Device designated in (D1)) One scan Send completion device (Device designated in (D1)+1) Channel 1 Network module Data Storage sending...
  • Page 344 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion In case of the SEND instruction SEND Sequence scan Send command Sending side CPU Send completion device (Device designated in (D1)) Send completion device (Device designated in (D1)+1) One scan Completion status Error code (Device designated in (S1)+1) Network module Channel 1 Data...
  • Page 345: Application Example

    APPLICATION FUNCTIONS MELSEC-Q 7.5.6 Application example The following explains the parameter settings and program examples. (1) How to set the parameters on the interrupt setting screen (network parameters) Set the device code, channel No., and interrupt (SI) No. so that an event is issued to the CPU side when data are received at channel 5 of the network module in the station number 15.
  • Page 346 APPLICATION FUNCTIONS MELSEC-Q (3) Program examples Program for station number 3 When actually using the following program, provide interlocks in the program referring to Section 6.1. Program for station number 15 When using the program below, provide interlocks in the program referring to Section 6.1.
  • Page 347: Multiplex Transmission Function (optical Loop System)

    APPLICATION FUNCTIONS MELSEC-Q 7.6 Multiplex Transmission Function (Optical Loop System) The multiplex transmission function allows high-speed communications using duplex transmission paths (both the forward and reverse loops) in the optical loop system. In order to execute the multiplex transmission function, setting for the "Supplementary settings"...
  • Page 348: Simple Dual-structured Network (high Performance Model Qcpu And Process Cpu)

    APPLICATION FUNCTIONS MELSEC-Q 7.7 Simple Dual-Structured Network (High Performance model QCPU and Process CPU) By installing two network modules, a regular network module and a standby network module, to each CPU module, data linking can be continued by switching to link data refreshing with the standby network when a faulty area is detected on the regular network due to wire breakage, etc.
  • Page 349 APPLICATION FUNCTIONS MELSEC-Q Set different network Nos. for the regular and standby network modules. [When the regular network is normal] At the initial startup, the CPU module controls the on/off status of the special relay (SM). Signal Status Remarks SM255 (Distinction between regular/standby network) Off (Regular) Controlled by the CPU.
  • Page 350 APPLICATION FUNCTIONS MELSEC-Q [When the regular network is faulty] The CPU module does not control the special relay (SM) automatically; thus, must be controlled by the sequence program. Signal Status Remarks SM255 (distinction between regular/standby network) Off (Regular) Controlled by the CPU. Module 1 SM256 (Refresh from the network modules to the CPU) On (Does not refresh)
  • Page 351 APPLICATION FUNCTIONS MELSEC-Q (3) Program for the simple dual-structured system The following explains the program that performs refresh switching between the regular and standby networks. [When the regular network is normal] [When there is a faulty area in the regular network] Regular Standby Regular...
  • Page 352 APPLICATION FUNCTIONS MELSEC-Q The target network No. in the routing parameters must be rewritten with the RTWRITE instruction because the same number cannot be set twice. When the regular network is normal When the regular network is faulty (standby) (standby) Network No.
  • Page 353: Stopping/restarting The Cyclic Transmission And Stopping Link Refreshing (network Test)

    APPLICATION FUNCTIONS MELSEC-Q 7.8 Stopping/Restarting the Cyclic Transmission and Stopping Link Refreshing (Network Test) The cyclic transmission can be stopped or restarted using the "Network test" function of GX Developer. This function is useful for not receiving other station's data or for not sending the host's data at system startup (when debugging), etc.
  • Page 354 APPLICATION FUNCTIONS MELSEC-Q Execution using the sequence program (Not allowed for the Basic model QCPU and safety CPU) The data receiving between the CPU module and network modules (link refreshing) is not stopped or restarted by stopping/restarting the cyclic transmission. Thus, it is necessary to stop/restart link refreshing by the sequence program using the CPU module's special relay (SM).
  • Page 355 APPLICATION FUNCTIONS MELSEC-Q (1) Stop/startup operation within a network The following shows an example in which 1M 1 issues a stop request to 1N and then restarts the data link. Stop Stop the cyclic transmission of 1Ns2 with GX Developer. Link stop GX Developer 1Ns3...
  • Page 356: Increasing The Number Of Send Points By Installing Multiple Modules With The Same Network (high Performance Model Qcpu, Process Cpu, Redundant Cpu, And Universal Model Qcpu)

    APPLICATION FUNCTIONS MELSEC-Q 7.9 Increasing the Number of Send Points by Installing Multiple Modules with the Same Network (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) The number of send points (maximum of 2,000 bytes per station) can be increased up to a maximum of 8,000 bytes (when four cards are installed) by installing multiple network modules with the same network number to one CPU module.
  • Page 357 APPLICATION FUNCTIONS MELSEC-Q POINT Observe the following precautions when installing multiple network modules with the same network number to one CPU module: They cannot be set to the same station number. Multiple stations cannot be set as control stations. When using a function such as the link direct device that specifies the network module by a network No., the execution target is as follows.
  • Page 358: Configuring A Network With A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10 Configuring a Network with a Redundant System This section outlines the operation of a redundant system and describes the network parameters to be set to configure a redundant system with the MELSECNET/H. 7.10.1 Outline of the redundant system operation Described below is an outline of the redundant system operation.
  • Page 359 7 APPLICATION FUNCTIONS MELSEC-Q Sending and receiving cyclic data Cyclic data are sent and received by the following processing: Processing by the network module connected to the control system The redundant system consists of a control system and a standby system, and only the control system executes programs.
  • Page 360 7 APPLICATION FUNCTIONS MELSEC-Q (2) Redundant system project In a redundant system using redundant CPUs, one project is required to create parameters and sequence programs and there is no need to create 2 projects for each of the control and standby systems. The network modules mounted to the control and standby systems can communicate with each other with a single network parameter.
  • Page 361: Precautions For Network Configuration Including A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.2 Precautions for network configuration including a redundant system This section describes precautions when configuring a MELSECNET/H or MELSECNET/10 network including a redundant system. When configuring such a network, pay careful attentions to the following points. For details, refer to (1) and (2) of this section.
  • Page 362 7 APPLICATION FUNCTIONS MELSEC-Q (1) Configuring a MELSECNET/H network including a redundant system When configuring a MELSECNET/H network including a redundant system or when connecting a redundant system to an existing MELSECNET/H, follow the restrictions shown below. When configuring a new MELSECNET/H network including a redundant system To configure a new MELSECNET/H network including a redundant system, use the following network modules and GX Developer.
  • Page 363 7 APPLICATION FUNCTIONS MELSEC-Q Function versions of network modules Station type CPU type Function version of network module Redundant CPU Basic model QCPU High Performance model QCPU Function version D or later Control station Process CPU Universal model QCPU Safety CPU Setting not available Redundant CPU Function version D or later...
  • Page 364 7 APPLICATION FUNCTIONS MELSEC-Q Versions of GX Developer or GX Works2 for setting parameters Version of GX Station type CPU type Version of GX Works2 Developer Q12PRH/Q25PRHCPU Redundant system Single CPU system Q00J/Q00/Q01CPU Multiple CPU system Version 8.18U or later Single CPU system Q02/Q02H/Q06H/Q12/Q25HCPU Multiple CPU system...
  • Page 365 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system to an existing MELSECNET/H network The method for configuring a network depends on conditions 1) and 2) shown below. When connecting a redundant system as the control station Change the previous control station to a normal station, and connect a redundant system.
  • Page 366 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system as normal stations Replace the network module of the control station with a network module of function version D or later (CPU module change is not required). After changing the network module of the control station, use GX Developer of version 8.18U or later to make the network parameter setting again.
  • Page 367 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system as normal stations Connecting a redundant system as normal stations to a MELSECNET/10 including a QCPU (other than the redundant CPU) station acting as a control station Replace the network module of the control station with a network module of function version D or later (it is not necessary to change the CPU module).
  • Page 368 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system as normal stations to a MELSECNET/10 including an AnUCPU or QnACPU station acting as a control station The network module installed with an AnUCPU or QnACPU cannot be set as a control station if a redundant system using Q4ARCPUs or redundant CPUs exists in the network.
  • Page 369: Pairing Setting In A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.3 Pairing setting in a redundant system A redundant system consists of a control system and a standby system. In pairing setting, set a combination of the station numbers of the network modules making up the redundant system. When there is a redundant system in the network, the pairing setting must be done with the common parameters of the control station *1: For the control station, use a network module of function version D or later.
  • Page 370 7 APPLICATION FUNCTIONS MELSEC-Q (2) Setting example and cyclic transmission The following system configuration example is used to describe a setting example and cyclic transmission. Confirm that the network modules set for Set two adjoining station pairing are connected to the redundant CPUs. numbers as a pair.
  • Page 371 7 APPLICATION FUNCTIONS MELSEC-Q Cyclic transmission [When station No. 1 is cut off due to a communication error (system switching occurs)] If a communication error occurs in station No. 1 and it is consequently cut off from the network, the network module automatically issues a system switching request to the control system CPU, and system switching occurs in the redundant system.
  • Page 372 7 APPLICATION FUNCTIONS MELSEC-Q POINT (1) Communication by LX/LY is not supported by the pairing setting. (2) Set the refresh target devices of LB/LW set in the host station send range of the redundant system as tracking devices. For details, refer to the QnPRHCPU User's Manual (Redundant System).
  • Page 373: Redundant Settings In A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.4 Redundant settings in a redundant system In the redundant settings, set the operation mode of the network module installed in the system B. When the mode setting switch of the network module mounted to system B is set to online (0 or 4), the mode selection of this parameter is valid.
  • Page 374: System Switching Request To The Control System Cpu

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.5 System switching request to the control system CPU The network module in the control system of the redundant system automatically issues a system switching request to the control system CPU when the data link status of the network module remains faulty (the D.
  • Page 375 7 APPLICATION FUNCTIONS MELSEC-Q (2) System switching monitoring time Set the time between an error occurring in the own station data link status (The D. LINK LED turns off.) and a system switching request issued using SW0018 (System switching monitoring time setting). For details of SB and SW, refer to Appendices 3 and 4.
  • Page 376: Function For Returning To Control Station In A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.6 Function for returning to control station in a redundant system This section describes unavailability of the function for returning to control station status when a redundant system has been acting as a control station. In the redundant system, when the redundant CPU is in the standby system at the time of return to the system, the previous control station is returned as a normal station even if "Return as control station"...
  • Page 377: Data Retention Time For System Switching

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.7 Data retention time for system switching This section describes the cyclic data retention time at another station when system switching occurs in the redundant system. Calculate the cyclic data retention time at another station based on: •...
  • Page 378 7 APPLICATION FUNCTIONS MELSEC-Q (1) Cyclic data retention time for control system power supply module malfunction, power supply off, control system CPU malfunction, or resetting Use the following expression to calculate the cyclic data retention time in the case of control system power supply module malfunction, power supply off, control system CPU malfunction, or resetting.
  • Page 379 7 APPLICATION FUNCTIONS MELSEC-Q 2) Redundant CPU system switching time (Tsw) > Control station shift time (Csw) [Cyclic data retention time (T = Tsw + SS [ms] Tsw : Redundant CPU system switching time [ms] : Redundant CPU scan time [ms] Control station Station No.
  • Page 380 7 APPLICATION FUNCTIONS MELSEC-Q When the redundant system has normal stations [Cyclic data retention time (T = Tsw + SS [ms] Tsw : Redundant CPU system switching time [ms] : Redundant CPU scan time [ms] Station No. 1 Normal station Communication error station Power supply down...
  • Page 381 7 APPLICATION FUNCTIONS MELSEC-Q (2) Cyclic data retention time for a control system CPU stop error, execution of a system switching instruction, system switching operation from GX Developer, or system switching requesting from other network module Use the following expression to calculate the cyclic data retention time in the case of a control system CPU stop error, execution of a system switching instruction, system switching operation from GX Developer, and system switching requesting from other network module.
  • Page 382 7 APPLICATION FUNCTIONS MELSEC-Q (3) Cyclic data retention time for system switching requesting from a network module (host station) Use the following expression to calculate the cyclic data retention time in the case of system switching requesting from a network module (host station). : Monitoring time [ms] : System switching monitoring time [ms] Tsw : Redundant CPU system switching time [ms]...
  • Page 383: Routing Via A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.8 Routing via a redundant system This section describes the function of routing via a redundant system. (1) Routing via a redundant system To use the routing via a redundant system, set the network module mounted to the control system CPU as a station to be routed.
  • Page 384 7 APPLICATION FUNCTIONS MELSEC-Q (2) RTWRITE instruction The following is a sample program for changing the routing parameters for the requesting station (network No. 2, station No. 3) shown in (1) of this section using the RTWRITE instruction. For details of the RTWRITE instruction, refer to the MELSEC-Q/L Programming Manual (Common Instruction).
  • Page 385: Troubleshooting

    TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING In order to improve the reliability of the system, it is important to fix errors immediately and in the correct way. For that purpose, it is necessary to grasp the contents of any errors quickly and accurately.
  • Page 386: Network Diagnostics (network Monitor)

    TROUBLESHOOTING MELSEC-Q 8.1 Network Diagnostics (Network Monitor) The status of the MELSECNET/H can be checked using the network diagnostic function of GX Developer. When an error occurs, the faulty station can be identified using the host information, other station information, and error history monitor functions of the network. The following lists the items that can be checked with the network diagnostic function.
  • Page 387 TROUBLESHOOTING MELSEC-Q From previous page [Status of self station] • Parameter setting • Reserved station setting • Transmission mode • Duplex transmission setting • Duplex transmission status [Network information] Error history monitor • Network type • Module No. • Network No. •...
  • Page 388 TROUBLESHOOTING MELSEC-Q POINT The target of the network diagnostics is the host's network specified as the connection destination. When another station is specified in the transfer setup, only the host information and other stations' information are available in the network diagnostics.
  • Page 389: Host Information

    TROUBLESHOOTING MELSEC-Q 8.1.1 Host information On the host information screen, the information of the entire network of the connection destination and the status of the host can be checked. [Network info.] Network type (SB0040, SB0044, SB0057, SB005A, SW0044, SW0046) Displays the network type of the host •...
  • Page 390 TROUBLESHOOTING MELSEC-Q [Link information] Mode (SW0043) Displays the operation mode of the host. • Online • Offline (debug mode) • Offline • Forward loop test • Reverse loop test • Station-to-station test (Station that executes tests) • Station-to-station test (Station to be tested) F loop status (SB0091), Loopback station (SB0099) Displays the status of the forward loop side.
  • Page 391: Other Station Information

    TROUBLESHOOTING MELSEC-Q 8.1.2 Other station information On the other station information screen, information such as the communication, data link, parameter, CPU, loop and reserved station statuses of each station can be checked. [Network info.] This area displays the same information as the host information in Section 8.1.1. [Other station info.] When any STOP-status station, reserved station and/or externally-powered station is detected for 1) to 8) and 12), the following mark(s) is displayed in the...
  • Page 392 TROUBLESHOOTING MELSEC-Q Data-Link status of each station (SW0074 to 77) Displays the status of the cyclic transmission. • Normal display : Normal station or reserved station • Highlighted display : Error station (data link not executed) Parameter status of each station Displays the parameter communication status of each station (SW0078 to 7B).
  • Page 393 TROUBLESHOOTING MELSEC-Q PSU operation status of each station extension (SW008C to 8F) Displays the supply status of the external power 24 V DC of the network module. When the communication status of each station is normal, the display is effective. •...
  • Page 394 TROUBLESHOOTING MELSEC-Q 10) Each station pairing status (SW01F8 to 1FB) Displays the status of the pairing setting. • No pair : Station not specified for pairing • Pair : Station specified for pairing 11) Each station PLC system status (SW01FC to 1FF) Displays the system status of the Redundant CPU.
  • Page 395 TROUBLESHOOTING MELSEC-Q 12) Each station network type status (SW01E0 to 1E3F) Displays whether the network type set to the control station is consistent with those set to the normal stations. Reserved stations and faulty stations are displayed normally. • When the control station is in MELSECNET/H Extended mode Normal stations in MELSECNET/H or MELSECNET/10 mode are displayed highlighted.
  • Page 396: Network Monitor Details

    TROUBLESHOOTING MELSEC-Q 8.1.3 Network monitor details On the Network Monitor Details screen, the control station information, data link information and the parameter status of the host can be checked. [Network info.] This area displays the same information as the host information in Section 8.1.1. [Control Station Information] Assign Control Station (SW0057) Displays the number of the control station specified with the parameter.
  • Page 397 TROUBLESHOOTING MELSEC-Q [Data Link Information] Total Number of Linked Stations (SW0059) Displays the total number of link stations set with the parameter. Station of Maximum Normal Transmission (SW005A) Displays the highest station number that is executing the baton pass normally (the status where the transient transmission is possible). The T.PASS LED of the network module turns on for stations executing the baton pass normally.
  • Page 398 TROUBLESHOOTING MELSEC-Q 11) Reason for Transmission Interruption (SW0048) Displays the causes why the host cannot communicate (transient transmission). For details of actions to take, refer to Section 8.3, "Error Codes." Indication Description/Action Normal Communications being executed normally Offline In offline status Offline Test The offline test being executed Initial state...
  • Page 399 TROUBLESHOOTING MELSEC-Q [Status of Self Station] 13) Parameter Setting (SB0054, SW0054) Displays the parameter setting status of the host. • Common parameters • Common + specific • Default parameters • Default + specific 14) Reserved Station Setting (SB0064) Displays the designation status of reserved stations. •...
  • Page 400: Error History Monitor

    TROUBLESHOOTING MELSEC-Q 8.1.4 Error history monitor With the error history monitor information, the status of the forward/reverse loop errors, communication errors, and transient transmission errors can be checked. In addition, the detailed error history display and the error history can be cleared on this screen. (1) Error history monitor [Network info.] This area displays the same information as the host information in Section 8.1.1.
  • Page 401: Troubleshooting

    TROUBLESHOOTING MELSEC-Q UNDER (SW00B8, SW00C0) Displays how many UNDER errors have occurred. <Error Cause> Power-ON/OFF of the adjacent station, faulty cable, etc. <Corrective Action> Refer to the following POINT. CRC (SW00B9, SW00C1) Displays how many CRC errors have occurred. <Error Cause> Isolation of the sending station, faulty cable, hardware failure, noise, etc.
  • Page 402 TROUBLESHOOTING MELSEC-Q (2) Error history detail monitoring Displays the causes of loop switches and the history of the transient transmission errors. [Loop switching] Station No. (SW00E0 to 00E7) Displays the number of the station (not necessarily an adjacent station) that requested the loop switch and loopback.
  • Page 403 TROUBLESHOOTING MELSEC-Q 8.2 Troubleshooting Check the programmable controller CPU for an error before starting the troubleshooting of the network module and network. If the RUN LED of the programmable controller CPU is off/flickering or the ERR. LED is on, identify the error that occurred in the programmable controller CPU, and take corrective action.
  • Page 404 TROUBLESHOOTING MELSEC-Q (2) From monitoring the network status to troubleshooting of a faulty station The following flowchart illustrates the procedure for monitoring the status of the entire network, detecting a faulty station, and then performing troubleshooting for the applicable station. The status of the entire network is monitored with GX Developer.
  • Page 405 TROUBLESHOOTING MELSEC-Q Check the baton pass status of the applicable station with GX Developer's network diagnostics. Are all the stations executing the baton pass normally? Communication is normal. Check the stations that are not executing the baton pass. Is the "RUN" LED of the applicable station lit? Is the programmable...
  • Page 406 TROUBLESHOOTING MELSEC-Q Is the send and receive data within the system specifications? Communication is normal. Value 0: The host Value of SW0047 transmitting normally Value 3: No host send area Value 4: Abnormal parameters detected Value 5: Parameters not received <Corrective action>...
  • Page 407 TROUBLESHOOTING MELSEC-Q <Cause 1> M/S error or SW error is assumed. <Corrective action 1> 1) Check for duplicate station number, duplicate control station designations or switch setting error. 2) Take corrective action according to the contents of SW0047 and the error code stored in SW0048.
  • Page 408: Items To Be Checked First

    TROUBLESHOOTING MELSEC-Q 8.2.1 Items to be checked first Check item Checking procedure Check the CPU module status of the faulty station, the status of the network Monitor the communication status of each station with GX modules, the loop status of each station to search for the location where the Developer's network diagnostics.
  • Page 409: Data Link Failure On The Entire System

    TROUBLESHOOTING MELSEC-Q 8.2.2 Data link failure on the entire system Check item Checking procedure Check the line condition with GX Developer's network diagnostic loop test (only in case of optical loop test). Check the faulty station's CPU module and network module. Monitor the communication status of each station with GX Developer's network diagnostics.
  • Page 410: Cyclic Data Is 0 Caused By Reset Or Power-on Of Each Station

    TROUBLESHOOTING MELSEC-Q 8.2.4 Cyclic data is 0 caused by reset or power-on of each station Check item Checking procedure Check whether B/W device in the send range is latched by latch setting of the Is the send range latched? CPU parameter. Is the block data assurance per station of the cyclic data set? Check whether block send data assurance per station is set.
  • Page 411: Data Link Failure Of A Specific Station

    TROUBLESHOOTING MELSEC-Q 8.2.5 Data link failure of a specific station Check item Checking procedure Perform network monitoring of the network diagnostics of GX Developer, check for any abnormally communicating station and check the loop status. Also, check whether or not data linking is stopped. Monitor the communication status of each station.
  • Page 412: Data Link Failure In Melsecnet/h Twisted Bus System

    TROUBLESHOOTING MELSEC-Q 8.2.7 Data link failure in MELSECNET/H twisted bus system Checkpoint Checking procedure Check that the MNET/10 mode is not selected as the network type and LINK PARA. ERROR occurs in the CPU module. either of the forward and reverse test is not selected as the mode. Check whether the wiring between connectors are correctly installed.
  • Page 413: Send/received Data Failure

    TROUBLESHOOTING MELSEC-Q 8.2.9 Send/received data failure (1) The cyclic transmission data is not normal Check item Checking procedure Stop the CPU modules of both the sending and receiving stations and turn the link device of the sending station on and off by GX Developer's test operation to check whether or not data is sent to the receiving station.
  • Page 414: Link Dedicated Instruction Not Complete

    TROUBLESHOOTING MELSEC-Q (2) The transient transmission is not normal Check item Checking procedure Check the error code at the transient transmission execution and correct the error according to the error code table in Section 8.3. Confirm whether a dedicated link instruction is executed to a programmable controller CPU other than the redundant CPU with the control or standby system specified.
  • Page 415: Checking Online For Reverse Optical Fiber Cable Connection

    TROUBLESHOOTING MELSEC-Q 8.2.11 Checking online for reverse optical fiber cable connection This section explains the checking procedure for incorrect optical fiber cable connection (IN-IN, OUT-OUT) during online and the link special registers (SW009C to SW009F) used for the check. Unlike the loop test, the checking procedure given in this section allows a check without stopping a data link.
  • Page 416 TROUBLESHOOTING MELSEC-Q (2) Example of checking SW009C to SW009F An example of incorrect cable connection at Station No. 2 is shown below. (a) Wiring diagram Cables are connected to wrong connectors at Station No. 2 (connected OUT-OUT with Station No. 1 and IN-IN with Station No. 3). Station No.
  • Page 417: When Different Network Types Exist In The Same Network

    TROUBLESHOOTING MELSEC-Q 8.2.12 When different network types exist in the same network Set all the network modules within the same network to the same network type. If there are different network types within the same network, any of the symptoms 1) to 6) given in the following table will occur.
  • Page 418: Error Codes

    TROUBLESHOOTING MELSEC-Q 8.3 Error Codes When a trouble such as data link failure has occurred, the error cause can be identified by an error code. 8.3.1 How to check error codes To check error codes for all network modules, follow either procedure (1) or (2) described in this section.
  • Page 419 TROUBLESHOOTING MELSEC-Q (2) Checking with GX Works2 Error codes that are corresponding to the errors occurred in network modules can be checked by following either procedure (a) or (b) described below. (a) Checking on the "Module’s Detailed Information" screen Error code, error contents, and corrective action are displayed. On GX Works2, select [Diagnostics] [System Monitor], and then click the Detailed Information button.
  • Page 420 TROUBLESHOOTING MELSEC-Q (b) Checking on the "Error History" screen On this screen, errors including those occurred in other modules are displayed, and the data can be output in a CSV file. Error code and date and time of error occurrence can be checked even after powering off and then on the programmable controller or after resetting the programmable controller CPU.
  • Page 421 TROUBLESHOOTING MELSEC-Q • Intelligent Module Information The status of a network module when the error, which is currently selected under "Error History List", had occurred is displayed. 1: When the error that simultaneously occurs with a network error is selected, the status right before the error occurrence may be displayed under Intelligent Module Information.
  • Page 422 TROUBLESHOOTING MELSEC-Q (3) Checking for data link error When a data link is not available, check the following link special registers. SW0048: Cause of the baton pass interruption SW0049: Cause of the data link stop SW0055: Parameter setting status (4) Checking for dedicated instruction error Error codes for the errors occurred during execution of a dedicated instruction can be checked by the following device data.
  • Page 423: Error Code List

    TROUBLESHOOTING MELSEC-Q 8.3.2 Error code list Table 8.1 Error code list Error No. Description of error Corrective measure (Error detected by the programmable Take measures with referring to the QCPU User's Manual (Hardware Design, 4000 to 4FFF controller CPU) Maintenance and Inspection). (Error detected by the serial Take measures referring to the troubleshooting section of the Serial 7000 to 7FFF...
  • Page 424 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure <During execution of an online test> Wait until SB0047 (baton pass status) and SB0049 (data link status) are F10A Initial status (online test/offline loop test) recovered.
  • Page 425 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure F115 Improper function code Check for faulty cables, faulty hardware, incorrect wiring, duplication of station numbers, and duplication of control stations. F116 Delayed online test processing Check for faulty cables, hardware failure, noise, incorrect wiring, and absence F117 Send failure...
  • Page 426 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure The cable is faulty, or The hardware of the network module is faulty. If a communication error has occurred, review the cable. F706 Received data size error If not, the hardware of the network module is faulty.
  • Page 427 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure <When this error occurs by the ZNRD/ZNWR instruction> When a CPU module on another station to be accessed is an A2UCPU(S1), A3UCPU, A4UCPU, A2ASCPU(S1), or A2USCPU(S1), use the CPU module with the following version or later.
  • Page 428 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure Confirm the setting of the mode switch. If the error reoccurs after resetting, the hardware of the network module is F800 Mode switch setting error faulty.
  • Page 429 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure The hardware of the CPU or network module is faulty. F822 System error Please consult your local Mitsubishi representative. Set common parameters station-specific parameters for the sending range of the host station.
  • Page 430 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure The hardware of the network module is faulty. F901 System error Please consult your local Mitsubishi representative. Check the system configuration to see if there are eight or more relay networks F902 System error in the MELSECNET/H.
  • Page 431 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure FD26 Light check forward side error There is a problem with the cable. Connect a proper cable, and perform an online test. FD27 Light check reverse side error FD28 RAM check error FD29...
  • Page 432 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (continued) Error No. Description of error Corrective measure FE30 System error FE31 System error FE32 System error The hardware of the network module is faulty. FE34 System error Please consult your local Mitsubishi representative. FE36 System error FE37...
  • Page 433: H/w Information

    TROUBLESHOOTING MELSEC-Q 8.4 H/W Information With the H/W information, details of the LED and switch information of the network modules can be monitored using GX Developer. To display the H/W information, click the H/W information button on the system monitor screen of GX Developer. The H/W information is displayed on the screen shown below with a combination of the network module's function version and the GX Developer's function version.
  • Page 434 TROUBLESHOOTING MELSEC-Q Item Description During received data code check errors: Illuminated 1)-a: Forward loop side, 1)-b: Reverse loop side OVER During delayed received data processing errors: Illuminated 1)-a: Forward loop side, 1)-b: Reverse loop side AB.IF. When errors are triggered owing to values other than the stipulated "1" are received consecutively, and when errors are triggered owing to the length of the received data being too short: Illuminated 1)-a: Forward loop side, 1)-b: Reverse loop side...
  • Page 435 TROUBLESHOOTING MELSEC-Q (2) When the network module: function version B and the GX Developer: prior to SW5D5C-GPPW are combined The following details will be displayed for each item. Actual LED1 information Displays the illumination status of LEDs actually mounted onto the network module.
  • Page 436 TROUBLESHOOTING MELSEC-Q LED2 information Displays information for illuminated LEDs on the network module. The following details are displayed. (Refer to section 8.4 (1) for details of the information for all LEDs.) b8 b7 0 (Fixed) S.MNG D.LINK T.PASS 0 (Fixed) OVER AB.IF.
  • Page 437 TROUBLESHOOTING MELSEC-Q 12) Dip number switch information Displays the station type, the controlled station operations during recovery, and the Send mode set up in the network module. b8 b7 All "0" Empty Control station Station type operation 0: Normal station 0: Switched 1: Control station 1: Not switched...
  • Page 438 TROUBLESHOOTING MELSEC-Q b8 b7 All "0" UNDER RUN forward loop DATA forward loop TIME forward loop ABORT IN-FR forward loop OVER RUN forward loop CRC forward loop Parameter setting error 1: On Duplicate station 0: Off number/control station error LED2 information Displays the information of the LEDs that are turned on by the network module.
  • Page 439 TROUBLESHOOTING MELSEC-Q Actual switch information Displays the station number and mode number that are set by the hardware switch mounted on the network module. b8 b7 Station number All "0" 11: Online 10: Self-loopback 01: Internal self-loopback 00: Hardware test Network No.
  • Page 440: Appendices

    APPENDICES MELSEC-Q APPENDICES Appendix 1 Comparison of Network Module Specifications, and Compatibility Appendix 1.1 List of comparison between MELSECNET/H and MELSECNET/H Extended mode and MELSECNET/10 mode specifications The MELSECNET/H system supports the MELSECNET/H and MELSECNET/H Extended modes (high functionality/high-speed mode) and the MELSECNET/10 mode (functional and performance compatibility mode), which are explained in this manual.
  • Page 441 APPENDICES MELSEC-Q Selected mode MELSECNET/H network system MELSECNET/H mode, MELSECNET/H Specification item MELSECNET/10 mode Extended mode Low-speed cyclic transmission function Number of settings High Performance model QCPU Basic model Q00UJCPU Process CPU Item QCPU Q00UCPU Redundant CPU Maximum number of refresh parameters that can be set Safety CPU Q01UCPU Universal model QCPU other than...
  • Page 442: Appendix 1.2 Upgraded Functions Of The Network Module

    APPENDICES MELSEC-Q Appendix 1.2 Upgraded functions of the network module The network module undergoes the addition of functions and specification changes by version upgrade. For checking of the function version of the network module, refer to Section 2.3. (1) Compatibility with old models When replacing a previous network module (function version A or B) with the one of function version D, there is no need to change the parameters, programs, and switch settings.
  • Page 443 APPENDICES MELSEC-Q link dedicated can be specified.) (first five digits) (first five digits) instruction • READ/SREAD instruction is "10101" or is "06092" or (Multiple CPU No. • WRITE/SWRITE instruction later.) later.) specification) • REQ instruction (Serial No. (Serial No. Module error history Errors occurred in the network module are displayed in the Error (first five digits) (first five digits)
  • Page 444: Appendix 2.1 Differences In Led Displays And Switch Settings

    APPENDICES MELSEC-Q Appendix 2 Differences Between the AJ71QLP21/AJ71QLP21G/AJ71QBR11, the A1SJ71QLP21/A1SJ71QBR11 and the QJ71LP21/QJ71LP21-25/QJ71LP21G/ QJ71BR11 Appendix 2.1 Differences in LED displays and switch settings The MELSECNET/H network modules QJ71LP21, QJ71LP21-25, QJ71LP21G and QJ71BR11 have the same LED displays and switch settings as those of the MELSECNET/10 network modules AJ71QLP21, AJ71QLP21G, AJ71QBR11, A1SJ71QLP21, and A1SJ71QBR11.
  • Page 445: Appendix 2.2 Precautions When Replacing The Aj71qlp21/aj71qlp21g/aj71qbr11 And The A1sj71qlp21/a1sj71qbr11 With The Qj71lp21/qj71lp21-25/ Qj71lp21g/qj71br11

    APPENDICES MELSEC-Q Appendix 2.2 Precautions when replacing the AJ71QLP21/AJ71QLP21G/AJ71QBR11 and the A1SJ71QLP21/A1SJ71QBR11 with the QJ71LP21/QJ71LP21-25/ QJ71LP21G/QJ71BR11 The following are the precautions when replacing the QnACPU MELSECNET/10 network system with the QCPU MELSECNET/H network system: (1) Switch settings of the network module The MELSECNET/H network module does not have a network number setting switch, a group number setting switch and a condition setting switch (default parameter setting).
  • Page 446: Appendix 3 Link Special Relay (sb) List

    APPENDICES MELSEC-Q Appendix 3 Link Special Relay (SB) List The link special relay (SB) turns on/off by various factors that occur during data linking. The error status of the data link can be checked by monitoring or using it in the sequence program.
  • Page 447 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Restarts the host's cyclic transmission. Off: Start not instructed SB0000 Link startup (host) On: Start instructed (valid at rise) Stops the host's cyclic transmission.
  • Page 448 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Clears the line abnormal detection (SW00CC) of the forward loop SB0007 Clear forward loop side to 0.
  • Page 449 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the mode set by the switch of the host's network SB0043 Online switch module.
  • Page 450 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the stop acknowledgment status of the cyclic Cyclic transmission stop transmission. SB004E acknowledgment status Off: Not acknowledged (SB0001 is off)
  • Page 451 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the I/O master station setting (Common parameter SB005D I/O master station setting) of block 2.
  • Page 452 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the master station cyclic transmission status. (Includes Cyclic transmission status online loop test.) SB0075 of the remote master Off: Master station cyclic transmission normal.
  • Page 453 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop On PLC to PLC network Indicates the CPU operating status of each station (including the own station).
  • Page 454 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the information of the external power supply (including the host). Off: All stations are without external power supply On: Stations with external power supply exist External power supply When any station with external power supply exists, the status of...
  • Page 455 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the status of the transmission path used for sending by other stations. Off: All matched Send transmission path SB009C...
  • Page 456 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the response status for offline test. SB00AE Offline test response Off: No response (174) On: Response Indicates the response status for offline test end.
  • Page 457 APPENDICES MELSEC-Q Table 3 Link special relay (SB) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the operation mode of each station's CPU. Off: CPUs of all stations in backup mode On: Separate mode (excluding reserved stations and stations of the number exceeding the maximum)
  • Page 458: Appendix 4 Link Special Register (sw) List

    APPENDICES MELSEC-Q Appendix 4 Link Special Register (SW) List In the link special register (SW), the data linking information is stored as numeric values. Thus, faulty areas and causes of errors can be checked using or monitoring the link special registers in the sequence programs. Moreover, the link special register (SW) that stores the link status is used for the detailed information of the network diagnostics of GX Developer.
  • Page 459 APPENDICES MELSEC-Q Table 4 Link special register (SW) list Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Sets the station that stops/restarts data linking. : Host : All stations SW0000 : Designated station : Host (forced stop/restart) : All stations (forced stop /restart)
  • Page 460 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Set the time from the occurrence of a data link error to the recognition of data link stop in the redundant system.
  • Page 461 APPENDICES MELSEC-Q Table 4 Link special Register (SW) List (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the processing results of the SEND/RECV/READ/WRITE/ REQ/RECVS/RRUN/RSTOP/RTMRD/RTMWR/REMFR/REMTO instructions (when physical channel 5 is used). SW0039 Send/receive instruction (57)
  • Page 462 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop On remote I/O network: Stores the condition setting switch status of the host. 0: Off 1: On b8 b7 b6...
  • Page 463 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates the CPU status of the host. : Normal Other than 0 : Abnormal (For the error codes, refer to SW004B Host CPU status Section 8.3 or the "Error Code"...
  • Page 464 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop At the PLC to PLC network. Stores the number of the station that actually operates as the Current control station control station (including a sub-control station).
  • Page 465 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores the current communication speed. 0: 156kbps 1: 312kbps 2: 625kbps Current communication SW006A 3: 1.25Mbps speed value...
  • Page 466 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores the cyclic transmission status of each station (including the host). 0: Executing cyclic transmission (including the station with the maximum station number and smaller number as well as reserved stations) 1: Cyclic transmission not executed...
  • Page 467 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores each station's CPU status (including the host). Valid only for stations registered as normal in the SW0070 to SW0073.
  • Page 468 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates whether external power supply is available to each station (For QJ71LP21-25, 0 is ON.) Valid only for stations registered as normal in the SW0070 to SW0073.
  • Page 469 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores the reverse loop status of each station (including the host). 0: Normal (including the stations with the maximum station number and smaller numbers as well as reserved stations) SW0095 1: Abnormal...
  • Page 470 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores the online test items on the responding side. (Valid when the SB00AB is on.) Stations disconnected from the network are not included among the faulty stations because there is no response.
  • Page 471 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores each station's forward loop usage status during multiplex transmission. 0: Uses other than the forward loop SW00B0 1: Uses the forward loop (176)/...
  • Page 472 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Optical loop: Stores the number of "TIME" errors on the forward loop side. Timeout on the forward Coaxial/twisted bus: Stores the number of "TIME"...
  • Page 473 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Accumulates and stores the number of "DPLL" errors on the reverse loop side. DPLL error on reverse SW00C7 Other than 0: Number of errors...
  • Page 474 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Stores the cause and status of the loop switch. Whether the data are overwritten or retained is set in the common parameters.
  • Page 475 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Accumulates and stores the number of transient transmission errors. Transient transmission SW00EE Other than 0: Number of errors error Turning ON Clear transient transmission errors (SB000A) clears...
  • Page 476 APPENDICES MELSEC-Q Table 4 Link special register (SW) list (continued) Use permitted/prohibited Remote Control Normal Remote I/O master Name Description station station station station Loop Loop Loop Loop Indicates whether there is a mismatch between the network types of the control station and normal stations on the network. •...
  • Page 477: Appendix 5 Screwdriver

    APPENDICES MELSEC-Q Appendix 5 Screwdriver The following is a screwdriver used for connecting and removing cables to and from a spring clamp terminal block of the QJ71NT11B. Model Manufacturer SZS 0,6×3,5 Phoenix Contact REMARKS For inquiries and orders, please contact your local Phoenix Contact. App - 38 App - 38...
  • Page 478: Appendix 6 External Dimensions

    Appendix 6 External Dimensions (1) QJ71LP21, QJ71LP21-25 27.4 Unit: mm 1: For details, contact your local Mitsubishi Electric System & Service Co., Ltd. (2) QJ71LP21G, QJ71LP21GE 27.4 Unit: mm 1: For details, contact your local Mitsubishi Electric System & Service Co., Ltd.
  • Page 479 APPENDICES MELSEC-Q (3) QJ71LP21S-25 50.8 55.2 Unit: mm 1: For details, contact your local Mitsubishi Electric System & Service Co., Ltd. App - 40 App - 40...
  • Page 480 APPENDICES MELSEC-Q (4) QJ71BR11 27.4 Unit: mm App - 41 App - 41...
  • Page 481 APPENDICES MELSEC-Q (5) QJ71NT11B 17.5 27.4 Unit: mm App - 42 App - 42...
  • Page 482 INDEX Applicable Systems ......... 2-7 Link dedicated instruction ....6-9,6-30,8-36 Link device Direct device (Link direct device) ....7-2 Coaxial cable ........... 3-6 Address specification range ......7-4 Common parameter Link refresh ............ 3-30 Send range for each station Link refresh assignment image ..... 5-26 (LB/LW settings) ........
  • Page 483 Operation mode SEND instruction ........... 7-36 Online ............5-11 Shielded twisted pair cable ......3-9 Online debug mode ........5-11 Simple dual-structured network Offline ............5-11 Regular network ........7-124 Forward loop test ........5-11 Standby network ........7-124 Reverse loop test ........5-11 Simple dual-structured Station-to-station test Control special relay ........
  • Page 484 ZNRD instruction ........... 7-82 ZNWR instruction .......... 7-84 [0 to 9] 32-bit data assurance ........6-5 Index - 3 Index - 3...
  • Page 485 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 486 The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies. In some cases, trademark symbols such as 'TM' '®' are not specified in this manual. SH(NA)-080049-R...
  • Page 488 SH(NA)-080049-R(1909)MEE MODEL: Q-NET/10H-R-E MODEL CODE: 13JF92 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

Comments to this Manuals

Symbols: 0
Latest comments: