Home

Transition from Q4ARCPU to QnPRHCPU

image

Contents

1. Tracking cable 1 to 3 denotes the process up to writing 1 Execute Write to PLC SS 2 Write to control system GX Developer 3 Write to standby system 6 Copy of parameters and programs from control system to standby system After the CPU module is replaced in standby system parameters and programs can be copied from the CPU module of control system to the new CPU module by executing the transfer command from GX Developer This operation can also be done via special relays and special registers Copying parameters and programs when CPU module is replaced EET TIER Faulty CPU module GX Developer 2 Transfer directions Ethernet Standby Control system System Y 3 a 000000 0000 000000 06900690 Cop arameters and programs ELSIE LE 4 je w lt 5 a Eicon eet ie etre ICAI 0690 Tracking cable J Replacement CPU module 1 Replacing the CPU module 1 to 3 show
2. Control station OPS Normal station E 3 MELSECNET H interface board nonna eon messa Control system Normal station oJ 000090 0000 1691069 Eg ears e os TA HN Tracking cable N Control and network auto switching EJPOINT 1 Switching systems at Ethernet communication error For the Q4ARCPUs the systems do not switch even if an error occurs in Ethernet communications Only the communication stops and the CPU module continues an operation For the QnPRHCPUSs the systems can be switched by parameter setting if an error occurs in Ethernet communications 2 Identifying status of the Redundant CPUs control system standby system during Ethernet communication For the Q4ARCPUs the user must know whether the current control system is system A or system B and understand the system system A or system B in communication with the other device using special relay SM1516 For the QNPRHCPUs if an error occur
3. 4 7 4 System switching time Manual switching enable ystem A Operation is ongoing ystem Operation stops System A Syst B E dsm 592 Control m Standby 5 22 om ys em E system system 1 Process block 1 h i JE A F sl E SP CONTSW K1 1 8 2 B E 0 RUN Control i Process block 2 Tada Execute program system Standby Normal standby a ao system RUN SP CONTSW K2 2 The System Stop program ET swiching PM System switching instruction is 1 Process block 3 executed Y END System i SP CONTSW K3 M3 n switchin L 4 Begin Swit g System A End calculation System B calculating i 2 Control system Standby system gt i Standby system Control system 8 B Normal standb Standby E E J y A BY E RUN system Control RUN 8 i Stop program system Execute program E Ba 8 Tracking cable J E 4 J The Q4ARCPU and QnPRHCPU differ in system switching time and output hold time at system switching Fully check the operations The following table shows comparison on switching time Q4ARCPU QnPRHCPU Redundant extension base Remote I O network system system System switching time 300ms maximum 43ms Power OFF 300ms V 630ms Control system reset System switching time 1
4. 1 REVISIONS 8 CONTENT Geccccccccec00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 A 9 CHAPTER1 INTRODUCTION 1 1to1 12 1 4 Suggestions for Replacement from the Q4ARCPU to the QnPRHCPU 1 1 1 1 Features of 1 2 1 1 2 Precautions for replacement 1 12 CHAPTER2 COMPARISON OF REDUNDANT SYSTEMS 2 1to2 3 2 1 Comparison between Q4ARCPU and QnPRHCPU 0000000000000000000000000000000000000000000000000000000009 2 1 CHAPTER3 REPLACEMENT OF REDUNDANT SYSTEM 3 1to3 6 3 1 Alternative Models List for Redundant System 0000000000000000000000000000000000000000000000000000000000000009 3 1 3 2 Perf
5. POINT High speed system bus of the MELSEC Q series base unit allows to perform the following functions at high speed O refresh to all modules An access to intelligent function module including auto refresh Link refresh with network module 1 INTRODUCTION 3 Network configuration including redundant system a MELSECNET H PLC to PLC network and Ethernet In the case of MELSECNET H PLC to PLC network and Ethernet control standby system switching occurs and system control and network communication is continued even when a network module fails or when network cable disconnection is detected System configuration for MELSECNET H PLC to PLC network Control station Normal station OPS Normal station MELSECNET H interface board EY E s Lie ens mess MELSECNET H PLC to PLC network Control system Standby system Normal station Normal station Tracking cable Normal station 000090 Li 61569
6. 4 E 11 4 4 1 Redundant system operation mode 0000000000000000000000000000000000000000000000000000000000000000000000 4 11 4 4 2 Changing redundant system operation mode 900000000000000000000000000000000000000000000000000000000 4 12 4 5 Deciding Control System Standby System at Simultaneous Power ON ee ee eee 14 4 6 Operation Mode Setting at CPU Start up 0 00000000000000000000000000000000000000000000000000000000000000000000 4 16 4 6 1 Operation mode for the QnPRHQOCPU 4 16 4 6 2 Operation settings screen for the 4 17 47 System Switching Method between Control System and Standby System eee eee eee 4 18 4 7 1 Comparison of system Switching CAUSES ecccccccc000000000000000000000000000000000000000000000000000090 4 18 4 7 2 Operation mode setting at CPU Switching 0000000000000000000000000000000000000000000000000000000000000 4 18 4 7 3 User switching 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 4 19 4 7 4 System switching time 0 00000000000000000000000
7. System Select Separate mode ees ees Tracking cable GX Developer 1 When changing from the backup mode to the separate mode the RUN LED of the standby system CPU module will flash and the control will be in a stop status 4 42 4 CONFIGURATION OF REDUNDANT SYSTEM b Change from separate mode to backup mode Operation in separate mode BACKUP ON amber BACKUP ON amber Control system Standby system 0 90 08901 Tracking cable Redundant operation Backup mode change operation Connection target information Connection interface COM1 lt gt PLC module Target PLE Stationno PLC ype Q25PRH GX Developer Change to backup mode PLC status RUN System type Control system Operation mode Separate mode
8. Backup mode Tracking cable An error occurred in the BA control system System A End calculation System B Begin calculating Control system Standby system Standby system Control system inn 00000 000000 029 069 5 Tracking cable The separate mode is for maintenance program modification replacing the module mounted on the main base unit etc without stopping control In the separate mode different programs can be run in the control system and standby system CPU modules The debug mode is for performing a debug using a single system prior to redundant system operation No need to connect the tracking cable to perform the operation An error will not occur if the tracking cable is not connected Separate mode Debug mode 4 11 4 CONFIGURATION OF REDUNDANT SYSTEM S 4 4 2 Changing redundant system operation mode 2 types of redundant system operation mode change are available Change from backup mode to separate mode Change from separate mode to backup mode The Q4ARCPU changes the operation mode with s
9. D Tracking cable MELSECNET H remot network Remote I O Remote I O Remote I O station station station o 1 INTRODUCTION c PROFIBUS DP When the PROFIBUS DP master module detects a fault or communication failure with slave stations the both systems are switched so that the communications can be continued System configuration for PROFIBUS DP Control system Standby system Tracking cable Bus terminator Bus terminator onononon 00000056 onononon onononon onoaonon onononon DP Slave DP Slave Control Standby system An error has system New standby beon deleeted N
10. Special Data stored by user or system x O O register Data that determines whether the rise and Signal flow memory fall instructions will be executed or not in x O x sequence programs SFC information Data used to execute SFC O x PID Control instruction PID control data specified by PIDINIT and y information S PIDINIT instructions 1 Auto transfer enabled x Auto transfer disabled 2 Setting change enabled x Setting change disabled 3 Tracking transfer enabled Tracking transfer disabled 4 The device range set by default will be transferred 4 24 4 CONFIGURATION OF REDUNDANT SYSTEM 4 9 2 Setting tracking data of the QNPRHCPU This section shows the Tracking settings screen for the QnPRHCPU on GX Developer Version 8 Tracking settings screen Redundant parameter Operation settings Tracking device settings Internal device block setting gt Internal devices include and other internal devices Signal flow memory tracking setting f No tracking All tracking device capacity K word C Do tracking Device total increases 16K word Device detail settings Tracking block No fi Device range settings Device total Maximum 100K K word File register file settings L Co EJ Y Tracking characteristics setting Synchronized tracking mode T ake more scan time Program priority mode 4 9 3 Tracking transfer
11. Compatible A Partial change required Not compatible Description Explanation Stores the operation information of another system CPU module in the following format I stored when an error occurs in communications with another system or when in debug mode b15 to b8 b7tob4 b3to b0 SD1650 0 rii 0 No error 1 Continuation error 2 Stop error F Communication with Another Another system other system system SD1650 operating disabled operating 5 j information information 0 RUN Communication 2 STOP with another 3 PAUSE system disabled F Communication with debug mode other system disabled Note A communication error is caused by the following QnPRHCPU New When the power supply is off or when the another system is reset Hardware failure error occurs on either of own system or another system Watchdog timer error occurs in either Tracking cable is not connected Tracking cable is disconnected or faulty Stores another system network module which a system switching request was issued using the following format Turns off automatically by system after network error is reset by user Each bit bed SD1690 E afi TON module head Network module TON address which head address Module 0 CPU module is requested which requested invalid as it is 2 SD1690 NW slot model system System switching Modu
12. The QnPRHCPU does not have this function Review the program SD1650 of the QnPRHCPU can monitor the CPU status in another System Review the program 1 Stores another system CPU module diagnostic information and system information 6 4 6 SPECIAL REGISTERS Compatible A Partial change required x Not compatible Corresponding Compati Prec ons for CPU bility replacement Number Description Explanation error is detected by the error check for redundant system the corresponding bit shown below turns ON That bit turns OFF when the error is cleared after that Each bit b15 b2 b1 b0 0 OFF SD1600 Fixed to 0 1 cable is disconnected or faulty b Power OFF reset watchdog timer error or hardware failure occurred in another system SD1600 System error System error Another system stop error information information except watchdog timer error gt Bit turns on when failing to connect with another system The following causes are shown below Tracking hardware failure Host system watchdog timer error Cannot recognize another system therefore causing error If any of bO b1 b2 and b15 is ON the other bits are all OFF Inthe debug mode bO b1 b2 and b15 are all OFF Stores the reasons for system switching Stores system switching cause into SD1601 of bot
13. have the step a Step run m Asc peus ps x run function Consider debugging a executio scent program with GX Simulator F Executes a program with skipping Skip execution n specified part The QnPRHCPU does not have this Program trace function Collects the program execution status function p 2 Simulates a program with I O module and The QnPRHCPU does not have this Simulation function EN intelligent function module disconnected function Watches for operation delay due to CPU Watchdog timer p y O O module hardware or program error The CPU module itself diagnoses for Self diagnostics function O O errors Stores the diagnostic results in a memo Error history id O as error history Sets whether to allow reading from writin System protection 9 O O c to files in CPU module o 5 Disables a peripheral to operate CPU Keyword registration PU P O 2 module memory 8 The QnPRHCPU differs operation 7 Allows replacement of I O modules while Refer to Q Corresponding MELSECNET H Online module replacement ui O A is CPU module is in RUN Network System Reference Manual Remote I O network Monitors system configuration on a System display 2 O peripheral Indicates the operating status of CPU LED indication 9 O module LED indicator ITE Consider installing external indicator since Indication of Displays
14. Precautions for Number Description Explanation ponding replacement Switching Request For the request source request source at work No when the SM1590 is Q4ARCPU QnPRHCPUs network No network No a bit of the corresponding module Stores head address of network module which a system Sa number turns Switching request was initiated Turns off automatically by system after network error is reset ON if system by user Switching Network Network T is Each bit cause occurs to to 0 0FF SD1590 modulehead module head on m onl 0 TON from the address address MELSECNET i Module 0 CPU module is invalid which which as it is 2 slot model QnPRHCPU H module or requested requested Module 1 Module on the right Ethernet side of the CPU module system system to module anhi anhi Module11 Module at the switching switching rightmost end of the regardless of 12 slot base Q312B whether the switching Please refer to SD1690 which stores the corresponding head succeeds address of network module on another system Review the program owed ee S h No db CPU Stores the memory copy target o standby system EM copy target copy target module 3D1H of before SM1595 is turned from OFF to ON number number Stores the memory copy status 0 Memory copy successfully completed QnPRHCPU New Memory Memory 4241H Standby system power supply off SD1596 copy copy e 4242u Trac
15. Compatible A Partial change required Not compatible Number Description Explanation Precautions for D1512 Operation mode during CPU module start up Hot start switch power out time Shows the power out time S during the automatic switch from hot start to initial start in the operation mode when the CPU module is started up Q4ARCPU replacement The QnPRHCPU always starts with hot start mode independent of power failure time Review the program SD1585 Redundant system LED status 4 LED states BACKUP CONTROL SYSTEMA SYSTEMB The LED status for BACKUP CONTROL SYSTEM A SYSTEM B is stored in the following format b15to b10b9 b8 b7 b6 b5 b4 b3 b2to bO 0 0 1 1 0 1 1 0 Off 1 On red 2 Flash red SYSTEMB 0 Off 1 On 2 Flash 5 On orange yellow 6 Flash orange yellow 3 On green 4 Flash green SYSTEMA 0 Off 1 On 2 Flash CONTROL 0 Off 1 QnPRHCPU New SD1588 System switching cause System Switching cause that occurred in host station Stores the system switching cause on the host system The following values are stored corresponding to the methods for system switching cause Initialized to 0 when the power supply is switched off and then on or the RESET switch is set to the RESET position and then to the neutral position 0 Initial value control system ha
16. 250x 79 5x 121 mm 9 84 3 13 4 76 inch 98x 55 2 89 3 mm 3 86 x 2 17 x 3 52 inch 3 REPLACEMENT OF REDUNDANT SYSTEM 3 3 Functional Comparison between Q4ARCPU and QnPRHCPU Redundant system function O Available A Although available specifications such as setting method partially differs x Not available Function Description Q4ARCPU QnPRHCPU Remarks GOT connection Connection type of GOT O A MA al ED 2 External output at CPU External output method at CPU module The QnPRHCPU differs in output terminal module failure failure Sets the operation mode when operating a redundant system Backup mode Redundant system operation Enables control switching from control The QnPRHCPU differs in change method mode system to standby system of operation mode refer to Section 4 4 Separate mode Disables control switching from control system to standby system Sets the control system when system A and system B are simultaneously powered ON In QnPRHCPU redundant system system Start mode at simultaneous Previous control system latch mode A always becomes the control system power ON Starts with the previous control system A To start with previous control system refer System A fixed mode to Section 4 5 Always starts with system A Sets the device status when the CPU module starts up Operation mode setting at Initial start The QnPRHCPU diffe
17. stations have limit for the maximum number of parameters that can be set with GX Configurator as intelligent function modules The maximum number of parameter settings for initialization settings lt 512 The maximum number of parameter settings for auto refresh setting 256 4 For details of connection type of GOT refer to Section 4 2 2 COMPARISON OF REDUNDANT SYSTEMS System configuration Programming tool Program Debug function Item Mounting I O module or QnPRHCPU redundant system Disabled Slot 1 becomes I O number 0 Q4ARCPU redundant system Mount I O modules and network modules on slots 1 Enabled network module on slot 0 and later 16 character LED indicator j Not available self diagnostic error Self diagnostic error information and comments etc Available information and comments are displayed can be confirmed using GX Developer Manual system switching System switching by the System switching instructions or redundant operation of GX Developer System switching using switches of bus switching module A6RAF Manual operation mode switching Operation mode change by redundant operation of GX Developer Operation mode change using switches of bus switching module A6RAF External output at CPU module failure Output using ERR contact of power supply module Output using CPU ALARM WDT contacts of system control module
18. 3 REPLACEMENT OF REDUNDANT SYSTEM REPLACEMENT OF REDUNDANT SYSTEM 3 1 Alternative Models List for Redundant System Q series alternative Discontinued model model Remarks restrictions 1 I O control Refresh only Refresh only 2 Processing speed LD instruction 0 075 y s 0 034 us 3 PC MIX value 3 8 10 3 4 Number of I O points 4096 points 4096 points 5 Program capacity 124k steps 124k steps Q12PRHCPU 252k steps Q25PRHCPU Q12PRHCPU CPU module Q4ARCPU 6 Number of file register points 1014k points 1014k points Q25PRHCPU 7 Number of extension stages 7 7 stages 8 Number of mountable memory cards 2 1 9 Memory card SRAM capacity MAX 2M bytes x 2 cards 2M bytes x 1 card 10 I O module connection method Proximal I O extension cable Proximal I O extension cable or MELSECNET H remote network 5 1 Main base unit 1 2 dedicated base unit standard base unit Main base unit A32RB A33RB Q38B Q312B 2 Number of I O slots 2 slots The number of slots on base unit used 1 Q65WRB 1 Connectable only to the first extension stage Extension base unit A68RB Q68RB 1 Connectable to the second or later extension stages A61RP Q64RP No restrictions Power supply module A67RP Q63RP Input power supply 100VDC 24VDC 1 When using external output at CPU module failu
19. Remains on even if returns to normal thereafter OFF No self Turns on when an error occurs in the self diagnostic Self diagnostic diagnostics error SM1601 results SM1600 to SM1616 error ON Self diagnostic Remains on even if returns to normal thereafter of the error are equivalent to H Q4ARCPU OFF idv error A 1610051856 Syngas ommon error information urns on wi E ere is common error information an of the QnPRHCPU information ON Common error the SM1600 is on Review the program information OFF No individual SM1616 Individual error error information Turns on when there is individual error information and information ON Individual error the SM1600 is on information exists OFF Turns on when an error occurs during redundant nother system No error SM1600 y system Error check Turns on single bit of SD1600 error flag ON Error Is off when no errors are present Turns on when a diagnostic error occurs in another SM1610 Another system OFF No error system Includes error detection when annunciator is diagnostic error ON Error ON and by CHK instruction Corresponds to status of SMO at another system OFF No self Turns on when a self diagnostic error occurs in another Another system diagnostic error System SM1611 self diagnostic occurred Dose not include error detection when annunciator is error ON Self diagnostic ON and by CHK
20. 090 900006000000000000000000000060000090000000090000000090000000090009009909 b Precautions on fixed scan clock and fixed scan execution type programs Fixed scan clock SM409 to SM415 SM420 to SM424 Fixed scan execution type program e Interrupt by the internal timer 128 to 131 Interrupt from network module Interrupt during tracking transfer processing c Precautions for using annunciator F in redundant system d Precautions at system switching occurrence Precautions regarding access to intelligent function module and external device Precautions regarding timer Precautions regarding writing data from the GOT and external device etc e Precautions of programming when connecting extension base unit Precautions for using PX Developer Functions applicable in GX Developer and PX Developer Tracking device setting Availability of interrupt pointer POINT This handbook does not cover all precautions For details of precautions refer to the following manual gt QnPRHCPU User s Manual Redundant System 4 CONFIGURATION OF REDUNDANT SYSTEM 4 1 3 Restrictions on remote I O station This section explains restrictions on the MELSECNET H remote I O station on redundant system 1 Support for intelligent function module a Buffer memory access Use the REMFR REMTO instruction for buffer memory access of intelligent function module The FROM TO instruction and intelligent function module devic
21. For details of parameter settings for the Q4ARCPU and QnPRHCPU refer to the manuals of each CPU 4 CONFIGURATION OF REDUNDANT SYSTEM CONFIGURATION OF REDUNDANT SYSTEM 4 1 System Configuration 4 1 1 System configuration diagram When replacing the Q4ARCPUs configuring redundant system with the QnPRHCPUS employ the combination of main base unit and extension base unit or main base unit and MELSECNET H remote 1 Configuration example with the Q4ARCPUs umen eem Redundancy Standby system Power supply module Network module System control module Redundant main base unit CP A33RB A32RB U module Bus switching module Special function module Output module Input module Redundant power extension base unit Redundant power supply module A68RB 4 CONFIGURATION OF REDUNDANT SYSTEM 2 Configuration example with the QNPRHCPUs a Main base unit Extension base unit CPU module Control system Standby system Power supply module Main base unit Q33B Q35B Q38B Q312B Extension cable Redundant extension base unit Q65WRB Power supply module Extension cable Redundant power extension base unit Power supply module Network module CPU module Power supply module Redundantly powered remote I O station Input module Output module
22. If a system switching occurs during online program change the CPU module on new control system may output old data The latest operation result is output since tracking transfer is performed during online program change If a system switching occurs during online program change old data are not output At power ON from OFF the control system or resetting the CPU module on control system and then releasing the reset status Turning ON OFF the external output continues according to the forced ON OFF information of the CPU module on new control system At power ON from OFF the standby system or resetting the CPU module on standby system and then releasing the reset status Turning ON OFF the external output continues according to the forced ON OFF information of the CPU module on control system Separate mode At power ON from OFF the control system or resetting the CPU module on control system and then releasing the reset status Modules on the main base unit The external output changes according to device Y Modules on the remote I O station At power OFF reset The output status when the control system is powered OFF or the CPU module on control system is reset is held At power ON releasing the reset status The external output changes according to device Y At power ON from OFF the standby system or resetting the CPU module on standby system and then releasing the reset status Turning ON OFF the external output
23. x x MELSECNET H module cannot be mounted on the extension base unit MELSECNET 10 PLC to PLC network CC Link connection O Bus connection O x CPU direct x O MELSECNET H remote Connection station Computer link 1 O O connection Ethernet connection x Bus connection x x Md x x The MELSECNET 10 cannot be connected since it is not MELSECNET 10 remote connection compatible with the Redundant CPU I O station Computer link T x connection Ethernet connection x x Connectable X Not connectable Remarks oo ecco Some GOT models cannot be connected For the restrictions when the GOT is used in the redundant system refer to the following manual gt GT Designer2 Version2 Screen Design Manual 6 60 0 0 6 0 0 0 O0 0 0 0 0 0 0 O O O O O0 O O0 O0 O O O O O O O 0 O 0 O O0 O O O O 0 0 4 9 4 CONFIGURATION OF REDUNDANT SYSTEM 4 3 External Output The following table shows the external output of QnPRHCPU redundant system Redundant CPU status Description on external output Normal operation Output according to the operation result of a program At online program change At power ON from OFF the control system standby system or resetting the CPU module on control system standby system and then releasing the reset status SM1710 is OFF default SM1710 2 is ON Backup mode
24. 1 1 Features of QNPRHCPU 1 Redundant configuration of basic system As a redundant system consists two basic systems i e two sets of CPU modules power supply modules main base units network module etc one of the basic systems controls the whole system while the other one performs backup Data of the CPU module performing control is transferred to the backup CPU module in order to make the data consistent This enables the backup system to take over the redundant system control after the control system goes down and system switching occurs Redundant configuration of basic system Control system Network module CPU module Power supply Standby system Continues control with device data that were used for control system Tracking cable 1 INTRODUCTION 2 Connection of extension base unit In the redundant system where the Redundant CPUs whose first five digits of serial number is 09012 or higher is used in both systems the extension base unit can be connected System to which extension base unit is connected Control system Standby system p j eere errare 06910690 Tracking cable Extension cable Q65WRB
25. 63 SM1583 SM1583 Block 64 For the QnPRHCPUs SM1590 turns ON if system switching Turns ON when switching could not be executed Switching status OFF Normal cause occurs from from the network Switching normally Inthe nelwoncmodule detected sedie MELSECNET H fault and issued a switching request to the host CPU module unsuccessful module or Ethernet module module regardless SM1590 of whether the switching succeeds Review the program OFF System switching System switching request issuing Turns ON when a system switching request is issued enable disable module absent from the network module The module No that issued ay aps SR QnPRHCPU New flag from network ON System switching System switching can be checked by SD1590 module request issuing Turns OFF when all bits of SD1590 are OFF module present ON Erroris not This flag is used to determine if the new standby system detected by new detects an error STANDBY error code 6210 during Standby system standby system at system switching SM1591 error detection system switching This applies to the following switching methods disable flag at OFF Error is detected System switching from GX Developer system switching by new standby System switching using the System switching system at system instruction QnPRHCPU New Switching System switching request from network module E DFE Disable manual T
26. AS92R Q6PU Not available Available SW _ IVD GPPQ Not available Available GX Developer Available Reter to Section 4 13 MX Links Not available MX Monitor Substituted with MX Component PC side application Available MX Chart program correction necessary Connection port Restrictions on instructions RS 232 USB Restricted reter to Section 4 14 RS422 RS 232 RS 422 converter Special relay Some special relays are different 5 Special register Some special registers are different 5 A series compatible special Not available Must be changed to a special relay available for Available relay SM1000 and later 5 QnPRHCPU Not available A series compatible special Y Must be changed to a special register available for Available register SD1000 and later 5 QnPRHCPU Number of steps The number of steps for some instructions are different Low speed execution type Not available Available program Status latch Not available Available Program trace Not available Available Not available Simulation Available Use the function with Simulator Sequence Not available p program Use the function with GX Simulator Available execution SFC program Not available For details refer to the following manual lt gt QCPU User s Manual Hardware Settings Maintenance and Inspection 2 3
27. DE Online Online When writing data to the control system CPU operation program module online they are also written to the from change for same program file in standby system CPU O redundancy module Pairing Sets the combination of networks to configure For the QnPRHCPU set this with MELSECNET redundant system parameters refer to Section 4 10 Ho redundant Sets the operation mode of network module O A Forthe edd ecl set this with ES parameters refer to Section 4 11 A For the QnPRHCPU set this with GX Buffer memory auto refresh om menos forinteligent function Configurator compatible with intelligent function module refer to Section 4 12 3 4 3 REPLACEMENT OF REDUNDANT SYSTEM Function O Available A Although available specifications such as setting method partially differs x Not available Description Peripheral software package to create Q4ARCPU QnPRHCPU Remarks The QnPRHCPU differs in programming LED indicator Programming tool programs and set parameters of CPU O A tool and connection type refer to Section module 4 13 The QnPRHCPU has some unsupported 5 Can use instructions such as the Useful y Instruction instructions refer to Sections 4 14 and instruction 4 15 5 A program that is executed during spare D The QnPRHCPU d
28. Flash ATA Number of mountable cards 1 Standard ROM and standard RAM for user memory are equipped with Number of mountable cards 2 the Q series Number of Q12PRHCPU 124 Maximum 124 steps step Q25PRHCPU 252K capacit Number of 124 124 files Number of I O device points 8192 X YO to 1FFF point Number of points point 4096 X YO to FFF Internal relay M point 8192 by default MO to 8191 Latch relay L point 8192 by default LO to 8191 Link relay B point 8192 by default BO to 1FFF Timer T point 2048 by default TO to 2047 Used for both high speed timer and low speed timer changeable The low and high speed timers are specified by the instructions The measurement unit of the low and high speed timers is set up by parameters Low speed timer 10 to 1000ms 10ms unit 100ms by default High speed timer 1 to 100ms 1ms unit 10ms by default Low speed timer 1 to 1000ms 1ms unit 100ms by default High speed timer 0 1 to 100ms 0 1ms unit 10ms by default Retentive timer ST point 0 by default Others are the same as Timer T Counter C point Normal counter 1024 by default CO to 1023 Interrupt counter Maximum 48 Normal counter 1024 by default CO to 1023 Interrupt counter Maximum 256 0 by default set it with parameter Number of device poi
29. SM1724 Block13 GAARCPUS 4 Turns ON only during SM1725 SM1725 Block14 4 one scan when the SM1726 SM1726 Block15 transfer of the SM1727 SM1727 Block16 corresponding data SM1728 sdb SM1728 Block17 is completed SMIT28 Transfer trigger completed SM1729 Block18 Q4ARCPU 4 complete flag Transfer QnPRHCPU SM1730 SM1730 Block19 lt In the case of e completed SM1731 SM1731 Block20 QnPRHCPU gt SM1732 SM1732 Block21 Tums ON only during SM1733 SM1733 Block22 sean when ihe transfer of the SM1734 SM1734 Block23 LI corresponding block SM1735 SM1735 Block24 is completed SM1736 SM1736 Block25 SM1737 SM1737 Block26 SM1738 SM1738 Block27 SM1739 SM1739 Block28 SM1740 SM1740 Block29 SM1741 SM1741 Block30 SM1742 SM1742 Block31 SM1743 SM1743 Block32 SM1744 SM1744 Block33 SM1745 SM1745 Block34 SM1746 SM1746 Block35 5 SPECIAL RELAYS Compatible A Partial change required X Not compatible Corresponding Number Description Explanation SM1747 SM1747 Block36 SM1748 SM1748 Block37 SM1749 SM1749 Block38 SM1750 SM1750 Block39 SM1751 SM1751 Block40 SM1752 SM1752 Block41 SM1753 SM1753 Block42 SM1754 SM1754 Block43 SM1755 SM1755 Block44 sin the case of SM1756 SM1756 Block45 ene 4 Turns
30. Start No 0010 Module model name 0644D Module side Module side Tesis PLC side E Setting item Buffer size Transfer Device word count CH1 Digital output value 2 Digital output value CH3 Digital output value CH4 Digital output value CH1 Maximum value CH2 Maximum value CH2 Minimum value CH3 Maximum value D Make text file End setup 4 29 4 CONFIGURATION OF REDUNDANT SYSTEM 4 13 Programming Tool The connection type for programming tool of the QNPRHCPU differs from that of the Q4ARCPU The following table shows comparison on the programming tools and connection ports Item Q4ARCPU QnPRHCPU Remarks SW _ IVD GPPQ E Available Not available Use GX Developer Available Supporting the MELSECNET H remote Programming Available station SW8D5C GPPW E Version SW _ D5C GPPW E tool SW2D5C GPPW E 8 17T or later GX Developer F or later Supporting the extension base unit SW8D5C GPPW E Version 45X or later RS 232 cable QC30R2 and USB cable RS 232 are necessary Connection port RS422 USB RS 232 cable QC30R2 and USB cable are necessary 4 14 Restrictions on Instructions The QnPRHCPU cannot use the following instructions Instruction symbol Instruction Name ae Instruction Name symbol LED LED indication of ASCII code PR Print ASCII code LEDC LED display of comments PRC Print comments SLT
31. The user switching switches a system manually during system operation Two types of the user switching are available system switching with GX Developer and system switching with the System switching instruction SP CONTSW instruction The user switching is performed for the CPU module on control system 1 System switching with GX Developer When switching a system with GX Developer the system switching is performed at END processing Perform system switching with GX Developer by the following procedure 1 Turn ON enable the Manual switching enable flag SM1592 2 Perform system switching with the online redundant operation System switching operation by GX Developer Redundant operation System ype Chera cpsiaion mode C Meno Ep s f Dosssion mode c Inside EE GE Edun lemon poges statue System A Operation is ongoing Control system mum 4 19 E gt Execute system switching operation on the control system GX Developer End calculation System A Control system Standby system 8 B Bl System B Operation stops Standby system mm Tracking cable System switching System B
32. continues according to the forced ON OFF information of the CPU module on control system External output at CPU module failure 1 Output from the ERR terminal of the power supply module SM1710 Whether device memory tracking transfer is performed or not during online program change for redundancy ON Device memory tracking transfer is not performed OFF Device memory tracking transfer is performed 4 CONFIGURATION OF REDUNDANT SYSTEM 4 4 Redundant System Operation Mode 4 4 1 Redundant system operation mode The Q4ARCPU uses the backup mode and separate mode as operation mode meanwhile the QnPRHCPU can use the debug mode in additon to these modes Operation mode for the Overview QnPRHCPUs The backup mode is for normal operation of redundant system If a fault or failure occurs in the control system the standby system takes over the control and continues the system operation To enable the standby system to continue the system operation when the control system goes down the data of the control system must be continuously transferred to the standby system through the tracking cable System A Operation is ongoing System B control standby System 4 system Operation stops 000000 0000 Li C 61569
33. damage or erroneous operation The module has an ingress prevention label on its top to prevent foreign matter such as wire offcuts from entering the module during wiring Do not peel this label during wiring Before starting system operation be sure to peel this label because of heat dissipation Install our programmable controller in a control panel for use Wire the main power supply to the power supply module installed in a control panel through a distribution terminal block Furthermore the wiring and replacement of a power supply module have to be performed by a maintenance worker who acquainted with shock protection QCPU User s Manual Hardware Design Maintenance and Inspection Startup and Maintenance Precautions Do not touch the terminals while power is on Doing so could cause shock or erroneous operation Correctly connect the battery Also do not charge disassemble heat place in fire short circuit or solder the battery Mishandling of battery can cause overheating or cracks which could result in injury and fires Switch off all phases of the external supply power used in the system when cleaning the module or retightening the terminal or module mounting screws Not doing so could result in electric shock Undertightening of terminal screws can cause a short circuit or malfunction Overtightening of screws can cause damages to the screws and or the module resulting in fallout short circuits or malfu
34. ee ee eee eee eene eene aeneo nose osos esso so sosossosss 4 14 Restrictions on Instructions e eseeeeeeeeeeeeeee esee eese eese sse esesesesesssssesesssseesesesesessesessese 30 4 15 Compatibility of the Process PID Control Instructions eeeeeee eee ee eee 31 CHAPTER5 SPECIAL RELAYS 5 1to5 9 CHAPTER6 SPECIAL REGISTERS 6 1to6 8 APPENDICES App 1 to App 3 Appendix 1 Related Manuals 0 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 App 1 Appendix 1 1 Transition from MELSEC A QnA Large type series to Q series handbook App 1 Appendix 1 2 Q4ARCPU 090909000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0 App 1 Appendix 1 3 QnPRHCPU 090900000000000000000000000000000000000000000000000000000000000000000000000000000000000000 App 2 10 Z z o 2 a nc 2 qm INTRODUCTION q o c O O 5 o vc 25 m 2 4 lt lt ie de o c amp 14 A I c A c is Before replacement Configuration example with the Q4ARCPUs After replacement Configuration example with the QnPRHCPUs 1 1 INTRODUCTION 1
35. short circuited load flows in the output module for a long time it may cause smoke or fire To prevent this configure an external safety circuit such as fuse Build a circuit that turns on the external supply power when the programmable controller main module power is turned on If the external power supply is turned on first it could result in erroneous output or erroneous operation When there are communication problems with the data link refer to the corresponding data link manual for the operating status of each station Not doing so could result in erroneous output or erroneous operation When connecting a peripheral device to the CPU module or connecting a personal computer or the like to the intelligent function module to exercise control data change on the running programmable controller configure up an interlock circuit in the sequence program to ensure that the whole system will always operate safely Also before exercising other control program change operating status change status control on the running programmable controller read the manual carefully and fully confirm safety Especially for the above control on the remote programmable controller from an external device an immediate action may not be taken for programmable controller trouble due to a data communication fault In addition to configuring up the interlock circuit in the sequence program corrective and other actions to be taken as a system for the occurr
36. time Fully check operations as the QnPRHCPU and Q4ARCPU differ in tracking transfer time The following table shows comparison on the tracking transfer time Item QnPRHCPU redundant system Q4ARCPU redundant system Internal device When 48k words is set Internal device When 48k words is set Synchronized tracking mode 41 ms 7 Tracking transfer tim Sg Batch transfer mode 68 4 ms Program priority mode 21 ms 1 Repeat mode 34 2 ms A 1 Q4ARCPU repeat mode results in program priority mode on QnPRHCPU 4 25 4 CONFIGURATION OF REDUNDANT SYSTEM h 4 10 MELSECNET 10 H Pairing Setting The Q4ARCPU makes the MELSECNET 10 H pairing setting with the J PAIRSET instruction meanwhile the QnPRHCPU makes it with common parameters for control station 1 Setting for continuing data link by transferring the own station when a system is switched in redundant system POINT 1 For precautions when configuring MELSECNET H system in redundant system composed of the QnPRHCPUS refer to the following manual 57 Corresponding MELSECNET H Network System Reference Manual PLC to PLC network 2 For MELSECNET H module used for redundant system composed of the QnPRHCPUS use the module of function version D or later An example of pairing setting using system configuration example below is explained 1 System configuration example Confirm that the network modules to which pairing setting are mode are connec
37. 00000000000000000000000000000000000000000000000000000000000000 4 20 4 8 Output Hold Specification at Stop Error 0000000000000000000000000000000000000000000000000000000000000000000000 4 21 A 9 4 8 1 Output mode at QnPRHCPU C TO ecececc0000000000000000000000000000000000000000000000000000000000000000 4 21 4 8 2 Output operation from remote I O station during an Error 21 4 8 3 Output mode setting during QnPRHCPU 90ce0c000000000000000000000000000000000000000000000000009 4 22 4 9 Tracking Redundant System 0 00000000000000000000000000000000000000000000000000000000000000000000000000000000000 4 23 4 9 1 Tracking transfer setting data of the QnPRHCPU 09000000000000000000000000000000000000000000000000000 4 24 4 9 2 Setting tracking data of the QnPRHCPU 000000000000000000000000000000000000000000000000000000000000000 4 25 4 9 3 Tracking transfer time 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 4 25 4 10 MELSECNET 10 H Pairing eee eee ee ee eee ee e e rn rn rn eere renes eee eese esee eeeeeeeeee 4 26 4 11 MELSECNET H Redundant Settings eee eee ee ee ee ee eee n n rn 4 28 4 12 Buffer Memory Batch Refresh eee eee eene neenon eee nene sooo nosse os eese sesso eese esee eese eese eeeeeeeeee A _ 29 4 13 Programming Too eee
38. 4 _ 4 Enables system switching when the network 3 501690 HO SET SHI592 module in the system B starts normally Executes the System switching instruction when SP GONTSW a 5004 the network module the system B starts normally CJ P101 Jumps the processing to P101 with the System switching instruction 25 COM 1 Enables communications with GX Developer others SM1519 261 4 SD412 D400 D401 1 Calculates the subroutine Program which program executing time waits 10 seconds for the network lt 0401 K10 NDT Resets the watchdog timer module startup in the system B Continues the jumps to P100 GJ P100 until the SD401 value becomes 10 10 seconds P101 1 Ends the subroutine program 4 14 4 CONFIGURATION OF REDUNDANT SYSTEM 1 Special relays and special registers used in the program example Number Name Description When the previous control system was system B it turns on for Previous control system identify SM1519 fla one scan at simultaneously powering on system A system B or 9 calceling the reset after operating in RUN in system A PR This flag enables system switching by the user from GX Developer SM1592 Manual switching enable flag aaa or by System switching instruction SP CONTSW The number of counts in units of 1 second SD412 1 second counter After the CPU module is in RUN status 1 is added to each second 01690 System switching
39. 8 2 Output operation from remote I O station during an error This section explains output operation when an error occurs in the QnPRHCPU or remote station 1 Operation when an error occurs in the Redundant CPU remote master station Settings of operation mode for error occurrence Redundant CPU Data link operation of MELSECNET H Output operation from remote Redundant control status remote I O network station Sto Stops control Depends on the output mode hold Stop 18 P All stations stop data link P Continue stop error clear settings for error occurrence Stop Continues control Continue 7 All station continue data link All stations output normally Continue continuation error 2 Operation when an error occurs in remote I O station Settings of operation mode for error occurrence Redundant CPU Data link operation of MELSECNET H Redundant control status remote I O network emote I O station Sto Stops control Stop i All stations stop data link Continue stop error The faulty station is disconnected from Continues the system Stop control The other stations continue normal continuation data link error Continue All stations continue data link 4 21 Output operation from remote station Depends on the output mode hold clear settings for error occurrence The output of the
40. Begin calculating Standby system Control system omom 0590 290 GX Developer Tracking cable J RUN Execute program System switching requested by GX Developer Normal Standby RUN Stop program System A ISystem B 1 1 i 1 Control system Standby system 1 i y END System i itching 1 vi Standby system Control i system 1 1 2 Normal Standby RUN Stop program RUN f Execute program 4 CONFIGURATION OF REDUNDANT SYSTEM 2 System switching with the System switching instruction SP CONTSW instruction When executing the System switching instruction in the CPU module on control system the system Switching is performed at END processing after execution of the instruction Perform system switching with the System switching instruction by the following procedure 1 Turn ON enable the Manual switching enable flag SM1592 2 Turn ON the executing condition for the System switching instruction and execute the System switching instruction System switching operation by the System switching instruction
41. D1613 occurrence time Also stores the value to SD1 to SD3 of CPU module on another system ime Another system Stores the category code corresponding to the common error information SD1614 error Error information individual error information code of another system information category code Data format is the same as 04 category Also stores the value to SD4 of CPU module on another system SD1615 Another system C mmor emor Stores the common error information of another system to common error Data composition is the same as SD5 to SD15 SD1625 information information Also stores the value to SD5 to SD15 of CPU module on another system SD1626 Another system Stores the individual error information of another system fa Individual error Data composition is the same as SD16 to SD26 information Also stores the value to SD16 to SD26 of CPU module on another SD1636 information system Stores the error code of the error to be cleared by clearing a standby system error Standby system Error code of Stores the error code of the error to be cleared into this register and turn 01649 emor cancel SM1649 from OFF to ON to clear the standby system error The value in the lowest digit 1 place of the error code is ignored when command cleared stored into this register By storing 4100 in this register and resetting the error errors 4100 to 4109 can be cleared 6 5 6 SPECIAL REGISTERS
42. MITSUBISHI Mitsubishi Programmable Controller Transition of CPUs in MELSEC Redundant System Handbook Transition from Q4ARCPU to QnPRHCPU SAFETY PRECAUTIONS Always read these instructions before using this equipment Before using this product please read this handbook and the relevant manuals introduced in this handbook carefully and pay full attention to safety to handle the product correctly In this manual the safety instructions are ranked as DANGER and CAUTION D DANGER Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in medium or slight personal injury or physical damage mmm Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please save this handbook to make it accessible when required and always forward it to the end user Design Precautions Install a safety circuit external to the programmable controller that keeps the entire system safe even when there are problems with the external power supply or the programmable controller Otherwise trouble could result from erroneous output or erroneous operation 1 Outside the programmable controller construct mechanical damag
43. ON only during SM1757 SM1757 Block46 ELLO one scan when the SM1758 SM1758 Block47 transfer of the SM1759 m i SM1759 Block48 corresponding data SM1760 b SM1760 Block49 is completed 5 1761_ Transfer trigger completed SM1761 Block50 Q4ARCPU complete flag ON Transfer QnPRHCPU SM1762 SM1762 Block51 In the case of completed SM1763 SM1763 Block52 QnPRHCPU gt SM1764 SM1764 Block53 Turns ON only during SM1765 SM1765 Block54 one sean wnenithe transfer of the SM1766 SM1766 Block55 jd corresponding block SM1767 SM1767 Block56 is completed SM1768 SM1768 Block57 SM1769 SM1769 Block58 SM1770 SM1770 Block59 SM1771 SM1771 Block60 SM1772 SM1772 Block61 SM1773 SM1773 Block62 SM1774 SM1774 Block63 SM1775 SM1775 Block64 5 8 5 SPECIAL RELAYS 5 Redundant power supply module information Number Description Compatible A Partial change required Explanation Corresponding CPU X Not compatible Precautions for replacement OFF No redundant power supply module with input Turns ON when one or more redundant power supply power suplly OFF M detected modules with input power supply OFF are detected Power supply off Turns on if any of SD1780 bits is on SM1780 ON Redundant power d QnPRHCPU New detection flag supply module Turns off if all bits of SD1780 are off PPY Turns OFF when t
44. Receive data lt 2 4 2 1 gt 02004 Station number 4 Station number 4 Station number 4 Host station Receive data Receive data Receive data send range 4 2 2 02 lt 1 The send range for the redundant system is sent from the control system CPU of station number 1 or 2 2 Station numbers 1 and 2 receive data from another station 3 The data sent from station number 1 of the control system CPU to another station are tracking transferred to the standby system CPU as tracking device data 4 27 4 CONFIGURATION OF REDUNDANT SYSTEM 4 11 MELSECNET H Redundant Settings The Q4ARCPU makes the redundant settings with the rotary switch of data link module meanwhile the QnPRHCPU makes it with parameters 1 Setting for the operation mode of network module mounted on system B in redundant system Set the operation mode of system B when using the redundant system as backup to the same mode as system A The following shows the Redundant settings screen when the QnPRHCPU is set on GX Developer Version 8 Network parameter setting screen Redundant settings screen Redundant settings Network type MNET H mode Control station Starting 1 0 No 0000 Network No Network type MNET H mode Control station Start 120 No 0000 EN Mode System On line Network range assignment SSS ue Refresh parameters ue Interrupt settings i Fret as cont station g
45. Redundant power supply module Intelligent function module 4 2 4 CONFIGURATION OF REDUNDANT SYSTEM 4 1 2 Precautions for replacement of redundant system 1 System configuration precautions a b c d 1 12 3 System A System B configuration Set up system A and system B so that they will be configured the same Modules that can be mounted on a main base unit The I O modules used independently by the network module and system A or system B CPU module can be mounted on the same main base unit as a redundant CPU is mounted modules and intelligent function modules used to control a redundant system must be mounted on MELSECNET H remote I O station or extension base unit Remote I O stations remote device stations and intelligent device stations can be used by mounting CC Link master modules on a main base unit or extension base unit Modules that cannot be mounted to extension base unit e CC Link IE controller network module e MELSECNET H module Ethernet module function version B or earlier Web server module first five digits of serial number is 09011 or lower MES interface module first five digits of serial number is 09011 or lower Interrupt module e PROFIBUS DP Slave Module e PROFIBUS DP Interface Module e PROFIBUS DP Master Module Modules where the number of mountable modules is restricted The following table shows the modules that are restricted on the number of moun
46. Remote operation Memory copy progress status System switching Change operation mode S his BACKUP 2 ON green BACKUP 1 ON green Cose Control system Standby system 9 Operation in backup mode Select Backup mode 50690 69050690 069020690 069 Tracking cable GX Developer Remarks SEE The operation mode can be changed from the separate mode to backup mode by either of the following methods Simultaneously power ON system A and system B Simultaneously switch the CPU modules in system A and system B to RESET c Precautions For details of precautions refer to the following manual 5 QnPRHCPU User s Manual Redundant System 4 13 4 CONFIGURATION OF REDUNDANT SYSTEM E 4 5 Deciding Control System Standby System at Simultaneous Power ON The Q4ARCPU decides the control system with simultaneous power ON start mode setting switch of bus switching module meanwhile the QNPRHCPU always fixes it to system For the QnPRHCPU even when the both systems temporarily power OFF due to a power failure while system B is operating as the control system system A starts as th
47. S extension base unit QA1865B QA1868B QA65B QA68B Extension base unit with QA conversion adapter QAGADP A6 f Interrupt pointer to a module mounted on extension B QA6ADP A5 nit B Any interrupt pointer caused by an interrupt from an intelligent function modules on extension base unit cannot be used 4 4 4 CONFIGURATION OF REDUNDANT SYSTEM g Accessing another station via extension base unit by MC protocol Some commands cannot be used depending on the setting at Transfer setup The following table shows the availability of connection on each command of MC protocol Functi Transfer setup Control Standby Not Command name System System system system specified Batch read O O O O O Batch write O O O O O Random read O O Test random write O O O O O Device memory Monitor data registration x x x O O Monitor x x x O O Multiple blocks batch read O O O O Multiple blocks batch write O O O O O Intelligent function Batch read O O O O O module Batch write O O O O Remote RUN O O O O Remote STOP O O O O O Programmable Remote PAUSE O O O O O controller CPU Remote latch clear O Remote RESET CPU model read Directory file information read x x x O O Directory file information search x x x O New file creation x x x O O File deletion x x
48. Status latch set KEY Numerical key input SLTR Status latch reset UDCNT1 Up down counter STRA Sampling trace set UDCNT2 Up down counter STRAR Sampling trace reset TTMR Teaching timer PTRAEXE P Program trace execution STMR Special function timer PTRA Program trace set ROTC Shortest direction control instruction PTRAR Program trace reset RAMP Ramp signal instruction MSG Message displayed on peripherals SPD Pulse density measurement PKEY Key input from a peripheral PLSY Pulse output RFRP Read from remote station special function module PWM Pulse width modulation RTOP Write to remote station special function module MTR Matrix input 4 30 4 CONFIGURATION OF REDUNDANT SYSTEM 4 15 Compatibility of the Process PID Control Instructions The Process PID control instructions of the Q4ARCPU are the same operation style and are compatible with those of the QnPRHCPU therefore they do not require modification The following table shows comparison on the Process PID control instructions The instruction is available X The instruction is not available Item Q4ARCPU QnPRHCPU Complete 4 ee O O PID control differentiation instruction Incomplete 4 m x differentiation Application PID instruction O 12 Process control instruction O 1 Refer to QCPU Q Mode QnACPU Programming Manual PID Control Instructions 2 Refer to QnPHCPU QnPRHCPU Programming Manual Process Control Instructi
49. U Programming Manual Application PID Edition 1B 66695 13JF52 12 MELSECNET B Data Link System Reference IB 66350 13JF70 App 1 APPENDICES Appendix 1 3 QnPRHCPU No Manual name Manual nunber code 1 MELSEC Q Catalog L 08033E 2 MELSEC Q Data Book L 08029E 3 QCPU User s Manual Hardware Design Maintenance and Inspection SH 080483ENG 13JP73 4 QCPU User s Manual Function Explanation Program Fundamentals SH 080484ENG 13JP74 5 QCPU Q Mode QnACPU Programming Manual Common Instructions SH 080039 13JF58 6 QCPU Q Mode QnACPU Programming Manual PID Control SH 080040 13JF59 Instructions 7 QCPU Q Mode QnACPU Programming Manual SFC SH 080041 13JF60 8 QCPU Q Mode Programming Manual MELSAP L SH 080076 13JF61 9 QnPHCPU QnPRHCPU Programming Manual SH 080316E 13JF67 Process Control Instructions 10 QCPU Q Mode Programming Manual Structured Text SH 080366E 13JF68 Q Corresponding MELSECNET H Network System Reference Manual 11 PLC to PLC network SH 080049 13JF92 42 Q Corresponding MELSECNET H Network System Reference Manual SH 080124 13JF96 Remote I O network App 2 APPENDICES Memo App 3 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 produ
50. a message in case of an error O x the QnPRHCPU does not have the LED indication function 3 REPLACEMENT OF REDUNDANT SYSTEM Available A Although available specifications such as setting method partially differs x Not available Function Description Q4ARCPU QnPRHCPU Remarks Executes a program at fixed intervals Constant scan ee regardless of the program scan time Retains device data at power OFF or reset Latch function P operation Sets the status of output Y when the CPU Output status setting when module is switched from STOP to RUN Re switching from STOP to RUN output of the outputs before STOP output after operation Clock function Runs the internal clock of CPU module F Remote Operates stops CPU module by remote RUN STOP control Remote Performs a step operation to CPU module by x The QnPRHCPU does not have the STEP 5 STEP RUN remote control RUN function 5 Remote Suspends CPU module operation by remote Remote PAUSE P d operation control Remote RESET Resets CPU module by remote control Remote latch Clears CPU module latch data by remote O O clear control Monitors the access intervals for special d function modules network modules and Module access interval time d peripherals time taken from the acceptance O O rea of CPU module access to the acceptance of the next access
51. able controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Ethernet is a registered trademark of Xerox Co Ltd in the United States Other company and product names herein are either trademarks or registered trademarks of their respective owners L NA 08117ENG A Mitsubishi Programmable Controller s MITSUBISHI ELECTRIC CORPORATION 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 handbook does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice L NA 08117ENG A 0801 MEE
52. acement 3 Canceling online module replacement 2 Online module replacement 1 to 3 indicate procedures for online module replacement GX Developer Module for replacement 1 INTRODUCTION 9 System status can be monitored The operating status of the whole redundant system can be monitored using the System Monitor of GX Developer System Monitor on GX Developer Control system Standby system coos System Monitor Installed status Base 3 Base Module MasterPLC gt Powe Q25PRH QJ61 rsu System BT Control system 25 N ne GX Developer Backup mode Sent Son Standby system Tracking cal Parameter status Mode Too Address 20 40 System monitor 1121314 C Online module change Intelli Intelli Intelli None gent gent gent Diagnostics 32pt 32pt 1 amp pt Module s Detailed Information Base Information Product Inf List Status Bl Module E Module error Module warning Deta
53. and QnPRHCPU redundant systems Item Tracking transfer time QnPRHCPU redundant system Internal device When 48k words is set Synchronized tracking mode 41 ms uL Q4ARCPU redundant system Internal device When 48k words is set Performance Batch transfer mode 68 4 ms Program Priority Mode 21 ms 1 Repeat mode 34 2 ms a System switching time 2 300ms A series module Not available Available QnA series module Not available Available Applicable Can be set only for modules mounted on the R extension base unit Not available Performed using FROM TO CC Link auto refresh setting Maximum 8 modules can be mounted on main base unit instruction and extension base unit in total lt lt First five digits of serial number is 09011 or lower gt gt System 11 modules main base unit only configuration Modules not used for redunfant system are mounted Maximum number of modules mountable on main extension base unit to MELECNET H remote station Number of mountable modules on remote station 64 modules per station lt lt First five digits of serial number is 09012 or higher gt gt maximum 63 modules Main base unit extension base unit 7 stages 58 modules main base unit extension base unit 7 stages 1 Q4ARCPU repeat mode results in program priority mode on QnPRHCPU 2 Calculate the system switching time Tsw using the following expression For detail
54. artial change required Not compatible Explanation Corresponding Compati Precautions for replacement Set the basic period 1 second units use for the Process control SD1500 i i i i i ra cg Basic period Basic period time instruction using floating point data Floating point data SD1501 SD1500 Process control Process control instruction Shows the detailed error contents for the error that occurred in the SD1502 instruction detail detail error Process control instruction error code code Process control Process control 01503 instruction instruction Shows the error process block that occurred in the Process control Q4ARCPU generated error generated error instruction location location QnPRHCPU SD1506 SD1507 Dummy device Dummy device Used to specify dummy devices by a Process control instruction bo Select whether to enable each function with the Process control Bumpless instruction Process control wien instructi switching function b15 b14 to b2 b1 b0 instruction SD1508 of PIDP control SD1508 0 0 0 jo function t s lection 0 Enable Enable disable of 1 Disable bumpless switching default 0 function of PIDP control 6 SPECIAL REGISTERS 3 For redundant system host system CPU information SD1510 to SD1599 are only valid for redundant system They are all set to 0 for stand alone systems
55. ates the redundant power supply module mounted on the POWER 2 slot of the redundant base unit Q38RB Q68RB Q65WRB 5 9 6 SPECIAL REGISTERS SPECIAL REGISTERS When replacing the Q4ARCPUs with the QnPRHCPUS by Change PLC type on GX Developer the special registers are converted into the same numbers However some special registers are not compatible with the Q4ARCPU or QnPRHCPU When using the incompatible special registers review the program and correct it if necessarily 1 Redundant CPU information own system CPU information Number Description Compatible A Partial change required Not compatible Explanation Corresponding Compati Precautions for replacement History of memory copy Latest status of memory copy Stores the completion status of the memory copy from control system to standby system executed last 1 Stores the same value as stored into SD1596 at normal completion abnormal completion of the memory copy from control SD952 from control from control system to standby system QnPRHCPU New system to system to standby 2 Backed up for a power failure this special register holds the status standby system system of memory copy from control system to standby system executed last 3 Cleared to 0 by latch clear operation 1 The host system CPU information is stored 2 Process control instructions Number Description Compatible A P
56. by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Rega
57. ct within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product
58. de i 1 The information of the host CPU module is stored 5 1 5 SPECIAL RELAYS Description Compatible A Partial change required X Not compatible Explanation Corresponding CPU Compass Precautions for replacement Operation mode at OFF Initial start Turns on when the operation mode is hot start when The QnPRHCPU does not have this SM1514 CPU module the CPU module operation is switched for a redundant Q4ARCPU x ed ON Hot start function switching system Review the program The QnPRHCPU is not compatible with OFF Output t i i this relay si th SM1515 Output hold mode utput Turns on when the output mode during a stop error is x is relay since ON Output hold output hold operation mode is Q4ARCPU set with parameters Review the program SM1516 Operation system OFF Control system Turns on when the CPU module operation system status ON Standby system status is the standby system SM1515 Control system Indicates operation system status identify flag The flag status does not change even if the tracking cable is disconnected Control Standby When TRK CABLE ERR system system error code 6120 occurs Unknown QnPRHCPU New SM1516 Standby system identify flag SM1515 ON OFF OFF SM1516 OFF ON OFF Turns on when the CPU mod
59. e cannot be used or specify auto refresh of intelligent function module remote station with GX Configurator b Dedicated instruction and interrupt pointer The dedicated instruction and interrupt pointer cannot be used for intelligent function module c Ethernet module The e mail function communications by fixed buffer FTP server function and Web server function cannot be used for Ethernet module 2 Modules that cannot be mounted on the remote I O station The following modules cannot be mounted on the remote I O station a MELSECNET H module b Interrupt module c Web server module 4 1 4 refresh delay time The following table shows the refresh delay time Device Q4ARCPU QnPRHCPU X 2 sequence scans 3 sequence scans Y 1 sequence scan 1 sequence scan 9ms 1 1 The time with the following conditions 1 The number of remote I O stations QnPRHCPU redundant system is 1 2 4096 points are assigned to LX and LY for each 4 1 5 Comparison between the FROM TO instruction and REMFR REMTO instruction The following table shows comparison between the FROM TO instruction and REMFR REMTO instruction Q4ARCPU QnPRHCPU _ 2 Cyclic communication FROM TO instruction REMFR REMTO instruction Intelligent function module parameter Condition 1000 words 960 words 544 words number of points Writing to buffer memory 4 19ms 3 sequence scans 1 sequence scan 20ms Reading fr
60. e control system after the both systems are powered ON again To start with system B which is previous control system as the control system create a program using special relay Previous control system identify flag SM1519 However when mounting a network module on the main base unit or extension base unit create an interlock circuit as shown on the following program before executing the SP CONTSW instruction If battery error occurs in either system and device data cannot be held the operation cannot be guaranteed The following shows a program example Check that the network module has started and create a program that executes the SP CONTSW instruction as shown below System configuration when MELSECNET H module or Ethernet module is mounted on the main base unit System A System B Col Colm J 1e Sete stem o Tracking cable Program example 0 E CALL P100 Makes the subroutine program P100 execute when the previous control system is the system B GOEND Jumps the processing to the END instruction by executing the System switching instruction 1 4 User program 6 FEND Ends the main routine program P100 SH1519 4 Stores the value of SD412 at subroutine program Tt 50412 0400 4 execution to 0400
61. e preventing interlock circuits such as emergency stop protective circuits positioning upper and lower limits switches and interlocking forward reverse operations When the programmable controller detects the following problems it will stop calculation and turn off all output in the case of a In the case of b it will hold or turn off all output according to the parameter setting Q series module A series module a The power supply module has over current protection equipment and over Output OFF Output OFF voltage protection equipment b The CPU module self diagnosis functions Hold or turn off all output such as the watchdog timer error detect according to the Output OFF problems parameter setting In addition all output will be turned on when there are problems that the programmable controller CPU cannot detect such as in the I O controller Build a fail safe circuit exterior to the programmable controller that will make sure the equipment operates safely at such times Refer to LOADING AND INSTALLATION in QCPU User s Manual Hardware Design Maintenance and Inspection for example fail safe circuits Output could be left on or off when there is trouble in the outputs module relay or transistor So build an external monitoring circuit that will monitor any single outputs that could cause serious trouble Design Precautions When overcurrent which exceeds the rating or caused by
62. edundant system tracking Description Either the backup mode or the separate mode is valid for SM1700 to SM1799 All is turned off for stand alone system Compatible A Partial change required X Not compatible Explanation Corresponding Precautions for replacement SM1600 of the OFF E ti t an QnPRHCPU judges Tracking execution possible Turns on when tracking can be normally executed Q4ARCPU x whether another flag ON Execution system is error possible SM1700 Review the program OFF Transfer not Transfer trigger completed Turns on for one scan once transfer of block 1 to block complete flag ON Transfer 64 is completed completed 1 Turning this relay from OFF to ON enables user switching during online program change for redundancy After the user switching disable status is canceled the system automatically turns off SM1709 User switching ON User switching 2 System switching due to any of the following disable enable enabled causes is executed even during online program SM1709 setting during Disable change for redundancy regardless of the status of online program canceled this relay change for OFF User switching Power off reset hardware failure CPU stop error redundancy disabled 3 In either of the following statuses the system switching disable status can also be canceled by this relay Multiple block online program change for QnPRHCPU New redundancy i
63. ence of a data communication fault should be predetermined between the external device and programmable controller CPU NCAUTION Do not bunch the control wires or communication cables with the main circuit or power wires or install them close to each other They should be installed 100 mm 3 94 inch or more from each other Not doing so could result in noise that would cause erroneous operation When controlling items like lamp load heater or solenoid valve using an output module large current approximately ten times greater than that present in normal circumstances may flow when the output is turned OFF to ON Take measures such as replacing the module with one having sufficient rated current Installation Precautions NCAUTION Use the programmable controller in an environment that meets the general specifications contained in QCPU User s Manual Hardware Design Maintenance and Inspection Using this programmable controller in an environment outside the range of the general specifications could result in electric shock fire erroneous operation and damage to or deterioration of the product While pressing the installation lever located at the bottom of module insert the module fixing tab into the fixing hole in the base unit until it stops Then securely mount the module with the fixing hole as a supporting point Incorrect loading of the module can cause a malfunction failure or drop When using the pr
64. eparate mode switch of bus switching module meanwhile the QnPRHCPU sets it with GX Developer The following shows the setting method for the QNPRHCPU 1 Changing the operation mode GX Developer Version8 The operation mode change is performed in the control system CPU module by the redundant operation a Change from backup mode to separate mode Operation in backup mode BACKUP LJ ON green BACKUP ON green Control system Standby system eas ees 0690 6905 Tracking cable Separate mode change operation Redundant operation Connection target information Connection interface COM1 lt gt PLE module Target PLC Station no Host PLE type Q25PRH Change to separate mode PLC status RUN System type Control system Operation mode Backup mode GX Deve lope r Remote operation Memory copy progress status RM BACKUPEZI ON amber Change operation mode ERE gt 1 s Operation in separate mode Flashing BACKUP amber sio uc RE y E Control system
65. ew control system system 10 4 E Bus terminator Tracking cable Bus terminator 0 88 DP Slave 4 Redundant system settings using parameters Redundant system settings such as tracking settings network pairing setting etc can be made easily in the parameter settings of GX Developer 3 POINT Starting the Redundant CPUs to which network parameters are set 1 When using the Q4ARCPUs since parameters are written to system A and system B individually the CPU module to which parameters of the control station on the MELSECNET 10 are written system A or system B must be started first 2 When using the QnPRHCPUS since common parameters are written to system and system considering the system system A system B is unnecessary Both systems can be used as a start up system 1 intRobuCTION lt 5 Writing parameters and programs to control system and standby system without the need to identify each system Parameters and programs can be written into both of control system and standby system using GX Developer There is no need to identify each system Writing to the control system and standby system by Write to PLC Control system Standby system m 000000 06900690 GEE 0 0690 ears tie ener 169120691
66. faulty station follows the hold clear setting in the error time output mode Stations other than faulty station output normally All stations output normally 4 CONFIGURATION OF REDUNDANT SYSTEM 4 8 3 Output mode setting during QnPRHCPU error This section shows the screens for setting Error time output mode for the QNPRHCPU on GX Developer Version 8 assignment screen MNET 10H Remote 1 0 station parameter PLC system PLC RAS Operational settings 1 0 assignment 1 0 Assignment esot EUN ERI gt Switch setting met X E X EE ea Output Ov40P 16points x a Output 9740 1 amp points Assigning the 1 0 address is not necessary as the CPU does it automatically Leaving this setting blank will not cause an error to occur Standard setting Base mode aaa zz C Detail _ xt Base3 8 Slot Default paBaed O 12 Slot Default Ext Read PLC data Acknowledge assignment Default Check End Cancel Detailed setting screen Intelligent function module detailed setting Set either Hold or Clear at Error time output mode to each module 4 22 4 CONFIGURATION OF REDUNDANT SYSTEM 4 9 Tracking Redundant System The Q4ARCPU makes the redundant system tracking setting with the S TRUCK instruction meanwhile the QnPRHCPU makes it with parameters 1 Setting for keeping t
67. gt SM1524 SM1524 Block 5 When data is 1525 SM1525 Block 6 transferred by the data tracking SM19526 Poder instruction S TRUCK SM1527 SM1527 Block 8 the target block is SM1528 SM1528 Block 9 specified as trigger SM1529 SM1529 Block 10 In the case of SM1530 SM1530 Block 11 QnPRHCPU gt SM1531 SM1531 Block 12 When data is SM1532 SM1532 Block 13 based on oan Data trackin ne tracking settings SM1533 t nes g OFF No trigger SM1533 Block 14 of the redundant Q4ARCPU transfer trigger SM1534 T ON Trigger SM1534 Block 15 parameter dialog box QnPRHCPU mE he target block is SM1535 SM1535 Block 16 specified as trigger SM1536 SM1536 Block 17 SM1537 SM1537 Block 18 When Do auto orward Tracking SM1538 SM1538 Block 19 block No 1 is SM1539 SM1539 Block 20 enabled in the lorc EPI racking settings SM1540 SM1540 Block 21 SM1520 is turned ON SM1541 SM1541 Block 22 by the system at SM1542 SM1542 Block 23 power ONISTOR to EL RUN In other cases SM1543 SM1543 Block 24 SM1520 to SM1583 SM1544 SM1544 Block 25 are turned ON by the user SM1545 SM1545 Block 26 SM1546 SM1546 Block 27 SM1547 SM1547 Block 28 5 2 5 SPECIAL RELAYS Compatible A Partial change required X Not compatible Precautions for Description Ex
68. h systems when system switching occurs Initialized to 0 at power OFF to ON reset to unreset The following shows values stored into this register System System switching 0 Initial value System switching has not occurred SD1601 1 Power OFF reset hardware failure watchdog timer error switching result results 2 Sto H p error except watchdog timer error 3 System switching request from network module 16 System switching instruction 17 System switching request from GX Developer When the system is switched by the power OFF reset of the control New system 1 is not stored into 01601 of the new standby system Stores the parameters for system switching dedicated instruction SP CONTSW System System switching The parameters 01602 for the SP CONTSW instruction are stored in 61602 Switching instruction both systems instruction SD1602is only valid when 16 System switching instruction is stored in parameter 01601 This 501602 is updated once the System switching instruction SP CONTSW is activated 01610 Another system Diagnostic error An error code of the error ocurred at another system sorted in BIN code diagnostic error code Stores SDO of the another system CPU module switching SD1611 Another system 01612 diagnostic error Diagnostic error Stores the date and time when an error ocurred at another system i Data format is the same as SD1 to SD3 S
69. he data in control system and standby system same so that the standby system can continue the operation in case of system down of the control system The QnPRHCPU can perform tracking transfer without setting since tracking transfer setting data are set at default Tracking transfer can be executed in either backup mode or separate mode Control system Standby system eer Det 069051 19915 Tracking cable During END processing default set data is tracking transferred S POINT Tracking the QnPRHCPU 1 Tracking transfer cannot be performed in the following situations a The tracking cable is disconnected or is a failure TRK DISCONNECT error code 6130 Make sure the tracking cable is connected or replace the cable b If the following malfunctions occur on the standby system e Standby system power supply is off A stop error occurs on the standby system CPU module The standby system CPU module is resetting Tracking transfer can be performed if reset is canceled in standby system CPU module 2 Set the following devices as tracking devices Device that makes auto refresh setting to the intelligent function module on the extension base unit with GX Configurator Device that makes auto refresh setting to the CC Link master module on
70. he main base unit is not the Wiin inputipower dundant main base unit Q38RB redun b supply OFF detected OFF No faulty Turns ON when one or more faulty redundant power redundant power supply modules are detected Power supply supply module T if f SD1781 bits i urns on if any its is on SM1781 failure detection detected z QnPRHCPU New Turns off if all bits of SD1781 are off flag ON Faulty redundant Turns OFF when the main base unit is not the power supply redundant main base unit Q38RB module detected Momentary power Turns ON when a momentary power failure of the input SM1782 failure detection power supply to the power supply 1 or 2 is detected flag for power one or more times After turning ON remains ON even supply 1 1 if the power supply recovers from the momentary OFF No momentary power failure power failure Turns OFF the flag SM1782 SM1783 of the power detected QnPRHCPU New Momentary power supply 1 2 when the CPU module starts 3 ON Momentary power SM1783 failure detection failure detected When the input power supply to one of the redundant flag for power power supply modules turns OFF the corresponding supply 2 1 flag turns OFF Turns OFF when the main base unit is not the redundant main base unit Q38RB 1 power supply 1 indicates the redundant power supply module mounted on the POWER 1 slot of the redundant base unit Q38RB Q68RB Q65WRB The power supply 2 indic
71. his flag enables system switching by the user from GX Manual switching switching i SM1592 enable fla ON manual Developer or by the System switching instruction 9 abu SP CONTSW switching 5 3 5 SPECIAL RELAYS Description Compatible A Partial change required X Not compatible Explanation Corresponding CPU Precautions fo Compatibility replacement Setting to access extension base unit OFF Error Sets the operation for the case accessing buffer memory of the intelligent function module mounted on the extension base unit from the standby system CPU in separate mode OFF OPERATION ERROR error code 4112 will be returned when accessing buffer memory of the 1 SURES of standby system ON Ignored intelligent function module on the extension base ner New CPU unit from the standby system CPU ON No processing is performed when accessing buffer memory of intelligent function module on the extension base unit from the standby system CPU When SM1595 is turned from OFF to ON memory Memory copy from OFF start copy from control system to standby system starts control system to Note that when SM1595 is turned from OFF to ON SM1595 request standby system ON Copi not started memory copy does not start if the I O No of the copy start flag destination standby system CPU module 301 is not stored in SD1595 Memory co
72. iled inf of power supply Module change in connected system Stop monitor Close 1 10 1 intRobuCTION E 10 Compact redundant system The space of control panel can be saved as Q series modules other than the CPU module redundant power supply module and tracking cable are applicable 11 Flexible layout The layout can be changed flexibly because the main base unit is divided into two units for the control System and standby system Horizontal arrangement of control system and standby system Control system Standby system Tracking cable Vertical arrangement of control system and standby system Control system Wanna a E Tracking cable POINT For details and precautions of redundant system with the QnPRHCPUS refer to the following manual gt QnPRHCPU User s Manual Redundant System 1 11 1 INTRODUCTION 1 1 2 Precautions for replacement a Before replacing the redundant system from the Q4ARCPUs with the QnPRHCPU always refer to the related manuals of the QnPRHCPU for checking the functions specifications and usage b After replacement of the redundant system always check operations of the entire system before actual operation 1 12 2 COMPARISON OF REDUNDANT SYSTEMS COMPARISON OF REDUNDANT SYSTEMS 2 1 Comparison between Q4ARCPU and QnPRHCPU The following table shows the comparison between the Q4ARCPU
73. instruction error occurred Corresponds to status of SM1 at another system i OFF No common T en there inf i t nother system Turns on when there is common error information ai information QnPRHCPU New SM1615 common error another system ON Common information Corresponds to status of SM5 at another system information exists OFF No individual error information mI Another system t Turns on when there is individual error information at resen SM1626 indivisual error another system ON Individual error infomation 1 Corresponds to status of SM16 at another system information present By turning this relay from OFF to ON the continuation OFF to ON error that occurred in the standby system CPU module Standby system SM1649 Cancels error of can be canceled cancel error flag standby system Use SD1649 to specify the error code of the error to be canceled SM1653 STOP contact STOP status Turns on when in the STOP status SD1650 of the QnPRHCPU can monitor the CPU SM1654 PAUSE contact PAUSE status Turns on when in the PAUSE status status in another system Q4ARCPU Review the program The QnPRHCPU does not have the SM1655 STEP RUN contact STEP RUN status Turns on when in the STEP RUN status x STEP RUN function Review the program 1 Stores another system CPU diagnostic information and system information 5 5 5 SPECIAL RELAYS 4 For r
74. king cable is disconnected or is damaged status status 6 5 4247 Memory copy function is being executed 4248 Unsupported memory copy destination I O Number 6 SPECIAL REGISTERS 4 For redundant system another system CPU information Number SD1600 to SD1650 is only valid during the backup mode for redundant system and refresh cannot be done when in the separate mode SD1651 to SD1699 are valid in either the backup mode or separate mode When a stand alone system SD1600 to SD1699 are all 0 Description Compatible A Partial change required Not compatible Explanation Corresponding Compati Precautions for Stores as BIN code the error code of the error that occurred during the Di ti Di ti SD1600 uini TIENE another system CPU module diagnostics emor No Stores the latest error currently occurring Diagnostic SD1600 stores the updated date and time SD1602 error Diagnostic error Stores each of the BCD two digits occurrence occurrence time Refer to SD1 to SD3 for the storage status SD1603 time SD1 8SD1601 SD2 8SD1602 SD3 SD1603 Error Error Stores the common error information individual error information SD1604 information information classification code category category Refer to 04 for the storage status SD1605 SD1606 SD1607 SD1608 601609 Stores the common information for the error code Common Common er
75. l register SD 2048 SDO to 2047 point Function input FX 5 to 4 16 to F point Function output FY 5 FYO to 4 16 FYO to F point Function register 5 FDO to 4 FD point Device for accessing the link device directly Specification format JOO XOO JOOWOO JOO WWOO JOO BOO JOO Swoo Link direct device JOO SBOoO Only for MELSECNET 10 Only for MELSECNET H Special function module direct device Latch power failure compensation range Device for accessing the buffer memory of the intelligent function module directly Specification format UO O co 0 LO to 8191 default Latch range can be set for B F V T ST C D and W Remote RUN PAUSE contact One point can be set up in to 1FFF for each of RUN PAUSE contact Clock function Year month day hour minute second and day of the week Accuracy 2 3 to 4 4s TYP 1 8s d at 0 C Accuracy 1 1 to 4 4s TYP 2 2s d at 25 C Accuracy 9 6 to 2 7s TYP 2 4s d at 55 C Accuracy 3 2 to 5 27s TYP 2 07s d at 0 C Accuracy 2 77 to 5 27s TYP 2 22s d at 25 C Accuracy 12 14 to 3 65s TYP 2 89s d at 55 C leap year automatically identified 5VDC internal current consumption A 1 4 0 89 Weight kg 0 9 0 3 External dimensions mm inch
76. le 1 Module on the switching on on another to right side of the CPU module another system Module11 Module at the system rightmost end of the 12 slot base Q312B Please refer to SD1590 which stores the corresponding head address of network module on host system 6 6 6 SPECIAL REGISTERS 5 For redundant system tracking infomation SD1700 to SD1779 is valid only for redundant system These are all 0 for stand alone systems Compatible A Partial change required Not compatible Corresponding Compati Precautions for Number Description Explanation replacement Tracking error Tracking error Q4ARCPU SD1700 d When the tracking error is detected count is added by one O detection count detection count QnPRHCPU Set seconds the waiting time of the standby system CPU module from when online program change to the control system CPU module is completed by the online program change for redundancy function until the online program change to the standby system CPU module starts fnoonline program change request is issued to the standby system CPU module within the preset time after completion of the online program change to the control system CPU module CPU modules on both systems judge it as the failure of the online program change for Waiting time for redundancy In this case CPU modules on both systems resume the online program Waiting time for identification check between system A and s
77. m and Standby System The Q4ARCPU sets the system switching with bus switching switch of bus switching module meanwhile the QnPRHCPU sets it with GX Developer or the SP CONTSW instruction 4 7 1 Comparison of system switching causes The following table shows comparison between Q4ARCPU and QnPRHCPU on system switching cause Available Not available System xe Cause Q4ARCPU QnPRHCPU Remarks switching type Bus switching switch setting of bus switching x The QnPRHCPU does not have module A6RAF bus switching module User switching System switching with GX Developer x Execution of the System switching instruction SP CONTSW Power OFF of control system O Reset of control system O Hardware failure in control system O System switching Stop error in control system O O System switching request from the MELSECNET H module on control system System switching request from the Ethernet module on control system 4 7 2 Operation mode setting at CPU switching The Q4ARCPU sets the operation mode at CPU switching system switching to either initial start or hot start with the S CGMODE instruction meanwhile the QnPRHCPU does not require setting since the operation mode is fixed to hot start 1 Set whether to clear CPU module devices when switching from control system to standby system 4 18 4 CONFIGURATION OF REDUNDANT SYSTEM 4 7 3 User switching
78. mpletely turn off the external supply power used in the system when installing or placing wiring Not completely turning off all power could result in electric shock or damage to the product When turning on the power supply or operating the module after installation or wiring work be sure that the module s terminal covers are correctly attached Not attaching the terminal cover could result in electric shock NCAUTION Be sure to ground the FG terminals and LG terminals to the protective ground conductor Not doing so could result in electric shock or erroneous operation When wiring in the programmable controller be sure that it is done correctly by checking the product s rated voltage and the terminal layout Connecting a power supply that is different from the rating or incorrectly wiring the product could result in fire or damage External connections shall be crimped or pressure welded with the specified tools or correctly soldered Imperfect connections could result in short circuit fires or erroneous operation Tighten the terminal screws with the specified torque If the terminal screws are loose it could result in short circuits fire or erroneous operation Tightening the terminal screws too far may cause damages to the screws and or the module resulting in fallout short circuits or malfunction Be sure there are no foreign substances such as sawdust or wiring debris inside the module Such debris could cause fires
79. n Restrictions on mounting modules on remote I O stations extension base unit FROM TO instructions and intelligent function module stages devices Ui AGI are inapplicable Use REMFR REMTO for accessing Or in GX Configurator configure the settings for intellligent function modules on remote I O stations System extension via Available Extension base unit Maximum 7 The following modules cannot be mounted to remote 1 O stations MELSECNET H module interrupt module Web server module and MES interface module For Ethernet modules dedicated instructions interrupt System pointers e mail function communication by the fixed configuration buffer FTP server function web server function is not usable For intelligent function modules other than the above dedicated instructions and interrupt pointers are not usable Single CPU system Available debug mode only Available Bus connection Not available Available CPU direct Available Communication with the CPU module 3 Available connection connected to the GOT only Computer link Not available Available connection MELSECNET H remote I O Available Not available GOT station connection connection type 4 CC Link Available Available connection MELSECNET H PLC to PLC Available Not available network connection Ethernet Available Available connection 3 MELSECNET H remote
80. nction NCAUTION The online operations conducted for the CPU module being operated connecting the peripheral device especially when changing data or operation status shall be conducted after the manual has been carefully read and a sufficient check of safety has been conducted Operation mistakes could cause damage or problems with of the module Do not disassemble or modify the modules Doing so could cause trouble erroneous operation injury or fire Use any radio communication device such as a cellular phone or a PHS phone more than 25cm 9 85 inch away in all directions of the programmable controller Not doing so can cause a malfunction Completely turn off the external supply power used in the system before mounting or removing the module Not doing so could result in damage to the product Note that the module can be changed online while power is on in the system that uses the redundant CPU module or on the MELSECNET H remote I O station Note that there are restrictions on the modules that can be changed online while power is on and each module has its predetermined changing procedure For details refer to System Configuration Cautions in QnPRHCPU User s Manual Redundant System Do not mount remove the module onto from the base unit or terminal block more than 50 times IEC61131 2 compliant after the first use of the product Failure to do so may cause to malfunction Do not drop or give an impact to the bat
81. ne system ON Redundant system separate QnPRHCPU system separate mode OFF System A fixed mode Turns on when the start mode for a redundant system The QnPRHCPU Start mode at does not have this SM1511 power on ON Previous control when the power suplly is turned on is the previous function system latch control system latch mode Revi eview the program mode Q4ARCPU x The QnPRHCPU is Operation mode at not compatible with SM1512 CPU module start OFF Initial start Turns on when the CPU module operation mode is hot this relay since the up ON Hot start start when the redundant system is started up operation mode is set with parameters Review the program System A identify Distinguishes between system A and System B SM1511 flag The flag status does not change even if the tracking cable is disconnected When TRK CABLE ERR System System error code 6120 occurs Unknown QnPRHCPU New SM1512 System B identify SM1511 ON OFF OFF flag SM1512 OFF ON OFF The QnPRHCPU Operating status at P always starts with CPU module start OFF Initial start Turns on when the CPU module operating mode is hot Q4ARCPU x hot start mode up Hot start start when the redundant system is actually start up independent of SM1513 power failure time Review the program Debug mode ORF Not in debug Turns on when the redundant system operating mode status flag mode is set to debug mode QnPRHCPU New ON Debug mo
82. nit Extension base unit 1st stage Extension base unit 7th stage p Main base unit gt Extension base unit 1st stage b Extension base unit 7th stage Momentary Counts the number of times of momentary power failure of the power Momentary supply 1 2 power ante power failure Monitors the status of the power supply 1 2 mounted on the redundant 01782 detection detection count power main base unit Q38RB and counts the number of times of counter for momentary power failure OWer supply 1 for power Status of power supply 1 power supply 2 mounted on the redundant n supply 1 extension base unit is not monitored When the CPU module starts the counter of the power supply 1 2 is cleared to 0 Momentary Ifthe input power supply to one of the redundant power supply modules is ower failure Momentary turned OFF the corresponding counter is cleared to 0 tect power failure The counter is incremented by 1 every time the momentary power failure etection A of the power supply 1 2 is detected counter for detection count 0 to 65535 When the count exceeds 65535 counting is continued from Iv2 for power 0 ower 5 gt Ppy supply 2 Stores 0 when the main base unit is not the redundant power main base unit Q38RB 1 The power supply 1 indicates the redundant power supply module mounted on the POWER 1 slot of the redundant base unit Q38RB 68RB The power supply 2 indicates the redundant po
83. nts Data register D point 12288 by default DO to 12287 Link register W point 8192 by default WO to 1FFF Annunciator F point 2048 by default FO to 2047 Edge relay V point File register R ZR point 2048 by default VO to 2047 32768 RO to 32767 Maximum 1042432 points can be used by switching blocks 1042432 ZRO to 1042431 Block switching is not required The number of points depends on storage location Special link relay SB point Special link register SW point 2048 by default SBO to 7FF 2048 by default SWO to 7FF 3 REPLACEMENT OF REDUNDANT SYSTEM Item Step relay S point Index register 2 point Q4ARCPU QnPRHCPU 8192 SO to 8191 16 Z0 to 15 Precautions for replacement Pointer P point Interrupt pointer I point 4096 PO to 4095 The usage range of file pointer common pointer can be set with parameters 48 IO to 47 The fixed scan interval of system interrupt pointer from 128 to 131 can be set with parameters 1 to 1000ms in units of 5ms 4096 PO to 4095 The use ranges of the local pointers and common pointers can be set up by parameters 256 10 to 255 The constant cyclic interval of system interrupt pointers 128 to 31 can be set up by parameters 0 5 to 1000ms in units of 5ms Special relay SM point Number of device points 2048 SMO to 2047 Specia
84. oes not have this 9 Low speed execution time of a scan separately from the main x oa function program Stores information on the system and The QnPRHCPU partially differs in Special relay special register O A diagnostic result of CPU module description refer to Chapters 5 and 6 Consider installing external indicator since LED indication instruction Displays characters on LED indicator the QnPRHCPU does not have the LED indication function Reads the status of programs and devices Monitor function pog O O from CPU module to a peripheral Writes a program from a peripheral while Online program change preg O O the CPU module is in RUN Program list Displays the processing time of a program O monitor being executed on a peripheral 7 Interrupt Execution j Displays the number of executions of an 3 program list O time interrupt program on a peripheral monitor measurement Measures the execution time of any given Scan time range a program being executed by the O c measurement CPU module o c Continually collects the specified device Sampling trace function O D data in CPU module at specified timing 9 7 Collects the device data at specified The QnPRHCPU does not have this Q Status latch function m O x timing function Step execution Executes a program by a step m The QnPRHCPU does
85. ogrammable controller in the environment of much vibration tighten the module with a screw Tighten the screw in the specified torque range Undertightening can cause a drop short circuit or malfunction Overtightening can cause a drop short circuit or malfunction due to damage to the screw or module When installing extension cables be sure that the base unit and the extension module connectors are installed correctly After installation check them for looseness Poor connections could cause an input or output failure Securely load the memory card into the memory card loading connector After installation check for lifting Poor connections could cause an operation fault Completely turn off the external supply power used in the system before mounting or removing the module Not doing so could result in damage to the product Note that the module can be changed online while power is on in the system that uses the Redundant CPU module or on the MELSECNET H remote I O station Note that there are restrictions on the modules that can be changed online while power is on and each module has its predetermined changing procedure For details refer to System Configuration Cautions in QnPRHCPU User s Manual Redundant System Do not directly touch the module s conductive parts or electronic components Touching the conductive parts could cause an operation failure or give damage to the module Wiring Precautions Co
86. om buffer 4 15ms 3 sequence scans 2 sequence scans 20ms memory 2 The following conditions are assumed 1 The number of remote I O stations QnPRHCPU redundant system is 1 2 4096 points are assigned to LX and LY for each 3 544 words are assigned to LW M and LW M lt for each 4 8 4 CONFIGURATION OF REDUNDANT SYSTEM 4 2 GOT Connection The following table shows the connection type and availability of connection when GOT is used in redundant system Availability of connection Connection type Remarks Q4ARCPU QnPRHCPU Bus connection x CPU direct Communication is possible only with the CPU module to connection which GOT is connected The QnPRHCPU cannot be connected since the serial Computer link MM if cancion communication module cannot be mounted on the main i 22 base unit that mounts the Redundant CPU M Ethernet connection O O The QnPRHCPU requires script setting on GOT side AUS MELSECNET H PLC to PLC network MELSECNET 10 O PLC to PLC network CC Link connection x O Bus connection O x No error occurs in the QnPRHCPU Computer link connection Ethernet connection The QnPRHCPU cannot be connected since the MELSECNET H Extension base unit x x MELSECNET H module cannot be mounted on the PLC to PLC network extension base unit The QnPRHCPU cannot be connected since the
87. ons 4 31 5 SPECIAL RELAYS SPECIAL RELAYS When replacing the Q4ARCPUs with the QnPRHCPUS by Change PLC type on GX Developer the special relays are converted into the same numbers However some special relays are not compatible with the Q4ARCPU or QnPRHCPU When using the incompatible special relay review the program and correct it if necessarily 1 Process control instructions Compatible A Partial change required X Not compatible Precautions for replacement Corresponding Name CPU Number Description Explanation Compatibinity Specifies whether or not to hold the output value when SM1500 Hold mode ano a range over occurs for the S IN instruction range ON Hold check Q4ARCPU OFF No hold Specifies whether or not the output value is held when QnPRHCPU SM1501 Hold mode ON Hold a range over occurs for the S OUT instruction range check 2 For redundant systems Host system CPU information 1 5 1510 to SM1599 only valid for redundant systems All off for standalone systems Compatible A Partial change required X Not compatible Corresponding Number Description Precautions for replacement CPU OFF Redundant system backup i mode stand Turns on when the operation mode is redundant Q4ARCPU SM1510 Operation mode alo
88. ormance Specifications Comparison between Q4ARCPU and QnPRHCPU eee eee e ee 3 2 3 3 Functional Comparison between QAARCPU and 3 4 4 CONFIGURATION OF REDUNDANT SYSTEM 4 1to4 31 4 1 System Configuration 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009 1 4 1 1 System configuration diagram e e eeeeeee eee e ee ee eee eene eno o eee eese eee esee eee eese eoe seesesseseeeeeese 1 4 1 2 Precautions for replacement of redundant system eeeeeee eee ee eee ee ee eee e eee eee eo eese ee oseeeeeeeeo 4 4 3 Restrictions on remote I O Station eeeseeeeeeseeeeeeeeeoeo esses eo essseeceosssccessssceseseeeee _ D 4 1 4 refresh delay time eeeeeeeeee eee eee eee eene o eee eee eene oo eo eee eee eee sese sese eee eeessssceseeeeeesessess B 4 1 5 Comparison between the FROM TO instruction and REMFR REMTO instruction e sessee ee 4 8 4 2 GOT Connection 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 5 9 4 3 External Output 0 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 4 10 4 4 Redundant System Operation
89. planation Compatibitiy replacement SM1548 SM1548 Block 29 SM1549 SM1549 Block 30 SM1550 SM1550 Block 31 SM1551 SM1551 Block 32 SM1552 SM1552 Block 33 SM1553 SM1553 Block 34 In the case of SM1554 SM1554 Block 35 cs SM1555 SM1555 Block 36 transferred by the SM1556 SM1556 Block 37 data tracking SM1557 SM1557 Block 38 instruction S TRUCK SM1558 SM1558 Block 39 the target block is SM1559 SM1559 Block 40 specified as trigger SM1560 SM1560 Block 41 In the case of SM1561 SM1561 Block 42 QnPRHCPU SM1562 SM1562 Block 43 When data is SM1563 SM1563 Block 44 transferred based on SM1564 SM1564 Block 45 the tracking settings smi565 Data tracking OFF No trigger SM1565 Block 46 ofthe redundant Q4ARCPU _ transfer trigger parameter dialog box SM1566 UNE ON Trigger SM1566 Block 47 QnPRHCPU specification the target block is SM1567 SM1567 Block 48 specified as trigger SM1568 SM1568 Block 49 SM1569 SM1569 Block 50 When Do auto SM1570 SM1570 Block 51 iine boe SM1571 SM1571 Block 52 nope EE d enabled in the SM1572 SM1572 Block 53 tracking settings SM1573 SM1573 Block 54 SM1520 is turned ON SM1574 SM1574 Block 55 by the system at SM1575 SM1575 Block 56 power ON STOP to RUN In other cases SM1576 SM1576 Block 57 SMTSSS SM1577 SM1577 Block 58 are turned ON by the SM1578 SM1578 Block 59 user SM1579 SM1579 Block 60 SM1580 SM1580 Block 61 SM1581 SM1581 Block 62 SM1582 SM1582 Block
90. py to OFF Memory copy not Turns on while memory is copied from control system executed SM1596 other system status ON Memory co to standby system flag pee id Turns off when memory copy execution has completed QnPRHCPU New 2 Memory copy to OFF Memory copy not completed Turns on when the memory has copied from control SM1597 other system ON Memory copy system to standby system complete flag completed Copy contents of standard ROM OFF po em Turns on when the standard ROM data is not copied SM1598 during memory ON Standard ROM while memory of the control system is copied to that of copy flag data is not copied the standby system 5 4 2 The module whose first 5 digits of serial No is 09012 or later 5 SPECIAL RELAYS 3 For redundant system Another system CPU information SM1600 to SM1650 only valid for the CPU redundant system backup mode so they cannot be refreshed during the separate mode Either the backup mode or the separate mode is valid for the SM4651 to SM1699 SM1600 to 1699 are all turned off for stand alone system Compatible A Partial change required X Not compatible Description Explanation Precautions for replacement OFF No error Turns on if an error occurs in the diagnostic results SM1600 Diagnostic error ON E Including external diagnostics Error
91. rdless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programm
92. re of the AS92R substitute ERR output of the Q series power supply module for it System control module AS92R Unnecessary i DM 2 When using general purpose input of the AS92SR substitute Q series input module QX40 for it Bus switching module A6RAF Unnecessary The QnPRHCPU does not have bus switching module QC10TR Tracking cable The QnPRHCPU requires tracking cable QC30TR AJ71QLP21 QJ71LP21 25 AJ71QBR11 QJ71BR11 Required to replace remote I O station Remote I O network AJ72QLP25 QJ72LP25 25 All remote stations must be replaced by the series AJ72QBR15 QJ72BR15 3 REPLACEMENT OF REDUNDANT SYSTEM 3 2 Performance Specifications Comparison between Q4ARCPU and QnPRHCPU Item Control method Q4ARCPU QnPRHCPU Stored program repetitive operation for replacement control mode Refresh mode Programming language Relay symbol language logic symbolic language Relay symbol language logic symbolic language MELSAP3 SFC MELSAP L function block structured text MELSAP3 SFC ST and FBD for process control Processing speed LD 0 075 0 034 Sequence instruction MOV 0 225 0 102 s step Constant scan ms 5 to 2000 0 5 to 2000 program start at constant intervals Setting available in 0 5ms unit Setting available in 0 5ms unit Memory card Memory card type SRAM SRAM E2PROM SRAM Flash ROM Memory card type SRAM
93. request issue Displays network module on another system where system module number Switching request has been issued 4 CONFIGURATION OF REDUNDANT SYSTEM E 4 6 Operation Mode Setting at CPU Start up The Q4ARCPU sets the operation mode with the S STMODE instruction meanwhile the QnPRHCPU sets it with parameters 1 When the Q4ARCPU is powered ON and started up it can be specified whether the CPU devices are cleared at start up or not cleared at start up 4 6 1 Operation mode for the QnPRHCPU This section explains operation mode for the QNPRHCPU 1 Initial start mode for the QnPRHCPU default This mode is for clearing all devices except the file register and the latch range settings device word device 0 bit device OFF before performing the operation Control using initial start mode Control using initial start mode System A Control system System B Standby system System A Control system System B Standby system Power off the system and back on 069 tie eurem 090 te sns Tracking cable Tracking cable D100 D101 1234 2345 2 Hot start mode for the This mode is for performing the operation from when holding the device Some devices such as the step relay and the index register will be cleared As holding the devices even when the redundant system goes down due to power OFF or CPU module reset the
94. ror Refer to SD5 to SD15 for the storage status SD1610 error inf i SD5 SD1605 SD6 SD1606 SD7 8SD1607 SD8 SD1608 information 501611 information SD9 SD1609 SD10 8D1610 SD11 8D1611 SD12 SD1612 X 013 01613 SD14 SD1614 SD15 SD1615 SD1612 SD1613 SD1614 SD1615 SD1616 SD1617 SD1618 SD1619 561620 n Stores the individual information for the error code Individual individual error Refer to SD16 to SD26 for the storage status SD1621 error SD16 SD1616 SD17 SD1617 SD18 SD1618 SD19 SD1619 501622 information information SD20 501620 5021 501621 SD22 8D1622 SD23 8D1623 SD24 SD1624 025 01625 026 01626 01623 01624 01625 01626 Switch CPU module Stores the CPU module switch status SD1650 Refer 0200 for the storage status status Switch status SD1650 SD200 Stores the CPU module s LED status CPU module Shows 0 when turned off 1 when turned on and 2 when flashing 9011891 LED status LED status Refer to SD201 for the storage status SD1651 SD201 CPU module CPU module Stores the CPU module operating status SD1653 operating Refer to SD203 for the storage status statis operating status SD1653 SD203 Q4ARCPU replacement SD1600 to SD1626 of the Q4ARCPU are equivalent to SD1610 to SD1636 of the QnPRHCPU Review the program The QnPRHCPU does not have this function Review the program
95. rs in setting method CPU start up Starts after clearing the devices O refer to Section 4 6 Hotstart Starts without clearing the devices Switches the control from control system to standby system Switching method between Auto switching The QnPRHCPU differs in system control system and standby Automatically switches the control in case switching method refer to Section 4 7 system of error detection Manual switching Manually switches with a switch Sets the device status when the control The QnPRHCPU supports the hot start Switches from control system to standby mod only Operation mode setting at eed iat To start with status equivalent to the initial system switching Pu clearing the devices start mode device clear clear the Hot start devices using the FMOV instruction in SM1518 contact Starts without clearing the devices Checks whether the programs parameters and operation modes of control system and O O systems standby system are the same Sets the output status when the entire system stops due to an error Output reset mode Output hold at stop error Tums OFF outputs on the extension base The QnPRHCPU differs in setting method unit refer to Section 4 8 Output hold mode Retains outputs on the extension base unit Transfers the device data in preparation for Redundant tracking switching from control system to standby ps in setting metod system
96. s refer to System Switching Time in QnPRHCPU User s Manual Redundant System Tsw Tre ms Tsw System switching time maximum value Trc Reflection time for tracking transfer data using the standby system CPU module MELSECNET H CC Link PROFIBUS DP auto refresh time T arm Refer to the manual for the network module being used When the extension base unit is connected Signal flow memory is not tracking transferred 31 5ms Signal flow memory is tracking transferred 12 5ms When the extension base unit is not connected Signal flow memory is not tracking transferred 20 5ms Signal flow memory is tracking transferred 1 5ms 2 COMPARISON OF REDUNDANT SYSTEMS Item QnPRHCPU redundant system Q4ARCPU redundant system lt lt First five digits of serial number is 09012 or higher gt gt Applicable Extension base unit Maximum 7 stages The following modules cannot be mounted Interrupt module MELSECNET H module Ethernet module function version B or earlier Web server module first five digits of serial number is 09011 or lower MES interface module first five digits of serial number is 09011 or lower Forintelligent function modules dedicated instructions and interrupt pointers are not usable lt lt First five digits of serial number is 09011 or lower gt gt Not available Modules for the expanded system are mounted to MELSECNET H remote statio
97. s in Ethernet communications the communication is continued by control system follow automatic follow 1 INTRODUCTION b MELSECNET H remote I O network MELSECNET H remote stations can continue data link even when the control system and standby system switches System configuration for MELSECNET H remote I O network Muttiplexed remote master station Multiplexed remote sub master station Control system Standby system 2 H E EIER z Tracking cable MELSECNET H remote I O network Remote I O Remote I Remote I O station station station Multiplexed remote sub master station master station operation Control system n Error fault mund B 5 LI JHE
98. s in execution File batch online program change for redundancy is in execution 1 Set whether tracking transfer of the following control data will be executed or not during online program change for redundancy Device memory Including SM SD that automatically performs Transfer tracking OFF No device tracking transfer device memory memory tracking PIDINIT information S PIDINIT information SFC information SM1710 during online transfer 2 SM1710 can be also used to set whether tracking program change for redundancy enable flag ON Perform device memory tracking transfer transfer will be executed or not while online program change for redundancy of multiple blocks or batch of files is being performed to ensure consistency of both systems This SM1710 is also tracked form control system CPU module to standby system CPU module by tracking transfer 5 6 5 SPECIAL RELAYS Compatible A Partial change required X Not compatible M Corresponding T Precautions for Number Description Explanation replacement SM1712 SM1712 Block1 SM1713 SM1713 Block2 SM1714 SM1714 Block3 SM1715 SM1715 Block4 SM1716 SM1716 Block5 SM1717 SM1717 Block6 SM1718 SM1718 Block SM1719 SM1719 Block8 SM1720 SM1720 Block9 SM1721 SM1721 Block10 SM1722 SM1722 Block11 SM1723 SM1723 Block12 Stine ease or SM1724
99. s not been switched 1 Hardware failure or watchdog timer error 2 Stop error except watchdog timer error 3 System switching request from network module 16 System switching instruction 17 System switching request from GX Developer QnPRHCPU New SD1589 System switching failure cause System switching failure cause number Stores the system switching cause failure 0 System switching normal completion default 1 Tracking cable is not connected tracking cable error FPGA circuit failure 2 Hardware failure power OFF reset watchdog timer error on the standby system Hardware failure power OFF reset watchdog timer error on the control system Tracking communication is in preparation Communication timeout Stop error except watchdog timer error on the standby system There is difference between both systems detected as backup mode only 8 During memory copy from control system to standby system 9 During online program change 10 During detection of network module failure on the standby system 11 System switching being executed Resets to 0 when host system is powered on Resets to 0 once system has been switched successfully NONA QnPRHCPU New 1 The information of the host CPU module is stored 6 2 6 SPECIAL REGISTERS Compatible A Partial change required X Not compatible
100. s the procedure to copy parameters and programs to the replaced CPU module 1 INTRODUCTION 7 Access to redundant system from host network When accessing a redundant system from the host OPS via Ethernet the host OPS can automatically identify and access the control system if it has been specified as destination in advance System configuration for Ethernet Ethernet Control system Standby system Control and network auto switching Ethernet Standby system Y Control system Communication not i E 0 possible failure network gt g cable disconnection gt a Tracking cable 1 INTRODUCTION 8 Online module replacement The redundant CPUs mounted on a main base unit extension base unit or remote I O station can be replaced online with GX Developer The module can be replaced without stopping the system when it fails Note that a module moun
101. sequence scan 1 sequence scan in control Control system hardware failure 1 sequence scan 12 maximum station maximum Control system stop error Output TN 300 hold time Switching switch 2 sequence scans Dedicated switching instruction The time with the following conditions 1 Perform refresh of X Y 4096 points 2 Signal flow does not transferred 3 Perform tracking of 48k word file register SRAM memory card 2 Output hold time of remote station System switching time 2 sequence scans 170ms 2 sequence scans in control station 4 20 4 CONFIGURATION OF REDUNDANT SYSTEM 4 8 Output Hold Specification at Stop Error The Q4ARCPU sets the output hold specification at stop error with output hold reset mode switch of bus switching module meanwhile the QNPRHCPU sets it with parameters can be set per module 1 Set whether to clear or hold outputs when stop error occurs in CPU modules on both systems in redundant system 4 8 1 Output mode at QnPRHCPU error This section explains output mode when an error occurs in the QnPRHCPU 1 Setting Error time output mode to Clear default All outputs of the module to which Clear is set are turned OFF Output Y in the device memory is held 2 Setting Error time output mode to Hold Outputs of the module to which Hold is set are held Output Y in the device memory is held 4
102. status of OFF detection status pit 1 power supply 2 of power supply 1 0 Input power supply ON Power supply status No redundant SD1780 Power supply off f detection b15 to b9b8b7 to 50 power supply module detection status SD1780 to to 1 Input power supply OFF status status n Main base unit Extension base unit 1st stage L p Extension base unit 7th stage Main base unit _____________________ Extension base unit 1st stage b Extension base unit 7th stage Stores the failure detection status of the redundant power supply module Q64RP in the following bit pattern The corresponding bit is cleared to 0 when the input power supply to the faulty redundant power supply module is switched OFF after detection of the redundant power supply module failure Stores 0 when the main base unit is not the redundant power main base unit Q38RB Failure detection Failure detection status of power status of power supply 2 1 supply 1 1 Each bit P P 0 Redundant power supply OWEFSUppy b15 to b9b8b7 to bibO module failure not QnPRHCPU New _ SD1781 failure detection failure detection 501781 6 t detected No redundant power tat tat supply module siaus siaus 1 Redundant power supply module failure detected Detectable for redundant power supply module only Main base u
103. system can continue the operation when it is powered on or the CPU modules are unreset RESET L CLR switch is set to the neutral position Control using hot start mode Start in hot start mode System A Control system System B Standby system 8 mg BI B lel x Bj E IE E Tracking cable System A Control system System B Standby system al g al g Power off the system and back on 069 0690 ae 108901 Teor Tracking cable D100 1234 D101 2345 4 16 4 CONFIGURATION OF REDUNDANT SYSTEM 4 6 2 Operation settings screen for the QnPRHCPU This section shows the Operation settings screen for the QnPRHCPU on GX Developer Version 8 Operation settings screen Redundant parameter tacking settings Start mode setting Mode Initial start mode It will become Hot start mode quring system switching Standby system watch setting Check the error in Standby system Debug mode setting Do not start with Debug mide C Start with Debug mode Backup mode setting Check operating status cofsistency Cancel Select Initial start mode or Hot start mode 4 17 4 CONFIGURATION OF REDUNDANT SYSTEM 4 7 System Switching Method between Control Syste
104. t Ford oop te Reverse loop test Test between master station Test between slave station Click the Redundant settings button 4 28 4 CONFIGURATION OF REDUNDANT SYSTEM 4 12 Buffer Memory Batch Refresh The Q4ARCPU sets the buffer memory batch refresh with the S SPREF instruction meanwhile the QnPRHCPU sets it with GX Configurator 1 1 Setting for automatically reading writing data from to the buffer memory in special function module intelligent function module Auto refresh setting data set with GX Configurator are stored into the intelligent function module parameter of CPU module The following shows the setting example for QNPRHCPU GX Configurator when using GX Developer Version 8 The initial setting and auto refresh setting can be made by adding GX Configurator compatible with intelligent function module into GX Developer If they are made on GX Configurator data can be written read without creating a program for communications with intelligent function module GX Configurator Auto refresh setting screen The following explains with an example when the initial setting and auto refresh setting are made for the A D converter module Q64AD In auto refresh setting set devices on CPU module side to store the following data Digital output values for each channel Maximum minimum values for each channel Error codes Auto refresh setting Module information Module type Conversion Module
105. table modules Limitation on the number of mountable modules par Applicable Module system QJ71LP21 25 2 eee Up to 4 in total of PLC to PLC network and remote 1 MELSECNET H module QJ71LP21G QU71LP21GE O network modules e QJ71BR11 e QJ71E71 B2 Ethernet module QJ71E71 B5 Up to 4 QJ71E71 100 CC Link master module QJ61BT11N Up to 8 3 The number of mountable modules per system indicates the number of modules that can be mounted on main base unit or extension base unit Or it indicates the number of modules that can be mounted on either one of the systems when they are mounted on main base unit MELSECNET H module cannot be mounted to the extension base unit Possible only when the first five digits of serial number for the Redundant CPUs in both systems are 09102 or higher and GX Developer version is 8 58L or later In other combinations the number of mountable modules per system is 4 4 CONFIGURATION OF REDUNDANT SYSTEM e Connecting extension base unit Use the Redundant CPUs whose first five digits of serial numbers are 09012 or higher for both Systems The extension base unit cannot be connected to the main base unit where the Redundant CPU whose first five digits of serial number is 09011 or lower is mounted The following extension base units cannot be connected to main base unit that mounts the Redundant CPUs Extension base unit QeriB 5 QA 1
106. ted to the Set two adjoining station redundant CPUs numbers as pair gt gt amp Control amp Normal station 20 9 station 5 m station g 53 2 2 station e 2 Lo number 1 e 2 Lo number 2 Normal station station number 3 station number 4 m a 2 2 z o Power supply module module 2 Pairing setting example This example shows the send range for each station LB LW setting when 256 points are assigned to each of station Nos 1 to 4 Start End 0000 0 0000 1 pair station Nos 1 and 2 set the smaller station number to Enable station No 1 in this case 2 By setting station No 1 to Enable the send range for station No 1 will be copied as that for station No 2 4 26 4 CONFIGURATION OF REDUNDANT SYSTEM 3 Cyclic transmission processing when the redundant system communicates normally Redundant system Station number 1 Station number 2 ______ control system standby system Station number 3 Station number 4 0000 Host station Station number 1 Station number 1 send range 2 2 3 Tracking transfer Receive data Receive data 1 OOFFu 1 gt 01004 Station number 3 Station number 3 Host station Station number 3 Receive data Receive data send range
107. ted to the main base unit cannot be replaced online when the extension base unit is connected Online module replacement of I O module mounted on main base unit Control system 8 8 090006 Faulty module Standby System 000000 0000 9069 consensi 1 Directing online module replacement 3 Canceling online module replacement 1 to 3 indicate procedures for GX Developer online module replacement Online module replacement on remote I O station Control system Standby system 8 8 090006 0000 mS 090000 ojele Co 69 Ej 69 06901 6901506905 1 5 I 5 Tracking cable Tracking cable 2 Online module replacement Module for replacement ES Faulty module MELSECNET H remote I O network Remote station Remote station B 1 Directing online module repl
108. tery mounted to the module Doing so may damage the battery causing the battery fluid to leak inside the battery If the battery is dropped or given an impact dispose of it without using Before touching the module always touch grounded metal etc to discharge static electricity from human body etc Not doing so can cause the module to fail or malfunction Disposal Precautions NCAUTION When disposing of this product treat it as industrial waste Transportation Precautions NCAUTION When transporting lithium batteries make sure to treat them based on the transport regulations Refer to QCPU User s Manual Hardware Design Maintenance and Inspection REVISIONS The handbook number is given on the bottom left of the back cover Print date Handbook number Revision Jan 2008 L NA 08117ENG A First edition Japanese Handbook Version L 08116 A This handbook 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 handbook 2008 MITSUBISHI ELECTRIC CORPORATION CONTENTS SAFETY PRECAUTIONS
109. the extension base unit When tracking device setting is not made the program is executed with the values before refresh at first scan after system switching 4 23 4 CONFIGURATION OF REDUNDANT SYSTEM 4 9 1 1 2 Tracking transfer setting data of the QnPRHCPU There are 2 types of tracking transfer setting data tracking data based on the transfer range set by the user and tracking data automatically transferred Transfer data range setting by user The transfer data range and transfer timing can be set by the user This applies to the internal devices and signal flow memory Set whether the signal flow memory is tracking transferred or not Up to 100k words of internal devices and signal flow memory can be transferred for each tracking transfer Auto transfer data Auto transfer data is the data that the redundant CPU tracks regardless of the redundant parameter tracking settings The data settings cannot be changed by changing the redundant parameter tracking settings This applies to the SFC information PID control instruction information some special relays and special registers Setting Operation mode Auto Description 4 transfer change Separate a 2 y Backup mode mode Data of input X output Y internal relay 4 Internal device j O O O M and others used in programs vi Special relay Data turned ON or OFF by user or system
110. the extension base unit are GX Developer and PX Developer However there are restrictions on applicable functions For details refer to the following manuals gt Developer Version 8 Operating Manual gt PX Developer Version 1 Operating Manual Programming Tool POINT This handbook does not cover all precautions For details of precautions refer to the following manual QnPRHCPU User s Manual Redundant System 4 6 4 CONFIGURATION OF REDUNDANT SYSTEM 2 Precautions for programming In the programming of redundant system there are various precautions instructions with restrictions fixed scan clock program The main items of precautions are as follows a Instructions restricted in use for redundant system Instructions requiring a certain number of scans e Rise instruction Fallinstruction SCJinstruction Instructions that change CPU status Restrictions when using special relay 1518 Standby system to control system switching status flag Restrictions on use of COM and ZCOM instructions Dedicated instructions for intelligent function module mounted to extension base unit The dedicated instructions for the intelligent function module mounted to the extension base unit cannot be used If used a stop error OPERATION ERROR error code 4122 occurs For the dedicated instructions for the intelligent function module refer to the manual for the intelligent function module to be used
111. ule is started up by the OFF Power supply on operation system switching start up Reset using the user program CPU module i Q4ARCPU SM1517 ON Operation system Turns on when the CPU module is started up by the startup status system switching switching from the standby system QnPRHCPU 9 to the control system Remains OFF when the standby up system is switched to the control system by a power ON startup When this relay is turned OFF the start of tracking is The QnPRHCPU is OFF Batch transfer inde if the tracking memory is Pn racking execution eing used is relay since the mode mode When this relay is turned ON the start of tracking is SHAREPU operation mode is ON Carryover mode carried over to next END if the tracking memory is set with parameters SM1518 being used at END Review the program Standby system to Turns ON after standby system is switched to control control system ON 1 scan system ON for 1 scan only occurs switching status OFF This contact can only be used for scan execution type flag programs QnPRHCPU New When the previous control system was system B it SM1519 Previous control ON 1 scan turns on for one scan at simultaneously powering on system identify flag OFF system A system B or calceling the reset after operating in RUN in system A SM1520 SM1520 Block 1 SM1521 SM1521 Block 2 SM1522 SM1522 Block 3 SM1523 SM1523 Block 4 Sunt Q4ARCPU
112. wer supply module mounted on the POWER 2 slot of the redundant base unit Q38RB 68RB 6 s APPENDICES APPENDICES Appendix 1 Related Manuals Appendix 1 1 Transition from MELSEC A QnA Large type series to Q series handbook No Manual name Manual nunber Model code 4 Transition from MELSEC A QnA Large Type Series to Q Series L 08043ENG _ Handbook Fundamentals Transition from MELSEC A QnA Large Type Series to Series 2 Handbook Intelligent Function Modules L UBOSGENG Transition from MELSEC A QnA Large Type Series to Series _ Handbook Network Modules UBU SERES 4 Transition from MELSEC A QnA Large Type Series to Q Series L 08050ENG _ Handbook Communications Appendix 1 2 Q4ARCPU No Manual name Manual nunber code 1 MELSEC A QnA Data Book L 08025 2 Q4ARCPU User s Manual 1B 66685 13 852 3 MELSECNET 10 Network System for QnA Q4AR Reference Manual 1B 66690 13JF78 4 MELSEC Q4ARCPU General Instruction Manual 1B 66745 13 889 5 QnACPU Programming Manual Fundamentals 1B 66614 13JF46 6 QnACPU Programming Manual Special Function Module SH 4013 13JF56 7 QCPU Q Mode QnACPU Programming Manual Common Instructions SH 080039 13JF58 8 QCPU Q Mode QnACPU Programming Manual PID Control SH 080040 13JF59 Instructions 9 QCPU Q Mode QnACPU Programming Manual SFC SH 080041 13JF60 10 QnACPU Programming Manual AD57 Instructions 1B 66617 13JF49 11 Q4ARCP
113. x O O File copy x x x O File File attribute change x x x O O File creation date change x x x O File open x x x O O File read x x x O O File write x x x O File close x x x O Transfer setup is possible X Transfer setup is impossible Selection items on Transfer setup and their correspondence to communication system Control system Communications with a system that performs control and network communication in redundant system Standby system Communications with a system for backup in redundant system Not specified Communications with the following systems When CPU is directly connected Programmable controller CPU directly connected to the personal computer Via a module mounted on main base unit Programmable controller CPU at the station where the network module of the specified station number is installed in the network communication path Via a module mounted on extension base unit Programmable controller CPU operating as control system System A Communications with a system where system A connector for tracking cable is connected System B Communications with a system where system B connector for tracking cable is connected For details of each command refer to the following manual lt gt Corresponding MELSEC Communication Protocol Reference Manual 4 CONFIGURATION OF REDUNDANT SYSTEM h Compatibility with MELSOFT products MELSOFT products connectable to a module mounted on
114. ystem B suspended during SD1710 change start online program the online program change Also the control system CPU module is set to QnPRHCPU New change start accept a new request of online program change for redundancy standby standby system When both systems are powered on 90 seconds are set to SD1710 as system the default value Setthe value within the range 90 to 3600 seconds When the setting is O to 89 seconds it is regarded as 90 seconds for operation If the setting is outside the allowed range it is regarded other than 0 to 3600 seconds for operation The waiting time for a start of online program change to the standby system CPU module is checked according to the SD1710 setting during online change of multiple blocks and online change of batch of files for redundancy 6 SPECIAL REGISTERS 6 Redundant power supply module information SD1780 to SD1789 are valid only for a redundant power supply system The bits are all 0 for a singular power supply system Compatible A Partial change required Not compatible Corresponding Compati Precautions for Number Explanation replacement Stores the status of the redundant power supply module Q64RP with input power supply OFF in the following bit pattern Stores 0 when the main base unit is not the redundant power main base unit Q38RB Input power supply OFF Input power supply detection

Download Pdf Manuals

image

Related Search

Related Contents

FY-12DZC1 の取扱説明書    flyer cdi mode d`emploi  PVC Cédula 80 - Charlotte Pipe    Pelco C1909M Computer Monitor User Manual  DMR-BWT510(準備編) (4.33 MB/PDF)    Golden Technologies GA 531 Mobility Aid User Manual  Please click here for this pasta boiler`s installation and user manual  

Copyright © All rights reserved.
Failed to retrieve file