Download  Print this page

Mitsubishi Electric MELSEC iQ-R Series User Manual

Melsec iq-r cc-link system master/local module
Hide thumbs

Advertisement

MELSEC iQ-R CC-Link System
Master/Local Module
User's Manual (Application)
-RJ61BT11

Advertisement

Table of Contents
loading

  Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application) -RJ61BT11...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user's manual for the CPU module used.
  • Page 4 [Design Precautions] WARNING ● 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] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • 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 a solderless terminal with an insulation sleeve for terminal block wiring. Note that up to two solderless terminals can be connected per terminal block.
  • 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 [Startup and Maintenance Precautions] CAUTION ● Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is applied to it, dispose of it without using.
  • Page 11: Conditions Of Use For The Product

    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 12: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 13 Program examples ............... 82 Communication Example Using the Standby Master Function .
  • Page 14: Relevant Manuals

    This manual does not include information on the module function blocks. For details, refer to the Function Block Reference for the module used. e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool.
  • Page 15: Terms

    A system that controls a redundant system and performs network communications in a redundant system CPU module A generic term for the MELSEC iQ-R series CPU modules Cyclic transmission A function by which data are periodically exchanged among master stations and other stations on the same system...
  • Page 16 Term Description Remote device net Ver.1 mode A mode used to configure a system only with a master station and Ver.1-compatible remote stations. Remote device net Ver.2 mode A mode used to configure a system only with remote stations containing master stations and Ver.2-compatible slave stations or to add Ver.2-compatible slave stations in future (a system only with master stations and Ver.1-compatible remote stations).
  • Page 17: Chapter 1 Functions

    FUNCTIONS Cyclic Transmission This function allows data to be periodically exchanged between the master station and other stations on the same system using link devices. Data flow and link device assignment Overview of communications In CC-Link, communications are performed between the master station and slave stations using RX, RY, RWr, and RWw. Data in RX, RY, RWr, and RWw of the master/local module are stored in the buffer memory.
  • Page 18 ■Input and output of the master station Data can be input to and output from all slave stations. Areas are assigned in the order of station number. • For input to the master station, data in RX and RWr of all slave stations are stored into RX and RWr of the master station. In a local station, however, data in RY and RWw of a local station are stored into RX and RWr of the master station.
  • Page 19: Mode

    Mode Combination of the modes of a master/local module The following table lists the combination of the modes of the master station and local station in a master/local module. : Data link can be performed. : Data link cannot be performed. Mode of the master "Version"...
  • Page 20 Remote net Ver.1 mode The remote net Ver.1 mode is selected when a system is configured only with the master station and Ver.1-compatible slave stations. When the system includes a Ver.2-compatible slave station, select the remote net Ver.2 mode. Remote device station Master station Intelligent device station Remote I/O station...
  • Page 21 ■Points per module and per system For the points, refer to the table of the performance specifications in the following manual.  MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) In CC-Link, increasing the number of occupied stations can increase the number of points per module. The number of occupied stations is set for each slave station.
  • Page 22 Remote net Ver.2 mode The remote net Ver.2 mode is selected when a system is configured with the master station and Ver.2-compatible slave stations or when Ver.2-compatible slave stations will be added to the system in future. In this mode, more points can be used than in the remote net Ver.1 mode. Remote device station Local station Master station...
  • Page 23 ■Points per module and per system For the points, refer to the table of the performance specifications in the following manual.  MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) In CC-Link, increasing the number of occupied stations and extended cyclic settings can increase points per module. Set the number of occupied stations and extended cyclic settings for each slave station.
  • Page 24 Remote device net Ver.1 mode The remote device net Ver.1 mode is selected when a system is configured only with the master station and Ver.1-compatible remote stations. In this mode, more remote device stations can be used than in the remote net Ver.1 mode. When the system includes a Ver.2-compatible remote station, select the remote device net Ver.2 mode.
  • Page 25 ■Points per module and per system For the points, refer to the table of the performance specifications in the following manual.  MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) In CC-Link, increasing the number of occupied stations can increase the number of points per module. The number of occupied stations is set for each slave station.
  • Page 26 Remote device net Ver.2 mode The remote device net Ver.2 mode is selected when a system is configured only with the master station and remote stations including Ver.2-compatible ones or when the system includes only the master station and Ver.1-compatible remote stations but Ver.2-compatible ones will be added to the system in future.
  • Page 27 ■Points per module and per system For the points, refer to the table of the performance specifications in the following manual.  MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) In CC-Link, increasing the number of occupied stations and extended cyclic settings can increase points per module. Set the number of occupied stations and extended cyclic settings for each slave station.
  • Page 28 Remote I/O net mode The remote I/O net mode is selected when slave stations are remote I/O stations only. Compared to other modes, transmission delay time of cyclic transmission can be shortened. In addition, modules can be operated with less settings. Master station Remote I/O station Remote I/O station...
  • Page 29: Link Refresh

    ■Data transfer between RX and RY and a device in a CPU module To perform auto transfer using the module parameters in an engineering tool, setting a refresh device in "Link Refresh Settings" under "Basic Settings" transfer data between RX and RY in a master/local module and a device in a CPU module. (...
  • Page 30 Shortening the link refresh time and transmission delay time The link refresh time and transmission delay time can be shortened by reducing the number of link refresh points to the CPU module. The following methods can be used to reduce the number of the link refresh points. •...
  • Page 31: Cyclic Data Integrity Assurance

    Cyclic data integrity assurance This function prevents read/write data from being separated between new and old data. This function assures the cyclic data integrity in units of 32 bits or station-based units. 32-bit data integrity assurance This function prevents read/write data in 32-bit increments from being separated between new and old data. The data in the remote register (RWr and RWw) between a CPU module, master station, and local station are assured in units of 32 bits.
  • Page 32 ■Operation of a data assurance Identity of data per slave station is assured as follows. To assure data of the remote stations with the number of occupied stations of 3 and 1 Remote station Remote station (station No.: 1, (station No.: 4, CPU module number of occupied number of occupied...
  • Page 33: Sequence Scan Synchronization Specification

    Sequence scan synchronization specification Whether to synchronize the link scan with the sequence scan of a CPU module or not can be selected. Difference between asynchronous and synchronous settings ■Asynchronous setting Link scan is performed asynchronously with the sequence scan of the CPU module. Select this item to shorten input transmission delay time when sequence scan takes much more time than link scan.
  • Page 34 ■Data flow synchronous with a sequence scan Sequence scan  Link scan CPU module (sequence scan) Master station buffer memory (remote input (RX)) Link scan Response time of the first station Response time of the corresponding station Response time of the final station Responses from remote I/O stations Input 1...
  • Page 35 ■Data flow synchronous with a sequence scan Sequence scan < Link scan CPU module (sequence scan) Master station buffer memory (remote input (RX)) Link scan Response time of the first station Response time of the corresponding station Response time of the final station Responses from remote I/O stations Input 1...
  • Page 36: Input And Output Settings When Failure Occurs

    Input and output settings when failure occurs A master/local module allows for the following settings. Setting Range where the settings are enabled Input Data from Data Link Faulty Station Whether to clear or hold the following RX and RY input data from other stations can be selected.
  • Page 37 Status difference between a master station and a slave station at an error The station status at an error varies depending on the combination of "Input Data from Data Link Faulty Station", "Output Mode upon CPU STOP", and "Data Link Setting at CPU Failure" under "Supplementary Cyclic Settings" in "Application Settings".
  • Page 38 ■Status of a remote device station, intelligent device station, local station, and standby master station (when operating as a local station) Data link status Remote device station, intelligent device Local station, standby master station (operating as station a local station) Remote Remote Remote...
  • Page 39 Precautions ■When an error invalid station is set If a data link error occurs in a station set as an error invalid station, input data (remote input (RX)) from that station is held regardless of the setting. ■When a standby master station is set When a standby master station is set, the standby master station starts to take in control without data link of the master station continued even if "Data Link Setting at CPU Failure"...
  • Page 40: Output Data Setting In Case Of Cpu Stop

    Output data setting in case of CPU STOP Whether to refresh or compulsorily clear remote output (RY) when the switch on a CPU module is set to STOP can be selected. How the remote output (RY) should be handled can be selected according to the system used. ( Page 35 Status difference between a master station and a slave station at an error) Only remote output (RY) is refreshed or compulsorily cleared according to the setting.
  • Page 41: Data Link Stop And Restart

    Precautions ■Device to be set in the refresh device setting Whether remote output (RY) is refreshed or compulsorily cleared varies depending on the refresh device set for the remote output (RY) in "Link Refresh Settings" under "Basic Settings" as described below: •...
  • Page 42 Setting method Configure the remote I/O station points setting in "Network Configuration Settings" under "Basic Settings". ( Page 60 Network Configuration Settings) When setting eight-point remote I/O stations, set an even number of stations consecutively. When setting an odd number of eight-point remote I/O stations, select "8 Points + Empty 8 Points" from "Remote Station Points"...
  • Page 43: Transient Transmission

    Transient Transmission Data can be communicated when a request is issued unlike cyclic transmission. Direct access to buffer memory areas and devices in other stations can be performed in transient transmission. Communications using a dedicated instruction Unlike cyclic transmission, a large capacity of data can be communicated at any timing using dedicated instructions. For details on dedicated instructions, refer to the following.
  • Page 44: Standby Master Function

    Standby Master Function If the master station goes down due to an error in a CPU module, power supply, or others, switching the control to the standby master station (a backup station for the master station) can continue data link. This function is used not to stop the entire system even if the master station goes down.
  • Page 45 Continued from the previous figure The master station in the normal state returns to the system operation. → The master station is on standby in case of the standby master station failure. Master station Remote device station Intelligent device station Standby master station (station No.: 0→1 , number of...
  • Page 46 Overview of data transmission The following is an overview of data transmission of when the standby master function is used. ■When data link is controlled by the master station (Output from the master station) Standby master station (standby status) (station No.: 1, number of occupied stations: 1) Master station (controlling) Remote...
  • Page 47 (Input of the standby master station) Standby master station (controlling) (station No.: 1→0) Master station Remote Remote Remote Remote Remote I/O station input (RX) output (RY) input (RX) output (RY) (station No.: 2, number of RX00 to RX0F RY00 to RY0F RX00 to RX0F RY00 to RY0F occupied stations: 1)
  • Page 48 ■Operation between the standby master station going down and the master station controlling data link If the standby master station goes down, the master station takes over the control of data link. (Output from the master station) Master station (controlling) Standby master station (station No.: 1→0) Remote...
  • Page 49 Setting method Set the standby master station in the "Add New Module" window or "Station Type" in "Required Settings". ( Page 56 Station Type) Precautions ■The number of standby master stations One standby master station can be connected in one system. ■Data link control of a standby master station When a master station goes down, data link control is automatically switched to a standby master station.
  • Page 50 ■Processing that sets the link devices saved at master switching and refresh instruction at standby master switching After saving the link devices, wait a fixed number of scans and execute the processing that sets the link devices saved at master switching and 'Refresh instruction at standby master switching' (SB0001). Number of scans for waiting after saving the link devices differs depending on the mode setting.
  • Page 51 Link special relay (SB) areas and link special register (SW) areas Link special relay (SB) areas and link special register (SW) areas related to the standby master function are listed below. ■Link special relay (SB) areas Link special relay (SB) areas related to the standby master function are listed below. •...
  • Page 52: Remote Device Station Initial Setting Procedure Registration Function

    Remote Device Station Initial Setting Procedure Registration Function The initial setting of a remote device station which is performed on a program can be registered in advance using an engineering tool and can be saved by turning on the link special relay (SB). A program for the initial setting is not required. Number of initial settings registered ■Number of remote device stations The initial settings of up to 64 remote device stations can be registered in one master/local module.
  • Page 53 Specification of remote device station to be initialized Specification of remote device station to be initialized is a procedure for initial processing only in a specified station. When a remote device station in operation has been replaced due to failure, the initial processing can be performed only in a specified remote device station that has been replaced.
  • Page 54 Precautions ■Reflection of the settings The initial settings registered using an engineering tool are reflected to a remote device station by writing the settings to a CPU module and turning on 'Remote device station initialization procedure registration instruction' (SB000D). ■Processing time Because one step is executed per link scan, more setting items extend the processing time further than that of when a program is used.
  • Page 55: Interrupt Setting Function

    Interrupt Setting Function An interrupt request is issued to a CPU module when the interrupt conditions that have been set using an engineering tool are satisfied, and the interrupt program can be executed. This function is used to stop the control and execute an interrupt program upon an error or for other purposes.
  • Page 56: Chapter 2 Parameter Settings

    PARAMETER SETTINGS This chapter describes the parameter settings required for the master/local module. Setting Parameters Add the master/local module in the engineering tool. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] The required setting, basic setting, and application setting are included in the parameter settings. Select one of the settings from the tree structure on the window shown below and set parameters.
  • Page 57: Required Settings

    Required Settings Set the station type or mode of the master/local module. : Can be set, : Cannot be set Item Availability Reference Master station Master station Local station/standby (duplex function) master station    Station Type Page 56 Station Type ...
  • Page 58: Station Type

    Station Type Set the station type of the master/local module. Item Description Setting range Station Type Set the station type of the master/local module. • Master Station • To use this module as a standby master station, select "Master Station (Duplex Function)" •...
  • Page 59: Station Number

    Station Number Set the station number of the master/local module. Item Description Setting range Master station Master station (duplex Standby master station, function) local station Station No. Set the station number of the Fixed to 0 0 to 64 1 to 64 master/local module.
  • Page 60: Transmission Speed

    Transmission Speed Set the transmission speed of the master/local module. Item Description Setting range Master station, master station Standby master station, local (duplex function) station Transmission Set the transmission speed of the master/ • 156kbps • 156kbps Speed local module. •...
  • Page 61: Basic Settings

    Basic Settings Set the network configuration, link refresh settings, or other parameters for the master/local module. : Can be set, : Can be set partly, : Cannot be set Item Availability Reference Master station Master station Local station/standby (duplex function) master station ...
  • Page 62: Network Configuration Settings

    Network Configuration Settings Set the information of slave stations connected to the master station. Setting method The procedure for the network configuration settings is shown below. Select the module in "Module List" and drag it to "List of stations" or "Network map". List of stations Network map Drag and drop the text.
  • Page 63 Item Description Setting range  Model Name The module model name is displayed. If the module information cannot be found, "Module with No Profile Found" is displayed. Station Type Select the station type. Set the same type of the slave station actually The setting varies depending on the set connected.
  • Page 64: Link Refresh Settings

    Link Refresh Settings Set the link refresh ranges between the link devices of the master/local module and the devices of the CPU module or between the link devices of the master/local module and the module label of the CPU module. Setting method The procedure for the link refresh settings is shown below.
  • Page 65 Setting items Item Description Setting range Device Assignment Right-click in the setting window and select a link device assignment method • Start/End Method from the "Device Assignment Method" menu. • Points/Start • Start/End: Enter the start and end numbers of link devices. (Default: Start/End) •...
  • Page 66 Item Description Setting range 1 to 256 Link Side Set the link refresh ranges of RX, RY, RWr, and RWw. Up to 256 ranges can Device Name be set. ( Page 27 Link refresh) • RX, RY, RWr, RWw (Default: Blank) Points •...
  • Page 67: Initial Settings

    Initial Settings Set the procedure for the initial settings when registering the initial settings of a remote device station using an engineering tool. The initial settings are reflected to the remote device station by turning on 'Remote device station initialization procedure registration instruction' (SB000D) Setting method The procedure for the initial settings is shown below.
  • Page 68 When the initial settings are completed for all the set stations, 'Completion status of remote device station initialization procedure' (SB005F) is turned on. The stations where the initial settings are completed can be checked with 'Remote device station initialization procedure registration completion status' (SW0164 to SW0167).
  • Page 69 Setting items ■Remote Device Initial Setting Target Station No. Setting Item Description Setting range Target Station No. Set the target station number of the remote device initial setting. 1 to 64 (Default: Blank)  Registered Procedure Information The number of registered procedures in the remote device initial setting is stored. (Default: Blank) ■Remote Device Initial Setting Procedure Registration Item...
  • Page 70: Application Settings

    Application Settings Set the supplementary cyclic settings, interrupt settings, or other parameters for the master/local module. : Can be set, : Can be set partly, : Cannot be set Item Availability Reference Master station Master station Local station/standby (duplex function) master station ...
  • Page 71: Supplementary Cyclic Settings

    Supplementary Cyclic Settings Set the station-based block data assurance, scan mode setting, or other parameters. Item Description Setting range Input Data from Data Link Faulty Set whether to clear or hold data input/output from a data link faulty station. • Clear Station ■Master station •...
  • Page 72: Interrupt Settings

    Interrupt Settings Set conditions for sending an interrupt request to the CPU module. Setting method Set an interrupt condition device. 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 Value Input Format...
  • Page 73: Parameter Name

    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 74: Chapter 3 Programming

    PROGRAMMING This chapter describes programming and start-up examples of the master/local module. Precautions for Programming This section describes precautions to create master/local module programs. Interlock program For a cyclic transmission program, interlock with 'Data link status of other stations' (SW0080 to SW0083). Interlock example Classification Label name...
  • Page 75: Example Of Communications Between A Master Station And A Local Station

    Example of Communications Between a Master Station and a Local Station This section describes communications between the master station and local station. System configuration example The following system configuration is used to explain communication between the master station and local station. System configuration The same system is used for the master station and local station.
  • Page 76 Link device assignment This section describes the RX, RY, RWr, or RWw assignment of program examples. Remote net Ver.1 mode is used in this program examples. When the remote net Ver.2 mode or remote device net Ver.2 mode is used, the buffer memory addresses of storage locations vary. ( Page 18 Remote net Ver.1 mode) ■RX/RY assignment CPU module...
  • Page 77 ■RWr/RWw assignment CPU module CPU module Master station Local station Buffer memory Buffer memory Device Device (remote register (RWr)) (remote register (RWr)) 2E0H (736) 2E0H (736) Station Station Station Station · · · · · No.1 No.1 No.1 No.1 2E3H (739) 2E3H (739) (remote register (RWw)) (remote register (RWw))
  • Page 78: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the CPU module on the master station and set the parameters. Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the master/local module as follows.
  • Page 79 Click the [OK] button to add the module labels of the master/local module. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Required settings] Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Network Configuration Settings] Set the link refresh settings as follows.
  • Page 80 Set the supplementary cyclic settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Application Settings]  [Supplementary Cyclic Settings] Write the set parameters to the CPU module on the master station. Then reset the CPU module or power off and on the system.
  • Page 81: Setting In The Local Station

    Setting in the local station Connect the engineering tool to the CPU module on the local station and set the parameters. Set the CPU module and add the module labels of the CPU module. The setting method of the CPU module and addition method of the module label are the same as those of the master station.
  • Page 82 Set the link refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Link Refresh Settings] Set the supplementary cyclic settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Application Settings]  [Supplementary Cyclic Settings] Write the set parameters to the CPU module on the local station.
  • Page 83: Checking The Data Link Status

    Checking the data link status Check whether data link is normally performed between the master station and local station after setting parameters for both of the stations. Power on the local station, then master station to start data link. When the LEDs are in the following states, data link is being performed normally. •...
  • Page 84: Program Examples

    Program examples • Sending station: Master station (station No.0) Classification Label name Description Device Module label BT11_1.bIn_ModuleFailure Module failure BT11_1.bIn_DataLink Own station data link status BT11_1.bIn_ModuleReady Module ready BT11_1.bnSts_DataLinkError_Other[1] Data link status of other stations (station No.1) SW0080.0 Label to be defined Define global labels as shown below: Device Description...
  • Page 85 • Receiving station: Local station (station No.1) Classification Label name Description Device Module label BT11_1.bIn_ModuleFailure Module failure BT11_1.bIn_DataLink Own station data link status BT11_1.bIn_ModuleReady Module ready Label to be defined Define global labels as shown below: Device Description Module X1000 to X101D Remote input (RX0 to RX1D) RJ61BT11 (master station) Y1000 to Y101D...
  • Page 86 To assure the integrity of cyclic data in each slave station One of the following actions assures the integrity of cyclic data in each slave station. Note that data integrity is not assured across slave stations. ■Using the engineering tool Set "Station-based Block Data Assurance"...
  • Page 87 • Local station (station No.1) Master Local Send module station station module request X1000 Y1000 Y1000 Send data (W) Receive data (W) SET Y1000 X1000 X1000 RWw0 RWw0 W100 W100 Cyclic transmission Link refresh RWr0 RWr0 • Program flow  Master station (0): Turn on 'ReqSend' (M0) in the master station. ...
  • Page 88: Communication Example Using The Standby Master Function

    Communication Example Using the Standby Master Function This section describes communications using the master station duplex function of the standby master function. System configuration example The following system configuration is used to explain communications using the master station duplex function. System configuration The same system is used for the master station and standby master station.
  • Page 89: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the CPU module on the master station and set the parameters. Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the master/local module as follows.
  • Page 90 Click the [OK] button to add the module labels of the master/local module. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Required settings] Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Network Configuration Settings] Set the link refresh settings as follows.
  • Page 91 Set the supplementary cyclic settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Application Settings]  [Supplementary Cyclic Settings] Write the set parameters to the CPU module on the master station. Then reset the CPU module or power off and on the system.
  • Page 92: Settings For A Standby Master Station

    Settings for a standby master station Connect the engineering tool to the CPU module on the standby master station and set the parameters. Set the CPU module and add the module labels of the CPU module. The setting method of the CPU module and addition method of the module label are the same as those of the master station.
  • Page 93 Set the link refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Link Refresh Settings] Set the supplementary cyclic settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Application Settings]  [Supplementary Cyclic Settings] Write the set parameters to the CPU module on the standby master station.
  • Page 94: Program Example

    Program example • Master station, standby master station Classification Label name Description Device Module label RCPU.stSM.bAlways_ON Always on SM400 RCPU.stSM.bAfter_RUN1_Scan_ON Turning on for one scan after RUN SM402 RCPU.stSM.b1sClock One second clock SM412 BT11_1.bIn_ModuleFailure Module failure BT11_1.bIn_DataLink Own station data link status BT11_1.bIn_ModuleReady Module ready BT11_1.bReq_Refresh_StandbyMasterSwitching...
  • Page 95 3 PROGRAMMING 3.3 Communication Example Using the Standby Master Function...
  • Page 96 (0) Set the control start relay when the master station or standby master station is operating. (10)Turn off 'Compl_ScanWaitAfterBackUpLinkDevice' (M103). Also, clear 'NumberOfScansAfterBackUpLinkDevice' (D0). (15)After saving the RX, RY, RWr, RWw data to devices and wait a fixed number of scans, turn on 'Compl_ScanWaitAfterBackUpLinkDevice' (M103). After saving the link devices, wait a fixed number of scans and execute the processing that sets the link devices saved at master switching and 'Refresh instruction at standby master switching' (SB0001).
  • Page 97 To switch the data link control from the standby master station to the master station To switch the data link control forcibly from the standby master station to the master station, change (90) and (103) in the program as shown below: ( Page 92 Program example) ■Program for (90) ■Program for (103) 3 PROGRAMMING...
  • Page 98: Chapter 4 Troubleshooting

    TROUBLESHOOTING This chapter describes how to identify and remove the cause of an error in the master/local module. Checking with LED Start Troubleshoot the problem with reference Master station to "Troubleshooting when the RUN LED RUN on on the master station is off". When a CC-Link system is When the CC-Link system newly configured or the existing...
  • Page 99 When the RUN LED of the master station turns off Start RUN LED on Is power being supplied to the power supply module? Is the LED on the power supply module on? Supply power to the Is the CPU module power supply module.
  • Page 100: Checking The Module Status

    Checking the Module Status The following items can be checked in the "Module Diagnostics" window for the master/local module. Item Description Error Information Displays the details of the errors currently occurring. Click the [Event History] button to check the history of errors that have occurred on the CC-Link system, errors detected for each module, and operations that have been executed.
  • Page 101 Module Information List Switch to the [Module Information List] tab to check various status information of the master/local module. Item Description LED information Displays the LED status of the master/local module. Individual information Station type Displays the station type set for the module selected. Station number Displays the station number set for the module selected.
  • Page 102: Checking The System Status

    Checking the System Status Perform the CC-Link diagnostics to check the system status and error details or to perform a line test for troubleshooting. [Diagnostics]  [CC-Link Diagnostics] In a redundant system configuration of the remote head module, the CC-Link diagnostics cannot be started when the engineering tool is connected to the remote head module of the standby system.
  • Page 103 The following figure shows how to perform troubleshooting using CC-Link diagnostics. Start Troubleshoot the problem with reference to "Troubleshooting when diagnostics window the RUN LED on the master station has been started without error. is off". When a CC-Link system is When the CC-Link system newly configured or the existing has operated...
  • Page 104 Selected station information Check if the parameter status matches with the status of the connected modules. 1) Reservation setting mismatch 2) Error invalid setting mismatch When a CC-Link system is When the CC-Link system 3) Station type mismatch newly configured or the existing has operated 4) Number of occupied stations CC-Link system is changed...
  • Page 105 When a CC-Link system is When the CC-Link system newly configured or the existing has operated CC-Link system is changed L RUN LED on A1-6 Master station A1-1, A1-5, A1-7, A3-1, B1-3, B1-4 L ERR. flashing A3-4 A1-1, A1-6, A1-8, A3-2, B1-1, B1-5 A3-5 A2-5, A2-6, A2-9,...
  • Page 106 Do multiple stations repeatedly fail and recover? Faulty station type Remote I/O station Remote I/O station cyclic data failure Troubleshoot the problem with reference to Are all RY outputs "Troubleshooting by the status logging". C1-1, C2-1 disabled? C1-1, C1-2 Remote device station Remote device station cyclic data failure Does the...
  • Page 107 Diagnostics window Item Description Diagnostics Result Displays the number of errors and warnings that have occurred on the master/local module. Module list/diagnostics target Displays master/local modules. The number of errors (errors and warnings) that have occurred is also displayed. selection area The diagnostics target can be changed by clicking a module icon.
  • Page 108 Line test Check whether a Ver.1.10-compatible CC-Link dedicated cable is properly connected and data link can be performed with slave stations. Execute the test from the master station. ■Procedure Open the "CC-Link Diagnostics" window. [Diagnostics]  [CC-Link Diagnostics] Double-click "Operation Test" in "Related Functions". Select "Loop test"...
  • Page 109 ■Performing the test using parameter settings Line test can be performed using parameter settings in addition to CC-Link diagnostics. This section describes the procedure for performing using parameter settings. Check that the RUN/STOP/RESET switch of the CPU module is set to STOP. Set "Required Settings"...
  • Page 110 Checking the transmission speed setting Check that the transmission speed setting of the slave station is the same as that of the master station. The station number of the slave station having a different transmission speed setting can be also checked; therefore action to remove a transmission error can be easily taken.
  • Page 111 ■Procedure Open the "CC-Link Diagnostics" window. [Diagnostics]  [CC-Link Diagnostics] Double-click "Status Logging" in "Related Functions". Set "Time of Logging Acquisition". Enter the period for which logging is being executed. When 0 seconds is set, logging will be continued until the [Stop Logging] button is clicked or the number of logs reaches 5000. Select either "RAM"...
  • Page 112 ■Deleting logs Click the [Clear Log] button to delete logs in a master/local module If the [Clear Log] button is clicked with "RAM + Flash ROM" selected, the logs stored in the flash ROM will also be deleted. While the logs on the flash ROM are being deleted, do not power off the master/local module. ■Precautions •...
  • Page 113 Setting and canceling a temporary error invalid station Even if a data link error occurs in a slave station, the station is not detected as a faulty station in the master station and local station. This can be set even during data link, unlike the error invalid station setting function. This function is used to exchange slave stations for maintenance or for other purposes during data link.
  • Page 114: Hardware Test

    Hardware Test A master/local module is individually tested to check whether it normally operates. Procedure Connect the terminating resistor provided with the module between the DA and DB terminals on the terminal block of the master/local module. Check the following before powering on. •...
  • Page 115: Troubleshooting By Symptom

    Troubleshooting by Symptom This section describes troubleshooting method by symptom. If an error has occurred in the master/local module, identify the error cause using the engineering tool. ( Page 98 Checking the Module Status) When cyclic transmission cannot be performed Remote I/O station Problem Check item...
  • Page 116 Remote device station Problem Check item Description Check method Action Cyclic data D1-1 Refresh data Has the link refresh been correctly Check if no device overlaps with Set the devices so that they do not cannot be read/ area set? (RX, RY, RWw, RWr, SB, ones used in programs or in other overlap with ones used in written.
  • Page 117 Intelligent device station (local station) Problem Check item Description Check method Action Cyclic data E1-1 Refresh data Has the link refresh been correctly Check if no device overlaps with Set the devices so that they do not cannot be read/ area set? (RX, RY, RWw, RWr, SB, ones used in programs or in other...
  • Page 118: When Transient Transmission Cannot Be Performed

    When transient transmission cannot be performed Intelligent device station (local station) Problem Check item Description Check method Action Transient error F1-1 Refresh data Is the transient transmission Check if the correct destination is Access the correct buffer memory area (dedicated instruction) correctly accessed.
  • Page 119: When A Slave Station Is Disconnected

    When a slave station is disconnected When a system is newly configured or the system is changed Problem Check item Description Check method Action Data link A1-1 Station number Is the station number correctly set Check the station number setting. Correct the station number setting.
  • Page 120 Problem Check item Description Check method Action A station A2-1 Station number Is the station number correctly set Check the station number setting. Correct the station number setting. cannot for the faulty station? perform data A2-2 Transmission Is the transmission speed setting Check the transmission speed.
  • Page 121 Problem Check item Description Check method Action Data link A3-1 Cable or other Are cables and connectors Check cables between the master Correct the wiring. cannot be parts securely connected and do they station and slave stations. performed in meet specifications? the entire A3-2 Parameter...
  • Page 122 Problem Check item Description Check method Action A station A4-1 Cable or other Are there no disconnection, short Check cables connected to the faulty Correct the wiring. cannot parts circuit, incorrect wiring, poor station. perform data connection, and coexistence of When faulty stations occur sequentially link different cables? Do a...
  • Page 123 When the system has already operated Problem Check item Description Check method Action Data link cannot B1-1 CPU module Does the CPU module on the Check the error code of the CPU Remove the CPU module error. be performed in master station have no error? module.
  • Page 124: When Operation Error Occurs On The Master Station

    When operation error occurs on the master station Problem Check item Description Check method Action Data link cannot G1-1 Data link stop Is 'Data link stop' (SB0002) • Check the program. • Correctly set the SB area. be stopped/ turned on? •...
  • Page 125: 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 processings for data communication between master/local module and slave stations or caused by processing requests from the CPU module on the own station.
  • Page 126 Error Error details and causes Action Detailed code information B10AH A data link error has occurred on the target station Check the operation of the target station.  specified for the message transmission function.  B10CH The message transmission function is executed to a target Check the station number of the target station.
  • Page 127 Error Error details and causes Action Detailed code information B30AH • The station type differs between the mounted modules • Correct the parameter.  and parameter settings. • Set the parameters of the master station, local station, or • The mode setting is invalid in the master station, local standby master station again, and reset the CPU station, or standby master station.
  • Page 128 Error Error details and causes Action Detailed code information B384H In the station information parameter, a number other than Set the number within the range of 1H to 40H.  1H to 40H is set for a station number (including the number of occupied stations).
  • Page 129 Error Error details and causes Action Detailed code information B39DH Zero points are set for a station other than a reserved Set zero points for a reserved station.  station.  B39EH • 8 points or 16 points are set for a station other than a •...
  • Page 130 Error Error details and causes Action Detailed code information B605H The transient storage buffer data was failed to be obtained. Wait for a while and send the request again.   B606H System error Please consult your local Mitsubishi representative. B607H The CPU module on the target station is in error.
  • Page 131 Error Error details and causes Action Detailed code information B830H System error Please consult your local Mitsubishi representative.   B903H A transient request was issued to a station that had not Secure a communication buffer area using the parameter. secured a communication buffer.
  • Page 132 Error Error details and causes Action Detailed code information BBCAH Multiple standby master stations exist on the same line. • Reduce the number of standby master stations on the  same line to one. • Check the line status.  BBCBH System error Please consult your local Mitsubishi representative.
  • Page 133 Error Error details and causes Action Detailed code information BC55H With the message transmission function, an abnormal data Execute the message transmission function again. If the  was received. error occurs again, the possible cause is a failure of a master/local module or remote device station.
  • Page 134 Error Error details and causes Action Detailed code information BF11H to System error Please consult your local Mitsubishi representative.  BF1CH  BF20H System error Please consult your local Mitsubishi representative.  BF30H to System error Please consult your local Mitsubishi representative. BF37H ...
  • Page 135: List Of Event History

    List of Event History This section lists the events saved by the master/local modules. Event Event type Description Cause code 00510 System <<Own station>> Data link start Data link of the own station was started. 00511 <<Another station>> Data link start Data link of another station was started.
  • Page 136: Appendices

    APPENDICES Appendix 1 Module Labels I/O signals, buffer memory, link special relay (SB), and link special register areas (SW) of a master/local module can be set using module labels. Structure of a module label A module label consists of the following names. "Instance name"_"Module number"."Label name"...
  • Page 137: Appendix 2 I/O Signals

    Appendix 2 I/O Signals This section describes the I/O signals for the CPU module. The I/O signal assignment of when the start I/O number of the master/local module is "0" is listed below. List of I/O signals The following table lists I/O signals. The device X is an input signal from the master/local module to the CPU module. The device Y is an output signal from the CPU module to the master/local module.
  • Page 138: Details Of I/O Signals

    Details of I/O signals This appendix describes on/off timing and conditions of I/O signals. Module failure: X0 This signal indicates whether the module is normal or faulty. Off: Module normal On: Module failure Module failure (X0) Module ready (XF) Own station data link status: X1 This signal indicates the data link status of the own station.
  • Page 139: Appendix 3 Buffer Memory

    Appendix 3 Buffer Memory The buffer memory is used to exchange data between the master/local module and the CPU module. Buffer memory values are reset to default when the CPU module is reset or the system is powered off. List of buffer memory addresses When a standby master station is used, refer to the respective columns under "Availability"...
  • Page 140 Address Name Description Read/ Availability Reference write Hexadecimal Decimal Master Local station station      3000H to 3FFFH 12288 to 16383 System area 4000H to 41FFH 16384 to 16895 Ver.2- ■Master station Read   Page 149 Ver.2- compatible Stores the data input from slave compatible remote...
  • Page 141: Details Of Buffer Memory Addresses

    Details of buffer memory addresses This appendix describes buffer memory areas. Parameter information area This area stores parameter settings. Do not write data in this area. Doing so may cause an error. Address Item Description Hexadecimal Decimal  (Use prohibited) Total number of Stores the number of slave stations (including a reserved station) connected to the connected stations...
  • Page 142 Address Item Description Hexadecimal Decimal 20H (1st station) to 32 (1st station) to 95 Station information Stores the status of the station type, the number of occupied stations, and the extended 5FH (64th station) (64th station) cyclic settings specified in the module parameters for slave stations. Default: 0101H (Ver.1-compatible remote I/O station, one station occupied, and station number 1) ...
  • Page 143 Address Item Description Hexadecimal Decimal D4H to D7H 212 to 215 16-point remote I/O Stores the station number of the remote I/O station where 16 points have been set in the station setting remote I/O station points setting. When "8 Points + Empty 8 Points" has been set, the station number is stored in both 8- point remote I/O station setting and 16-point remote I/O station setting.
  • Page 144 Remote input (RX) and remote output (RY) This buffer memory area is used when the remote net Ver.1 mode, remote device net Ver.1 mode, or remote I/O net mode is selected. • In the remote net Ver.1 mode, remote device net Ver.1 mode, or remote I/O net mode, data are stored in the remote input (RX) and remote output (RY).
  • Page 145 ■Remote output (RY) For the master station, data output to slave stations are stored. For local stations, data output to the master station are stored. Data input from slave stations are also stored. Station Buffer Station Buffer Station Buffer Station Buffer Station Buffer...
  • Page 146 Remote register (RWw) and remote register (RWr) This buffer memory area is used when the remote net Ver.1 mode or remote device net Ver.1 mode is selected. • In the remote net Ver.1 mode and remote device net Ver.1 mode, data are stored in the remote register (RWr and RWw). (...
  • Page 147 ■Remote register (RWw) For the master station, data sent to slave stations are stored. For local stations, data sent to the master station are stored. Data received from slave stations are also stored. Station Buffer Station Buffer Station Buffer Station Buffer Station Buffer...
  • Page 148 Slave station offset, size information In the remote net Ver.2 mode and remote device net Ver.2 mode, the assignment of RX, RY, RWw, and RWr for each station differs depending on the extended cyclic settings and the remote I/O station points setting. ■Offset This area stores the start buffer memory addresses of RX, RY, RWw, and RWr assigned for each station.
  • Page 149 The following figure shows an example of connecting the local station with the extended cyclic settings and remote I/O stations with the remote I/O station points setting. Local station Remote I/O station Remote I/O station (station No.: 1, number of (station No.: 3, number of (station No.: 4, number of occupied stations: 2, extended...
  • Page 150 Link special relay (SB) This area stores bit (on/off) data indicating the data link status. Buffer memory addresses 5E0H to 5FFH correspond to link special relay areas SB0000 to SB01FF. The following table lists the relationship between buffer memory addresses 5E0H to 5FFH and link special relay areas SB0000 to SB01FF.
  • Page 151 Automatic update buffer This area stores data automatically updated when transient transmission (communications using the automatic update buffer) is performed with an intelligent device station. The automatic update buffer size of intelligent device stations is set in "Network Configuration Settings" under "Basic Settings". ( Page 60 Network Configuration Settings) The following figure shows an example of communications using the automatic update buffer.
  • Page 152 Ver.2-compatible remote register (RWw) and Ver.2-compatible remote register (RWr) This buffer memory area is used when the remote net Ver.2 mode or remote device net Ver.2 mode is selected. In the remote net Ver.2 mode or remote device net Ver.2 mode, data are stored in the remote register (RWr/RWw) of all slave stations (including Ver.1-compatible slave stations).
  • Page 153 Remote device station initialization procedure registration execution individual info. This area stores the execution progress of the remote device station initial setting procedure registration function. Address Remote device station initialization procedure registration execution individual information 5C80H Remote device station initialization procedure registration execution individual information (station number 1) 5C81H Remote device station initialization procedure registration execution individual information (station number 2) ...
  • Page 154: Appendix 4 List Of Link Special Relay (Sb) Areas

    Appendix 4 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 and monitoring it in the program. Application of the link special relay (SB) By using the link special relay (SB), the status of CC-Link system can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 155 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SB0007 Master station Clears a master station duplication error.    duplication error Off: Not instructed cancel request On: Instructed    SB0008 Line test request Executes a line test to the station specified by SW0008.
  • Page 156 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SB004B Temporary error invalid Stores whether the remote station temporary error invalid cancel cancel completion instruction has been completed. status Off: Not executed On: Temporary error invalid station setting canceled ...
  • Page 157 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SB0066 Number of own station Stores the number of occupied stations of the own station.    occupied stations ■1 station occupied SB0067 • SB0066: Off •...
  • Page 158 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SB007A Standby master station Stores whether the own station has ever operated as a standby master operation history of station. own station Off: Has no history of operating as a standby master station On: Has a history of operating as a standby master station ...
  • Page 159 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SB0185 Transmission speed Stores whether 'Transmission speed test request' (SB000B) has been    test acceptance status accepted. Off: Not accepted On: Accepted   ...
  • Page 160: Appendix 5 List Of Link Special Register (Sw) Areas

    Appendix 5 List of Link Special Register (SW) Areas The link special register (SW) stores the information during data link. Error locations and causes can be checked by using and monitoring the link special register (SW) in programs. Application of the link special register (SW) By using the link special register (SW), the status of CC-Link system can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 161 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SW0009 Monitoring time Sets monitoring time when dedicated instructions are used.    setting Default: 10 (seconds) (value = 0) Setting range: 1 to 360 (seconds) If a value outside the range is set, the monitoring time will be 360 seconds.
  • Page 162 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SW0058 Detailed LED Stores the details of the LED indication status. display status 0: Off 1: On b15b14b13b12b11 b8 b7 b6 b5 b4 b2 b1 b0 LINE (ERROR): A cable is disconnected or the transmission path has been affected by noise.
  • Page 163 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SW005D Forced master Stores whether the forced master switching instruction using SB000C has been    switching normally completed. instruction result 0: Normal Values other than 0:Error code ( Page 123 List of Error Codes) ...
  • Page 164 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SW0069 Installation Stores whether unique station numbers have been assigned for modules and status whether parameter settings match with connected module status. 0: Normal Values other than 0:Error code (...
  • Page 165 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SW007C Temporary error Stores whether a station is in the temporary error invalid status.    invalid status 0: Normal SW007F 1: Temporary error invalid status SW007C SW007D SW007E...
  • Page 166 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SW008C Switch change Stores whether the setting of switches of other stations during data link has been status of other changed. SW008F stations 0: No change 1: Changed SW008C...
  • Page 167 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SW009C Installation/ Stores the matching statuses such as the matching of CC-Link versions between    parameter the parameter settings and the modules on slave stations. SW009F matching status ■...
  • Page 168 Availability (: Available, : Not Name Description available) Online Offline Master Local station station    SW0144 CC-Link Ver. Stores whether a CC-Link version matches between the parameter settings and installation/ the modules on slave stations. SW0147 parameter 0: Normal matching status 1: Mismatch error SW0144...
  • Page 169 Name Description Availability (: Available, : Not available) Online Offline Master Local station station SW0164 Remote device Stores whether the remote device station initialization procedure registration has    station been completed. SW0167 initialization 0: Not completed procedure 1: Completed registration completion SW0164...
  • Page 170: Appendix 6 Dedicated Instruction

    Appendix 6 Dedicated Instruction Dedicated instructions facilitate programming for using intelligent function modules. A master/local module can perform the following operations by using dedicated instructions. • Transient transmission to a master station, local station, and intelligent device station • Module parameter settings for a master station List of dedicated instructions For details on dedicated instructions, refer to the following.
  • Page 171: Appendix 7 Processing Time

    Appendix 7 Processing Time This appendix describes data link processing time such as link scan time and transmission delay time. When all the stations in a CC-Link system are normally performing data link, the retry processing time (RT) and return processing time (F) that are included in the formulas are not required to be added.
  • Page 172 RT: Retry processing time (Only the link scan with a faulty slave station where data link is being performed is added.)  + β  (number of detected faulty stations - 1) • : Retry processing time of the first station BT ...
  • Page 173 In the remote I/O net mode LS = BT {27 + (NI  4.8) + (N  30) + (ni  4.8)} + ST + RT + F [s] BT: Constant (transmission speed) Transmission speed 156kbps 625kbps 2.5Mbps 5Mbps 10Mbps 51.2 12.8 NI: Last station number (The value should be multiples of 8.)
  • Page 174: Cyclic Transmission Delay Time

    Cyclic transmission delay time This section describes transmission delay time (time until data is transmitted). Master station  remote I/O station ■Master station (RX)  remote I/O station (input) This is the time between a signal input to a remote I/O station and the device of a CPU module turning on (off). The following table lists the calculation formulas.
  • Page 175 Master station  remote device station (Ver.1-compatible slave station) ■Master station (RX) (RWr)  remote device station (RX) (RWr) This is the time between a signal input to a remote device station and the device of a CPU module turning on (off) or the time until the data in the device of a CPU module is changed.
  • Page 176 Master station  remote device station (Ver.2-compatible slave station) ■Master station (RX) (RWr)  remote device station (RX) (RWr) This is the time between a signal input to a remote device station and the device of a CPU module turning on (off) or the time until the data in the device of a CPU module is changed.
  • Page 177 Master station  local station (Ver.1-compatible slave station) ■Master station (RX) (RWr)  local station (RY) (RWw) This is the time between the device of the CPU module in a local station turning on (off) and the device of the CPU module in a master station turning on (off).
  • Page 178 Master station  local station (Ver.2-compatible slave station) ■Master station (RX) (RWr)  local station (RY) (RWw) This is the time between the device of the CPU module in a local station turning on (off) and the device of the CPU module in a master station turning on (off).
  • Page 179: Appendix 8 How To Use Standby Master Function In Redundant System

    Appendix 8 How to Use Standby Master Function in Redundant System This section describes how to use CC-Link in a redundant system of the CPU module. The standby master function allows for continuous CC-Link communications by switching the master operating station with the program even if system switching occurs in a redundant system.
  • Page 180 Application Settings ■Supplementary Cyclic Settings Station-based block data is not assured. Even if "Station-based Block Data Assurance" is set to "Enable", any data will not be assured for each station. APPX Appendix 8 How to Use Standby Master Function in Redundant System...
  • Page 181: System Switching Operation

    System switching operation This section describes system switching operation when CC-Link is used in a redundant system. When system switching can be followed When the control system power supply module fails or a stop error occurs in the CPU module, the system and master operating station are switched to continue controlling the slave station.
  • Page 182: Communication Examples

    Precautions • When the master/local modules are simultaneously powered on in both systems, the system A (control system) will start as a master operating station. When a master/local module is powered on in a single system, a system which is powered on will start as a master operating station.
  • Page 183 Settings for a master station and standby master station Connect the engineering tool to the CPU module on 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 for the standby system.
  • Page 184 Set the master/local module for the slot No.1. Click the [OK] button to add the module labels of the master/local module. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Required setting] APPX Appendix 8 How to Use Standby Master Function in Redundant System...
  • Page 185 Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Network Configuration Settings] Set the redundant function module of the own system as the system A in the "System A/B Setting" window, and reset the CPU modules of both systems or power off and on the both systems.
  • Page 186 Program example Use the following program to follow the CC-Link control and system switching: Program Execution type Both Systems Program Executions Setting System switching following program for the Scan Both Systems Executions standby system System switching following program for the control Scan Control System Execution system...
  • Page 187 ■Refresh device Redundant system uses a program to refresh the remote input (RX), remote output (RY), and remote register (RWr, RWw). Use module parameters to make refresh settings for the link special relay (SB) and link special register (SW). Refresh device and refresh range of CC-Link used by the system (five stations are used) of this example are as follows. Change the transfer range of the CC-Link device and range of the CPU device depending on the number of systems and module type to be used.
  • Page 188 ■System switching following program for the control system APPX Appendix 8 How to Use Standby Master Function in Redundant System...
  • Page 189 (0) When the system is switched from standby system to control system by redundant system switching, turn off 'Forced master switching' (SB000C), 'EnableControlProgramExecution' (M100), and 'Compl_ScanWaitAfterBackUpLinkDevice' (M103). Also, clear 'NumberOfScansAfterBackUpLinkDevice' (D0). (7) After saving the RX, RY, RWr, RWw data to devices and wait a fixed number of scans, turn on 'Compl_ScanWaitAfterBackUpLinkDevice' (M103). After saving the link devices, wait a fixed number of scans and execute the processing that sets the link devices saved at master switching and 'Refresh instruction at standby master switching' (SB0001).
  • Page 190 ■Control processing program for CC-Link (14)Control program for CC-Link APPX Appendix 8 How to Use Standby Master Function in Redundant System...
  • Page 191: Appendix 9 When Connecting The Module To A Remote Head Module

    Appendix 9 When Connecting the Module to a Remote Head Module This section describes the restrictions and communication example for when connecting the master/local module to a remote head module. Restricted functions and specifications This section describes the restricted functions and specifications of when connecting the master/local module to a remote head module.
  • Page 192: Communication Example

    Communication example This section describes the communication example for when connecting the master/local module to a remote head module. System configuration example Model Network Station type Start I/O No. Station No. Number of occupied stations  R04CPU  RJ71GF11-T2 CC-Link IE Field Master station X/Y00 to X/Y1F Network...
  • Page 193 Link device assignment This section describes the RX, RY, RWr, or RWw assignment of program examples. • Remote net Ver.1 mode is used in this program examples. When the remote net Ver.2 mode or remote device net Ver.2 mode is used, the buffer memory addresses of storage locations vary. For the modes, refer to the MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup).
  • Page 194 ■RWr/RWw assignment R04CPU CC-Link IE Field Network CC-Link RJ71GF11-T2 RJ72GF15-T2 RJ61BT11 AJ65SBT-64AD Device Buffer memory address Station RWr, RWw Device Buffer memory address Station RWr, RWw or SB, SW Hexadecimal Decimal Hexadecimal Decimal W0 to W3 800H to 803H 2048 to 2051 RWw0 to W0 to W3 1E0H to 1E3H...
  • Page 195 Setting in the master station on CC-Link IE Field Network Connect the engineering tool to the CPU module of the master station on CC-Link IE Field Network and set parameters. Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the CC-Link IE Field Network master/local module as follows.
  • Page 196 Click the [OK] button to add the module labels of the CC-Link IE Field Network master/local module. Set the items in "Required Settings" of "Module Parameter" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Required settings] Set the network configuration as follows.
  • Page 197 Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Settings] Write the set parameters to the CPU module of the master station on CC-Link IE Field Network. Then, reset the CPU module or power off and on the system.
  • Page 198 Setting in the intelligent device station on CC-Link IE Field Network Connect the engineering tool to the remote head module of the intelligent device station on CC-Link IE Field Network and set the parameters. Set the remote head module as follows. [Project] ...
  • Page 199 Click the [OK] button. Set the items in "Required Settings" of "Module Parameter" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Module Parameter]  [Required Settings] Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Network Configuration Settings] APPX Appendix 9 When Connecting the Module to a Remote Head Module...
  • Page 200 Set the link refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Link Refresh Settings] Set the target station number of the remote device initial setting as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ61BT11]  [Basic Settings]  [Initial Settings] Double-click "No.
  • Page 201 In "Remote Device Initial Setting Procedure Registration" window, right-click the icon and click "Hexadecimal" of the "Input Format". Set the items in the initial settings as follows. Setting the initial setting executes the following processing from the first condition. Condition Description The CH.1 and CH.2 are set to the A/D conversion enable.
  • Page 202 Setting in the CC-Link remote device station Set the station number and transmission speed using the switches on the remote device station as follows. • Station number setting switch: Turning on only STATION NO.1 (station No.1) • Transmission speed setting switch: All off (156kbps) STATION NO.
  • Page 203 • Master/local module Status ERR. S MST 156K 625K 2.5M L RUN L ERR. Flashing *2 The LEDs may look dimly lit or off depending on the communication status. • AJ65SBT-64AD Status L RUN L ERR. Program example This program uses the module labels of the CC-Link IE Field Network master/local module. Write the program to the CPU module on the master station.
  • Page 204 Classification Label name Description Device Label to be defined Define global labels as shown below: APPX Appendix 9 When Connecting the Module to a Remote Head Module...
  • Page 205 APPX Appendix 9 When Connecting the Module to a Remote Head Module...
  • Page 206 (0) Check the data link status of CC-Link IE Field Network. (6) Check the data link status of CC-Link. (44), (46)Perform the CC-Link remote device station initial setting. (48), (159)Change the CC-Link remote device station initial setting. (161)Read the digital output value. (220), (326)Perform the processing when an error occurs.
  • Page 207: Appendix 10Added And Enhanced Functions

    Appendix 10 Added and Enhanced Functions The following table lists the added and enhanced functions in the master/local module. Added and enhanced function Firmware version • Communications in a redundant system using the standby master function "04" or later • Redundant system of the remote head module •...
  • Page 208: Index

    INDEX ....13 0 to 9 Intelligent function module ....29 32-bit data integrity assurance .
  • Page 209 ....148 ..153 Random access buffer Temporary error invalid acceptance status ......13,168 RDMSG Temporary error invalid cancel acceptance .
  • Page 210: Revisions

    Japanese manual number: SH-081268-D This manual confers no industrial property 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 211: 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 212: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual.
  • Page 214 SH(NA)-081270ENG-E(1804)MEE MODEL: RJ61BT11-U-OU-E MODEL CODE: 13JX19 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.