Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O network) -QJ71LP21 -QJ71LP21-25 -QJ71LP21S-25 -QJ71LP21G -QJ71LP21GE -QJ71BR11 -QJ72LP25-25 -QJ72LP25G -QJ72LP25GE -QJ72BR15
SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user’s manual for the CPU module used. WARNING" and " CAUTION".
[Design Precautions] ! WARNING When connecting a peripheral with the programmable controller CPU or connecting a personal computer with an intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the sequence program to ensure that the entire system will always operate safely.
[Installation Precautions] ! CAUTION Do not directly touch any conductive parts and electronic components of the module. Doing so can cause malfunction or failure of the module. [Wiring Precautions] ! WARNING Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or damage to the product.
[Setup and Maintenance Precautions] ! WARNING Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. Shut off the external power supply (all phases) used in the system before cleaning the module or retightening the terminal screws or module mounting screws. Failure to do so may result in electric shock or cause the module to fail or malfunction.
CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
REVISIONS The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Oct., 2000 SH (NA) -080124-A First printing May., 2001 SH (NA) -080124-B Model addition QJ71LP21G, QJ72LP25G, QJ71LP21GE, QJ72LP25GE Correction Product Components, About The Generic Terms And Abbreviations, Chapter 1, Section 1.2, 2.4, 3.1.1, 3.1.2, 3.2.1, 3.2.2, 3.3.2, 4.2.1, 4.2.2, 4.8.2, Chapter 5, Section 5.1.5, 5.2.1, 6.1.2, 6.2.1, 6.3, 6.4, 7.1.1, 7.8, 8.1, 8.1.1, 8.1.4, 8.3.1, 8.3.
The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Jun., 2004 SH (NA) -080124-F Correction SAFETY PRECAUTIONS, Manuals, Generic Terms And Abbreviations, Section 1.2, 2.1.2, 2.2.2, 2.3.2, 2.4.2, 2.5, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2, 3.2.2, 4.2.2, 4.9.1, 4.10, 4.10.1, 4.10.2, 4.10.3, Chapter 5, Section 5.1.1, 5.2, 5.2.1, 6.4, 6.5, Chapter 7, Section 8.1, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.2.1, 8.2.3, 8.2.5, 8.2.7, 8.3.1, 8.3.2, Appendix 2, 3 Addition Section 1.
The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Nov., 2006 SH (NA) -080124-K Addition SAFETY PRECAUTIONS Correction Section 2.5.2, 3.2.2, 4.2.1, 4.2.2, 4.3, 4.8.1, 4.8.2, 5.1.5, 8.1.2, 8.2, 8.2.4, 8.3.2, Appendix 2, 3, 5 Sections added Section 8.2.8, 8.4, 8.5 Changed section No. Section 8.2.8 Oct., 2007 Section 8.2.9, Section 8.4 Section 8.6 SH (NA) -080124-L Addition Chapter 1, Section 2.1.2, 2.2.2, 2.3.2, 2.4.2, 2.5.1, 2.5.2, 2.7, 3.3.1, 3.3.2, 4.
The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Aug., 2009 SH (NA) -080124-O Correction Generic Terms And Abbreviations, Section 1.3, 2.5.1, 2.7, 3.3.2, 6.4.2, Chapter 8 Sections added Section 8.3.1 Changed section No. Section 8.3.1(4) Section 8.3.2, Section 8.3.2 Section 8.3.3 Sep., 2010 SH (NA) -080124-P Correction Generic Terms And Abbreviations, Section 1.3, 2.5.1, 2.5.2, 2.7, 3.3.2, 4.2.1, 4.2.2, 4.3, Chapter 5, Section 5.1.5, 5.1.6, 6.1.1, 8.2.
INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC-Q series programmable controllers. Before using this product, please read this manual carefully and develop familiarity with the functions and performance of the MELSEC-Q series programmable controller to handle the product correctly. CONTENTS SAFETY PRECAUTIONS ..............................................................................................................................A- 1 CONDITIONS OF USE FOR THE PRODUCT ........................
3 SPECIFICATIONS 3- 1 to 3-64 3.1 Performance Specifications .................................................................................................................... 3- 1 3.1.1 Optical loop system performance specifications ............................................................................. 3- 1 3.1.2 Coaxial cable system performance specifications .......................................................................... 3- 3 3.1.3 Optical fiber cable specifications ................
4.8.2 Coaxial bus system .......................................................................................................................... 4-23 4.9 Offline Tests from GX Developer ........................................................................................................... 4-28 4.9.1 Forward loop/reverse loop test (Remote master station only) ....................................................... 4-28 4.10 Network Diagnostics from GX Developer (Online Tests) .........................
7 APPLICATION FUNCTIONS 7- 1 to 7-44 7.1 Transient Transmission Function (Non-Periodical Communication) ..................................................... 7- 2 7.1.1 Link Dedicated instruction ................................................................................................................ 7- 3 (1) Reading/writing remote I/O station intelligent function module buffer memory (Z(P).REMFR/ Z(P).REMTO)...........................................................................................
8.5 Procedure for Replacing a Normally Operating Redundant Power Supply Module............................. 8-59 8.6 H/W Information ...................................................................................................................................... 8-60 APPENDICES App- 1 to App-53 Appendix 1 Precautions for Replacing MELSECNET/10 Remote I/O Network with MELSECNET/H Remote I/O Network. .......................................................................................................
MANUALS The manuals related to this product are listed below. Order each manual as needed, referring to the following lists.
GENERIC TERMS AND ABBREVIATIONS Generic term/abbreviation Description QJ71LP21 The abbreviation for the QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE MELSECNET/H network module. However, especially in cases to show different models, the QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G and QJ71LP21GE are printed.
Generic term/abbreviation Description C Controller module A generic term for the Q06CCPU-V-H01, Q06CCPU-V, Q06CCPU-V-B, Q12DCCPU-V, and Q24DHCCPU-V type C Controller modules QnACPU A generic term for MELSEC-QnA series CPU modules ACPU A generic term for MELSEC-A series CPU modules AnUCPU A generic term for the MELSEC-A series A2UCPU, A2UCPU-S1, A3UCPU, A4UCPU, A2USCPU, A2USCPU-S1, and A2USHCPU-S1 CPU modules Q3 B A generic term for the Q33B, Q35B, Q38B and Q312B main base units.
DEFINITIONS OF TERMINOLOGY Term Description Cyclic transmission Function by which data communications are performed periodically between a remote master station and remote I/O stations using link devices (LB/LW/LX/LY) of network modules. Transient transmission This function allows communication with another station's programmable controller when a request is made with a link dedicated instruction or from GX Developer.
PACKING LIST Model name QJ71LP21 QJ71LP21-25 Part name QJ71LP21 MELSECNET/H Network Module (optical loop type) QJ71LP21-25 MELSECNET/H Network Module (optical loop type) QJ71LP21S-25 MELSECNET/H Network Module (optical loop type, with QJ71LP21S-25 external power supply function) QJ71LP21G QJ71LP21G MELSECNET/H Network Module (optical loop type) QJ71LP21GE QJ71LP21GE MELSECNET/H Network Module (optical loop type) QJ71BR11 MELSECNET/H Network Module (coaxial bus type) QJ71BR11 F-type connector (A6RCON-F) QJ7
MEMO A - 20 A - 20
1 OVERVIEW MELSEC-Q 1 OVERVIEW The MELSECNET/H system includes the following 2 types of networks: 1) PLC to PLC network for communications between a control station and normal stations 2) Remote I/O network for communications between a remote master station and remote I/O stations This is the manual to read when building a remote I/O network for MELSECNET/H systems (hereinafter referred to as MELSECNET/H).
1 OVERVIEW MELSEC-Q 1.1 Overview The MELSECNET/H remote I/O network system has more functionality and capacity than the former network system, MELSECNET/10 network system (hereafter referred to as MELSECNET/10). As the MELSECNET/H remote I/O network adopts the same module mounting method as the usual one (mounting I/O modules and intelligent function modules onto the main and extension base units), each module mounted on the remote I/O stations can be handled in the similar way as the basic one.
1 OVERVIEW MELSEC-Q The following table shows the types of networks the CPU modules can be connected to. CPU module QCPU Network to be connected Type of networks that can be used with CPU PLC to PLC network Remote I/O network PLC to PLC network Remote I/O network MELSECNET/H (10 Mbps) (MELSECNET/10 mode) (MESLECNET/H mode, MELSECNET/H Extended mode) MELSECNET/10 MELSECNET/H (25 Mbps) AnUCPU MELSECNET/10 QnACPU MELSECNET/10 MELSECNET/H : Can be used : Cannot be used 1.
1 OVERVIEW MELSEC-Q (d) The following functions facilitate network connection: 1) Any station to be connected in the future can be specified as a reserved station. Specifying a station not actually connected as a reserved station prevents a communication error. (Refer to Section 5.1.3 "Common parameter.") 2) It is not necessary to connect stations in order of the station Nos. in the network. (Refer to Section 4.2.1, 4.2.2.
1 OVERVIEW MELSEC-Q (g) The redundant system uses the multiplex remote master function to control I/O modules and intelligent function modules. (The Redundant CPU should be used in the redundant system.) If the multiplexed master station (control system) fails, the multiplex remote master function will switch the master station from "control system" to "standby system". At this time, the multiplexed remote sub-master station is switched from "standby" to "control", continuing the remote I/O control.
1 OVERVIEW MELSEC-Q (3) Providing versatile communication services (a) Reading data from and writing data to intelligent function modules mounted on remote I/O stations are easy. There are four methods available for reading and writing. 1) Use GX Configurator to make the initial settings and automatic refresh settings with intelligent function module parameters, and write them into the remote I/O module in the remote I/O station.
1 OVERVIEW MELSEC-Q 3) By refreshing the intelligent function module data into the remote I/O module's data register D by the automatic refresh setting of the intelligent function module parameters, the remote master station can read/write data from/to the data register D with READ or WRITE instruction. WRITE Remote I/O station Remote master station Intelligent function module QCPU QCPU Master station Intelligent Remote I/O module function module W Data Buffer RI TE register D memory JP.
1 OVERVIEW MELSEC-Q (4) Enhanced RAS functions (Refer to Section 3.2.2 "RAS functions") (a) When a faulty station recovers and can resume normal operation, it automatically returns to the network to resume the data communication using the automatic return function.
1 OVERVIEW MELSEC-Q (6) Improved network functions (a) Remote I/O station system monitor Intelligent function modules mounted to remote I/O stations can be diagnosed using the GX Developer system monitor. Intelligent function modules mounted to remote I/O stations can be diagnosed using the system monitor of GX Developer, which is connected to a remote master station or directly connected to a remote I/O station.
1 OVERVIEW MELSEC-Q 1.3 Abbreviations Used in the Text, Tables and Diagrams of This Manual (1) Abbreviations Abbreviation Name MR Remote master station R Remote I/O station DMR DSMR Multiplexed remote master Multiplexed remote sub-master (2) Marking format Station number (1 to 64) Abbreviation Network No. (1 to 239) [Example] 1) Network No. 3 and remote master station ································· 3MR : Station number "0" is not attached to the remote master station. 2) Network No.
1 OVERVIEW MELSEC-Q 1.4 Functions Added/Changed with Upgrade to Function Version D The following table lists the additional/altered functions for network modules of function version D. Function Function version Description Reference Multiplexed remote I/O Allows construction of a multiplexed remote I/O network network for redundant Function version D Section 7.11 that includes the redundant system as the master station.
2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This introduces a system comprised of remote I/O networks. POINT (1) Remote I/O networks and PLC to PLC networks cannot be mixed on the same MELSECNET/H network. Always build separate networks. 2 (2) Only MELSECNET/H network modules can be connected to a MELSECNET/H remote I/O network. They cannot be mixed with MELSECNET/10 network modules (AJ72LP25, A1SJ72QLP25, etc.). 2.1 Single Remote I/O Networks 2.1.
2 SYSTEM CONFIGURATION MELSEC-Q 2.1.2 Setting items (1) Table 2.1 lists the setting items on the master module of the remote master station (MR) and the parameter setting items on GX Developer. Table 2.1 Remote master station setting items Setting items Remote master station (MR) Network module switch STATION NO. MODE Parameter setting on GX Developer Setting the number of Ethernet/CC IE/MELSECNET cards 0 Section 4.2.1 Section 4.2.2 MELSECNET/H (Remote master station) Network type Starting I/O No.
2 SYSTEM CONFIGURATION (2) MELSEC-Q Table 2.2 lists the setting items on the remote I/O module of the remote I/O station (R) and the parameter setting items on GX Developer. Table 2.2 Remote I/O station setting items Setting items Remote I/O station (R) Reference 1 to 64 Section 4.2.2 Section 4.2.2 Network module switch STATION NO.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2 Multiple Remote I/O Network (Process CPU) 2.2.1 Configuration A multiplexed remote I/O network system includes a multiplexed remote master station and a multiplexed remote sub-master station. The multiplexed remote sub-master station takes control of remote I/O stations when the multiplexed remote master station fails. Always assign station No. 0 to the multiplexed remote master station.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2.2 Setting items (1) Table 2.3 lists the parameter setting items of the multiplexed remote master station (DMR) and multiplexed remote sub-master station (DSMR). Table 2.3 Setting Items of Multiplexed Remote Master Station and Multiplexed Remote Sub-Master Station Setting item Multiplexed remote master station (DMR) Multiplexed remote sub-master station (DSMR) Reference 0 1 to 64 Section 4.2.1 Network module switch STATION NO. MODE Section 4.2.
2 SYSTEM CONFIGURATION (2) MELSEC-Q Table 2.4 lists the setting items that can be set on a remote I/O module operating as a remote I/O station (R) and the parameter setting items that can be set from GX Developer. Table 2.4 Setting Items of a Remote I/O Station Setting item Remote I/O station (R) Reference 1 to 64 Section 4.2.2 Network module main module switch STATION NO. MODE Section 4.2.2 GX Developer parameter setting PLC system 5 PLC RAS 5 I/O assignment 5 Operation setting Section 5.
2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Multiplexed Remote I/O Network for Redundant System (Redundant CPU) 2.3.1 Configuration The redundant system including the Redundant CPU utilizes the multiplexed remote I/O network system in order to control I/O modules and intelligent function modules.
2 SYSTEM CONFIGURATION MELSEC-Q 2.3.2 Setting items (1) Table 2.5 lists the parameter setting items of the multiplexed remote master station (DMR) and multiplexed remote sub-master station (DSMR). In the redundant system, the same network parameters are set to both the control and standby systems. For this reason, parameter setting for the multiplexed remote sub-master station is not required. Make sure to assign No.0 to the master module mounted on the system A CPU in the redundant system. Table 2.
2 SYSTEM CONFIGURATION (2) MELSEC-Q Table 2.6 lists the setting items on the remote I/O module, parameter setting items on GX Developer and intelligent function module parameter setting items on GX Configurator. Table 2.6 Setting Items of a Remote I/O Station Setting item Reference Remote I/O station (R) Network module main module switch STATION NO. 1 to 64 Section 4.2.2 MODE Section 4.2.2 GX Developer parameter setting PLC system 4 PLC RAS 4 I/O assignment 4 Operation setting Section 5.
2 SYSTEM CONFIGURATION MELSEC-Q 2.4 Multiple Remote I/O Network 2.4.1 Configuration 1MR 2MR QCPU QJ71 LP21 QJ71 LP21 1R1 2 - 10 QJ72 I/O I/O LP25 1R2 Power supply QJ72 I/O I/O LP25 Remote I/O net Power supply Power supply Remote I/O net QJ72 I/O I/O LP25 2R1 Power supply Power supply A multiple remote I/O network system is a network system with many networks connected to it. Set a unique number. The numbers can be set within a range from 1 to 239.
2 SYSTEM CONFIGURATION MELSEC-Q 2.4.2 Setting items (1) Table 2.7 lists the setting items for the master module main module for a remote master station (MR) and the parameter settings from the GX Developer. Table 2.7 Remote master station setting items Setting items Remote master station (MR) Network module main module switch STATION NO. MODE Parameter setting on GX Developer Setting the number of Ethernet/CC IE/MELSECNET cards 0 Section 4.2.1 Section 4.2.
2 SYSTEM CONFIGURATION (2) MELSEC-Q Table 2.8 lists the setting items for the remote I/O module main module for the remote I/O station (R) and the parameter setting items from the GX Developer. Table 2.8 Remote I/O station setting items Setting items Remote I/O station (R) Reference Network module main module switch STATION NO. 1 to 64 Section 4.2.2 Section 4.2.2 MODE GX Developer parameter setting PLC system 4 PLC RAS 4 I/O assignment 4 Operation setting Section 5.2.
2 SYSTEM CONFIGURATION MELSEC-Q 2.5 Applicable Systems 2.5.1 Applicable systems for remote master stations This section describes applicable systems of remote master stations. 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.
2 SYSTEM CONFIGURATION MELSEC-Q (3) Network type The available network type varies depending on the CPU module type, the function version of the master module, and the version of GX Developer/GX Works2.
2 SYSTEM CONFIGURATION MELSEC-Q 2.5.2 Applicable systems for remote I/O stations This section explains application systems of remote I/O stations. Mount a remote I/O module to a CPU slot of any of the main base units. (1) Applicable main base units, power supply modules and No.
2 SYSTEM CONFIGURATION MELSEC-Q (2) Applicable extension base units A system with a remote I/O module can be connected with extension base units. Extension base unit Extension cable *2 model (Maximum distance: 13.
2 SYSTEM CONFIGURATION MELSEC-Q (4) Applicable modules The Q series modules can be used on remote I/O stations. Note that some modules have restrictions. (a) Functional restrictions The use of interrupt pointers and dedicated instructions for intelligent function modules are not supported. For the restrictions of functions for each module, refer to the user's manual for the module used. (b) No.
2 SYSTEM CONFIGURATION MELSEC-Q (7) Online module change In the following cases, the online module change cannot be performed. (a) When an extension base unit (type requiring no power supply module) (Q52B, Q55B, Q55BL, Q55BLS, or Q55BLS-D) is used (No module mounted on any extension base unit can be changed online.) (b) When a slim type power supply module (Q61SP) is used (8) MELSECNET/10 mode The MELSECNET/10 mode can be set with the remote I/O module whose serial No.
2 SYSTEM CONFIGURATION MELSEC-Q 2.6 When Using a Multiple CPU System Take the following points into consideration when configuring a remote I/O network by utilizing multiple CPU system. (1) Use the master module of function version B or later. (2) Set the network parameters to the control CPU controlling the master module. (3) It is possible to set up to four master modules per control CPU. Note that the maximum number of mountable master modules per multiple CPU system is four. (a) CPU No.
2 SYSTEM CONFIGURATION (4) MELSEC-Q By connecting to a remote I/O station for access to other stations, GX Developer can access stations in the other network system, whether the relay stations in the multiple CPU system are controlled by the same or different CPUs. Also, GX Developer can access either the control CPU or non-control CPU in the multiple CPU system.
2 SYSTEM CONFIGURATION (5) 2 - 21 MELSEC-Q When all of the following conditions from a) to d) are met, use a MELSECNET/H module whose serial No. (first five digits) is "10042" or later. (a) A multiple CPU system containing a Built-in Ethernet port QCPU is configured. (b) To the Ethernet port of the Built-in Ethernet port QCPU, GX Developer or GOT is connected. (c) From GX Developer or GOT, access is made to another station through a MELSECNET/H module controlled by another CPU.
2 SYSTEM CONFIGURATION MELSEC-Q 2.7 Checking Function Version and Serial No. The serial No. and function version of the network module can be confirmed on the rating plate and GX Developer's system monitor. (1) Checking the serial No. on the rating plate The rating plate is situated on the side face of the network module. Serial No. (first five digits) Function version Relevant regulation standards (2) Checking on the front of the module The serial No.
2 SYSTEM CONFIGURATION MELSEC-Q (3) Checking the serial No. on the system monitor (Product Information List) To display the system monitor, select [Diagnostics] Product Inf. List button of GX Developer. [System monitor] (a) Production number display Since the network module does not support the production number display, "-" is displayed. POINT The serial No. displayed in the Product Information List of GX Developer may be different from the one on the rating plate and the front of the module.
3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS The following describes the network system specifications, performance specifications and the specifications for sending and receiving link data. For general specifications, refer to the user's manual of the CPU module to be used on the network system. 3.1 Performance Specifications 3.1.1 Optical loop system performance specifications Table 3.1 lists the performance of the optical loop system. 3 Table 3.
3 SPECIFICATIONS Item Number of occupied I/O points Voltage Current Size of terminal screw Suitable crimp terminal Suitable cable size 3 External Power Supply MELSEC-Q Remote master station Remote I/O station QJ71LP21G QJ71LP21GE QJ71LP21-25 QJ71LP21S-25 QJ72LP25-25 QJ72LP25G QJ72LP25GE 48 points (I/O Assignment: — 32 points (Intelligent function module: 32 points) empty; first 16, intelli.; second 4 32) 20.4 to 31.2 V — — DC 0.20 A — — QJ71LP21 — M3 Screw — — R1.25-3 — — — 0.3 to 1.
3 SPECIFICATIONS MELSEC-Q 3.1.2 Coaxial cable system performance specifications Table 3.2 lists the performance of the coaxial bus system. Table 3.
3 SPECIFICATIONS MELSEC-Q 3.1.3 Optical fiber cable specifications This section explains the specifications of the optical fiber cables used with the MELSECNET/H optical loop system. Confirm that the cable in use conforms to the details of the 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 also available.
3 SPECIFICATIONS MELSEC-Q 3.1.4 Coaxial cable specifications The following table lists the specifications of the coaxial cables used for the coaxial bus system. Use the following high frequency coaxial cables: • 3C-2V (JIS C 3501 compliant) • 5C-2V (JIS C 3501 compliant) • 5C-FB (JIS C 3502 compliant) However, when configuring a multiplexed remote I/O network for redundant system, use a double shield coaxial cable. (Refer to section 4.8.2.
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. (a) CAUTION Using a BNC connector manufactured by DDK Ltd. The following explains how to connect the BNC-P-3-NiCAu or BNC-P-5NiCAu to the cable. Solder the coaxial cable connectors properly. Insufficient soldering may result in malfunctions.
3 SPECIFICATIONS MELSEC-Q 4) Solder the contact to the internal conductor. 5) Insert the connector assembly shown in 4) into the plug shell and screw the nut into the plug shell. POINT (1) (2) 3-7 The following precautions should be observed when soldering the internal conductor and contact: • Make sure that the solder does not bead up at the soldered section. • Make sure that there are no gaps between the connector and cable insulating material and that they do not cut into each other.
3 SPECIFICATIONS MELSEC-Q (b) Using a BNC connector manufactured by Canare Electric Co., Ltd. The following explains how to connect the BCP-C3B, BCP-C5B, or BCPC5FA to the cable. • Structure of the BNC connector and coaxial cable • How to connect the BNC connector and the coaxial cable 1) Thread a coaxial cable through a crimping sleeve as shown in the figure below. When using a cable with aluminum tape, cut the tape as shown in the figure below.
3 SPECIFICATIONS MELSEC-Q 3) After the crimp, check the crimp height of the crimp part. When the crimp height at the measurement position is between 1.4mm and 1.5mm, the pin is properly crimped. If the crimp height is not between 1.4mm and 1.5mm, adjust the crimp tool and crimp the center contact pin again. 4) Hold the root of the coaxial cable and fully insert the cable into a plug. After inserting the cable, pull it lightly to check that the center contact pin is fixed.
3 SPECIFICATIONS MELSEC-Q 3.2 Function Specifications The following introduces the MELSECNET/H remote I/O network functions. The functions are listed below.
3 SPECIFICATIONS MELSEC-Q 3.2.1 Cyclic transmission function (periodic communication) The cyclic transmission function periodically exchanges data between the remote master station and remote I/O station using link device (LX/LY/LB/LW) The following explains the differences between when the module connected to the remote I/O station is an I/O module and when it is an intelligent module connected to it.
3 SPECIFICATIONS MELSEC-Q (2) Communicating with intelligent function modules The remote master station can communicate with the intelligent function module mounted to the remote I/O station in the following four ways. Methods for communicating with the intelligent module (a) By cyclic transmission (common parameters) + intelligent function module parameters (Automatic refresh target device W).
3 SPECIFICATIONS MELSEC-Q (a) The CPU module reads and writes intelligent function module data at fixed intervals, using the following devices and setting. • X/Y (LX/LY) and B/W (LB/LW) devices that are set with common parameters • Intelligent function module parameters (auto refresh setting) written to the remote I/O module The intelligent function module parameters are created by GX Configurator. (For more detailed information, refer to the manual for the intelligent function module you are using.
3 SPECIFICATIONS MELSEC-Q 4) QCPU follows the refresh parameters and refreshes link register W between QCPU and the master module. [Input/output] 5) (b) X/Y(LX/LY) is the same as communication with I/O module. The CPU module reads or writes data using a link dedicated instruction (REMFR/REMTO). With a link dedicated instruction (REMFR/REMTO), data are directly read from or written to the buffer memory of the intelligent function module on the remote I/O station.
3 SPECIFICATIONS MELSEC-Q (c) The CPU module reads and writes intelligent function module data at fixed intervals, using the following devices and setting.
3 SPECIFICATIONS MELSEC-Q 4) Link register W, follows the common parameters set in the remote master station for communication between the remote master station and the remote I/O station. 5) Link register W between the master module and QCPU are refreshed. [Input/output] 6) (d) X/Y(LX/LY) is the same as communication with I/O module. The CPU module reads or writes data register D of the remote I/O module with a link dedicated instruction (READ/WRITE).
3 SPECIFICATIONS MELSEC-Q 3.2.2 RAS functions RAS stands for "Reliability", "Availability" and "Serviceability" and is an automated facility for overall ease of use. (1) Output reset function for communication errors Remote I/O net will set all output of remote I/O stations to off when there is a data link error. It will also set all output of remote I/O stations to off when the data links are operating properly but the remote master station CPU module is down.
3 SPECIFICATIONS MELSEC-Q (3) 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. (a) When a remote I/O station restarts data link (the "D.LINK" LED is lit.) The remote I/O station resets all of the modules mounted on the station. If data link is resumed by connecting/disconnecting the link cable, the modules are not reset.
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. The transmission is continued normally between the stations that are still able to perform data communication.
3 SPECIFICATIONS MELSEC-Q (c) Precautions in using the optical loop system 1) When the cable is inserted or removed, the line (forward loop/reverse loop) may be switched, but the data link will be performed normally. 2) 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.
3 SPECIFICATIONS MELSEC-Q REMARKS If the network module has become faulty, a loopback may not be made depending on the fault. In that case, the network may stop. Identify the faulty network module in the following method. (1) Check the indicator LEDs (RUN LED off, ERR. LED on) of all network modules for a faulty station. (2) Power off all stations and power them on in order, starting from the remote master station. At that time, check up to which station the network operates properly.
3 SPECIFICATIONS MELSEC-Q (6) 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.
3 SPECIFICATIONS MELSEC-Q (7) 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 (READ, WRITE and other instructions) ends abnormally. The time log can be used to identify the network problems and to determine how the network can be improved. For details on the instructions, refer to the Q corresponding MELSECNET/H Network System Reference Manual (PLC to PLC network).
3 SPECIFICATIONS MELSEC-Q (8) 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). An error occurs if any of the online tests is executed from a station that has been disconnected from the data link.
3 SPECIFICATIONS MELSEC-Q (9) Redundant power supply on a remote I/O station A redundant power supply can be configured on a remote I/O station by mounting a pair of power supply modules onto the dedicated base unit. A redundant power supply offers the following advantages.
3 SPECIFICATIONS MELSEC-Q POINT For the specifications of Q3 RB/Q6 RB Redundant power supply base unit and Q6 RP redundant power supply module, refer to QCPU User's Manual (Hardware Design, Maintenance and Inspection). (a) Modules needed to configure a redundant power supply in a remote I/O station To configure a redundant power supply in a remote I/O station, use the modules shown below.
3 SPECIFICATIONS MELSEC-Q (c) Precautions on configuring a redundant power supply 1) If either of the power supply modules fails and it needs to be replaced in a remote I/O station including redundant power supply, replace the other power supply module as well, in order to prevent the potential accidents Also, it is recommended to replace power supply modules five years after the remote I/O station starts to run.
3 SPECIFICATIONS MELSEC-Q (10) Online module change on a remote I/O station Online module change is the function for replacing a Q series module mounted on the main base unit or extension base unit of a remote I/O station while the station is operating. Using this function, a faulty module can be replaced with a module of the same model while the station is operating.
3 SPECIFICATIONS 3 - 29 MELSEC-Q 2) GX Developer versions required for online module change on a remote I/O station To perform online module change, GX Developer Version 8.18U or later is required. In addition, online module change can also be performed from GX Developer via a network. 3) Remote I/O station configuration for online module change Online module change can be performed for Q3 B or Q3 RB main base unit and the modules mounted on the Q6 B or Q6 RB extension base unit.
3 SPECIFICATIONS MELSEC-Q (b) Restrictions online module change operation The following operations cannot be performed while online module change is performed. 1) Issue an online module change request from more than one GX Developer to a remote I/O module. 2) Write parameters in the remote I/O module being replaced online. POINT If an online module change request is issued from other GX Developer to a remote I/O module being replaced online, the message below is displayed.
3 SPECIFICATIONS MELSEC-Q (c) 3) If an error has occurred on the target remote I/O module, the module holds the error even after online module change is completed. Therefore, it is necessary to clear the error by clearing the error using SM50 and SD50 on the programmable controller CPUs of the remote I/O station and master station.
3 SPECIFICATIONS MELSEC-Q 2) Double-click the module to be replaced online to display the Online module change screen. (The table below indicates the communication status of the module to be replaced online when the screen below is displayed.
3 SPECIFICATIONS MELSEC-Q 11) Connect between the external device and module (I/O signal) by the switch and so on. 12) Mount the module, and then click the "Execution" button. (The table below lists the communication status of the new module when the screen below is displayed.
3 SPECIFICATIONS MELSEC-Q 3.3 Link Data Send/Receive Processing Time Specifications The following introduces the method of calculating link data send/receive and transmission delay time in the remote I/O network. 3.3.1 Link data send/receive processing (1) Summary of send/receive processing Cyclic transmission of the remote I/O network communicates by network module LX/LY/LB/LW. (a) For input module The following is an example of CPU module side output (Y). 1) Remote master station Y1000 is on.
3 SPECIFICATIONS MELSEC-Q (b) For intelligent function module The following provides an example of how the link device (W) on the CPU module side is sent to an intelligent function module. 1) Data is sent to the remote master station W0. 2) W0 data is stored in the master module refresh data storage area (LW) by link refresh. 3) The W0 data in the refresh data storage area (LW) is stored as W0 in the link data storage area (LW) according to the common parameters.
3 SPECIFICATIONS MELSEC-Q (2) Link refresh, link scan, I/O refresh and automatic refresh (a) Link refresh of the remote master station Link refresh of the remote master station is performed in the END processing of the CPU module.
3 SPECIFICATIONS MELSEC-Q (b) Link scan Link scans can be performed synchronously with sequence scans of the CPU module (END synchronization) or asynchronously with them (END asynchronization). Select END synchronization or END asynchronization, referring to the following. POINT To set the END asynchronization, use the following master module and GX Developer. • Master module: First five digits of serial No. are "09012" or later. • GX Developer: GX Developer Version 8.
3 SPECIFICATIONS MELSEC-Q (3) Link data when communication error station/communication stop station has occurred If a data link communication error or communication stop occurs on a remote I/O station, the master station holds the data (X, B, W) received from the remote I/O station immediately before the error. The remote I/O station output (Y) is set to all points off. (A communication stop station is a station that has had its cyclic transmission stopped by peripheral equipment.
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/register (SB/SW). Use them as interlocks for programs. Link special relays and registers Link special Description relay/register SB0047 Signal status Off On The baton The baton Shows the baton pass execution status of the host.
3 SPECIFICATIONS MELSEC-Q 3.3.2 Transmission delay time The names of items (1), (2) on the following pages indicate those between the following stations.
3 SPECIFICATIONS MELSEC-Q (1) Remote master station (a) remote I/O station Cyclic transmission (X/Y/W periodic communication) Transmission delay time of X/Y/W is the sum of the following.
3 SPECIFICATIONS MELSEC-Q [Y transmission delay time (TDY)] (END synchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDY = (Sm + m) + LS + TRIOR [ms] The remote master station sets Y to on near 0 step.
3 SPECIFICATIONS MELSEC-Q [W input transmission delay time (TDB1)] (END synchronization) [Remote master station scan time (Sm) > link scan time (LS)] 2+ Sm + TRBF [ms] TDB1 = (Sm + m) MOV W0 D0 Sm Remote master station 0 E m Link scan time LS Sm 0 E m Sm 0 LS E m LS Sm 0 LS E m Sm 0 Intelligent function module m Sm 0 E LS 0: 0 step E: END step TRBF Remote I/O station E Buffer memory TDB1 [Remote master station scan time (Sm) < link scan time (LS)] TDB1 = (Sm + m) r
3 SPECIFICATIONS MELSEC-Q [W output transmission delay time (TDB2)] (END synchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDB2 = (Sm + m) + LS + TRBF [ms] 0: 0 step E: END step Sm m Sm E 0 E MOV D100 W100 Remote master station 0 Sm E Link scan time m Sm 0 E LS m Sm 0 E m Sm 0 LS E LS Remote I/O station m 0 LS LS TRBF Intelligent function module Buffer memory TDB2 [Remote master station scan time (Sm) < link scan time (LS)] TDB2 = (Sm + m) r
3 SPECIFICATIONS MELSEC-Q 2) In the case of END asynchronization [X transmission delay time (TDX)] (END asynchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDX = Sm + m + Sm + TRIOR [ms] The master station confirms the X attached near the end step Sm Remote master station 0 Link scan time E m LS Sm 0 E LS m Sm m 0 E LS LS X Sm 0 E m LS Sm 0 E LS Sm m 0 E LS 0: 0 step E: END step TRIOR Remote I/O station TDX ON [Remote master station scan ti
3 SPECIFICATIONS MELSEC-Q [Y transmission delay time (TDY)] (END asynchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDY = (Sm + m) + LS 2 + TRIOR [ms] Remote station sets Y to on near 0 step.
3 SPECIFICATIONS MELSEC-Q [W input transmission delay time (TDB1)] (END asynchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDB1 = Sm + m + Sm + TRBF [ms] MOV W0 D0 Remote master station 0 Link scan time Sm E m LS Remote I/O station Sm 0 E LS m 0 Sm LS m E 0 LS Sm E m 0 LS Sm E LS m 0 Sm E LS 0: 0 step E: END step TRBF Intelligent function module Buffer memory TDB1 [Remote master station scan time (Sm) < link scan time (LS)] 2 + Sm +
3 SPECIFICATIONS MELSEC-Q [W output transmission delay time (TDB2)] (END asynchronization) [Remote master station scan time (Sm) > link scan time (LS)] TDB2 = (Sm + m) + LS 2 + TRBF [ms] 0: 0 step E: END step MOV D100 W100 Remote master station 0 Sm Link scan time E m 0 LS Sm E m LS Sm 0 LS E m 0 LS Sm E m 0 LS Remote I/O station Sm E m 0 Sm E LS TRBF Intelligent function module Buffer memory TDB2 [Remote master station scan time (Sm) < link scan time (LS)] 2 + T
3 SPECIFICATIONS MELSEC-Q (b) REMFR/REMTO/READ/WRITE instructions REMFR/REMTO/READ/WRITE instructions transmission delay time is the sum of the following.
3 SPECIFICATIONS MELSEC-Q (2) Multiplexed remote master station master station (a) multiplexed remote sub- Cyclic transmission (LB/LW/LX/LY periodic communication) The transmission delay time of B/W/Y communication is the sum of the following: • Scan times of a multiplexed remote master station and a multiplexed remote sub-master station (Except for the link refreshing time) • Link refresh times of a multiplexed remote master station and a multiplexed remote sub-master station • Link scan time of a mul
3 SPECIFICATIONS MELSEC-Q POINT When the Block send/receive data assurance per station setting is enabled, the following formulas are used.
3 SPECIFICATIONS MELSEC-Q 2) In the case of END asynchronization [Transmission delay time of B/W/Y communication] (END asynchronization) 1) Multiplexed remote master station Multiplexed remote sub-master station: Transmission delay time (TDM1) [Multiplexed remote master station side scan time (Sm) > Link scan time (LS)] TDM1 = Sm + m + LS + (Ss + s) 2 [ms] [Multiplexed remote master station side scan time (Sm) < Link scan time (LS)] TDM1 = Sm + m + LS + (Ss + s) 2 [ms] 2) Multiplexed remote sub-mast
3 SPECIFICATIONS MELSEC-Q (b) SEND/RECV/RECVS/READ/WRITE/REQ/ZNRD/ZNWR instruction communication The transmission delay time of instruction communication is the sum of the following: • Scan times of a multiplexed remote master station and a multiplexed remote sub-master station (Except for the link refreshing time) • Link refresh times of a multiplexed remote master station and a multiplexed remote sub-master station • Link scan time of a multiplexed remote master station Calculate the sum as below: [Tr
3 SPECIFICATIONS MELSEC-Q (3) Link refresh time The link refresh time (CPU module end processing time extension) is calculated as shown below.
3 SPECIFICATIONS MELSEC-Q (b) When a master module is connected to extension base unit Constant CPU type High Performance model QCPU ( KM2 –3 10 ) ( KM3 –3 10 ) Q02CPU 0.30 1.20 0.47 Other than above 0.13 0.97 0.53 0.13 0.97 0.53 0.16 1.06 — Process CPU Redundant CPU Q00UJ/Q00U/Q01UCPU Universal model QCPU KM1 Q02UCPU 0.16 1.06 0.39 Q03UD/Q03UDECPU 0.09 0.97 0.39 Other than above 0.09 0.97 0.
3 SPECIFICATIONS MELSEC-Q (4) Link scan time Link scan time is based on a calculation of the following factors. • Link device assignment points • Number of stations connected [Link scan time] [Communication speed: 10 Mbps] LS = KB + (0.45 total number of stations) + {LX + LY + LB + (LW 16)} /16 0.0003 R + LB M R + (LW M R + {LYM + {LX M 16)} /16 0.0003 R + LB M R + (LW M R + (T 0.001) + (F 4) [ms] [Communication speed: 25 Mbps] LS = KB + (0.
3 SPECIFICATIONS MELSEC-Q (5) Refresh time with the remote I/O module, I/O module and intelligent function module Refresh time with the remote I/O module, I/O module and intelligent function module is according to the formula shown below. [I/O module and refresh time] TRIOR = XK/16 0.0016 + XZ/16 0.0024 + YK/16 0.0014 + YZ/16 0.
3 SPECIFICATIONS MELSEC-Q (6) Transmission delay time formula The transmission delay time is calculated based on the following system design and conditions. (System design, conditions) 1) CPU module: Q06HCPU 2) Total number of remote I/O stations: 8 3) Number of link devices: LX = LY = 1024 points, LB = LW = 0 point, SB = SW = 512 points 4) Remote master station CPU module scan time: 1 ms 5) Communication speed: 10 Mbps 6) File register not used. 7) Transient transmission not used.
3 SPECIFICATIONS MELSEC-Q (d) Cyclic transmission delay Since Sm = 1 [ms],LS = 11.8 [ms], the Sm < LS formula is used. 1) Input transmission delay time (TDX)] TDX = (Sm + m) round up [LS/(Sm + m)] 2 + Sm + TRIOR = (1 + 0.41) [11.8/(1 + 0.41)] 2 + 1 + 0.024 = 24.6 [ms] 2) Output transmission delay time (TDY)] TDY = (Sm + m) round up [LS/(Sm + m)] + LS + TRIOR [11.8/(1 + 0.41)] + 11.8 + 0.024 = (1 + 0.41) = 23.6 [ms] 3.3.
3 SPECIFICATIONS MELSEC-Q 3.3.4 Output holding time during system switching in the multiplexed remote I/O network for redundant system In the multiplexed remote I/O network for redundant system, if an error occurs in the multiplexed remote master station of the control system, the multiplexed remote submaster station of the standby system takes over the control of remote I/O stations. At the time of system switching, remote I/O stations hold the outputs (data).
3 SPECIFICATIONS MELSEC-Q (b) CPU system switching time > Switching time from the multiplexed remote master station to the multiplexed remote sub-master station A power down has occurred on the control system Control system standby system CPU Standby system control system CPU Output holding time of remote I/O station SS Tsw Toh [Output holding time (Toh)] Toh = Tsw + (SS 2) [ms] Tsw: Redundant CPU system switching time [ms] SS: Scanning time of the redundant CPU [ms] POINT For the CPU system swi
3 SPECIFICATIONS MELSEC-Q (2) System switching when a system switching dedicated instruction is executed, a system switching request is issued by GX Developer, or the link cable is disconnected on other network module Multiplexed remote master station (DMR) Control system standby system Multiplexed remote sub-master station (DSMR) Standby system control system System switching request GX Developer Remote I/O station (R) Remote I/O station (R) Remote I/O station (R) (a) CPU system switching time < Sy
3 SPECIFICATIONS MELSEC-Q (b) CPU system switching time > Switching time from the multiplexed remote master station to the multiplexed remote sub-master station System switching request from GX Developer Control system standby system CPU Standby system control system CPU Output holding time of remote I/O station SS Tsw Toh [Output holding time (Toh)] Toh = Tsw + SS [ms] Tsw: Redundant CPU system switching time [ms] SS: Scanning time of the redundant CPU [ms] POINT For the CPU system switching tim
3 SPECIFICATIONS MELSEC-Q (3) System switching when the link cable disconnection occurs in the host network module If a communication error occurs due to link cable disconnection on the host network module, it will considerably increase "data link monitoring time + switching monitoring time". Therefore, the calculation formula is not affected by the CPU system switching time and the switching time from the multiplexed remote master station to the multiplexed remote sub-master station.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4 SETTING AND PROCEDURE BEFORE OPERATION This chapter explains the procedures, settings, connections and testing that are required to start the data link operation. 4.1 Procedure Before Operation The following is the procedure for performing the data link operation. S ta rt · · · · · · Section 4.2 to Section 4.5 Module switch settings • Set the operation conditions of the network module (STATION No., MODE) • Install the network module.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.2 Part Names and Settings 4.2.1 QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE, QJ71BR11 (Remote master station) (1) QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71LP21GE 4 (a) No. Name LED status 1 RUN ON (green) OFF MNG 2 1 ON (green) OFF 3 T.PASS ON (green) Flashing (green) OFF 4 D.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q No. Name LED status Description 7 ERR. ON (red) • Station number setting error (other than 0 to 64.), mode setting error (set to disabled), operating condition setting error (in parameter), or mounted CPU type error (setting outside the range used, incorrect CPU type) • A station with the same number already exists in the network.
4 SETTING AND PROCEDURE BEFORE OPERATION (c) Mode setting switch This switch sets the operation mode. (Factory default: 0) Set the mode setting switches in the same position on all network modules. 1) QJ71LP21, QJ71LP21G, QJ71LP21GE Setting Description 0 Online (The mode selected by the parameter will be enabled.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) QJ71BR11 (a) LED indications Same as the optical loop system. (Refer to Section 4.2.1 (1).) (b) Station number setting switches These switches set the station number of the network module in the network. (Factory default: 1) Setting 0 (c) Description Remote master station setting 1 to 32 Setting of a remote sub-master station 33 to 64 Setting error (The ERR. LED does not turn on (red).) 65 to 99 Setting error (The ERR. LED turns on (red).
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.2.2 QJ72LP25-25, QJ72LP25G, QJ72LP25GE, QJ72BR15 (1) QJ72LP25-25, QJ72LP25G, QJ72LP25GE (a) No. Name LED status 1 RUN ON (green) OFF 2 REM. 1 ON (green) Flashing (green) OFF 3 T.PASS ON (green) Flashing (green) OFF 4 D.
4 SETTING AND PROCEDURE BEFORE OPERATION No. 7 Name ERR. 1 LED status ON (red) Flashing 8 L ERR. OFF ON (red) OFF MELSEC-Q Description • Station number setting error (other than 1 to 64), mode setting error (set to disabled), or operating condition setting error (in parameter) • A station with the same station number exists in the network. • Parameter data received from the remote master station has an error. • Watchdog timer error (The RUN LED is off.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (b) RS-232 connector A RS-232 cable for a peripheral is connected. (c) Station number setting switches These switches set the station number of the network module in the network. (Factory default: 1) Setting Description 0 Setting error (The ERR. LED turns on (red).) Available setting range (When the QJ72BR15 is used, setting any of 33 to 64 will result in a setting error. However, the ERR. LED does not turn on (red).
4 SETTING AND PROCEDURE BEFORE OPERATION (e) MELSEC-Q IN/OUT connectors An optical fiber cable connector is connected. (Refer to Section 4.8.1.) Name 4-9 1) IN: Reverse loop sending 2) IN: Forward loop receiving 3) OUT: Forward loop sending 4) OUT: Reverse loop receiving (f) RESET switch This switch resets the modules on the remote I/O station. Press the switch for one second or longer to reset. If not, the modules on the station cannot be reset normally.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) QJ72BR15 (a) Indicator LEDs Same as the optical loop system. (Refer to Section 4.2.2 (1).) (b) RS-232 connector Same as the optical loop system. (Refer to Section 4.2.2 (1).) (c) Station number setting switch Same as the optical loop system. (Refer to Section 4.2.2 (1).) (d) Mode setting switch This switch sets the operation mode.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.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 fixing latch to separate from the module fixing hole). Base unit Module fixing lever Module locking hook Using the module fixing hole as a fulcrum, push the module in the direction of arrow to mount it into the base unit.
4 SETTING AND PROCEDURE BEFORE 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. However, it is recommended to secure the module with the module fixing screw if the module is subject to significant vibration or shock. In this case, tighten the module fixing screws within the following clamping torque range.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.4 Stopping the CPU (Unintentional Output Prevention) Set the CPU module's RUN/STOP switch to the STOP side. STOP RUN 4.5 Checking the Input Power Supply Voltage Check that the supply power voltage to the power supply module is within the specifications. 4.6 Powering On Check the power supply to the network module. 4.6.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.7 Unit Tests of the Network Module (Offline Test) The network module and the connected cable shall be tested before executing the data link operation. Select the test item with the mode setting switch on the front of the network module. The following three items are provided as the offline test.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.7.1 Self-loopback test This test checks the internal circuits including the send/receive circuits of the network module together with the connected cable. POINT Always connect a cable or terminating resistors when performing the self-loopback test. In addition, do not connect or disconnect the cable or terminating resistors during the test. (The test completes with an error.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q REMARKS Check the test condition and error details with the following link special register areas.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.7.2 Internal self-loopback test This test checks the internal circuits including the send/receive circuits of the network module. (1) Do not connect an optical fiber cable for the QJ71LP21/QJ72LP25 network module (for the optical loop system). Prevent ambient light from entering the connector. Do not connect a cable or terminating resistor to the QJ71BR11/QJ72BR15 network module (for the coaxial bus system).
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q REMARKS Check the test condition and error details with the following link special register areas.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.7.3 Hardware test This test checks the internal components of the network module. (1) For the QJ71LP21/QJ72LP25 network module (for the optical loop system), connect the IN connector and OUT connector with an optical fiber cable. Do not connect cables or terminating resistors if the QJ71BR11/ QJ72BR15 network module (for the coaxial bus system) is used.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q REMARKS Check the test condition and error details with the following link special register areas.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.8 Cable Connections 4.8.1 Optical loop system (1) Precautions when connecting (a) The type of cables that can be used will vary according to the distance between stations. Interstation distance QJ71LP21, QJ71LP21-25, Type QJ71LP21S-25, QJ72LP25-25 : 10 Mbps QJ71LP21-25, QJ71LP21S-25, QJ71LP21G QJ71LP21GE QJ72LP25-25 : QJ72LP25G QJ72LP25GE Must not be used Must not be used 25 Mbps SI optical fiber cable L type 500m (1641 ft.) 200m (656 ft.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Cable connection Remote master station Power supply Station No. 0 QCPU QJ71 LP21 IN OUT Remote I/O station Station No. 1 Remote I/O station Station No. n n 64 Power supply How to connect the cable Note that there is no need to connect the cables in the order of station numbers. Set the station number of the remote master station to 0.
4 SETTING AND PROCEDURE BEFORE OPERATION (c) MELSEC-Q Removing the optical fiber cable The following are how to remove the optical fiber cable: Removal Plug Turn OFF the power. Press the fixed sections of the plug in the directions of the arrows and pull out the plug. Cover Put the covers, which were attached to the plug before installation, back on both the plug and jack to store.
4 SETTING AND PROCEDURE BEFORE OPERATION (b) MELSEC-Q Cable installation precautions 1) Install the coaxial cables at least 100 mm (3.94 in.) away from other power cables and control cables. 2) Consider to use double shield coaxial cables in locations where there is excessive noise. 3) To configure a multiplexed remote I/O network for redundant system, use a double shield coaxial cable.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Cable connection (a) Connection method Connect the coaxial cable as shown below. Always install a terminating resistor (sold separately: A6RCON-R75) to the stations connected at both ends. The F-type connector (A6RCON-F) comes with the module. 1) Without a repeater module Remote master station Station No. 0 Remote I/O station Station No. 1 Remote I/O station Station No.
4 SETTING AND PROCEDURE BEFORE OPERATION 3) MELSEC-Q With a repeater module (branch connection) Remote master station Remote I/O station Remote I/O station Station No. 0 Station No. 1 Station No.
4 SETTING AND PROCEDURE BEFORE OPERATION (b) MELSEC-Q Installing the coaxial cable The following are how to install the coaxial cable: Network module Installation Jack Turn OFF the power. Plug Projection Insert the plug by aligning the groove of the plug with the projection of the jack. Groove Rotate the plug in the direction of the arrow (clockwise) securely to the position shown in the second figure from above.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.9 Offline Tests from GX Developer The offline tests check the cable connection status using the network parameters of GX Developer. 4.9.1 Forward loop/reverse loop test (Remote master station only) The forward loop/reverse loop test checks the hardware of the network modules and cables after all stations are connected with optical fiber cables. It also checks whether the cables are connected between IN and OUT connections properly.
4 SETTING AND PROCEDURE BEFORE OPERATION (b) MELSEC-Q Setting the mode when performing the forward loop/reverse loop test on the redundant system When conducting the forward loop/reverse loop test on the redundant system, set the operation mode of the redundant CPU to the backup mode in advance. When it the power supplies of both the systems cannot be powered on/off, perform the forward loop/reverse loop test in the separate mode.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Starting the test (a) High Performance model QCPU, Process CPU, and Redundant CPU Set the RUN/STOP switch of the CPU module to the STOP position. When resetting the CPU module, use the RESET/L.CLR switch. Center RESET 3 4 5 CPU module STOP 3 4 5 RUN RESET L.CLR (b) STOP RUN RESET L.CLR 3 4 5 STOP RUN RESET L.CLR Universal model QCPU Reset with the RESET/STOP/RUN switch. Hold the switch in the RESET position until the ERR.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Checking the test result The T.PASS LED of the network module flashes at approximately 0.5 s intervals. When the T.PASS LED flashes 20 times (approx. 10s) or more and if the ERR.LED does not flash, this condition indicates normal completion. When the test has failed, the ERR. LED flashes. Check the test result with the LEDs of the testing station.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10 Network Diagnostics from GX Developer (Online Tests) With the network diagnostic function of GX Developer, the line status can easily be checked and diagnosed. Conduct network diagnostics by connecting GX Developer with a remote master station. For a remote sub-master station and remote I/O station, the line status can be confirmed through the network diagnostics of the remote master station.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.1 Loop test (optical loop system only) This test checks the line status (forward loop or reverse loop) after all stations are connected to the optical loop system. GX Developer Remote master station Reserved station Station No. 0 IN OUT OUT IN Station No. 1 Station No. 3 IN OUT OUT IN Station No. 7 Loopback Station No. 6 IN OUT Station No. 4 IN OUT OUT IN Station No. 2 IN OUT Station No.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.2 Setup confirmation test This test checks the switch setting of a network module. The following items can be checked. 1) Control station overlap status (This check is not performed on remote I/O network.) 2) Station number duplication status 3) Network No. consistency check (Whether the network number set for the station where GX Developer is connected matches the network number set in network parameter of the host station.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.3 Station order check test (optical loop system only) This test checks the order of connected stations in the optical loop system. The following table lists the correspondence between the loop status and the order of stations that can be checked in the test.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.4 Communication test This test checks whether communications is normally performed between the host station and a communication-target station (specified with the network number and station number). If the communication-target station is in another network, the relay network number and station number are displayed and the routing parameter settings can be checked. GX Developer 1R1 2NS1 1R2 2NS3 Host Network No. 1 1R4 1R3 1MR 2MP2 Network No.
4 SETTING AND PROCEDURE BEFORE OPERATION MELSEC-Q MEMO 4 - 37 4 - 37
5 PARAMETER SETTINGS MELSEC-Q 5 PARAMETER SETTINGS To operate a remote I/O network, parameters must be set up for the CPU module on the remote master station and remote I/O modules on remote I/O stations accordingly. Settings ranging from MELSECNET/H type selection to application function details can be configured with parameters. The following is a flow chart of the settings. (1) Parameter settings for the remote master station Setting the number of modules · · · · Section 5.1.
5 PARAMETER SETTINGS MELSEC-Q (2) Parameter settings for a remote I/O station Set the following 1 functions as necessary. Required PLC Parameters · · · · Section 5.2.1 (1) PLC system (2) PLC RAS (3) Operational settings 1 (4) I/O assignment Not required Intelligent function module parameter settings 2 Set the following functions as necessary. Required Not required Network parameter settings (1) Ethernet (2) CC-Link · · · · Section 5.2.1 Setting a remote password. · · · · Section 5.2.
5 PARAMETER SETTINGS MELSEC-Q Table 5.1 Remote master station network parameter setting items Network station type Parameter setting item Remote master station — Settings with the network module Station number (STATION No.) Reference section Section 4.3 Section 4.3.1 Mode (MODE) Section 4.3.2 — Settings with GX Developer Setting the number of modules (network type) Section 5.1.1 — Network settings Section 5.1.2 Starting I/O No. Section 5.1.2 (1) Network No. Section 5.1.
5 PARAMETER SETTINGS MELSEC-Q Table 5.2 Remote I/O station PLC parameter setting items Network station type Parameter setting item Remote I/O station Reference section — PLC system Points occupied by empty slot Section 5.2.1 Module synchronization — PLC RAS Operating mode when there is an error Section 5.2.1 Error check — Operational settings Remote I/O switch setting Section 5.2.1 Assignment method Forwarding parameter between devices — I/O assignment I/O Assignment Section 5.2.
5 PARAMETER SETTINGS MELSEC-Q 5.1 Remote Master Station Parameter Setting The remote master station sets the network parameters to the CPU module. 5.1.1 Setting the number of modules (Network type) Set the network type and the station type for each module. No. of mountable modules is the maximum number of mountable network modules with CC-Link IE Controller Network. Note, however, that there are restrictions on the number of network modules that can be mounted, depending on the CPU module used.
5 PARAMETER SETTINGS MELSEC-Q 5.1.2 Network settings These parameters are used to configure the MELSECNET/H network. Set the starting I/O No., network No., total number of (slave) stations, group No. and mode for each of the module model names set in the number of modules settings. (1) Starting I/O No. Set the start I/O No. to which the module is loaded in 16-point units in hexadecimal for each applicable network module. For example, set 130 when the network module is loaded onto X/Y130 to 14F.
5 PARAMETER SETTINGS MELSEC-Q (4) Group No. (available for multiplexed remote master/sub-master station only) Set the group No. to send data simultaneously to other stations in transient transmission. (a) Valid setting range 0 : No group specification (default) 1 to 32 : Group No. (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.
5 PARAMETER SETTINGS MELSEC-Q (6) Parameter setting example The following is an example for system parameter settings including remote master station (remote I/O network) and controlling station (PLC to PLC network). (System configuration) Power supply Remote master station QCPU QJ71 LP21 Control station QJ71 BR11 Valid module during other station access: First module 1MR Remote I/O network (Network No. 1) 1R1 to 1R5 2MP1 PLC to PLC network (Network No.
5 PARAMETER SETTINGS MELSEC-Q 5.1.3 Common parameter The common parameters set the LB, LW, LX and LY cyclic transmission ranges that allows sending and receiving between a remote master station and remote I/O stations in a network. Common parameters only need to be set for the remote master station. (1) LX/LY setting I/O signals (X, Y) of each remote I/O station are transferred to the CPU module via link devices (LX, LY) of the remote master station for control in the CPU module.
5 PARAMETER SETTINGS MELSEC-Q REMARKS The link device (LX, LY) data of the remote master station are refreshed to the internal user devices (e.g. X, Y) of the CPU module to be used in sequence programs. To refresh these data to the CPU module's input (X) or output (Y) area, assign them to the area after the actual I/O. For details on the link refresh, refer to Section 5.1.5.
5 PARAMETER SETTINGS MELSEC-Q POINT (1) Set the setting for the remote master station side to the input/output number of the remote I/O station module that is mounted. Remote master station X 0 Remote I/O station Y X Y 0 Actual I/O 1FFF 1FFF If there is an error in the mounting condition, malfunctioning will occur.
5 PARAMETER SETTINGS MELSEC-Q (2) LB/LW setting The LB/LW data on each remote I/O station are transferred to the CPU module via LB/LW of the remote master station for control in the CPU module. In the LB/LW setting, set the area ranges for sending data from the remote master station to each remote I/O station and for receiving data from each remote I/O station to the remote master station.
5 PARAMETER SETTINGS MELSEC-Q POINT (1) Set so that the M station R station and M station R station do not overlap. Good example MR M station R station R1 MR R1 MR R2 Bad example R2 MR M station R1 MR R1 MR R1 MR R2 MR R2 R2 R station M station M station R station MR R1 MR R2 R station (2) When the MELSECNET/H remote I/O network uses the link dedicated instructions (REMFR, REMTO, READ, WRITE), there is no need for LB/LW for handshake that was required for MELSECNET/10.
5 PARAMETER SETTINGS MELSEC-Q POINT In the case of the multiplexed remote I/O network for redundant system, set the link devices in the tracking settings in the redundant parameters to update the link devices between the multiplexed remote master station and multiplexed remote sub-master station. (The set link devices are tracked from the control system to the standby system via the tracking cable.
5 PARAMETER SETTINGS MELSEC-Q 5.1.4 Supplementary settings The supplemental settings are included in common parameter settings to provide more precise usage. Keep the default settings for normal use. Common parameters supplemental are only for remote master stations. 1) 2) 3) 4) 5) 6) 7) [Setting items] 1) Constant scan The constant link scan function is used to maintain the link scan time constant.
5 PARAMETER SETTINGS MELSEC-Q 2) Maximum No. of returns to system stations in 1 scan (refer to Section 3.2.2) Set the number of faulty stations that can return to the network in one link scan. : 1 to 64 stations • Valid number of stations : 2 stations • Default Since link scan time may be extended when a station error occurs if the number of stations has been increased in the settings, carefully change the settings. 5 - 16 3) With multiplex transmission (refer to Section 7.
5 PARAMETER SETTINGS MELSEC-Q 6) Transient setting 2 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. • Valid setting count : 1 to 255 times : 2 times • Default "Maximum No. of transients in one station" Set the number of transients that a single station can execute in one link scan.
5 PARAMETER SETTINGS MELSEC-Q POINT (1) Transient request processing may be prolonged in a system where transient requests are made frequently (e.g. a system including a remote I/O station to which a GOT is mounted). In such a case, make the following setting. (a) Parameter setting for the remote master station Increase the value set in No. of transients. Doing this enables concurrent execution of many transient requests (during one scan).
5 PARAMETER SETTINGS MELSEC-Q 5.1.5 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. By eliminating the link refresh of those link devices that are not used by the sequence programs, the scan time can also be reduced.
5 PARAMETER SETTINGS MELSEC-Q (Refresh parameter setting screen) POINT The assignment image diagram can display schematic images of CC-Link IE Controller Network, CC-Link IE Field Network and MELSECNET/H (network modules on controller networks, PLC to PLC networks, and remote I/O networks). Avoid any duplicate settings of the programmable-controller-side devices that are used for the following.
5 PARAMETER SETTINGS MELSEC-Q End button 6) Click this button to return to the network setting screen after completing the data settings. REMARKS [Random cyclic] is for future use. An error will not occur even if it is selected, but no processing will be performed.
5 PARAMETER SETTINGS MELSEC-Q POINT Either of the following settings must be made to use the entire device range (16K points) of LB/LW. 1) Change the number of B/W device points. (Refer to the following example.) 2) Make the refresh parameter settings so that B/W and other devices will be assigned as the refresh destination devices of LB/LW. (Refer to Section 5.1.5.
5 PARAMETER SETTINGS MELSEC-Q (1) Concept of the link refreshing (a) Link refresh ranges The ranges that are set in Refresh parameters and that are set with common parameters are refreshed. (b) Devices for which link refreshing can be executed 64 transfer settings (LX, LY, LB, LW), one SB transfer setting and one SW transfer setting can be performed for each master module. It is possible to transfer to different devices.
5 PARAMETER SETTINGS MELSEC-Q (2) How to set the refresh parameters (a) Automatic setting with the Default button 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.
5 PARAMETER SETTINGS MELSEC-Q 2) 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.
5 PARAMETER SETTINGS MELSEC-Q (b) Manual setting by direct input 1) 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. 2) Configure the settings for the link side and CPU side devices.
5 PARAMETER SETTINGS MELSEC-Q (3) When no refresh parameters are set (High Performance model QCPU, Process CPU, and Redundant CPU) Link devices are assigned as shown below.
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.
5 PARAMETER SETTINGS MELSEC-Q (4) Setting example The following shows an example of the refresh parameters settings: Power supply [System configuration] QCPU QJ71 LP21 QJ71 BR11 1MR 2MR Network No.2 Network No.
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.
5 PARAMETER SETTINGS MELSEC-Q 5.1.6 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 No. of the access target programmable controller station cannot be specified from the host (access from the serial communication module (A compatible 1C frame), Ethernet module (A compatible 1E frame), etc. to other stations) is issued.
5 PARAMETER SETTINGS MELSEC-Q 5.1.7 Redundant settings For the multiplexed remote master station for redundant system, it is necessary to set the same mode as the mode applied to the multiplexed remote master station (system A) to the multiplexed remote sub-master station (system B). Set the mode of system B in the redundant settings. Set the mode of the multiplexed remote master station. Click the button. Set the mode of system B on the redundant setting screen.
5 PARAMETER SETTINGS MELSEC-Q 5.2 Remote I/O Station Parameter Settings For remote I/O stations, set up the PLC parameters, network parameters, and remote password on the remote I/O module as needed. POINT After writing the parameters to the remote I/O module, reset it to enable the parameters that have been set. To reset the remote I/O module, use the reset switch on the module or power OFF and then ON the remote I/O station. 5.2.
5 PARAMETER SETTINGS MELSEC-Q 1: The operation mode of a remote I/O station under the error status can be set differently from the parameters of the remote master station (CPU module). When an error (fuse blowout or I/O verification error) occurs on the remote master station (CPU module) and remote I/O station, the data link and output of the remote I/O station are determined based on the combination of the parameter settings of remote I/O stations and remote master station (CPU module).
5 PARAMETER SETTINGS (a) 5 - 35 MELSEC-Q Operational settings 1) Remote I/O switch setting For future expansion. Cannot be set at present time. 2) Assignment method Select the assignment method for sending parameters between devices: "Points/Start" or "Start/End". • Assign the bit device (B, M) points in increments of 16 and the start/end addresses with the number in multiples of 16.
5 PARAMETER SETTINGS MELSEC-Q POINT When the intelligent function module buffer memory is located in several different areas, the forwarding parameter between devices are convenient when combining them for access.
5 PARAMETER SETTINGS MELSEC-Q (2) Network parameters The remote I/O module can set network parameters in the same way as the CPU module. Major Items Description Ethernet settings Sets the Ethernet network parameters. CC-Link settings Sets the CC-Link settings network parameters. (a) For details on Ethernet settings, refer to "Q Corresponding Ethernet Interface Module User's Manual (Basic) (SH-080009).
5 PARAMETER SETTINGS MELSEC-Q (4) Intelligent function module parameters The parameters of a connected intelligent function module and the auto refresh setting can be set in remote I/O modules. Major Items Initial setting Description Set the parameters of an intelligent function module. Up to 512 items can be set for the initial setting. The number of items to set varies depending on the intelligent function module used.
6 PROGRAMMING MELSEC-Q 6 PROGRAMMING When diverting the program example introduced in this chapter to the actual system, fully check that there are no problems in the controllability of the system. 6.1 Programming Precautions This section explains the precautions in creating programs using data on the network. 6.1.1 Interlock related signals A list of the interlock signal devices used in the sequence programs is provided below.
6 PROGRAMMING MELSEC-Q List of Interlock Devices Use permitted/prohibited No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial SB0020 (32) SB0044 (68) SB0047 (71) 1 SB0048 (72) SB0049 (73) 1 SB0070 (112) 1 SB0074 (116) Indicates the communication status between the network module and the CPU module.
6 PROGRAMMING MELSEC-Q Use permitted/prohibited No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 1 SW0070 (112)/ SW0071 Baton pass status (113)/ of each station SW0072 (114)/ SW0073 (115) Stores the baton pass status of each station (Including the host).
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 (bit 1 of SW0070 and bit 1 of SW0074). (Example) Set the values listed below for timer constant K .
6 PROGRAMMING MELSEC-Q If the initial settings for the buffer memory of the intelligent function module on a remote I/O station are set by a link dedicated instruction (REMTO instruction), write the program so that when only that remote I/O module is reset (by turning the remote I/O module power supply off or by using the remote I/O module reset switch), the remote master station will detect that condition and will once again execute the initial settings in the intelligent function module.
6 PROGRAMMING MELSEC-Q The following cases may occur when performing the initial settings to the intelligent function module. (a) Analog-digital conversion module Q64AD A/D conversion permit/prohibit setting. (b) Digital-analog conversion module Q62DA D/A conversion permit/prohibit. The operating status of the remote I/O station can be confirmed by the special register for the links for each station baton pass status (SW0070 to SW0073).
6 PROGRAMMING MELSEC-Q 6.2 Cyclic Transmission Depending on the timing of the link refresh, 32-bit (2-word) type link data may be broken up into new and old data in units of 16 bits (one word). • Current values of analog-digital converter module • Current values of positioning module, command speed. The remote I/O network provides the following functions for making handling of the link data easy. • 32-bit data guarantee : Section 6.2.1 • Block guarantee of cyclic data per station : Section 6.2.2 6.2.
6 PROGRAMMING MELSEC-Q 6.2.2 Block guarantee of cyclic data per station Since link refresh is performed by handshaking between the CPU and network modules, cyclic data integrity is assured in units of stations. The Block guarantee of cyclic data per station is a function that prevents link data consisting of two words (32 bits), such as a current value of a positioning module, from being divided into new and old data in units of one word (16 bits).
6 PROGRAMMING MELSEC-Q 6.3 Communications with I/O Modules This section describes the setting and programming that are required for a CPU to communicate with I/O modules on a remote I/O station by cyclic transmission. (1) System configuration example Remote master station Power QCPU QJ71 supply BR11 Remote I/O station (station No. 1) Power QJ72 supply BR15 QX40 QY40P (2) Program conditions The following processing is performed in the program.
6 PROGRAMMING MELSEC-Q 6.4 Communications with Intelligent Function Modules This section describes the setting and programming that are required for a CPU module to communicate with intelligent function modules on a remote I/O station by cyclic transmission. (1) System configuration example Remote master station Power QCPU QJ71 QX40 QY40P supply BR11 Remote I/O station (station No.
6 PROGRAMMING MELSEC-Q 6.4.1 Program example when using GX Configurator (1) Setting for the CPU module on the remote master station Set network parameters in GX Developer. (a) Setting network parameters • Network type : MNET/H (Remote master) • Starting I/O No. : 0000H • Network No.
6 PROGRAMMING MELSEC-Q (2) Setting for the remote I/O module In GX Developer, set the intelligent function module switches. (Refer to Section 6.4 (1).) Also, set intelligent function module parameters in GX Configurator. Configure the following settings. • Start I/O No.
6 PROGRAMMING MELSEC-Q (b) Auto refresh setting 1 CH1 Digital output value ········ "W11" CH2 Digital output value ········ "W12" CH3 Digital output value ········ "W13" Error code ·························· "W14" 1: Note that the number of intelligent function module parameters that may be set for automatic refresh setting is limited. The number of parameters that may be set for automatic refresh setting is as follows.
6 PROGRAMMING MELSEC-Q (3) Program example * Digital output value read Read the CH1 digital output value Read the CH2 digital output value Read the CH3 digital output value * Error code display and reset Output the error code in BCD Turn ON the error clear request (YF) Turn OFF the error clear request (YF) 6 - 14 6 - 14
6 PROGRAMMING MELSEC-Q 6.4.2 Program example when not using GX Configurator POINT Execution of the REMFR/REMTO instruction needs several scans. Therefore, the execution result of the REMFR/REMTO instruction cannot be synchronized with operations of the I/O signals. When reading a digital output value on a Q64AD after changing the operating condition during operation, be sure to read the A/D conversion completed flag (buffer memory address 10) at the same time.
6 PROGRAMMING MELSEC-Q (3) Program example * Remote I/O station operating status checking Master station baton pass status checking Master station data link status checking Remote I/O station baton pass status checking Remote I/O station data link status checking Remote I/O parameter communication status checking Master module status checking * Set the A/D conversion enabled channel (initial setting) A/D conversion enable/disable setting CH2 Average time/average number of times CH3 Average time/average
6 PROGRAMMING 6 - 17 MELSEC-Q 6 - 17
6 PROGRAMMING MELSEC-Q 6.5 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, refer to the applicable section listed in the Reference section column.
6 PROGRAMMING MELSEC-Q Target station Execution station Instruction Name Process Redundant CPU SEND Data send Description CPU 2 Multiplexed Reference remote section sub-master station SEND: Writes data to the target station (network module) of the target network No. RECV: Reads the data sent by SEND to the CPU device.
6 PROGRAMMING MELSEC-Q Target station Execution station Instruction Name Process CPU Redundant CPU 2 Multiplexed remote master station Description Multiplexed Reference remote section sub-master station [A-compatible instruction] Reads the CPU device data of the target station of the target network No.
6 PROGRAMMING MELSEC-Q Target station Execution station Instruction Name Process Redundant CPU Multiplexed remote master station Description CPU 2 Multiplexed Reference remote section sub-master station Performs "Write clock data" to the CPU module of the other station.
6 PROGRAMMING MELSEC-Q REMARKS If the SREAD or SWRITE instruction is erroneously executed to a remote I/O station, the notification device to the target station is ignored and it is processed in the same manner as the READ or WRITE instruction.
6 PROGRAMMING MELSEC-Q 6.6 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. The range that can be set by the user is SB/SW 0000H to 001FH. The range that can be set by the system is SB/SW 0020H to 01FFH. For more details, refer to Appendixes 2 and 3.
6 PROGRAMMING MELSEC-Q (Cyclic transmission restart) 8) 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) 9) Turn System link startup (SB0002) ON. 10) When the network module accepts a request, Cyclic transmission start acknowledgment status (system) (SB0050) is turned ON.
6 PROGRAMMING MELSEC-Q (b) Cyclic transmission stop/restart of the host (Cyclic transmission stop) 1) 2) 3) 4) 5) 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.
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 1) 2) 3) 4) No. 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.
6 PROGRAMMING MELSEC-Q (b) Checking data link status of the host 1) 2) 3) No. SB0047 Description Baton pass status (host) — SB0049 Host data link status — 6 - 27 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. • Baton pass status (host) (SB0047) • Host data link status (SB0049) The cause of an error is stored in the following link special registers (SW).
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) 1) 2) 3) 4) 5) 6) No. When a transient transmission error occurs, Transient error (SB00EE) is turned ON. An error code is stored in Transient transmission error history (SW00F0 to SW00FF).
6 PROGRAMMING MELSEC-Q (4) 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.) 1) 2) No. SB0005 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. Turning ON Clear retry count (SB0005) will clear Number of retries (SW00C8 and SW00C9).
6 PROGRAMMING MELSEC-Q (5) Checking the forward/reverse loop in the optical loop system The forward/reverse loop in the optical loop system can be checked not only in the network diagnostics of GX Developer but also with link special relays (SB) and link special registers (SW). (Refer to Sections 8.1.1 and 8.1.2.) (a) Checking the forward/reverse loop of another station 1) 2) 3) 4) 5) 6) 7) 8) No.
6 PROGRAMMING MELSEC-Q (b) Checking the forward/reverse loop of the host 1) 2) 3) 4) 5) No. When an error occurs on the forward or reverse loop, Host loop status (SB0090) turns ON. If loopback occurs, the cause of the loopback is stored in Loop switch data (SW00D0 to SW00DF). The position of the loop switch data storage can be checked with Loop switch data pointer (SW00CF). The loop status of the host can be checked with Loopback information (SW0090).
6 PROGRAMMING MELSEC-Q (6) 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 Section 4.7.) (a) Requesting side 1) 2) No. When the offline test is instructed, Offline test instruction (SB00AC) is turned ON. An offline test item and a faulty station number are stored in Offline test execution item/faulty station (requesting side) (SW00AC).
6 PROGRAMMING MELSEC-Q (7) 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.10.) (a) Requesting side 1) 2) No. When the online test is instructed, Online test instruction (SB00A8) is turned ON. An online test item and a faulty station number are stored in Online test execution item/faulty station (requesting side) (SW00A8).
6 PROGRAMMING MELSEC-Q (8) 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 No. SB0078 SB007C 6 - 34 1) Check the following link special relay (SB) and link special register (SW) with the remote master station. • When receiving parameters is completed, Parameter communication status of each station (SB0078) is turned OFF.
6 PROGRAMMING MELSEC-Q (b) Checking the parameter status of the host (including the switch setting on the network module) 1) 2) 3) 4) No. 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. • Setting information (host) (SB0045) • Received parameter error (SB0055) An error code is stored in Parameter setting status (SW0055).
6 PROGRAMMING MELSEC-Q (9) Checking the remote master station's CPU module and remote I/O station statuses (Error detection of remote I/O stations) The status check can be performed not only with the network diagnostics in GX Developer but also with link special relays (SB) and link special registers (SW). (Refer to Sections 8.1.2 and 8.1.3.
6 PROGRAMMING MELSEC-Q (b) Checking the remote master station's CPU module status 1) 2) 3) 4) No. Description SB004A Host CPU status (1) SB004B Host CPU status (2) SB0085 SB0086 Whether the CPU module is in the RUN or STOP status can be checked in CPU RUN status of the remote master station (SB0085). (SB0086 for the multiplexed remote sub-master station) When a continuation error occurs with the CPU module, Host CPU status (1) (SB004A) is turned ON.
6 PROGRAMMING MELSEC-Q (11) Operation status check and operation switching of the multiplexed remote master function The operation of the multiplexed remote master function can be checked or switched with link special relays (SB) and link special registers (SW). (a) Checking the operation status of the multiplexed remote master station 1) 2) No. SB0071 SB0072 SB0075 SB0076 SB0077 If an error occurs in data link, any of the following link special relays (SB) is turned ON.
6 PROGRAMMING MELSEC-Q (c) Checking device ranges of the multiplexed remote master and sub-master stations 1) 2) No. When Send LY/Receive LX device numbers of the multiplexed remote master and sub-master stations (SW01C8 to SW01CF) become valid, Send/receive device number valid/invalid status (SB01C8) is turned ON. The send/receive device numbers of the multiplexed remote master and sub-master stations can be checked in SW01C8 to SW01CF. Description No.
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. 1) 2) No. Link dedicated instructions can be set with the following link special registers (SW).
6 PROGRAMMING MELSEC-Q (14) Checking the communication status between the network module and the CPU module The communication status between the network module and the CPU module can be checked with the link special relay (SB) and the link special register (SW). (a) Checking the error details 1) 2) No. SB0020 When an error occurs in the communication between the network module and the CPU module, Module status (SB0020) turns ON. An error code is stored in Module status (SW0020).
7 APPLICATION FUNCTIONS MELSEC-Q 7 APPLICATION FUNCTIONS When applying the program examples introduced in this chapter to the actual system, make sure to examine the applicability and confirm that it will not cause system control problems. 7 : In the application functions, there are executable functions that can be used by setting the parameters to either the remote master station or remote I/O station.
7 APPLICATION FUNCTIONS MELSEC-Q 7.1 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 link dedicated instructions (REMFR, REMTO, READ and WRITE) GX Developer, the intelligent function module, etc.
7 APPLICATION FUNCTIONS MELSEC-Q 7.1.1 Link dedicated instruction (1) Reading/writing remote I/O station intelligent function module buffer memory (Z(P).REMFR/ Z(P).REMTO) This section describes the REMFR/REMTO instruction format. For a program example using the REMFR/REMTO instruction, refer to Section 6.4.2. The REMFR instruction reads the data from the buffer memory of the intelligent function module mounted to the remote I/O station.
7 APPLICATION FUNCTIONS 2) MELSEC-Q Z(P).REMTO (Network No. designation) Write command Z.REMTO "Jn" n1 n2 n3 n4 D1 n5 D2 Z: Executed when on ZP.REMTO "Jn" n1 n2 n3 n4 D1 n5 D2 ZP: Executed when rising Write command : If the originating station is a Universal model QCPU, " "(double quotation) for the first argument can be omitted. Description of setting Jn Setting range Target network No.
7 APPLICATION FUNCTIONS (b) MELSEC-Q Instruction execution timing 1) Normal completion (REMFR instruction) REMFR 0 Sequence scan END 0 END 0 END 0 END 0 END 0 END Read command Host CPU Read completion device (Device designated in (D2)) 1 scan Read completion device ((D2) + 1 device) OFF Set data (Devices designated in (n3), (n4),(n5)) Read data storage device (Device W (M R) designated in (D1)) Master module Remote I/O module Intelligent function module 7-5 Buffer memory 7-5
7 APPLICATION FUNCTIONS MELSEC-Q (REMTO instruction) REMTO Sequence scan 0 END 0 END 0 END 0 END 0 END 0 END Write command Host CPU Write completion device (Device designated in (D2)) 1 scan OFF Write completion device ((D2) + 1 device) Set data (Devices designated in (n3), (n4), (n5)) Write data storage device (Device W (M R) designated in (D1)) Master module Remote I/O module Intelligent function module 7-6 Buffer memory 7-6
7 APPLICATION FUNCTIONS 2) MELSEC-Q Abnormal completion (REMFR instruction) REMFR Sequence scan 0 END 0 END 0 END 0 END 0 END 0 END Read command Host CPU Read completion device (Device designated in (D2)) Read completion device ((D2) + 1 device) 1 scan Set data (Devices designated in (n3), (n4), (n5)) Send/receive instruction processing result (SW0031 to SW003F) Error code Master module Error occurrence 7-7 7-7
7 APPLICATION FUNCTIONS MELSEC-Q (REMTO instruction) REMTO Sequence scan 0 END 0 END 0 END 0 END 0 END 0 END Write command Write completion device (Device designated in (D2)) Host CPU Write completion device ((D2) + 1 device) 1 scan Set data (Devices designated in (n3), (n4), (n5)) Write data storage device (Device W (M R) designated in (D1)) Error code Send/receive instruction processing result (SW0031 to SW003F) Master module Error occurrence 7-8 7-8
7 APPLICATION FUNCTIONS MELSEC-Q 7.2 Remote I/O Station System Monitor With the remote I/O network, the intelligent function module mounted to a remote I/O station can be monitored on the system monitor of GX Developer. By using this, it is possible to easily diagnose the intelligent function module on the remote I/O station. For details on operating the system monitor, please refer to the operating manual for GX Developer. There are 3 methods for performing system monitoring.
7 APPLICATION FUNCTIONS MELSEC-Q 7.3 Device Test for Remote I/O Station The remote I/O network can use operations of GX Developer connected to the remote I/O station to test the input/output devices of the sequence program without affecting the online system. To conduct a test without affecting the system, register the device to be tested in "Forced input output registration/cancellation" in "debug" in the online menu.
7 APPLICATION FUNCTIONS MELSEC-Q (2) The remote I/O module stops the X input from the input module At this time, the remote I/O station is performing X/Y communication with the remote master station. The remote master station uses GX Developer which is connected directly to the remote I/O module to perform make an X input from GX Developer to the remote I/O station and perform an X input test. Common parameters GX Developer QCPU Remote master station Monitors No.
7 APPLICATION FUNCTIONS MELSEC-Q 7.4 Multiplex Transmission Function (Optical Loop System) Master Remote 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" of the common parameters is required.
7 APPLICATION FUNCTIONS MELSEC-Q 7.5 Return Sequence Station Number Setting Function Master Remote The remote I/O net can set the number of stations for which stations with communication errors during one link scan can perform return sequence. If the number of stations set is large, a large number of communication stations with errors can perform return sequence.
7 APPLICATION FUNCTIONS MELSEC-Q 7.7 Interrupt Settings Master Remote The remote master station uses the host interrupt setting parameters to check interrupt conditions at the time data is being received from the remote I/O station. When the interrupt conditions are matched, it issues an interrupt request to CPU module from the master module and starts the interrupt sequence program of the CPU module. Up to 16 interrupt conditions can be set per master module.
7 APPLICATION FUNCTIONS MELSEC-Q 7.
7 APPLICATION FUNCTIONS MELSEC-Q 7.9 Stopping/Restarting the Cyclic Transmission and Stopping Link Refreshing (Network Test) The remote I/O network can use the "network test" of GX Developer to stop and restart cyclic data. 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. CPU Master module B LB Station No. 1 2) Link refresh Station No. 1 1) Link scan Station No.
7 APPLICATION FUNCTIONS MELSEC-Q 7.10 Multiplexed remote master function (Process CPU) The multiplex remote master function allows the multiplexed remote sub-master station to take control of the remote I/O stations when the multiplexed remote master station fails. Multiplexed remote master station Multiplexed remote sub-master station Remote I/O station Remote I/O station Remote I/O station The multiplexed remote master function has the following merits.
7 APPLICATION FUNCTIONS MELSEC-Q The following describes each item. (1) Continuation of controlling remote I/O stations when multiplexed remote master station fails (a) By mounting the master modules of the multiplexed remote master station and multiplexed remote sub-master station to different programmable controller CPUs, the multiplexed remote sub-master station automatically controls the remote I/O stations if the multiplexed remote master station fails (switching of master operation).
7 APPLICATION FUNCTIONS (d) MELSEC-Q The intelligent function modules such as serial communication module, Ethernet module which are mounted to the remote I/O stations can access the station that is currently performing master operation in the MELSEC communication protocol. Access Destination Target Station Number to Be Set Multiplexed remote master station 7DH (Station No. 0) (e) Multiplexed remote sub-master station Multiplexed remote sub-master station No.
7 APPLICATION FUNCTIONS (f) MELSEC-Q Select the multiplexed remote master station or multiplexed remote submaster station from "Network type" on the "Module count setting screen" of the GX Developer parameters.
7 APPLICATION FUNCTIONS MELSEC-Q (2) Selection of operating station status when multiplexed remote master station returns to system It is possible to set the parameter of the multiplexed remote master station to select whether the remote I/O stations will be controlled by the multiplexed remote master station or by the multiplexed remote sub-master station when the multiplexed remote master station returns to system while the remote I/O stations are being controlled by the multiplexed remote sub-master s
7 APPLICATION FUNCTIONS (b) MELSEC-Q Return to system as standby station: The multiplexed remote master station returns to the system as the submaster operating station (standby station). The multiplexed remote sub-master station continues the control of the remote I/O stations.
7 APPLICATION FUNCTIONS (c) MELSEC-Q Switching of multiplexed remote master station operation When the multiplexed remote master station has returned to system, it can be switched to master operation in the following procedure. 1) The multiplexed remote sub-master confirms that the multiplexed remote master station has returned to the system by checking the link special relay (SB) status.
7 APPLICATION FUNCTIONS MELSEC-Q The link special relays used to switch multiplexed remote sub-master station operation Number Name Description SB0014 Remote sub-master station switching command Forcibly directs the remote sub-master station that is performing master operation to shift to sub-master operation (invalid for redundant systems).
7 APPLICATION FUNCTIONS MELSEC-Q (3) Startup of a multiplexed remote sub-master station only (a) By setting the same parameters as the multiplexed remote master station, the multiplexed remote sub-master station continues the control of the remote I/O stations if it is powered on and off while controlling the remote I/O stations. However, the outputs of the remote I/O stations are cleared when the multiplexed remote sub-master stations resumes the controls.
7 APPLICATION FUNCTIONS MELSEC-Q (4) Communication among multiplexed remote master station, multiplexed remote sub-master station and remote I/O stations (a) (b) (c) The input (X) data of the remote I/O station and the link relay (B) and link register (W) data sent by the remote I/O station are transferred to both the multiplexed remote master station and multiplexed remote sub-master station.
7 APPLICATION FUNCTIONS MELSEC-Q • LB/LW data flow between stations Multiplexed remote master station (master operation) Multiplexed remote sub-master station (sub-master operation) LB/LW LB/LW M RR M (c) Data transfer 0 0 M R R M (c) Data transfer 1FFF 1FFF (b) LB/LW (a) 0 M RR M (a) 1FFF Remote I/O station Multiplexed remote master station fails Multiplexed remote sub-master station (master operation) Multiplexed remote master station LB/LW LB/LW M RR M 0 0 M R R M 1FFF
7 APPLICATION FUNCTIONS MELSEC-Q (6) Program example to transfer data between a multiplexed remote master station and a multiplexed remote sub-master station The following program example assumes that the same program is used on the multiplexed remote master station and multiplexed remote sub-master station to transfer data between the multiplexed remote master station and multiplexed remote sub-master station. (a) System configuration Multiplexed remote master station (station No.
7 APPLICATION FUNCTIONS (d) Number MELSEC-Q Link special relay and link special registers used to make the programs identical The following link special relay and link special registers can be used to check the send/receive device ranges of the multiplexed remote master station and multiplexed remote sub-master station. Name Description SB01CB Indicates whether the send/receive device numbers (SW01C8 to SW01CF) of the remote sub-master Send/receive device station are valid or invalid.
7 APPLICATION FUNCTIONS (e) MELSEC-Q Program example: For multiplexed remote master station Host baton pass status Host data link status Module status SB0075 for multi R sub-master R sub-master cyclic transmission Send LB device No. Receive LB device No. Send LW device No. Receive LW device No.
7 APPLICATION FUNCTIONS MELSEC-Q R master cyclic trans control Continuation processing program used when multiplexed remote master station fails Station 2 baton path status Station 2 cyclic transmission Program for communication with remote I/O station No. 2 In the timer constant K , set the following value.
7 APPLICATION FUNCTIONS MELSEC-Q 7.11 Multiplexed remote master function for the redundant system (Redundant CPU) The redundant system uses the multiplexed remote master function to control I/O modules and intelligent function modules.
7 APPLICATION FUNCTIONS MELSEC-Q (2) Station No. settings For the master module mounted on the station (multiplexed remote master station) to which the system A connector of tracking cable is connected, set the station No.0. If the station No. other than 0 is set, the programmable controller CPU will detect the LINK PARA. ERROR (error code 3101).
7 APPLICATION FUNCTIONS MELSEC-Q 7.11.1 Backup function of master operation on system switching between control system and standby system (a) The redundant system consists of a control system (multiplexed remote master station) and standby system (multiplexed remote sub-master station) of the same system configuration.
7 APPLICATION FUNCTIONS (d) MELSEC-Q The output of the remote I/O station is held while master operation is switched from the multiplexed remote master station to the multiplexed remote sub-master station. Multiplexed remote master station Multiplexed remote sub-master station Output is held during system switching.
7 APPLICATION FUNCTIONS MELSEC-Q 7.11.3 System switching request function of control system The control system includes the system switching request function, i.e., the master module mounted in the control system CPU issues the system switching request to the control system CPU when it detects the data link error such as link cable disconnection or communication error. This function enables the standby system to continue the control even when the master module of the control system goes down.
7 APPLICATION FUNCTIONS MELSEC-Q POINT The following must be performed before operating the system • Powering ON/OFF of other stations (including those on the standby system) If the above operation is performed during system operation, a MELSECNET/H module on the control system may detect a communication error and a systemswitching request may be issued.
7 APPLICATION FUNCTIONS MELSEC-Q The master module issues a system switching request when the status of data link is changed from "under data link" to "data link halted" (when the D.LINK LED of the master module turns off). Although the time interval from when the data link is stopped to when the system switching request is issued to the control system CPU is set to two seconds, the interval can be changed using the link special relay (SB) and link special register (SW).
7 APPLICATION FUNCTIONS MELSEC-Q 7.11.4 Access function by specifying the control system or standby system This function is for making access to the Redundant system by specifying the control system or standby system using GX Developer or other methods. By using this function, access to the control system is enabled even after system switching occurs due to error.
7 APPLICATION FUNCTIONS MELSEC-Q 7.12 Remote password The remote password function is the function for preventing a remote user from illegally connecting to a remote I/O module and programmable controller CPU. The remote password function can be used by setting a remote password for a remote I/O module.
7 APPLICATION FUNCTIONS MELSEC-Q (2) Unlocking and locking the remote password The remote password is unlocked (connection is allowed) via the modem by the serial communication module or via Ethernet by the Ethernet module. When the remote password is matched, connection to the remote I/O module is allowed. The figure below shows the outline of unlocking and locking (connection is allowed) a remote password with the Ethernet module.
7 APPLICATION FUNCTIONS MELSEC-Q (4) Setting procedure of remote password "GX Developer" "Remote pass" "Remote password settings" screen "Remote password detail settings" screen (a) Setting screen (b) Setting items Item Setting Password settings Password active module settings Setting range/option Enter a remote password 4 characters, ASCII code Model name Select a model QJ71E71/QJ71C24/QJ71CMO 1 Start XY Set the module's top address.
7 APPLICATION FUNCTIONS MELSEC-Q (5) Error codes detected by remote I/O module Error code Error message LED status 3400 3401 Description Measures REMOTE ERR. LED: The head I/O number of the target Change the head I/O number of the PASS. ERR. on module in the remote password file is target module to within the 0H to 0FF0H set to other than 0H to 0FF0H. range. REMOTE ERR. LED: Any of the following modules is not Mount any of the following modules in PASS. ERR.
7 APPLICATION FUNCTIONS MELSEC-Q MEMO 7 - 44 7 - 44
8 TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING In order to ensure high system reliability, it is important to take precautions before the system is operated and to quickly and effectively correct problems if they do occur. This is why it is important to perform off-line testing of the network and checking of the cables when first starting the system. Make sure to perform the following checks, which are explained in Chapter 4, "Setup and Procedures Before Starting the Operation.
8 TROUBLESHOOTING MELSEC-Q 8.1 Network Diagnostics (Network Monitor) The status of the remote I/O network can be checked using the network diagnostic function of GX Developer. When an error occurs, the faulty station can be identified using the host station information, another station information, and error history monitor functions of the network. GX Developer network diagnosis can be implemented for the remote master station and remote I/O station 1. 1: Use GX Developer Version 6.
8 TROUBLESHOOTING From previous page Error history monitor MELSEC-Q [Status of self station] • Parameter setting • Reserved station setting • Transmission mode • Duplex transmission setting • Duplex transmission status [Network information] • Network Type • Module No. • Network No. • Group No. • Station No. [Loop switching] Number of occurrences [Transient transmission] Number of occurrences [Forward loop] • Retry • Line trouble • Communication error (UNDER, CRC, OVER, etc.
8 TROUBLESHOOTING MELSEC-Q POINT (1) The target of the network diagnostics is the host's network designated as the connection destination. (2) If the connection target is specified as another station or the redundant CPU is specified as a control system, standby system, system A, or system B, the network monitor can check only the information of the host and other stations. (3) The network diagnostics cannot be displayed correctly while the network module is executing the offline test.
8 TROUBLESHOOTING MELSEC-Q 8.1.1 Host information The information of the entire network and the status of the host station can be checked. 2) 3) 4) 1) 8) 5) 6) 7) 9) [Network info.] 1) Network type (SB0040, SB0044, SB0057, SW0046) The network used and the type of the host station are displayed. • NET/H[Loop], Remote I/O master station • NET/H[Bus], Remote I/O master station 8-5 2) Network No. (SW0040) The network No. of the host station is displayed. 3) Group No. (SW0041) "---" is displayed.
8 TROUBLESHOOTING MELSEC-Q [Link information] 5) Mode (SW0043) The operation mode of the host station is displayed. • Online • Offline • Forward loop test • Reverse loop test • Station-to-station test (Station that executes tests) • Station-to-station test (Station to be tested) 6) F loop status (SB0091), Loopback station (SB0099) The status on the forward loop side is displayed.
8 TROUBLESHOOTING MELSEC-Q 8.1.2 Other station information The status of communications, data link, parameters, CPU modules, and loops of other stations (including reserved stations) can be checked. The buttons 3) and 7) can be clicked only when the diagnostics is executed from the remote master station. 1) 2) 3) 4) 5) 6) 7) [Network info.] The information same as "Host information" in Section 8.1.1 is displayed. [Other station info.
8 TROUBLESHOOTING 8-8 MELSEC-Q 2) Data-Link status of each station (SW0074 to SW0077) The cyclic transmission status is displayed. • Light blue : Normal station or reserved station • Red : Error station (data link not being performed) 3) Parameter status of each station The parameter communication status of each station is displayed (SW0078 to SW007B).
8 TROUBLESHOOTING MELSEC-Q 8.1.3 Network monitor details The remote master station information, data link information, and parameter status of the host station can be checked. Displayed as shown below when diagnosis is executed from the remote I/O station. 11) 1) 2) 12) 13) 14) 3) 4) 15) 5) 6) 7) 8) 9) 10) [Network info.] The information same as "Host information" in Section 8.1.1 is displayed.
8 TROUBLESHOOTING MELSEC-Q [Data Link Information] 5) Total Number of Linked Stations The number of stations (the total number of link stations set in network parameter for the remote master station + 1 (remote master station)) is displayed. 6) Station of Maximum Normal Transmission (SW005A) The greatest station number of the station where the baton pass (transient transmission) is normally performed is displayed. On the station where the baton pass is normally performed, the T.
8 TROUBLESHOOTING MELSEC-Q 10) Reason for Transmission Stop (SW0049) The cause of the data link (cyclic transmission) failure of the host station is displayed. Item Normal There is a stop instruction (All) There is a stop instruction (Host) Stop instruction present ( ) No Parameter Illegal Parameter Host PLC Error Suspend Communication Description Communications being executed normally Cyclic transmission to all stations is stopped from the host or other stations.
8 TROUBLESHOOTING MELSEC-Q 8.1.4 Error history monitor The history of forward/reverse loop errors, communication errors, and transient transmission errors can be checked. The details of the error history can be displayed and the error history can be cleared. (1) Error history monitor 1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) [Network info.] The information same as "Host information" in Section 8.1.1 is displayed. 1) Loop switching (SW00CE) The number of loop switchings is displayed.
8 TROUBLESHOOTING MELSEC-Q 5) UNDER (SW00B8, SW00C0) The number of UNDER errors is displayed. Such as power-ON/OFF of the adjacent station and a cable error Refer to the following POINT. 6) CRC (SW00B9, SW00C1) The number of CRC errors is displayed. Such as disconnection of the station which sends data to the corresponding station, a cable error, hardware failure, and noise Refer to the following POINT.
8 TROUBLESHOOTING MELSEC-Q (2) Error history detail monitoring The cause of loop switching and history of the transient transmission error are displayed. 1) 2) 3) 4) [Loop switching] 1) Station No. (SW00E0 to 00E7) The station number which requested loop switching or loopback is displayed. (The station is not always the adjacent one.) 2) Factor (SW00D0 to 00DF) The factor for the loop switching or loopback is displayed.
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 has occurred in the programmable controller CPU, and take corrective action. (1) Check that the host has joined the network. Start the troubleshooting of the host by monitoring the status of the host.
8 TROUBLESHOOTING (b) MELSEC-Q For the remote I/O module POINT If the status of the "T. PASS" LED is unstable, refer to the following. The line status may be unstable. 1) Check the connector for loose connection and the cable for a break. 2) Check that the cable used conforms to the specifications. 3) Check that the overall length and interstation distance conform to the specifications. (Refer to Section 4.8 Cable Connection.
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.
8 TROUBLESHOOTING 8 - 18 MELSEC-Q 8 - 18
8 TROUBLESHOOTING MELSEC-Q C Is the send and receive data within the system specifications? Yes Is the send/ receive data according to system specifications? No Value of SW0047 Value 0: The host transmitting normally Value 3: No host send area Value 4: Abnormal parameters detected Value 5: Parameters not received Check the contents of the common parameters and station inherent parameters.
8 TROUBLESHOOTING MELSEC-Q E M/S error or SW error is assumed. 1) Check for duplicate station number, remote master station duplication or switch setting error. 2) Take corrective action according to the contents of SW0047 and the error code stored in SW0048. Programmable controller CPU or remote I/O station error is assumed.
8 TROUBLESHOOTING MELSEC-Q 8.2.1 Items checked first Check item Monitor the transmission status of each station with GX Developer 's network diagnostics. Is the "ERR." LED of the CPU module still lit or flickering? Are the LEDs of the remote I/O station operating normally? Are the “RUN,” “REM.,” “T.PASS,” and “D.LINK” LEDs of the remote I/O module on? Are the “ERR.,” and “L ERR” LEDs off? Are the "RUN" and "REM.
8 TROUBLESHOOTING MELSEC-Q 8.2.3 Items checked when data link is disabled by resetting or powering off a station Check item Checking procedure Is the cable wired properly? Check the wiring status with GX Developer's network diagnostic loop test. (Refer to Section 4.10.1.) In the case of the coaxial bus system, check the coaxial connector connection on each station and connections between the coaxial cables and coaxial connectors.
8 TROUBLESHOOTING MELSEC-Q 8.2.5 Items checked when an communication data error is detected (1) Cyclic transmission Check item Is the sequence program correct? Are the parameter settings of the remote master station correct? Checking procedure Stop the CPU modules of both the remote master station 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. If it is normal, review the sequence program.
8 TROUBLESHOOTING MELSEC-Q 8.2.7 Items checked when multiplexed remote I/O network for redundant system does not operate normally (1) Redundant CPU does not perform system switching even when the data link cable is disconnected.
8 TROUBLESHOOTING MELSEC-Q 8.2.9 Checking incorrect optical fiber cable connection during online 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. If incorrect cable connection is found, correct the wiring after shutting off all phases of the system.
8 TROUBLESHOOTING MELSEC-Q (1) Checking procedure Follow the procedure given below to check for incorrect optical fiber cable connection (IN-IN, OUT-OUT) during online.
8 TROUBLESHOOTING MELSEC-Q (2) Example of checking SW009C to SW009F (a) When cables are connected incorrectly at a remote I/O station (Station No.2) 1) 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. 0 Station No. 1 Station No. 2 QCPU QJ71LP21-25 QJ72LP25-25 QJ72LP25-25 IN OUT IN OUT IN Station No. 3 Station No.
8 TROUBLESHOOTING MELSEC-Q 8.3 Error Codes When a trouble such as data link failure has occurred, the error cause can be identified by using an error code. 8.3.1 How to check error codes To check error codes for all network modules, follow either procedure (1) or (2) described in this section. The codes can also be checked in link special registers (SW) and completion status of dedicated instructions. (Refer to (3) and (4) in this section.
8 TROUBLESHOOTING MELSEC-Q 3) For the remote master station, check the error code, error history, description, and corrective action on the "Module's Detailed Information" screen. "Module's Detailed Information" screen for a remote master station Check the codes, history, description, and action of an error of the master module For remote I/O stations, check the present error and its history on the "PLC 1 diagnostics" screen. The Clear log button clears the error history.
8 TROUBLESHOOTING MELSEC-Q (2) Checking with GX Works2 The error codes corresponding to the errors that have occurred in network modules can be checked by following either procedure (a) or (b) described below. (a) Checking on the "Module's Detailed Information" screen Error code, error contents, and corrective action are displayed. On GX Works2, select [Diagnostics] [System Monitor], and then click the Detailed Information button. Displays the latest error code. Displays error history.
8 TROUBLESHOOTING (b) MELSEC-Q 1 Checking on the "Error History" screen (remote master station only) On this screen, errors including those that have occurred in other modules are displayed, and the data can be output in a CSV file. The error code and date and time of error occurrence can be checked even after powering off and then on the programmable controller or after resetting the programmable controller CPU. On GX Works2, select [Diagnostics] the System Error History button.
8 TROUBLESHOOTING MELSEC-Q 2) Error and Solution, Intelligent Module Information • Error and Solution The error detail and corrective action for the error currently selected under "Error History List" are displayed. • Intelligent Module Information The error description and corrective action for the error, which is 1 currently selected under "Error History List", are displayed.
8 TROUBLESHOOTING MELSEC-Q (3) Checking error codes with devices To monitor the error code from an Ethernet module and so on using the MELSEC communication protocol, check the link special register below.
8 TROUBLESHOOTING MELSEC-Q 8.3.2 MELSECNET/H error code list Table 8.1 Error code list Error code Description (Error detected by the programmable 4000 to 4FFF controller CPU) (Error detected by the serial 7000 to 7FFF communication module, etc.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action Corresponding station error (Baton pass to the corresponding station not executed) Review the status of the corresponding station and the parameter and switch settings (to see if there is a parameter error and the corresponding station is the control station and properly set). Confirm the power supply status of the corresponding station (to see if it is repeatedly turned on and off).
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action Initial status (no baton addressed to host) Check for the operation status of the control/sub-control station, faulty cables, incorrect cable wiring, and absence of terminating resistor (in the case of the bus). In addition, check whether the same station number has been set for two or more stations or whether two or more control stations or remote master stations exist.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description F70B Response wait timeout F70C System error F70E System error F710 System error F711 System error F712 System error Corrective action Wait until SB0047 (baton pass status) and SB0049 (data link status) are recovered. The cable is faulty, or the hardware of the network module is faulty. If a communication error has occurred, review the cable. If not, the hardware of the network module is faulty.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action F7CD System error The hardware of the network module is faulty. Please consult your local Mitsubishi representative. F7E1 Control data error Confirm the set values (mode, etc.) in the control data of a dedicated instruction. F7E2 System error F7E3 System error F7E4 Target CPU module type error F7E5 Re-execute the REMFR or REMTO instruction after a little while.
8 TROUBLESHOOTING MELSEC-Q Table 8.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action Check if the following conditions are met: The system is a multiplexed remote I/O network system. Check if "Return as a standby station" is set as the parameter for the master station. The host station is operating as a master station. The operating sub master station is in data-linking. Create new network parameters and perform Write to PLC.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action FD1C Interruption error due to loop switching during test There is no need to take corrective measures because the system retries the operation (do not switch the loop in the middle of the operation). If the error frequently occurs, check the line and the wiring status. FD1D System error The hardware of the network module is faulty. Please consult your local Mitsubishi representative.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (Continued) Error code Description Corrective action FE25 System error Confirm the power supply status (insufficient voltage, instantaneous interruption, overvoltage, etc.) of the target station for transient transmission and the relay station. Alternatively, change the CPU module concerned. FE26 System error Confirm the operation status (WDT error, etc.) of the target station and relay station CPU modules.
8 TROUBLESHOOTING MELSEC-Q 8.3.3 Error codes detected on remote I/O stations and equivalent to CPU module error codes The remote I/O station performs some of the same processes as the CPU module. 1 2 as in the CPU Accordingly, the remote I/O station detects the same error codes module. When an error occurs, the error code, error message or any other information can be read by GX Developer. For details about operating GX Developer, refer to the GX Developer Operating Manual.
8 TROUBLESHOOTING MELSEC-Q (1) Error code list The following table lists the error codes, error messages, error causes, and corrective actions.
8 TROUBLESHOOTING Error code (SD0) 1401 1403 1413 1414 1415 8 - 45 Error contents and cause MELSEC-Q Corrective action LED status, Remote I/O operation status [SP.UNIT DOWN] • There was no response from the intelligent function module in the initial processing. • The size of the buffer memory of the intelligent function module is invalid. • The unsupported module is mounted. Collateral information • Common Information (SD5 to SD15): Module No.
8 TROUBLESHOOTING MELSEC-Q Error code (SD0) Error contents and cause 1510 [SINGLE PS. DOWN] The power supply voltage of either of redundant power supply modules on the redundant base unit dropped. Collateral information • Common Information (SD5 to SD15): Base No./Power supply No. • Individual Information (SD16 to SD26): Diagnostic Timing • Always Check the power supplied to the redundant power supply modules mounted on the redundant base unit. [SINGLE PS.
8 TROUBLESHOOTING Error code (SD0) Error contents and cause [SP. UNIT LAY ERR.] • In the I/O Assignment tab of the PLC parameter dialog box, "Intelligent" (intelligent function module) is set for the slot where an I/O module is mounted, and vice versa. • In the I/O assignment setting of the PLC parameter, switch setting was made to the module that has no switch setting.
8 TROUBLESHOOTING Error code (SD0) 2107 2121 2122 2124 2125 8 - 48 Error contents and cause [SP.UNIT LAY ERR.] The start X/Y set in the PLC parameter's I/O assignment settings is overlapped with the one for another module. Collateral information • Common Information (SD5 to SD15): Module No. • Individual Information (SD16 to SD26): Diagnostic Timing • At power-on/At reset*2 [SP.UNIT LAY ERR.] The CPU module is mounted on the base unit.
8 TROUBLESHOOTING MELSEC-Q Error code (SD0) Error contents and cause Corrective action 3000 [PARAMETER ERROR] • The PLC parameter setting for "Points occupied by empty slot" is outside the range for the remote I/O module. • The parameter setting in the individual information of the error (the special register SD16) is invalid.
8 TROUBLESHOOTING Error code (SD0) 3105 3106 3107 3300 8 - 50 Error contents and cause [LINK PARA. ERROR] • Although one or more CC-Link modules were configured in the Network Parameter dialog box, no CC-Link module is mounted in the system. • The start I/O number in the common parameter differs from that of the actually mounted module. • The station type of the CC-Link module network parameter differs from that of the actually mounted station.
8 TROUBLESHOOTING Error code (SD0) 3301 3400 3401 Error contents and cause [SP. PARA. ERROR] The intelligent function module's refresh parameter setting is outside the available range. Collateral information • Common Information (SD5 to SD15): File name • Individual Information (SD16 to SD26): Parameter number Diagnostic Timing • At power-on/At reset*2 MELSEC-Q Corrective action LED status, Remote I/O operation status REM: Off ERR: On Check the parameter setting.
8 TROUBLESHOOTING MELSEC-Q 8.4 Canceling a Minor Error (Continue Error) on a Remote I/O Station An error of a remote I/O module can be canceled if it is a type of errors that allows the module operation to continue, as in the case of CPU modules. The following explains errors that can be canceled and how to cancel them. (1) Errors that can be canceled The errors listed below can be canceled. For error details, refer to Section 8.3.3.
8 TROUBLESHOOTING MELSEC-Q 8.4.1 Canceling a specific remote I/O station error This section explains how to cancel an error of a specific remote I/O station by manipulating the remote master station and the remote I/O station. (1) Procedures for error cancellation Use GX Developer and perform the following steps 1) to 7). [Remote I/O station side] 1) Remove the cause of the remote I/O station error. 2) Store the error code to be canceled into special register SD50 of the remote I/O module.
8 TROUBLESHOOTING MELSEC-Q 8.4.2 Canceling errors of all remote I/O stations This section explains how to manipulate the remote master station to cancel errors of all remote I/O stations. POINT (1) For canceling errors of all remote I/O stations, use a master module and remote I/O modules whose serial No. (first five digits) is “08112” or later. For a module whose serial No. (first five digits) is “08111” or earlier, follow the steps described in Section 8.4.1.
8 TROUBLESHOOTING MELSEC-Q (2) Precautions for error cancellation (a) SB000F after error cancellation Always turn OFF SB000F after canceling an error. Even if a minor error (continue error) occurs on a remote I/O station while SB000F is ON, the error will not be detected. (b) Status after error cancellation When the error is cancelled, the related special relay, special register and LEDs return to the status before the error occurrence.
8 TROUBLESHOOTING MELSEC-Q (3) Sample programs (a) For a remote I/O network Operation for error cancellation Turns OFF SB000F after confirming error cancellation. Cancels Blown fuse error. Cancels I/O module verification error.
8 TROUBLESHOOTING (b) MELSEC-Q For a multiplexed remote I/O network The following is a program example used in common to remote master and remote sub-master stations. Write it to both remote master and remote sub-master stations. Monitor the operating status of the remote I/O station for which error cancellation is performed. (In this program, station No. 2 to 5 are monitored.) Operation for error cancellation Turns OFF SB000F after confirming error cancellation. Cancels Blown fuse error.
8 TROUBLESHOOTING (c) MELSEC-Q For a multiplexed remote I/O network that supports redundant systems Monitor the operating status of the remote I/O station for which error cancellation is performed. (In this program, station No. 2 to 5 are monitored.) Operation for error cancellation Turns OFF SB000F after confirming error cancellation. Cancels Blown fuse error of control system CPU. Cancels Blown fuse error of standby system CPU. Cancels I/O module verification error of control system CPU.
8 TROUBLESHOOTING MELSEC-Q 8.5 Procedure for Replacing a Normally Operating Redundant Power Supply Module This section explains the procedure for replacing a redundant power supply module that is normally operating. The replacement is available on a remote I/O station without SINGLE PS.DOWN (error code 1510) being detected. Start Verify the redundant power supply module to be replaced. Turn ON SB000F of the master module. Power OFF the redundant power supply module to be replaced.
8 TROUBLESHOOTING MELSEC-Q 8.6 H/W Information H/W information screen displays details of the LED and switch information of the network modules. To display the H/W information screen, click the H/W information button on the system monitor window of GX Developer. (1) H/W information on the master module 1) 2) -b 1) -a 2) -a 1) -b The following explains each of these items. 1) H/W LED information The following table lists the LED information on the master module.
8 TROUBLESHOOTING MELSEC-Q (2) H/W switch information The following tables list the switch setting data for the master module. 2)-a: The switch settings for the hardware mounted to the master module Item Description STx10 10 position of station number setting switch. STx 1 1 position of station number setting switch. MODE Mode setting switch. 2)-b: The switch data that has been actually set on the master module Item Description Display range NETNO. Setting value of network No. 0 to 239 GRPNO.
APPENDICES MELSEC-Q APPENDICES Appendix 1 Precautions for Replacing MELSECNET/10 Remote I/O Network with MELSECNET/H Remote I/O Network This section describes the precautions for replacing MELSECNET/10 remote I/O network for the AnUCPU and QnACPU with MELSECNET/H remote I/O network for the QCPU. (1) Use of only one type of network module MELSECNET/H network modules and MELSECNET/10 network modules cannot be used together in a system. Use only MELSECNET/H remote I/O modules.
APPENDICES MELSEC-Q (5) Correcting the sequence program There is no need to change sequence programs such as the interlock program that used link special relays and link special resistors and the remote access program that used data link commands.
APPENDICES MELSEC-Q Appendix 2 Link Special Relay (SB) 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 relays (SB) that stores the link status are used for the detailed information of the network diagnostics of GX Developer. For a list of the device numbers for each display item, see Section 8.
APPENDICES MELSEC-Q (3) List of link special relay (SB) areas The following lists the link special relay (SB) areas (SB0000 to SB01FF). POINT (1) Do not turn ON the area which does not exist in the list. Doing so may cause malfunction of the programmable controller system. (2) For how to use the link special relay (SB), refer to Section 6.6. Table 2 Link special relay (SB) list Availability No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No. Name Description Control station Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the startup acknowledgment status of the cyclic 3 Cyclic transmission start transmission.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No. Name Description Control station Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 3 SB0076 (118) 3 SB0077 (119) 3 SB0078 (120) Indicates the cyclic transmission status of the remote sub-master Remote sub-master station.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No. Name Description Control station Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Indicates the CPU RUN status of each station.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 2 Link special relay (SB) list (Continued) Availability No.
APPENDICES MELSEC-Q Appendix 3 Link Special Register (SW) 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. For a list of the device numbers for each display item, refer to Section 8.
APPENDICES MELSEC-Q (3) List of link special register (SW) areas The following lists the link special register (SW) areas (SW0000 to SW01FF). POINT (1) Do not turn ON the area which does not exist in the list. Doing so may cause malfunction of the programmable controller system. (2) For how to use the link special register (SW), refer to Section 6.6. Table 3 Link special register (SW) list Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial On PLC to PLC network: Stores the condition setting switch status of the host.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Stores the station that stopped the host data linking. (Valid when the SW0049 is 1.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O 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 0 : Normal parameter (85) 1 or more : Abnormal parameter (refer to the error codes in Section 8.3) At the PLC to PLC network.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 2 SW006B Maximum link scan time (107) 2 SW006C Minimum link scan time (108) Stores the maximum/minimum/current values of the link scan time (unit (ms)). The values for the control station and normal stations vary.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 2 SW0084 (132)/ SW0085 (133)/ SW0086 (134)/ SW0087 (135) Stores the CPU RUN status of each station (including the host). The standby-system Q4ARCPU stores the key switch status at normal state.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name 2 SW008C (140) SW008D Power supply status of (141) each station SW008E (142) SW008F (143) Description Control station Normal station Remote master station Remote I/O station 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.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 2 SW0095 (149)/ SW0096 Reverse loop status of (150)/ each station SW0097 (151)/ SW0098 (152) Stores the reverse loop status of each station (including the host).
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O 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.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Description Control station Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial Accumulates and stores the number of retries on the forward 4 Number of retries on the loop side for the optical loop, or the number of retries of the SW00C8 forward loop side/ coaxial coaxial bus for the coaxial bus.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O 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.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Description Control station Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 9 Transient transmission SW00EE error (238) 9 Transient transmission SW00EF error pointer (239) 2 SW00F0 (240) Transient transmission to error history SW00FF (255) Accumulates and stores the number of transient transmission errors.
APPENDICES MELSEC-Q Table 3 Link special register (SW) list (Continued) Availability No. Name Control station Description Normal station Remote master station Remote I/O station Optical Coaxial Optical Coaxial Optical Coaxial Optical Coaxial 2 SW01E0 (480)/ SW01E1 Network type (481)/ consistency check SW01E2 (482)/ SW01E3 (483) Indicates whether there is a mismatch between the network types of the control station and normal stations on the network.
APPENDICES MELSEC-Q Appendix 4 Special Relay (SM) for Remote I/O Stations The special relay (SM) is an internal relay whose specification is fixed in the programmable controller. For this reason, the special relay cannot be used in the same way as other internal relays used in sequence programs. However, the bit of the special relay can be turned ON or OFF as needed to control the CPU module or the remote I/O module.
APPENDICES MELSEC-Q (1) Diagnostic information Special Relay List Number SM0 SM1 SM5 SM16 SM50 SM60 SM61 Name Meaning OFF : No error Diagnostic errors ON : Error Self-diagnostic error OFF : No error ON : Error Explanation • This relay turns on if an error is detected by diagnostics. (Also turns on if an error is detected by an annunciator or the CHK instruction.) • This relay remains on even after the system returns to normal. • This relay turns on if an error is detected by diagnostics.
APPENDICES MELSEC-Q (3) Scan information Special Relay List Number SM551 Name Reads module service interval Meaning OFF : Ignored ON : Read Explanation • When this relay is turned on, the service interval of the module specified by SD550 is read to SD551 and SD552.
APPENDICES MELSEC-Q Appendix 5 Special Register (SD) for Remote I/O Module The special register (SD) is an internal register whose application is fixed in the programmable controller. For this reason, the special register cannot be used in the same way as other internal registers used in sequence programs. However, data can be written to the special register to control the CPU module or the remote I/O module as needed. Data is stored in binary format if not specified.
APPENDICES MELSEC-Q (1) Diagnostic information Special Register List Number SD0 Name Diagnostic errors Meaning Diagnostic error code Set by (When set) Explanation • This register stores the error code of an error detected by diagnostics. • Contents identical to latest error history information. S (Error) Corresponding ACPU D9 Corresponding CPU D9008 format change • This register stores the year (last two digits) and the month when the SD0 data is updated in 2-digit BCD.
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 Explanation Set by (When set) Corresponding ACPU D9 S (Error) New Corresponding CPU • This register stores common information corresponding to the error code stored in SD0. • The following five types of information are stored here. • The error common information type can be determined by "common information category code" stored in SD4.
APPENDICES MELSEC-Q 6: The extension names are listed below.
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning Explanation SD5 Set by (When set) Corresponding ACPU D9 S (Error) New S (Error) New Corresponding CPU 3 Time (value set) SD6 Meaning Time : 1 s units (0 to 999 s) Time : 1 ms units (0 to 65535 ms) Number SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 (Empty) 4 Program error location Number Meaning SD5 SD6 File name SD7 (ASCII code: 8 characters) SD8 SD9 Extension 1 2EH(.
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning Explanation Set by (When set) Corresponding ACPU D9 S (Error) New Corresponding CPU • This register stores individual information corresponding to the error code stored in SD0. • The following six types of information are stored here. • The error individual information type can be determined by "individual information category code" stored in SD4.
APPENDICES MELSEC-Q Special Register List (Continued) Number SD50 SD53 SD60 SD61 SD105 Name Meaning Explanation Set by (When set) Corresponding ACPU D9 U New Error reset Error code where the error reset is performed AC/DC DOWN detection • A value stored in this register is incremented by 1 whenever the input voltage falls to or below 85% (AC power)/65% (DC power) Number of times for of the rating during operation of the CPU module. The value is AC/DC DOWN stored in BIN.
APPENDICES MELSEC-Q (2) System information Special Register List Number Name Meaning Explanation Set by (When set) Corresponding ACPU D9 Corresponding CPU S (Always) New Rem S (Every END processing) New Qn(H) QnPH QnPRH S (Every END processing) New Q00J/Q00/Q01 S (when RUN/ STOP/ RESET switch changed) New QnU S (Every END processing) New QnA • This register stores the status of the remote I/O module switch in the following bit pattern.
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning Explanation Set by (When set) Corresponding ACPU D9 Corresponding CPU S (Always) New Remote S (Every END processing) D9015 format change S (Request) New • This register stores the operating status of the remote I/O module in the following bit pattern. B15 B4 B3 B0 Empty 1 Operating status of remote I/O module Always 2: STOP • This register stores the operating status of the CPU module in the following bit pattern.
APPENDICES MELSEC-Q Special Register List (Continued) Number SD240 SD241 Name Meaning 0: Automatic mode • This register stores the base mode. 1: Detail mode 0: Main base only Extension 1 to 7: Number of • This register stores the number of extension base units installed.
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning Set by (When set) Explanation Corresponding Corresponding ACPU CPU D9 1 When Xn0 of a mounted CC-Link module turns on, the corresponding bit is set to 1 (on). 2 When either Xn1 or XnF of a mounted CC-Link module turns off, the corresponding bit is set to 1 (on). 3 When a mounted CC-Link module is not able to communicate with the CPU module, the corresponding bit is set to 1 (on).
APPENDICES MELSEC-Q Special Register List (Continued) Number Name Meaning Explanation No. of modules mounted SD340 Set by (When set) Corresponding Corresponding ACPU CPU D9 • Indicates the number of mounted Ethernet modules. SD341 I/O No. • Indicates I/O No. of mounted Ethernet module. SD342 Network No. • Indicates network No. of mounted Ethernet module. Group No. • Indicates group No. of mounted Ethernet module. Ethernet Station InformaSD344 • Indicates station No.
APPENDICES MELSEC-Q (4) Fuse blown module Special Register List Number Name Meaning SD1300 SD1302 SD1303 SD1304 SD1305 SD1306 SD1308 SD1309 to SD1330 15 14 13 12 11 10 9 7 6 5 4 3 2 1 0 0 0 1 (YC0) 0 0 0 8 1 (Y80) 0 0 0 0 0 0 0 0 1 SD1301 (Y1F0) 0 0 0 0 (Y1A) 1 0 0 0 0 0 0 0 0 0 0 SD1331 0 0 0 0 0 0 0 0 0 0 0 0 0 SD1300 0 Bit pattern in units of 16 points, indicating Fuse blown the modules whose module fuses have blown 0: No blown fuse 1: Blown
APPENDICES MELSEC-Q (6) Redundant power supply module information The special register (SD1780 to SD1789) is valid only for redundant power supply systems. All bits are set to "0" for single power supply systems. Special Register List Number Name Meaning Set by (When set) Explanation Corresponding Corresponding ACPU CPU D9 • This register stores status of a redundant power supply module (Q6 RP) with input power off, in the following bit pattern.
APPENDICES MELSEC-Q Appendix 6 External Dimensions (1) QJ71LP21-25 Unit: mm (in.) *1: Please contact your nearest Mitsubishi Electric System & Service Co., Ltd. for details. (2) QJ71LP21G, QJ71LP21GE Unit: mm (in.) *1: Please contact your nearest Mitsubishi Electric System & Service Co., Ltd. for details.
APPENDICES MELSEC-Q (3) QJ71LP21S-25 Unit: mm (in.) *1: Please contact your nearest Mitsubishi Electric System & Service Co., Ltd. for details. (4) QJ71BR11 Unit: mm (in.
APPENDICES MELSEC-Q 4(0.16) 98(3.86) (5) QJ72LP25-25 90(3.54) *1 23(0.91) 27.4(1.08) Unit: mm (in.) *1: Please contact your nearest Mitsubishi Electric System & Service Co., Ltd. for details. (6) QJ72LP25G, QJ72LP25GE Unit: mm (in.) *1: Please contact your nearest Mitsubishi Electric System & Service Co., Ltd. for details.
APPENDICES MELSEC-Q (7) QJ72BR15 Unit: mm (in.
INDEX [A] Link special register (SW)................. 6-23,App-14 Link special relay (SB) ........................ 6-23,App-3 Applicable systems ....................................... 2-13 [M] [B] Block guarantee per station ............................ 6-8 Master module .............................................. A-17 Multiple CPU system ..................................... 2-19 Multiplex transmission ................................... 7-12 [C] Coaxial cable .....................................
I Loopback function ..................................... 3-19 READ instruction ................................... 6-18,6-19 RECV instruction ........................................... 6-19 RECVS instruction ........................................ 6-19 Redundant power supply .............................. 3-25 Refresh parameter ........................................ 5-19 REMFR instruction .................................. 6-18,7-3 Remote I/O module .......................................
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.
Microsoft, Windows, Windows Vista, Windows NT, Windows XP, Windows Server, Visio, Excel, PowerPoint, Visual Basic, Visual C++, and Access are either registered trademarks or trademarks of Microsoft Corporation in the United States, Japan, and other countries. Intel, Pentium, and Celeron are trademarks of Intel Corporation in the United States and other countries. Ethernet is a registered trademark of Xerox Corp.
SH(NA)-080124-S(1307)MEE MODEL: Q-NET/H-R-I/O-E MODEL CODE: 13JF96 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.