Download Print this page

Mitsubishi Electric MELSEC-Q Series User Manual

Cc-link system master/local module.
Hide thumbs
   
1
2
3
4
5
6
7
8
9
Table of Contents
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430

Advertisement

MELSEC-Q CC-Link System
Master/Local Module User's Manual
-QJ61BT11N

Advertisement

Troubleshooting

   Related Manuals for Mitsubishi Electric MELSEC-Q Series

   Summary of Contents for Mitsubishi Electric MELSEC-Q Series

  • Page 1

    MELSEC-Q CC-Link System Master/Local Module User's Manual -QJ61BT11N...

  • 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 precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user’s manual for the CPU module used.

  • Page 4

    [Design Precautions] WARNING ● To set a refresh device in the network parameter, select the device Y for the remote output (RY) refresh device ("Remote Output (RY)"). If a device other than Y, such as M and L, is selected, the CPU module holds the device status even after its status is changed to STOP.

  • 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. ● After wiring, attach the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.

  • Page 6

    [Startup and Maintenance Precautions] WARNING ● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. ● Shut off the external power supply (all phases) used in the system before cleaning the module or retightening the terminal screws or module fixing screws.

  • 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: Introduction

    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES (1) 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 9

    Memo...

  • Page 10: Table Of Contents

    CONTENTS CONTENTS SAFETY PRECAUTIONS ............. 1 CONDITIONS OF USE FOR THE PRODUCT .

  • Page 11

    Wiring ..............6.2.1 Preparation before wiring .

  • Page 12

    CHAPTER 9 DEDICATED INSTRUCTIONS List of Dedicated Instructions, Applicable Devices, and Precautions ....G(P).RIRD ............. . . 9.2.1 Program example.

  • Page 13

    11.3 Error Codes ............. . 11.3.1 How to check error codes .

  • Page 14: Manual Page Organization

    MANUAL PAGE ORGANIZATION In this manual, pages are organized and the symbols are used as shown below. The following illustration is for explanation purpose only, and should not be referred to as an actual documentation. "" is used for window names and items.

  • Page 15: Term

    TERM Unless otherwise specified, this manual uses the following terms. Term Description A generic term for the following CPU modules: AOJ2HCPU, A1SCPU, A1SHCPU, A1SJCPU-S3, A1SJHCPU, ACPU A2SCPU, A2SHCPU, A2USCPU, A2USCPU-S1, A2USHCPU-S1, A1NCPU, A2NCPU, A2NCPU-S1, A3NCPU, A2ACPU, A2ACPU-S1, A3ACPU, A2UCPU, A2UCPU-S1, A3UCPU, and A4UCPU AJ65BT-R2(N) A generic term for the CC-Link system RS-232 interface modules: AJ65BT-R2 and AJ65BT-R2N AnUCPU...

  • Page 16

    Term Description A generic term for the following CPU modules: Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q03UDVCPU, Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDEHCPU, Q06UDHCPU, Q06UDVCPU, Universal model QCPU Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDVCPU, Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU, Q26UDVCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU High-speed Universal model QCPU A generic term for the Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, and Q26UDVCPU A mode used to perform high-speed communications in a system consisting of a master station and remote I/O Remote I/O net mode...

  • Page 17: Packing List

    PACKING LIST The following items are included in the package of this product. Before use, check that all the items are included. QJ61BT11N QJ61BT11N Before Using the Product Terminating resistor: 110 , Terminating resistor: 130 , 1/2W (Brown-Brown-Brown) 1/2W (Brown-Orange-Brown) (for Ver.1.10-compatible CC-Link dedicated cables or (for CC-Link dedicated high-performance cables CC-Link dedicated cables (Ver.1.00-compatible))

  • Page 18: Chapter 1 Features

    CHAPTER 1 FEATURES CC-Link CC-Link is a system where distributed modules, such as I/O modules and intelligent function modules, are connected using dedicated cables, enabling a CPU module to control the modules. Ethernet Plant level (Information management) CC-Link IE Controller Network Among production lines (Production control) CC-Link IE Field Network...

  • Page 19: Master/local Modules

    CHAPTER 1 FEATURES Master/Local Modules By using master/local modules, MELSEC-Q series programmable controllers can be connected to a CC-Link system. Remotely-located devices in a CC-Link system can be controlled as if they were on the same base unit as the master/local module.

  • Page 20

    (2) Parameter settings and diagnostics using a programming tool (a) Parameter settings using a programming tool Parameters of master/local modules can be set using a programming tool. Therefore, parameter setting programs need not to be created; resulting in reduction in the program amount. ( Page 93, CHAPTER 7) Parameters of a master station can be also set using a program.

  • Page 21

    CHAPTER 1 FEATURES (b) Diagnostics using a programming tool The status of a CC-Link system can be checked using a programming tool. Error locations and error causes are displayed in a programming tool, enabling the user to quickly troubleshoot the problem. ( Page 311, Section 11.4) (3) CC-Link Ver.2-compatible module...

  • Page 22

    (4) Prevention of a system failure (a) Continuation of communications upon module error • Since a bus topology is employed, communications among normal modules continue even if a module goes down due to power-off or other causes. • The equipped two-piece terminal block is removable, enabling module change during data link. Note that if a cable is disconnected, data link fails among all stations.

  • Page 23: Chapter 2 Part Names

    CHAPTER 2 PART NAMES CHAPTER 2 PART NAMES This chapter describes the part names of the master/local modules. Name Application RUN LED Indicates the operating status. Operating normally A hardware failure or a watchdog timer error has occurred. L RUN LED Indicates the data link status.

  • Page 24

    Name Application Indicates the error status of the master/local module. The details of errors can be checked by using the following. ERR. LED • CC-Link diagnostics ( Page 311, Section 11.4) • Detailed LED display status (SW0058) ( Page 351, Appendix 3.2) Any of the following errors has occurred.

  • Page 25

    CHAPTER 2 PART NAMES Name Application Sets the transmission speed and mode of the master/local module. (Default: 0) Set the same value of the transmission speed for all stations. Transmission speed Mode Switch number setting Transmission speed: 156kbps Transmission speed: 625kbps Online Transmission speed: 2.5Mbps Transmission speed: 5Mbps...

  • Page 26: Chapter 3 Specifications

    CHAPTER 3 SPECIFICATIONS This chapter describes the specifications, functions, I/O signals, buffer memory, remote I/O (RX and RY) and remote register (RWr and RWw) of the master/local module. General Specifications For the general specifications of the master/local module, refer to the following. User's manual for the CPU module used (hardware design, maintenance and inspection) Performance Specifications Item...

  • Page 27

    CHAPTER 3 SPECIFICATIONS Item Specifications Communication method Broadcast polling method Synchronization method Frame synchronization method Encoding method NRZI method Network topology Bus (RS-485) Transmission format HDLC compliant Error control system CRC (X + 1) • Ver.1.10-compatible CC-Link dedicated cable • CC-Link dedicated cable (Ver.1.00-compatible) •...

  • Page 28

    CC-Link Ver.2 Item CC-Link Ver.1 Expanded Cyclic Setting Single Double Quadruple Octuple 96 points 96 points 160 points 320 points 640 points Remote I/O (94 points for a (94 points for a (158 points for a (318 points for a (638 points for a (RX, RY) local station)

  • Page 29: Maximum Number Of Connected Modules

    CHAPTER 3 SPECIFICATIONS 3.2.1 Maximum number of connected modules A CC-Link system can be configured with the number of modules meeting the following conditions. 1 station in each system Maximum of 26 modules Intelligent device station Master station Local station CC-Link dedicated cable Maximum of 42 modules Maximum of 64 modules...

  • Page 30

    (2) Remote net Ver.2 mode and remote net additional mode The table below lists the maximum number of connected modules of when a system is configured only with Ver.2- compatible slave stations. For the modes, refer to Page 43, Section 3.6.2. 64 modules of a remote I/O station, remote device station, local station, standby master station, and intelligent device station can be connected in total for one master station.

  • Page 31: Maximum Overall Cable Distance (cc-link Ver.1.10)

    CHAPTER 3 SPECIFICATIONS 3.2.2 Maximum overall cable distance (CC-Link Ver.1.10) This section describes how transmission speed and a cable length are related when a system is configured with products of CC-Link Ver.1.10 or later and Ver.1.10-compatible CC-Link dedicated cables. Configure a CC-Link system that satisfies the following conditions.

  • Page 32: Maximum Overall Cable Distance (cc-link Ver.1.00)

    3.2.3 Maximum overall cable distance (CC-Link Ver.1.00) Configure a CC-Link system where the transmission speed and the cable length satisfy the following conditions. (1) When a system is configured with a remote I/O station and remote device station only Master station Remote I/O station Remote I/O station Remote I/O station...

  • Page 33

    CHAPTER 3 SPECIFICATIONS When 43 stations of remote I/O stations and remote device stations are connected using a CC-Link dedicated high-performance cable (Ver.1.00-compatible) (Transmission speed: 10Mbps) Because the cable length between the second station and the third station is 35cm, the maximum overall cable distance is 80m.

  • Page 34

    (2) When a system is configured with remote I/O stations, remote device stations, local stations, and intelligent devices stations Local station Remote I/O station Remote I/O station Local station Local station Master station or intelligent or remote or remote or intelligent or intelligent device station device station...

  • Page 35: Cc-link Dedicated Cables

    CHAPTER 3 SPECIFICATIONS 3.2.4 CC-Link dedicated cables In a CC-Link system, use CC-Link dedicated cables. If cables other than CC-Link dedicated cables are used, the performance of the CC-Link system is not guaranteed. For the specifications of CC-Link dedicated cables and contact information, refer to the following. Website of CC-Link Partner Association: www.cc-link.org Remark Refer to the CC-Link Cable Wiring Manual published by CC-Link Partner Association.

  • Page 36: List Of Functions

    List of Functions (1) Cyclic transmission Function Description Reference Communications can be performed with other stations using remote I/O (RX, RY) and remote registers (RWr, RWw). Page 41, Section 3.6.1 Communications with other stations Access to remote slave stations can be performed in the same Page 125, Section 8.1.1 way as access to a module mounted on the same base unit is performed.

  • Page 37

    CHAPTER 3 SPECIFICATIONS (3) RAS function Function Description Reference Data link can be continued in a normal station by disconnecting a slave station that cannot perform data link due to reasons Slave station cutoff function such as power-off. (No parameter setting is required.) Page 128, Section 8.2.1 Using this function prevents the entire system from going down when one station goes down.

  • Page 38

    (5) Other functions Function Description Reference The initial setting of a remote device station that was performed on a program can be registered in advance using a Remote device station initialization programmable controller and can be saved by turning on the Page 154, Section 8.3.1 procedure registration function link special relay (SB).

  • Page 39: List Of I/o Signals

    CHAPTER 3 SPECIFICATIONS List of I/O signals This section lists the I/O signals for a CPU module. The device X is an input signal from a master/local module to a CPU module. The device Y is an output signal from a CPU module to a master/local module.

  • Page 40: List Of Buffer Memory Areas

    List of Buffer Memory Areas Buffer memory is memory to transmit data between a master/local module and a CPU module. Data can be read from or written to buffer memory areas by setting the parameters of a programming tool or using dedicated instructions.

  • Page 41

    CHAPTER 3 SPECIFICATIONS Address Availability Name Description Read/write Reference Master Local Hexadecimal Decimal station station Remote register (Master station) Stores the data received (RWr) from slave stations. • Master Page 333, station: For 736 to to 3DF Read only Appendix 2 data (Local station) receiving...

  • Page 42

    Address Availability Name Description Read/write Reference Master Local Hexadecimal Decimal station station (Master station) Stores the status of the data Write only output to slave stations. Ver.2- Page 341, (Local station) compatible 16896 to 4200 to 43FF Appendix 2 Stores the status of the data remote output 17407 (10)

  • Page 43: Assignment And Modes

    CHAPTER 3 SPECIFICATIONS Assignment and Modes For a master/local module, the mode can be selected according to the system used. For example, there is a mode to configure a new system or a mode to add a Ver.2-compatible slave station to a Ver.1-compatible slave station. Depending on the mode, the addresses of buffer memory areas to store RX, RY, RWr, and RWw vary.

  • Page 44

    (1) Input and output of the master station Data can be input to and output from all slave stations. Areas are assigned in the order of station number. (a) Data input to the master station Data in RX and RWr of all slave stations are stored into RX and RWr of the master station. In a local station, however, data in RY and RWw of a local station are stored into RX and RWr of the master station.

  • Page 45: Modes

    CHAPTER 3 SPECIFICATIONS 3.6.2 Modes This section describes the modes of a master/local module. (1) List of modes Select the mode according to the system used. Connectable Mode Application Reference slave station Remote net Ver.1 • To configure a new system (only with Ver.1-compatible slave Ver.1-compatible Page 46, Section 3.6.3 mode...

  • Page 46

    (a) Combination of the modes of a master/local module The table below lists the combination of the modes of the master station and local station in a master/local module. : Data link can be performed. ×: Data link cannot be performed. Mode of a local station Mode of the master station Remote net Ver.1...

  • Page 47

    CHAPTER 3 SPECIFICATIONS (2) How to set the mode Set the mode using the network parameter. ( Page 97, Section 7.3.2, Page 115, Section 7.4.2, Page 213, Section 9.8.1)

  • Page 48: Remote Net Ver.1 Mode

    3.6.3 Remote net Ver.1 mode This mode is selected when a new CC-Link system is configured. When the system includes a Ver.2-compatible slave station, select the remote net Ver.2 mode. ( Page 48, Section 3.6.4) Remote device station Master station Intelligent device station Remote I/O station Local station...

  • Page 49

    CHAPTER 3 SPECIFICATIONS (1) Points per module and per system For the points, refer to the table of the performance specifications. ( Page 24, Section 3.2) In CC-Link, increasing the number of occupied stations can increase the number of points per module. The number of occupied stations is set for each slave station.

  • Page 50: Remote Net Ver.2 Mode

    3.6.4 Remote net Ver.2 mode This mode is selected when a new CC-Link system including a Ver.2-compatible slave station is configured. More points can be used compared to the remote net Ver.1 mode. ( Page 24, Section 3.2) Remote device station Local station Master station Intelligent device station...

  • Page 51

    CHAPTER 3 SPECIFICATIONS (1) Points per module and per system For the points, refer to the table of the performance specifications. ( Page 24, Section 3.2) In CC-Link, increasing the number of occupied stations and expanded cyclic setting can increase points per module.

  • Page 52

    (3) Storage locations of RX, RY, RWr, and RWw The storage locations change depending on the number of occupied stations and expanded cyclic setting in slave stations. The storage locations for each station can be checked using Slave station offset, size information (Un\G992 to Un\G1503).

  • Page 53: Remote Net Additional Mode

    CHAPTER 3 SPECIFICATIONS 3.6.5 Remote net additional mode This mode is selected when a Ver.2-compatible slave station is added to an existing Ver.1 system and cyclic points are expanded. Unlike the remote net Ver.2 mode, RX, RY, RWr, and RWw in a Ver.1-compatible slave station are stored into buffer memory for the Ver.1 (same buffer memory addresses);...

  • Page 54

    Areas in RWr and RWw are occupied for the number of points of the remote I/O station in the master station and local station. When areas in RWr and RWw should not be occupied, use the remote net Ver.2 mode. ( Page 48, Section 3.6.4) The last two bits in RX and RY cannot be used for communications between a master station and a local station.

  • Page 55

    CHAPTER 3 SPECIFICATIONS (2) Data transfer between RX, RY, RWr, and RWw and a device in a CPU module In the remote net additional mode, data of a Ver.1-compatible slave station are stored into a Ver.1-compatible area, and data of a Ver.2-compatible slave station are stored into a Ver.2-compatible area. (a) Automatic transfer by parameter settings using a programming tool Setting a refresh device using the network parameter can automatically transfer data between RX, RY, RWr, and RWw in a master/local module and a device in a CPU module.

  • Page 56

    (3) Storage locations of RX, RY, RWr, and RWw The storage locations change depending on the number of occupied stations and expanded cyclic setting in slave stations. The storage locations for each station can be checked using Slave station offset, size information (Un\G992 to Un\G1503).

  • Page 57: Remote I/o Net Mode

    CHAPTER 3 SPECIFICATIONS 3.6.6 Remote I/O net mode This mode is selected when slave stations are remote I/O stations only. Compared to other modes, transmission delay time of cyclic transmission can be shortened. In addition, the master/local module can operate with less setting. Master station Remote I/O station Remote I/O station...

  • Page 58

    (1) Points per module and per system For the points, refer to the table of the performance specifications. ( Page 24, Section 3.2) (2) Data transfer between RX, RY, RWr, and RWw and a device in a CPU module (a) Automatic transfer by parameter settings using a programming tool Setting a refresh device using the network parameter can automatically transfer data between RX, RY, RWr, and RWw in a master/local module and a device in a CPU module.

  • Page 59: Chapter 4 Procedure Before The Operation

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION CHAPTER 4 PROCEDURE BEFORE THE OPERATION This chapter describes the procedure to be taken before operating a master/local module. Check column System planning Page 41, Section 3.6 Plan the system configuration and device assignment. Mounting Page 75, Section 6.1 Mount the master/local module on the base unit.

  • Page 60

    Powering on the system Power on the system. Parameter setting Page 93, CHAPTER 7 Set the parameters on the master/local module. Write the parameter settings to the CPU module. Reset the CPU module or power off and on the system. Checking operation with the LED display When data link is performed normally, the L RUN LED is turned on,...

  • Page 61: Operation Example

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION Operation Example This section describes an example of the operation until starting up the system using the procedure described in Page 57, CHAPTER 4. Design a system configuration. The following system is used for explanation purpose. Master station (Remote net Ver.1 mode) Model name...

  • Page 62

    Plan the device assignment. The status of a device assignment can be checked on GX Works2 by setting information of a slave station on the CC-Link configuration window on GX Works2. ( Page 102, Section 7.3.2 (2) (a)) [View] [Docking Window] [Device Reference] •...

  • Page 63

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION • Remote output (RY) Plan the assignment using the assignment sheet on Page 407, Appendix 8.1 (1). CPU module Master station Slave station Buffer memory address Device Station No. Module name Remote I/O (RX/RY) Hexadecimal Decimal Y1000 to Y100F...

  • Page 64

    • Remote register (RWw) Because an AJ65BTB2-16T and AJ65BTB1-16DT are remote I/O stations, the remote register (RWw) is not used. Note, however, that four points (equivalent to the points for one station) are occupied in the master/local module because the system is in the remote net Ver.1 mode. AJ65BTB2-16T output module AJ65BTB1-16DT combined module Remote I/O station...

  • Page 65

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION Connect a CC-Link dedicated cable to each module. Connect terminating resistors to the modules at both ends. ( Page 76, Section 6.2) Wiring diagram Master station AJ65BTB2-16T AJ65BTB1-16DT (Blue) (Blue) Terminating Terminating (White) (White) resistor resistor (Yellow)

  • Page 66

    Set the station number and transmission speed using the switches on the master/local module. Page 21, CHAPTER 2) The transmission speed should be 156kbps. Station No.0 Transmission speed 156kbps Online Set the station number and transmission speed using the switches on the AJ65BTB2-16T and AJ65BTB1-16DT.

  • Page 67

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION Power on the system. Set the parameters on the master station using a programming tool. Create a project on a programming tool. Select "QCPU (Q mode)" under "Series". Select "Q20UDH" under "Type". [Project] [New] Open the "Network Parameter"...

  • Page 68

    Configure the settings as follows. When using GX Developer, refer to the section "When the checkbox next to 'Set the station information in the CC-Link configuration window.' is not checked". ( Page 106, Section 7.3.2 (2) (b)) Drag and drop the text. Write the set parameters to the CPU module.

  • Page 69

    CHAPTER 4 PROCEDURE BEFORE THE OPERATION Check that the LEDs are in the following status. If the LEDs are not in the following status, follow the steps 1 to 11 again. Master station AJ65BTB2-16T, AJ65BTB1-16DT : ON : ON : Flashing : Flashing : OFF : OFF...

  • Page 70

    Check whether data link is being performed normally. Turning on Y1000 of the master station on "Device/Buffer Memory Batch" on the programming tool turns on RY0 (Y0) of the AJ65BTB2-16T (station number 1). Turning on X0 of the AJ65BTB1-16DT (station number 2) turns on X1020 of the master station. [Online] [Monitor] [Device/Buffer Memory Batch]...

  • Page 71: Chapter 5 System Configuration

    CHAPTER 5 SYSTEM CONFIGURATION CHAPTER 5 SYSTEM CONFIGURATION CC-Link System Configuration A CC-Link system is configured with a master station, remote I/O station, remote device station, intelligent device station, and local station. Master station Remote I/O station Terminating resistor Remote device station Local station Intelligent device station Terminating resistor...

  • Page 72: Configuration Of The System Where A Master/local Module Is Mounted

    Configuration of the System Where a Master/Local Module is Mounted This section describes the MELSEC-Q series system where a master/local module is mounted. 5.2.1 Connectable modules and the number of connectable modules (1) Connecting a master/local module to a CPU module For the CPU modules, the number of modules, and base units applicable to the master/local module, refer to the user's manual for the CPU module used.

  • Page 73: Applicable Programming Tools

    CHAPTER 5 SYSTEM CONFIGURATION 5.2.2 Applicable programming tools The following two programming tools support a master/local module. • GX Works2 • GX Developer The version of a programming tool that can be used varies depending on the CPU module used. For the applicable versions, refer to the following.

  • Page 74: Precautions For The System Configuration

    Precautions for the System Configuration (1) When using the remote station This section describes notes to be paid attention upon system design to prevent an incorrect input from a remote station. (a) When turning on and off the power Power on the remote station, then start data link. In addition, stop data link before turning off the remote station. Failure to do so may cause an incorrect input.

  • Page 75

    CHAPTER 5 SYSTEM CONFIGURATION Countermeasure against an incorrect input • Supply power to the power supply module, stabilized power supply, and AC input external power supply from the same power supply. DC input Master module station Remote station Module power supply Input external Stabilized...

  • Page 76

    (2) Access to a station with the station number 64 (a) Access from other stations using a programming tool and GOT Access to a local station with the station number 64 cannot be performed from other stations. Changing the station number to the one other than 64 allows access from other stations. (b) Access to other stations using a CC-Link system master/local interface board Access to a local station and intelligent device station with the station number 64 cannot be performed from other stations.

  • Page 77: Chapter 6 Installation And Wiring

    CHAPTER 6 INSTALLATION AND WIRING CHAPTER 6 INSTALLATION AND WIRING Installing the Module (1) How to install the module The precautions when a master/local module is handled from the time it is unpacked until it is installed are described on this page. For more details on the module installation, refer to the following. User's manual for the CPU module used (hardware design, maintenance and inspection) (2) Handling precautions The following are the precautions for when a master/local module is handled.

  • Page 78: Wiring

    Wiring This section describes how to connect a CC-Link dedicated cable to the master/local module. 6.2.1 Preparation before wiring Before wiring, check the cables and terminating resistors to be used. (1) Cables that can be used The following cables can be used: •...

  • Page 79: Wiring Procedure

    CHAPTER 6 INSTALLATION AND WIRING 6.2.2 Wiring procedure Connect a CC-Link dedicated cable to the terminal block of the master/local module. (1) Wiring procedure (a) Wiring diagram (Blue) (Blue) (Blue) (Blue) Terminating Terminating resistor (White) (White) (White) (White) resistor (Yellow) (Yellow) (Yellow) (Yellow)

  • Page 80

    (2) Terminal block of the master/local module (a) Solderless terminal Use a solderless terminal and wire specified in the following table. Tighten a solderless terminal within the specified torque range. Use a UL-listed solderless terminal and a tool recommended by the manufacturer of the solderless terminal for processing.

  • Page 81: T-branch Connection

    CHAPTER 6 INSTALLATION AND WIRING 6.2.3 T-branch connection This section describes how to connect CC-Link dedicated cables in T-branch. (1) T-branch system configuration The following is a system configuration in T-branch. T-branch terminal block/connector (Main line) Local station/ Intelligent device Remote I/O station/ Remote I/O station/ Master...

  • Page 82

    (2) Communication specifications for a T-branch connection The following table lists the communication specifications upon T-branch connection. For those not listed below, refer to the performance specifications. ( Page 24, Section 3.2) Item Specifications Remark Transmission speed 625kbps 156kbps 10M, 5M, and 2.5Mbps cannot be used. A cable length between terminating resistors.

  • Page 83

    CHAPTER 6 INSTALLATION AND WIRING Item Specifications Remark Ver.1.10-compatible CC-Link dedicated cable, CC-Link dedicated cable (Ver.1.00-compatible) (terminating resistors of 110 used) Cable length Cable length between a master/local station Maximum between remote and the station one before/after the Distance Transmission length of I/O stations or master/local station or an intelligent device...

  • Page 84: Station Number Setting

    Station Number Setting This section describes how to set the station numbers for CC-Link and a master/local module. (1) Station number setting for CC-Link For CC-Link, follow the rules below to set the station numbers. • Set the station numbers not used for other stations. If a station number already in use is set, an error occurs. •...

  • Page 85

    CHAPTER 6 INSTALLATION AND WIRING (2) How to set the station number in the master/local module Set the station number using the station number setting switches on the master/local module. Page 21, CHAPTER 2) Set the tenth digit of the station No.

  • Page 86

    (3) Precautions (a) Detecting overlapped station numbers of the master/local module An overlapped station number is detected in a master/local module if a station number other than a start number is in use. Local station Station Station Station Station (Station No.1, no. of occupied stations: 4) No.1 No.2 No.3...

  • Page 87: Transmission Speed Setting

    CHAPTER 6 INSTALLATION AND WIRING Transmission Speed Setting This section describes the transmission speed setting in CC-Link. (1) Conditions for transmission speed • Set the same transmission speed in all the stations in the CC-Link system. Data link cannot be performed with a slave station where the different transmission speed from the master station is set.

  • Page 88: Test After Wiring

    Test After Wiring 6.5.1 Line test Whether a CC-Link dedicated cable is properly connected and data link can be performed with slave stations can be checked. A line test is executed in the master station. (1) Using a programming tool Open the CC-Link diagnostics window on a programming tool.

  • Page 89

    CHAPTER 6 INSTALLATION AND WIRING (2) Using the transmission speed/mode setting switch on the master/local module There are two types of line tests: line test 1 and line test 2. First, a line test 1 is executed. If the line test 1 is abnormally ended, a line test 2 is executed.

  • Page 90

    The line test 1 is started. During the test, the MST LED on the master station flashes. : ON : Flashing : OFF After the line test 1 is completed, the L RUN LED or MST LED on the master station turns on. When the test is completed •...

  • Page 91

    CHAPTER 6 INSTALLATION AND WIRING (b) Line test 2 Before the line test 2, check the following: High Performance model Universal model • If the switch on the CPU module is set at STOP Example Example QCPU QCPU • If the switch on the CPU module is not set at RESET •...

  • Page 92: Transmission Speed Test

    6.5.2 Transmission speed test Whether the transmission speed setting of a slave station is the same as that of the master station can be checked. The station number of the slave station having a different transmission speed setting can be also checked; therefore, corrective action upon a transmission error can be easily taken.

  • Page 93

    CHAPTER 6 INSTALLATION AND WIRING (2) Using link special relays (SBs) and link special registers (SWs) A transmission speed test is performed in the master station. Before the transmission speed test, check the following: • If the switch on the CPU module is set at STOP •...

  • Page 94

    The test result is stored in Transmission speed test result (SW0183). 0: Normally completed Values other than 0: Error code Whether the transmission speed setting of the slave station is the same as that of the master station can be checked using the following link special relay (SB) and link special registers (SWs). •...

  • Page 95: Chapter 7 Parameter Settings

    CHAPTER 7 PARAMETER SETTINGS CHAPTER 7 PARAMETER SETTINGS For CC-Link, set parameters both for a master station and a slave station. For a master station, set the information about a slave station to be connected to a CC-Link system. For a slave station, set the station number of the slave station. ( Manual for the slave station used) This chapter describes how to set the parameters for a master/local module.

  • Page 96: Parameter Setting List

    Parameter Setting List This section lists the parameter setting items for a master/local module and whether the settings are required for each station. : The setting is required. : The setting is required as the occasion demands. ×: The setting is not required. Necessity of a setting Local station, Item...

  • Page 97

    CHAPTER 7 PARAMETER SETTINGS Necessity of a setting Local station, Item Remark Master station standby master station • It is automatically input when the standby master station is set in the CC-Link Standby Master Station No. × configuration window. • The setting is not required when "Remote I/O Net Mode"...

  • Page 98: Parameter Settings For A Master Station

    Parameter Settings for a Master Station This chapter describes the parameter settings when a master/local module is used as a master station. 7.3.1 Setting method Open the "Network Parameter" window from a programming tool. Project window [Parameter] [Network Parameter] [CC-Link] Check the checkbox next to "Set the station information in the CC-Link configuration window"...

  • Page 99: Setting Details

    CHAPTER 7 PARAMETER SETTINGS 7.3.2 Setting details Item Description Setting range Select the number of master/local modules (number of modules Varies depending on a CPU module. to be mounted on one base unit) that are set using a User's manual for the CPU module Number of Modules programming tool.

  • Page 100

    Item Description Setting range Select "Master Station". To configure the system that switches the control to the standby master station if the master station goes down, set as follows. Page 135, Section 8.2.5) Operation Setting • Master Station When a failed master station becomes •...

  • Page 101

    CHAPTER 7 PARAMETER SETTINGS Item Description Setting range Blank or the following range Set the start device where RX, RY, RWr, and RWw are • Device transferred. By setting these items, RX, RY, RWr, and RWw can X, M, L, B, D, W, R, or ZR (M, B, D, and W for be automatically transferred to a device in a CPU module without a MELSECNET/H remote I/O station) Remote Input(RX)

  • Page 102

    Item Description Setting range Blank or the following range • Device M, L, B, D, W, R, SB, or ZR (M, B, D, W, and SB for a MELSECNET/H Special Relay(SB) remote I/O station) • Device number Within the device range of the CPU module or MELSECNET/H remote I/O station Set the start device where SB and SW are transferred.

  • Page 103

    CHAPTER 7 PARAMETER SETTINGS (1) Operation Setting Project window [Parameter] [Network Parameter] [CC-Link] button Item Description Setting range Set the name of the setting if needed. Parameter Name This item is displayed when the setting details of the network Eight characters parameters are printed using a programming tool.

  • Page 104

    (2) Station Information Setting (a) When the checkbox next to "Set the station information in the CC-Link configuration window" is checked There are two ways to set the parameters. • Set the parameters by automatically detecting the system configuration; and •...

  • Page 105

    CHAPTER 7 PARAMETER SETTINGS The following items are automatically reflected to the CC-Link Configuration window: • Station No. • Station Type • Version • # of STA Occupied Stations • Expanded Cyclic Setting When slave stations are used as local stations, the stations are displayed as intelligent device stations. Change the station type if necessary.

  • Page 106

    [Select modules in "Module List" and drag and drop them to "List of stations"] Open the CC-Link configuration window. Project window [Parameter] [Network Parameter] [CC-Link] button Select modules in "Module List" and drag and drop them to "List of stations". Slave stations are added to "List of stations".

  • Page 107

    CHAPTER 7 PARAMETER SETTINGS Item Description Setting range Select the station type. Set the station type of the slave station actually Varies depending on the module that Station Type connected. was set. Select CC-Link version of the slave station. Select the mode of the master/local module if the slave station is a master/local module.( Page 43, Section 3.6.2, Page 51, Section Varies depending on the module that...

  • Page 108

    Item Description Setting range The list of slave stations is displayed. Information about slave stations Module List can be set to the master station by drag and drop of the items from "Module List" to "List of stations". The list of CC-Link modules is displayed. Select modules from Select CC-Link "General CC-Link Module"...

  • Page 109

    CHAPTER 7 PARAMETER SETTINGS Item Description Setting range • No Setting • Occupied Station 1 • Occupied Station 2 Occupied Count Select the number of occupied stations of the slave station. • Occupied Station 3 • Occupied Station 4 (Default: Occupied Station 1) The number of points of remote I/O (RX, RY) occupied by the slave station is displayed.

  • Page 110

    (3) Remote Device Station Initial Setting Register the initial settings using a programming tool, and reflect them to a remote device station using Remote device station initialization procedure registration instruction (SB000D). Project window [Parameter] [Network Parameter] [CC-Link] button To "Target Station No.", set the station number of the remote device station where the initial settings are configured.

  • Page 111

    CHAPTER 7 PARAMETER SETTINGS Item Description Setting range Select whether to actually execute the registered procedure or not. • Execute Click it to change the setting. Execute Flag • Only Set Set "Only Set" to use the setting only as a reference when inputting (Default: Execute) similar setting items.

  • Page 112

    The following figure shows the operations of a link special relay (SB) and link special register (SW) when the remote device station initialization procedure registration is performed. Executed by the master/local module Executed on the program SW0014 Specification of remote device station to be initialized SW0017 Remote device station initialization...

  • Page 113

    CHAPTER 7 PARAMETER SETTINGS (4) Interrupt Settings Project window [Parameter] [Network Parameter] [CC-Link] button In "Interrupt Settings" window, set the conditions on which a master/local module issues the interrupt to a CPU module. Click the button and close the setting window. Item Description Setting range...

  • Page 114

    (Setting range) If the interrupt condition is established upon the completion of a link scan, the interrupt is issued. If "Scan Completed" is set to "Device Code", the interrupt is issued without condition upon the completion of a link scan. Word Channel Device...

  • Page 115

    CHAPTER 7 PARAMETER SETTINGS (a) Precautions • When interrupt conditions are always established with "Level Detect" being set to "Detection Method" Because the interrupt process is performed for each link scan, if the sequence scan time is much longer than the link scan time, a watchdog timer error may occur in the CPU module due to the prolonged sequence scan.

  • Page 116: Parameter Settings For A Local Station And Standby Master Station

    Parameter Settings for a Local Station and Standby Master Station This section describes the parameter settings when a master/local module is used as a local station or standby master station. 7.4.1 Setting method Open the "Network Parameter" window from a programming tool. Project window [Parameter] [Network Parameter]...

  • Page 117: Setting Details

    CHAPTER 7 PARAMETER SETTINGS 7.4.2 Setting details Item Description Setting range Varies depending on a CPU module. Select the number of master/local modules (number of modules to be mounted on one base unit). User's manual for the CPU Number of Modules Do not include the number of master/local modules that are set using module used) the dedicated instruction (G(P).RLPASET).

  • Page 118

    Item Description Setting range • Remote Net(Ver.1 Mode) Set the mode for a master/local module. ( Page 43, Section • Remote Net(Ver.2 Mode) 3.6.2 to Page 51, Section 3.6.5) Mode • Remote Net(Additional Mode) Set the same mode as a master station to use a master/local module •...

  • Page 119

    CHAPTER 7 PARAMETER SETTINGS Item Description Setting range When "Remote Net(Additional Mode)" is set to "Mode", set the start device where RX, RY, RWr, and RWw (Ver.2-compatible area) of a Ver.2 Remote Input(RX) Same as "Remote Input(RX)" master/local module are transferred. Number of refresh points All points for the start station number to last station number of a Ver.2 Remote...

  • Page 120

    (1) Operation setting Project window [Parameter] [Network Parameter] [CC-Link] button Item Description Setting range Set the name of the setting if needed. Eight characters Parameter Name This item is displayed when the setting details of the network (Default: Blank) parameters are printed using a programming tool. •...

  • Page 121

    CHAPTER 7 PARAMETER SETTINGS (2) Interrupt Settings Project window [Parameter] [Network Parameter] [CC-Link] button In "Interrupt Settings" window, set the conditions on which a master/local module issues the interrupt to a CPU module. Click the button and close the setting window. Item Description Setting range...

  • Page 122

    (Setting range) If the interrupt condition is established upon the completion of a link scan, the interrupt is issued. If "Scan Completed" is set to "Device Code", the interrupt is issued without condition upon the completion of a link scan. Word Channel Device...

  • Page 123: Status Difference Between A Master Station And A Slave Station At An Error

    CHAPTER 7 PARAMETER SETTINGS Status Difference Between a Master Station and a Slave Station at an Error The station status at an error varies depending on the combination of "PLC Down Select" of Network Parameter, "Data Link Faulty Station Setting" and "Case of CPU STOP Setting" in the "Operation Setting" window. When configuring the settings, consider the station status at errors listed below.

  • Page 124

    Master station, standby master station (operating as a Remote I/O station master station) Data link status Remote Remote Remote Remote input output register register Input Output (RX) (RY) (RWw) (RWr) Clears the receive area from the local station Clear having a Holds the Continue Continue...

  • Page 125

    CHAPTER 7 PARAMETER SETTINGS (2) Status of a remote device station, intelligent device station, local station, and standby master station (when operating as a local station) Remote device station, intelligent device Local station, standby master station (operating station as a local station) Data link status Remote Remote...

  • Page 126

    If parameter settings have been configured using dedicated instructions, the data is held. If parameter settings have been configured using a programming tool, the data is cleared when Y is set to the refresh device of the remote output (RY). The data is held or cleared according to the parameter settings when the device other than Y is set.

  • Page 127: Chapter 8 Functions

    CHAPTER 8 FUNCTIONS CHAPTER 8 FUNCTIONS Basic Applications of the Functions 8.1.1 Periodic communications (cyclic transmission) A master/local module communicates with other stations periodically using RX, RY, RWr, and RWw. For example, controlling the input and output in the CPU module of a master station controls the input and output in a slave station. (1) Overview of communications In CC-Link, communications are performed between the master station and slave stations using RX, RY, RWr, and RWw.

  • Page 128

    (2) How to start communications Power on the slave station, then master station to start data link. When the parameter settings are reflected, the master/local module starts data link automatically. • When the settings are configured using a programming tool, resetting the CPU module or powering off and on the system reflects the settings.

  • Page 129: Non-periodic Communications (transient Transmission)

    CHAPTER 8 FUNCTIONS 8.1.2 Non-periodic communications (transient transmission) In transient transmission, data can be communicated when a request is issued unlike periodic communications (cyclic transmission). Direct access to the buffer memory and device in other stations can be performed in transient transmission.

  • Page 130: Improving The System Reliability

    Improving the System Reliability This section describes how to improve the CC-Link system reliability using the functions. 8.2.1 Slave station cut-off and automatic return The slave-station cut-off function disconnects a slave station that cannot perform data link due to reasons such as power-off to continue the data link in a normal station.

  • Page 131

    CHAPTER 8 FUNCTIONS (1) Setting method (a) Setting the slave station cut-off function No setting is required in the master/local module. (b) Setting the automatic return function Set the number of slave stations that can be returned per link scan in "Automatic Reconnection Station Count" of the network parameter.

  • Page 132: Setting Of The Data Link Status Upon An Error In The Programmable Controller Cpu Of The Master Station

    8.2.2 Setting of the data link status upon an error in the programmable controller CPU of the master station If a stop error occurs in the CPU module of the master station, whether to stop or continue data link can be selected. Page 121, Section 7.5) When a standby master station is set, the standby master station starts to take in control without data link of the master station continued even if the setting of the data link status is set to "Continue".

  • Page 133: Setting Of The Status Of The Input Data From A Data Link Faulty Station

    CHAPTER 8 FUNCTIONS 8.2.3 Setting of the status of the input data from a data link faulty station Whether to clear or hold data input from a data link faulty station can be selected. How the input data should be handled can be selected according to the system used.

  • Page 134

    (2) Setting method Select whether to clear or hold input data in "Data Link Faulty Station Setting" under "Operation Setting" of the network parameter. Page 101, Section 7.3.2 (1) , Page 118, Section 7.4.2 (1))

  • Page 135: Refreshing/compulsorily Clearing A Slave Station When The Switch On A Programmable Controller Cpu Is Set To Stop

    CHAPTER 8 FUNCTIONS 8.2.4 Refreshing/compulsorily clearing a slave station when the switch on a programmable controller CPU is set to STOP Whether to refresh or compulsorily clear remote output (RY) when the switch on a CPU module is set to STOP can be selected.

  • Page 136

    (2) Device to be set in the refresh device setting Whether remote output (RY) is refreshed or compulsorily cleared varies in the refresh device setting of the network parameter as described below: • When Y is set, remote output (RY) is compulsorily cleared regardless of the parameter setting. •...

  • Page 137: Standby Master Function

    CHAPTER 8 FUNCTIONS 8.2.5 Standby master function If the master station goes down due to an error in a CPU module, power supply, or others, switching the control to the standby master station (a backup station for the master station) continues data link. This function is used not to stop the entire system even if the master station goes down.

  • Page 138

    Continued from the previous page The master station in the normal state returns to the system operation. The master station is on standby in case of the standby master station failure. Master station Station number 0 Standby master station Intelligent device station The number of occupied stations: 1 Station number 0 Remote device station...

  • Page 139

    CHAPTER 8 FUNCTIONS (3) Overview of data transmission of when the standby master function is used The following is an overview of data transmission of when the standby master function is used. (a) When data link is controlled by the master station •...

  • Page 140

    (b) Operation between the master station going down and the standby master station controlling data link If the master station goes down, the standby master station takes over the control of data link. • Output from the standby master station Standby master station (controlling) Master station...

  • Page 141

    CHAPTER 8 FUNCTIONS (c) Operation between the master station returning and the standby master station controlling data link • Output from the standby master station Master station (standby status) Standby master station Station number 0 (controlling) Occupies 1 station Station number 0 Remote Remote Remote...

  • Page 142

    (d) Operation between the standby master station going down and the master station controlling data link If the standby master station goes down, the master station takes over the control of data link. • Output from the master station Master station (controlling) Standby master station Station number 1 Remote...

  • Page 143

    CHAPTER 8 FUNCTIONS (4) Setting method Set the function in the network parameters of a programming tool. Project window [Parameter] [Network Parameter] [CC-Link] (a) Setting the master station Configure the settings in "Type" and "Standby Master Station No." of the network parameter as follows. For other settings, refer to Page 97, Section 7.3.2.

  • Page 144

    (b) Setting the standby master station Configure the settings in "Type" and "Mode" of the network parameter as follows. For other settings, refer to Page 115, Section 7.4.2. Set the station number from 1 to 64 using the station number setting switches on the master/local module.

  • Page 145

    CHAPTER 8 FUNCTIONS (5) Precautions (a) The number of standby master stations One standby master station can be connected in one system. (b) Right of controlling data link of a standby master station When a master station goes down, the right of controlling data link is automatically transferred to a standby master station.

  • Page 146

    (i) Data link start function using a standby master station • Parameters and program set in the master station and standby master station Set the same parameters and program in the master station and standby master station. If not, the operation is not guaranteed.

  • Page 147

    CHAPTER 8 FUNCTIONS (6) Link special relays (SBs) and link special registers (SWs) related to the standby master function Link special relays (SBs) and link special registers (SWs) related to the standby master function are listed below. (a) Link special relays (SBs) Link special relays (SBs) related to the standby master function are listed below.

  • Page 148

    (c) ON/OFF timing of link special relays (SBs) related to the standby master function The following figure shows the ON/OFF timing of link special relays (SBs) related to the standby master function. Master station information (SB0070) Host master/standby master operation status (SB007B) Master switching request acknowledgement (SB005A)

  • Page 149

    CHAPTER 8 FUNCTIONS (7) Example of communications when the master station duplex function is used The following system configuration is used to explain an example of communications. For example of communications when the Redundant CPU is used, refer to the following. QnPRHCPU User's Manual (Redundant System) (a) System configuration Standby master station...

  • Page 150

    (d) Program example • Control start relay when the master station is operating: M10 • Control start relay when the standby master station is operating: M11 Control start relay when the Initial device master station is operating Control start relay when the station master station is (local station) is operating Set scan waiting completion to...

  • Page 151

    CHAPTER 8 FUNCTIONS After saving the link devices, wait a fixed number of scans and execute the processing that sets the link devices saved at master switching and Refresh instruction at standby master switching (SB0001). For details, refer to Page 143, Section 8.2.5 (5). (e) When the right of controlling data link is compulsorily transferred from the standby master station to the master station In the program example in Page 148, Section 8.2.5 (7) (d), change the sections in the dotted lines...

  • Page 152: Cyclic Data Assurance

    8.2.6 Cyclic data assurance This function prevents read/write data from being separated between new and old data. Before using this function, check the versions of the master/local module and programming tool. ( Page 399, Appendix 6 (2)) (1) Block data assurance per station Cyclic data may be separated between new and old data depending on the timing of the automatic refresh.

  • Page 153

    CHAPTER 8 FUNCTIONS (c) Setting method Configure the setting in the master station, local station, and standby master station where data needs to be assured. Open the "Operation Setting" window. Project window [Parameter] [Network Parameter] [CC-Link] button Check the checkbox in "Block Data Assurance per Station". When configuring the setting in the block data assurance per station, set the refresh devices as well.

  • Page 154

    (d) Precautions when using the block data assurance per station function • Refresh device setting When using this function, set the refresh devices in the network parameter. If the refresh devices are not set, the remote input (RX), remote output (RY), and remote register (RWr, RWw) of the buffer memory may not be refreshed.

  • Page 155

    CHAPTER 8 FUNCTIONS (2) 32-bit data integrity assurance This function prevents read/write data in 32-bit increments from being separated between new and old data. (a) Data to be assured The data in the remote register (RWr/RWw) between a CPU module, master station, and local station are assured.

  • Page 156: Useful Applications Of The Functions

    Useful Applications of the Functions This section describes the useful functions of a master/local module. 8.3.1 Remote device station initialization procedure registration function The initial setting of a remote device station, which is performed on a program, can be registered in advance using a programmable tool and can be saved by turning on the link special relay (SB).

  • Page 157

    CHAPTER 8 FUNCTIONS (4) How to perform the initial process only in a specified station (specification of remote device station to be initialized) When a remote device station in operation was replaced due to failure, the initial process used to be performed in all the stations.

  • Page 158

    (5) Precautions (a) Processing time Because one step is executed per link scan, more setting items extend the processing time further than that of when a program is used. (b) While Remote device station initialization procedure registration instruction (SB000D) is on Data in the remote I/O (RX, RY) and remote register (RWr, RWw) stops to be refreshed.

  • Page 159

    CHAPTER 8 FUNCTIONS (6) Link special relays (SBs) and link special registers (SWs) related to the remote device station initialization procedure registration (a) Link special relays (SBs) Link special relays (SBs) related to the remote device station initialization procedure registration are listed below.

  • Page 160: Event Issuance For The Interrupt Program

    8.3.2 Event issuance for the interrupt program A request for the interrupt to a CPU module is issued when the conditions that have been set using a programming tool are satisfied, and the interrupt program can be executed. This function is used to stop the control and execute an interrupt program upon an error or for other purposes.

  • Page 161: Automatic Cc-link Startup

    CHAPTER 8 FUNCTIONS 8.3.3 Automatic CC-Link startup Data link can be performed with the default settings by powering on the master/local module. This function is used to check the operation of when a system is configured. This function can be also used in a system containing a remote I/O station as well as a remote device station and intelligent device station.

  • Page 162

    (b) Refresh device setting • QCPU (excluding a Basic model QCPU) CPU module side Direction Master station/local station side  X1000 to X17FF RX0 to RX7FF  Y1000 to Y17FF RY0 to RY7FF  W1E00 to W1EFF RWr0 to RWrFF ...

  • Page 163

    CHAPTER 8 FUNCTIONS (3) Number of modules connected (a) When two or more master/local modules are connected in one programmable controller system The automatic CC-Link startup function applies to a module with the smallest start I/O number only. In a multiple CPU system, the function applies to a master/local module with the smallest start I/O number among master/local modules controlled by each CPU module.

  • Page 164: Reserved Station Function

    8.3.4 Reserved station function Slaved stations that are not actually connected (but will be connected in future) are not detected as "Data Link Faulty Station" in the master station and local station. By setting slave stations that will be connected in future as reserved stations, slave stations can be added without a program change because the RX/RY/RWr/RWw assignment is not changed.

  • Page 165: Scan Synchronization Specification

    CHAPTER 8 FUNCTIONS 8.3.5 Scan synchronization specification Whether to synchronize the link scan with the sequence scan of a CPU module or not can be selected. Selecting the asynchronous mode shortens input transmission delay time. Selecting the synchronous mode shortens output transmission delay time.

  • Page 166

    (3) Setting method Select the asynchronous mode or synchronous mode in "Scan Mode Setting" of the network parameter. ( Page 96, Section 7.3.1) (4) Data flows in the asynchronous mode and synchronous mode Data flows in the asynchronous mode and synchronous mode are explained below using examples of communications between a master station and remote I/O station.

  • Page 167

    CHAPTER 8 FUNCTIONS (b) Data flow in the synchronous mode • Sequence scan  link scan CPU module (Sequence scan) Master station buffer memory (Remote input (RX)) Link scan Response time of the first station Response time of the corresponding station Response time of the final station Responses from remote I/O stations...

  • Page 168

    • Sequence scan < Link scan CPU module (Sequence scan) Master station buffer memory (Remote input (RX)) Link scan Response time of the first station Response time of the corresponding station Response time of the final station Responses from remote I/O stations Input 1) Input 2)

  • Page 169: Error Invalid Station Setting Function

    CHAPTER 8 FUNCTIONS 8.3.6 Error invalid station setting function Even if a data link error occurs in a slave station, the station is not detected as a faulty station in the master station and local station. This function is used when a slave station is powered off as a matter of the system configuration or for other purposes.

  • Page 170: Temporary Error Invalid Station Setting Function

    8.3.7 Temporary error invalid station setting function Even if a data link error occurs in a slave station, the station is not detected as a faulty station in the master station and local station. This setting can be configured even during data link, unlike the error invalid station setting function. This function is used to exchange slave stations for maintenance or for other purposes during data link.

  • Page 171: Data Link Stop/restart

    CHAPTER 8 FUNCTIONS 8.3.8 Data link stop/restart Data link of the host station can be stopped or restarted using a programming tool or SB/SW. This function is used to temporarily stop data link for maintenance or other purposes. If data link of a master station is stopped, data link is stopped in the entire system. (1) Operation method Data link can be stopped or restarted using one of the following methods.

  • Page 172: Remote I/o Station Points Setting (remote Net Ver.2 Mode Only)

    8.3.9 Remote I/O station points setting (remote net Ver.2 mode only) When the master station is in the remote net Ver.2 mode, the number of refresh points with a remote I/O station can be selected from 8 points, 16 points, and 32 points. Changing the number of points can save the areas of the refresh devices in a CPU module.

  • Page 173

    CHAPTER 8 FUNCTIONS (1) Setting method Set the number of points of a remote I/O station in "Remote Station Points" under "Station Information Setting" of the network parameter. ( Page 102, Section 7.3.2 (2)) ● When setting eight-point remote I/O stations, set an even number of stations consecutively. When setting an odd number of eight-point remote I/O stations, set "8 Points + 8 Points (Reserved)"...

  • Page 174: Master Station Duplication Error Canceling Function

    8.3.10 Master station duplication error canceling function Even if a master station duplication error has been detected, the error can be cleared without resetting the CPU module or powering off and on the system. Before using this function, check the version of the master/local module. ( Page 399, Appendix 6 (2)) (1) How to cancel the error Remove the cause of a master station duplication error.

  • Page 175: Chapter 9 Dedicated Instructions

    CHAPTER 9 DEDICATED INSTRUCTIONS CHAPTER 9 DEDICATED INSTRUCTIONS Dedicated instructions facilitate programming for using intelligent function modules. A master/local module can perform the following operations by using dedicated instructions. • Transient transmission to a master station, local station, and intelligent device station •...

  • Page 176

    Execute the dedicated instructions while the data link is being performed. If any of the dedicated instructions is executed offline, no error will occur, but the execution of the dedicated instruction will not be completed. (2) Applicable devices The following devices are available for the dedicated instructions: Internal device File register Constant...

  • Page 177: G(p).rird

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RIRD The G(P).RIRD instruction reads the specified points of data from the buffer memory or the device in the CPU module of the target station. [Instruction [Execution symbol] condition] Command G.RIRD G.RIRD (D1) (D2) Command GP.RIRD GP.RIRD (D1) (D2)

  • Page 178

    (a) Control data Setting Device Item Setting data Set by range Stores the status when the instruction is complete.  (S) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code Specify the station numbers of the master station, local station, (S) + 1 Station number 0 to 64...

  • Page 179

    CHAPTER 9 DEDICATED INSTRUCTIONS (c) Access code and attribute code (When accessing to the device in a CPU module) Device type Attribute Device contents Name Unit Access code code Word Input relay Hexadecimal Output relay Hexadecimal Internal relay Decimal Latch relay Decimal Link relay Hexadecimal...

  • Page 180

    (2) Functions (a) Operation chart of the G(P).RIRD instruction Master station Target station CPU module Master station Local station CPU module Command G(P).RIRD Buffer memory Device Device Receive buffer The buffer memory specified by (S) + 2 and (S) + 3 of the station specified by (S) + 1, or the device in a CPU module is accessed.

  • Page 181

    CHAPTER 9 DEDICATED INSTRUCTIONS (c) Check of the completion status There are two types of interlock signals for the G(P).RIRD instruction: Completion device (D2) and Status display device at completion (D2) + 1. • Completion device Turns on in the END process of the scan where the G(P).RIRD instruction is completed, and turns off in the next END process.

  • Page 182: Program Example

    9.2.1 Program example This section shows an example of the program to read 10-word data from the area starting from D1000 in the local station (station number 1) to the area starting from D0 in the master station when X0 is turned on in the following system configuration.

  • Page 183: G(p).riwt

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RIWT The G(P).RIWT instruction writes the specified points of data to the buffer memory areas of the target station or the device in the CPU module of the target station. [Instruction [Execution symbol] condition] Command G.RIWT (S1) (S2) G.RIWT...

  • Page 184

    (a) Control data Setting Device Item Setting data Set by range Stores the status when the instruction is complete.  (S1) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code Specify the station numbers of the master station, local station and (S1) + 1 Station number 0 to 64...

  • Page 185

    CHAPTER 9 DEDICATED INSTRUCTIONS (c) Access code and attribute code (When accessing to the device in a CPU module) Device type Attribute Device contents Name Unit Access code code Word Input relay Hexadecimal Output relay Hexadecimal Internal relay Decimal Latch relay Decimal Link relay Hexadecimal...

  • Page 186

    (2) Functions (a) Operation chart of the G(P).RIWT instruction Master station Target station Master station CPU module Local station CPU module Command G(P).RIWT Send buffer Buffer memory Device Device The data to be written to the target station is stored in the send buffer of the master station. The data specified by (S2) is written to the buffer memory specified by (S1) + 2 and (S1) + 3 of the station specified by (S1) + 1, or written to the device in a CPU module.

  • Page 187

    CHAPTER 9 DEDICATED INSTRUCTIONS (c) Check of the completion status There are two types of interlock signals for the G(P).RIWT instruction: Completion device (D) and Status display device at completion (D) + 1. • Completion device Turns on in the END process of the scan where the G(P).RIWT instruction is completed, and turns off in the next END process.

  • Page 188: Program Example

    9.3.1 Program example This section shows an example of the program to write 10-word data from the area starting from D0 in the master station to the area starting from D1000 in the local station (station number 1) when X0 is turned on in the following system configuration.

  • Page 189: G(p).rircv

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RIRCV The G(P).RIRCV instruction automatically performs handshaking with the intelligent device station and reads data from the buffer memory areas of the specified intelligent device station. The instruction is available for modules that have a handshake signal (e.g. AJ65BT-R2(N)). [Instruction [Execution symbol]...

  • Page 190

    (a) Control data Setting Device Item Setting data Set by range Stores the status when the instruction is complete.  (S1) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code (S1) + 1 Station number Specify the station number of the intelligent device station.

  • Page 191

    CHAPTER 9 DEDICATED INSTRUCTIONS (2) Functions (a) Operation chart of the G(P).RIRCV instruction Master station Target station CPU module Master station Intelligent device station Command G(P).RIRCV Buffer memory Receive buffer Device Reading of data from the buffer memory specified by (S1) + 2 and (S1) + 3 of the station specified by (S1) + 1 is commanded.

  • Page 192

    (c) Check of the completion status There are two types of interlock signals for the G(P).RIRCV instruction: Completion device (D2) and Status display device at completion (D2) + 1. • Completion device Turns on in the END process of the scan where the G(P).RIRCV instruction is completed, and turns off in the next END process.

  • Page 193: Program Example

    CHAPTER 9 DEDICATED INSTRUCTIONS 9.4.1 Program example This section shows an example of the program to read 11-word data from the buffer memory address 400 or later in the AJ65BT-R2(N) (station number 63) to the area starting from D40 in the master station when M1 is turned on in the following system configuration.

  • Page 194: G(p).risend

    G(P).RISEND The G(P).RISEND instruction automatically performs handshaking with the intelligent device station and writes data to the buffer memory areas of the specified intelligent device station. The instruction is available for modules that have a handshake signal (e.g. AJ65BT-R2(N)). [Instruction [Execution symbol] condition]...

  • Page 195

    CHAPTER 9 DEDICATED INSTRUCTIONS (a) Control data Setting Device Item Setting data Set by range Stores the status when the instruction is complete.  (S1) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code (S1) + 1 Station number Specify the station number of the intelligent device station.

  • Page 196

    (2) Functions (a) Operation chart of the G(P).RISEND instruction Master station Target station CPU module Master station Intelligent device station Executes Command request G(P).RISEND process. Buffer memory Device Send buffer Writing of data to the buffer memory specified by (S1) + 2 and (S1) + 3 of the station specified by (S1) + 1 is commanded.

  • Page 197

    CHAPTER 9 DEDICATED INSTRUCTIONS (c) Check of the completion status There are two types of interlock signals for the G(P).RISEND instruction: Completion device (D) and Status display device at completion (D) + 1. • Completion device Turns on in the END process of the scan where the G(P).RISEND instruction is completed, and turns off in the next END process.

  • Page 198: Program Example

    9.5.1 Program example This section shows an example of the program to write 1-word data from D10 in the master station to the buffer memory address 111 in the AJ65BT-R2(N) (station number 63) when M6 is turned on in the following system configuration.

  • Page 199: G(p).rifr

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RIFR The G(P).RIFR instruction reads data from the automatic update buffer of the target station. The instruction is available for modules that have the automatic update buffer (e.g. AJ65BT-R2(N)). [Instruction [Execution symbol] condition] Command G.RIFR G.RIFR Command GP.RIFR GP.RIFR...

  • Page 200

    (2) Functions (a) Operation chart of the G(P).RIFR instruction Master station Target station Master station CPU module Intelligent device station Command Buffer memory G(P).RIFR Communication starts when conditions are met. Automatic update buffer memory Automatic Device update buffer The automatic update buffer specified by n1 and n2 of the master station specified by Un is accessed.

  • Page 201

    CHAPTER 9 DEDICATED INSTRUCTIONS (3) Operation error For the following cases, an operation error occurs; Error flag (SM0) turns on and the error code is stored in SD0. Error code Condition that an operation error occurs When the module specified by Un is not an intelligent function module 2112 When the module specified by Un is not a special function module 4002...

  • Page 202: Program Example

    9.6.1 Program example This section shows an example of the program to read 10-word data from the offset value 100 of automatic update buffer in the master station (400 in the intelligent device station) to the area starting from D0 when X0 is turned on in the following system configuration.

  • Page 203: G(p).rito

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RITO The G(P).RITO instruction writes data to the automatic update buffer of the target station. The instruction is available for modules that have the automatic update buffer (e.g. AJ65BT-R2(N)). [Instruction [Execution symbol] condition] Command G.RITO G.RITO Command GP.RITO GP.RITO...

  • Page 204

    (2) Functions (a) Operation chart of the G(P).RITO instruction Master station Target station CPU module Master station Intelligent device station Command Buffer memory Communication G(P).RITO starts when conditions are met. Automatic update buffer memory Automatic Device update buffer The device after the device specified by (D) of the master station specified by Un is accessed. Data are written to the automatic update buffer specified by n1 and n2.

  • Page 205

    CHAPTER 9 DEDICATED INSTRUCTIONS (3) Operation error For the following cases, an operation error occurs; Error flag (SM0) turns on and the error code is stored in SD0. Error code Condition that an operation error occurs When the module specified by Un is not an intelligent function module 2112 When the module specified by Un is not a special function module 4002...

  • Page 206: Program Example

    9.7.1 Program example This section shows an example of the program to write 10-word data from the area starting from D0 in the master station to the offset value 100 of automatic update buffer or later (400 or later in the intelligent device station) when X0 is turned on in the following system configuration.

  • Page 207: G(p).rlpaset

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RLPASET The G(P).RLPASET instruction sets the network parameters to the master station and starts up the data link. [Instruction [Execution symbol] condition] Command (S1) (S2) (S3) (S4) (S5) G.RLPASET G.RLPASET Command GP.RLPASET (S1) (S2) (S3) (S4) (S5) GP.RLPASET Applicable device...

  • Page 208

    (a) Control data Setting Device Item Setting data Set by range Stores the status when the instruction is complete.  (S1) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code Specify whether the individual setting data for (S2) to (S5) is valid or invalid. 0: Invalid 1: Valid b15 b14...

  • Page 209

    CHAPTER 9 DEDICATED INSTRUCTIONS (b) Slave station setting data Setting Device Item Setting data Set by range Set the station type, number of occupied stations, and station number as follows: b12 b11 b8 b7  Station number Number of occupied stations Station type The default values are "0101 to 0140...

  • Page 210

    (c) Reserved station specification data Setting Device Item Setting data Set by range Specify reserved stations. 0: Not specified 1: Specified Specification of (S3) + 0 (S3)+0 1 to 64  User (S3)+1 (S3) + 3 stations (S3)+2 (S3)+3 1 to 64 in the table indicate station numbers. Default value is "0: Not specified"...

  • Page 211

    CHAPTER 9 DEDICATED INSTRUCTIONS (e) Communication and automatic update buffer assignment data Device Item Setting data Setting range Set by Specify assignments of buffer memory size at transient transmission to local stations and intelligent device stations. Communication buffers (S5)+0 Send buffer size (no setting), Settings for the (S5)+1...

  • Page 212

    (2) Functions (a) Operation chart of the G(P).RLPASET instruction CPU module Master station Command G(P).RLPASET Network parameter Device Execution result Data link start The network parameters set in (S1) to (S5) are transferred to the master station specified by Un. The master station analyzes the settings of the network parameters.

  • Page 213

    CHAPTER 9 DEDICATED INSTRUCTIONS (d) Process after the completion of the G(P).RLPASET instruction After the completion of the G(P).RLPASET instruction, turn on Refresh instruction when changing parameters by the dedicated instruction (SB0003) and refresh cyclic data. [When all the stations are normal] process process process...

  • Page 214

    (3) Operation error For the following cases, an operation error occurs; Error flag (SM0) turns on and the error code is stored in SD0. Error code Condition that an operation error occurs 2112 When the module specified by Un is not an intelligent function module 4002 When attempt to execute an unsupported instruction 4003...

  • Page 215: Program Example (parameter Setting Example)

    CHAPTER 9 DEDICATED INSTRUCTIONS 9.8.1 Program example (parameter setting example) This section shows an example of configuring settings for a master/local module in the following system configuration. Master station Model name Q20UDHCPU QJ61BT11N Start I/O number X/Y100 to X/Y11F Terminating resistor Terminating resistor Station number 2...

  • Page 216

    Open the "I/O Assignment" tab of "PLC Parameter", and configure the settings as follows. Project window [Parameter] [PLC Parameter] "I/O Assignment" tab Open the "Switch Setting for I/O and Intelligent Function Module" window by clicking the button and configure the settings as follows. Click the button.

  • Page 217

    CHAPTER 9 DEDICATED INSTRUCTIONS ● Set the switch 3 and switch 4 within the range listed in the above table. If a value outside the range is set or no value is set, the G(P).RLPASET instruction ends abnormally. Note that CC-Link is automatically started up for the master/local module with the smallest start I/O number instead.

  • Page 218

    Parameter registration (data link startup) Dedicated instruction (G(P).RLPASET) Process at completion of the G(P).RLPASET instruction Turn the parameter setting instruction off. Instruct to refresh at normal completion of the G(P).RLPASET instruction. Instruct to start the control program at normal completion of the G(P).RLPASET instruction.

  • Page 219

    CHAPTER 9 DEDICATED INSTRUCTIONS Communication and automatic update buffer assignment data First (station number 1) local station Send buffer: 100 word First (station number 1) local station Receive buffer: 100 word First (station number 1) local station Automatic update buffer: 0 word Parameter registration (data link startup) Dedicated instruction (G(P).RLPASET)

  • Page 220

    Write the PLC parameters and program to the CPU module. Then reset the CPU module or power off and on the system. RESET or power off Set the switch on the CPU module in the master station to RUN to execute the program. The G(P).RLPASET instruction is executed by executing the program, and the network parameters are reflected to the master/local module.

  • Page 221

    CHAPTER 9 DEDICATED INSTRUCTIONS (1) Precautions when setting parameters using the G(P).RLPASET instruction (a) The differences from the parameter settings using a programming tool The items that can be set are different between the parameter settings using the dedicated instruction and the ones using a programming tool.

  • Page 222

    (b) Network parameter of a programming tool • Do not use a programming tool to set network parameters for the modules where settings are configured using the G(P).RLPASET instructions. Also do not use the G(P).RLPASET instructions to configure settings for the modules where network parameters have been set using a programming tool. Doing so causes abnormal end of the instruction and the settings are not reflected.

  • Page 223: G(p).rdmsg

    CHAPTER 9 DEDICATED INSTRUCTIONS G(P).RDMSG These instructions read/write parameters from the master station to the remote device station and read out the status. (A master/local module with a serial number (first five digits) of 10032 or later supports these instructions.) The instructions can be used with the remote device station, for example NZ2AW1C2AL, that supports the message transmission function.

  • Page 224

    (2) Control data Device Item Setting data Setting range Set by Stores the status when the instruction is completed.  (S1) + 0 Completion status 0: No error (normal completion) System Value other than 0: Error code (S1) + 1 Station number Specify the station number of the remote device station.

  • Page 225

    CHAPTER 9 DEDICATED INSTRUCTIONS (b) Receivable data size and receive data size Set a receivable data size ((S1)+3) so that it will satisfy the following conditional expression: Receivable data size ((S1)+3)  Receive data size ((S1)+4) CPU module Master station Remote device station Size Device...

  • Page 226

    • When the receive data size ((s1)+4) is an odd byte (when data received from a remote device station is an odd byte) The last receive data is stored in the lower byte of the last data. 0 is stored in the upper byte of the last data storage area.

  • Page 227

    CHAPTER 9 DEDICATED INSTRUCTIONS (3) Functions (a) Operation chart of the G(P).RDMSG instruction Master station Target station Remote device station CPU module Master station Command G(P).RDMSG Request Send data Device memory Received data Response The send data (S2) in the size specified in (S1)+2 are stored into the master module. The send data are sent to the station specified in (S1)+1.

  • Page 228

    (c) Check of the completion status There are two types of interlock signals for the G(P).RDMSG instruction: Completion device (D2) and Status display device at completion (D2) + 1. • Completion device Turns on in the END process of the scan where the G(P).RDMSG instruction is completed, and turns off in the next END process.

  • Page 229: Program Example

    CHAPTER 9 DEDICATED INSTRUCTIONS 9.9.1 Program example The RDMSG instruction uses a part or all of remote register that performs cyclic transmission between the master station and the target station in the system. For program examples, refer to the manual for the remote device station that supports the message transmission function.

  • Page 230: Chapter 10 Programming

    CHAPTER 10 PROGRAMMING This chapter describes precautions for programming, communication examples, and sample programs when data are communicated at master/local modules. The examples of communications shown in this chapter are the one between a master station and a remote device station, or the one between a master station and a local station.

  • Page 231

    CHAPTER 10 PROGRAMMING Devices used for the program example Device Description Device Description Other station data link status (station Module error SW0080.0 number 1) Other station data link status (station Host data link status SW0080.1 number 2) Module ready Communication program with the station No.1 Communication program with the station No.2 (2) Refresh devices to be set Set the refresh devices without overlaps with the following.

  • Page 232

    (3) Remote device station initial settings using a programming tool (a) Reflection of the settings The initial settings registered using a programming tool are reflected to a remote device station by writing the settings to a CPU module and turning on Remote device station initialization procedure registration instruction (SB000D).

  • Page 233

    CHAPTER 10 PROGRAMMING (5) For the configuration where a remote I/O station is connected in the remote net Ver.2 mode Different from the remote net Ver.1 mode, RWr/RWw slide over by the number of points of remote I/O stations in a master station and a local station.

  • Page 234: Example Of Communications Between A Master Station And A Remote Device Station

    10.2 Example of Communications Between a Master Station and a Remote Device Station This section describes an example of how to configure the initial settings for the remote device station and perform an analog input and digital output. If an error occurs, the error code of the remote device station is stored in the device of a CPU module. 10.2.1 System configuration (1) System configuration...

  • Page 235

    CHAPTER 10 PROGRAMMING (2) Assignment of the remote I/O (RX, RY) and remote register (RWr, RWw) In the program example, the following assignment is used to perform data link. The status of a device assignment can be checked on GX Works2 by setting information of a slave station on the CC-Link configuration window on GX Works2.

  • Page 236

    The assignment by each signal of the AJ65VBTCU-68ADVN and AJ65VBTCU-68DAVN are shown below. AJ65VBTCU-68ADVN AJ65VBTCU-68DAVN (Station No.1) (Station No.4) No. of occupied No. of occupied CPU module Master station stations: 3 stations: 3 Buffer memory Device (Remote input (RX)) Remote input (RX) X1000 (224) RX00...

  • Page 237

    CHAPTER 10 PROGRAMMING CPU module Remote station Device Module name Remote input (RX) Signal name X1060 RX00 Reserved X106B RX0B X106C RX0C PROM write error flag X106D RX0D Reserved X1077 RX17 AJ65VBTCU-68DAVN X1078 RX18 Initial data processing request flag X1079 RX19 Initial data setting complete flag X107A...

  • Page 238

    (b) Remote output (RY) Plan the assignment using the assignment sheet on Page 407, Appendix 8.1 (1). CPU module Master station Slave station Buffer memory address Device Station number Module name Remote I/O (RX/RY) Hexadecimal Decimal Y1000 to Y100F RY0 to RYF AJ65VBTCU-68ADVN Y1010 to Y101F RY10 to RY1F...

  • Page 239

    CHAPTER 10 PROGRAMMING CPU module Remote station Remote output Device Module name Signal name (RY) Y101B RY1B AJ65VBTCU-68ADVN Reserved Y105F RY5F Y1060 RY00 CH.1 analog output enable/disable flag Y1061 RY01 CH.2 analog output enable/disable flag Y1062 RY02 CH.3 analog output enable/disable flag Y1063 RY03 CH.4 analog output enable/disable flag...

  • Page 240

    (c) Remote register (RWr) Plan the assignment using the assignment sheet on Page 408, Appendix 8.1 (2). CPU module Master station Slave station Buffer memory address Remote register Device Station number Module name (RWr/RWw) Hexadecimal Decimal RWr0 RWr1 AJ65VBTCU-68ADVN RWr2 RWr3 RWr4 RWr5...

  • Page 241

    CHAPTER 10 PROGRAMMING The assignment by each data of the AJ65VBTCU-68ADVN and AJ65VBTCU-68DAVN are shown below. AJ65VBTCU-68ADVN AJ65VBTCU-68DAVN (Station No.1) (Station No.4) No. of occupied No. of occupied CPU module Master station stations: 3 stations: 3 Buffer memory Device Remote register (RWr) (Remote register (RWr)) (736) RWr0...

  • Page 242

    (d) Remote register (RWw) Plan the assignment using the assignment sheet on Page 408, Appendix 8.1 (2). CPU module Master station Slave station Buffer memory address Remote register Device Station number Module name (RWr/RWw) Hexadecimal Decimal W100 RWw0 W101 RWw1 AJ65VBTCU-68ADVN W102 RWw2...

  • Page 243

    CHAPTER 10 PROGRAMMING The assignment by each data of the AJ65VBTCU-68ADVN and AJ65VBTCU-68DAVN are shown below. AJ65VBTCU-68ADVN AJ65VBTCU-68DAVN (Station No.1) (Station No.4) No. of occupied No. of occupied CPU module Master station stations: 3 stations: 3 Buffer memory Remote register (RWw) Device (Remote register (RWw)) W100...

  • Page 244: Settings For A Master Station

    10.2.2 Settings for a master station (1) Settings for a master/local module Set the station number and transmission speed of the master/local module. ( Page 21, CHAPTER 2) Station No.0 Transmission speed 156kbps Online (2) Parameter settings by using a programming tool Connect a CPU module to a programming tool to set the parameters of the master/local module.

  • Page 245

    CHAPTER 10 PROGRAMMING Open the "Network Parameter" window to configure the setting as follows. Project window [Parameter] [Network Parameter] [CC-Link] Drag and drop the text.

  • Page 246

    Open the "Remote Device Station Initial Setting" window to configure the setting as follows. Project window [Parameter] [Network Parameter] [CC-Link] button Initial setting for the AJ65VBTCU-68ADVN Initial setting for the AJ65VBTCU-68DAVN Click the button to open the "Remote Device Station Initial Setting Procedure Registration"...

  • Page 247

    CHAPTER 10 PROGRAMMING • Initial setting for an AJ65VBTCU-68DAVN (station number 4) Select "HEX". Configuring the initial setting executes the following processes from the first condition. Condition Description The channels 1 and 2 are set to the analog output enable. An output range is set.

  • Page 248: Settings For A Remote Device Station

    10.2.3 Settings for a remote device station Set the station number, transmission speed, and mode using the switches on the remote device station. (1) Switch setting on an AJ65VBTCU-68ADVN Station number setting switch, transmission speed setting switch Station number 1 156kbps Mode selection switch Mode selection switch...

  • Page 249: Checking The Status Of Data Link

    CHAPTER 10 PROGRAMMING 10.2.4 Checking the status of data link Power on the remote station, then master station to start data link. When the LEDs are in the following states, data link is being performed normally. (1) LEDs on the master station : ON : Flashing : OFF...

  • Page 250: Program Example

    10.2.5 Program example This section provides a program example. Write a program to the CPU module in a master station. (1) Devices to be used The following table lists the devices to be used in the program example. Device Description Module Module error Host data link status...

  • Page 251

    CHAPTER 10 PROGRAMMING (2) Program example Create the following program on a programming tool. Confirmation of the data link status Data link is normal. (AJ65VBTCU-68ADVN, AJ65VBTCU-68DAVN) Data link error (AJ65VBTCU-68ADVN) Data link error (AJ65VBTCU-68DAVN) Initialization procedure registration Turn off the initialization procedure registration instruction.

  • Page 252

    AJ65VBTCU-68DAVN: Initial setting change Analog output enable/disable setting (RWw8) CH.1 to 4 output range setting (RWw9) Turn on Initial data setting request flag (RY19). Turn off Initial data setting request flag (RY19). AJ65VBTCU-68DAVN: Digital value setting Set CH.1 digital value setting (RWw0).

  • Page 253

    CHAPTER 10 PROGRAMMING Set the switch on the CPU module in the master station to RUN to execute the program. Executing the program turns on Remote device station initialization procedure registration instruction (SB000D). Then the initial setting is executed. When the initial setting is completed, the input value of the AJ65VBTCU-68ADVN is converted into a digital value.

  • Page 254: Program Example (when The Initial Setting Is Configured Only On A Program)

    10.2.6 Program example (when the initial setting is configured only on a program) This section provides an example of when the initial setting is configured only on a program, not on a programming tool. (1) Devices to be used Devices are the same as those when the initial setting is configured on a programming tool. ( Page 248, Section 10.2.5 (1)) (2) Program example...

  • Page 255

    CHAPTER 10 PROGRAMMING AJ65VBTCU-68DAVN: Initial setting change Analog output enable/disable setting (RWw8) CH.1 to 4 output range setting (RWw9) Turn on Initial data setting request flag (RY19). AJ65VBTCU-68DAVN: Process of completing the initial setting Turn off Initial data processing complete flag (RY18). Turn off Initial data setting request flag (RY19).

  • Page 256

    Set the switch on the CPU module in the master station to RUN to execute the program. Executing the program turns on Initial data processing request flag (RX18) of the AJ65VBTCU-68ADVN and AJ65VBTCU-68DAVN. Then the initial setting is executed. When the initial setting is completed, the input value of the AJ65VBTCU-68ADVN is converted into a digital value.

  • Page 257: Example Of Communications Between A Master Station And A Local Station

    CHAPTER 10 PROGRAMMING 10.3 Example of Communications Between a Master Station and a Local Station This section provides an example of data link between a master station and a local station. 10.3.1 System configuration (1) System configuration The following system is used for explanation purpose. The same system is used for the master station and local station.

  • Page 258

    (2) Assignment of the remote I/O (RX, RY) and remote register (RWr, RWw) In the program example, the following assignment is used to perform data link. The status of a device assignment can be checked on GX Works2 by setting information of a slave station on the CC-Link configuration window on GX Works2.

  • Page 259

    CHAPTER 10 PROGRAMMING CPU module CPU module Master station Local station Buffer memory Buffer memory Device Device (Remote input (RX)) (Remote input (RX)) X1000 X1000 Station Station Station Station No.1 No.1 No.1 No.1 X101D X101D (Remote output (RY)) (Remote output (RY)) Y1000 Y1000 Station...

  • Page 260: Settings For A Master Station

    10.3.2 Settings for a master station (1) Settings for a master/local module Set the station number and transmission speed of the master/local module. ( Page 21, CHAPTER 2) Station No.0 Transmission speed 156kbps Online (2) Parameter settings by using a programming tool Connect a CPU module to a programming tool to set the parameters of the master/local module.

  • Page 261

    CHAPTER 10 PROGRAMMING Open the "Network Parameter" window to configure the setting as follows. Project window [Parameter] [Network Parameter] [CC-Link] Drag and drop the text. Click the button to terminate the setting. Write the set parameters to the CPU module. Then reset the CPU module or power off and on the system.

  • Page 262: Settings For A Local Station

    10.3.3 Settings for a local station (1) Settings for a master/local module Set the station number and transmission speed of the master/local module. ( Page 21, CHAPTER 2) Station No.1 Transmission speed 156kbps Online (2) Parameter settings by using a programming tool Connect a CPU module to a programming tool to set the parameters of the master/local module.

  • Page 263

    CHAPTER 10 PROGRAMMING Open the "Network Parameter" window to configure the setting as follows. Project window [Parameter] [Network Parameter] [CC-Link] Click the button to terminate the setting. Write the parameters to the CPU module. Then reset the CPU module or power off and on the system.

  • Page 264: Checking The Status Of Data Link

    10.3.4 Checking the status of data link Power on the local station, then master station to start data link. When the LEDs are in the following states, data link is being performed normally. (1) LEDs on the master station : ON : Flashing : OFF The LEDs may look dimly lit or off depending on the communication status.

  • Page 265: Program Example

    CHAPTER 10 PROGRAMMING 10.3.5 Program example This section provides a program example. (1) Devices to be used The following table lists the devices to be used in the program example. (a) Devices in the master station Device Description Module Module error Host data link status QJ61BT11N (master station) Module ready...

  • Page 266

    (2) Program example Create the following program on a programming tool. • Program for the master station Confirmation of the data link status Data link is normal. Data link error Control program Control program using data received from a local station Program of creating data sent to a local station •...

  • Page 267: Program Example (to Assure The Integrity Of Cyclic Data In Each Slave Station)

    CHAPTER 10 PROGRAMMING 10.3.6 Program example (to assure the integrity of cyclic data in each slave station) One of the following actions assures the integrity of cyclic data in each slave station. Note that data integrity is not assured across slave stations. (1) Using a programming tool On the "Operation Setting"...

  • Page 268

    (2) Using a program Set an interlock in the remote I/O (RX/RY). Master station Local station (Station No.1) Master Local Send module station station module request X1000 Y1000 Y1000 Send data (W) Receive data (W) SET Y1000 X1000 X1000 RWw0 RWw0 W1000 W1000...

  • Page 269: Chapter 11 Troubleshooting

    CHAPTER 11 TROUBLESHOOTING CHAPTER 11 TROUBLESHOOTING This chapter describes details on errors that might occur when the master/local module is used and the troubleshooting.

  • Page 270: Troubleshooting Flowcharts

    11.1 Troubleshooting Flowcharts 11.1.1 Troubleshooting using LEDs Start Troubleshoot the problem with reference to "Troubleshooting when the RUN LED Master station on the master station is off". RUN on Page 269, Section 11.1.1 (1) When a CC-Link system is When the CC-Link system newly configured or the existing has operated CC-Link system is changed...

  • Page 271

    CHAPTER 11 TROUBLESHOOTING (1) Troubleshooting when the RUN LED on the master station is off Start RUN LED on Is power being supplied to the power supply module? Is the LED on the power supply module on? Supply power to the Is the CPU module power supply module.

  • Page 272

    (2) Troubleshooting common to modules Start Perform the hardware test. Page 324, Section 11.5 Was the hardware test performed? Is the hardware test completed normally? Replace the target module. If a master/local module-related error was not detected, troubleshoot the CPU module with reference to the following.

  • Page 273: Troubleshooting Using A Programming Tool

    CHAPTER 11 TROUBLESHOOTING 11.1.2 Troubleshooting using a programming tool (1) Troubleshooting by the CC-Link diagnostics Connect a programming tool to the master station and execute the CC-Link diagnostics. Start Troubleshoot the problem with reference to "Troubleshooting when diagnostics window the RUN LED on the master station has been started without is off".

  • Page 274

    Selected station information Check if the parameter status matches with the status of the connected modules. 1) Reservation setting mismatch 2) Error invalid setting mismatch When a CC-Link system is When the CC-Link system 3) Station type mismatch newly configured or the existing has operated 4) Number of occupied stations CC-Link system is changed...

  • Page 275

    CHAPTER 11 TROUBLESHOOTING When a CC-Link system is When the CC-Link system newly configured or the existing has operated CC-Link system is changed L RUN LED on A1-7 Master station A1-1, A1-5, A1-8, B1-3, B1-4 L ERR. flashing A3-1, A3-4 A1-1, A1-7, A1-9, B1-1, B1-5 A3-2, A3-5...

  • Page 276

    Do multiple stations repeatedly fail and recover? Faulty station type Remote I/O station Remote I/O station Troubleshoot the problem with reference to cyclic data failure "Troubleshooting by the status logging". Page 275, Section 11.1.2 (2) Are all RY outputs C2-1 disabled? C1-1, C1-2 Remote device station...

  • Page 277

    CHAPTER 11 TROUBLESHOOTING (2) Troubleshooting by the status logging Start Register the logs to the flash ROM? Delete the flash ROM data and execute logging? Is the system in data link? Stop data link. Select "RAM + Flash ROM". Select "RAM + Flash ROM". Clear the logs.

  • Page 278: Lists Of Problems

    11.2 Lists of Problems 11.2.1 Problems due to disconnection of a slave station (1) Problems due to disconnection of a slave station when a CC-Link system is newly configured or the existing CC-Link system is changed Problem Check item Description Check method Corrective action Is the station number correctly...

  • Page 279

    CHAPTER 11 TROUBLESHOOTING Problem Check item Description Check method Corrective action Is the CPU module set to Check if the switch on the CPU status other than RESET Cancel the RESET module is not at the RESET when network parameters are status.

  • Page 280

    Problem Check item Description Check method Corrective action Is the station number correctly A2-1 Station number Check the station number setting. Correct the setting. set for the faulty station? Is the transmission speed Set the value same as Transmission A2-2 value correctly set for the Check the transmission speed.

  • Page 281

    CHAPTER 11 TROUBLESHOOTING Problem Check item Description Check method Corrective action Are there no disconnection, Check if the SD LED and RD LED Correct the wiring. short circuit, incorrect wiring, on the faulty station are flashing. poor connection, and coexistence of different When faulty stations occur cables? sequentially to one end on the...

  • Page 282

    Problem Check item Description Check method Corrective action Are cables and connectors Cable or other Check cables between the master A3-1 securely connected and do Correct the wiring. parts station and slave stations. they meet specifications? Check if the sequence scan time is within the allowable range.

  • Page 283

    CHAPTER 11 TROUBLESHOOTING Problem Check item Description Check method Corrective action Are there no disconnection, Check cables connected to the short circuit, incorrect wiring, faulty station. poor connection, and coexistence of different When faulty stations occur cables? Correct the wiring. sequentially to one end on the Do a transmission distance, transmission path, check cables...

  • Page 284

    (2) Problems due to disconnection of a slave station when the CC-Link system has already operated Problem Check item Description Check method Corrective action Remove the error. User's manual Check the error code of the CPU for the CPU module module.

  • Page 285

    CHAPTER 11 TROUBLESHOOTING Problem Check item Description Check method Corrective action Apply the voltage Power supply (for Check power supplied to the B2-1 Isn't a voltage low? within the specified communications) faulty station. range. Check cables connected to the faulty station. Are cables and connectors When faulty stations occur Cable or other...

  • Page 286: Problems Due To Cyclic Data Error

    11.2.2 Problems due to cyclic data error (1) Problems due to cyclic data error in a remote I/O station Problem Check item Description Check method Corrective action Check if the devices have Correct the device setting. been set within the range. Check if no device overlaps with ones used in programs Have refresh devices (RX,...

  • Page 287

    CHAPTER 11 TROUBLESHOOTING (2) Problems due to cyclic data error in a remote device station Problem Check item Description Check method Corrective action Set the devices so that they Has the auto refresh been Check if no device overlaps do not overlap with ones correctly set (RX, RY, RWw, with ones used in programs used in programs and in...

  • Page 288

    (3) Problems due to cyclic data error in an intelligent device station (local station) Problem Check item Description Check method Corrective action Set the devices so that they Has the auto refresh been Check if no device overlaps do not overlap with ones correctly set (RX, RY, RWw, with ones used in programs used in programs and in...

  • Page 289: Problems Due To Transient Data Error

    CHAPTER 11 TROUBLESHOOTING 11.2.3 Problems due to transient data error (1) Problems due to transient data error in an intelligent device station (local station) Problem Check item Description Check method Corrective action Is the transient transmission Refresh data Check if the correct Access the correct area in F1-1 (dedicated instruction)

  • Page 290: Problems Due To Operation Error In The Master Station

    11.2.4 Problems due to operation error in the master station (1) Problems due to operation error in the master station Problem Check item Description Check method Corrective action Check the program. Correctly set the link special Is Data link stop (SB0002) Check the refresh devices relay (SB).

  • Page 291

    CHAPTER 11 TROUBLESHOOTING Problem Check item Description Check method Corrective action When multiple remote stations simultaneously Increase the transmission powered off at Number of retries Check the number of speed. G4-1 Number of retries setting a speed of setting retries. Reduce the number of 156kbps, the retries.

  • Page 292: Error Codes

    11.3 Error Codes If an error such as a data link error occurs, the error cause can be identified by checking an error code. 11.3.1 How to check error codes Error codes can be checked using a programming tool as well as link special registers (SWs). ( Page 351, Appendix 3.2) (1) Checking in the "Module's Detailed Information"...

  • Page 293

    CHAPTER 11 TROUBLESHOOTING (2) Checking in the "Error History" window This window lists errors including those that have occurred in other modules, and the error logs can be output in a CSV file. Even after the CPU module is reset or the system is powered off and on, error codes and date and time of errors can be displayed.

  • Page 294

    Item Description Operation specification when CPU is down Displays the operating status if a CPU module goes down set by the status (SB0073) parameter. Displays the status of the reserved station setting configured by the Reserved station specified status (SB0074) parameter.

  • Page 295: Error Code List

    CHAPTER 11 TROUBLESHOOTING 11.3.2 Error code list The following table lists error codes. When a standby master station is used, refer to the respective columns under "Delectability" in the table as explained below. • When a standby master station is operating as a master station: "Master station" column •...

  • Page 296

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Setting error of the The remote device station station where the initialization procedure remote device station Turn on the instruction in the B124 registration instruction was ×...

  • Page 297

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Please consult your local  B305 System error × Mitsubishi representative. A station number other than the start station number has been Specified station B306 specified in the temporary error Specify the start station number.

  • Page 298

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station A function that is started using Unsupported service SB/SW and executable on the Perform the function from the B30E × error master station only was tried to master station.

  • Page 299

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Please consult your local  B31C and B31D System error Mitsubishi representative. Status logging start Logging was started while logs B31E Delete the logs then start logging. error were being deleted.

  • Page 300

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station More than 26 intelligent device Intelligent device stations (including local stations) B38C station setting error Set the value to 26 or less. × are set in the station information (parameter) parameter.

  • Page 301

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station The station information parameter setting does not meet the following condition: (16 × A) + (54 × B) + (88 × C)  2304 Station information The number of remote I/O...

  • Page 302

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station The remote I/O station points setting is set to 8 points or 16 Set the remote net Ver.2 mode. points in the remote net additional mode. 8-point/16-point setting B39E error (remote I/O...

  • Page 303

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station While the standby master station was operating as a master station by the master station Undo the network parameter B3A4 Parameter mismatch × duplex function, the network setting of the master station.

  • Page 304

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Please consult your local  B419 to B41A System error Mitsubishi representative. An unsupported request was Check the request data and the B601 Request type error received.

  • Page 305

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station When connection to another station has been set, the sending Check the station number of the Station number B782 destination station and the destination or change the setting specification error sending source station are the...

  • Page 306

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station A transient request was issued to Secure a communication buffer B903 Transient request error a station that had not secured a area using the parameter. communication buffer. When a dedicated instruction was executed, the Communication buffer...

  • Page 307

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Please consult your local  BA1E to BA21 System error Mitsubishi representative. The following requests (including the same request) were tried to be executed to the same station at the same time.

  • Page 308

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Reduce the number of standby Multiple standby Multiple standby master stations master stations on the same line BBCA × master stations error exist on the same line. to one.

  • Page 309

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Check the program to see if any prohibited remote output (RY) has not been accessed. With the message transmission If the same error persists after BC50 function, abnormal data were ×...

  • Page 310

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Multiple peripherals tried to access the same message Perform the processes one by BC57 Multiple requests error × transmission or remote device one. station at the same time. Execute the message transmission function again.

  • Page 311

    CHAPTER 11 TROUBLESHOOTING Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station Target station The remote device station to be Check the station number and specification error BC73 accessed from the peripherals is station type of the specified target ×...

  • Page 312

    Delectability Error code Description Error cause (details) Corrective action Master Local (hexadecimal) station station The station type of a target Message transmission station for the message Correct the station type of a target BF43 target module station transmission is not either a station, and execute the function type error remote device station or...

  • Page 313: Cc-link Diagnostics Using Gx Works2

    CHAPTER 11 TROUBLESHOOTING 11.4 CC-Link Diagnostics Using GX Works2 The status of a CC-Link system can be checked using a programming tool. Unlike link special relays (SBs) and link special registers (SWs), the system status can be checked on a graphical window; therefore, corrective action can be easily taken.

  • Page 314

    (1) Display contents of the "CC-Link Diagnostics" window Item Description Diagnostics Result Displays the number of errors and warnings that occur in the master/local module. Lists master/local modules. The number of errors and warnings is also displayed. Module The diagnostics target can be changed by clicking a module icon. list/diagnostics : Updates the list.

  • Page 315

    CHAPTER 11 TROUBLESHOOTING Item Description Displays the explanation of icons on the diagnostics window. ● Update of the number of errors/warnings in "Diagnostics Result" Only the number of errors/warnings that occur in the system of the module selected in the module list/diagnostics target selection area is updated during monitoring.

  • Page 316: Executing The Line Test/obtaining The Transmission Speed Setting

    11.4.2 Executing the line test/obtaining the transmission speed setting For how to execute the line test and obtain the transmission speed setting, refer to the following. • Line test ( Page 86, Section 6.5.1) • Obtaining the transmission speed setting ( Page 90, Section 6.5.2)

  • Page 317: Status Logging

    CHAPTER 11 TROUBLESHOOTING 11.4.3 Status logging Data link status of all stations is logged. If multiple stations repeatedly fail and recover or stations following a specific station do so, the location of the error cause, such as poor cable connection and noise, can be easily identified. With "RAM + Flash ROM"...

  • Page 318

    Set "Time of Logging Acquisition". Enter the period during which logging is executed. When 0 seconds is set, logging will be continued until the button is clicked or the number of logs reaches to 5000. Select either "RAM" or "RAM + Flash ROM" in "Log Storage Area in CC-Link Module". •...

  • Page 319

    CHAPTER 11 TROUBLESHOOTING (b) Saving logs in a CSV file and reading the saved logs To save the information displayed under "Log List" in a CSV file, click the button. To read the saved CSV log file and display the contents under "Log List", click the button.

  • Page 320: Creating A Check Sheet

    11.4.4 Creating a check sheet A check sheet, which is useful for performing troubleshooting, is created through a wizard and with reference to the Open Field Network CC-Link Troubleshooting Guide. (1) Operating procedure Open the "CC-Link Diagnostics" window. [Diagnostics] [CC-Link Diagnostics] Double-click "Create Check Sheet"...

  • Page 321

    CHAPTER 11 TROUBLESHOOTING (2) Example of a check sheet ® The following is an example of a check sheet when it is created on the personal computer where Microsoft Excel 2000 or later has been installed.

  • Page 322: Stopping And Restarting Data Link

    11.4.5 Stopping and restarting data link How to stop and restart data link of a master/local module is described below. During a debugging session, the master/local module does not receive data from other stations and does not send data of the host station. Open the "CC-Link Diagnostics"...

  • Page 323: Setting And Canceling A Temporary Error Invalid Station

    CHAPTER 11 TROUBLESHOOTING 11.4.6 Setting and canceling a temporary error invalid station Even if a data link error occurs in a slave station, the station is not detected as a faulty station in the master station and local station. This setting can be configured even during data link, unlike the error invalid station setting function. This function is used to exchange slave stations during data link for maintenance or for other purposes.

  • Page 324: Hardware Information

    11.4.7 Hardware information The operating status and setting status of the master/local module are displayed. (1) Operating procedure Open the "System Monitor" window. [Diagnostics] [System Monitor] Select a master/local module in the "System Monitor" window. Click the button. (2) Display contents (a) Product Information The function version and serial number of the module are displayed as shown below.

  • Page 325

    CHAPTER 11 TROUBLESHOOTING (b) H/W LED Information The following table lists data link status displayed under "H/W LED Information". Item Description 1: Operating normally 0: A hardware failure or a watchdog timer error has occurred. 1: A communication failure has occurred in all stations. ERR.

  • Page 326: Hardware Test

    11.5 Hardware Test A master/local module is individually tested to check whether it normally operates. (1) Performing the hardware test Connect the terminating resistor provided with the master/local module between the DA and DB terminals on the terminal block of the master/local module.

  • Page 327

    CHAPTER 11 TROUBLESHOOTING The hardware test starts. During the test, the MST LED on the master/local module is flashing. The test is completed in about 30 seconds. : ON : Flashing : OFF When the hardware test is completed, the MST LED on the master/local module turns off or on.

  • Page 328: Appendices

    APPENDICES Appendix 1 Description of I/O Signals This appendix describes on/off timing and conditions of I/O signals. (1) Module error: Xn0 This signal indicates whether the module is normal or faulty. OFF: Module normal ON: Module error Module error (Xn0) Module ready (XnF) (2) Host data link status: Xn1...

  • Page 329

    APPENDICES (4) Module ready: XnF This signal indicates whether the module is ready for operation. When the module becomes ready, this signal turns on. This signal turns off under either condition. • An error has been detected in the switch setting of the module. •...

  • Page 330: Appendix 2 Buffer Memory Areas

    Appendix 2 Buffer Memory Areas This appendix describes buffer memory areas. (1) Parameter information area This area stores parameter settings. Do not write data in this area. Doing so may cause an error. Address Item Description Hexadecimal Decimal  (Use prohibited) The number of slave stations (including a reserved station) connected to the master Total number of station is stored.

  • Page 331

    APPENDICES Address Item Description Hexadecimal Decimal (Use to 1F  24 to 31 prohibited) The setting status of the station type, the number of occupied stations, and expanded cyclic setting of the connected slave stations is stored. Default: 0101 (Ver.1-compatible remote I/O station, one station occupied, and station number 1) to 0140 (Ver.1-compatible remote I/O station, one station occupied, and station number...

  • Page 332

    Address Item Description Hexadecimal Decimal The station number of the remote I/O station where 16 points 16-point have been set in the remote I/O station points setting is remote I/O to D7 *1 *2 212 to 215 stored. station Default: 0 (Not set) setting Range: The bit corresponding to the station number turns on.

  • Page 333

    APPENDICES (2) Remote input (RX) and remote output (RY) This area is used when the remote net Ver.1 mode, remote net additional mode, or remote I/O net mode is selected. • In the remote net Ver.1 mode, data are stored in the remote input (RX) and remote output (RY). Page 47, Section 3.6.3 (3)) •...

  • Page 334

    (b) Remote output (RY) Buffer Buffer Buffer Buffer Buffer Station Station Station Station Station memory memory memory memory memory number number number number number address address address address address and 161 and 17B and 195 and 1AF and 1C9 (352 and 353) (378 and 379) (404 and 405) (430 and 431)

  • Page 335

    APPENDICES (3) Remote register (RWw) and remote register (RWr) This area is used when the remote net Ver.1 mode or remote net additional mode is selected. • In the remote net Ver.1 mode, data are stored in the remote register (RWr/RWw). ( Page 47, Section 3.6.3 (3)) •...

  • Page 336

    (b) Remote register (RWw) Buffer Buffer Buffer Buffer Buffer Station Station Station Station Station memory memory memory memory memory number number number number number address address address address address to 1E3 to 217 to 24B to 27F to 2B3 (480 to 483) (532 to 535) (584 to 587) (636 to 639)

  • Page 337

    APPENDICES (4) Slave station offset, size information In the remote net Ver.2 mode and remote net additional mode, the assignment of RX/RY/RWw/RWr for each station differs depending on the expanded cyclic setting and the remote I/O station points setting. (a) Offset This area stores the start buffer memory addresses of RX/RY/RWw/RWr assigned for each station.

  • Page 338

    When connecting the local station with the expanded cyclic setting and remote I/O stations with the remote I/O station points setting Local station (station No.1, the number of occupied stations: 2, expanded cyclic setting: octuple) Master station Remote I/O station Remote I/O station (station No.4, the number of (station No.3, the number of...

  • Page 339

    APPENDICES Buffer memory area Value Description 64 (40 Station No.1 RWr size 2 (number of occupied stations) × 32 (expanded cyclic setting) = 64 4C00 Station No.2 RWr offset Because the station occupies two stations, check the area in the station number 1. Station No.2 RWr size 0 (Default) Because the station occupies two stations, check the area in the station number 1.

  • Page 340

    (5) Link special relay (SB) This area stores bit (on/off) data indicating the data link status. Buffer memory addresses 5E0 to 5FF correspond to link special relays SB0000 to SB01FF. ( Page 343, Appendix 3.1) The following table lists the relationship between buffer memory addresses 5E0 to 5FF and link special relays SB0000 to SB01FF.

  • Page 341

    APPENDICES (6) Link special register (SW) This area stores word data indicating the data link status. Buffer memory addresses 600 to 7FF correspond to link special registers SW0000 to SW01FF. ( Page 351, Appendix 3.2) (7) Random access buffer This area stores data to be sent to other stations. The data are read and written by transient transmission. (8) Communication buffer This area stores sending/receiving data when transient transmission (communications using a communication buffer) is performed with a local station, standby master station, and intelligent device station.

  • Page 342

    (9) Automatic update buffer This area stores data automatically updated when transient transmission (communications using the automatic update buffer) is performed with an AJ65BT-R2(N). The automatic update buffer size of the AJ65BT-R2(N) is set using the network parameter. ( Page 102, Section 7.3.2 (2)) Communications using the automatic update buffer Master station AJ65BT-R2(N) (first station)

  • Page 343

    APPENDICES (10)Ver.2-compatible remote input (RX) and Ver.2-compatible remote output (RY) These areas are used when the remote net Ver.2 mode or remote net additional mode is selected. • In the remote net Ver.2 mode, data are stored in the remote input (RX) and remote output (RY) in all slave stations (including Ver.1-compatible slave stations).

  • Page 344

    (11)Ver.2-compatible remote register (RWw) and Ver.2-compatible remote register (RWr) These areas are used when the remote net Ver.2 mode or remote net additional mode is selected. • In the remote net Ver.2 mode, data are stored in the remote register (RWr/RWw) of all slave stations (including a Ver.1-compatible slave station).

  • Page 345: Appendix 3 Link Special Relays (sbs) And Link Special Registers (sws)

    APPENDICES Appendix 3 Link Special Relays (SBs) and Link Special Registers (SWs) Data link status is indicated by bit data (link special relays (SBs)) and word data (link special registers (SWs)). The link special relays (SBs) and link special registers (SWs) represent information stored in the buffer memory areas of a master/local module for smooth operation.

  • Page 346

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Master station Clear a master station duplication error. SB0007 duplication error OFF: Not instructed × × (5E0 , b7) canceling request ON: Instructed Execute a line test to the station specified by SW0008. SB0008 Line test request OFF: Not requested...

  • Page 347

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether Forced master switching (SB000C) can be Forced master SB0046 executed is stored. (Standby switching executable × × (5E4 , b6) OFF: Cannot be executed master status ON: Can be executed...

  • Page 348

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a forced master switching request has been Forced master SB005C accepted is stored. (Standby switching request × × (5E5 , b12) OFF: Not accepted master acknowledgement ON: Accepted...

  • Page 349

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether the parameters have been correctly set is stored. (For the SB006D Parameter setting OFF: Correct × × station (5E6 , b13) status ON: Setting incorrect (An error code is stored in number 0 SW0068.) only)

  • Page 350

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a temporary error invalid station has been set is stored. OFF: Not set ON: Set (The set station number is stored in SW007C to Temporary error SB0076 SW007F.)

  • Page 351

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether communications are being normally performed with a remote station, local station, intelligent device station, and standby master station is stored. OFF: All stations normal SB0080 Other station data link ON: A faulty station exists.

  • Page 352

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a transient transmission error has occurred in other stations is stored. OFF: No error ON: Error (SW0094 to SW0097) Other stations Even when the transient transmission is retried using a SB0094 transient transmission dedicated instruction, the error will be detected.

  • Page 353: Appendix 3.2 Link Special Registers (sws)

    APPENDICES Appendix 3.2 Link special registers (SWs) Data are stored in SW0000 to SW001F using a program, whereas data are automatically stored in SW0020 to SW01FF. Values in parentheses are buffer memory addresses. When a standby master station is used, refer to the respective columns under "Availability" in the table as explained below.

  • Page 354

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Set the number of retries of when dedicated instructions are used. Dedicated SW000B Default: 0 (No retry) instruction retry × (60B Range: 0 to 7 (time) count setting If a value outside the range is set, the number of times will be 7.

  • Page 355

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station The result of system configuration check when a station has been added to a system and the system has started using the automatic CC-Link Automatic CC- SW0052 startup is stored.

  • Page 356

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Mode setting status is stored. 0: Online (remote net mode) 1: Online (remote I/O net mode) SW0060 Mode setting 2: Offline (660 status 3: Line test 1 4: Line test 2 6: Hardware test The current host station number is stored.

  • Page 357

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether unique station numbers have been assigned for modules and whether parameter settings match with connected module status are stored. 0: Normal Values other than 0: SW0069 Loading status ×...

  • Page 358

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a station has been set as an error invalid station is stored. 0: A station other than an error invalid station SW0078 1: Error invalid station (678 SW0079 SW0078...

  • Page 359

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a watchdog timer error has occurred is stored. 0: No watchdog timer error SW0084 1: Watchdog timer error (684 SW0085 Other station SW0084 (685 watchdog timer SW0085...

  • Page 360

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether a transient transmission error has occurred in other stations is stored. 0: No transient transmission error SW0094 1: Transient transmission error (694 SW0095 SW0094 Other stations (695 SW0095...

  • Page 361

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Whether the connected module status matches with parameter settings is stored. A mismatch error will occur in the following cases. 1) The station types do not match. 2) The number of occupied stations do not match.

  • Page 362

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Remote device station initialization procedure SW0110 registration (710 execution individual information (target 1) Remote device station initialization procedure SW0111 registration (711 execution individual information (target 2) Remote device station The execution progress of the initialization procedure registration is...

  • Page 363

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Remote device station initialization procedure SW0115 registration (715 execution individual information (target 6) Remote device station initialization procedure SW0116 registration (716 execution individual information (target 7) Remote device station...

  • Page 364

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Remote device station initialization procedure SW011A registration (71A execution individual information (target 11) Remote device station initialization procedure SW011B registration (71B execution individual information (target 12) Remote device station The execution progress of the initialization procedure registration is...

  • Page 365

    APPENDICES Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station Remote device station The execution progress of the initialization procedure registration is initialization stored. procedure SW011F Upper bit: Next execution procedure number (Upon completion, FF registration ×...

  • Page 366

    Availability ( : Yes, ×: No) Number Name Description Online Offline Master Local station station The use prohibited status of the remote register is stored. SW0160 0: Usable (760 1: Use prohibited SW0161 (761 SW0160 Remote register use prohibited × ×...

  • Page 367

    APPENDICES The timing of when data in link special registers (SWs) are updated differs depending on the link special register number. The following table lists the update timing. Link special Link special Data update timing Data update timing register register SW0041 SW0071 Updated regardless of the SB status...

  • Page 368: Appendix 4 Data Link Processing Time

    Appendix 4 Data Link Processing Time This appendix describes data link processing time such as link scan time and transmission delay time. When all the stations in a CC-Link system are normally performing data link, the retry processing time (RT) and return processing time (F) that are included in the formulas are not required to be added.

  • Page 369

    APPENDICES Constant (The largest value in the results of 1) to 3) below. When B is 0, the result of 2) is ignored. When C is 0, the result of 3) is ignored. 800 + (A × 15) 900 + (B × 50) C ...

  • Page 370

    When the transmission speed is 10Mbps in the following system configuration (It is assumed that there is no faulty station, transient transmission, and retry in this example.) Station number 8 Master station Local station Station number 4 Station number 12 Station number 1 Station number 2 Intelligent device station...

  • Page 371

    APPENDICES (2) In the remote I/O net mode LS = BT{27 + (NI × 4.8) + (N × 30) + (ni × 4.8)} + ST + RT + F [µs] BT: Constant (transmission speed) Transmission 156kbps 625kbps 2.5Mbps 5Mbps 10Mbps speed 51.2 12.8...

  • Page 372

    When the transmission speed is 10Mbps in the following system configuration (It is assumed that there is no faulty station and retry in this example.) Master station Station number 1 Station number 2 Station number 3 Remote I/O station Remote I/O station Remote I/O station *1: The number of occupied stations: 1 BT = 0.8...

  • Page 373: Appendix 4.2 Transmission Delay Time

    APPENDICES Appendix 4.2 Transmission delay time This section describes transmission delay time (time until data is transmitted). (1) Master station ↔ remote I/O station (a) Master station (RX)  remote I/O station (input) This is the time between a signal input to a remote I/O station and the device of a CPU module turning on (off). [Formula] The letters in the table mean as follows.

  • Page 374

    (b) Master station (RY)  remote I/O station (output) This is the time between the device of a CPU module turning on (off) and the output of a remote I/O station turning on (off). [Formula] The letters in the table mean as follows. Master station sequence scan time Link scan time LS ...

  • Page 375

    APPENDICES (2) Master station ↔ remote device station (Ver.1-compatible slave station) (a) Master station (RX)  remote device station (RX) (RWr) This is the time between a signal input to a remote device station and the device of a CPU module turning on (off) or the time until the data in the device of a CPU module is changed.

  • Page 376

    (b) Master station (RY)  remote device station (RY) (RWr) This is the time between the device of a CPU module turning on (off) and the output of a remote device station turning on (off) or between data set in the device of a CPU module and the data in a remote device station changed.

  • Page 377

    APPENDICES (3) Master station ↔ remote device station (Ver.2-compatible slave station) (a) Master station (RX)  remote device station (RX) (RWr) This is the time between a signal input to a remote device station and the device of a CPU module turning on (off) or the time until the data in the device of a CPU module is changed.

  • Page 378

    (b) Master station (RY)  remote device station (RY) (RWr) This is the time between the device of a CPU module turning on (off) and the output of a remote device station turning on (off) or between data set in the device of a CPU module and the data in a remote device station changed.

  • Page 379

    APPENDICES (4) Master station ↔ local station (Ver.1-compatible slave station) (a) Master station (RX)  local station (RY), master station (RWr)  local station (RWw) This is the time between the device of the CPU module in a local station turning on (off) and the device of the CPU module in a master station turning on (off).

  • Page 380

    (b) Master station (RY)  local station (RX), master station (RWw)  local station (RWr) This is the time between the device of the CPU module in a master station turning on (off) and the device of the CPU module in a local station turning on (off). This is also the time between data set in the device of the CPU module in a master station and the data stored into the device of the CPU module in a local station.

  • Page 381

    APPENDICES (5) Master station ↔ local station (Ver.2-compatible slave station) (a) Master station (RX)  local station (RY), master station (RWr)  local station (RWw) This is the time between the device of the CPU module in a local station turning on (off) and the device of the CPU module in a master station turning on (off).

  • Page 382

    (b) Master station (RY)  local station (RX), master station (RWw)  local station (RWr) This is the time between the device of the CPU module in a master station turning on (off) and the device of the CPU module in a local station turning on (off). This is also the time between data set in the device of the CPU module in a master station and the data stored into the device of the CPU module in a local station.

  • Page 383: Appendix 4.3 Processing Time Of Dedicated Instructions

    APPENDICES Appendix 4.3 Processing time of dedicated instructions This section describes the processing time of dedicated instructions (time between an instruction issued and a response received). (1) Master station ↔ local station (a) Master station  local station The time between the master station issuing an instruction and it receiving a response from a local station is calculated as follows.

  • Page 384

    • G(P).RIWT instruction OT + LS × [BC + {(number of write points + 16) 72} × 1.13] + SL + (WT × RT × 1000) Processing time of QCPU dedicated instructions Basic model QCPU, Q02CPU: 1ms QCPU (excluding a Basic model QCPU and Q02CPU): 0.5ms Link scan time ( Page 366, Appendix 4.1) Constant...

  • Page 385

    APPENDICES (b) Local station  master station The time between a local station issuing an instruction and it receiving a response from the master station is calculated as follows. [Formula] <Maximum value> • G(P).RIRD instruction OT + LS × [BC + {(number of read points + 16)  72} ×...

  • Page 386

    • G(P).RIWT instruction OT + LS × [BC + {(number of write points + 16)  16} × 1.067] + SM + (WT × RT × 1000) Processing time of QCPU dedicated instructions Basic model QCPU, Q02CPU: 1ms QCPU (excluding a Basic model QCPU and Q02CPU): 0.5ms Link scan time ( Page 366, Appendix 4.1) Constant...

  • Page 387

    APPENDICES (2) Local station ↔ local station (a) Local station  local station The time between a local station issuing an instruction and it receiving a response from another local station is calculated as follows. [Formula] <Maximum value> • G(P).RIRD instruction OT + LS ×...

  • Page 388

    • G(P).RIWT instruction OT + LS × [BC + {(number of write points + 16)  16} × 1.067] + SL + (WT × RT × 1000) Processing time of QCPU dedicated instructions Basic model QCPU, Q02CPU: 1ms QCPU (excluding a Basic model QCPU and Q02CPU): 0.5ms Link scan time ( Page 366, Appendix 4.1) Constant...

  • Page 389

    APPENDICES (3) Master station ↔ intelligent device station (a) Master station  intelligent device station The time between the master station issuing an instruction and it receiving a response from an intelligent device station is calculated as follows. [Formula] <Maximum value> •...

  • Page 390

    • G(P).RIWT instruction OT + LS × [BC + {(number of write points + 16)  72} × 1.13] + (WT × RT × 1000) Processing time of QCPU dedicated instructions Basic model QCPU, Q02CPU: 1ms QCPU (excluding a Basic model QCPU and Q02CPU): 0.5ms Link scan time ( Page 366, Appendix 4.1) Constant...

  • Page 391: Link Refresh Time

    APPENDICES Appendix 4.4 Link refresh time This section describes link refresh time (extended time of the END process in the CPU module). (1) Master station/local station The link refresh time of a master station and local station are calculated as follows. (a) In the remote net Ver.1 mode and remote net Ver.2 mode [Formula] RX+RY+SB...

  • Page 392

    (Local station)  : The block guarantee of cyclic data per station function is not supported. Constant With block guarantee of Without block guarantee of CPU type cyclic data per station cyclic data per station  Q00JCPU 1.05  Q00CPU 0.86 ...

  • Page 393

    APPENDICES (When a master/local module is mounted on an extension base unit) KM3 (× 10 -3 ) Constant File registers File registers KM2 (× 10 -3 ) (R, ZR) on a (R, ZR) on a memory card memory card CPU type are used.

  • Page 394

    (b) Remote net additional mode [Formula] RX+RX2+RY+RY2+SB KM1+ KM2 +RWw+RWw2+RWr+RWr2+SW + (Number of CC-Link modules-1) KM4 [ms] RX+RX2+RY+RY2+SB +RWw+RWw2+RWr+RWr2+SW [ms] T: Link refresh time Number of remote input (RX) points refreshed in the master station/local station RX2: Number of Ver.2 remote input (RX) points refreshed in the master station/local station Number of remote output (RY) points refreshed in the master station/local station RY2: Number of Ver.2 remote output (RY) points refreshed in the master station/local station...

  • Page 395

    APPENDICES (Local station)*1 : The block guarantee of cyclic data per station function is not supported. Constant With block guarantee of Without block guarantee of CPU type cyclic data per station cyclic data per station  Q00JCPU 1.27  Q00CPU 1.04 ...

  • Page 396

    (When a master/local module is mounted on an extension base unit) KM3 (×10 -3 ) Constant File registers File registers KM2 (×10 -3 ) (R, ZR) on a (R, ZR) on a memory card memory card CPU type are used. are not used.

  • Page 397: Appendix 5 Difference From Traditional Modules

    APPENDICES Appendix 5 Difference from traditional modules This appendix lists differences from traditional master/local modules. Appendix 5.1 Precautions when replacing an A(1S)J61BT11/A(1S)J61QBT11 with a QJ61BT11N (1) Functions The following table lists the differences between an A(1S)J61BT11/A(1S)J61QBT11 and QJ61BT11N. Item A(1S)J61BT11 A(1S)J61QBT11 QJ61BT11N The parameters of the...

  • Page 398: Appendix 5.2 Precautions When Replacing A Qj61bt11 With A Qj61bt11n

    (2) Dedicated instructions (a) A(1S)J61BT11 The following dedicated instructions of an A(1S)J61BT11 cannot be used in a master/local module. Instruction Description RLPA Set the network parameter. RRPA Set the auto refresh parameter. (b) A(1S)J61QBT11 The following dedicated instructions of an A(1S)J61QBT11 cannot be used in a master/local module. Instruction Description CCL,CCLEND...

  • Page 399: Appendix 6 Upgrading The Functions Of A Master/local Module

    APPENDICES Appendix 6 Upgrading the Functions of a Master/Local Module Before using the functions of a master/local module, check if the master/local module, CPU module, and programming tool support the functions. (1) Available functions of CPU modules : Can be used, ×: Cannot be used QCPU QJ72LP25-25/ (excluding a...

  • Page 400

    QCPU QJ72LP25-25/ (excluding a Basic model QJ72LP25G/ Function Basic model QCPU QJ72LP25GE/ QCPU) QJ72BR15 Remote device station initialization procedure registration function Event issuance for the interrupt program × Automatic CC-Link startup Remote net mode Remote I/O net mode × Reserved station function Error invalid station setting function Synchronous mode ×...

  • Page 401

    APPENDICES (2) Availability of added functions of a CPU module, master/local module, and programming tool depending on the version ×: Not supported, -: Not subject to the version Applicable programming tool version First 5 digits of the serial No. Added function of a master/local module GX Works2 GX Developer...

  • Page 402

    Use a CPU module with the serial number listed below. CPU module First 5 digits of the serial No. Basic model QCPU 06112 or later High Performance model QCPU 05032 or later Process CPU (excluding a Q02PHCPU and Q06PHCPU) 07032 or later Use a CPU module with the serial number listed below.

  • Page 403: Appendix 7 When Using Gx Developer

    APPENDICES Appendix 7 When using GX Developer This appendix describes the operations of GX Developer, which are different from those of GX Works2. When GX Developer is used, read this appendix before operation. The operations that are not described in this appendix are the same as those of GX Works2. Appendix 7.1 Parameter settings GX Developer does not have the station information setting on the CC-Link configuration window.

  • Page 404: Appendix 7.3 Cc-link Diagnostics

    Appendix 7.3 CC-Link diagnostics The CC-Link diagnostics is operated in a different way from GX Works2. This appendix describes how to operate the CC-Link diagnostics on GX Developer. (1) Host station monitoring How to monitor the status of a host station is described below. Open the "CC-Link/CC-Link/LT Diagnostics"...

  • Page 405

    APPENDICES (2) Other stations monitoring How to monitor the status of a slave station is described below. Open the "CC-Link/CC-Link/LT Diagnostics" window. [Diagnostics] [CC-Link/CC-Link/LT Diagnostics] In "Module Setting", select "CC-Link". Then select a master/local module to be monitored in "Module No." or "I/O Address". Click the button.

  • Page 406

    (3) Line test Whether a CC-Link dedicated cable is properly connected and data link can be performed with slave stations can be checked. Open the "CC-Link/CC-Link/LT Diagnostics" window. [Diagnostics] [CC-Link/CC-Link/LT Diagnostics] In "Module Setting", select "CC-Link". Then select a master station to be monitored in "Module No."...

  • Page 407

    APPENDICES (6) Data link stop/restart How to stop and restart data link of a master/local module is described below. During a debugging session, the master/local module does not receive data from other stations and does not send data of the host station. Open the "CC-Link/CC-Link/LT Diagnostics"...

  • Page 408

    (7) Setting and canceling a temporary error invalid station Even if a data link error occurs in a slave station, the station is not detected as a faulty station in the master station and local station. This setting can be configured even during data link, unlike the error invalid station setting function.

  • Page 409: Appendix 8 Setting Sheet

    APPENDICES Appendix 8 Setting sheet This appendix provides sheets to be used when the parameters of CC-Link are set. Copy the sheets for use. Appendix 8.1 Assignment sheet (1) Remote I/O (RX/RY) assignment sheet For an example of using the assignment sheet, refer to Page 59, Section 4.1 or Page 228, CHAPTER 10. Master station/local CPU module Slave station...

  • Page 410

    (2) Remote register (RWr/RWw) assignment sheet For an example of using the assignment sheet, refer to Page 59, Section 4.1 or Page 228, CHAPTER 10. Master station/local CPU module Slave station station Remote register Device Buffer memory address Station No. Module name (RWr/RWw)

  • Page 411: Appendix 8.2 Network Parameter Setting Sheet

    APPENDICES Appendix 8.2 Network parameter setting sheet Item Setting range Setting value Start I/O No. 0000 to 0FE0 Data Link Faulty Station Hold or clear the input data. Hold/Clear Setting Default: Clear input data Refresh or clear compulsorily. Case of CPU STOP Setting Refresh/Clear compulsorily Default: Refresh Operation...

  • Page 412

    Item Setting range Setting value 1 to 7 Retry Count Default: 3 1 to 10 Automatic Reconnection Station Count Default: 1 Blank or 1 to 64 Standby Master Station No. (Blank: no standby master station specified) Default: Blank Stop/Continue PLC Down Select Stop/Continue Default: Stop Asynchronous/Synchronous...

  • Page 413: Appendix 8.3 Station Information Setting Sheet

    APPENDICES Appendix 8.3 Station information setting sheet Reserve/ Intelligent Buffer Select (Word) Expanded Number of Remote Station Station Invalid Cyclic Occupied Station Type Station Send Receive Automatic Setting Stations Points Select...

  • Page 414

    Reserve/ Intelligent Buffer Select (Word) Expanded Number of Remote Station Station Invalid Cyclic Occupied Station Type Station Send Receive Automatic Setting Stations Points Select...

  • Page 415: Appendix 9 Checking The Function Version And Serial Number

    APPENDICES Appendix 9 Checking the Function Version and Serial Number The serial number and function version of a master/local module can be checked on the rating plate, the front of the module, and the system monitor of a programming tool. (1) Checking the function version and serial number of a master/local module (a) On the rating plate The rating plate is located on the side of a master/local module.

  • Page 416

    (c) On the system monitor (Product Information List) In "System Monitor" of "Diagnostics" on a programming took, click the button. • Display of a production number Because a master/local module does not support a production number display, a hyphen (-) is displayed. The serial number on the rating plate and the front of the module may differ from that on the production information list window of a programming tool.

  • Page 417: Appendix 10 Cc-link Versions

    APPENDICES Appendix 10 CC-Link Versions There are Ver.1 and Ver.2 for CC-Link versions. (1) Ver.1.00 and Ver.1.10 Ver.1.10 is a standard where restrictions of station-to-station cable lengths in Ver.1.00 have been cleared and the length of all station-to-station cables is 20cm or longer. Ver.1.00 is a traditional standard. For the maximum overall cable distance of Ver.1.10, refer to Page 29, Section 3.2.2.

  • Page 418

    Memo...

  • Page 419: Appendix 11 External Dimension Diagram

    APPENDICES Appendix 11 External Dimension Diagram Unit: mm...

  • Page 420: Index

    INDEX Symbols ..... . . 105 ....... 13 # of STA Occupied Data link .

  • Page 421

    ..... . . 75 ..... . . 327 Handling precautions Module ready: XnF .

  • Page 422

    ..... . . 78 Solderless terminal ..... 100 Special Register(SW) .

  • Page 423

    ....13 Ver.1-compatible slave station ....99 Ver.2 Remote Input(RX) .

  • Page 424: Revisions

    REVISIONS *The manual number is given on the bottom left of the back cover. Print date *Manual number Revision May, 2003 SH (NA)-080394E-A First edition May, 2004 SH (NA)-080394E-B Addition Appendix 6 Partial correction SAFETY PRECAUTIONS, Section 2.2.1, Section 2.2.3, Section 2.2.4, Chapter 4, Section 4.1, Section 4.3.3, Section 4.4.14, Section 7.2.1, Section 8.2.2, Section 8.3.1, Section 8.3.2, Section 8.4.1, Section 8.4.2, Section 13.1, Section 13.3, Appendix 3 Dec., 2004...

  • Page 425

    Print date *Manual number Revision Nov., 2007 SH (NA)-080394E-H Partial correction Section 1.3, Section 2.2.1, Section 4.1, Section 4.2.3, Section 4.2.6, Section 4.4.1, Section 6.2, Section 6.3.2, Section 6.3.4, Section 6.4.2, Section 6.4.4, Section 6.5.2, Section 6.5.4, Section 6.6.2, Section 6.7, Section 7.3, Section 8.4.1, Section 8.4.2, Section 9.1.1, Section 10.1.1, Section 10.2.1, Section 10.3.1, Section 11.2.1, Section 11.3.1, Section 11.4.1, Appendix 1, Appendix 2.1, Appendix 2.2, Appendix 2.3, Appendix 2.4, Appendix 2.5, Appendix 2.6, Appendix 2.7, Appendix 2.8...

  • Page 426

    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 427: Warranty

    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 428

    Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. 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 '™' or '®' are not specified in this manual. SH(NA)-080394E-O...

  • Page 430

    SH (NA)-080394E-O(1802)MEE MODEL: QJ61BT11N-U-SY-E MODEL CODE: 13JR64 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: