Mitsubishi Electric Q Series Reference Manual
Mitsubishi Electric Q Series Reference Manual

Mitsubishi Electric Q Series Reference Manual

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

Quick Links

MITSUBISHI ELECTRIC
Programmable Controller
Reference Manual
QJ71LP21, QJ71LP21-25,
QJ71LP21S-25, QJ71LP21G,
QJ71LP21GE, QJ71BR11
SH(NA)-080049
INDUSTRIAL AUTOMATION
MITSUBISHI ELECTRIC
01072008
Version K

Advertisement

Table of Contents

Troubleshooting

loading

Summary of Contents for Mitsubishi Electric Q Series

  • Page 1 MITSUBISHI ELECTRIC Programmable Controller Reference Manual QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE, QJ71BR11 SH(NA)-080049 INDUSTRIAL AUTOMATION MITSUBISHI ELECTRIC 01072008 Version K...
  • Page 4: Safety Precautions

    • SAFETY PRECAUTIONS • (Always read before starting use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product. For the safety instructions of the programmable controller system, please read the CPU module user's manual.
  • Page 5 [Installation Precautions] CAUTION • Use the programmable controller in the operating environment that meets the general specifications given in the user's manual of the CPU module. Using the programmable controller in any other operating environment may cause an electric shock, fire or malfunction, or may damage or degrade the product. •...
  • Page 6 [Wiring Precautions] CAUTION • Make sure to place the communication and power cables into a duct or fasten them using a clamp. Failure to do so may damage the module or cables by pulling a dangling cable inadvertently or cause the module to malfunction due to bad connection. •...
  • Page 7: Revisions

    REVISIONS The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Dec., 1999 SH(NA)-080049-A First printing Oct., 2000 SH(NA)-080049-B Correction Safety Precautions, Contents, About Manuals, About the Generic Terms and Abbreviations, Chapter 1, Section 1.1, 1.2, Chapter 2, Section 2.1.3, 2.1.4, 2.2.2, 3.1.1, 3.1.2, 3.2, 3.2.1, 3.2.2, 3.3, 3.3.1, 3.3.2, 3.3.3, 4.1, 4.2, 4.3.1, 4.3.2, 4.5, 4.5.1, 4.5.2, 4.5.3, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1, 4.8.2, 4.8.3, 4.8.4, Chapter 5, Section 5.1,...
  • Page 8 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 9: Table Of Contents

    Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller you have purchased, so as to ensure correct use. Please forward a copy of this manual to the end user.
  • Page 10 3.3.2 How to calculate the transmission delay time .................. 3-26 3.3.3 Reducing the link refresh time ......................3-38 3.3.4 Reduction of the link scan time......................3-43 3.3.5 Control station shift time........................3-43 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION 4- 1 to 4-36 4.1 Procedures Before Starting the Operation....................
  • Page 11 5.3.4 Designation of the reserved station ....................5-15 5.3.5 Pairing setting............................ 5-15 5.4 Supplementary Settings........................... 5-16 5.5 Control Station Return Setting......................... 5-19 5.6 Station Inherent Parameters (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU)........................5-20 5.7 Refresh Parameters..........................5-24 5.7.1 Concept of the link refreshing ......................
  • Page 12 7.4.6 Setting the clock on the stations on a network with GX Developer ..........7-100 7.5 Starting the Interrupt Sequence Program ..................... 7-101 7.5.1 Interrupt setting parameters......................7-102 7.5.2 Interrupts using the RECVS instruction..................7-104 7.5.3 Interrupts by the link devices (LB/LW/LX) for cyclic transmission ..........7-105 7.5.4 Interrupts by the link special device (SB/SW) ................
  • Page 13 APPENDIX App- 1 to App-36 Appendix 1 Comparison of network module specifications, and compatibility ........App- 1 Appendix 1.1 List of Comparison between MELSECNET/H and MELSECNET/H Extended Mode and MELSECNET/10 Mode Specifications..........App- 1 Appendix 1.2 Upgraded functions of the network module ..............App- 2 Appendix 2 Differences Between the AJ71QLP21/AJ71QLP21G/AJ71QBR11, the A1SJ71QLP21/ A1SJ71QBR11 and the QJ71LP21/QJ71LP21-25/QJ71LP21G/ QJ71BR11.....App- 3 Appendix 2.1 Differences in LED displays and switch settings ............App- 3...
  • Page 14: About Manuals

    About Manuals The following manuals are also related to this product. In necessary, order them by quoting the details in the tables below. Related Manuals Manual Number Manual Name (Model Code) Q corresponding MELSECNET/H Network System Reference Manual (Remote I/O network) This manual describes the specifications, setup and procedures before starting the operation, parameter SH-080124 (13JF96)
  • Page 15: About The Generic Terms And Abbreviations

    About the Generic Terms and Abbreviations Generic term/abbreviation Description of generic term/abbreviation Abbreviation for QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G and QJ71LP21GE QJ71LP21 MELSECNET/H network modules. However, QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G and QJ71LP21GE are used in this manual to indicate special machine types. QJ71BR11 Abbreviation for QJ71BR11 MELSECNET/H network modules.
  • Page 16: Definitions Of Terminology

    DEFINITIONS OF TERMINOLOGY Term Description Using the link devices (LB/LW/LX/LY) of the network module, data can be transferred periodically between stations on the same network. Cyclic transmission ·LB/LW is used to send data of one station to all stations. (1:N communication) ·LX/LY is used to send data of one station to another station.
  • Page 17: Product Configuration

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

    1 OVERVIEW MELSEC-Q 1 OVERVIEW The MELSECNET/H network system includes an PLC to PLC network for interactively communicating between control stations and normal stations, and a remote I/O network for interactively communicating between remote master stations and remote I/O stations. This manual is to be read when structuring PLC to PLC networks on MELSECNET/H network systems (hereinafter known as MESECNET/H.) The Q corresponding MELSECNET/H Network System Reference Manual (Remote...
  • Page 19 1 OVERVIEW MELSEC-Q Unless otherwise categorized, this is abbreviated as MELSECNET/H for explanatory purposes in this manual. Control station (MELSECNET/10 mode) Control station (MELSECNET/H mode) Q25HCPU GX Developer Remote master station MELSECNET/10 MELSECNET/H (25Mbps) PLC to PLC network remote I/O network Q25HCPU Normal station Normal Normal...
  • Page 20 1 OVERVIEW MELSEC-Q The table below shows the CPU modules that can be combined for use on each network. Network to be connected Type of networks MELSECNET/10 MELSECNET/H that can be used module Remote I/O Remote I/O with CPU PLC to PLC network PLC to PLC network network network...
  • Page 21: Features

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

    1 OVERVIEW MELSEC-Q 1.3 Abbreviations Used in the Text, Tables and Diagrams of This Manual (1) Abbreviation Abbreviation Name Control station Normal station (Station that can serve as a control station) (2) Symbol format Group number (1 to 32): G Station number (1 to 64) Abbreviation Network No.
  • Page 32: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains different system configurations that are available with the MELSECNET/H. 2.1 MELSECNET/H network configurations This section describes network configurations available with the MELSECNET/H. 2.1.1 Single network system A single network system is one system that connects the control station and the normal stations with an optical fiber cable or a coaxial cable.
  • Page 33: Redundant System (Redundant Cpu)

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

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

    2 SYSTEM CONFIGURATION MELSEC-Q 2.1.4 Multiple network system (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) (1) What is multiple network system The multiple network system is a network system in which multiple networks are connected via relay stations. Duplicated setting of a network number is not allowed.
  • Page 36 2 SYSTEM CONFIGURATION MELSEC-Q (2) Configuration The following example shows how three networks can be connected. Control station Normal station Control station Normal station Q25H QJ71 Q25H QJ71 QJ71 Q25H QJ71 LP21 LP21 LP21 LP21 Network No. 1 Network No. 2 QJ71 QJ71 Q25H...
  • Page 37: Applicable Systems

    2 SYSTEM CONFIGURATION MELSEC-Q 2.2 Applicable Systems This section describes the applicable systems. No. of mountable modules is the maximum number of mountable network modules with CC-Link IE controller network. (1) Applicable modules and base units, and No. of modules (a) When mounted with a CPU module The table below shows the CPU modules and base units applicable to the network module and quantities for each CPU model.
  • Page 38 2 SYSTEM CONFIGURATION MELSEC-Q 1: Limited within the range of I/O points for the CPU module. 2: Can be installed to any I/O slot of a base unit. 3: Mountable number for one of the systems. Use a network module of function version D or later. 4: Use a network module of function version D or later, whose serial No.
  • Page 39 2 SYSTEM CONFIGURATION MELSEC-Q (3) Compatible network modules Available network types and systems vary depending on the function version of the network module. (a) When MELSECNET/H mode or MELSECNET/10 mode is used Compatible network modules Single CPU system Function version A or later Q00J/Q00/Q01CPU Multiple CPU system Function version B or later...
  • Page 40 2 SYSTEM CONFIGURATION MELSEC-Q (4) Compatible software packages The systems using network modules and compatible software packages are shown in the table below. Using a network module requires GX Developer. (a) When MELSECNET/H mode or MELSECNET/10 mode is used Software version GX Developer Single CPU system Version 7 or later...
  • Page 41: Precautions When Using Link Dedicated Instructions

    1: The SEND instruction ends abnormally. Error code returned to the request source. The READ, SREAD, WRITE, and SWRITE instructions are processed normally. (b) When the target station is a Q series Ethernet module Target station (Q series Ethernet module) Function version D Request issued by...
  • Page 42 2 SYSTEM CONFIGURATION MELSEC-Q (2) Instructions added for function version B Target station CC-Link IE Request issued by MELSECNET/H MELSECNET/10 Q series Ethernet controller network module network module module network module RRUN, RSTOP, RTMRD, RTMWR : Processed normally. : Ends abnormally. Error code returned to the request source.
  • Page 43: Precautions When Using Network Modules In The Multiple Cpu System

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

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

    2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Checking the function version and serial number This section describes how to check the function version and serial number of a network module. (1) Checking the "Rating plate" on the side of the module The serial No. and function version of the module are displayed in the SERIAL line of the rating plate.
  • Page 51 2 SYSTEM CONFIGURATION MELSEC-Q (2) Checking through GX Developer The following explains how to check the serial No. and function version of the target module through GX Developer. The serial No. and function version are displayed on the "Product Information List"...
  • Page 52: Specifications

    3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS This chapter explains the performance specifications and function specifications of the network modules as well as the specifications of the send/receive processing time of the link data. For details on the general specifications, refer to the QCPU User's Manual (Hardware Design, Maintenance and Inspection).
  • Page 53 3 SPECIFICATIONS MELSEC-Q Table 3.1 Performance specifications of the network modules (continued) Optical loop system Item QJ71LP21 QJ71LP21-25 QJ71LP21S-25 QJ71LP21G QJ71LP21GE 98 (3.86)(H) 55.2 98 (3.86)(H) 27.4 (1.08)(W) 98 (3.86)(H) 55.2 (2.18)(W) External dimensions (2.18)(W) (3.54)(D) [mm (inch)] (3.54)(D) [mm(inch)] (3.54)(D) [mm(inch)] Weight 0.11 kg...
  • Page 54 3 SPECIFICATIONS MELSEC-Q Table 3.1 Performance specifications of the network modules (continued) Coaxial bus system Item QJ71BR11 LX/LY 8192 points Maximum number of 16384 points (8192 points in the MELSECNET/10 mode) link points per network 16384 points (8192 points in the MELSECNET/10 mode) •...
  • Page 55: Optical Fiber Cable Specifications

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

    3 SPECIFICATIONS MELSEC-Q 3.1.3 Coaxial cable specifications The following table lists the specifications of the coaxial cables used for the coaxial bus system. The high frequency coaxial cable "3C-2V" or "5C-2V" (conforms to JIS C 3501) is used. (1) Coaxial cable specifications The specifications of the coaxial cable are shown in Table 3.3.
  • Page 57 3 SPECIFICATIONS MELSEC-Q (2) Connecting the coaxial cable connectors The following section explains how to connect the BNC connector (the connector plug for the coaxial cable) to the cable. • Solder the coaxial cable connectors properly. Insufficient soldering may result in CAUTION malfunctions.
  • Page 58 3 SPECIFICATIONS MELSEC-Q Solder the contact to the internal conductor. Solder here Insert the connector assembly shown in (4) into the plug shell and screw the nut into the plug shell. (1) Note the following precautions when soldering the internal conductor and contact.
  • Page 59: Function Specifications

    3 SPECIFICATIONS MELSEC-Q 3.2 Function Specifications This section describes the functions of the MELSECNET/H. The list of functions is shown below: Basic Cyclic transmission function Communication using LB/LW · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · Section 3.2.1 (1) functions (Periodical communication)
  • Page 60: Cyclic Transmission Function (Periodical Communication)

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

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

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

    3 SPECIFICATIONS MELSEC-Q 3.3.2 How to calculate the transmission delay time (1) Transmission delay time in the same network Cyclic transmission (LB/LW/LX/LY periodical communication) The transmission delay time in the B/W/Y communication is obtained by the equation below using the following variables: •...
  • Page 78 3 SPECIFICATIONS MELSEC-Q Communication with the SEND/RECV/RECVS/ZNRD/ZNWR instruction The transmission delay time in communication with the SEND, RECV, RECVS, ZNRD, or ZNWR instruction depends on the system of the sending and receiving stations, as shown below. Receiving station Redundant system Non-redundant system Sending station (control system CPU)
  • Page 79 3 SPECIFICATIONS MELSEC-Q REMARKS When executing transient transmissions from multiple stations at the same time, the execution time of the instruction may be shortened by increasing the setting value for the maximum number of transient requests in one link scan. For instance, when there are seven stations that execute an instruction, the time for "LS 4"...
  • Page 80 3 SPECIFICATIONS MELSEC-Q : Scan time of the sending station (except link refresh time) : Scan time of the receiving station 1 (except link refresh time) α : Link refresh time of the sending station α : Link refresh time of the receiving station : Link scan time : Scan time delay due to tracking transfer on the sending side 4 : Scan time delay due to tracking transfer on the receiving side 4...
  • Page 81 3 SPECIFICATIONS MELSEC-Q Link refresh time Other than safety CPU The link refresh time (the time delay of the END processing time in the CPU module) is obtained by the equation below using the following variables: • Number of assignment points of the link device •...
  • Page 82 3 SPECIFICATIONS MELSEC-Q • When network modules are installed on the main base unit Constant –3 –3 –6 CPU type Q00JCPU 1.30 0.67 Basic model QCPU Q00CPU 1.10 0.66 Q01CPU 0.90 0.61 High Performance Q02CPU 0.30 0.48 0.47 0.60 0.89 1.18 0.14 model QCPU...
  • Page 83 3 SPECIFICATIONS MELSEC-Q Safety CPU [Link refresh time] LB + LX + LY + SB [ms] α T , α R + LW + 1000 1 .8 5 α : Link refresh time (sending station) α : Link refresh time (receiving station) : Total points of link relays (LB) refreshed by the corresponding station LW : Total points of link registers (LW) refreshed by the...
  • Page 84 3 SPECIFICATIONS MELSEC-Q REMARKS (1) Data link transfer time (for Universal model QCPU) Universal model QCPUs transfer interlink data in several batches. The following are the calculation formulas for the data link transfer time. (a) Data link transfer time taken in one END α...
  • Page 85 3 SPECIFICATIONS MELSEC-Q Link scan time The link scan time is obtained by the equation below using the following variables: • Network type • Number of assignment points of the link device • Number of connected stations MELSECNET/H mode With a communication speed of 10Mbps [Link scan time] LB + LY + (LW LS = KB + (0.45...
  • Page 86 3 SPECIFICATIONS MELSEC-Q MELSECNET/H Extended mode With a communication speed of 10Mbps [Link scan time] LB + LY + (LW 0.001 LS = KB + (0.45 SP) + + (T 0.001) + (F 4) [ms] b) With a communication speed of 25Mbps [Link scan time] LB + LY + (LW 0.0004...
  • Page 87 3 SPECIFICATIONS MELSEC-Q (2) Transmission delay time between multiple networks using the inter- link data transfer function The following shows the cyclic transmission delay time for the case where link device data are transferred to another network with the interlink transfer function. [Inter-link data transfer] (Transmission delay time) + α...
  • Page 88 3 SPECIFICATIONS MELSEC-Q (3) Example of the transmission delay time calculation The following example calculates the transmission delay time with the following system configuration and under the following conditions: (System configuration and conditions) CPU module: Q06HCPU Network type: MELSECNET/H mode Communication speed: 10Mbps Total number of stations: 8 stations (1 control station, 7 normal stations)
  • Page 89: Reducing The Link Refresh Time

    3 SPECIFICATIONS MELSEC-Q 3.3.3 Reducing the link refresh time The link refresh time can be reduced by decreasing the number of refresh points to the CPU module. Reduce the refresh points by any of the following: • Refresh parameters • Common parameters •...
  • Page 90 3 SPECIFICATIONS MELSEC-Q (2) How to decrease the number of refresh points Using the refresh parameters 66 refresh ranges can be set on the High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU. 66 ranges (for 64 stations + for SB + for SW) 10 refresh ranges can be set on the Basic model QCPU and safety CPU.
  • Page 91 3 SPECIFICATIONS MELSEC-Q Using direct access to link devices The refresh time can be reduced by directly accessing link devices that are less frequently used by the host and excluding them from the refresh range. (Refer to Section 7.1) Network module Range of Link refresh sending...
  • Page 92 3 SPECIFICATIONS MELSEC-Q The link refresh is executed by the END processing of the CPU module, but reading from/writing to the network module is directly performed when an instruction is executed; thus the transmission delay time can be reduced. Direct access to the sending station When close to step 0 The direct access is faster by a maximum of one scan of a sequence program when compared with the link refresh.
  • Page 93 3 SPECIFICATIONS MELSEC-Q Direct access to the receiving station When close to step 0 The link refresh and the direct access occur at almost the same time. (Link refresh) Link scan Sequence scan (Direct access) Link scan Sequence scan J1\B0 J1\B0 When close to END The direct access is faster by a maximum of one scan of a...
  • Page 94: Reduction Of The Link Scan Time

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

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION This chapter explains the procedures, settings, connections and testing that are required to start the data link operation. 4.1 Procedures Before Starting the Operation The following flowchart shows the procedures that are required to perform the data link operation: S ta rt...
  • Page 96: Component Names And Settings Of The Network Module (Qj71Lp21, Qj71Lp21-25, Qj71Lp21S-25, Qj71Lp21G, Qj71Lp21Ge, Qj71Br11)

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.2 Component Names and Settings of the Network Module (QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE, QJ71BR11) 2) STATION No. (factory default setting: 1): Station number setting switch QJ71LP21-25 This switch sets the station number on the same network. 1) LED displays T.PASS D.LINK...
  • Page 97 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 1) LED displays Name LED status Description Green on Module operating normally Watchdog timer error occurred (hardware error) Green on Operating as a control station or sub-control station Normal station (not operating as a control station or sub-control station) T.PASS Green on Executing baton pass (being joined in a network)
  • Page 98: Module Switch Settings

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3 Module Switch Settings This section explains the preparations that should be made prior to powering on the network module. 4.3.1 Setting the station number (STATION NO.) Set the station number of the network module in the network using the station number setting switches.
  • Page 99: Setting The Mode (Mode)

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3.2 Setting the mode (MODE) Set the operation mode of the network module using the mode setting switch. Set to Online (setting 0 or 4) after the standalone check (self-loopback test, internal self-loopback test, and hardware test) of the network module is completed.
  • Page 100: Installing And Uninstalling The Module

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

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q [Module handling precautions] • Since the module case is made of resin, do not drop it or subject it to strong impacts. • The module can be easily fixed onto the base unit using the hook at the top of the module.
  • Page 102: Checking The Input Power Supply Voltage

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.3.5 Checking the input power supply voltage Check that the supply power voltage to the power supply module is within the specifications. 4.4 Powering On Check the power supply to the network module. 4.4.1 Checking the on status of the POWER LED of the power supply module The POWER LED lights up at the same time when the programmable controller POWER...
  • Page 103: Standalone Check Of The Network Module (Offline Tests)

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5 Standalone Check of the Network Module (Offline Tests) Before executing the data link operation, check the network module and the cables. Select a test using the mode setting switch on the front of the network module. The following three test are available for the offline tests: (1) Self-loopback test (mode setting switch: 1 or 5) This test checks the hardware of the internal circuits, including the send/receive...
  • Page 104: Self-Loopback Test

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.1 Self-loopback test This test checks the hardware of a standalone network module, including the send/receive circuit and cable of the transmission system. POINT To perform the self-loopback test, be sure to connect the cable or terminal resistor. Do not connect or disconnect the cable or terminal resistor during execution of the test.
  • Page 105 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS In the MELSECNET/H, a link refresh is executed even when the module is offline. Thus, the user can check the testing status and the result with GX Developer or a sequence program using the link special registers.
  • Page 106: Internal Self-Loopback Test

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.2 Internal self-loopback test This test checks the hardware of a standalone network module, including the send/receive circuit of the transmission system. Do not connect the optical fiber cable with the QJ71LP21 network module (for the optical loop system).
  • Page 107: Hardware Test

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.5.3 Hardware test This test checks the hardware inside the network module. Connect the IN and OUT terminals of the QJ71LP21 network module (for the optical loop system) with an optical fiber cable. Do not connect cables or terminal resistors if the QJ71BR11 network module (for the coaxial bus system) is used.
  • Page 108: Cable Connection

    Maintain the bending radius of the optical fiber cable within the allowable range using a tool for securing the optical fiber cable bending radius. This tool may be purchased from Mitsubishi Electric System Service, Inc, or your nearest dealer. Please inquire for more information.
  • Page 109 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Cable connection How to connect the cable Connect the OUT and IN terminals with optical fiber cables as shown below. Note that there is no need to connect the cables in the order of station numbers.
  • Page 110 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q POINT Data link operation may be executed even if IN and IN or OUT and OUT are connected with an optical fiber cable. However, the loopback function, the network diagnostic function and some of other functions do not operate normally. So, make sure to connect OUT and IN.
  • Page 111: Coaxial Bus System

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.6.2 Coaxial bus system (1) Precautions in connecting Restrictions on the cable length between the stations When connecting between the network modules, the cable lengths indicated in the table below should be used according to the number of stations connected.
  • Page 112 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (c) When connecting a coaxial cable, the following restrictions on the bending radius must be observed. Allowable bending radius Connector Cable type 3C – 2V 23 mm (0.91 in.) 55 mm (2.17 in.) 5C –...
  • Page 113 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Cable connection Connection method Connect the coaxial cable as shown below. Always install a terminal resistor (sold separately: A6RCON-R75) to the stations connected at both ends. The F-type connector (A6RCON-F) comes with the module. Without a repeater module Control station Normal station...
  • Page 114 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q With a repeater module (branch connection) Normal station Normal station Control station Station No. 2 Station No. 3 Station No. 1 QJ71BR11 QJ71BR11 QJ71BR11 F-type connector F-type connector F-type connector A6RCON-F A6RCON-F A6RCON-F T-type connector...
  • Page 115 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q Installing the coaxial cable The following shows how to install the coaxial cable: Network module Start (Installation) Jack Turn OFF the power. Plug Projection Insert the plug by aligning the groove of the plug with the projection of the jack.
  • Page 116: Offline Tests From Gx Developer

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.7 Offline Tests from GX Developer The offline tests check the cable connection status using the network parameters of GX Developer. 4.7.1 Station-to-station test In the station-to-station test, the hardware of the network modules and cables between two adjacent stations can be checked.
  • Page 117 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (2) Setting the test mode Mode setting for the station-to-station test on a non-redundant system station Set the mode network parameters for station number n and station number n + 1 to "Test between master station" and "Test between slave station" respectively, and write the parameter settings to the CPU module.
  • Page 118 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (3) Starting the station-to-station test Perform the following on the other station first, and then the station executing the test. High Performance model QCPU, Process CPU, and Redundant CPU Set the RUN/STOP switch to STOP, and reset with the RESET/L.CLR switch.
  • Page 119 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q (4) Checking the test result The T.PASS LED of the network module flashes at approximately 0.5 s intervals. When the T. PASS LED flashes 20 times or more and if the ERR.LED does not flash, this condition indicates normal completion.
  • Page 120 4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q REMARKS The status during the test and the test result can be checked by link special registers or GX Developer. Baton pass status (host) SW0047 : Offline test Cause of baton pass interruption SW0048 : Offline test Offline test execution item/faulty...
  • Page 121: Forward Loop/Reverse Loop Test

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

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

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

    4 SETUP AND PROCEDURES BEFORE STARTING THE OPERATION MELSEC-Q 4.8.2 Setup confirmation test The switch settings of the network module can be checked with this test. The following three types of items can be checked: Control station duplicate check Station number duplicate check Matching between the network number set for the station to which GX Developer is connected and the network number set with a network parameter of the host...
  • Page 129: Station Order Check Test (Optical Loop System Only)

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

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

    5 PARAMETER SETTINGS MELSEC-Q 5 PARAMETER SETTINGS To run the MELSECNET/H, the parameters for the network module loaded to the programmable controller CPU must be set with GX Developer. Some parameters must be set, some must be set as appropriate, and some do not need to be set depending on the network configuration.
  • Page 132 5 PARAMETER SETTINGS MELSEC-Q (1) List of parameter settings for a single network system Necessity for setting by station type Parameter setting item Reference section Control station Normal station (MNET/H mode (MNET/H mode Network type (control station), MNET/H (normal station), MNET/H Section 5.1 EX (control station)) EX (normal station))
  • Page 133 5 PARAMETER SETTINGS MELSEC-Q (2) List of parameter settings for a redundant system Necessity for setting by station type Parameter setting item Reference section Control station Normal station (MNET/H mode (MNET/H mode Network type Section 5.1 (control station)) (normal station)) Starting I/O No.
  • Page 134 5 PARAMETER SETTINGS MELSEC-Q (3) List of parameter settings for a simplified redundant system Necessity for setting by station type Parameter setting item Reference section Control station Normal station Standby station (MNET/H mode (MNET/H mode (control station), (normal station), (MNET/H Network type Section 5.1 MNET/H EX...
  • Page 135 5 PARAMETER SETTINGS MELSEC-Q (4) List of parameter settings for multiple network systems Necessity for setting by station type Parameter setting item Reference section Control station Normal station Standby station (MNET/H mode (MNET/H mode (control station), (normal station), (MNET/H Network type Section 5.1 MNET/H EX MNET/H EX...
  • Page 136 5 PARAMETER SETTINGS MELSEC-Q (5) When parameters have not been set (other than Universal model QCPU and safety CPU) For network modules, parameters must be set. If parameters have not been set, data link will be executed as described below. Operation When network parameters have not been set Item...
  • Page 137: Setting The Number Of Modules (Network Type)

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

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

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

    5 PARAMETER SETTINGS MELSEC-Q 5.2.5 Mode Set the operation mode of the network module. The mode selection with this parameter becomes valid when the mode setting switch of the network module is set to 0 or 4. Selection item Description Online This mode performs normal operations (the station returns to the network).
  • Page 142: Example Of Parameter Settings

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

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

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

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

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

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

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

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

    5 PARAMETER SETTINGS MELSEC-Q 5.7.1 Concept of the link refreshing (1) Link refresh ranges The ranges that are set in Refresh parameters and that are set with common parameters are refreshed. QCPU Network modules Station-specific Common Device parameters parameters Range of all stations set with Range that Link refresh...
  • Page 158 5 PARAMETER SETTINGS MELSEC-Q POINT To use the entire device range (16K points) of LB/LW, either of the following settings must be made: Change the number of device points of B/W. In the refresh parameters, use devices other than B/W for the refresh target device of LB/LW.
  • Page 159: How To Set The Refresh Parameters

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

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

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

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

    POINT The Q series uses the link special relays (SB) and the link special registers (SW) in the entire intelligent function module. Therefore, it is important to manage SB/SW properly so that duplicate SBs and SWs are not used in a program.
  • Page 173 6 PROGRAMMING MELSEC-Q List of Interlock Devices Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the network module status. SB0020 Module status Off: Normal (32) On: Abnormal Indicates the host's baton pass status (transient transmission enabled).
  • Page 174 6 PROGRAMMING MELSEC-Q List of Interlock Devices (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the cyclic transmission status of each station (including the host).
  • Page 175: Program Example

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

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

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

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

    6 PROGRAMMING MELSEC-Q 6.3 Link dedicated Instruction List The following table outlines the instructions that can be used for the MELSECNET/H. For details on the format and program examples of each instruction, see the applicable section listed in the Reference section column. Link dedicated Instruction List : Can be used by both the control and normal stations : Cannot be used...
  • Page 181 6 PROGRAMMING MELSEC-Q Link dedicated Instruction List : Can be used by both the control and normal stations : Cannot be used Executing Reference Target station Name Description Instruction station section QCPU QCPU QnACPU AnUCPU Issues "remote RUN/STOP" 1 and "clock data read/write" 2 requests to other stations.
  • Page 182 6 PROGRAMMING MELSEC-Q Link dedicated Instruction List : Can be used by both the control and normal stations : Cannot be used Executing Reference Target station Name Description Instruction station section QCPU QCPU QnACPU AnUCPU "Remote RUN" performed for other stations' CPU modules 1 Network module Network module Channel 1...
  • Page 183 6 PROGRAMMING MELSEC-Q POINT (1) Link dedicated instructions must be executed in online mode. Execution of the link dedicated instructions is not allowed in offline mode. (2) Turn off the executing link instruction after the completion device turns on. (3) When the link dedicated instruction is used to access the other station programmable controller during network diagnosis, the execution of the link dedicated instruction may be delayed.
  • Page 184: Using The Link Special Relays (Sb)/Link Special Registers (Sw)

    6 PROGRAMMING MELSEC-Q 6.4 Using the Link Special Relays (SB)/Link Special Registers (SW) The data linking information is stored in the link special relays (SB)/link special registers (SW). They can be used by the sequence programs, or used for investigating faulty areas and the causes of errors by monitoring them.
  • Page 185 6 PROGRAMMING MELSEC-Q (Cyclic transmission restart) In the following link special register (SW), specify a station for restarting cyclic transmission. • Specification of target station Link stop/startup direction content (SW0000) • Specification of station No. Link stop/startup direction content (SW0001 to SW0004) Turn System link startup (SB0002) ON.
  • Page 186 6 PROGRAMMING MELSEC-Q (b) Cyclic transmission stop/restart of the host (Cyclic transmission stop) Turn Link stop (host) (SB0001) ON. When the network module accepts a request, Cyclic transmission stop acknowledgment status (host) (SB004E) is turned ON. When the cyclic transmission stop is completed, Cyclic transmission stop completion status (host) (SB004F) is turned ON.
  • Page 187 6 PROGRAMMING MELSEC-Q (2) Checking data link The data link status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Sections 8.1.1 and 8.1.2.) (a) Check the data link status of other stations Link scan time etc., can be checked in SW005A to SW005B and SW006B to SW006D.
  • Page 188 6 PROGRAMMING MELSEC-Q (b) Checking data link status of the host Link scan time etc., can be checked in SW005A to SW005B and SW006B to SW006D. If an error occurs to data link, either of the following link special relays (SB) will be turned ON.
  • Page 189 6 PROGRAMMING MELSEC-Q (3) Checking transient transmission errors Transient transmission errors are checked through the GX Developer network diagnostics, but they also can be checked with link special relays (SB) and link special registers (SW). (Refer to Section 8.1.4) When a transient transmission error occurs, Transient error (SB00EE) is turned ON.
  • Page 190 6 PROGRAMMING MELSEC-Q (4) Checking the low-speed cyclic transmission status The status of the low-speed cyclic transmission can be checked with link special relays (SB) and link special registers (SW). When cyclic transmission settings are configured with common parameters, Low-speed cyclic designation (SB0059) turns ON. If an error occurs at start of low-speed cyclic transmission, an error code is stored in Low-speed cyclic transmission start execution results (SW00EC).
  • Page 191 6 PROGRAMMING MELSEC-Q (5) Checking cables for faults The cable condition can be checked not only in the network diagnostics of GX Developer but also with link special relays (SB) and link special registers (SW). (Refer to Section 8.1.4.) When a communication error occurs due to a cable fault, the error count is stored in any of the link special registers (SW) in the table below.
  • Page 192 6 PROGRAMMING MELSEC-Q (6) Checking the forward/reverse loop in the optical loop system The forward/reverse loop in the optical loop system can be checked not only in the network diagnostics of GX Developer but also with link special relays (SB) and link special registers (SW).
  • Page 193 6 PROGRAMMING MELSEC-Q (b) Checking the forward/reverse loop of the host When an error occurs on the forward or reverse loop, Host loop status (SB0090) turns ON. If loopback occurs, the cause of the loopback is stored in Loop switch data (SW00D0 to SW00DF).
  • Page 194 6 PROGRAMMING MELSEC-Q (7) Checking the offline test status The test status is checked through the LEDs on the network module, but it also can be checked with link special relays (SB) and link special registers (SW). (Refer to Sections 4.5 and 4.7.) (a) Requesting side When the offline test is instructed, Offline test instruction (SB00AC) is turned ON.
  • Page 195 6 PROGRAMMING MELSEC-Q (8) Checking the online test status The test status is checked through LED of the network module main frame, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Section 4.8.) Requesting side When the online test is instructed, Online test instruction (SB00A8) is turned ON.
  • Page 196 6 PROGRAMMING MELSEC-Q (9) Checking parameter status The reflection status and setting contents of parameters can be checked with link special relay (SB) and link special register (SW). (a) Checking parameter status of other stations Check the following link special relay (SB) and link special register (SW) with the master station.
  • Page 197 6 PROGRAMMING MELSEC-Q (b) Checking the parameter status of the host (including the switch setting on the network module) Upon completion of receiving parameters, Parameter receive status (SB0054) is turned OFF. If any error is found in the parameters, the following link special relays (SB) are turned ON.
  • Page 198 6 PROGRAMMING MELSEC-Q (10) Checking CPU module status The CPU module status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Sections 8.1.2 and 8.1.3.) (a) Checking the CPU module status of other stations Whether the CPU module is in RUN status or STOP status can be checked with the following link special relay (SB) and link special...
  • Page 199 6 PROGRAMMING MELSEC-Q (11) Checking the multiplex transmission status The multiplex transmission status is checked through the GX Developer network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Section 8.1.3.) If the "With multiplex transmission"...
  • Page 200 6 PROGRAMMING MELSEC-Q (b) Checking the redundant system status When a Redundant CPU in separate mode exists, Redundant system status (1) (SB01F4) is ON. The operation mode of a redundant CPU can be checked in Redundant system status (1) (SW01F4 to SW01F7). When any pairing setting exists, Redundant system status (2) (SB01F8) is ON.
  • Page 201 6 PROGRAMMING MELSEC-Q (13) Setting a link dedicated instruction and checking the processing result With link special relays (SB) and link special registers (SW), link dedicated instructions can be set and the processing results can be checked. Link dedicated instructions can be set with the following link special registers (SW).
  • Page 202 6 PROGRAMMING MELSEC-Q (14) Checking the network module status The network module status is checked through the network diagnostics, but it also can be checked with link special relay (SB) and link special register (SW). (Refer to Section 8.1) (a) Checking the error details When an error occurs to the network module, Module status (SB0020) is turned ON.
  • Page 203: Application Functions

    7 APPLICATION FUNCTIONS MELSEC-Q 7 APPLICATION FUNCTIONS When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control. Chapter 3 Basic Cyclic transmission function Communication using LB/LW ·...
  • Page 204: Direct Access To The Link Devices

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

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

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

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

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

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

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

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

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

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

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

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 Programming This section describes the formats of dedicated instructions available for network modules and program examples. POINT The descriptions in this section are based on the MELSECNET/H specifications. For access to CC-Link IE controller network, refer to the reference manual for the CC-Link IE controller network.
  • Page 233 7 APPLICATION FUNCTIONS MELSEC-Q (Example 1) When using the same channel with multiple instructions One network module has 8 channels for executing instructions. Although these channels can be used at the same time, the same channel cannot be concurrently used for multiple instructions. If execution of multiple instructions are attempted at the same time on the same channel, those to be executed later have to wait.
  • Page 234 7 APPLICATION FUNCTIONS MELSEC-Q POINT (1) When simultaneously accessing multiple other stations from the host station, change the channel setting of the host station for each request target. Station No.3 Station No.1 (Host station) (Other station) WRITE Channel 1 Channel 1: Write to station No.1 Channel 2: Read from station No.1 Channel 2 READ...
  • Page 235 7 APPLICATION FUNCTIONS MELSEC-Q (Example 2) When executing instructions from a redundant system If system switching occurs in a redundant system during execution of an instruction, the instruction will be discontinued in the redundant CPU of the new control system and will not be completed. Using SM1518 (one scan ON after system switching) and the complete signal, create a program so that any instruction being executed will be continued by the new control system even if system switching occurs in...
  • Page 236: 1) Data Sending/Receiving (Jp/Gp.send, Jp/Gp.recv)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (1) Data sending/receiving (JP/GP.SEND, JP/GP.RECV) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 The following explains the SEND/RECV instruction format and a program example: Instruction format JP/GP.SEND [Network No.
  • Page 237 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side 1) Execution type (bit 0) 0: No arrival confirmation When the target station is on the local network: Completed when data is sent from the host. Execution Target source...
  • Page 238 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Designates the target station number. 1 to 64 : Station number to A0 : Group designation (Valid when the execution type designated in (S1) is "0: No arrival confirmation.") (S1)+5 Target station number...
  • Page 239 7 APPLICATION FUNCTIONS MELSEC-Q POINT In order to improve the reliability of data, it is recommended to execute instructions by setting the execution type to "With arrival confirmation." If the communication itself is normally completed when the execution type is set to "No arrival confirmation,"...
  • Page 240 7 APPLICATION FUNCTIONS MELSEC-Q JP/GP.RECV [Network No. designation] Receive command JP.RECV (S1) (D1) (D2) JP: Executed at startup [Network module start I/O No. designation] Receive command GP.RECV (S1) (D1) (D2) GP: Executed at startup Description of setting Setting range 1 to 239 Host's network No.
  • Page 241 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side (S1) Abnormal completion type User 1) Abnormal completion type (bit 7) Sets the clock data set status at abnormal completion. 0: Does not set clock data : Does not store the clock data at error occurrence in (S1) + 11 to (S1) + 17.
  • Page 242 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Year (the higher two digits of the 4-digit year) and day of the week are stored as BCD codes. Year (higher two digits)/day (S1)+15 of the week of abnormal System (Sunday) to Year (00...
  • Page 243 7 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion SEND (When with arrival confirmation) Sequence scan Send command Sending station CPU Send completion device (Device designated in (D1)) One scan Send completion device (Device at (D1)+1) Network module Channel 1 Data Storage sending...
  • Page 244 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [In case of the SEND instruction] SEND Sequence scan Send command Sending station CPU Send completion device (Device designated in (D1)) Send completion device (Device at (D1)+1) One scan Completion status Error code (Device at (S1)+1) Network module Channel 1 Data...
  • Page 245 7 APPLICATION FUNCTIONS MELSEC-Q Program example 1 (target station is designated) Station number 3 uses channel 3 and sends data to the target station of station number 15's storage channel 5 (logical channel 5) using the SEND instruction. Upon receiving the data, station number 15 reads data from channel 5. Network module Network module (station No.
  • Page 246 7 APPLICATION FUNCTIONS MELSEC-Q Program for station number 15 (RECV instruction) When actually using the following program, interlock the program by seeing to Section 6.1. Control data setting command Set the clock data Host storage channel Arrival monitoring time (20 s) Receive command SB00A4: RECV instruction execution request flag (for channel 5)
  • Page 247 7 APPLICATION FUNCTIONS MELSEC-Q Program example 2 (logical channel numbers are used) Station number 1 uses channel 2 and sends message data to the target station storage channel number 13 (logical channel 13) using the SEND instruction. Station number 2 executes the RECV instruction and reads the received data from channel 5 (logical channel 13).
  • Page 248 7 APPLICATION FUNCTIONS MELSEC-Q Program for station number 1 (SEND instruction) When using the following program, interlock the program by seeing Section 6.1. Control data setting command No arrival confirmation/set clock data Channel 2 used by the host Target station storage channel (logical channel No. 13) Target station network No.
  • Page 249 7 APPLICATION FUNCTIONS MELSEC-Q Program for receiving station (station number 2) (RECV instruction) When using the following program, interlock the program by seeing Section 6.1. Control data setting command Set clock data Channel 5 used by the host Set logical channel No. 13 for channel 5 Arrival monitoring time (20 s) Receive instruction SB00A4: READ instruction execution request flag...
  • Page 250 7 APPLICATION FUNCTIONS MELSEC-Q Program example 3 (when designating a target station to execute an instruction to the redundant system) When the target station is in a redundant system, the SEND instruction must be executed after judging whether it is a control system. If the target station is on the standby system, the RECV instruction is not executed and the target station saving channel is not available.
  • Page 251 7 APPLICATION FUNCTIONS MELSEC-Q POINT When the SEND instruction is executed to the redundant system, the processing of the RECV instruction and interrupt program (RECVS instruction) depends on the following conditions: When the SEND instruction is executed to the control system and the system is switched before execution of the RECV instruction and the interrupt program If the control system is switched to the standby system before execution of...
  • Page 252: 2) Reading From/Writing To Word Devices Of Other Stations (Jp/Gp.read, Jp/Gp.sread, Jp/Gp.write, Jp/Gp.swrite)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (2) Reading from/writing to word devices of other stations (JP/GP.READ, JP/GP.SREAD, JP/GP.WRITE, JP/GP.SWRITE) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 The following explains the READ/WRITE instruction format and some program examples.
  • Page 253 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range 1 to 239 Host’s network No. 254: Network designated by valid module during other station access Start I/O number of the host's network module 0 to FE Designate the higher two digits of the 3-digit I/O number. Control data storage head device (S1) Designate the head device of the host that stores the control...
  • Page 254 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side (S1) Abnormal completion type User 1) Abnormal completion type (bit 7) Sets the clock data set status at abnormal completion. 0: Does not set clock data : Does not store the clock data at error occurrence in (S1) + 11 to (S1) + 17.
  • Page 255 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Set the monitoring time until completion of an instruction. When the instruction fails to complete within the monitoring time, it is resent for the number of (S1)+8 Arrival monitoring time User...
  • Page 256 7 APPLICATION FUNCTIONS MELSEC-Q POINT When the target station of the SREAD instruction is the Basic model QCPU or safety CPU, the read notification device for the target station set in the argument (D3) is ignored. The operation of the SREAD instruction is the same as that of the READ instruction.
  • Page 257 7 APPLICATION FUNCTIONS MELSEC-Q JP/GP.WRITE, JP/GP.SWRITE [Network No. designation] Write command JP.WRITE (S1) (S2) (D1) (D2) JP: Executed at startup Write command JP.SWRITE (S1) (S2) (D1) (D2) (D3) JP: Executed at startup [Network module start I/O No. designation] Write command (S1) (S2) (D1)
  • Page 258 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range 1 to 239 Host's network No. 254: Network designated by valid module during other station access Start I/O number of the host's network module 0 to FE Designate the higher two digits of the 3-digit I/O number. Control data storage head device (S1) Word device...
  • Page 259 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side 1) Execution type (bit 0) 0: No arrival confirmation When the target station is on the local network: Completed when data is sent from the host. Execution Target source...
  • Page 260 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Designate the CPU type of the target station. Set value Description Target station CPU/control CPU/host system CPU 0000 (The designation is the same as "03FF .") 03D0 Control system CPU...
  • Page 261 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Month and year (the lower two digits of the 4-digit year) are stored as BCD codes. Month/year (lower two (S1)+12 digits) of abnormal System Month (01 to 12 Year (00 to 99...
  • Page 262 7 APPLICATION FUNCTIONS MELSEC-Q POINT (1) When the target station of the SWRITE instruction is the Basic model QCPU or safety CPU, the write notification device for the target station set in the argument (D3) is ignored. The operation of the SWRITE instruction is the same as that of the WRITE instruction.
  • Page 263 7 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [READ and SREAD instructions] READ Sequence scan Read command Read completion device Host CPU (Device designated in (D2)) One scan Read completion device (Device at (D2)+1) Read data storage device (Device designated in (D1)) Network module Channel 1 Network module...
  • Page 264 7 APPLICATION FUNCTIONS MELSEC-Q [WRITE and SWRITE instructions] WRITE Sequence scan Write command Host CPU Write completion device (Device designated in (D2)) One scan Write completion device (Device at (D2)+1) Write data storage device 3000 (Device designated in (S2)) Network module Channel 1 Network module Sequence scan...
  • Page 265 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [READ and SREAD instructions] READ Sequence scan Read command Read completion device Host CPU (Device designated in (D2)) Read completion device (Device at (D2)+1) One scan Completion status Error code (Device at (S1)+1) Network module Channel 1 Target station error...
  • Page 266 7 APPLICATION FUNCTIONS MELSEC-Q Program example Read the data in D10 to D14 of station number 4 to D200 to D204 of station number 1. Read the data in SD0 (diagnostic error) of station number 4 to D210 of station number 1. Write the data stored in D300 to D303 of station number 2 to D50 to D53 of station number 3.
  • Page 267 7 APPLICATION FUNCTIONS MELSEC-Q Program for station number 1 (READ instruction) When actually using the following program, interlock the program by seeing Section 6.1. (When reading the data in D10 to D14 of station number 4 to D200 to D204 of station number 1) Control data setting command Set clock data Channel used by the host...
  • Page 268 7 APPLICATION FUNCTIONS MELSEC-Q Program for station number 2 (SWRITE instruction) When actually using the following program, interlock the program by seeing Section 6.1. Control data setting command With arrival confirmation/set clock data Channel used by the host Target station CPU type Target station network No.
  • Page 269: 3) Requesting Transient Transmission To Other Stations (J(P)/G(P).Req)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (3) Requesting transient transmission to other stations (J(P)/G(P).REQ) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 Instruction format [Network No. designation] Execute command (S1) (S2) (D1) (D2) J.REQ...
  • Page 270 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side (S1) Abnormal completion type User 1) Abnormal completion type (bit 7) Sets the clock data set status at abnormal completion. 0: Does not set clock data : Does not store the clock data at error occurrence in (S1) + 11 to (S1) + 17.
  • Page 271 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side 1) At instruction execution Sets the number of resends when the instruction fails to complete within the monitoring time designated by (S1) + 8. User (S1)+7 Number of resends 0 to 15 (times)
  • Page 272 7 APPLICATION FUNCTIONS MELSEC-Q [Request data (S2)/response data(D1) (for reading/writing the clock data)] Request data (all set by the user ( )) Clock data Clock data Device Item Description read write 0001 : Clock data read (S2) Request type 0011 : Clock data write (when the station number is designated at (S1) + 5) 0031 : Clock data write (when all stations or a group is designated at (S1) + 5)
  • Page 273 7 APPLICATION FUNCTIONS MELSEC-Q Response data (all set by the system ( )) When "all stations or a group (FF or 81 to A0 )" is specified in Target station number ((S1)+5), no response data will be stored. Clock data Clock data Device Item...
  • Page 274 7 APPLICATION FUNCTIONS MELSEC-Q [Request data (S2)/response data (D1) at remote RUN/STOP] Request data (all set by the user ( )) Remote Remote Device Item Description STOP 0010 : When the station number is designated at (S1) + 5 (S2) Request type 0030 : When all stations or a group is designated at (S1) + 5...
  • Page 275 7 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion Sequence scan Execute command Host CPU Execution completion device (Device designated in (D2)) One scan Execution completion device (Device at (D2)+1) Network module Channel 1 Network module Sequence scan Target station CPU Remote RUN/STOP Clock data read/write 7 - 73...
  • Page 276 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion Sequence scan Execute command Host CPU Execution completion device (Device designated in (D2)) Execution completion device (Device at (D2)+1) One scan Completion status Error code (Device at (S1)+1) Channel 1 Network module Target station error 7 - 74 7 - 74...
  • Page 277 7 APPLICATION FUNCTIONS MELSEC-Q Program example The following example shows a program that stops the CPU module of station number 13 in network number 7. When using the following program, interlock the program by seeing Section 6.1. Control data setting command Set clock data Channel used by the host Target station CPU type...
  • Page 278: 4) Reading/Writing Word Devices Of Other Stations (J(P).Znrd, J(P).Znwr)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (4) Reading/writing word devices of other stations (J(P).ZNRD, J(P).ZNWR) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 The following explains the ZNRD/ZNWR instruction format and some program examples.
  • Page 279 7 APPLICATION FUNCTIONS MELSEC-Q 5: In addition to the setting data, the ZNRD instruction is executed using the following fixed values. Channel used by host station: Channel 1 Arrival monitoring time (monitoring time until instruction completion): 10 seconds Number of resends for arrival monitoring timeout: 0 times POINT Specify the device of the other station CPU module to be read with the ZNRD instruction within the range available for the host CPU module.
  • Page 280 7 APPLICATION FUNCTIONS MELSEC-Q J(P).ZNWR instruction [Network No. designation] Write command J.ZNWR (D1) (S1) (D2) J: Executed when on Write command JP.ZNWR JP: Executed at startup (D1) (S1) (D2) Description of setting Setting range Target network No. 1 to 239 1 to 64 (Constant) to A0 : Group designation...
  • Page 281 7 APPLICATION FUNCTIONS MELSEC-Q POINT Specify the device of the other station CPU module to be written with the ZNWR instruction within the range available for the host CPU module. (Head device No. (D1) of write target of other station CPU module) + (Number of write points - 1) (Last device No.
  • Page 282 7 APPLICATION FUNCTIONS MELSEC-Q [ZNWR instruction] ZNWR Sequence scan Write command Write completion device Host CPU (Device designated in (D2)) One scan Write completion device (Device at (D2)+1) Write data storage device 3000 (Device designated in (S1)) Network module Channel 2(fixed) Network module Sequence scan Target station CPU...
  • Page 283 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [ZNRD instruction] ZNRD Sequence scan Read command Host CPU Read completion device (Device designated in (D2)) Read completion device (Device at (D2)+1) One scan Error code SW0031 Network module Channel 1(fixed) Target station error [ZNWR instruction] ZNWR Sequence scan...
  • Page 284 7 APPLICATION FUNCTIONS MELSEC-Q Program example 1 (When a system other than the redundant system is the target system) The program examples shown below are programmed for the following system configuration. When actually using the programs below, interlock the programs by seeing Section 6.1.
  • Page 285 7 APPLICATION FUNCTIONS MELSEC-Q Program example 2 (when a redundant system is the target system) When the target station is in a redundant system, the ZNRD instruction must be executed after judging whether it is a control system. The program example shown below is an interlock program for reading D10 to D14 of the control system CPU of the redundant system consisting of station Nos.
  • Page 286: 5) Remote Run/Remote Stop (Z(P).Rrun, Z(P).Rstop)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (5) Remote RUN/Remote STOP (Z(P).RRUN, Z(P).RSTOP) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 This section explains the RRUN and RSTOP instruction formats, and provides program samples. The RRUN instruction runs other station CPU module operations remotely.
  • Page 287 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range Designate the CPU type of the target station. Set value Description Target station CPU/control CPU/host system CPU (The 0000 designation is the same as "03FF .") 03D0 3 Control system CPU 03D1 3 Standby system CPU 03D2...
  • Page 288 7 APPLICATION FUNCTIONS MELSEC-Q Z(P).RSTOP [Network No. designation] Execution command Z: Executed when ON Z.RSTOP "Jn" Execution command ZP.RSTOP ZP: Executed during start-up "Jn" [Network module starting I/O number designation] Execution instruction Z: Executed when ON Z.RSTOP "Un" n1 Execution instruction ZP.RSTOP "Un"...
  • Page 289 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range Designate the CPU type of the target station. Set value Description Target station CPU/control station CPU/host system CPU 0000 (The designation is the same as "03FF .") 03D0 2 Control system CPU 03D1 2 Standby system CPU 03D2...
  • Page 290 7 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [RRUN instruction] RRUN Sequence scan Execution command Host CPU Execution completion device (device specified with (D)) One scan Execution completion device (device specified with (D)+1) Network module Channel 1 Network module When stopped When stopped Sequence scan...
  • Page 291 7 APPLICATION FUNCTIONS MELSEC-Q [RSTOP instruction] RSTOP Sequence scan Execution command Host CPU Execution completion device (device specified with (D)) One scan Execution completion device (device specified with (D)+1) Network module Channel 1 Network module When stopped Sequence scan Target station's CPU Remote STOP According to the system organization, sequence scan time, etc., several scans will be run until the sequence scan STOP instruction...
  • Page 292 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [RRUN instruction] RRUN Sequence scan Execution command Host CPU Execution completion device One scan (device specified with (D)) Execution completion device (device specified with (D)+1) SW0031 Error code Network module Channel 1 Target station error [RSTOP instruction] RSTOP Sequence scan...
  • Page 293 7 APPLICATION FUNCTIONS MELSEC-Q Program examples The program examples shown below are programmed for the following system configuration. When actually using the programs below, interlock the programs by seeing Section 6.1. Station No. 1 Station No. 2 QCPU QX40 QY40P QCPU QX40 QY40P QJ71...
  • Page 294: 6) Reading And Writing Clock Data Of Other Station Cpu Modules (Z(P).Rtmrd, Z(P).Rtmwr)

    7 APPLICATION FUNCTIONS MELSEC-Q 7.4.5 (6) Reading and writing clock data of other station CPU modules (Z(P).RTMRD, Z(P).RTMWR) Target station QCPU QnACPU AnUCPU : For link dedicated instruction for the safety CPU, refer to Section 6.3 This section explains the RTMRD and RTMWR instruction formats, and provides program samples.
  • Page 295 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range Designate the CPU type of the target station. Set value Description Target station CPU/control CPU/host system CPU (The 0000 designation is the same as "03FF .") 03D0 1 Control system CPU 03D1 1 Standby system CPU 03D2...
  • Page 296 7 APPLICATION FUNCTIONS MELSEC-Q Z(P).RTMWR [Network No. designation] Write command Z: Executed when ON Z.RTMWR "Jn" (D1) (D2) Write command ZP.RTMWR ZP: Executed during start-up "Jn" n3 (D1) (D2) [Network module starting I/O number designation] Write instruction Z.RTMWR "Un" n1 (D1) (D2) Z: Executed when ON...
  • Page 297 7 APPLICATION FUNCTIONS MELSEC-Q Description of setting Setting range (D1) First device storing the write clock data Word device Completion device (host) Designate the host device to set scan 1 at ON when execution has been completed. Bit device (D2) (D2)……..
  • Page 298 7 APPLICATION FUNCTIONS MELSEC-Q Instruction execution timing Normal completion [RTMRD instruction] RTMRD Sequence scan Read command Read completion device Host CPU (device specified with (D2)) One scan Read completion device (device specified with (D2)+1) Device for storing the read Clock data clock data (device specified with (D1)) Network module...
  • Page 299 7 APPLICATION FUNCTIONS MELSEC-Q [RTMWR instruction] RTMWR Sequence scan Write command Write completion device Host CPU (device specified with (D2)) One scan Write completion device (device specified with (D2)+1) Device for storing the Clock data written clock data (device specified with (D1)) Channel 1 Network module Network module...
  • Page 300 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion [RTMRD instruction] RTMRD Sequence scan Read command Read completion device Host CPU (device specified with (D2)) Read completion device (device specified with One scan (D2)+1) Error code SW0031 Network module Channel 1 Target station error [RTMWR instruction] RTMWR Sequence scan...
  • Page 301 7 APPLICATION FUNCTIONS MELSEC-Q Program examples The program examples shown below are programmed for the following system configuration. When actually using the programs below, interlock the programs by seeing Section 6.1. Station No. 1 Station No. 2 QJ71 QCPU QX40 QY40P QCPU QJ71 QX40 QY40P...
  • Page 302: Setting The Clock On The Stations On A Network With Gx Developer

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

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

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

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

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

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

    7 APPLICATION FUNCTIONS MELSEC-Q 7.5.5 Message reception "one scan completion" instruction (Z.RECVS) This instruction reads the channel data that is sent to the host with the SEND instruction. The processing completes at the execution of this instruction; thus, the processing speed of this instruction is faster than that of the RECV instruction.
  • Page 311 7 APPLICATION FUNCTIONS MELSEC-Q Detailed description of the control data Device Item Description Setting side Abnormal completion (S1) User 1) Abnormal completion type (bit 7) type Sets the clock data set status at abnormal completion. 0: Does not set clock data : Do not store the clock data at error occurrence in (S1) + 11 to (S1) + 17. 1: Sets clock data : Stores the clock data at error occurrence in (S1) + 11 to (S1) + 17.
  • Page 312 7 APPLICATION FUNCTIONS MELSEC-Q (2) Instruction execution timing Normal completion SEND (With arrival confirmation) Sequence scan Send command Sending side CPU Send completion device (Device designated in One scan (D1)) Send completion device (Device designated in (D1)+1) Channel 1 Network module Data Storage sending...
  • Page 313 7 APPLICATION FUNCTIONS MELSEC-Q Abnormal completion In case of the SEND instruction SEND Sequence scan Send command Send completion device Sending side CPU (Device designated in (D1)) Send completion device (Device designated in One scan (D1)+1) Completion status Error code (Device designated in (S1)+1) Channel 1...
  • Page 314: Application Example

    7 APPLICATION FUNCTIONS MELSEC-Q 7.5.6 Application example The following explains the parameter settings and program examples. Network module Network module Station No. 3 Station No. 15 Channel 1 Channel 1 Interrupt program execution Channel 2 Channel 2 Channel 3 Channel 3 SEND RECVS Channel 4...
  • Page 315 7 APPLICATION FUNCTIONS MELSEC-Q (3) Program examples Program for station number 3 When actually using the following program, interlock the program by referring to Section 6.1. Control data setting command With arrival confirmation/set clock data Channel used by the host Target station storage channel Target station network No.
  • Page 316: Multiplex Transmission Function (Optical Loop System)

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

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

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

    7 APPLICATION FUNCTIONS MELSEC-Q 7.9 Increasing the Number of Send Points by Installing Multiple Modules with the Same Network (High Performance model QCPU, Process CPU, Redundant CPU, and Universal model QCPU) The number of send points (maximum of 2,000 bytes per station) can be increased up to a maximum of 8,000 bytes (when four cards are installed) by installing multiple network modules with the same network number to one CPU module.
  • Page 326 7 APPLICATION FUNCTIONS MELSEC-Q POINT The following precautions should be observed when installing multiple network modules with the same network number to one CPU module: They cannot be set to the same station number. Multiple stations cannot be set as control stations. The "youngest number"...
  • Page 327: Constructing A Network With A Redundant System

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

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.2 Precautions for network construction containing a redundant system This section describes precautions when constructing a MELSECNET/H or MELSECNET/10 network containing a redundant system. When constructing such a network, pay careful attentions to the following points. For further information, refer to (1) and (2) of this section.
  • Page 331 7 APPLICATION FUNCTIONS MELSEC-Q (1) Constructing a MELSECNET/H network containing a redundant system When constructing a MELSECNET/H network containing a redundant system or when connecting a redundant system to an existing MELSECNET/H, follow the restrictions shown below. (a) When constructing a new MELSECNET/H network containing a redundant system To construct a new MELSECNET/H network containing a redundant system, use the following network modules and GX Developer.
  • Page 332 7 APPLICATION FUNCTIONS MELSEC-Q Function versions of network modules Station type CPU type Function version of network module Q12PRH/Q25PRHCPU Q00J/Q00/Q01CPU Q02/Q02H/Q06H/Q12H/Q25HCPU Q02PH/Q06PH/Q12PH/ Function version D or later Control Q25PHCPU station Q02U/Q03UD/Q04UDH/ Q06UDH/Q13UDH/Q26UDH/ Q03UDE/Q04UDEH/Q06UDEH/ Q13UDEH/Q26UDEHCPU QS001CPU Setting not available Q12PRH/Q25PRHCPU Function version D or later Q00J/Q00/Q01CPU Q02/Q02H/Q06H/Q12H/Q25HCPU Q02PH/Q06PH/Q12PH/...
  • Page 333 7 APPLICATION FUNCTIONS MELSEC-Q 2) Versions of GX Developer for setting parameters Version of GX Station type CPU type Developer Q12PRH/Q25PRHCPU Redundant system Single CPU system Q00J/Q00/Q01CPU Version 8.18U or later Multiple CPU system Single CPU system Q02/Q02H/Q06H/Q12/Q25HCPU Multiple CPU system Single CPU system Q02PH/Q06PHCPU Version 8.68W or later...
  • Page 334 7 APPLICATION FUNCTIONS MELSEC-Q (b) When connecting a redundant system to an existing MELSECNET/H network The method for constructing a network depends on conditions 1) and 2) shown below. When connecting a redundant system as the control station Change the previous control station to a normal station, and connect a redundant system.
  • Page 335 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system as normal stations Replace the network module of the control station with a network module of function version D or later (it is not necessary to change the CPU module). After changing the network module of the control station, use GX Developer of version 8.18U or later to make the network parameter setting again.
  • Page 336 7 APPLICATION FUNCTIONS MELSEC-Q (b) When connecting a redundant system as normal stations Connecting a redundant system as normal stations to a MELSECNET/10 including a QCPU (other than the redundant CPU) station acting as a control station Replace the network module of the control station with a network module of function version D or later (it is not necessary to change the CPU module).
  • Page 337 7 APPLICATION FUNCTIONS MELSEC-Q When connecting a redundant system as normal stations to a MELSECNET/10 including an AnUCPU or QnACPU station acting as a control station The network module installed with an AnUCPU or QnACPU cannot be set as a control station if a redundant system using Q4ARCPUs or redundant CPUs exists in the network.
  • Page 338: Pairing Setting At A Redundant System

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.3 Pairing setting at a redundant system A redundant system consists of a control system and a standby system. In pairing setting, set a combination of the station numbers of the network modules making up the redundant system. When there is a redundant system in the network, the pairing setting must be done with the common parameters of the control station *1: For the control station, use a network module of function version D or later.
  • Page 339 7 APPLICATION FUNCTIONS MELSEC-Q (2) Setting example and cyclic transmission The following system configuration example is used to describe a setting example and cyclic transmission. Confirm that the network modules set for Set two adjoining station pairing are connected to the redundant CPUs. numbers as a pair.
  • Page 340 7 APPLICATION FUNCTIONS MELSEC-Q Cyclic transmission [When the redundant system is in normal communication] Redundant system Station No. 1 Station No. 2 Station No. 3 Station No. 4 (control system) (standby system) Host station 0000 Station No. 1 (2) Station No. 1 (2) send range Received data Received data...
  • Page 341 7 APPLICATION FUNCTIONS MELSEC-Q [When station No. 1 is returned to the system] When station No. 1 separated due to a communication error is returned to the system, the redundant CPU installed with the station No. 1 network module becomes the standby system CPU (system switching will not occur in the redundant system). Cyclic transmission after recovery from a communication error is shown below.
  • Page 342: Redundant Settings In The Redundant System

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

    7 APPLICATION FUNCTIONS MELSEC-Q 7.10.5 System switching request to the control system CPU The network module in the control system of the redundant system automatically issues a system switching request to the control system CPU when the data link status of the network module remains faulty (the D.
  • Page 344 7 APPLICATION FUNCTIONS MELSEC-Q (2) System switching monitoring time Use SW0018 (system switching monitoring time) to set the time from the occurrence of the host station data link error (the D. LINK LED goes off) to the issue of a system switching request. For further information about SB and SW, refer to Appendices 3 and 4.
  • Page 345: Function For Returning To Control Station In A Redundant System

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

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

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

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

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

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

    8 TROUBLESHOOTING MELSEC-Q 8.1.2 Other station information On the other station information screen, information such as the communication, data link, parameter, CPU, loop and reserved station statuses of each station can be checked. [Network info.] This area displays the same information as the host information in Section 8.1.1. [Other station info.] When any STOP-status station, reserved station and/or externally-powered station is detected for 1) to 8) and 12), the following mark(s) is displayed in the...
  • Page 361 8 TROUBLESHOOTING MELSEC-Q Data-Link status of each station (SW0074 to 77) Displays the status of the cyclic transmission. • Normal display : Normal station or reserved station • Highlighted display : Error station (data link not executed) Parameter status of each station Displays the parameter communication status of each station (SW0078 to 7B).
  • Page 362 8 TROUBLESHOOTING MELSEC-Q Each station PLC operation mode status (SW01F4 to 1F7) Displays the operation mode of the Redundant CPU. "---" indicates that the CPU is other than the Redundant CPU. • Backup mode : Operating in the backup mode •...
  • Page 363 8 TROUBLESHOOTING MELSEC-Q 11) Each station PLC system status (SW01FC to 1FF) Displays the system status of the Redundant CPU. "---" indicates that the CPU is other than the Redundant CPU. • Control system : Operating as the control system •...
  • Page 364: Network Monitor Details

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

    8 TROUBLESHOOTING MELSEC-Q 8.1.4 Error history monitor With the error history monitor information, the status of the forward/reverse loop errors, communication errors, and transient transmission errors that have occurred can be checked. In addition, the detailed error history display and the error history can be cleared on this screen.
  • Page 369: Troubleshooting

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

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

    8 TROUBLESHOOTING MELSEC-Q 8.2.2 Data link failure on the entire system Check item Checking procedure Check the line condition with GX Developer's network diagnostic loop test (only in case of optical loop test). Check the faulty station's CPU module and network module. Monitor the communication status of each station with GX Check the network module and data link cable with the self-loopback test and Developer's network diagnostics.
  • Page 378: Data Link Failure Of A Specific Station

    8 TROUBLESHOOTING MELSEC-Q 8.2.4 Data link failure of a specific station Check item Checking procedure Perform line monitoring of the network diagnostics of GX Developer, check for any abnormally communicating station and check the loop status. Also, check whether or not data linking is stopped. Monitor the communication status of each station.
  • Page 379: Data Link In Redundant System

    8 TROUBLESHOOTING MELSEC-Q 8.2.6 Data link in redundant system (1) An error occurs in the redundant CPU Checkpoint Checking procedure Is the station set for pairing a programmable controller CPU Check the CPU model name of the station set for pairing. other than the redundant CPU? Is the station installed with the redundant CPU preset for Using the device monitoring function of GX Developer, check SW01F8 to...
  • Page 380: Abnormal Transmission/Reception Data

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

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

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

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

    8 TROUBLESHOOTING MELSEC-Q 8.3 Error Codes When data linking cannot be performed using the cyclic transmission, or when communication cannot be performed normally using the transient transmission with an instruction of a sequence program or GX Developer, the error codes (hexadecimal) are stored in the link special register or displayed on the GX Developer's system monitor.
  • Page 386 8 TROUBLESHOOTING MELSEC-Q (3) Transient instruction error code storage location The error codes generated during the transient instruction execution are stored in the following device data. The error codes of the transient transmission are also stored in the link special registers SW00EE to SW00FF.
  • Page 387 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure <During execution of an online test> Wait until SB0047 (baton pass status) and SB0049 (data link status) are F10A Initial status (online test/offline loop test) recovered.
  • Page 388 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure Review the parameter and switch settings (to see if there is a parameter error and the corresponding station is the control station or remote master station F11B Being disconnected and properly set).
  • Page 389 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure Review the network No. of network parameter for a host station and a target station. F709 Receiving network number error If the parameter is not set, the network No. is preset to 1 (default); so check the network No.
  • Page 390 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure When the execution/abnormal completion type in the request control data of F7C8 Execution type specification error send/receive instructions is specified for all stations or groups, set "No arrival confirmation"...
  • Page 391 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure Replace the network module of the control or normal station with the one compatible with the MELSECNET/H Extended mode. Change the network type of the normal station to that of the control station. F813 Parameter data error (parameter) Create new network parameters and perform Write to PLC.
  • Page 392 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure Check the status of the control station and of the remote master station (to see F837 Exceeded number of retries if resetting or an error occurs in the middle of the operation). Check the status of the control station and of the remote master station (to see F838 Relevant timer timeout...
  • Page 393 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure FD19 System error FD1A Station with duplicated station number Check the duplicate station number, and correct it. The ongoing test was interrupted due to the resetting of the test executing FD1B Test abort error station.
  • Page 394 8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error No. Description of error Corrective measure Confirm the status of the target station and relay station CPU modules. FE24 System error Alternatively, change the CPU module concerned. Confirm the power supply status (insufficient voltage, instantaneous interruption, overvoltage, etc.) of the target station for transient transmission FE25 System error...
  • Page 395: H/W Information

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

    APPENDIX MELSEC-Q APPENDIX Appendix 1 Comparison of network module specifications, and compatibility Appendix 1.1 List of Comparison between MELSECNET/H and MELSECNET/H Extended Modes and MELSECNET/10 Mode Specifications The MELSECNET/H system supports the MELSECNET/H and MELSECNET/H Extended modes (high functionality/high-speed mode) and the MELSECNET/10 mode (functional and performance compatibility mode), which are explained in this manual.
  • Page 403: Appendix 1.2 Upgraded Functions Of The Network Module

    APPENDIX MELSEC-Q Appendix 1.2 Upgraded functions of the network module The network module undergoes the addition of functions and specification changes by version upgrade. For checking of the function version of the network module, refer to Section 2.3. (1) Compatibility with old models When replacing a previous network module (function version A or B) with the one of function version D, there is no need to change the parameters, programs, and switch settings.
  • Page 404: Appendix 2.1 Differences In Led Displays And Switch Settings

    APPENDIX MELSEC-Q Appendix 2 Differences Between the AJ71QLP21/AJ71QLP21G/AJ71QBR11, the A1SJ71QLP21/A1SJ71QBR11 and the QJ71LP21/QJ71LP21-25/QJ71LP21G/ QJ71BR11 Appendix 2.1 Differences in LED displays and switch settings The MELSECNET/H network modules QJ71LP21, QJ71LP21-25, QJ71LP21G and QJ71BR11 have the same LED displays and switch settings as those of the MELSECNET/10 network modules AJ71QLP21, AJ71QLP21G, AJ71QBR11, A1SJ71QLP21, and A1SJ71QBR11.
  • Page 405: Appendix 2.2 Precautions When Replacing The Aj71Qlp21/Aj71Qlp21G/Aj71Qbr11 And The A1Sj71Qlp21/A1Sj71Qbr11 With The Qj71Lp21/Qj71Lp21-25/ Qj71Lp21G/Qj71Br11

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

    APPENDIX MELSEC-Q Appendix 3 Link Special Relay (SB) List The link special relay (SB) turns on/off by various factors that occur during data linking. Thus, by monitoring or using it in the sequence program, the abnormal status of the data link can be checked. Moreover, the link special relay (SB) that stores the link status is used for the detailed information of the network diagnostics of GX Developer.
  • Page 407 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Restarts the host's cyclic transmission. SB0000 Link startup (host) Off: Start not instructed On: Start instructed (valid at rise) Stops the host's cyclic transmission.
  • Page 408 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Clears the line abnormal detection (SW00CC) of the forward loop SB0007 Clear forward loop side to 0.
  • Page 409 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the mode set by the switch of the host's network module.
  • Page 410 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the stop acknowledgment status of the cyclic Cyclic transmission stop transmission.
  • Page 411 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the I/O master station setting (Common parameter SB005D I/O master station setting) of block 2.
  • Page 412 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the station type that is controlling cyclic transmission at Remote master station the remote I/O stations.
  • Page 413 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the CPU status of the multiplexed remote sub-master Remote sub-master station.
  • Page 414 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the status of the transmission path used for sending by Send transmission path other stations.
  • Page 415 APPENDIX MELSEC-Q Table 3 Link special relay (SB) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the response status for offline test end. Off: Response not completed SB00AF Offline test response...
  • Page 416: Appendix 4 Link Special Register (Sw) List

    APPENDIX MELSEC-Q Appendix 4 Link Special Register (SW) List In the link special register (SW), the data linking information is stored as numeric values. Thus, faulty areas and causes of errors can be checked using or monitoring the link special registers in the sequence programs. Moreover, the link special register (SW) that stores the link status is used for the detailed information of the network diagnostics of GX Developer.
  • Page 417 APPENDIX MELSEC-Q Table 4 Link special register (SW) list Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Sets the station that stops/restarts data linking. : Host : All stations SW0000 : Designated station...
  • Page 418 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Sets the logical channel number for physical channel number 4. SW000B Logical channel setting (Valid only for channels on the receiving side)
  • Page 419 APPENDIX MELSEC-Q Table 4 Link special Register (SW) List (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the processing result of the ZNWR instruction. ZNWR instruction : Normal completion processing result...
  • Page 420 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial On inter-PLC network: Stores the condition setting switch status of the host.
  • Page 421 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the station that stopped the host data linking. (Valid when the SW0049 is 1.) b15 b14 to b7 b6 b5 b4 b3...
  • Page 422 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial At the PLC to PLC network. Stores the status of the parameters. SW0055 Parameter setting status : Normal parameter...
  • Page 423 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the maximum/minimum/current values of the link scan SW006B Maximum link scan time time (unit (ms)).
  • Page 424 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the cyclic transmission status of each station (including the host).
  • Page 425 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores each station's CPU status (including the host). Valid only for stations registered as normal in the SW0070 to SW0073.
  • Page 426 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates whether external power supply is available to each station (For QJ71LP21-25, 0 is ON.) Valid only for stations registered as normal in the SW0070 to SW0073.
  • Page 427 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the reverse loop status of each station (including the host).
  • Page 428 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the online test items on the responding side. (Valid when the SB00AB is on.) Stations disconnected from the network are not included among the faulty stations because there is no response.
  • Page 429 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores each station's forward loop usage status during multiplex transmission.
  • Page 430 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Accumulates and stores the number of "TIME" errors on the forward loop side for the optical loop, or the number of "TIME"...
  • Page 431 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Accumulates and stores the number of "DPLL" errors on the reverse loop side.
  • Page 432 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the cause and status of the loop switch. Whether the data should be overwritten or retained is set in the common parameters.
  • Page 433 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Accumulates and stores the number of transient transmission errors.
  • Page 434 APPENDIX MELSEC-Q Table 4 Link special register (SW) list (Continued) Use permitted/prohibited Remote Control Normal Remote I/O Name Description master station station station station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates whether there is a mismatch between the network types of the control station and normal stations on the network.
  • Page 435: Appendix 5 External Dimensions

    QJ71LP21-25 T.PASS D.LINK ERR. L ERR. STATION NO. MODE QJ71LP21 90(3.54) 27.4(1.08) Unit: mm (in.) 1: Please contact your nearest Mitsubishi Electric System Service Corporation for detail. (2) QJ71LP21S-25 QJ71LP21S-25 EXT.PW T.PASS D.LINK ERR. L ERR. STATION NO. EXT.PW EXT.PW...
  • Page 436 APPENDIX MELSEC-Q (3) QJ71BR11 QJ71BR11 T.PASS D.LINK L ERR. ERR. STATION NO. MODE QJ71BR11 90(3.54) 55(2.17) 27.4(1.08) Unit: mm (in.) App - 35 App - 35...
  • Page 437 APPENDIX MELSEC-Q MEMO App - 36 App - 36...
  • Page 438: Index

    INDEX Link refresh ............3-24 Link refresh assignment image .....5-25 Applicable Systems......... 2-6 Link scan ............3-24 Link special relay (SB) .......6-13, App-5 Link special register (SW)....6-13, App-15 Coaxial cable ........... 3-5 Low-speed cyclic transmission......7-9 Common parameter Send range for each station (LB/LW settings) ........
  • Page 439 Reverse loop test........5-11 SREAD instruction .........7-50 Station-to-station test Supplementary setting (station to execute test) ......5-11 Monitoring time...........5-16 Station-to-station test Parameter name ........5-16 (station to be tested)........5-11 Constant scan ..........5-17 Optical fiber cable..........3-4 Maximum No. of return to system stations in 1 scan ........5-17 With multiplex transmission .......5-17 Performance Specifications ......
  • Page 440 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 441 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a trademark of Intel Corporation in the United States and other countries. Ethernet is a trademark of Xerox Corporation. All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies.
  • Page 444 Phone: +370 (0)5 / 232 3101 Fax: +370 (0)5 / 232 2980 MITSUBISHI ELECTRIC Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Straße 8 /// D-40880 Ratingen /// Germany Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// info@mitsubishi-automation.com /// www.mitsubishi-automation.com FACTORY AUTOMATION...

Table of Contents