• SAFETY PRECAUTIONS • (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product.
Page 3
[DESIGN PRECAUTION] DANGER • Do not write data into the "system area" of the buffer memory of intelligent function modules. Also, do not output the "prohibited to use" signal as the output signal to an intelligent function module from the PLC CPU. Writing data into the "system area"...
Page 4
[WIRING PRECAUTIONS] CAUTION • When turning on the power and operating the module after installing is completed, always attach the terminal cover that comes with the product. There is a risk of malfunction if the terminal cover is not attached. •...
Page 5
[STARTING AND MAINTENANCE PRECAUTIONS] CAUTION • Do not disassemble or modify each module. Doing so could cause failure, malfunction, injury or fire. • Switch all phases of the external power supply off when mounting or removing the module. Not doing so may cause failure or malfunction of the module. •...
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.
INTRODUCTION Thank you for purchasing the MELSEC-Q series PLC. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series PLC you have purchased, so as to ensure correct use.
Page 8
4.2.5 Parameter setting with GX Developer ..................... 4-22 4.2.6 Parameter setting with dedicated instruction .................. 4-23 4.3 Functions for Improving System Reliability .................... 4-25 4.3.1 Disconnecting data link faulty stations and continuing the data link with only normal stations (Slave station cut-off function)......................4-25 4.3.2 Automatically reconnecting a disconnected data link faulty station when it returns to normal (Automatic return function) ......................
Page 9
6 PARAMETER SETTINGS 6- 1 to 6-20 6.1 Procedure from Parameter Settings to Data Link Startup ..............6- 1 6.1.1 CPU parameter area and master module parameter memory............6- 1 6.1.2 Procedure from parameter settings to data link startup with GX Developer........6- 2 6.1.3 Procedure from parameter settings to data link startup with dedicated instruction .......
Page 10
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS 9- 1 to 9-10 9.1 Configuring a System..........................9- 1 9.1.1 Setting the master station ........................ 9- 2 9.1.2 Setting the remote I/O stations ......................9- 3 9.2 Setting the Master Station Parameters ....................9- 4 9.2.1 Setting the network parameters of the master station ..............
Page 11
12 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATIONS 12- 1 to 12- 2 13 TROUBLESHOOTING 13- 1 to 13-20 13.1 Verification upon Problem Occurrence ....................13- 1 13.2 Troubleshooting Procedures When the "ERR." LED of the Master Station is Flashing or When Normal Data cannot be Sent/Received During Data Link ............
Conformation to the EMC Directive and Low Voltage Instruction For details on making Mitsubishi PLC conform to the EMC directive and low voltage instruction when installing it in your product, please see Chapter 3, "EMC Directive and Low Voltage Instruction" of the User's Manual (Hardware) of the CPU module to use.
About the Generic Terms and Abbreviations This manual uses the following generic terms and abbreviations to describe the QJ61BT11 Control & Communication Link System Master/Local Module, unless otherwise specified. Description Generic Term/Abbreviation Abbreviation for QJ61BT11 Control & Communication Link System Master/Local QJ61BT11 Module Transmission method by which to periodically communicate the contents of remote...
Page 14
Generic Term/Abbreviation Description Remote register (Write area for CC-Link) Information output in 16-bit units from the master station to the remote device station. (Expressed as RWw for convenience) Remote register (Read area for CC-Link) Information entered in 16-bit units from the remote device station to the master station.
Product Components The components of the QJ61BT11 are listed below. Item name Quantity QJ61BT11 main unit Terminal resistor 110 Ω, 1/2 W (brown-brown-brown) (used when wiring with the CC-Link dedicated cable or Version 1.10 compatible CC-Link dedicated cable) Terminal resistor 130 Ω, 1/2 W (brown-orange-brown) (used when wiring with the CC-Link dedicated high performance cable) A - 14 A - 14...
This manual describes the specifications, parts names and settings of the QJ61BT11 Control & Communication Link System Master/Local Module (hereinafter referred to as the QJ61BT11) which is used with the MELSEC-Q series PLC CPUs. 1.1 Overview CC-Link is the abbreviation of the Control & Communication Link in this manual.
1 OVERVIEW MELSEC-Q 1.2 Features The features of the CC-Link are described below. (1) Remote I/O station communication The ON/OFF status of a switch or indicator lamp is communicated using the remote input RX and remote output RY (see Section 4.2.1). PLC CPU Master station Remote I/O station...
Page 18
1 OVERVIEW MELSEC-Q (3) Local station communication Communication between the master station and the local station uses two types of transmission methods: cyclic transmission and transient transmission (see Section 4.2.3). (a) Cyclic transmission Data communication between the PLC CPUs can be performed in N:N mode using bit data (remote input RX and remote output RY) and word data (remote registers RWw and RWr).
Page 19
1 OVERVIEW MELSEC-Q (4) Intelligent device station communication Communication between the master station and the intelligent device station uses two types of transmission methods: cyclic transmission and transient transmission (see Section 4.2.4). (a) Cyclic transmission Signals for handshaking with the intelligent device station (positioning start, positioning complete, etc.) are communicated using the remote input RX and remote output RY.
Page 20
1 OVERVIEW MELSEC-Q (5) Parameter setting by GX Developer or the dedicated instruction There are two parameter setting methods; the parameters can either be set by GX Developer or by using a dedicated instruction (see Sections 4.2.5 and 4.2.6). The following table lists the differences between the two setting methods. Changing the Program Number of...
Page 21
1 OVERVIEW MELSEC-Q (8) Data link status setting when the master station PLC CPU has an error The data-link status can be set to either "stop" or "continue" when an error causing the operation to stop such as "SP. UNIT ERROR" occurs in the PLC CPU at the master station.
Page 22
1 OVERVIEW MELSEC-Q Continued from the previous page Master station returns to normal and comes back online Master station prepares itself for standby master station system down Master station Standby master station Station number 0 Station number 0 Remote device station Intelligent device station Station number 2 Station number 4...
Page 23
1 OVERVIEW MELSEC-Q (11) Remote device station initialization procedure registration function This function performs the initial setting for the remote device station using the GX Developer, without creating a sequence program (see Section 4.4.1). (12) Event issuance for the interrupt program This function issues an event when the conditions set by the GX Developer are established in order to make the PLC CPU execute the interrupt program (see Section 4.4.2).
Page 24
1 OVERVIEW MELSEC-Q (16) Error invalid station setting function By setting the network parameters, the module that is powered off in the system configuration will not be treated as a "data link faulty station" by the master station and local station. However, caution is required since errors are no longer detected (see Section 4.4.7).
Page 25
1 OVERVIEW MELSEC-Q (21) Transient transmission With this method of transmission, the counterpart is specified and 1:1 communication is performed at an arbitrary timing (see Section 4.5). Local station Master station Master module PLC CPU RIWT Send buffer Buffer memory Device memory Master station Local station...
1 OVERVIEW MELSEC-Q 1.3 About Added/Changed Functions in Function Version B This section explains the functions that have been added to or changed in the QJ61BT11 of function version B. POINT Please refer to the relevant reference section in order to check the following item. How to check the function version and serial No.
2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION The system configuration for the CC-Link is described below. 2.1 System Configuration A total of 64 remote I/O stations, remote device stations, local stations, standby master stations, or intelligent device stations can be connected to a single master station. However, the following conditions must be satisfied: d)} ≤...
2 SYSTEM CONFIGURATION MELSEC-Q 2.2 Applicable System Applicable PLC CPUs and notes on the system configuration are described below. 2.2.1 Applicable modules and number of CPUs that can be mounted (1) Applicable modules and number of CPUs that can be mounted The CPU modules and network modules (for remote I/O station) to which the QJ61BT11 can be installed and number of modules that can be installed are listed in the table below.
Page 29
2 SYSTEM CONFIGURATION MELSEC-Q (2) Mountable base unit QJ61BT11 can be mounted on any of the base unit’s I/O slots ( 4). However, depending on combinations with other mounted modules and the number of mountings, there may be cases where the power capacity is insufficient. Be sure to consider the power capacity when mounting the module.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2.2 Notes on the system configuration The system should be designed with the following considerations to prevent mis-input from the remote I/O modules: (1) When powering on and off Start the data link after turning on the power to the remote I/O modules. Turn off the power to the remote I/O modules after stopping the data link.
Page 31
2 SYSTEM CONFIGURATION MELSEC-Q (b) Countermeasure for mis-input For the power supply module, the stabilized power supply and the input external supply power of AC input, wire the power cables from the same power source. PLC CPU Remote I/O module For DC input Module power supply Input external-...
2 SYSTEM CONFIGURATION MELSEC-Q 2.2.3 Equipment list Table 2.1 lists the equipment that configures the CC-Link. Table 2.1 Equipment list (1/4) Number of occupied Product name Model name Description Station type stations QJ61BT11 Master/local module for Q series A1SJ61BT11 Master/local module for AnS series Master/local For a local station, Master station or...
Page 33
2 SYSTEM CONFIGURATION MELSEC-Q Table 2.1 Equipment list (2/4) Number of occupied Product name Model name Description Station type stations 1-line DC input 32-point module (positive common/negative common shared) FCN connector type AJ65SBTCF1-32D 24 V DC, 5 mA, 32 pints/common 2, 3, 4-line DC input 16-point module (positive common/negative common shared) AJ65SBTC4-16D...
Page 34
2 SYSTEM CONFIGURATION MELSEC-Q Table 2.1 Equipment list (3/4) Number of occupied Product name Model name Description Station type stations 2-line relay output 8-point module AJ65SBTB2N-8R 24 V DC/240 V AC, 2 A/point, 4 A/common, 8 points/common 2-line relay output 16-point module AJ65SBTB2N-16R 24 V DC/240 V AC, 2 A/point, 8 A/common, 16 points/common 2-line triac output 8-point module...
Page 35
2 SYSTEM CONFIGURATION MELSEC-Q Table 2.1 Equipment list (4/4) Number of occupied Product name Model name Description Station type stations I/O module Input: 3-line DC input 4-point (positive common) 24 V DC. 7 mA, 8 points/common AJ65SBTB32-8DT Output: 2-line transistor output 4-point (sink) Compact type 24 V DC, 0.5 A/point, 8 points/common Remote I/O...
2 SYSTEM CONFIGURATION MELSEC-Q 2.2.4 How to check the function version and serial No. The following describes how to check the function version and serial No.. (1) How to check the function version and serial No. of the QJ61BT11 (a) Checking the "SERIAL column of the rating plate" on the module side Serial No.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2.6 About use of the QJ61BT11 with the Q00J/Q00/Q01CPU Here, use of the QJ61BT11 with the Q00J/Q00/Q01CPU is explained. (1) Number of QJ61BT11 that can be installed when the Q00J/Q00/Q01CPU is used See item 2.2.1 concerning the number of QJ61BT11 that can be installed when the Q00J/Q00/Q01CPU is used.
3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS This section describes the specifications of the QJ61BT11. For the general specifications of the QJ61BT11, refer to the user's manual for the CPU module to be used. 3.1 Performance Specifications Table 3.1 lists the performance specifications of the CC-Link. Table 3.1 Performance specifications Item Specification...
3 SPECIFICATIONS MELSEC-Q 3.1.1 Maximum overall cable distance (for Ver. 1.00) The relationship between the transmission speed and the maximum overall cable distance is described below: (1) For a system consisting of only remote I/O stations and remote device stations Remote I/O station Remote I/O station Remote I/O station...
Page 40
3 SPECIFICATIONS MELSEC-Q (Example) When the transmission rate is 10 Mbps, and 43 remote I/O stations and remote device stations are connected using the CC-Link dedicated high performance cable, because the cable connecting the second and third stations is "35 cm (13.78 in.)", the maximum overall cable distance will be "80 cm (31.5 in.)".
3 SPECIFICATIONS MELSEC-Q 3.1.2 Maximum overall cable distance (for Ver. 1.10) The relation of the transmission speed and maximum overall cable distance when configuring the entire system with Version 1.10 modules and cable is shown below. Local station or Local station or Remote I/O station Remote I/O station Master station...
3 SPECIFICATIONS MELSEC-Q 3.2 CC-Link Dedicated Cable Use the CC-Link dedicated cable for the CC-Link system. If a cable other than the CC- Link dedicated cable is used, the performance of the CC-Link system cannot be guaranteed. If you have any questions regarding the CC-Link dedicated cable, or if you wish to see its specifications, see the CC-Link Partner Association homepage http://www.cc- link.org/.
4 FUNCTIONS MELSEC-Q 4 FUNCTIONS This chapter explains the functions of QJ61BT11, dividing them into four sections: "Basic Functions", "Functions for Improving System Reliability", "Handy Functions" and "Transient Transmission Functions". 4.1 Function List (1) Table 4.1 lists the "basic functions". Table 4.1 List of the "basic functions"...
Page 44
4 FUNCTIONS MELSEC-Q (3) Table 4.3 lists the "handy functions". Table 4.3 List of the "handy functions" Item Description Reference section Remote device station initialization Performs initial setting of remote device station using GX Section 4.4.1 procedure registration function Developer. Issues events when the conditions set by GX Developer are Event issuance for the interrupt established and causes the PLC CPU to run an interrupt...
4 FUNCTIONS MELSEC-Q 4.2 Basic Functions This section explains the basic functions of the QJ61BT11. 4.2.1 Communication with the remote I/O stations Two types of communication modes are available for the CC-Link system: remote net mode and remote I/O net mode. (1) Remote net mode In this mode, it is possible to communicate with all stations (remote I/O station, remote device station, local station, intelligent device station, and standby master...
Page 46
4 FUNCTIONS MELSEC-Q [Remote input] 2) The input status of a remote I/O station is stored automatically (for each link scan) in the master station's "remote input RX" buffer memory. 3) The input status stored in the "remote input RX" buffer memory is stored in the CPU device set with the automatic refresh parameters.
4 FUNCTIONS MELSEC-Q 4.2.2 Communication with the remote device stations This section explains an overview of the communication between the master and the remote device stations. In the communication with remote device stations, the signals for handshaking with remote device stations (initial data request flag, error reset request flag, etc.) are communicated using remote input RX and remote output RX.
Page 48
4 FUNCTIONS MELSEC-Q [Data link startup] 1) When the PLC system is powered on, the network parameters in the PLC CPU are transferred to the master station, and the CC-Link system automatically starts up. [Remote input] 2) The remote input RX of a remote device station is stored automatically (for each link scan) in the master station's "remote input RX"...
Page 49
4 FUNCTIONS MELSEC-Q [Remote output] 4) The on/off data of the CPU device set with the automatic refresh parameters is stored in the "remote output RY" buffer memory. 5) Remote output RY is automatically set to on/off (for each link scan) according to the output status stored in the "remote output RY"...
Page 50
4 FUNCTIONS MELSEC-Q [Writing to the remote register RWw] 6) The transmission data of the CPU device set with the automatic refresh parameters is stored in the "remote register RWw" buffer memory. 7) The data stored in the "remote register RWw" buffer memory is automatically sent to the remote register RWw of each remote device station.
Page 51
4 FUNCTIONS MELSEC-Q [Reading from the remote register (RWr)] 8) The remote register RWr data of a remote device station is automatically stored in the "remote register Rwr" buffer memory of the master station. 9) The remote register RWr data of a remote device station stored in the "remote register RWr"...
4 FUNCTIONS MELSEC-Q 4.2.3 Communication with the local stations This section explains an overview of the communication between the master and local stations. (1) Communication between the master and local stations by cyclic transmission Data communication between PLC CPUs can be performed in N:N mode using remote input RX and remote output RY (bit data used in local station systems) as well as remote register RWw and remote register RWr (word data for writing and reading used in local station systems).
Page 53
4 FUNCTIONS MELSEC-Q [Data link startup] 1) When the PLC system is powered on, the network parameters in the PLC CPU are transferred to the master station and the CC-Link system starts up automatically. [On/off data from a local station to the master station or other local stations] 2) The on/off data of the CPU device set with the automatic refresh parameters is stored in the "remote output RY"...
Page 54
4 FUNCTIONS MELSEC-Q [On/off data from the master station to local stations] 6) The on/off data of the CPU device set with the automatic refresh parameters is stored in the "remote output RY" buffer memory of the master station. 7) The data in the "remote output RY" buffer memory is stored automatically (for each link scan) in the "remote input RX"...
Page 55
4 FUNCTIONS MELSEC-Q [Word data from the master station to all local stations] 9) The word data of the CPU device set with the automatic refresh parameters is stored in the "remote register RWw" buffer memory of the master station. The remote register RWw is used as word data for writing in local station systems.
Page 56
4 FUNCTIONS MELSEC-Q [Word data from a local station to the master and other local stations] 12) Word data set with the automatic refresh parameters is stored in the "remote register RWw" buffer memory of the local station. However, the data is stored only in the area corresponding to its own station number.
Page 57
4 FUNCTIONS MELSEC-Q (2) Communication between the master and local stations by transient transmission Transient transmission sends and receives data in 1 : 1 mode by specifying the opposite party at an arbitrary timing. [Writing data to the buffer memory in a local station using the RIWT instruction] 1) Data to be written to the buffer memory in a local station is stored in the send buffer in the master module.
4 FUNCTIONS MELSEC-Q 4.2.4 Communication with the intelligent device stations This section explains an overview of the communication between the master and intelligent device stations. (1) Communication between the master station and intelligent device stations by cyclic transmission Handshaking signals with intelligent device stations (positioning complete, positioning start.
Page 59
4 FUNCTIONS MELSEC-Q [Data link startup] 1) When the PLC system is powered on, the network parameters in the PLC CPU are transferred to the master station, and the CC-Link system automatically starts up. [Remote input] 2) The remote input RX of an intelligent device station is stored automatically (for each link scan) in the master station's "remote input RX"...
Page 60
4 FUNCTIONS MELSEC-Q [Remote output] 4) The on/off data of the CPU device set with the automatic refresh parameters is stored in the "remote output RY" buffer memory. 5) Remote output RY of the intelligent device station is automatically set to on/off (for each link scan) according to the output status stored in the "remote output RY"...
Page 61
4 FUNCTIONS MELSEC-Q [Writing to the remote register (RWw)] 6) The transmission data of the CPU device set with the automatic refresh parameters is stored in the "remote register RWw" buffer memory. 7) The data stored in the "remote register RWw" buffer memory is automatically sent to the remote register RWw of the intelligent device station.
Page 62
4 FUNCTIONS MELSEC-Q [Reading from the remote register (RWr)] 8) The remote register RWr data of the intelligent device station is automatically stored in the "remote register Rwr" buffer memory of the master station. 9) The remote register RWr data of the intelligent device station stored in the "remote register RWr"...
Page 63
4 FUNCTIONS MELSEC-Q (2) Communication between the master and intelligent device stations by transient transmission Transient transmission sends and receives data in 1 : 1 mode by specifying the opposite party at an arbitrary timing. [Writing data to the buffer memory in the intelligent device station using the RIWT instruction] 1) Data to be written to the buffer memory in an intelligent device station is stored in the send buffer in the master module.
4 FUNCTIONS MELSEC-Q 4.2.5 Parameter setting with GX Developer Using GX Developer makes the setting of the network parameters and automatic refresh parameters easier. The data link is automatically started if GX Developer is used to set the parameters. Using GX Developer to set the parameters has the following advantages: •...
4 FUNCTIONS MELSEC-Q 4.2.6 Parameter setting with dedicated instruction It is possible to use the RLPASET instruction to set the network parameters and start the data link. Using the RLPASET instruction to set the parameters has the following advantages: • It is possible to mount five or more QJ61BT11 modules (see Section 2.2.1 for details about the number of CPUs that can be mounted).
Page 66
4 FUNCTIONS MELSEC-Q It is necessary to set I/O assignments for modules whose network parameters are set by the RLPASET instruction. In addition, do not use GX Developer to set the network parameters and automatic refresh parameters for modules whose network parameters are set by the RLPASET instruction.
4 FUNCTIONS MELSEC-Q 4.3 Functions for Improving System Reliability This section explains the functions for improving the reliability of the CC-Link system. 4.3.1 Disconnecting data link faulty stations and continuing the data link with only normal stations (Slave station cut-off function) This function disconnects remote stations, local stations, intelligent device stations, and a standby master station that have become data link faulty due to power off, and continues the data link among normal remote stations, local stations, intelligent device...
4 FUNCTIONS MELSEC-Q 4.3.2 Automatically reconnecting a disconnected data link faulty station when it returns to normal (Automatic return function) This function allows remote stations, local stations, intelligent device stations, and a standby master station that have been disconnected from the data link due to power off to automatically reconnect to the data link when they return to the normal status.
4 FUNCTIONS MELSEC-Q 4.3.3 Continuing the data link when an error occurs in the master station PLC CPU (Data link status setting when the master station PLC CPU has an error) This function sets the data link status when the master station PLC CPU falls into an error that stop the operation.
4 FUNCTIONS MELSEC-Q 4.3.4 Retaining the device status of a data link faulty station (Setting the status of input data from a data link faulty station) This function sets the input (receiving) data from a data link faulty station. (1) Applicable input (receiving) data The following shows the applicable buffer memory areas.
4 FUNCTIONS MELSEC-Q 4.3.5 Continuing the data link even when the master station is faulty (Standby master function) This function enables the data link to continue working by switching to a standby master station (meaning a backup station for the master station) if a system down occurs in the master station due to a malfunction in the PLC CPU or power supply.
Page 72
4 FUNCTIONS MELSEC-Q Controlling: Controlling the data link of the CC-Link system Standby: Standing by in case the station controlling the data link of the CC-Link system becomes faulty. Standby master station Station number 1 Data link control by the master station Number of occupied stations: 1 Master station Intelligent device station...
Page 73
4 FUNCTIONS MELSEC-Q Continued from the previous page Problem occurs in the standby master station Data link control by the master station Master station Station number 1 Standby master station Remote device station Intelligent device station Station number 2 Station number 4 Number of occupied stations: 2 Number of occupied stations: 1 Controlling...
Page 74
4 FUNCTIONS MELSEC-Q (1) Overview of link data transmission when the standby master function is used The following shows an overview of link data transmission when the standby master function is used. (a) When the master station controls the data link 1) Master station output Standby master station (standby) Station number 1...
Page 75
4 FUNCTIONS MELSEC-Q (b) When the master station is faulty and the standby master station is controlling the data link 1) Standby master station output Standby master station (controlling) Station number 1 Master station Remote Remote Remote Remote Remote I/O station input RX output RY input RX...
Page 76
4 FUNCTIONS MELSEC-Q (c) When the master station has returned to system operation and the standby master station is controlling the data link 1) Standby master station output Master station (standby) Standby master station Station number 0 (controlling) Number of occupied stations: 1 Station number 0 Remote Remote...
Page 77
4 FUNCTIONS MELSEC-Q (d) When the standby master station becomes faulty and the master station controls the data link 1) Master station output Master station (controlling) Standby master station Station number 1 Remote Remote Remote Remote input RX output RY input RX output RY Remote I/O station...
Page 78
4 FUNCTIONS MELSEC-Q (2) Setting method Perform the setting using the GX Developer. (a) Setting the master station First, set "Type" in the network parameters. Master station that was down returns to system operation: Master station (Duplex function) Master station that was down does not return to system operation: Master station Next, set the "Standby master station No."...
Page 79
4 FUNCTIONS MELSEC-Q (3) Precautions on using the standby master function (a) Only one standby master station exists in a single data link system. (b) The total number of stations is 64, including the standby master station. The number of stations that can be occupied by the standby master station is one or four.
Page 80
4 FUNCTIONS MELSEC-Q (4) Link special relays/registers (SB and SW) relating to the standby master function The following explains the link special relays and registers relating to the standby master function. These are stored in the buffer memory. When the standby master station is controlling the data link, its applicability is basically identical to that of the master station.
Page 81
4 FUNCTIONS MELSEC-Q Table 4.5 List of link special relays relating to the standby master function (2/2) Applicability : Applicable, : Not applicable) Number Name Description Master Local station Offline station Indicates whether a forced master switching request SB005D Forced master switching acknowledgement is complete or not.
Page 82
4 FUNCTIONS MELSEC-Q (5) On/off timings of link special relays (SB) relating to the standby master function The following shows the on/off timings of the link special relays (SB) relating to the standby master function. SB70 (Master station information) SB7B (Host master/standby master operation status) SB5A (Master switching request acknowledgment)
Page 83
4 FUNCTIONS MELSEC-Q (6) Program example when the standby master function (master station duplex function) is used A program example is created under the following conditions when the standby master function (master station duplex function) is used. (a) System configuration Standby master station Station number 1 Number of occupied stations: 1...
Page 84
4 FUNCTIONS MELSEC-Q (d) Program example when standby master function (master station duplex function) is used Control start relay used when master station is operating....M10 Control start relay used when standby master station is operating..M11 Control start relay when the master station is operating Initial device set Control start relay when the station...
Page 85
4 FUNCTIONS MELSEC-Q 2) When the first five digits of the serial No. are earlier than 03082 SW80.0 confirms that the master station has returned to the system as station No. 1. Execute forced master switching more than 2 seconds after the master station has returned to the system.
4 FUNCTIONS MELSEC-Q 4.4 Handy Functions This section explains some handy functions of the QJ61BT11. 4.4.1 Simplifying the initialization procedure registration of remote device stations (Remote device station initialization procedure registration function) The initial settings of remote device stations, which in previous models were done using the sequence program, can now be performed using the GX Developer for registration to the PLC CPU.
Page 87
4 FUNCTIONS MELSEC-Q 2) Execute Flag Set whether or not to execute the specified initialization procedure. Setting range: Execute Only set (use as a memo when the execution conditions are the same as when the execution flag is set as "Execute", but the content of execution is different.) Default: Execute...
Page 88
4 FUNCTIONS MELSEC-Q 9) Details of execution "Write Data" Set the contents of the initial settings. Setting range: When RY is selected ON/OFF When RWw is selected 0 to 65535 (Decimal), 0 to FFFF (Hexadecimal) POINT (1) Because one step is performed per link scan, as the number of settings increases the processing time will extend beyond that specified in the sequence program.
4 FUNCTIONS MELSEC-Q 4.4.2 Performing high-speed processing (Event issuance for the interrupt program) This function issues events (signals to execute an interrupt program) according to factors such as the on/off status of specified RX, RY and SB devices and the match/mismatch status of specified RWr and SW device data, in order to allow the PLC CPU to execute the interrupt program.
Page 90
4 FUNCTIONS MELSEC-Q 5) Interrupt condition Set the conditions under which events are issued. Setting range: When RX, SB or RY is selected ON/OFF When RWr or SW is selected Equal/Unequal 6) Word device Set the conditions under which events are issued when RWw or SW is selected.
Page 91
4 FUNCTIONS MELSEC-Q 4) "Start SI No." on the intelli. unit side Set the smallest number for intelligent function module interrupt pointers specified in "Interrupt (SI) No." of the "Interrupt settings" in the Network parameters. Setting range: 0 to 15 (3) Simulation of the interrupt program When the event issuance conditions are established in the master station using the GX Developer, the interrupt program is executed even when the...
4 FUNCTIONS MELSEC-Q 4.4.3 Enabling the data link simply by powering on (Automatic CC-Link startup) By mounting the QJ61BT11 in the system configuration including the remote device station and intelligent device station as well as the remote I/O station, CC-Link startup and complete data refresh can be performed by just turning on the power, without creating a sequence program.
Page 93
4 FUNCTIONS MELSEC-Q Content of buffer memory size specification for intelligent device station Send buffer 64 words Receive buffer 64 words Automatic update buffer 128 words POINT (1) If an automatic CC-Link startup is performed on a system that includes a local station, the local station will occupy one station during operation.
4 FUNCTIONS MELSEC-Q 4.4.4 Communicating with intelligent device stations (Remote net mode) The remote net mode allows communication with all stations (remote I/O stations, remote device stations, local stations, intelligent device stations, and standby master stations). Furthermore, it allows not only cyclic transfer, but also transient transmission, which transfers data at an arbitrary timing, to intelligent and local stations.
4 FUNCTIONS MELSEC-Q 4.4.5 Speeding up the response from remote I/O stations (Remote I/O net mode) The remote I/O net mode can be used for a system consisting of only the master station and remote I/O stations. The remote I/O net mode allows cyclic transmission at high speed, thus shortening the link scan time.
4 FUNCTIONS MELSEC-Q 4.4.6 Creating a program that contains modules to be added in the future (Reserved station function) This function prevents remote stations, local stations, intelligent device stations, and a standby master station that are not actually connected (but to be connected in the future) from being treated as "data link faulty stations"...
4 FUNCTIONS MELSEC-Q 4.4.7 Powering off a station in operation without error detection (Error invalid station setting function) This function prevents remote stations, local stations, intelligent device stations, and a standby master station that are powered off in the system configuration from being treated as "data link faulty stations"...
4 FUNCTIONS MELSEC-Q 4.4.8 Synchronizing the link scan with the sequence scan (Scan synchronous function) This function selects whether or not the link scan should be synchronized with the sequence scan. For QJ61BT11 of the function version A, it can be used only at the remote net mode. (1) Synchronous mode Performs data linking using the scan that is synchronized with the sequence program.
Page 99
4 FUNCTIONS MELSEC-Q (4) Data flows in synchronous and asynchronous modes The data flows in both the synchronous and asynchronous modes are explained using examples of communications between the master station and remote I/O stations. (a) Data flow in the asynchronous mode PLC CPU (Sequence scan) Master station buffer memory...
Page 100
4 FUNCTIONS MELSEC-Q (b) Data flow in the synchronous mode 1) Sequence scan > Link scan PLC CPU (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 101
4 FUNCTIONS MELSEC-Q 2) Sequence scan < Link scan PLC CPU (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)
4 FUNCTIONS MELSEC-Q 4.4.9 Replacing modules without error detection (Temporary error invalid station setting function) This function prevents remote stations, local stations, intelligent device stations, and the standby master station that are specified with the GX Developer from being treated as "data link faulty stations"...
4 FUNCTIONS MELSEC-Q 4.4.10 Checking operations for each local station (Data link stop/restart) This function stops and restarts local data links. If the data link of the master station is stopped, the data link of the entire system stops. [Setting method] Set the "CC-Link diagnostics"...
4 FUNCTIONS MELSEC-Q 4.4.11 Station number overlap checking function This function investigates the status of connected stations and checks for the overlapping numbers of occupied stations and whether or not more than one station whose station number setting is 0 exists in the system. (1) Occupied station number overlap checking Checks whether or not occupied station numbers duplicate.
4 FUNCTIONS MELSEC-Q 4.4.12 Multiple PLC System Support This function allows monitoring and reading/writing programs from/to any CPU in a multiple PLC system mounted with the QJ61BT11 via AJ65BT-G4-S3 or other station CPUs. This is illustrated by the following example. It is possible to monitor CPU4 of the local station from peripheral device A connected to the AJ65BT-G4-S3 and read the programs of CPU2 of the master station from peripheral device B connected to CPU3 of the local station.
4 FUNCTIONS MELSEC-Q 4.5 Transient Transmission Functions This section explains the transient transmission functions. 4.5.1 Performing transient transmission (Dedicated instructions) The following dedicated instructions can be used for transient transmission. Reference Applicable station Instruction Description section Reads data from the buffer memory of a specified Appendix RIRD station or a PLC CPU device of a specified...
5 DATA LINK PROCESSING TIME MELSEC-Q 5 DATA LINK PROCESSING TIME This chapter explains the data link processing time such as the link scan time and transmission delay time. 5.1 Link Scan Time This section explains the CC-Link scan time. The following describes the method for calculating the normal value and maximum value for the remote net mode or remote I/O net mode.
Page 109
5 DATA LINK PROCESSING TIME MELSEC-Q TR: Transient processing time (only when a transient request is made) When there is a transient request from the master station When there is a transient request from the local station 40.8 number of transient transmission stations (Example) Using the following system configuration when the transmission rate is 10 Mbps (assuming that there is no faulty station or transient transmission.)
Page 110
5 DATA LINK PROCESSING TIME MELSEC-Q (2) For remote I/O net mode LS = BT {27 + (NI 4.8) + (N 30) + (ni 4.8)} + ST + F [µ s] BT: Constant (transmission rate) Transmission rate 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps 51.2 12.8...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.2 Transmission Delay Time This section explains the transmission delay time (the time until data is transmitted). 5.2.1 Master station remote I/O station (1) Master station (RX) remote I/O station (input) This indicates the time from the moment the signal is input to the remote I/O station until the CPU device turns ON (OFF).
Page 112
5 DATA LINK PROCESSING TIME MELSEC-Q (b) Synchronous mode 2 + Remote I/O station response time [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) (LS/SM) value when fractions following the decimal point are rounded up to the next whole number (Example) When the sequence scan time for the master station is 20 ms, the link scan time is 3 ms and the remote I/O station response time is 1.5 ms.
5 DATA LINK PROCESSING TIME MELSEC-Q [Maximum value] (a) Asynchronous mode SM + LS 2 + Remote I/O station response time [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) (Example) When the sequence scan time for the master station is 20 ms, the link scan time is 3 ms and the remote I/O station response time is 1.5 ms.
Page 114
5 DATA LINK PROCESSING TIME MELSEC-Q (Example) When the sequence scan time for the master station is 20 ms, the link scan time is 3 ms and the remote device station processing time is 1.5 ms. 1 + Remote device station processing time [ms] = (20 1 + 1.5 = 21.5 [ms]...
Page 115
5 DATA LINK PROCESSING TIME MELSEC-Q (b) Synchronous mode n + LS + Remote device station processing time [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) (LS/SM)value when fractions following the decimal point are rounded up to the next whole number (Example) When the sequence scan time for the master station is 20 ms, the link scan time is 3 ms and the remote device station processing time is 1.5 ms.
Page 116
5 DATA LINK PROCESSING TIME MELSEC-Q (3) Master station (RWr) remote device station (RWr) This indicates the time from the moment the signal is input to the remote device station until the data for the CPU device is changed. [Expression] [Normal value] (a) Asynchronous mode SM + LS...
Page 117
5 DATA LINK PROCESSING TIME MELSEC-Q (4) Master station (RWw) remote device station (RWw) This indicates the time from the moment data is set to the CPU device until the data for the remote device station is changed. [Expression] [Normal value] (a) Asynchronous mode SM + LS 1 + Remote device station processing time [ms]...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.2.3 Master station local station (1) Master station (RX) local station (RY) This indicates the time from the moment the local station CPU device turns ON (OFF) until the master station CPU device turns ON (OFF). [Expression] [Normal value] (a) Asynchronous mode...
Page 119
5 DATA LINK PROCESSING TIME MELSEC-Q (b) Synchronous mode 3 + SL [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) SL: Local station sequence program scan time (LS/SM)value when fractions following the decimal point are rounded up to the next whole number (Example) When the master station sequence scan time is 20 ms, the link scan time is 3 ms and the local station sequence scan time is 10 ms.
Page 120
5 DATA LINK PROCESSING TIME MELSEC-Q [Maximum value] (a) Asynchronous mode SM + LS 2 + SL [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) SL: Local station sequence program scan time (Example) When the master station sequence scan time is 20 ms, the link scan time is 3 ms and the local station sequence scan time is 10 ms.
Page 121
5 DATA LINK PROCESSING TIME MELSEC-Q (b) Synchronous mode 2 + SL [ms] SM: Master station sequence program scan time SL: Local station sequence program scan time LS: Link scan time (see Section 5.1) (LS/SM)value when fractions following the decimal point are rounded up to the next whole number (Example) When the master station sequence scan time is 20 ms, the link scan time is 3 ms and the local station sequence scan time is 10 ms.
Page 122
5 DATA LINK PROCESSING TIME MELSEC-Q (4) Master station (RWw) → local station (RWr) This indicates the time from the moment data is set to the master station CPU device until the data is stored in the local station CPU device. [Expression] [Normal value] (a) Asynchronous mode...
5 DATA LINK PROCESSING TIME MELSEC-Q (b) Synchronous mode n + LS 2 + SL [ms] SM: Master station sequence program scan time LS: Link scan time (see Section 5.1) SL: Local station sequence program scan time (LS/SM)value when fractions following the decimal point are rounded up to the next whole number (Example) When the master station sequence scan time is 20 ms, the link scan time is 3 ms and the local station sequence scan time is 10 ms.
5 DATA LINK PROCESSING TIME MELSEC-Q 5.3 Processing Time for Dedicated Instructions This indicates the dedicated instruction processing time (the time from the moment an instruction is issued until a response is received). 5.3.1 Master station local station (1) Master station local station This indicates the time from the moment an instruction is issued by the master station until a response from the local station is received.
Page 125
5 DATA LINK PROCESSING TIME MELSEC-Q (Example) When the PLC CPU type is Q06HCPU, the transmission rate is 10 Mbps, the link scan time is 5 ms and the write points are 20 words (buffer memory in the CC-Link). OT + LS [BC + {(write points + 16)/72} 1.13] [ms] = 0.5 + 5...
Page 126
5 DATA LINK PROCESSING TIME MELSEC-Q (Example) When the PLC CPU type is Q06HCPU, the transmission rate is 10 Mbps, the link scan time is 5ms and the write points are 20 words (buffer memory in the CC-Lnik). OT + LS [BC + {(write points + 16)/16} 1.067] [ms] = 0.5 + 5...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.3.2 Local station local station (1) Local station local station This indicates the time from the moment an instruction is executed by one local station until a response from another local station is received. [Expression] [Maximum value] (a) RIRD instruction...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.3.3 Master station intelligent device station (1) Master station intelligent device station This indicates the time from the moment an instruction is issued by the master station and a response from an intelligent device station is received. [Expression] [Maximum value] (a) RIRD instruction...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.4 Link Refresh Time This section indicates link refresh time (increase of END processing time at the PLC CPU). 5.4.1 Master station/local station This section indicates the link refresh time of the master/local station. [Expression] KM1 + KM2 [{RX + RY + SB + (RWw...
Page 130
5 DATA LINK PROCESSING TIME MELSEC-Q KM2, KM3 : Constant 1) When QJ61BT11 is mounted on main base unit Constant ( 10 ( 10 CPU type Q00JCPU 0.91 – Q00CPU 0.83 – Q01CPU 0.79 – Q02CPU 0.48 0.32 Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU, Q12PHCPU, Q25PHCPU 0.43 0.14 2) When QJ61BT11 is mounted on extension base unit...
5 DATA LINK PROCESSING TIME MELSEC-Q 5.5 Station Status at Error Occurrence This section explains the status of each station at error occurrence. 5.5.1 Status of the master station, standby master station (when the master station is operating) and remote I/O station at error occurrence Table 5.1 lists the operation of the master station, standby master station (when the master station is operating) and remote I/O station upon the occurrence of an error.
5 DATA LINK PROCESSING TIME MELSEC-Q 5.5.2 Status of the remote device station, local station, standby master station (when the local station is operating) and intelligent device station at error occurrence Table 5.2 lists the status of the remote device station, local station, standby master station (when the local station is operating) and intelligent device station at error occurrence.
6 PARAMETER SETTINGS MELSEC-Q 6 PARAMETER SETTINGS This chapter explains the parameter settings that are required to perform data link with the CC-Link. 6.1 Procedure from Parameter Settings to Data Link Startup The following explains the procedure from setting the parameters to starting the data link.
6 PARAMETER SETTINGS MELSEC-Q 6.1.2 Procedure from parameter settings to data link startup with GX Developer Follow the procedure below from parameter settings to data link startup: GX Developer PLC CPU QJ61BT11 master station The GX Developer is used CC-Link system to create the network Parameter memory parameter area...
6 PARAMETER SETTINGS MELSEC-Q 6.2 Parameter Setting Items Table 6.1 lists the items to be stored in the master station parameter memory. Table 6.1 Parameter setting items (1/2) Setting item Description Reference section Sets the total number of remote stations, local stations, intelligent device stations and standby master station that are connected to the master station Number of connected (including reserved stations).
Page 136
6 PARAMETER SETTINGS MELSEC-Q Table 6.1 Parameter setting items (2/2) Setting item Description Reference section Sets the type of the connected remote station, local station, intelligent device station and standby master station. Default value : Remote I/O station, occupies 1 station, station number 1 to Remote I/O station, occupies 1 station, station number 64 Station information...
6 PARAMETER SETTINGS MELSEC-Q 6.3 Example of Parameter Settings with GX Developer This section explains the parameter settings using the GX Developer. For more details on the GX Developer operation, refer to the GX Developer Operating Manual. The explanations in this section are based on the following example of the system configuration.
Page 138
6 PARAMETER SETTINGS MELSEC-Q (c) Set the Parameter name using "Operational settings." (Even if the Parameter name is not set, this will not affect the operation of the CC-Link system). Default value : None Setting range: 8 characters or less Example) Set "CC-LinkM".
Page 139
6 PARAMETER SETTINGS MELSEC-Q (g) Set the total number of connected stations in the CC-Link system including reserved stations using "All connect count". Default value : 64 (modules) Setting range: 1 to 64 (modules) Example) Set to 5 (modules). (h) Set the number of retries using "Retry count", when a communication error occurs.
Page 140
6 PARAMETER SETTINGS MELSEC-Q (n) Set the station data using "Station information settings". Default value : Remote I/O station, Exclusive station 1, or no setting for reserved stations/error invalid. Setting range: Station type - No setting Remote I/O station Remote device station Intelligent device station (including local station and standby master station)
Page 141
6 PARAMETER SETTINGS MELSEC-Q (3) The following shows the results of the communication buffer and automatic update buffer assignments. 1000 2000 First module (station number 4) First module (station number 4) Intelligent device station Intelligent device station Send buffer Automatic update buffer 103F 207F 1040...
6 PARAMETER SETTINGS MELSEC-Q 6.3.2 Master station automatic refresh parameter settings (1) The following shows an example of the parameter settings. See (2) for actual settings. (2) Set the automatic refresh parameters using the following procedure. (a) Set the remote input (RX) refresh device using "Remote input (RX)". Default value : None Setting range: Device name - Select from X, M, L, B, D, W, R or Device number - Within the range of the device...
Page 143
6 PARAMETER SETTINGS MELSEC-Q (d) Set the remote register (RWw) refresh device using "Remote register (RWw)". Default value : None Setting range: Device name - Select from M, L, B, T, C, ST, D, W, R, or ZR. Device number - Within the range of the device points that the CPU has.
6 PARAMETER SETTINGS MELSEC-Q 6.3.3 Local station network parameter settings (1) The following describes an example of the parameter settings. See (2) for actual settings. (2) Set the network parameters using the following procedure. (a) Set the "No. of boards in" for which the network parameters are to be set. Default value : None Setting range: 0 to 4 (modules) Example) Set 1 (module).
Page 145
6 PARAMETER SETTINGS MELSEC-Q (d) Set the input status for the data link error station using "Operational settings". Default value : Clear ("Hold input data" not checked) Setting range: Hold ("Hold input data" checked) Clear ("Hold input data" not checked) Example) Set to Clear ("Hold input data"...
6 PARAMETER SETTINGS MELSEC-Q 6.3.4 Local station automatic refresh parameter settings (1) The following describes an example of the parameter settings. See (2) for actual settings. (2) Set the automatic refresh parameters using the following procedure. (a) Set the remote input (RX) refresh device using "Remote input (RX)". Default value : None Setting range: Device name - Select from X, M, L, B, D, W, R or Device number - Within the range of the device...
Page 147
6 PARAMETER SETTINGS MELSEC-Q (d) Set the remote register (RWw) refresh device using "Remote register (RWw)". Default value : None Setting range: Device name - Select from M, L, B, T, C, ST, D, W, R, or ZR. Device number - Within the range of the device points that the CPU has.
6 PARAMETER SETTINGS MELSEC-Q 6.4 Example of Parameter Setting with Dedicated Instruction This section explains the parameter setting with the RLPASET instruction. For more details on the GX Developer operation, refer to the GX Developer Operational Manual. The explanations in this section are based on the following example of the system configuration.
Page 149
6 PARAMETER SETTINGS MELSEC-Q (b) Intelligent function module switch setting Click the Switch Setting button in the I/O assignment setting screen to display the screen shown to the left. Set the input format to hexadecimal and enter 0100 for switch 4. If switch 4 has not been set or a value other than 0100 is entered, the RLPASET instruction completes with an error.
Page 150
6 PARAMETER SETTINGS MELSEC-Q (2) Program example Refresh of SB/SW SB0040 to SB01FF are read to SB0040 to SB01FF. SW0040 to SW01FF are read to SW0040 to SW01FF. Parameter setting Instruct to set parameters. RLPASET instruction · Control data Clear complete status. All setting data: Valid Number of connected modules involved in communication: 3...
Page 151
6 PARAMETER SETTINGS MELSEC-Q Turn the data link stop instruction off. Instruct to stop refreshing. Instruct to change parameters. RLPASET instruction · Control data Clear complete status. Slave station setting data/send, receive and automatic refresh buffer assignment data: Valid Number of connected modules involved in communication: 3 Number of retries: 3 times Number of automatic return...
Page 152
6 PARAMETER SETTINGS MELSEC-Q Refresh of RWw D2000 to D2003 are wrritten into RWw0 to RWw3 Refresh of SB/SW SB0000 to SB003F are written into SB0000 to SB003F SW0000 to SW003F are written into SW0000 to SW003F 6 - 20 6 - 20...
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7 PROCEDURE BEFORE STARTING THE DATA LINK This chapter explains the procedure from the module installation to the data link startup. 7.1 Procedure Before Starting the Data Link The following describes the procedure from the module installation to the CC-Link data link startup.
Page 154
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q From the previous page From the previous page Register the parameters to the PLC CPU Register PLC parameter/program to the PLC CPU Set the PLC CPU RESET switch from "RESET" to Set the PLC CPU RESET switch from "RESET" to "Middle position"...
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.2 Installation The following section explains the precautions when handling the master and local modules, from the time they are unpacked until they are installed. For more details on the module installation, see the user's manual for the PLC CPU used.
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.3 Part Identification Nomenclature and Settings The following section describes the parts names of the master and local modules, and the contents of the LED display and switch settings. QJ61BT11 L RUN S MST ERR.
Page 157
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q Number Name Description LED display Verify the data link status with the LED ON/OFF. LED name Description On : When the module is operating normally Off : When a watchdog timer error occurs On: All stations have a communication error Also lights up when the following errors occur.
Page 158
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q Number Name Description Transmission rate/mode setting Set the transmission rate and operating conditions for the module switch (settings at time of shipment: 0) Number Transmission rate settings Mode Transmission rate 156 kbps Transmission rate 625 kbps Online Transmission rate 2.5 Mbps...
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.4 Checking the Module Status (Hardware Test) The hardware test checks whether or not each module works properly by itself. Always perform this hardware test before configuring the system and for each module by itself without connecting the cable.
Page 160
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q From the previous page The test result is displayed using the "LED" indicator lamps of the master/local module and the CPU module. [When normal] The CPU "ERR." LED flashes (to check the operation of the watchdog timer). [When abnormal] The "MST"...
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.5 Connecting the Modules Using the CC-Link Dedicated Cables This section explains how to connect the master module, local modules, standby master module, remote modules and intelligent device modules with the CC-Link dedicated cables.
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.5.1 Wiring check The following explains how to check the wiring status between the remote I/O and external devices. [Example of wiring check] Specify the "Remote input (RX)" for the master station to "X1000" and the "Remote output (RY)"...
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.6 T-Branch Connection with the CC-Link Dedicated Cable This section explains how to perform a T-branch connection using the CC-Link dedicated cable. 7.6.1 T-Branch system configuration The following shows a system configuration using T-branch connection. T-branch terminal block/connector (Main line)
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.6.2 T-Branch communication specifications list The following describes the communication specifications for T branch connection. For communication specifications not listed below, see Section 3.1. Item Specification Remarks Transmission rate 625 kbps 156 kbps 10 M/5 M/2.5 Mbps are not allowed.
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.7 Switch Settings This section explains how to set the module switches. 7.7.1 Station number setting The following explains how to set the station numbers for the master station, local station, standby master station, remote station and intelligent device station. For details on the station number setting switches, see Section 7.3.
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.7.2 Transmission rate and mode settings Transmission rate and mode settings are specified with the "transmission rate/mode setting switch". For details on the transmission rate/mode setting switch, see Section 7.3. The transmission rate that can be set varies depending on the total distance. For more details, see Section 3.1.1.
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q 7.8 Checking the Connection Status (Line Test) After connecting all of the modules with CC-Link dedicated cables, verify that they are correctly connected and that data linking can be performed with remote stations, local stations, intelligent device stations and the standby master station.
Page 168
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q From the previous page The test result is displayed using the "LED" indicator lamps of the master module. [When test is complete] The "L RUN" LED lights up. The "MST" LED flashes. The test results are stored in SW00B4 to B7 (line test 1 result).
Page 169
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q (2) Checking the status of communication with a specific remote station/local station/intelligent device station/standby master station (line test 2) Line test 2 checks whether data linking can be performed normally with a specific remote station, local station, intelligent device station or standby master station.
Page 170
7 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC-Q From the previous page The test result is displayed using the "LED" indicator lamps of the master module. [At normal completion of test] The "L RUN" LED lights up. [At abnormal completion of test] The "MST"...
8 PROGRAMMING MELSEC-Q 8 PROGRAMMING This chapter explains common items relating to programming. 8.1 Precautions on Programming The following explains precautions on the creation of a program: Create a program that allows the detection of data-link status and interlocking with the remote I/O stations, remote device stations, local stations, intelligent device stations, and standby master station.
8 PROGRAMMING MELSEC-Q 8.2 I/O Signals for the PLC CPU This section explains the input/output signals for the PLC CPU of the master/local module. 8.2.1 I/O Signal list Table 8.1 shows a list of the I/O signals. The "n" in the table indicates the master/local module's first I/O number, which is determined by both the installation position and the module installed before the master/local module.
Page 173
8 PROGRAMMING MELSEC-Q IMPORTANT The use-prohibited output signals shown in Table 8.1 are accessed by the system and cannot be accessed by the user. In the event these signals are used (turned on/off) by the user, normal operations cannot be guaranteed. POINT In the A/QnA series, data link startup was performed by setting the "Yn6 (Data Link Startup Request initiated by a buffer memory parameter)"...
8 PROGRAMMING MELSEC-Q 8.2.2 Details of the I/O signals The following explains the on/off timings and conditions of the I/O signals shown in Table 8.1: (1) Module error: Xn0 This signal indicates whether the module is normal or faulty. OFF: Module normal ON : Module error Module error (Xn0)
8 PROGRAMMING MELSEC-Q 8.3 Buffer Memory The buffer memory transfers data between the master/local module and the PLC CPU. The reading and writing of data are performed by parameter settings or with dedicated instructions using the GX Developer. The contents of the buffer memory return to the default when the power is turned OFF or the PLC CPU is reset.
Page 176
8 PROGRAMMING MELSEC-Q Table 8.2 Buffer memory list (2/2) Address Availability Read/write Reference Item Description Master Local possibility section Hexadecimal Decimal station station For the master station: Stores the receive data from the remote Remote register (RWr) device/local/intelligent — Master station: Section For receiving device/standby master...
8 PROGRAMMING MELSEC-Q 8.3.2 Buffer memory details The following explains the details of items shown in Table 8.2, "Buffer Memory List" in Section 8.3.1. (1) Remote input (RX) and remote output (RY) (a) Master station remote I/O station/remote device station/local station 1) Master station The input status from the remote I/O station, remote device station (RX) and local station (RY) is stored.
Page 178
8 PROGRAMMING MELSEC-Q The following tables show the station numbers and corresponding buffer-memory addresses. [Master station] Table of station numbers and corresponding buffer memory addresses Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory number address number...
Page 179
8 PROGRAMMING MELSEC-Q (b) Master station remote I/O station/remote device station/local station 1) Master station The output status to the remote I/O station, remote device station (RY) and all local stations (RX) is stored. Two words are used per station. 2) Local station The data received from the remote I/O station, remote device station (RY) and master station (RY) is stored.
Page 180
8 PROGRAMMING MELSEC-Q The following tables show the station numbers and corresponding buffer memory addresses. [Master station] Table of station numbers and corresponding buffer memory addresses Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory number address number...
Page 181
8 PROGRAMMING MELSEC-Q (2) Remote registers (RWw) and (RWr) (a) Master station (RWw) remote device station (RWw)/local station (RWr) 1) Master station The data to be sent to the remote register (RWw) of the remote device station and the remote registers (RWr) of all local stations are stored. Four words are used per station.
Page 182
8 PROGRAMMING MELSEC-Q (b) Master station (RWr) ← remote device station (RWr)/local station (RWw) 1) Master station The send data from the remote register (RWr) of the remote device station and the remote register (RWw) of the local station is stored. Four words are used per station.
Page 183
8 PROGRAMMING MELSEC-Q The following tables show the station numbers and corresponding buffer memory addresses. [Master station] Table of station numbers and corresponding buffer memory addresses Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory number address number...
Page 184
8 PROGRAMMING MELSEC-Q (3) Link special relays (SB) The link special relays store the data link status using bit ON/OFF data. Buffer memory addresses 5E0 to 5FF correspond to link special relays SB0000 to SB01FF. For details on the link special relays (SB0000 to SB01FF), see Section 8.4.1. The following table shows the relationship between buffer memory addresses to 5FF and link special relays SB0000 to SB01FF.
Page 185
8 PROGRAMMING MELSEC-Q (4) Link special registers (SW) The link special registers store the data link status using word data. Buffer memory addresses 600 to 7FF correspond to link special registers SW0000 to SW01FF. For more details on the link special registers (SW0000 to SW01FF), see Section 8.4.2.
Page 186
8 PROGRAMMING MELSEC-Q (7) Automatic update buffer The automatic update buffer stores automatic update data when performing transient transmission (communication using the automatic update buffer) with the AJ65BT-R2. The automatic update buffer size of the AJ65BT-R2 is specified by a network parameter.
8 PROGRAMMING MELSEC-Q 8.4 Link Special Relays and Registers (SB/SW) The data link status can be checked with bit data (link special relays: SB) and word data (link special registers: SW). The SB and SW represent the information in the buffer memory of the master/local module, which is used by reading to the device specified in an automatic refresh parameter.
Page 188
8 PROGRAMMING MELSEC-Q Table 8.3 Link special relay list (2/5) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Forcefully transfers the data link control from the standby master station that is controlling the data link to the standby master station in SB000C Forced master case the standby master station becomes faulty.
Page 189
8 PROGRAMMING MELSEC-Q Table 8.3 Link special relay list (3/5) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Indicates the line test completion status. SB004D Line test complete OFF: Not executed (5E4 , b13) status ON : Test complete Indicates the parameter information read request acknowledgment...
Page 190
8 PROGRAMMING MELSEC-Q Table 8.3 Link special relay list (4/5) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Indicates the setting status of host occupied stations. SB0066 Number of SB0066 SB0067 (5E6 , b6) occupied station Number of host 1 station...
Page 191
8 PROGRAMMING MELSEC-Q Table 8.3 Link special relay list (5/5) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Indicates whether the host operates as the master or standby master Host master/standby SB007B station. master operation (5E7 , b11)
8 PROGRAMMING MELSEC-Q 8.4.2 Link special registers (SW) Data is stored in the link special registers SW000 to SW003F by the sequence program, and data is automatically stored in SW0040 to SW01FF. The values in parentheses in the number column indicate the buffer memory addresses. When the standby master station is controlling the data link, availability is basically identical to that of the master station.
Page 193
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (2/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Stores the execution result of the data-link stop instruction with SW0045 SB0002. Data link stop result (645 : Normal Other than 0: Stores the error code (see Section 13.3).
Page 194
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (3/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Stores the execution result of the forced master switching instruction Forced master SW005D with SB000C. switching instruction (65D : Normal...
Page 195
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (4/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Stores the switch setting status. SW006A Switch setting status : Normal (66A Other than 0: Stores the error code (see Section 13.3). SW006D Max.
Page 196
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (5/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Indicates the temporary error invalid status. 0: Normal status SW007C 1: Temporary error invalid status (67C SW007D (67D...
Page 197
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (6/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Stores the fuse blown occurrence status of each station. 0: Normal SW0088 1: Abnormal (688 SW0089 (689 Other station fuse...
Page 198
8 PROGRAMMING MELSEC-Q Table 8.4 Link special register list (7/7) Availability : Available, : Not available) Number Name Description Online Offline Master station Local station Stores the overlap status when the first station number of each module is not overlapped. SW0098 0: Normal (698...
Page 199
8 PROGRAMMING MELSEC-Q The timing when the data in a link special register (SW) is updated differs depending on the link register number. Table 8.5 lists the update timings of link special registers. Table 8.5 Update timing of the link special registers Link special register Data update timing Link special register...
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS This chapter explains the procedures from module settings to parameter settings, programming, and finally operation check using a system configuration example. 9.1 Configuring a System As shown below, a system with three connected remote I/O stations is used as an example.
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.1.1 Setting the master station Settings of the master station switches are shown below: QJ61BT11 L RUN S MST ERR. L ERR. STATION NO. × 10 Station number setting switch 0 ( 10) Master station must be set to "00".
Settings of the remote I/O station switches are shown below: Transmission rate/mode setting switch Station number setting switch 0 (156 kbps/online) Module AJ65BTB1-16D AJ65BTC1-16T AJ65BTB1-16DT MITSUBISHI J65BTB1-16D B RATE L RUN SD RD L ERR. STATION NO. × 10 × 1...
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.2 Setting the Master Station Parameters This section explains the settings of the network parameters and the automatic refresh parameters of the master station. 9.2.1 Setting the network parameters of the master station (1) Setting the network parameters Set the network parameters as follows using the attached parameter setting checklist.
Page 204
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q (2) Example of network parameter settings An example of network parameter settings is shown below: 9 - 5 9 - 5...
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.2.2 Setting the automatic refresh parameters of the master station (1) Setting the automatic refresh parameters Set the automatic refresh parameters according to the procedure below. (a) Set the refresh device for remote input (RX) to X1000. (b) Set the refresh device for remote output (RY) to Y1000.
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.3 Creating a Program This section shows the program used to control the remote I/O stations. The following diagram shows the relationship between the devices of the PLC CPU and the inputs/outputs of remote I/O stations.
Page 207
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q Read data link status of each station Station number 1 is faulty Processing upon Station number 2 is faulty occurrence of faulty station Station number 3 is faulty Station number 1 is performing the data link Confirmation of data link Station number 2 is...
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.4 Performing the Data Link Turn on the power to the remote I/O stations first, and then turn on the power to the master station to start the data link. 9.4.1 Confirming the operation with the LED display The following diagram shows the LED display status of the master station and the remote I/O station when the data link is being performed normally.
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS MELSEC-Q 9.4.2 Confirming the operation with the sequence program Using the sequence program, confirm that the data link is being performed normally. 1) For example, when X00 of the remote I/O station AJ65BTB1-16D (station number 1) is turned on, Y40 (QY41P) of the master station turns on.
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS This chapter explains the procedures from module settings to parameter settings, programming, and finally operation check using a system configuration example. For more detailed information on remote device stations, see the Remote Device Station User's Manual.
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.1.1 Setting the master station Settings of the master station switches are shown below: QJ61BT11 L RUN S MST ERR. L ERR. STATION NO. × 10 Station number setting switch 0 ( 10) Master station must be set to "00".
For more detailed information about the contents of the settings, see the Remote Device Station User's Manual. Transmission rate/mode setting switch Station number setting switch 0 (156 kbps/online) Module AJ65BT-64AD B RATE STATION NO. MITSUBISHI L RUN O FFSET G AIN RESET L ERR. J65BT-64AD 10 - 3 10 - 3...
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.2 Setting the Master Station Parameters This section explains the settings of the network parameters and the automatic refresh parameters of the master station. 10.2.1 Setting the network parameters of the master station (1) Setting the network parameters Set the network parameters as follows using the attached parameter setting checklist and station information setting checklist.
Page 214
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q Exclusive Intelligent buffer select (word) Reserve/invalid Station No. Station type station station select count Send Receive Automatic Exclusive Remote device station No setting station 2 (2) Example of network parameter settings An example of network parameter settings is shown below: 10 - 5 10 - 5...
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.2.2 Setting the automatic refresh parameters of the master station (1) Setting the automatic refresh parameters Set the automatic refresh parameters according to the procedure below. (a) Set the refresh device for remote input (RX) to X1000. (b) Set the refresh device for remote output (RY) to Y1000.
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.3 Initial Setting of the Remote Device Station This section explains the initial setting of the remote device station. 10.3.1 Setting the target station number Set the target station for which the initial setting is performed. (1) Setting the target station number Set the target to "1".
Page 217
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q (c) Executional condition settings Set the "Condition Device" to "RX", the "Device Number" to "18", and the "Execute Condition" to "ON". (d) Details of execution setting Set the "Write Device" to "RY", the "Device Number" to "01", and the "Write Data"...
Page 218
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q (6) Setting the sixth condition (a) Execute Flag setting Set the "Execute Flag" to "Execute". (b) Operational condition setting Set the "Operational condition" to "Same as prev. set". (c) Details of execution setting Set "Write Device"...
Page 219
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q (c) Executional condition settings Set the "Condition Device" to "RX", the "Device Number" to "18", and the "Execute Condition" to "OFF". (d) Details of execution setting Set the "Write Device" to "RY", the "Device Number" to "18", and the "Write Data"...
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.3.3 Validating the remote device station initial settings This section explains the link special relays (SB) relating to the initial settings of remote device stations. Numeric values in parentheses in the Number column indicate addresses and bit positions of the buffer memory.
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.3.4 Setting with the sequence program (Reference) For reference, an example setting performed with the sequence program is shown below. 10 - 12 10 - 12...
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.4 Creating a Program This section shows a program used to control remote device stations. The following diagrams show the relationships of the remote input/output and remote registers between the PLC CPU devices and the remote device station. The shaded areas indicate the devices that are actually used.
Page 223
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q [Remote registers (RWw and RWr)] PLC CPU Remote device station (station number 1) AJ65BT-64AD For write D2000 RWw0 (Averaging process setting) D2001 RWw1 ( CH1 Average time/number of times D2002 RWw2 ( CH2 Average time/number of times...
Page 224
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q Read data link status of each station Processing upon detection of Station number 1 is faulty faulty station Station number 1 is Confirmation of data link status performing the data link Initial procedure registration Initial procedure registration instruction...
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.5 Performing the Data Link Turn on the power to the remote device station first, and then turn on the power to the master station to start the data link. 10.5.1 Confirming the operation with the LED display The following diagram shows the LED display status of the master station and the remote device station when the data link is being performed normally.
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATIONS MELSEC-Q 10.5.2 Confirming the operation with the sequence program Using the sequence program, confirm that the data link is being performed normally. 1) Change the voltage input to the AJ65BT-64AD and confirm that the A-D converted digital value also changes.
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS This chapter explains the procedures from module settings to parameter settings, programming, and finally operation check using a system configuration example. 11.1 Configuring a System As shown below, a system with one connected local station is used as an example.
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.1.1 Setting the master and local stations Settings of the master station switches are shown below: QJ61BT11 L RUN S MST ERR. L ERR. STATION NO. Station number setting switch ×...
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.2 Setting the Master Station Parameters This section explains the settings of the network parameters and the automatic refresh parameters of the master station. 11.2.1 Setting the network parameters of the master station (1) Setting the network parameters Set the network parameters as follows using the attached parameter setting checklist and station information setting checklist.
Page 230
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q Exclusive Intelligent buffer select (word) Reserve/invalid Station No. Station type station station select count Send Receive Automatic Exclusive Intelligent device station No setting station 4 (2) Example of network parameter settings An example of network parameter settings is shown below: 11 - 4 11 - 4...
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.2.2 Setting the automatic refresh parameters of the master station (1) Setting the automatic refresh parameters Set the automatic refresh parameters according to the procedure below. (a) Set the refresh device for remote input (RX) to X1000. (b) Set the refresh device for remote output (RY) to Y1000.
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.3 Setting the Local Station Parameters This section explains the settings of the network parameters and the automatic refresh parameters of the local station. 11.3.1 Setting the network parameters of the local station (1) Setting the network parameters Set the network parameters as follows using the attached parameter setting checklist.
Page 233
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q (2) Example of network parameter settings An example of network parameter settings is shown below: 11 - 7 11 - 7...
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.3.2 Setting the automatic refresh parameters of the local station (1) Setting the automatic refresh parameters Set the automatic refresh parameters according to the procedure below. (a) Set the refresh device for remote input (RX) to X1000. (b) Set the refresh device for remote output (RY) to Y1000.
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.4 Creating a Program This section shows the program to be used for communication between the master and local stations. The following diagram shows the relationship between the devices of the master station PLC CPU and the devices of the local station PLC CPU. The shaded areas indicate the devices that are actually used.
Page 236
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q [Remote registers (RWw and RWr)] Master station PLC CPU Master station Local station Local station PLC CPU D1000 RWr00 RWw00 D2000 D1001 RWr01 RWw01 D2001 D1002 RWr02 RWw02 D2002 D1003 RWr03 RWw03 D2003...
Page 237
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q (1) Master station program Read data link status of each station Processing upon occurrence of faulty Station number 1 is faulty station Confirmation of data Station number 1 is link status performing the data link Control program using data received from a local station...
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.5 Performing the Data Link Turn on the power to the local station first, and then turn on the power to the master station to start the data link. 11.5.1 Confirming the operation with the LED display The following diagram shows the LED display status of the master station and the local station when the data link is being performed normally.
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MELSEC-Q 11.5.2 Confirming the operation with the sequence program Using the sequence program, confirm that the data link is being performed normally. 1) When X20 of the master station is turned on, Y41 of the local station turns on. 2) When X21 of the local station is turned on, Y40 of the master station turns on.
Page 240
12 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATIONS MELSEC-Q 12 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATIONS The communication method between the master station and intelligent device stations is different for each intelligent device station. For more details on the communication between the master station and intelligent device stations, see the manual for each intelligent device station.
Page 241
12 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATIONS MELSEC-Q MEMO 12 - 2 12 - 2...
13 TROUBLESHOOTING MELSEC-Q 13 TROUBLESHOOTING This chapter describes the details of the problems that may occur in the CC-Link System, and lists the check items and procedures for each of the possible problems. 13.1 Verification upon Problem Occurrence The following lists the details of the check items and procedures for each problem occurrence.
Page 243
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure • Check the parameters. Is the corresponding station set as a reserved • Check the reserved station specified status station? (SW0074 to SW0077). • Check the station number setting. • Check the loading status (SW0069). Are there any overlap station numbers? •...
Page 244
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure • Check the sequence program. Is data read from the correct address of remote • Check the automatic refresh parameter setting. input RX (buffer memory)? Is the correct master station parameter information area being used (CPU built-in parameters, default Check parameter information (SW0067).
Page 245
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure Are the refresh set with the automatic refresh • Check the sequence program. parameters and the refresh executed with the • Check the automatic refresh parameter settings. Unable to turn on/off remote output (RY) of a remote FROM/TO instructions performed simultaneously? device station.
Page 246
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure • Check the station number setting. • Check the loading status (SW0069). Are there any overlap station numbers? • Check the station number overlap status (SW0098 to SW009B). • Check the loading status (SW0069). •...
Page 247
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure • Check the parameters. Is the corresponding station set as a reserved • Check the reserved station specified status station? (SW0074 to SW0077). • Check the station number setting. • Check the loading status (SW0069). Are there any overlap station numbers? •...
Page 248
13 TROUBLESHOOTING MELSEC-Q Description of problem Check item Check procedure • Check the parameters. Is the corresponding station set as a reserved • Check the reserved station specified status station? (SW0074 to SW0077). • Check the station number setting. • Check the loading status (SW0069). Unable to communicate from a local station (remote Are there any overlap station numbers? •...
13 TROUBLESHOOTING MELSEC-Q 13.2 Troubleshooting Procedures When the "ERR." LED of the Master Station is Flashing or When Normal Data cannot be Sent/Received During Data Link Do the parameter settings and the installed system configuration match properly? Revise the parameter settings or installed system configuration Are the master station link special registers...
Page 250
13 TROUBLESHOOTING MELSEC-Q From previous page From previous page From previous page Is the "SD" LED lit (flashing)? Is the transmission rate setting correct? Set the correct transmission rate Turn on the power again/ turn on the reset switch Is the communication cable wired properly? Wire the communication cable properly...
13 TROUBLESHOOTING MELSEC-Q 13.3 Error Codes Table 13.1 lists the error codes that are stored in the link special registers (SW). When the standby master station is operating as the master station, the detectability is identical to that of the master station. When the standby master is operating as a local station, the detectability is identical to that of the local station.
Page 252
13 TROUBLESHOOTING MELSEC-Q Table 13.1 Error code list (2/5) Detectability Error code Error details Cause of error occurrence (details) Corrective action (hexadecimal) Master station Local station The station types of the module are different from parameter settings. Example) Connected Parameter module setting Loading/parameter...
Page 253
13 TROUBLESHOOTING MELSEC-Q Table 13.1 Error code list (3/5) Error code Detectability Error details Cause of error occurrence (details) Corrective action (hexadecimal) Master station Local station The number of intelligent device stations Set the intelligent device station Intelligent device station setting (including local stations) was set to "27 B38C to "26 stations or less"...
Page 254
13 TROUBLESHOOTING MELSEC-Q Table 13.1 Error code list (4/5) Error code Detectability Error details Cause of error occurrence (details) Corrective action (hexadecimal) Master station Local station The RLPASET instruction was executed Check that the self-station type B415 Execution station type error on a station other than the master has been set to the master station.
Page 255
QJ61BT11, the CPU module, the base unit BD85 Hardware error detection A hardware error was detected. or other modules. Contact your nearest Mitsubishi representative. Wait for a while before Transient request overload There are too many transient requests to BFFB...
13 TROUBLESHOOTING MELSEC-Q 13.4 CC-Link Diagnostics Using the GX Developer Check the status of each module after all the modules have been connected using CC- Link dedicated cables, and verify that data link can be performed normally. It is also possible when QJ61BT11 is mounted in the remote I/O station. (1) Host monitoring This function monitors the items such as the data link status of the host (the station to which peripheral devices are connected).
Page 257
13 TROUBLESHOOTING MELSEC-Q (2) Other station monitoring This function monitors the items such as the data link status of other stations (stations other than the one to which peripheral devices are connected). (a) Operating procedure Click "Diagnostics" and then select " Monitoring other station " under "CC- Link diagnostics".
Page 258
13 TROUBLESHOOTING MELSEC-Q (3) Line test Checks the operating status of the connected remote stations, local stations, intelligent device stations and standby master station. Stations that are operating normally are displayed in "blue", and faulty stations are displayed in "red". (a) Operating procedure Click "Diagnostics"...
Page 259
13 TROUBLESHOOTING MELSEC-Q (4) H/W Information (when QJ61BT11 of function version B or later and SW6D5C-GPPW-E or later are combined) This function displays the operation and setting statuses of the master module, local modules, and standby master module when QJ61BT11 of function version B or later and SW6D5C-GPPW-E or later are combined (a) Setting procedure Select a module by clicking "Diagnostics"...
Page 260
13 TROUBLESHOOTING MELSEC-Q (c) H/W LED Information The H/W LED Information displays the following data link information. Item Value 1: When the module is operating normally 0: At watchdog timer error 1: All stations are faulty ERR. Switching between 0 and 1: There is a faulty station 1: Set to the master station S MST 1: Set to the standby master station...
Page 261
13 TROUBLESHOOTING MELSEC-Q (5) H/W Information (when QJ61BT11 of function version A and SW5D5C-GPPW-E or earlier are combined) This function displays the operation and setting statuses of the master module, local modules, and standby master module when QJ61BT11 of function version A and SW5D5C-GPPW-E or earlier are combined.
APPENDIX MELSEC-Q APPENDIX Appendix 1 External Dimensions Diagram This section describes the external dimensions of the QJ61BT11. QJ61BT11 L RUN S MST ERR. L ERR. STATION NO. App. MODE (FG) 90 (3.54) 27.4 (1.08) [Terminal block diagram with the cover open] (FG) Unit: mm (inch) App - 1...
APPENDIX MELSEC-Q Appendix 2 Dedicated Instruction List Transient transmission can be performed for the local stations and intelligent device stations using dedicated instructions. The following table lists the dedicated instructions that can be used for each of these stations: Target station Instruction Description Reference page...
APPENDIX MELSEC-Q Appendix 2.1 RIRD instruction The RIRD instruction reads the data for the specified points from the buffer memory or the PLC CPU device of the specified station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function...
Page 265
APPENDIX MELSEC-Q 1: See the manual for the local station or the intelligent device station from which data will be read. When the random access buffer is specified, specify the addresses by setting the start address of the random access buffer memory as 0. 2: Indicates the maximum number of data items that can be read.
Page 266
APPENDIX MELSEC-Q (3) Functions (a) Operation chart for the RIRD instruction Master station Specified station PLC CPU Master module Local module PLC CPU Command G.RIRD Buffer memory Device memory Device memory Receive buffer 1) Accesses the buffer memory specified by (S)+2 and (S)+3 of the station specified by (S)+1, or the PLC CPU device.
Page 267
APPENDIX MELSEC-Q (c) There are two types of interlock signals for the RIRD instruction: the completion device (D2) and status display device at completion (D2) + 1. 1) Completion device Turns ON in the END processing of the scan where the RIRD instruction is completed, and turns OFF in the next END processing.
Page 268
APPENDIX MELSEC-Q (5) Program example When X0 is turned ON, this program stores 10-word data to D0 and succeeding addresses from buffer memory address 100 of the intelligent device station number 1, which is connected to the master module installed at I/O numbers from X/Y40 to X/Y5F.
Page 269
APPENDIX MELSEC-Q Appendix 2.2 RIWT instruction The RIWT instruction writes the data for the specified points, to the buffer memory or the PLC CPU device of the specified station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function...
Page 270
APPENDIX MELSEC-Q 1: See the manual for the local station or the intelligent device station to which data will be written. When the random access buffer is specified, specify the addresses by setting the start address of the random access buffer memory as 0. 2: Indicates the maximum number of data items that can be written.
Page 271
APPENDIX MELSEC-Q (3) Functions (a) Operation chart for the RIWT instruction Master station Specified station PLC CPU PLC CPU Master module Local module Command G.RIWT Send buffer Buffer memory Device memory Device memory 1) Stores the data to be written to the specified station in the send buffer of the master module.
APPENDIX MELSEC-Q (c) There are two types of interlock signals for the RIWT instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the RIWT instruction is completed, and turns OFF in the next END processing.
Page 273
APPENDIX MELSEC-Q (5) Program example When X0 is turned ON, this program stores 10-word data from D0 to buffer memory address 100 and succeeding addresses of the intelligent device station number 1, which is connected to the master module installed at I/O numbers from X/Y40 to X/Y5F.
APPENDIX MELSEC-Q Appendix 2.3 RIRCV instruction The RIRCV instruction automatically performs handshaking with an intelligent device station and reads data from the buffer memory of the specified intelligent device station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \...
Page 275
APPENDIX MELSEC-Q 1: See the manual for the intelligent device station from which data will be read. 2: Indicates the maximum number of data items that can be read. Specify the buffer memory capacities of the intelligent device station and the receive buffer area setting range to be set with a parameter.
Page 276
APPENDIX MELSEC-Q (1) Functions (a) Operation chart for the RIRCV instruction Master station Specified station PLC CPU Master module Intelligent device station Command Buffer memory G.RIRCV Receive buffer Device memory 1) Accesses the buffer memory specified by (S1)+2 and (S1)+3 of the station specified by (S1)+1.
Page 277
APPENDIX MELSEC-Q (c) There are two types of interlock signals for the RIRCV instruction: the completion device (D2) and the status display device at completion (D2)+1. 1) Completion device Turns ON in the END processing of the scan where the RIRCV instruction is completed, and turns OFF in the next END processing.
Page 278
APPENDIX MELSEC-Q (3) Program example When M1 is turned ON, this program reads 11-word data to D40 and succeeding addresses from buffer memory address 400 of the intelligent device station number 63, which is connected to the master module installed at I/O numbers from X/Y00 to X/Y1F.
APPENDIX MELSEC-Q Appendix 2.4 RISEND instruction The RISEND instruction automatically performs handshaking with an intelligent device station and writes data to the buffer memory of the specified intelligent device station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \...
Page 280
APPENDIX MELSEC-Q 1: See the manual for the intelligent device station to which data will be written. 2: Indicates the maximum number of data items that can be written. Specify the buffer memory capacities of the intelligent device station and the receive buffer area setting range to be set with a parameter.
Page 281
APPENDIX MELSEC-Q (1) Functions (a) Operation chart for the RISEND instruction Master station Specified station PLC CPU Master module Intelligent device station Command Buffer memory G.RISEND Send buffer Device memory 1) Stores the data to be written to the specified station in the send buffer of the master module.
Page 282
APPENDIX MELSEC-Q (c) There are two types of interlock signals for the RISEND instruction: the completion device (D2) and the status display device at completion (D2)+1. 1) Completion device Turns ON in the END processing of the scan where the RISEND instruction is completed, and turns OFF in the next END processing.
Page 283
APPENDIX MELSEC-Q (3) Program example When M6 is turned ON, this program writes one-word data to D10 from buffer memory address 111 of the intelligent device station number 63, which is connected to the master module installed at I/O numbers from X/Y00 to X/Y1F. The settings of the interlock signal storage device are as follows: request device RY4, completion device RX4, error code storage device RWr1, and completion mode 1.
Page 284
APPENDIX MELSEC-Q Appendix 2.5 RIFR instruction The RIFR instruction reads the data from the automatic update buffer of the specified station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function register Other register module Word...
Page 285
APPENDIX MELSEC-Q (1) Functions (a) Operation chart for the RIFR instruction Master station Specified station PLC CPU Master module Intelligent device station Command Communication Buffer memory commences G.RIFR when conditions are met Automatic update buffer memory Automatic Device memory update buffer 1) Accesses the automatic update buffer specified by n1 and n2 of the master module specified by Un.
Page 286
APPENDIX MELSEC-Q (2) Operation error In the following cases, operation error occurs; the error flag (SM0) turns ON and the error code is stored in SD0. Error code Description of operation error 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.
APPENDIX MELSEC-Q Appendix 2.6 RITO instruction The RITO instruction writes data to the automatic update buffer of the specified station. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function register Other register module Word Word...
Page 288
APPENDIX MELSEC-Q (1) Functions (a) Operation chart for the RITO instruction Master station Specified station PLC CPU Master module Intelligent device station Communication Command commences Buffer memory G.RITO when conditions are met Automatic update buffer memory Automatic Device memory update buffer 1) Accesses the device after the device specified by (D) of the master module specified by Un.
Page 289
APPENDIX MELSEC-Q (2) Operation error In the following cases, operation error occurs; the error flag (SM0) turns ON and the error code is stored in SD0. Error code Description of operation error 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.
APPENDIX MELSEC-Q Appendix 2.7 RLPASET instruction Set the network parameter to the master station and start up the data link. Usable devices Internal device MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function register Other register module Word Word...
Page 291
APPENDIX MELSEC-Q Control data Device Item Set data Setting range Set by Stores the status when the instruction is complete. (S1) + 0 Completion status : No error (normal completion) — System Other than 0: Error code Specifies whether the individual setting data from (S2) to (S5) is valid or invalid.
Page 292
APPENDIX MELSEC-Q Slave station setting data Device Item Set data Setting range Set by The type of slave station, number of occupied slave stations and station number are set as follows. b12 b11 b8 b7 Station number — Number of occupied slave stations Type of slave station The default parameter settings are "0101 to 0140...
Page 293
APPENDIX MELSEC-Q Error invalid station specification data Device Item Set data Setting range Set by Specify the error invalid station. 0: Not specified 1: Specified (S4)+0 (S4) + 0 Setting for 1 to 64 (S4)+1 — User modules (S4)+2 (S4) + 3 (S4)+3 1 to 64 in the table indicate station numbers.
Page 294
APPENDIX MELSEC-Q (1) Functions Operation chart for the RLPASET instruction. PLC CPU Master module Command Z.RLPASET Network parameter Device memory Execution result 3) Data link start Pass the network parameters set in (S1) to (S5) to the master module specified by Un. The master module analyzes the settings of the network parameters.
Page 295
APPENDIX MELSEC-Q (C) There are two types or interlock signals for the RLPASET instruction: the completion device (D) and status display device at completion (D) + 1. Completion device Turns ON in the END Processing of the scan where the RLPASET instruction is completed, and turns OFF in the next END processing.
Page 296
APPENDIX MELSEC-Q (4) Operation error In the following cased, an operation error occurs; the error flag (SM0) turns ON and the error code is stored in SD0. Error code Description of operation error 2112 When the module specified by Un is not an intelligent function module. 4002 When an attempt was made to execute an unsupported instruction.
Page 297
APPENDIX MELSEC-Q (5) Program example This program sets the network parameters for the master module mounted at the I/O numbers X/Y00 to X/Y1F and starts the data link. Station number 1 Local Station number 2 Station number 3 Master station station Remote I/O station Remote I/O station...
Page 298
APPENDIX MELSEC-Q Processing at completion of the RLPASET instruction Turn the parameter setting instruction off. Instruct to refresh at normal completion of the RLPASET instruction. Instruct to start the control program at normal completion of the RLPASET instruction. Performs abnormal completion processing Parameter setting change Parameter...
Page 299
APPENDIX MELSEC-Q Start of the control program Refresh of RX RX00 to RX5F are read to X1000 to X105F. Refresh of RY Y1000 to Y105F are written into RY00 to RY5F Refresh of RWr RWr0 to RWr3 are read to D1000 to D1003.
APPENDIX MELSEC-Q Appendix 3 Differences Between the New and Previous Models The following lists the differences between the QJ61BT11 and older models: QJ61BT11 A (1S) J61BT11 A (1S) J61QBT11 Startup using the parameters Startup using Yn6, Yn8, and of the master station CPU Startup using Yn6, Yn8 and Startup procedure master station CPU...
APPENDIX MELSEC-Q Appendix 4 Precautions when Changing from AJ61QBT11 to QJ61BT11 (1) The following dedicated instructions for AJ61QBT11 cannot be used in QJ61BT11. Instruction Description CCL, CCLEND Performs mail box registration for intelligent device and remote device instructions. SPCCLR Performs interrupt command to intelligent device instruction. SPCBUSY Reads remote station status.
APPENDIX MELSEC-Q Appendix 6 Parameter Setting Checklist This checklist may be used to set the parameters required to configure a CC-Link system. Please make a copy of this checklist and use it as needed. For setting details, see Section 6.3. Appendix 6.1 Parameter setting checklist Parameter setting checklist Item...
APPENDIX MELSEC-Q Appendix 6.2 Station information setting checklist Station information setting checklist Exclusive Intelligent buffer select (Word) Reserve/invalid Station No. Station type station station select Send Receive Automatic count App - 42 App - 42...
Page 304
APPENDIX MELSEC-Q Exclusive Intelligent buffer select (Word) Reserve/invalid Station No. Station type station station select Send Receive Automatic count App - 43 App - 43...
APPENDIX MELSEC-Q Appendix 6.3 Device assignment checklist Device assignment checklist Station No. RX00 to RX1F RY00 to RY1F RWw0 to RWw3 RWr0 to RWr3 RX20 to RX3F RY20 to RY3F RWw4 to RWw7 RWr4 to RWr7 RX40 to RX5F RY40 to RY5F RWw8 to RWwB RWr8 to RWrB RX60 to RX7F...
Page 306
APPENDIX MELSEC-Q Station No. RX580 to RX59F RY580 to RY59F RWwB0 to RWwB3 RWrB0 to RWrB3 RX5A0 to RX5BF RY5A0 to RY5BF RWwB4 to RWwB7 RWrB4 to RWrB7 RX5C0 to RX5DF RY5C0 to RY5DF RWwB8 to RWwBB RWrB8 to RWrBB RX5E0 to RX5FF RY5E0 to RY5FF RWwBC to RWwBF...
Page 307
INDEX About Added/Changed Functions in Data link processing time ........5-1 Function Version B........1-11 Data link restart ..........8-17 Analog-digital converter module ..... 2-9 Data link restart acceptance......8-18 Applicable CPU ..........2-2 Data link restart complete......8-18 Applicable system ........... 2-2 Data link restart result........8-22 Automatic CC-Link startup .....
Page 308
Link special relays (SB) ....... 8-14, 8-17 Graphic operation terminal......2-9 Link special registers (SW)....8-15, 8-22 Local module..........A-12 Local station ........A-12, 1-1, 2-6 H/W information........... 13-18 Local station automatic refresh Handling precautions ........7-3 parameter settings .........6-14 Hardware test ..........7-7 Local station communication ......1-3 Local station network parameter settings ..6-12 High-speed counter module......
Page 309
Number of link points per station ....3-1 Refresh instruction at standby master Number of occupied station ......3-1 switching............8-17 Refresh instruction at standby master switching result..........8-22 Offline test status........... 8-19 Refresh instruction complete status at Operation specification when standby master switching ......8-18 CPU is down status........
Page 310
Selecting a mode according to the system ..1-8 The remote device station is not operating Setting checklist.........App-41 normally............13-7 Setting the status of input data from The remote station/local station/intelligent a data link faulty station......1-6, 4-28 device station/standby master station does Slave station cut-off function....
Page 311
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 dealer or Mitsubishi Service Company.
Page 312
CC-Link System Master/Local Module User's Manual QJ61BT11-U-S-E MODEL MODEL 13JL91 CODE SH(NA)-080016-E(0305)MEE HEAD OFFICE : 1-8-12, OFFICE TOWER Z 14F HARUMI CHUO-KU 104-6212,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.
Need help?
Do you have a question about the QJ61BT11 and is the answer not in the manual?
Questions and answers