Mitsubishi Electric MELSEC iQ-R Series User Manual

Mitsubishi Electric MELSEC iQ-R Series User Manual

Melsecnet/h network module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Quick Links

MELSEC iQ-R MELSECNET/H Network Module
User's Manual (Application)
-RJ71LP21-25

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R MELSECNET/H Network Module User's Manual (Application) -RJ71LP21-25...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the MELSEC iQ-R Module Configuration Manual.
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [Design Precautions] WARNING ● Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
  • Page 6 [Installation Precautions] CAUTION ● Use the programmable controller in an environment that meets the general specifications in the Safety Guidelines included with the base unit. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product. ●...
  • Page 7 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • Page 8 [Wiring Precautions] CAUTION ● Programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 [Disposal Precautions] CAUTION ● When disposing of this product, treat it as industrial waste. [Transportation Precautions] CAUTION ● The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant used for disinfection and pest control of wood packaging materials, may cause failure of the product. Prevent the entry of fumigant residues into the product or consider other methods (such as heat treatment) instead of fumigation.
  • Page 11: Conditions Of Use For The Product

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

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly. When applying the program examples provided in this manual to an actual system, ensure the applicability and confirm that it will not cause system control problems.
  • Page 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14 Supplementary Cyclic Settings ............. . 65 Interrupt Settings .
  • Page 15 Cyclic data holding time when system switching occurs ......... . 181 Appendix 7 Differences Between MELSEC-Q Series and MELSEC iQ-R Series ......187 INDEX REVISIONS .
  • Page 16: Relevant Manuals

    System configuration, parameter settings, and online operations of e-Manual [SH-081215ENG] GX Works3 e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 17: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Baton pass A token to send data over a network Buffer memory A memory in an intelligent function module, where data (such as setting values and monitoring values) are stored. When integrated into the CPU module, this memory refers to a memory for storing data such as setting values and monitored values of the Ethernet function, and data used for data communication of the multiple CPU system function.
  • Page 18: Generic Terms And Abbreviations

    Term Description System switching A function which switches the systems between the control system and the standby system to continue operation of the redundant system when a failure or an error occurs in the control system Tracking cable An optical fiber cable used to connect two redundant function modules in a redundant system Transient transmission This function allows communications with other stations when a request is made by a method such as a dedicated instruction and engineering tool.
  • Page 19: Chapter 1 Functions

    FUNCTIONS Cyclic Transmission Function Cyclic transmission This function allows data to be periodically exchanged among stations on the same network using link devices. Communications using LB and LW This function writes data on the link device (LB, LW) of the RJ71LP21-25 and sends the data to all stations connected in the same network.
  • Page 20 Communications using LX and LY This function is used to exchange data between the I/O master station that controls LX and LY and another station on a one- to-one (1:1) basis. Up to two I/O master stations can be set for one network (block 1 and block 2), regardless of the status of control or normal station.
  • Page 21 Setting method Assign the link devices under "Network Range Assignment" in "Required Settings". (Page 55 Network Range Assignment) The link refresh is assigned under "Link Refresh Settings" in "Basic Settings". ( Page 61 Link Refresh Settings) • Any station can be set as the I/O master station regardless of the station type of the control station or normal station.
  • Page 22: Low Speed Cyclic Transmission

    Low speed cyclic transmission The low speed cyclic transmission function collectively sends the data that does not require high-speed performance to another station by link devices (LB, LW) to share the data between modules. It has the same performance as the transient transmission function. (Page 34 Transient Transmission Function) The number of transmissions per station during one link scan is one.
  • Page 23 Sending timing Low speed cyclic transmission is performed separately from normal cyclic transmission. This section describes the sending method setting, send processing interval, and link cycle for low speed cyclic transmission. The following indicates the sending method. Sending method Description Transmit Data of One Station in 1 Scan.
  • Page 24 For "Fixed Interval Cycle Setting (Maximum No. of Transient Transmissions: 2)" and "System Timer Setting (Maximum No. of Transient Transmissions: 2)" Station Station Station Station No.1 No.2 No.3 No.4 Low- Low- Low- Low- Low-speed speed speed speed speed cyclic transmission data data data...
  • Page 25 Setting method ■For "Transmit Data of One Station in 1 Scan." Select "Transmit Data of One Station in 1 Scan." in "Low Speed Cycle Setting" under "Supplementary Cyclic Settings" in "Application Settings". Click the [Apply] button to finish the settings. The fastest link scan time of low speed cyclic transmission is calculated as follows: LSL = LS ...
  • Page 26: Link Refresh

    Link refresh Link refresh is a process of transferring data between a link device used for cyclic transmission and a device in a CPU module. Link refresh is automatically performed at program END processing. Concept of the link refresh range (number of points) The area range set under "Link Refresh Settings"...
  • Page 27 Link refresh by COM instruction Link refresh can be executed at the timing of the COM instruction execution instead of at the timing of the END processing. For details, refer to the following.  MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks) 1 FUNCTIONS 1.1 Cyclic Transmission Function...
  • Page 28: Direct Access To Link Devices

    Direct access to link devices This function allows direct access to the link devices of the RJ71LP21-25 from the program. Specify a link device (LB, LW, LX, LY, SB, SW) as the link direct device (J\) for direct access. Specification method Specify the network number and the link device of the RJ71LP21-25 for reading or writing.
  • Page 29 Readable and writable range Data can be read or written between the RJ71LP21-25 and CPU module mounted on the same base unit. ■Read All link devices of the RJ71LP21-25 can be specified. (Page 26 Specification method) ■Write The range that satisfies all of the following conditions can be specified. •...
  • Page 30 When writing data to the area in the link refresh range, directly access the link device and write the same data in the device of the CPU module. • Bad example (Only direct access to the link refresh target) Link refresh overwrites the value. CPU module RJ71LP21-25 MOV K20 J1\W100...
  • Page 31 Differences from link refresh Item Access method Link refresh Direct access Number of steps 1 step 2 steps Processing speed High speed Low speed Cyclic data assurance Available Not available *1 For actual values, refer to the following.  MELSEC iQ-R Programming Manual (Module Dedicated Instructions) Shortening the link refresh time and transmission delay time ■Shortening the link refresh time Remove infrequently used link devices from the link refresh range, and directly read or write the corresponding data using link...
  • Page 32: Constant Link Scan

    Constant link scan If the network status is unstable, the link scan time can be kept constant by specifying the link scan time at the control station to allow for possible fluctuations in the link scan time. For the setting method, refer to the following. Page 65 Supplementary Cyclic Settings Data assurance This function assures the cyclic data in units of 32 bits or station-based units.
  • Page 33 Station-based block data assurance The cyclic data is assured for each station by handshake between the CPU module and RJ71LP21-25 for a link refresh. ■Setting method To enable station-based block data assurance, set "Enable" under "Supplementary Cyclic Settings" in "Application Settings" of the control station.
  • Page 34: Interlink Transmission

    Interlink transmission This function transfers data in the link devices (LB, LW) of the RJ71LP21-25 to another network module on a relay station. Relay station Network module RJ71LP21-25 Interlink transmission Data in network No.2 Data in network No.1 Network No.1 Network No.2 Setting method Set interlink transmission in "Interlink Transmission Settings"...
  • Page 35: Cyclic Transmission Stop And Restart

    Cyclic transmission stop and restart This function is used to stop the cyclic transmission during debugging and other operations. (Data reception from other stations and data sending from the own station are stopped.) Also, the stopped cyclic transmission is restarted. Transient transmission does not stop.
  • Page 36: Transient Transmission Function

    Transient Transmission Function Transient transmission This function allows communications with other stations when a request is made by a method such as a dedicated instruction and engineering tool. Communications with different networks is also possible. Communications within the same network This function performs the transient transmission to other stations using dedicated instructions and the engineering tool.
  • Page 37 Communications can be made with stations up to eight networks apart (number of relay stations: 7). When the networks consist of only MELSEC iQ-R series Communication paths are automatically set for communication with the following networks of MELSEC iQ-R series. • Ethernet •...
  • Page 38 When the networks consist of MELSEC iQ-R series and other series Setting communication paths allows communication with the following networks configured with modules other than MELSEC iQ-R series. • Ethernet • CC-Link IE Controller Network • CC-Link IE Field Network •...
  • Page 39: Group Transient Transmission

    Group transient transmission This function This function sends data to all stations of the same transient transmission group number by dividing the transient transmission target stations into groups. One network can be divided into a maximum of 32 groups. Setting the group specification for the target station number of the control data of the link dedicated instruction allows capturing of transient data at the station where the group number matches.
  • Page 40: Sending Messages By Using Logical Channel Numbers

    Sending messages by using logical channel numbers This function is used to receive only the messages selected on the receiving station when they have a lot of information types. The sending station performs transient transmission by using the destination logical channel without specifying a specific station number (the number can be specified).
  • Page 41 Transient transmission instruction where logical channel number can be specified Instruction Description SEND Sends data to another station. For details on dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Module Dedicated Instructions) Precautions • The execution cannot be checked with the transient transmission by channel number specification. •...
  • Page 42: Ras

    This function improves reliability, availability, and serviceability, allowing for comprehensively easier use of automation facilities. Automatic return This function automatically returns the station disconnected from the network due to a data link error to the network when it recovers and restarts data link. Return Down Network No.1...
  • Page 43: Control Station Switching

    Control station switching This function continues data link with another normal station that serve as a sub-control station even if the control station goes down. Switch Switch Down Down Network No.1 Network No.1 When the control station (station No.1) is down When the sub-control station (station No.2) is down The control station (station No.1) is down.
  • Page 44: Control Station Return Control

    Control station return control This function shortens network downtime by resolving the cause of an error in the control station and making that station join the network as a normal station. Return Down Network No.1 Return Network No.1 (1) Control station (station No.1) (2) Sub-control station (station No.2) (3) Normal station (station No.3) (4) Normal station (station No.4)
  • Page 45: Loopback Function

    Loopback Function This function continues data link with normal stations even if a cable disconnection or faulty station occurs. At the time of cable disconnection Even if a cable disconnection occurs, the system automatically performs loopback to continue the data link. Disconnection Control station Normal station...
  • Page 46 Precautions When the RJ71LP21-25 fails, loopback may not be performed depending on what kind of failure occurs. In such a case, data link may be stopped. To identify the RJ71LP21-25 with a failure, perform either of the following. • Check the LED indication of all network modules for abnormal stations. (Page 90 Checking with LED) •...
  • Page 47: Application Function

    Application Function Interrupt program activation Check the interrupt condition when receiving data from another station using the interrupt settings parameters of the own station. When the interrupt condition is established, an interrupt request is sent from the RJ71LP21-25 to the CPU module, and the interrupt program of the CPU module on the own station is activated.
  • Page 48: Number Of Send Points Extension

    Number of send points extension This function is used to increases the number of send points (a maximum of 2000 bytes per station) to a maximum of 8000 bytes by mounting multiple RJ71LP21-25s with the same network number to one CPU module. A maximum of 4000 bytes can be sent by installing the control station (station No.1) and normal station (station No.2) at network No.1 in one CPU module.
  • Page 49: Redundant System Function

    Redundant System Function The redundant system function improves system reliability by mounting RJ71LP21-25 modules on the base units of both systems of a redundant system so that the new control system can continue data link even if an error occurs in the control system.
  • Page 50: System Switching Operation

    System switching operation In a redundant system, if the control system fails, the control system and the standby system are switched. In the RJ71LP21-25, send data is transferred to the new control system after system switching to continue data link. The following shows system switching operation when a communication error occurs in the control system.
  • Page 51 Cyclic transmission send/receive processing When pairing is set for the RJ71LP21-25 of both systems, send data is transferred to the new control system at the time of system switching to continue cyclic transmission. The following is the send range of cyclic transmission when pairing is set. •...
  • Page 52 Precautions ■Tracking • Of all link refresh target devices (B, W) of link devices (LB, LW), tracking needs to be set for the devices in the own station send range. • Tracking cannot be set for link direct devices. • Do not set tracking for the link special relay areas (SB0020 to SB01FF), which are turned on/off by the system, or the link special register areas (SW0020 to SW01FF), where data is stored by the system.
  • Page 53: System Switching Request To The Control System Cpu Module

    System switching request to the control system CPU module When the RJ71LP21-25 mounted on the control system detects a data link error, it issues a system switching request to the control system CPU module. However, depending on the operating status of the standby system, system switching is not executed. For details on the operating status of the standby system and whether system switching is executable, refer to the following.
  • Page 54: Chapter 2 Parameter Settings

    PARAMETER SETTINGS This chapter describes the parameter settings required for communications between the RJ71LP21-25 and other stations. Setting Parameters Add the RJ71LP21-25 in the engineering tool. [Navigation window]  [Parameter]  [Module Information]  Right click  [Add New Module] The required settings, basic settings, and application settings are included in the parameter settings.
  • Page 55: Required Settings

    Required Settings Set the station type, network number, or other parameters for the RJ71LP21-25. : Can be set, : Cannot be set Item Description Availability Reference Control Normal station station Station Type Set the network type and station type for the RJ71LP21-25. ...
  • Page 56: Station Type

    Station Type Set the network type and station type for the RJ71LP21-25. Item Description Setting range Station Type Set the network type and station type for the RJ71LP21-25. • MNET/H Mode (Control Station) One control station can be set per network. •...
  • Page 57: Network Range Assignment

    Network Range Assignment Set parameters of each station (the number of points and assignment of link devices) in the control station. Setting method The procedure for the network range assignment settings is shown below. Set the required items. Click the [Apply] button to finish the network range assignment. Setting items Item Description...
  • Page 58 Item Description Setting range Batch [Batch Setting] Clicking the [Batch Setting] buttons opens the "Batch Setting" window. The • Equal Assignment Setting button number of points for LB/LW and LX/LY is set in a batch. (The "Batch Setting" • Identical Point Assignment window for LB/LW and LX/LY are switched in conjunction with "Switch Default: Equal Assignment Windows".)
  • Page 59 Item Description Setting range LB/LW Points Set the number of points (decimal) of LB sent by each station. Set in • MELSECNET/H mode: 16 to 16000 Setting increments of 16 point. • MELSECNET/H extended mode: 16 to 16384 • MELSECNET/10 mode: 16 to 8192 Default: Blank Start Set the start number of the LB range to be sent by each station.
  • Page 60 Item Description Setting range LX/LY Points Set the number of points (decimal) of the output range (LY) sent 16 to 8192 Setting (1) Station from the M station (I/O master station) to the other station. Set in Default: Blank L LX/LY increments of 16 point.
  • Page 61: Operation After Reconnection

    Operation after Reconnection Item Description Setting range Operation after Reconnection Set the station type of when the control station returns. • Return as Control Station For details on the functions, refer to the following. • Return as Normal Station Page 42 Control station return control Default: Return as Control Station Return as Control Station: The control station returns as the control station of the network again.
  • Page 62: Basic Settings

    Basic Settings Set the link refresh for the RJ71LP21-25. : Can be set, : Cannot be set Item Description Availability Reference Control Normal station station   Link Refresh Settings Set the link refresh ranges for the following. Page 61 Link Refresh •...
  • Page 63: Link Refresh Settings

    Link Refresh Settings Set the link refresh range between the RJ71LP21-25 link device and the CPU module device or module label. Setting method The procedure for the link refresh settings is shown below. Set the required items. Click the [Apply] button to finish the link refresh settings. Setting items Item Description...
  • Page 64 Item Description Setting range 1 to 64 Link Side Device Name Set the link refresh ranges of LB, LW, LX, and LY. Up to 64 ranges can be set. • LB • LW • LX • LY Default: Blank Points Set the number of link refresh points for LB, LW, LX, and LY.
  • Page 65 Precautions ■Device set to "CPU Side" Set a device range that differs from the one used for the following: • "Link Refresh Settings" in "Basic Settings" of other modules • "Refresh Setting between Multiple CPUs" of "CPU Parameter" for a multiple CPU system •...
  • Page 66: Application Settings

    Application Settings Set the supplementary cyclic settings, interrupt settings, or other parameters for the RJ71LP21-25. : Can be set, : Cannot be set Item Description Availability Reference Control Normal station station Supplementary Cyclic Set the data link monitoring time and system switching monitoring time. ...
  • Page 67: Supplementary Cyclic Settings

    Supplementary Cyclic Settings Set the data link monitoring time and system switching monitoring time. Item Description Setting range Data Link Monitoring Time Set the time for monitoring the link scan time in units of 10ms. 10ms to 2000ms Normally, it is recommended to use the default value. Default: 2000ms If the link scan time exceeds the value set in "Data Link Monitoring Time", data linking is disabled.
  • Page 68: Interrupt Settings

    Interrupt Settings Set conditions for sending an interrupt request to the CPU module. Setting method Set the interrupt conditions. Up to 16 interrupt conditions can be set. Click the [Apply] button to finish the interrupt settings. Setting items Item Description Setting range Word Device Setting Right click in the setting window and select a format from the "Word Device...
  • Page 69 Item Description Setting range Comment Set a comment for the interrupt pointer used. Default: Blank The following shows the combination with other setting items for "Device/Reception Channel". Device/ Device No./Channel No. Detection Method Condition Type Condition Interrupt Reception Value Pointer Channel ...
  • Page 70 Precautions ■When "Detection Method" is set to "Level" and the interrupt condition is always met If the sequence scan takes much longer than the link scan, since interrupt processing is activated in each link scan, sequence scan time may greatly increase, resulting in a watchdog timer error of the CPU module. When "Detection Method"...
  • Page 71 Setting examples ■For an interrupt by the RECVS instruction When a channel whose parameter is specified in the RECVS instruction receives a SEND instruction, the interrupt program can be started. When "RECVS instruction" is selected for "Device/Reception Channel", the "Device No./Channel No." and "Interrupt Pointer"...
  • Page 72 ■For an interrupt by a link device (LB, LW, LX) The specified interrupt program can be executed from another station in the condition of "ON/OFF" for the link device (LB, LX) or "Values Match/Values Mismatch" for the link register (LW). Set by parameters Existing program Execution...
  • Page 73 ■For an interrupt by a special device (SB, SW) The specified interrupt program can be executed in the condition of the control information (SB, SW) for data link. The following shows an example of executing an interrupt program with the interrupt pointer I51 when 'Data link error status of own station' (SB0049) of the control station (station No.15) is turned on (error).
  • Page 74: Transient Transmission Group No

    Transient Transmission Group No. Set the transient transmission group number. Item Description Setting range Transient Transmission Set a group number for transient transmission with group specification. 0 to 32 (0: No group Group No. specification) Default: 0 Dynamic Routing Select whether to enable the dynamic routing function. Item Description Setting range...
  • Page 75: Module Operation Mode

    Module Operation Mode Select the operation mode of the RJ71LP21-25. For a redundant system, select the module operation mode of system A. Item Description Setting range Module Operation Mode Set the operation mode of the RJ71LP21-25. • Online • Debug Mode Online In this mode, the RJ71LP21-25 operates normally.
  • Page 76: Interlink Transmission Settings

    Interlink Transmission Settings Set link device ranges when cyclic data are transferred from a station in the own network to a station in another network. Setting method The procedure for the interlink transmission settings is shown below. Select combination of modules in the "Transfer Source Module" and "Transfer Destination Module" boxes and enter setting values.
  • Page 77 Item Description Setting range LW/RWw Source Enter the link device range of the transfer source and destination modules. Up to 64 RWr/LW ranges can be set. LW points can be assigned in increments of 1. Points: 1 to 16384 Destination Range: 0H to 3FFFFH When the transfer source is When the transfer destination is...
  • Page 78 Precautions ■Modules supporting interlink transmission Relevant modules are as follows. • RJ71GN11-T2 (master station) • CC-Link IE Controller Network-equipped module (control station, normal station) • CC-Link IE Field Network-equipped module (master station, submaster station). • RJ71LP21-25 (control station, normal station) ■Transfer destination link device setting Do not use link devices set for link refresh range as a transfer destination.
  • Page 79 Setting example The following is a setting example to perform interlink transmission from the master station on CC-Link IE Field Network to stations on MELSECNET/H Network. In this example, 128-point data input from the slave station (station No.1) on CC-Link IE Field Network is transferred.
  • Page 80: Redundant System Settings

    If the transfer target network module is on a network other than MELSECNET/H network, set the transfer destination link devices within the own station send range of the network module. If the link devices are set within the send range of another station, the transferred data are overwritten with the send data of another station.
  • Page 81: Chapter 3 Programming

    PROGRAMMING Precautions for Programming This section describes the precautions for creating RJ71LP21-25 programs. For RJ71LP21-25 programs, use the link special relay (SB) and link special register (SW) to configure an interlock according to the link status of the own station and other stations. The following shows the link special relay (SB) and link special register (SW) for the interlock used in programs.
  • Page 82 Interlock of the communication program using the link status of the own station and station No.2 Communication program with station No.2 Set the following values for the timer constant K so that the control does not stop even if the network detects a momentary error due to cable or noise conditions.
  • Page 83: Program Examples Of The Redundant System

    Program Examples of the Redundant System This chapter describes program examples of when using the RJ71LP21-25 in a redundant system. System configuration This section describes a program example of when accessing the control system of the control station (station No.1) or sub- control station (station No.2) in the redundant system from the normal station (station No.3).
  • Page 84: Setting Parameters

    Setting parameters Setting parameters in the control station Connect the engineering tool to the CPU module to be set as the control system and set the parameters. In a redundant system, the same program and parameter are written to both systems. A new project does not need to be created.
  • Page 85 In the I/O assignment setting, set the redundant function module for slot No.0. [Navigation window]  [Parameter]  [System Parameter]  [I/O Assignment] tab  [I/O Assignment Setting] Set the RJ71LP21-25 (R) for slot No.1. Click the [OK] button to add a module label of the RJ71LP21-25 (R). 3 PROGRAMMING 3.2 Program Examples of the Redundant System...
  • Page 86 Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71LP21-25 (R)]  [Required Settings] Set the network range assignment as follows and click the [Apply] button. [Navigation window]  [Parameter]  [Module Information]  [RJ71LP21-25 (R)]  [Required Settings]  [Network Range Assignment] ...
  • Page 87 Setting parameters in the normal station Connect the engineering tool to the CPU module on the normal station and set parameters. Set the CPU module as follows. [Project]  [New] Click the [Setting Change] button to set the module label to be used. Set the RJ71LP21-25 as follows.
  • Page 88 Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71LP21-25]  [Required Settings] Set the link refresh settings as follows and click the [Apply] button. [Navigation window]  [Parameter]  [Module Information]  [RJ71LP21-25]  [Basic Settings]  [Link Refresh Settings] ...
  • Page 89: Checking The Network Status

    Checking the network status Once parameters are set for the control station and normal station, the MELSECNET diagnostics of the engineering tool can be used to check whether data link is normally operating. Connect the engineering tool to the CPU module on the control station. Start MELSECNET diagnostics.
  • Page 90 3 PROGRAMMING 3.2 Program Examples of the Redundant System...
  • Page 91 (9) Specify the target system used in the module FB RedundantSystem_GetAddress. (18)Acquire the current target station address of the control system or standby system by executing the module FB RedundantSystem_GetAddress. (255)Read the data for the target station acquired with RedundantSystem_GetAddress by executing the module FB DeviceRead. 3 PROGRAMMING 3.2 Program Examples of the Redundant System...
  • Page 92: Chapter 4 Troubleshooting

    TROUBLESHOOTING This section describes troubleshooting for the RJ71LP21-25. Checking with LED This section describes troubleshooting using LED. Error status can be determined by status of the RUN LED and the ERR LED. RUN LED ERR LED Error status Description On, flashing Major error An error such as hardware failure or memory failure.
  • Page 93 When the D LINK LED turns off When the D LINK LED turns off, check the following. Check item Action Is the control station operating normally? • Check if the control station (sub-control station) is performing data link using the MELSECNET diagnostics.
  • Page 94: Checking The Module Status

    Checking the Module Status The following items can be checked in the "Module Diagnostics" window for the RJ71LP21-25. Item Description [Error Information] tab Displays the details of the errors currently occurring. [Module Information List] tab Displays LED information, logical LED information, and individual information of the RJ71LP21-25. Supplementary MELSECNET Enables checking the cause to resolve the problem when an error occurs in the RJ71LP21-25.
  • Page 95 Module information list LED information, logical LED information, and individual information of the RJ71LP21-25 are displayed in the [Module Information List] tab. Item Description LED information Displays the LED status on the RJ71LP21-25. Logical LED information Displays the on/off status of the LED on the RJ71LP21-25. Individual Station Type Displays the station type set for the RJ71LP21-25.
  • Page 96 The following shows the on/off status of the logical LED information. Item Description On: Normal operation On: PLC to PLC network REMOTE On: Remote I/O network (always turned off in the RJ71LP21-25) DUAL On: Multiplex transmission in progress SW E On: Switch setting error (always turned off in the RJ71LP21-25) MS E On: Duplicated station number or control station on the same network...
  • Page 97: Self-Diagnostics Test

    Self-diagnostics test Self-diagnostics test can check the hardware status of the RJ71LP21-25. The RJ71LP21-25 alone can perform the following three types of tests. Test item Description Self-loopback Test For this test, the RJ71LP21-25 alone checks the hardware including the send/receive clines and cables of the transmission system.
  • Page 98 ■Checking the status when the operation is completed with an error When an error is detected, the test is immediately completed (with an error). When the test is completed with an error, the dot matrix at the front side of the RJ71LP21-25 indicates an error number. Take actions according to the error number displayed.
  • Page 99 Internal selfloopback test Operating procedure An optical fiber cable does not need to be connected to the RJ71LP21-25 connector. Do not allow light to enter from the connector. Set the module operation mode to "Internal Self-loopback Test". [Navigation window]  [Parameter]  [Module Information]  RJ71LP21-25  [Application Settings]  [Module Operation Mode] Click the [Apply] button.
  • Page 100 Hardware test Operating procedure Connect the IN connector and OUT connector of the RJ71LP21-25 with one optical fiber cable. Set the module operation mode to "Hardware test". [Navigation window]  [Parameter]  [Module Information]  RJ71LP21-25  [Application Settings]  [Module Operation Mode] Click the [Apply] button.
  • Page 101: Station-To-Station Test

    Station-to-station test This test checks the RJ71LP21-25 and optical fiber cable status between the two adjacent stations. For a system other than a redundant system Operating procedure Connect the OUT connector of the executing station and the IN connector of the executed station with optical fiber cables.
  • Page 102 ■Checking the status when the operation is completed with an error When an error is detected, the test is immediately completed (with an error). The following describes the causes of the failure in the optical loop system. • The cable on the forward loop or reverse loop is disconnected. •...
  • Page 103 For a redundant system Operating procedure Connect the OUT connector of the executing station and the IN connector of the executed station with optical fiber cables. • When a redundant system is configured in both the executing station and the executed station (1) Control station (station No.1): Executing station (A station where station-to-station test is performed) (2) Normal station (station No.2): Executed station (A station where station-to-station test is performed) (3) Normal station (station No.3): Offline (A station where station-to-station test is not performed)
  • Page 104 ■Checking the status when the operation is completed with an error When an error is detected, the test is immediately completed (with an error). The following describes the causes of the failure in the optical loop system. • The cable on the forward loop or reverse loop is disconnected. •...
  • Page 105: Forward Loop Test/Reverse Loop Test

    Forward loop test/reverse loop test Check the following. • Checking the RJ71LP21-25 and optical fiber cable hardware • Checking that the optical fiber cables are connected correctly at the OUT and IN connectors For a system other than a redundant system Operating procedure Connect all stations with optical fiber cables.
  • Page 106 ■Checking the status when the operation is completed with an error When an error is detected, the test is immediately completed (with an error). Loopback is performed due to wiring mistake, optical fiber cable failure, or other station failure. • If wiring is incorrect, check the connections of the IN and OUT connectors. •...
  • Page 107 ■Checking the status when the operation is completed with an error When an error is detected, the test is immediately completed (with an error). Loopback is performed due to wiring mistake, optical fiber cable failure, or other station failure. • If wiring is incorrect, check the connections of the IN and OUT connectors. •...
  • Page 108: Checking The Network Status

    Checking the Network Status Perform the MELSECNET diagnostics to check the network status and error details or to perform an operation test for troubleshooting. Host Station Information This diagnostics checks the overall network information of the connection destination and the status of the own station. Item Description Displayed information...
  • Page 109 Item Description Displayed information Link Information Mode Indicates the own station operation mode. • Online • Offline • Forward Loop Test • Reverse Loop Test • Test between Master Station • Test between Slave Station • Self-loopback Test • Internal Self-loopback Test •...
  • Page 110 Precautions for using network diagnostics • The network diagnostics (test function such as the network test) of the own station cannot be performed when an item other than "Not Specified" is set in "Specify Redundant CPU" on the "Specify Connection Destination Connection" window of the engineering tool in a redundant system.
  • Page 111: Other Station Information

    Other Station Information From this window, the status of communication, data link, parameters, CPU module, loop, and reserved stations at each station can be checked. 4 TROUBLESHOOTING 4.3 Checking the Network Status...
  • Page 112 Item Description Displayed information Page 106 Host Station Information Network Information Indicates the same information as own station information. Other Communication Status of Indicates the baton pass status (transient • Normal display: Baton pass normal station, reserved Station each Station transmission availability).
  • Page 113: Circuit Monitor Details

    Circuit Monitor Details From this window, the control station information, data link information, and the own station parameter status can be checked. Item Description Displayed information Network Information Indicates the same information as own station Page 106 Host Station Information information.
  • Page 114 Item Description Displayed information Data Link Total Number of Linked Indicates the total number of the link stations specified by 1 to 64: Total number of link stations Information Stations the parameter. Station of Maximum Normal Indicates the maximum station number with a successful 1 to 64: Station number Communication baton pass (in a state in which transient transmission is...
  • Page 115: Error History Monitor

    Error History Monitor From this window, the occurrence condition of the forward/reverse loop error, communication error, and transient transmission error can be checked. Error history details and error histories can also be cleared from here. Item Description Displayed information Page 106 Host Station Information Network Information Indicates the same information as own station information.
  • Page 116 Error History Monitor Details This window displays the loop switching cause and transient transmission error history. Item Description Displayed information Page 106 Host Station Information Network Information Indicates the same information as own station information. Loop Switching Station No. Indicates the number of the station that requested loop 1 to 64 switching and loopback.
  • Page 117 Clear Error History Monitor Select the checkbox of the item whose error history is to be cleared and click the [Execute] button. Item Description Clear Retry Count Clears the retry count. Clear Communication Error Count Clears the communication error count Clear F.Loop Transmission Error Clears the forward loop transmission error.
  • Page 118: Loop Test

    Loop Test This function performs the loop test of the forward/reverse loop status in the status where the wiring of the optical loop system is completed. The loopback station can also be checked during loopback. Select "Test Method" and "Target Module" and click the [Execute] button. Item Description Network Information...
  • Page 119: Setting Check Test

    Setting Check Test Select "Test Method" and "Target Module" and click the [Execute] button. The following three checks are performed: • Checking for the presence of any duplicated control station • Checking for the presence of any duplicated station number •...
  • Page 120: Station Order Check Test

    Station Order Check Test Select "Test Method" and "Target Module" and click the [Execute] button. The following connection order can be checked using the loop status: • Forward/reverse loop: The station number of the stations connected in the forward loop direction from the own station, and the station number of the stations connected in the reverse loop direction from the own station •...
  • Page 121: Communication Test

    Communication Test This test checks whether the own station and the communication destination (specified by the network number and station number) can communicate normally. Since this window displays the network number and station number that are being relayed, it can be used to check whether the routing parameter is correctly set.
  • Page 122: Network Test

    Network Test This test stops/restarts cyclic transmission. This function is used when it is not desirable to receive data from another station or to send own station data when starting up the system. For stopping/restarting cyclic transmission, data communication (link refresh) between the CPU module and the RJ71LP21-25 is not stopped or restarted.
  • Page 123: Troubleshooting By Symptom

    Troubleshooting by Symptom Perform these troubleshooting if data link cannot be performed even though no error is detected in the RJ71LP21-25. If an error has occurred in the RJ71LP21-25, identify the error cause using the engineering tool. ( Page 92 Checking the Module Status) When cyclic transmission cannot be performed The following lists the actions to be taken if cyclic transmission cannot be performed.
  • Page 124 Transient transmission cannot be performed. The following lists the actions to be taken if transient transmission cannot be performed. Check item Action Does any error occur during execution of transient transmission? Follow the instruction displayed on the window. Is the setting of the station number in the connected station correct? Correct station numbers.
  • Page 125 Modules cannot join a network. If the modules cannot join a network, check the following. Check item Action Is the RUN LED of the own station turned off? Perform troubleshooting for when the RUN LED turns off. ( Page 90 When the RUN LED turns off) Is the ERR LED of the own station turned on? Perform troubleshooting for when the ERR LED turns off.
  • Page 126 When communication is unstable The following lists the actions to be taken when link scan time or transmission delay time is long or when a transient transmission timeout occurred. Check item Action Is the ambient temperature for the module within the specified range? Keep the ambient temperature within the specified range by taking action such as removing heat source.
  • Page 127: List Of Error Codes

    List of Error Codes This section lists the error codes, error details and causes, and action for the errors occur in the processing for data communication between the RJ71LP21-25 and external devices or caused by processing requests from the CPU module on the own station.
  • Page 128 Error code Error details and causes Action Detailed Information 3006H Pairing is not set to the stations in a Check the pairing setting in "Network Range Assignment" of "Required Parameter redundant system. Settings" of the control station. information • Parameter type •...
  • Page 129 Error code Error details and causes Action Detailed Information F104H The control station and sub-control Wait until 'Baton pass error status of own station' (SB0047) and 'Data link  station are under transition. error status of own station' (SB0049) go back to normal. ...
  • Page 130 Error code Error details and causes Action Detailed Information F112H The loop status is faulty. • Check for cable failure, hardware failure, wiring error, station number  duplication, control station duplication, and mismatched transmission speed in the same network. • Check the power supply status of each module. (Check if the power-on and off is repeated.) •...
  • Page 131 Error code Error details and causes Action Detailed Information F200H An error was detected in the network Please consult your local Mitsubishi representative.  module.  F201H The same transient data have been Check the network status using the MELSECNET diagnostics of the received two times or more.
  • Page 132 Error code Error details and causes Action Detailed Information F21EH A command that is not supported is • Correct the SLMP command.  received. • If the error occurs again even after taking the above, please consult your local Mitsubishi representative. ...
  • Page 133 Error code Error details and causes Action Detailed Information F70BH No response has been returned after Wait until 'Baton pass error status of own station' (SB0047) and 'Data link  send operation. error status of own station' (SB0049) go back to normal. ...
  • Page 134 Error code Error details and causes Action Detailed Information F7C5H The target network number or target Correct the target network number or target station number for the control  station number for the control data of data of the send/receive instruction. the send/receive instruction is incorrectly set.
  • Page 135 Error code Error details and causes Action Detailed Information F7ECH The channel specified is being used for • Execute the instruction again after correcting the channel used by own  event parameters. station in the control data. • Execute the instruction again after correcting the channel used in "Interrupt Settings"...
  • Page 136 Error code Error details and causes Action Detailed Information • Set the own station send range so that the common parameter  unique F823H The common parameter is inconsistent  with the unique parameter. parameter of each station. • If there is no parameter unique to the station, the error is the hardware failure of the CPU module or network module.
  • Page 137 Error code Error details and causes Action Detailed Information F841H to The network parameter is faulty or the • Correct the network parameter setting and write data to the  F842H hardware of the network module has programmable controller. failed. •...
  • Page 138 Error code Error details and causes Action Detailed Information FD01H A CRC error has occurred during the No action is required because the system performs a retry. However, if the  execution of the station-to-station test error occurs frequently, check for cable failure, hardware failure, noise, and self-loopback test.
  • Page 139 Error code Error details and causes Action Detailed Information FD1CH The setting check test, station order • Do not switch the loop in the middle.  check test, and loop test are executed • If the error occurs again, check the line and wiring status. during line control.
  • Page 140 Error code Error details and causes Action Detailed Information FD43H A timeout error (send) has occurred No action is required because the system performs a retry.  during the execution of the station-to- However, if the error occurs frequently, check for cable failure, hardware station test and self-loopback test.
  • Page 141 Error code Error details and causes Action Detailed Information FE39H The hardware of the CPU module or Please consult your local Mitsubishi representative.  network module has failed.  FE3BH to The hardware of the network module Please consult your local Mitsubishi representative. FE3FH has failed.
  • Page 142: List Of Parameter Numbers

    List of Parameter Numbers This section lists the parameter numbers displayed in the module diagnostics. If a parameter number is displayed when an incorrect parameter is set, the target parameter can be identified. Parameter numbers are displayed in "Detailed Information" in the [Error Information] tab under the "Module Diagnostics" window of the RJ71LP21-25.
  • Page 143: Event List

    Event List The following lists the events that occur in the RJ71LP21-25. System Event code Overview Cause 00500 Own station: Baton pass return (network entry) Baton pass of the own station was returned from interruption status to normal status. 00501 Another station: Baton pass return (network Baton pass of another station was returned from interruption status to normal status.
  • Page 144: Appendices

    APPENDICES Appendix 1 Module Label The link special relay (SB) and link special register (SW) of the RJ71LP21-25 can be set using module label. Structure of the module label The module label name is defined with the following structure. "Instance name"_"Module number"."Label name" "Instance name"_"Module number"."Label name"_D LP21_1.bDetect_DataLinkError ■Instance name...
  • Page 145: Appendix 2 Buffer Memory

    Appendix 2 Buffer Memory The buffer memory is used to exchange data between the RJ71LP21-25 and the CPU module. Buffer memory values are defaulted when the CPU module is reset or the system is powered off. List of buffer memory addresses Address Address Name...
  • Page 146: Appendix 3 List Of Link Special Relay (Sb) Areas

    Appendix 3 List of Link Special Relay (SB) Areas The link special relay (SB) is turned on/off depending on various factors during data link. Any error status of the data link can be checked by using or monitoring it in the program. Application of the link special relay (SB) By using link special relay (SB), the status of MELSECNET/H Network can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 147 List of link special relay (SB) areas The following table lists the link special relay (SB) areas when they are assigned from SB0000 to SB01FF. Do not turn on or off areas whose numbers are not on the following list or ranges turned on/off by the system. Doing so may cause malfunction of the programmable controller system.
  • Page 148 Name Description Availability Control Normal station Station   SB0011 Data link operation Requests data link operation. designation Off: Switch not requested On: Switch requested (valid at rising edge) When ON is detected, the operation switches from online (normal data link) operation to online (debug) operation, or from online (debug) operation to online (normal data link) operation.
  • Page 149 Name Description Availability Control Normal station Station   SB004D Link start completion status Stores the status of link startup processing requested with 'Link startup of own station' of own station (SB0000). Off: Link startup not completed (SB0000 is off.) On: Link startup completed (SB0000 is on.) (Conditions) •...
  • Page 150 Name Description Availability Control Normal station Station   SB0056 Communication status Stores the transient transmission status. Off: Transient transmission by the control station On: Transient transmission by the sub-control station (Conditions) • This register is enabled when 'Baton pass error status of own station' (SB0047) is off. When 'Baton pass error status of own station' (SB0047) is turned on (error), data prior to error is held.
  • Page 151 Name Description Availability Control Normal station Station   SB0070 Baton pass status of each Stores the baton pass status of each station. station Off: All stations normal On: Faulty station exists When this relay is turned on, the status of each station can be checked with 'Baton pass status' (SW0070 to SW0073).
  • Page 152 Name Description Availability Control Normal station Station   SB0080 CPU moderate to major Stores the moderate/major error occurrence status of the CPU module on each station. error occurrence status of (Including own station) each station Off: No moderate/major error On: Station with a moderate/major error exists When this relay is turned on, the status of each station can be checked with 'CPU moderate to major error occurrence status' (SW0080 to SW0083).
  • Page 153 Name Description Availability Control Normal station Station   SB0090 Loop status of own station Stores the transmission path status of the own station. When this relay is turned on, the error definition can be checked with 'Loopback information' (SW0090). Off: Normal On: Error (Conditions)
  • Page 154 Name Description Availability Control Normal station Station   SB00A1 RECV execution request Stores the data reception status of own station channel 2. flag CH2 Off: No data received On: Data received (Conditions) • This register is enabled when 'Baton pass error status of own station' (SB0047) is off. When 'Baton pass error status of own station' (SB0047) is turned on (error), data prior to error is held.
  • Page 155 Name Description Availability Control Normal station Station   SB00AB Online test response Stores the online test response completion status (the status of response completion completion (issuance at from another station). another station) Off: Response not completed On: Response completed When the relay is turned on, the online test information can be checked with 'Online test execution item of responding side' (SW00AA) and 'Online test execution item of responding side' (SW00AB).
  • Page 156 Name Description Availability Control Normal station Station   SB01F4 Separate mode status in Stores the CPU operation mode status of each station. redundant system Off: CPU backup mode set for all stations On: Separate mode This relay is turned off when 0 is set for all the settings of 'Separate mode status in redundant system' (SW01F4 to SW01F7).
  • Page 157: Appendix 4 List Of Link Special Register (Sw) Areas

    Appendix 4 List of Link Special Register (SW) Areas The link special register (SW) stores the information during data link as a numerical value. Error locations and causes can be checked by using or monitoring the link special register (SW) in programs. Application of the link special register (SW) By using link special register (SW), the status of MELSECNET/H Network can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 158 List of link special register (SW) areas The following table lists the link special register (SW) areas when they are assigned from SW0000 to SW01FF. Do not write any data to an area whose number is not on the following list or ranges where data are stored by the system.
  • Page 159 Name Description Availability Control Normal station Station   SW0018 System switching Sets the time from when a data link error occurs to when the data link stop is recognized monitoring time setting in a redundant system. 0: 2s (default) 1 to 500: Can be set in increments of 10ms (10ms to 5s) SW0020 Communication status...
  • Page 160 Name Description Availability Control Normal station Station   SW0044 Station setting Stores the settings status of the own station. … b13 b12 b11 b10 b2 b1 b0 … SW0044 b0: Network type • 0: PLC to PLC network (Fixed to 0) b1: Station type •...
  • Page 161 Name Description Availability Control Normal station Station   SW004A Data link stop request Stores the station number of the station that performed the data link stop request for the station own station. The data link stop request is performed by 'System link stop' (SB0003). …...
  • Page 162 Name Description Availability Control Normal station Station   SW0055 Parameter setting status Stores the parameter status. 0: Normal 1 or greater: Error (An error code is stored.) (Conditions) • This register is enabled when 'Receive parameter error' (SB0055) is on. ...
  • Page 163 Name Description Availability Control Normal station Station   SW006B Maximum link scan time Stores the maximum value of the link scan time during cyclic transmission. (Unit: ms) When the constant link scan is specified, the register is set as follows: ■For the control station •...
  • Page 164 Name Description Availability Control Normal station Station   SW0070 Baton pass status Stores the baton pass status of each station. Off: Baton pass normal station SW0073 On: Baton pass faulty station b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW0070 16 15 14 13 12 11 10 SW0071...
  • Page 165 Name Description Availability Control Normal station Station   SW007C Parameter error status Stores the parameter error status of each station. Off: Normal SW007F On: Error b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW007C 16 15 14 13 12 11 10 SW007D...
  • Page 166 Name Description Availability Control Normal station Station   SW0088 CPU minor error Stores the minor error occurrence status of the CPU module on each station. (Including occurrence status own station) SW008B Off: Normal operation, or a moderate or serious error occurring On: Minor error b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW0088...
  • Page 167 Name Description Availability Control Normal station Station   SW0095 Reverse loop status of Stores the reverse loop (OUT-side) status of each station. (Including own station) each station Off: Normal SW0098 On: Error b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW0095 16 15 14 13 12 11 10 SW0096...
  • Page 168 Name Description Availability Control Normal station Station   SW00A8 Online test execution Stores the items/faulty stations of the online test at the request side. item/faulty station of The station disconnected from the network is not included in faulty stations because no requesting side response is made.
  • Page 169 Name Description Availability Control Normal station Station   SW00AE Offline test execution item Shows the items of the offline test at the response side. of responding side 3: Loop test (Forward loop) 4: Loop test (Reverse loop) (Conditions) • This register is enabled when 'Offline test response completion (issuance at another station)' (SB00AF) is on.
  • Page 170 Name Description Availability Control Normal station Station   SW00BB Short frame on the Stores the cumulative error occurrence count of the forward loop (IN-side) communication forward loop side short frame error. 0: No error 1 or greater: Cumulative count There is no problem if values are counted up little by little over a long period of time.
  • Page 171 Name Description Availability Control Normal station Station   SW00C5 Timeout on the reverse Stores the cumulative error occurrence count of the reverse loop (OUT-side) loop side (TIME) communication timeout. 0: No error 1 or greater: Cumulative count There is no problem if values are counted up little by little over a long period of time. If values are rapidly counted up in a short period of time, check if the cables are faulty.
  • Page 172 Name Description Availability Control Normal station Station   SW00D0 Loop switch data (1) Stores the error status when loop switching occurs. Paired with 'Switch request station (2)' (SW00E0 to SW00E7). SW00DF … b5 b4 b3 b2 b1 b0 SW00D0 ·...
  • Page 173 Name Description Availability Control Normal station Station   SW00EF Transient transmission Stores a pointer of 'Transient transmission error history' (SW00F0 to SW00FF). error pointer 0: The latest transient transmission error is stored in SW00F0. 1: The latest transient transmission error is stored in SW00F1. 2: The latest transient transmission error is stored in SW00F2.
  • Page 174 Name Description Availability Control Normal station Station   SW01F8 Pairing setting status in Stores the pairing setting status for each station. redundant system Off: No pairing setting (including a stand-alone system) SW01FB On: Pairing set If pairing is set, the bit corresponding to the system B station is turned on. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW01F8 16 15 14 13 12 11 10...
  • Page 175: Appendix 5 Dedicated Instruction

    Appendix 5 Dedicated Instruction This section describes dedicated instructions that can be used in the RJ71LP21-25. For details on dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Module Dedicated Instructions) Link dedicated instructions The following table lists the instructions used for transient transmission to or from programmable controllers on other stations. Each link dedicated instruction allows access to a station on a network other than MELSECNET/H Network.
  • Page 176: Precautions For Dedicated Instructions

    Precautions for dedicated instructions This section describes precautions when using dedicated instructions. Precautions for dedicated instructions (common) ■When changing data specified by dedicated instructions Do not change any data (such as control data) until execution of the dedicated instruction is completed. ■When the dedicated instruction is not completed Check whether the module operation mode setting of the RJ71LP21-25 is online mode.
  • Page 177: Appendix 6 Processing Time

    Appendix 6 Processing Time The cyclic transmission delay time of the RJ71LP21-25 consists of the following. (1) Sending-side sequence scan time + (2) Link scan time + (3) Receiving-side sequence scan time = Transmission delay time • Sequence scan time:  MELSEC iQ-R CPU Module User's Manual (Application) •...
  • Page 178: Link Scan Time

    Link scan time The following is the formula to calculate the link scan time (LS). Calculation formula ■For the MELSECNET/H mode • At a communication speed of 10Mbps LS [ms] = KB + (n  0.45) + {LB + LY + (LW  16)}  8  0.001 + (T  0.001) + (F  4) •...
  • Page 179: Cyclic Transmission Delay Time

    Cyclic transmission delay time The following are the formulas to calculate cyclic transmission delay time. For a single network system ■When a redundant system is not used Condition Calculation formula [ms] TD1 = (ST + T) + (LS  0.5) + (SR + R)  1.5 + 0.5  (ST + T) For S >...
  • Page 180 Condition Calculation formula [ms] TD1 = (ST + T) + (LS  0.5) + (SR + R + TS)  1.5 + 0.5  LS For S < LS Station-based Other than the Normal value block data MELSECNET/H TD1max = (ST + T) + (LS  1) + (SR + R + TS)  2 + 1.0  LS Maximum assured extended mode...
  • Page 181 0.489 For the calculation formula used for the relay station that is configured with other module than that of the MELSEC iQ-R series, refer to the manual of the relay target module. Precautions The interlink transmission time may become longer due to the following causes.
  • Page 182: Interlink Transmission Time

    Calculation formula ■Interlink transmission time required for one END processing The time required for one END processing is 0 [ms] for interlink transmission with the MELSEC iQ-R series network module. ■Interlink transmission time to completely transmit all set points DL [ms] = KM4  (LB  16 + LW) The meanings of the variables and constants in the equation are as follows.
  • Page 183: Cyclic Data Holding Time When System Switching Occurs

    Cyclic data holding time when system switching occurs This section describes cyclic data holding time when system switching occurs. Calculation formula The following are the formulas to calculate cyclic data holding time when system switching occurs. Pattern System switching cause Condition Cyclic data holding time (T ) [ms]...
  • Page 184 Timing chart This section describes a timing chart for each system switching cause. ■Pattern 1 The following figure shows a timing chart for normal value. Control station Control station Communication faulty station Station No.1 Power down System A Sequence Control scan time station (SS)
  • Page 185 ■Pattern 2 The following figure shows a timing chart for normal value. Control station Control station Communication faulty station Station No.1 Power down System A Sequence Control scan time station (SS) Station No.1 Data sent from station No.1 to Delay time until system switching cause detection another station System A Control system...
  • Page 186 ■Pattern 3 The following figure shows a timing chart for normal value. Normal station Communication faulty station Normal station Station No.1 Power down System A Sequence Normal scan time station (SS) Station No.1 Data sent from station No.1 to Delay time until system switching cause detection another station Control system Standby system...
  • Page 187 ■Pattern 4 CPU stop error Sequence scan time (SS) System A Data sent from Normal station No.1 to Delay time until system switching cause detection station another station Station No.1 System A Control system Standby system System B Standby system Control system System switching time (T Delay time until first output after system...
  • Page 188 ■Pattern 5 Communication error occurred Control station Control station Communication faulty station Station No.1 Data link monitoring time 'Data link error status of own System switching station' request is issued. System System A (SB0049) switching Control monitoring station time Delay time until system switching cause detection Station No.1 Sequence scan time...
  • Page 189: Appendix 7 Differences Between Melsec-Q Series And Melsec Iq-R Series

    Appendix 7 Differences Between MELSEC-Q Series and MELSEC iQ-R Series The following differences must be addressed when replacing the MELSEC-Q series with the MELSEC iQ-R series (RJ71LP21-25). Specifications Item MELSEC-Q series MELSEC iQ-R series (RJ71LP21- Action System supported • Optical loop system...
  • Page 190 J \ W). For details on the method of replacement for multiplex transmission, refer to the following.  Method of replacing High Performance model QCPU with Universal model QCPU (FA-A-0001) APPX Appendix 7 Differences Between MELSEC-Q Series and MELSEC iQ-R Series...
  • Page 191 MEMO APPX Appendix 7 Differences Between MELSEC-Q Series and MELSEC iQ-R Series...
  • Page 192: Index

    INDEX ......15 Reserved station ......15 Baton pass .
  • Page 193 MEMO...
  • Page 194: Revisions

    Japanese manual number: SH-082203-A This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 195: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 196: Trademarks

    TRADEMARKS The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual. SH(NA)-082204ENG-A...
  • Page 198 SH(NA)-082204ENG-A(2002)MEE MODEL: R-NET/H-U-OU-E MODEL CODE: 13JX1F 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.

This manual is also suitable for:

Rj71lp21-25

Table of Contents