Home
TECHNICAL BULLETIN
Contents
1. 3 2 Replacing Programs Using Multiple CPU Transmission Dedicated Instructions 1 Replacing the module with the QnUD H CPU or Built in Ethernet port QCPU Table 3 3 shows instructions need to be replaced and corresponding alternative instructions For the specifications of each instruction refer to the manuals for the Motion CPU Table 3 3 Instructions need to be replaced Symbol Instruction description Symbol of alternative instruction S P DDWR Write other CPU device data into host CPU D P DDWR S P DDRD Read other CPU device data into host CPU D DDRD S P SFCS Request of motion SFC program startup D P SFCS S P SVST Request of servo program startup D SVST S P CHGA Current value change of halted axis synchronized encoder cam axis D P CHGA S P CHGV Axis speed change during positioning and JOG operation D CHGV S P CHGT Torque control value change during operation and suspension in real mode D P CHGT S P GINT Request of other CPU interrupt program startup D P GINT 2 Replacing the module with the QO2UCPU The Q0O2UCPU supports the same multiple CPU transmission dedicated instructions used in the Basic model QCPU The alternative instructions in Table 3 3 are not available for the QO2UCPU a 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 TECHNICAL BUL
2. Settings in the Boot file tab Type Transfer from Transfer to Program Memory card Program memory No boot file setting for parameters Change the setting so that the Universal model QCPU can refer to the parameters in the memory card e Changes in parameter setting are not required e Delete parameters that exist in the program memory is Settings in the Boot file tab Type Transfer from Transfer to Program Memory card Program memory Parameter Memory card Program memory No changes are required Settings in the Boot file tab Type Transfer from Transfer to Program Standard ROM Program memory No boot file setting for parameters Change the setting so that programs are stored in the program memory in the first place instead of booting from the standard ROM e Move the programs targeted for booting from the standard ROM into the program memory Delete all settings for program in the Boot file tab of the PLC parameter dialog box e Delete parameters that exist in the program memory 2 Settings in the Boot file tab Type Transfer from Transfer to Program Standard ROM Program memory Parameter Memory card Program memory Change the setting so that programs are stored in the program memory in the first place instead of booting from the standard ROM Move the programs targeted for booting from t
3. GX Converter has been added to the list in Chapter 2 4 Software not supported in the Universal model QCPU e The following modules have been added QLIOUDHCPU Q20UDHCPU QIOUDEHCPU Q20UDEHCPU The following chapters and sections have been modified in accordance with the version upgrade of the Universal model QCPU Chapter 1 Chapter 2 Chapter 3 January 2009 Section 4 3 has been added December 2008 September 2009 Chapter 1 4 Two precaution items have been added to the following table External communication July 2011 The descriptions of the reference manuals or the references have been changed in accordance with the uly composition changes of the manuals Aa 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
4. Page 7 58 Table 1 7 Precautions and replacement methods Precaution The operation method with the RESET RUN STOP switch is modified Replacement method The RESET STOP RUN switch of the Universal model QCPU can be used for the reset operation of the CPU module and switching between STOP and RUN status Reference Section 6 1 3 in the QCPU User s Manual Hardware Design Maintenance and Inspection Latch data cannot be cleared by the switch To clear latch data use the remote latch clear operation of GX Developer Section 6 1 3 in the QCPU User s Manual Hardware Design Maintenance and Inspection The system protect cannot be set by the switch Data in the files can be protected by setting a password for each file Password for each file can be registered with GX Developer Section 3 19 in the QnUCPU User s Manual Function Explanation Program Fundamentals The parameter valid drive setting is not necessary The Universal model QCPU automatically determines the parameter valid drive Change the setting as described in Section 4 6 when the parameter valid drive is set to other than the program memory in the High Performance model QCPU e Section 6 1 3 in the QCPU User s Manual Hardware Design Maintenance and Inspection e Section 4 6 MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MI
5. 28 INC D2 In Example 2 in the ladder block starting from the step 15 the AND lt gt instruction of the step 17 or 21 is supposed to be not executed when MO valid data flag is off However since the LD instruction which is always executed is used in the step 16 and 20 the AND lt gt instruction of the step 17 or 21 is executed regardless of the execution status of the LD instruction in the step 15 when M1 or M2 is on For this reason even when M0 is off if the D10Z1 value is outside the D device range OPERATION ERROR error code 4101 will be detected in the AND lt gt instruction of the step 17 Note that the step 26 MOV DO D1 and the step 28 INC D2 are not executed For the method of avoiding OPERATION ERROR error code 4101 refer to 2 in this section Example 3 Not detecting OPERATION ERROR error code 4101 Ladder mode List mode it l ANDO Mozi K5 15 DIOZI K5 H O O DI 19 MOV DO D1 In Example 3 the AND lt gt instruction of the step 16 is not executed when MO valid data flag of the step 15 is off For this reason OPERATION ERROR error code 4101 will not be detected no matter what the D10Z1 value is Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Perf
6. TECHNICAL BULLETIN Issue No FA A 0001 F Page 31 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Advantages and disadvantages when using the double precision floating point data of the Universal model QCPU Table 4 3 shows the advantages and disadvantages when executing the double precision floating point operation instructions in the Universal model QCPU If higher accuracy is required in floating point operations it is recommended to replace the instructions with the double precision floating point operation instructions Table 4 3 Advantages and disadvantages when using the double precision floating point operation instructions Advantage The results are more accurate than those of the The instruction processing speed is slower than that of the single precision floating point single precision floating point operation instructions operation instructions Double precision floating operation data use twice as many word device points as single precision floating operation data 1 The processing speed of the double precision floating point operation instructions in the Universal model QCPU is higher than that of floating point operation instructions using inter
7. Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Program Language and instruction Page 3 58 Table 1 2 Precautions and replacement methods Precaution Some instructions are not supported Replacement method Replace the instructions not supported in the Universal model QCPU are described in Chapter 3 Reference Chapter 3 Floating point operation The Universal model QCPU performs program operations of floating point data in single precision Instructions for floating point double precision operation are added for the Universal model QCPU Replace the instructions if floating point double precision operations are required as described in Section 4 1 When using the floating point data comparison instructions LDEL ANDEL OREL LDEDT ANDEDU and ORED if the comparison source data are 0 nonnumeric unnormalized number or OPERATION ERROR error code 4101 is detected indicates one of the followings gt lt gt lt gt When the floating point data comparison instructions are used modify the program as described in Section 4 2 e Appendix 4 4 in the QnUCPU User s Manual Function Explanation Program Fundamentals e Section 4 1 4 2 Devi
8. 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN Transition gt from the IX instruction The saved index register is restored Y g Transition from the IXEND instruction TECHNICAL BULLETIN Issue No FA A 0001 F Page 17 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Replacement example of the IXDEV and IXSET instructions Change the program so that the device offset values specified for the contacts between the IXDEV and IXSET instructions are directly set to the index modification table using the MOV instruction For a device offset value not specified by the IXDEV and IXSET instructions it value to 0 in the program after replacement Device offset specification by the INDEV and IXSET instructions Index modification table D 0 L T D 1 D 2 D 3 D 4 D 6 D 7 D 8 total ssaka SIT T acl Mian ed JE oH D 9 po O xs S D 10 Start I O number D 11 Buffer memory D 12 Link direct device 3 a OOO O o D 13 mor E j File register ZRO XX L T T 0 p m 5 O gt Q ao a m
9. D100 lt Modification example 2 gt Before modification E lt Valid data flag After modification E lt D100 E10 Valid data flag E200 D100 E200 Valid data flag A Make sure that there is no line OR connection between the signal which shows the floating point data validity valid data flag and the floating point data comparison instruction After modification E lt poo E10 Valid data flag a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 39 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Program examples corresponding to for Examples 1 and 3 in 1 are shown below Example 4 Modified program Example 1 OPERATION ERROR error code 4140 is no longer detected Ladder mode List mode W100 100 LD 100 100 EWOV D90 D100 101 EMOV D90 D100 103 OUT M01 104 LD 101 W101 105 ANDE lt D100 E10 109 LD mor W101 110 ANDE D100 E200 g gt la 104 KEK DIO0 E10 M102 114 ORB
10. Differences between the High Performance model QCPU and Universal model QCPU a High Performance model QCPU The High Performance model QCPU can perform only the single precision floating point operation instructions Note however that internal operation processing can be performed in double precision by selecting the item shown below default selected Q parameter setting PLC name PLC system PLC file PLCRAS Device Program Boot fle SFC I 0 assignment Timer limit setting 00 ms 1ms 1000ms Common pointer No P After 0 4095 10 0 ms 0 1ms 100ms Points occupied by empty slot 16 x Points sper RUN PAUSE contacts RUN x 0 X1FFF i Interrupt counter start No C 0 768 PAUSE x XO X1 FFF Fixed scan interval 128 100 0 ms 0 5ms 1000ms Ea 40 0 ms 0 5ms 1000ms Remote reset 20 0 ms 0 5ms 1000ms High speed I Allos TT interrupt setting 10 0 ms 0 5ms 1000ms System interrupt settings Output mode at STOP to RUN Previous state Interrupt program Fixed scan program setting Recalculate output is 1 scan later T High speed execution Floating point arithmetic processing APLC Vv Perform intemal arithmetic operations in IV Use special relay special register from SM SD1000 jouble precision Tnteligent function module setting Interrupt pointer setting Module synchronization I Synchronize inteligent module s pulse up Settings should be set as same when iple CPU
11. Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU b Replacing a part of floating point operation instructions with double precision floating point operation instructions Only operations that require high accuracy are replaced with double precision floating point operation instructions Using the ECON and EDCON instructions convert floating point data mutually between single precision and double precision The flow of a replacement program is as follows Page 33 58 Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU e Data required for operations are converted from single precision to double precision using the ECON instruction e Operations are performed in double precision using the double precision floating point operation instructions e Operation results are converted from double precision to single precision using the EDCON instruction A program example that floating point data are converted mutually between single precision and double precision before and after operations is shown below Example Replacing the floating point operation AxB C Using the ECON and EDCON instructions 1 Device assignment Before replacement After replacement Application Device Data type Application Device Data type Data A DO to D1 Data A DO to D1 Data B D2 to D3 Fl
12. O H3030 D219 HABIN D219 D219 WAND HOF D219 SFL d214 K4 WOR D219 D214 INC D212 0212 FDI SET FY3 P3 RET a 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 J J J tid J Numeric entry is ended when the at completion ON signal is ON or ODH is input Addresses of the input data area are saved in the work devices The 1st to 4th digit numerals in input data area 2 areshifted for one digit to the left Numeral entered in ASCII code is converted into one numeral in BIN data using the HABIN instruction The 5th to 8th dg numerals in input data area 1 are Shifted for one digit to the left and the converted numeral is set to the 8th digit The number of dign Mg be input in input data area 0 incremented by By The at completion ON Signali is turned ON when the input processing for specified digits is complete TECHNICAL BULLETIN Issue No FA A 0001 F Page 29 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 FUNCTIONS 4 1 Floating point Operation Instructions 1
13. Protocol Reference QCPU e QnA compatible 3E frame Manual e A compatible 1C frame e 4E frame e A compatible 1E frame The following commands cannot specify monitoring conditions MC protocol Randomly reading data in units of word Command 0403 e Device memory monitoring Command 0801 The applicable frame types are as follows e QnA compatible 3C 4C frame e QnA compatible 3E frame e 4E frame Applicable to the Q02UCPU Q03UDCPU Q04UDHCPU Q06UDHCPU Q13UDHCPU and Q26UDHCPU if the serial number first five digits is 10101 or earlier a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 5 Diagnostic function Page 6 58 Table 1 5 Precautions and replacement methods Precaution Error history data cannot be stored in the Replacement method The Universal model QCPU stores all storable data Reference Section 3 18 in the QnUCPU User s Error history memory card up to 100 in the buil
14. SD532 Minimum scan time for low speed The Universal model QCPU does not support low speed execution type programs SD533 execution type programs Delete the corresponding sections or replace them with the special registers for scan execution type SD534 Maximum scan time for low speed programs SD524 to SD527 SD535 execution type programs SD544 Cumulative execution time for low speed The Universal model QCPU does not support low speed execution type programs SD545 execution type programs Delete the corresponding sections SD546 Execution time for low speed execution The Universal model QCPU does not support low speed execution type programs SD547 type programs Delete the corresponding sections SD550 Service interval measurement module The Universal model QCPU does not support the service interval measurement function SDS551 TE Delete the corresponding sections SD552 Service interval time SD720 Program No specification for PLAODP The Universal model QCPU does not support the PLAODP instruction instruction Delete the corresponding section SD1780 Power supply off detection status The Universal model QCPU does not store redundant power supply system information in SD1780 to SD1781 Power supply failure detection status SD1783 SD1782 Momentary power failure detection Delete the corresponding sections counter for power supply SD1780 to SD1783 are always off SD1783 7 Momentary power failure detection counter for power supply
15. Serial number first five digits of the product compatible with the Universal model QCPU Used with Q10UDH Q13UDH Q20UDH Q26UDHCPU or Built in Ethernet port QCPU Table 2 2 Product need to be replaced Personal computer boards Used with Q02U Q03UD Q04UDH Q06UDHCPU e Q80BD J71LP21 25 ener ere e Q80BD J71LP21S 25 ii sei asi No restrictions on the board itself Product Table 2 3 Product need to be replaced GOT Used with Q02U Q03UD Q04UDH Q06UDHCPU Version 2 60N or later Version 19V or later Version 19V or later Used with Dedicated software package version compatible with the Universal model QCPU Used with Q10UDH Q20UDHCPU or Built in Ethernet port QCPU Q13UDH Q26UDHCPU Version 18U or later GT Designer2 OS version compatible with the Universal model QCPU Used with Q13UDH Q26UDHCPU Version 2 76E or later Version 15R or later Used with Q10UDH Q20UDHCPU Version 2 91V or later Version 18U or later Used with Q03UDE Q04UDEH Q06UDEH Q13UDEH Q26UDEHCPU Version 2 81K or later Version 20W or later Version 1 07H or later Used with Q10UDEH Q20UDEHCPU Version 2 91V or later No restrictions on GOT itself Version 2 76E or later Version 2 76E or later Version 2 91V or later Aa MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPA
16. TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Page 49 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Method of replacing the High Performance model QCPU with Universal model QCPU a When the parameter valid drive is set to the standard ROM in the High Performance model QCPU Table 4 8 When the parameter valid drive is set to the standard ROM Setting in High Performance model QCPU Setting in the Boot file tab of the PLC parameter dialog box No boot file setting Setting in Universal model QCPU Change the setting so that the Universal model QCPU can refer to the parameters in the standard ROM e Changes in parameter setting are not required y 2 e Delete parameters that exist in the program memory and memory card Settings in the Boot file tab Type Transfer from Transfer to Program Standard ROM Program memory No boot file setting for parameters Change the setting so that programs are stored in the program memory in the first place instead of booting from the standard ROM e Delete all settings for parameter in the Boot file tab of the PLC parameter d
17. The input data area is initialized DMOVP KO D201 W1 A subroutine program is called at the rising edge of the strobe signal P2 K2X100 K8 D210 a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 28 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Subroutine program e In the subroutine program ASCII codes specified by an argument are added to the input data area and the completion status is checked e Specify the following arguments for the subroutine program First argument ASCII code input from the input module K2Xn Input Second argument Number of digits to be input Input Third argument Indirect address of the input data area Input Fourth argument Bit device turned on when input is completed Output P2 FDO HOD SET FY3 GJ P3 DMOV FD2 D212 D D212 K1 D214 D D214 K1 D216 D212 FDI ho D214 D218 S E D218 K12 sssr D216 K4 WOR D218 D216 mov FDO D220 SFL D220 K8 WOR H30 D220
18. Use the following file is selected When file usability is set to Not used in the High Performance model QCPU delete the corresponding program file file register device initial value or comment which uses the same name as the program from the target memory The Universal model QCPU executes a program without using a program file if no program file that uses the same name as the program exists in the target memory High Performance model QCPU Universal model QCPU PLC parameter setting PLC parameter setting m PLC file setting m PLC file setting Use the same file name as the program Target memory Memory card RAM Use the same file name as the program Target memory Memory card RAM File register File register setting setting Program setting Program name File register File usability setting MAIN Use PLC file setting Not used Not used SRAM card SRAM card MAIN SUB1 SUB2 MAIN File File File File register register register register Programs do not use file registers SUB1 and SUB2 according to the File usability setting File registers SUB1 and SUB2 shall be deleted so that the programs SUB1 and SUB2 do not used them No change in parameter setting is required Operation of the Universal model QCPU is the same regardless of
19. WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Page 14 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Table 3 2 SFC control instructions not supported in the Universal model QCPU and alternative methods Instruction Alternative method Forced transition check When the programmable controller type is changed these instructions are converted into SM1255 instruction Modify programs as needed LDI BLm TRn ANDI BLm TRn ORI BLm TRn Refer to Appendix 3 Restrictions on Basic Model QCPU Universal Model QCPU and LCPU and SCHG D Active step chi instructi CENE TOPS TOTES TS ERMIOD Alternative Methods in the MELSEC Q L QnA Programming Manual SFC SET TRn SET BLm TRn oe Refer to Appendix 3 Restrictions on Basic Model QCPU Universal Model QCPU and LCPU and Transition control instruction i i RST TRn Alternative Methods in the MELSEC Q L QnA Programming Manual SFC RST BLm TRn When the programmable controller type is changed these instructions are converted into SM1255 BRSET S Block switching instructi CE Modify programs as needed
20. is turned on e Specify the following arguments for the subroutine program First argument Device number of X device targeted for failure check Input Second argument Contact number of X device targeted for failure check Input PO SH400 MOY FDO RST x0Z0 X1Z0 Y0Z0 Woy KI X0Z0 X1Z0 Y0ZO T H DIO0 KO hov k2 X0Z0 Y0Z0 mo kbo J w ks Y0z0 X1Z0 mo KO mw K Y0z0 X1Z0 7 Doo ko mov K5 Y0Z0 X0Z0 _ D100 KO MOV K6 MOY FDI SFL D101 WoR D100 D0 SET K4 D200 F200 RET lt Failure detection target gt If a failure is detected the coil number corresponding to the failure type is set to D100 If a failure is detected a failure number is created by combining the coil number corresponding to the failure type and the contact number The annunciator is turned ON d Replacement method when failure detection ladder patterns are changed by the CHKCIR and CHKEND instructions Failure detection ladder patterns can be changed in the subroutine program described in C a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 26 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue
21. later GX Simulator SW7DS5C LLT E Version 7 23Z or later Version 7 23Z or later 1 The software can be used by installing GX Developer Version 8 48A or later 2 The software can be used by installing GX Developer Version 8 62Q or later 3 The software can be used by installing GX Developer Version 8 68W or later 4 The software can be used by installing GX Developer Version 8 78G or later 5 GX Configurator QP Version 2 29F can be used when connected via USB 4 Software not supported by the Universal model QCPU The following table shows software not supported by the Universal model QCPU GX Explorer Version 7 23Z or later Table 2 8 Software not supported by the Universal model QCPU Prout Mott SWLIDSC EXP E Version 7 23Z or later GX Converter SW 5C CNVW E a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 13 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 INSTRUCTIONS 3 1 Ins
22. method Reference Files in the standard ROM cannot be Since the Universal model QCPU holds the data in the Section 2 1 2 in the QnUCPU booted to the program memory program memory even when the battery voltage User s Manual Function drops the boot file setting is not necessary Explanation Program Move files with the boot setting from the standard Fundamentals Boot file setting ROM to the program memory to the program e Section 4 6 memory Booting operation is different Replacement method when the parameter valid drive and the boot file setting are set in the High Performance model QCPU is described in Section 4 6 Automatic all data The setting method of this function is In the Boot file tab of the PLC parameter dialog box Section 2 11 in the QnUCPU User s write from memory different select standard ROM for the transfer destination Manual Function Explanation card to standard Note however that the transfer destination of Program Fundamentals ROM program is fixed to program memory Setting by DIP switches is not necessary 4 External communication Table 1 4 Precautions and replacement methods Precaution Replacement method Reference Module service The module service interval time cannot interval time read be read The following frame types cannot be used Use the frame types below MELSEC Q L MELSEC when accessing the Universal model QnA compatible 2C 3C 4C frame Communication
23. of this function refer to Appendix 3 Restrictions on Basic Model QCPU SD92 Universal Model QCPU and LCPU and Alternative Methods in the MELSEC Q L QnA SD93 Programming Manual SFC SD94 Step transition monitoring timer setting SD95 value SD96 SD97 SD98 SD99 SD280 CC Link error Replace these registers with the I O signals Xn0 Xn1 and XnF of the mounted CC Link module SD281 Service processing setting is available for the Universal model QCPU on the PLC system setting tab SD315 Time reserved for communication of the PLC parameter dialog box processing Select Specify service process time for the service processing setting parameter and set the service processing time Other setting methods can be selected as well The Universal model QCPU does not support low speed execution type programs SD430 Low speed scan counter Delete the corresponding section or replace it with the special register for scan execution type programs SD420 The Universal model QCPU does not support low speed execution type programs SD510 Ey speed szecution type program Delete the corresponding section or replace it with the special register for scan execution type number programs SD500 SD528 Current scan time for low speed execution The Universal model QCPU does not support low speed execution type programs SD529 type programs Delete the corresponding sections or replace them with the special registers for scan execution type programs SD520 and SD521
24. the contact MO is on and the value 1 or less is specified in Z1 the device DOZ1 is included in the C device range exceeding the D device range as shown in Figure 4 2 As a result OPERATION ERROR error code 4101 will be detected When the value of Z1 is 1 the device is included in the co ees C device range resulting in an error C device area D device area wo lt W device area Figure 4 2 Device DOZ1 when the value of Z1 is 1 When an error is detected check the index modification value value of Z1 in the above example and remove the error cause Examples of the cases where an error is detected and not detected are shown below a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 41 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Example 2 Detecting OPERATION ERROR error code 4101 Ladder mode List mode eH TE mov Do D1 i x Se ihs 17 AND lt gt DIOZI K5 i 20 LD W2 oe DOZI K10 INC D2 a MDs Digali Rg 25 ANB 26 MOV DO
25. using multi Acknowledge XY assignment Multiple CPU settings Check End Cancel Figure 4 1 PLC system tab b Universal model QCPU The Universal model QCPU supports the double precision floating point operation instructions The operation can be performed either in single precision or double precision depending on the data Therefore Perform internal arithmetic operations in double precision item in the PLC system tab of the PLC parameter dialog box cannot be selected Because of this new function operation results both in single precision and double precision slightly differ between the High Performance model QCPU and the Universal model QCPU if Perform internal arithmetic operations in double precision is selected in the High Performance model QCPU If higher accuracy is required in floating point operations replace the floating point operation instructions as described in 4 However if six or less digits are used as significant digits for the floating point operation instructions replacement is not necessary The single precision floating point operation results in the Universal model QCPU can be used as they are in the system When not replacing instructions make sure that it does not cause any problems in the system 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 TECHNICAL BU
26. 0 K10 M200 a MITSUBISHI ELECTRIC CORPORATION RET 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 Data specified by the CALL P arguments are saved Output string storage address Number of output strings Output module start number N Devices used for the string output processing of the interrupt program 131 are initialized J Yn0 to Yn7 ASCII code gt Yn8 strobe signal and Yn9 in execution flag are all turned OFF 7 The flag to activate the string output processing of the interrupt program is turned ON TECHNICAL BULLETIN Issue No FA A 0001 F Page 22 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Interrupt program The following processing is added to a fixed scan interrupt program 10ms The fixed scan interrupt program outputs ASCII codes from the output module and controls the strobe signal 131 M200 o D204 D202 RST MOY D203 mov KO RST RST RFs YOZO 4200 f mov D203 D206 KO WIDR D200 D207 mov D207 RFs Yozo D206 KI mR fet D206 K2 RST
27. 0011 or earlier If the local device is set to be used in the PLC file tab of the PLC parameter dialog box in the High Performance model QCPU all the programs use the local device in the Universal model QCPU after replacement When the file usability setting is set in the High Performance model QCPU change the setting in the following pages 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 47 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Method of replacing High Performance model QCPU with Universal model QCPU Replacement method varies depending on the settings in the PLC file tab of the PLC parameter dialog box Setting in the PLC file tab Setting in Universal model QCPU Not used is selected Table 4 7 Replacement method No change in parameter setting is required Operation of the Universal model QCPU is the same regardless of the file usability setting in the High Performance model QCPU Use the same file name as the program is selected
28. 1 1 The special register can be used if the serial number first five digits of the Universal model QCPU is 10042 or later Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 58 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU REVISIONS Version Print Date Revision January 2008 First edition e The following modules have been added Q1Z3UDHCPU Q26UDHCPU March 2008 The following chapters and sections have been modified in accordance with the version upgrade of the Universal model QCPU Chapter 1 2 Chapter 2 Section 4 4 e The following modules have been added QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q13UDEHCPU Q26UDEHCPU The following chapters and sections have been modified in accordance with the version upgrade of the Universal model QCPU Chapter 1 1 6 Chapter 2 Section 4 3 4 6 5 1 5 2 e Software listed in Chapter 2 3 Software need to be upgraded for the compatibility May 2008 with the Universal model QCPU have been reviewed and modified e
29. 1 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 2 Error Check Processing for Floating point Data Comparison Instructions 1 Input data check Error check processing for floating point data comparison instructions has been enhanced for the Universal model QCPU Input of a special value 0 nonnumeric unnormalized number or 00 is checked and if any special value are input the CPU module detects OPERATION ERROR error code 4140 When the LDEO ANDEO OREO LDEDO ANDEDG and or OREDO instructions O indicates one of the followings lt gt lt gt lt gt are used in the program OPERATION ERROR error code 4140 can be detected if invalid floating point data exist This occurs even when interlocks are provided using the valid data flag the signal which shows the floating point validity Invalid floating point data are not stored as the result of operations performed in the Universal model QCPU Reasons for those invalid data are considered as follows e The same device is used for storing floating point data and other data such as binary values BCD values and strings Use different devices for storing floating point data and data other than floating point data e Floating point data externally wr
30. 2 yyy M100 J cca SET SETY con SD778 0 Selection of refresh processing during COM instruction execution SH775 P11 SETX Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 54 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 Replacing the RFS instruction If any I O numbers targeted for forced on off are included in the partial refresh range specified by the RFS instruction add subroutine calls for P10 and P11 before and after the RFS instruction P10 and P11 are pointers shown in the program examples in 2 If no I O number targeted for forced on off is included addition of subroutine calls for P10 and P11 is not necessary a When partial refresh for input X is executed by the RFS instruction Add a subroutine call that executes forced input after the RFS instruction J__ a XK H10 me i A subroutine call that t ECALL SETX P10 subroutine ca at executes forced input is added b When partial refresh for output Y is executed
31. 5C QTIU E SWODSC QTCU E GX Developer GX Configulator AD GX Configulator DA GX Configulator SC GX Configulator CT GX Configulator TI Version 8 62Q or later Version 2 05F or later Version 2 06G or later Version 2 12N or later Version 1 25AB or later 7 Version 1 24AA or later 7 Version 1 23Z or later 1 GX Configulator TC Version 1 23Z or later GX Configulator FL SWODSC QFLU E Version 1 23Z or later 1 2 Version 1 23Z or later Version 1 23Z or later Version 1 23Z or later GX Configulator QP SW2D5C QD75P E Version 2 25B or later Version 2 29F or later Version 2 30G or later 5 Version 2 32J or later GX Configulator PT SWI1DS5C QPTU E Version 1 23Z or later Version 1 23Z or later Version 1 23Z or later Version 1 23Z or later GX Configulator AS SW1DSC QASU E Version 1 21X or later 1 Version 1 21X or later Version 1 21X or later Version 1 21X or later GX Configulator MB SW1D5C QMBU E Version 1 08J or later Version 1 08J or later Version 1 08J or later Version 1 08J or later GX Configulator DN SW1D5C QDNU E Version 1 23Z or later Version 1 23Z or later Version 1 24AA or later Version 1 24AA or later MX Component SW3D5C ACT E Version 3 09K or later Version 3 10L or later Version 3 11M or later Version 3 12N or
32. 780 to SM1783 Momentary power failure detection flag for power supply 1 Delete the corresponding sections Momentary power failure detection flag for power supply 2 SM1780 to SM1783 are always off 1 The special relay can be used if the serial number first five digits of the Universal model QCPU is 10042 or later Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 5 2 Special Register List Table 5 2 lists special register not supported in the Universal model QCPU and measures Page 57 58 Table 5 2 Special registers not supported in the Universal model QCPU and measures Name Description Measures The Universal model QCPU does not support the CHK instruction punt isa iiiti For the replacing method of the CHK instruction refer to Section 3 3 SD90 The Universal model QCPU does not support the step transition monitoring timer function SD91 For the replacing method
33. APAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Page 9 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 APPLICABLE PRODUCTS AND SOFTWARE 1 Products need to be replaced for the compatibility with the Universal model QCPU The following tables show products need to be replaced for the compatibility with the Universal model QCPU As for devices not listed in the tables below replacement is not required Web server module Table 2 1 Product need to be replaced Communication modules e QU71WS96 MES interface module e QJ71MES96 1 The Universal model QCPU does not operate normally when the Web server module on which GX RemoteService I is installed is used 2 The Universal model QCPU does not operate normally when an incompatible module version is used ia TE coritrollet network bso ual aoa No restrictions Version 1 03D or later Version 1 06G or later interface board Q80BD J71GP21S SX SI QSI H PCF MELSECNET H interface board optical cable CC Link system master local interface board Used with Q02U Q03UD Q04UDH Q06UDHCPU 09042 or later 10012 or later
34. CPU852 MS Driver S W PPC DRV 02 version 1 01 or later Driver S W PPC DRV 02 version 1 02 or later Driver S W PPC DRV 02 version 1 03 or later e QO6CCPU V e QO6CCPU V B e QI2DCCPU V e Q02CPU e QO2HCPU QO6HCPU QIZHCPU Q25HCPU e Q02PHCPU QO6PHCPU QI2PHCPU Q25PHCPU C Controller module No restrictions Serial number first five digits 10102 or later No restrictions High Performance model QCPU Function version B or later Process CPU No restrictions b For the QO2UCPU Table 2 6 CPU module that can configure a multiple CPU system with Q0O2UCPU CPU module Restrictions Applicable version e Q172CPUN T e Q173CPUN T e Q172HCPU T e Q173HCPU T e PPC CPU852 MS e QO6CCPU V e QO06CCPU V B The multiple CPU high speed main base unit Q3 base unit Motion CPU No restrictions B cannot be used for a main PC CPU module Driver S W PPC DRV 02 version 1 01 or later C Controller module Serial number first five digits 10102 or later a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 12 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Mod
35. Cc 5 5 a 3 D 5 Q v gt D 2 x os x 3 o E lt 3 oO F 3s icf J o E s Q 2 fo z D 2 a Qa amp D 2 D 2 5 ek n a lt Y D oO a T D lt 2 D s Ss D D N s lt Intelligent function UD GO XX module device 4 H 1 Device numbers are represented in hexadecimal Use hexadecimal constants HLI when setting values in the index modification table 2 Start I O numbers are represented in hexadecimal Use hexadecimal constants when setting values in the index modification table 3 Devices B W X or Y can be specified following JLN Set device numbers for B W X and Y as device offset values of each device in the index modification table For example if J10 Y220 is specified by the IXDEV or XSET instruction set K10 in D 13 and H220 in D 3 in the replacement program D indicates the start device in the index modification table Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCP
36. ISHI 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 16 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU c Program after replacement e Replace the IX instruction with the ZPUSH instruction and set the contents of index modification table in the to index register e Replace the IXEND instruction with the ZPOP instruction SH400 ZPUSH 200 mov D100 Z0 k_M tt01 i o a z2 O 103 z3 o A z4 c O D105 z5 c_i D106 Z6 Hov D107 z7 HOV D108 z8 HOV D109 z9 HOV D110 Z10 hov D112 z12 MOV D113 213 HOV D114 Z14 mov D115 z15 XIZ2 M62z4 Y24z3 H SET H6Z4 T495Z70 C270Z71 B20Z6 H Hov KO D0z8 X19Z2 40Z3 SH400 ZPoP D200 J Current index register is saved 1 J J Contents of the index modification table are set to the index registers ZO to Z15 1 Modification target J No change required JJ Aa MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7
37. January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 5 Replacement example of the KEY instruction a Example of device assignment Before replacement After replacement If the device numbers in the example above are used for other applications assign unused device numbers instead b Program before replacement MO J Aaa EY X100 K8 D200 M1 Aa MITSUBISHI ELECTRIC CORPORATION Application Device Application Device Numeric input execution instruction MO Numeric input execution instruction MO Input complete flag M1 Input complete flag M1 Input data area D200 to D203 Input data area D200 to D202 ASCII code input signal X100 to X107 ASCII code input signal X100 to X107 Strobe signal X108 Strobe signal X108 Input data area address BIN32 D210 to D211 Input data area 0 address BIN32 D212 to D213 Input data area 1 address BIN32 D214 to D215 Input data area 2 address BIN32 D216 to D217 For shifting input data D218 For converting input data D219 to D220 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 27 58 Title Method of replacing High Performanc
38. KYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Page 46 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU b Universal model QCPU In the Universal model QCPU file usability of the following files cannot be set for each program on the screen opened by clicking the File usability setting button on the Program tab of the PLC parameter dialog box e File register e Device initial value e Comment File usability setting l Fenennane Emeus fergese Dever __ ___tonnent __ MAIN Scan Use PLC file setting v Use PLC file setting v Use PLC file setting reel fem Moare a eee ee on M 3 sup2 Scan Use PLC file setting v Use PLC file setting v Use PLC file setting 4 subs Scan Use PLC file setting v Use PLC file setting v Use PLC file setting Scan Use PLC file setting v Use PLC file setting v Use PLC file setting as v ee Figure 4 3 File usability setting 1 The local device file usability setting is also not available for the Universal model QCPU if the serial number first five digits is 1
39. LETIN Issue No FA A 0001 F Page 15 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 3 Program Replacement Examples This section shows program replacement examples for the instructions listed in Section 3 1 Skip this section if instructions listed in Section 3 1 are not used 1 Replacement example of the IX and IXEND instructions A replacement example of program using the IX and IXEND instructions is shown below To save index register data using the ZPUSH instruction a 23 word index register save area is required a Example of device assignment Before replacement After replacement Application Device gt Application Device Index modification table D100 to D115 Index modification table D100 to D115 Index register save area D200 to D222 If the device numbers in the example above are used for other applications assign unused device numbers instead b Program before replacement The modification value set in the LIX vim index modification table is added X1Z2 M6224 Y24723 HA ISo M6Z4 149520 om B2076 ij x1972 4023 Modification target uov Ko Doge No change required Aa MITSUB
40. LLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Page 30 58 2 Floating point operation instructions for the Universal model QCPU Table 4 1 lists floating point operation instructions for the Universal model QCPU Specifications of the single precision floating point operation instructions are compatible with those for the High Performance model QCPU Comparison Table 4 1 List of floating point operation instructions supported in the Universal model QCPU Instruction name Floating point data comparison Instruction symbol Single precision floating point data LDE Double precision floating point data LDED ANDE ANDED ORE ORED Remarks indicates one of the followings 5 lt gt lt gt Data transfer Floating point data transfer EMOV P EDMOV P Four arithmetic operation Floating point data addition E P ED P Floating point data subtraction E P ED P Floating point data multiplication E P ED P Floating point data division E P ED P Data convers
41. M M101 E D100 E200 Example 5 Modified program Example 3 OPERATION ERROR error code 4140 is no longer detected Ladder mode List mode M100 100 LD M100 103 OUT M101 104 LD M101 X 105 AND M101 106 ANDE lt D100 E10 M90 M101 110 LD M101 104 HHE moo E10 moz J ee ad D100 E200 iit 116 OUT M102 E D100 E200 Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 40 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 3 Range Check Processing for Index modified Devices 1 Device range check Error check processing at index modification of devices has been enhanced for the Universal model QCPU Each index modified device range is checked and if the check target device is outside the device range before index modification the CPU module detects OPERATION ERROR error code 4101 Example 1 Detecting OPERATION ERROR error code 4101 by error check processing at index modification of devices HO lt gt DOZT KS s iL D10 In Example 1 when
42. N NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Page 10 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Product MELSECNET H module Table 2 4 Product need to be replaced Network module and serial communication module e QU7ILP21 25 e QU7ILP21S 25 e QU7ILP21G e QU7IBRI11 Serial communication module e QI71C24N e QJ71C24N R2 e QJ71C24N R4 Modem interface module 1 The serial number first five digits of the MELSECNET H module must be 10042 or later if all conditions 1 to 4 described below are satisfied e QJ71CMON Module version compatible with the Universal model QCPU Used with Q02U Q03UD 04UDH Q06UDH d with Built in Eth t t P Q10UDH Q13UDH Q20UDH Q26UDHCPU Used with Builtin Ethernet port QCEU 1 Some restrictions depending on use conditions No restrictions The serial number first five digits 10042 or later 1 A multiple CPU system including Built in Ethernet port QCPU is configured 2 GX Developer or GOT is connected to an Ethernet port of Built in Ethernet port QCPU 3 GX Developer or GOT accesses the CPU module on anot
43. NAGOYA JAPAN Subroutine input data 2 D904 to D907 Floating point data double precision TECHNICAL BULLETIN Issue No FA A 0001 F Page 35 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Program before replacement Ho H Ex Do D2 Doo s D6 D4 3 Program after replacement Mo CALL P10 DO D2 D6 CALL PH D6 D4 D6 FEND P10 SM400 TO FDO D900 ECON FDI D904 EDs D900 D904 D908 ee D908 FD2 RET P11 SM400 ECON FDO D900 ECON FDI D904 ED D900 D904 D908 ig D908 FD2 RET a 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 D6 D6 J J j J j A subroutine program for multiplication using the Y double precision floating point operation instruction J J J A subroutine program for addition using the 7 double precision floating point operation instruction J TECHNICAL BULLETIN Issue No FA A 0001 F Page 36 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 201
44. NAMI 5 CHOME HIGASHI KU NAGOYA JAPAN TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 8 SFC Step transition monitoring timer Page 8 58 Table 1 8 Precautions and replacement methods Precaution The step transition monitoring timer is not supported Replacement method Change the program as described in Appendix 3 1 in the MELSEC Q L QnA Programming Manual SFC Reference Section 4 6 and Appendix 3 1 in the MELSEC Q L QnA Programming Manual SFC SFC operation mode setting The periodic execution block setting is not supported Change the program as described in Appendix 3 2 in the MELSEC Q L QnA Programming Manual SFC Section 4 7 4 and Appendix 3 2 in the MELSEC Q L QnA Programming Manual SFC An operation mode at double block START cannot be selected Fixed to WAIT Section 4 7 5 in the MELSEC Q L QnA Programming Manual SFC An operation mode at transition to active step cannot be selected Fixed to TRANSFER Section 4 7 6 in the MELSEC Q L QnA Programming Manual SFC SFC program for program execution management SFC programs for program execution ma
45. OPORSTUVWXYZ DO ADRSET DO D20 The strings stored in DO or later are output to Y100 to Y108 CALLP P1 D20 H100 J fel J An execution of interrupt program is enabled FEND Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Date of Issue January 2008 Ver F July 2011 Page 21 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Subroutine program e In the subroutine program the data for outputting ASCII codes using a fixed scan interrupt program 10ms are set to work devices Also the flag for activating the processing in the fixed scan interrupt program is turned on e Specify the following arguments for the subroutine program First argument Output string storage address Input Second argument Output module start Y number Input Pi su400 P_ oy FDO SH701 LEN D200 SH701 pf po k mov FDI Hoy K pK poy KO HOV D203 ts ff Y0z0 SET D200 D202 D202 D203 D204 D205 D206 Z0 K2Y0Z0 Y8Z0 9Z
46. PU to link module selects whether to write data to the link module Indicates operative network or standby network MELSECNET H At refresh from link module to CPU selects module 3 whether to read data from the link module information At refresh from CPU to link module selects whether to write data to the link module Indicates operative network or standby network MELSECNET H At refresh from link module to CPU selects module 4 whether to read data from the link module information At refresh from CPU to link module selects whether to write data to the link module Replace the relay with the I O signals Xn0 Xn1 and XnF of the mounted CC Link module CC Link error To the next page a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 56 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Table 5 1 Special relay not supported on the Universal model QCPU and measures continued Number Name Description Measures The Universal model QCPU does
47. QCPU cannot use the parameters in the standard ROM 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 51 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 7 External Input Output Forced On Off Function 1 Differences between the High Performance model QCPU and Universal model QCPU a High Performance model QCPU External input output can be forcibly turned on off on the screen opened by selecting Online Debug Forced input output registration cancellation in GX Developer b Universal model QCPU If the serial number first five digits is 10041 or earlier the external input output forced on off function cannot be used External input output can be forcibly turned on off by using the replacement program described below 2 Method of replacing High Performance model QCPU with Universal model QCPU As shown in Figure 4 4 add program names SETX and SETY in the Program tab of the PLC parameter dialog box lt Before replacement gt lt After r
48. TECHNICAL BULLETIN Issue No FA A 0001 F Page 1 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Thank you for your continued support of Mitsubishi programmable controllers MELSEC Q series This bulletin provides detailed information on how to replace the High Performance model QCPU with the Universal model QCPU For the method of replacing the Basic model QCPU with the Universal model QCPU refer to the latest version of the technical bulletin FA A 0054 Note that the reference manuals or the references described in this bulletin are information as of July 2011 Contents GENERIC TERMS ccesssssssssssssssscscscscsescscscscscscscscscscscscscecscscecsescucscscscscscececscscececssecscsesessscacucacacecacesacesecasecececaceceeaceeeseeeeeeees 1 1 PRECAUTIONS FOR REPLACEMENT a sascstscsesesescsesesesesecestiesesesesedesestiesesesesedeceseiesesnseseteuestieseieveuetouestleseuetenetaseesees 2 2 APPLICABLE PRODUCTS AND SOFTWARE ccccceecessesssessseseeeseeeesesesssesesssesesssesesseessesesesesesssasssssseeseeseeseeeeeeees 8 3 INSTRUCTIONS serrian iniia ieit AAO ER OOTO OOOO OOO OAOE 11 3 1 Instructions not Supported in the Universal Model QCPU and Replacing Metho
49. TING D206 K3 M200 Z0 K2Y0Z0 Y8Z0 Y9Z0 K10 Z0 D204 K2 0Z0 K8 DY8Z0 DY8Z0 D206 D206 D204 a MITSUBISHI ELECTRIC CORPORATION IRET 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 The following signals are all turned OFF when all strings are output Y n0 to Yn7 ASCII code Yn8 strobe signal Yn9 in execution flag Status 0 One character is extracted from the output string using the MIDR instruction and output to the Y module The strobe signal is turned OFF for 10ms Status 1 The strobe signal is turned ON for 10ms Status 2 The strobe signal is turned OFF for 10ms The status value is incremented by one Status 3 The status value is returned to 0 since the output processing of one character is completed The next character is extracted TECHNICAL BULLETIN Issue No FA A 0001 F Page 23 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 Replacement example of the CHKST and CHK instructions In the example below if the replacement program for the CHKST and CHK instructions d
50. U Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU a Program before replacement X10 Y40 M100 D25 0 oli 0 b Program after replacement SM400 H O e w mov ec ww MOV e w mov mov ec ww mov ec w MOV mov ec w mov e IXSET P118 H10 H40 K100 K25 H108 K118 D1 5 Page 18 58 data register D link register W and pointer P are set to the index The device offset values for input X output Y internal relay M modification table starting from DO The device offset values specified gt Dy the IXDEV and IXSET instructions are set to the index modification table starting from DO 7 a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Page 19 58 Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Replacement example of the PR instruction The number of output characters can be switched by the on off status of SM701 a Example o
51. U Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Page 2 58 1 PRECAUTIONS FOR REPLACEMENT This chapter describes the precautions for replacing the High Performance model QCPU with the Universal model QCPU and the replacement methods 1 System configuration Use of AnS A series module Table 1 1 Precautions and replacement methods Precaution AnS A series modules are not supported Replacement method Use Q series modules Reference GOT GOT900 series cannot be connected Use GOT1000 series Programming tool connection Applicable products and software Applicable USB cables are different e High Performance model QCPU A B type e Universal model QCPU A miniB type Products and software compatible with the Universal model QCPU must be used Use USB cables of A miniB type Or use USB conversion adapters of B miniB type Products need to be replaced for the compatibility with the Universal model QCPU and software need to be upgraded for the communication with the Universal model QCPU are described in Chapter 2 Chapter 2 Multiple CPU system Redundant power supply system f To configure a multiple CPU system CPU modules compatible with the Universal model QCPU must be used CPU modules compatible with the Universal model QCPU are described in Chapter 2 Chapter 2 In a multiple CPU system using the Motion CPU an e
52. ace the CHKST and CHK instructions with the CALL instructions so that a subroutine program is called e One CALL instruction is required for each device specified as check condition before the CHK instruction In the program before replacement shown in b four CALL instructions need to be added since there are four check conditions before the CHK instruction e Device number and contact number of X devices check condition are specified in each CALL instruction e Contact number is used to display failure number when a failure is detected TO F200 CALL PO H100 KI y F200 CALL PO L H102 K2 7 F200 CALL PO H104 K3 7 F200 CALL PO H106 K4 7 FEND a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 25 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Subroutine program e In the subroutine program a failure status is checked using a failure detection ladder pattern e Ifa failure is detected a failure number is stored in D200 and the annunciator F200
53. by the RFS instruction Add a subroutine call that executes forced output before the RFS instruction M100 s La e S P1 SM 1 A subroutine call that executes forced output is added RFS Y7 H10 5 Restrictions Replacements described in 2 to 4 do not apply in the following cases Input and output targeted for forced on off are referred to or changed using the direct input device DX direct output device DY e Input and output targeted for forced on off are referred to or changed within an interrupt program Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 55 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 5 SPECIAL RELAY AND SPECIAL REGISTER The Universal model QCPU does not support the special relay and special register described in Section 5 1 and 5 2 Replace them using the method described in the following table or delete the corresponding sections 5 1 Special Relay List Table 5 1 lists special relay not supported in the Universal model QCPU and measur
54. ce range check at index modification When a device number exceeds a setting range due to index modification OPERATION ERROR error code 4101 is detected Deselect the Check device range at indexing checkbox in the PLC RAS tab of the PLC parameter dialog box so that checking is not performed Section 3 17 in the QnUCPU User s Manual Function Explanation Program Fundamentals Section 4 3 Program execution type Low speed execution type programs are not supported Use scan execution type programs or fixed scan execution type programs Section 2 10 in theQnUCPU User s Manual Function Explanation Program Fundamentals A program execution type cannot be changed by remote operation Use instructions for switching program execution types such as PSTOP POFF and PSCAN Section 2 10 5 in the QnUCPU User s Manual Function Explanation Program Fundamentals Latch setting If latch ranges of internal user devices are specified the processing time is added in proportion to the device points set to be latched For example if 8K points are latched for the latch relay L the processing time is 28 6us The latch function of the Universal model QCPU is enhanced 1 Large capacity file register R ZR 2 Writing reading device data to the standard ROM SP DEVST and S P DEVLD instructions 3 Latch range specification of internal devices Change the latch method to the metho
55. d described in 1 to 3 above according to the application e Section 3 3 in the QnUCPU User s Manual Function Explanation Program Fundamentals e Section 4 4 To the next page a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Interrupt program Page 4 58 Table 1 2 Precautions and replacement methods continued Precaution The interrupt pointer 149 for the high speed interrupt function is not supported Replacement method Consider the use of interrupt pointers for fixed scan interrupt 128 to I31 Interrupt counter is not supported Check the numbers of executions for interrupt programs on the Interrupt program monitor list screen of GX Developer Reference Section 3 13 2 and 4 2 11 in the QnUCPU User s Manual Function Explanation Program Fundamentals The interrupt pointer 132 to 140 for an error is not supported SCJ instruction ZPUSH instruction File usability setting for each prog
56. device numbers instead When the advance end detection sensor input performs a failure detection of Xn assign device numbers for the retract end detection sensor input and the failure detection output as described below Advance end detection sensor input Xn Retract end detection sensor input Xnt 1 Failure detection output Yn b Program before replacement TO j CHKST X100 X102 X104 X106 HH Hae ct a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 24 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU c Program after replacement In the sequence program after replacement two programs are required as shown below lt Before transition gt lt After transition gt Main routine program f Main routine program l L PO program 1 Main routine program Initial processing An failure status is checked and if a failure is detected a failure number is stored in D200 e Repl
57. ds 0 cececeseeseceseeeceeseeeeeeeeeeeeeeees 11 3 2 Replacing Programs Using Multiple CPU Transmission Dedicated Instructions cscssssseseceseteeeeeeseteeeeeeeeaceeeeees 12 3 3 Program Replacement Examples 3 0 cnnnaccdnnasannnanacnndnnninaianinniantnnianannaandannannad 13 A FUNG TON fa rere rere ener re rere rere rere rere rererererererererererererererererere vert rerererereretererererererererertrertrerererererererererererererererererererererrerere 29 4 1 Floating point Operation Instructions 0 seeeesesesseseseeeseeeseseseecseseseseeecacseseeecacsesesecasscseseseeaeacseeeracseueeraeaeeeeeseraeetes 29 4 2 Error Check Processing for Floating point Data Comparison Instructions sssssesesseeeseeeeeeeeeseeeeseeeaeseeeeeeeraceees 36 4 3 Range Check Processing for Index modified Devices cccccesesseseseeseesesseseceseeeseccseeseseeeeseesesesseeesceasseeseseeseeeaeaes 40 AA Device Latch PuiMun eic5ese cse c5e5e50scseponeecacacscocatovatessvevaves stovsdosavesavossuevadesscovaveesvovocosouodovodicocouos sce ovvavaesvassusenvorsusesteeaess 43 4 5 File Usability Setting ivcstss i itsshsstdecedececscedesadevesestdeesds seieetinstdnetin inaia uaira eredni niner a eiieeii isai trenine tiraire tintis 45 4 6 Parameter valid Drive and Boot File Setting ceeeseeseeeeseseeeeseseeeeeesescseseeecseseseecacseeeseseeaeseneeesacaeseeeraeaeeeeearaeeees 48 4 7 External Input Output Forced On Off FUNCtion cececcecssesseseseeseseeses
58. e model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU c Program after replacement In the sequence program after replacement two programs are required as shown below lt Before transition gt lt After transition gt Main routine Main routine program program Sa aca Initial processing P2 Subroutine l program l ASCII code is added to the input data area RET END 1 Main routing program e Set 0 in the input data area on the rising edge of the execution instruction M0 in the program below and initialize the program e Execute the CALL instruction on every rising edge of the strobe signal X108 in the program below so that a subroutine program is called e In the subroutine program input codes are added to the input data area and the completion status is checked e Pass the following data to the subroutine program at the execution of the CALL instruction e ASCII code input value from the input module Xn0 to Xn7 e Number of digits to be input e Indirect address of the input data area Use the ADRSET instruction to acquire the indirect address for the input data area e Bit devices to be turned on when input is completed ADRSETP D200 D210 MOVP KO D200
59. eescseesesecsesecsesecseeeeseeeeseeseseeececsenecseeseeeaeeeeaeaes 51 5 SPECIAL RELAY AND SPECIAL REGISTER 0 ssesesssesesesesesenesenenenenenenenenenenenenenenenensevavesasevevesasavevassenenenenenenenenes 55 Oil special Relay Mist sa Mastic hea cps E T Sues sesa L E E E EE E ees 55 5 2 Special Register List sannkacahanaindesacnhnushaadiahaananwavwanh awn hncamnanhnnsakanaunan ta 57 REN TIONG inan aAA cosets tes mets cess poss stes mcs cess toss cies nce cece tose TOO ANA cua fo veesbate ea voca sits vote ANAE 58 GENERIC TERMS Description Generic term for QO2UCPU QO03UDCPU Q04UDHCPU QO6UDHCPU QIO0UDHCPU Universal model QCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU Q03UDECPU Q04UDEHCPU QO06UDEHCPU QIOUDEHCPU Q13UDEHCPU Q20UDEHCPU and Q26UDEHCPU Generic term for Q03UDECPU Q04UDEHCPU Q06UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU and Q26UDEHCPU Generic term for QO3UDCPU Q04UDHCPU QO06UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU and Q26UDHCPU Aa 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 Built in Ethernet port QCPU QnUD H CPU TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCP
60. els QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Software need to be upgraded for the compatibility with the Universal model QCPU The following table shows software need to be upgraded for the communication with the Universal model QCPU As for software not listed in the table below version upgrade is not required The latest version can be downloaded from the MELFANSweb Table 2 7 Software need to be upgraded for the compatibility with the Universal model QCPU Version compatible with the Universal model QCPU Used with QO3UDE Q04UDEH Q06UDEH Q13UDEH Q26UDEHCPU Version 8 68W or later Version 2 05F or later Version 2 06G or later Version 2 17T or later Version 1 25AB or later Version 1 24AA or later Version 1 23Z or later Used with Q02U Q03UD Q04UDH Q06UDHCPU Version 8 48A or later Version 2 05F or later Version 2 06G or later Version 2 12N or later Version 1 25AB or later Version 1 24AA or later 1 Used with Q10UDH Q20UDH Q10UDEH Q20UDEHCPU Version 8 78G or later Version 2 05F or later Version 2 06G or later Version 2 17T or later Version 1 25AB or later Version 1 24AA or later Version 1 23Z or later Software Used with Q13UDH Q26UDHCPU SW8D5C GPPW E SW2D5C QADU E SW2D5C QDAU E SW2D5C QSCU E SWODSC QCTU E SW1D
61. eplacement gt Fixed scan Fixed scan Program name Execute type ni Program name Execute type ri 4 MAIN Scan 4 SETX Scan gt es 2 man 3 sus 4 SETY x moe x vv Figure 4 4 Modification in the Program tab of the PLC parameter setting The following table shows the program setting of the SETX and SETY Table 4 10 Program setting of SETX and SETY Execution type Position where program is added SETX Start of Program setting No 1 SETY End of Program setting Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 52 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Example Forcibly turning X40 X77 and X7A on and X41 and Y7B off The programs SETX and SETY turns on or off the X and Y devices which have been registered for forced on off using the external input output forced on off function at each scan using the SET and RST instructions High Performance model QCPU Forced input output registrati
62. eplacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU c Program after replacement In the sequence program after replacement three programs are required as shown below lt Before transition gt lt After transition gt Main routine Main routine program program bee ee ee ee Pil Subroutine program Bf interrupt program Bi ei p A A A 1 Main routine program Output strings and output string storage address are set Initial processing The strings stored in DO are output e Replace the PR instruction with the CALL instruction so that a subroutine program is called e Output string storage device D0 in the program below cannot be specified directly with the CALL instruction Use the ADRSET instruction to acquire the indirect address for the CALL instruction e Y device Y 100 in the program before replacement shown in b cannot be specified directly as output Y number with the CALL instruction Specify the output Y number in integer e An interrupt program is used to output character codes via the output module Enable the execution of interrupt program using the EI instruction MO Y109 n i MOV ABCDEFGH I JKLMN
63. er are not supported SM1000 to SM1255 SD1000 to SD1255 Using GX Developer A series compatible special relay and special register can be replaced with the Universal model QCPU compatible special relay and special register Note however that the ones which are not compatible with the Universal model QCPU are replaced with SM1255 and SD1255 Modify programs as needed Appendix 2 and Appendix 3 in the QCPU User s Manual Hardware Design Maintenance and Inspection Processing time Scan time and other processing times are different Modify programs as needed checking the processing timing 1 The local device file usability setting is also not available for the QO2UCPU QO3UDCPU Q04UDHCPU and QO6UDHCPU if the serial number first five digits is 10011 or earlier a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 5 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Drive and file Table 1 3 Precautions and replacement methods Precaution Replacement
64. es Table 5 1 Special relay not supported in the Universal model QCPU and measures Number Name Description Measures The Universal model QCPU does not support the CHK instruction For the replacing method of the CHK instruction refer to Section 3 3 The Universal model QCPU does not support the step transition monitoring timer function For the alternative method of this function refer to Appendix 3 Restrictions on Basic Model QCPU Universal Model QCPU and Step transition monitoring timer start LCPU and Alternative Methods in the MELSEC Q L QnA Programming Manual SFC CHK detection Operation of SD250 is not necessary The Universal model QCPU always Largest mounted I O number read stores the largest mounted I O number in SD250 Delete the corresponding parts Indicates operative network or standby network These are special relays for the simple dual structured network function Since the Universal model QCPU does not support this function there is MELSECNET H At refresh from link module to CPU selects module 1 whether to read data from the link module no application for these special relays Delete the corresponding sections information At refresh from CPU to link module selects whether to write data to the link module Indicates operative network or standby network MELSECNET H At refresh from link module to CPU selects module 2 whether to read data from the link module information At refresh from C
65. etects a failure a failure number contact number coil number is stored in D200 and the annunciator F200 is turned on a Example of device assignment Before replacement After replacement Application Device gt Application Device Advance end detection sensor input 1_ X100 Advance end detection sensor input X100 Retract end detection sensor input 1 X101 Retract end detection sensor input 1 X101 Advance end detection sensor input2 X102 Advance end detection sensor input 2 X102 Retract end detection sensor input2 X103 Retract end detection sensor input 2 X103 Advance end detection sensor input3 X104 Advance end detection sensor input 3 X104 Retract end detection sensor input 3 X105 Retract end detection sensor input 3 X105 Advance end detection sensor input4 X106 Advance end detection sensor input 4 X106 Retract end detection sensor input 4 X107 Retract end detection sensor input 4 X107 Failure detection output 1 Y100 Failure detection output 1 Y100 Failure detection output 2 Y102 Failure detection output 2 Y102 Failure detection output 3 Y104 Failure detection output 3 Y104 Failure detection output 4 Y106 Failure detection output 4 Y106 Coil number failure type detected D100 Contact number D101 Failure number D200 Failure detection display F200 For index modification ZO If the device numbers in the example above are used for other applications assign unused
66. f device assignment Before replacement If the device numbers in the example above are used for other applications assign unused device numbers instead Application Device Output string DO to D3 ASCII code output signal Y100 to Y107 Strobe signal Y108 In execution flag Y109 b Program before replacement MO Y109 After replacement Application Device Output string DO to D3 ASCI code output signal Y100 to Y107 Strobe signal Y108 In execution flag Y109 Output string storage address BIN32 D20 to D21 Output string storage address BIN32 D200 to D201 Used for sub routine programs and interrupt programs Number of output characters D202 Output module start Y number D203 Character extraction position D204 Number of extracted characters D205 String output status value D206 Result of string extraction by the MIDR D207 instruction String output in execution flag M200 For index modification RST SM701 SHOY ABCDEFG DO PR DO Y100 a 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 ZO The number of output strings is set to variable Output untill ASCII code 00H appears The strings stored in DO or later are output to Y100 to Y108 TECHNICAL BULLETIN Issue No FA A 0001 F Page 20 58 Title Method of r
67. g device data to from the standard ROM with the SP DEVST and S P DEVLD instructions or e specifying a latch range of internal user devices 3 Details of each latch method a Large capacity file registers R ZR File register size is larger and processing speed is higher in the Universal model QCPU compared to the High Performance model QCPU To latch a lot of data many device points use of a file register is effective Table 4 5 shows capacities of file registers for each CPU module Table 4 5 File register size available for each CPU module QO6UDHCPU and 06UDEHCPU 384K points Q13UDHCPU and 13UDEHCPU 512K points Q26UDHCPU and 26UDEHCPU 640K points 1 Use of a memory card can increase the number of points b Writing reading device data to from the standard ROM SP DEVST S P DEVLD instructions Device data of the Universal model QCPU can be latched using the SP DEVST and S P DEVLD instructions instructions for writing reading data to from the standard ROM Utilizing the standard ROM allows data backup without batteries This method is effective for latching data that will be updated less frequently Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 44 58 Title Method of replacing High Performance model QCPU with Univer
68. he standard ROM into the program memory Delete all settings for program in the Boot file tab of the PLC parameter dialog box Settings in the Boot file tab Type Transfer from Transfer to Data other than program and parameter Memory card Program memory Or Type Transfer from Transfer to Data other than program and parameter Standard ROM Program memory Data other than program and parameter indicate initial device value device comment and label program Delete all settings for data other than program and parameter in the boot file setting Since these data can be used even not stored in the program memory it is not necessary to transfer them to the program memory Or change the setting so that they are stored in the program memory in the first place e Delete all settings for data other than program and parameter in the Boot file tab of the PLC parameter dialog box e Move the data other than program and parameter into the program memory as needed 1 Since the Universal model QCPU holds the data in the program memory even when the battery voltage drops the boot file setting is not necessary 2 The Universal model QCPU searches for parameters in order of in the program memory in the memory card and in the standard ROM Then the module uses the parameters found first If parameters exist in the program memory or the memory card the Universal model
69. her station via the MELSECNET H module controlled by another CPU 4 The access target on another station is A QnA series CPU module Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 11 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 CPU modules that can configure a multiple CPU system with the Universal model QCPU CPU modules that can configure a multiple CPU system with the Universal model QCPU are shown below a For the QnUD H CPU or Built in Ethernet port QCPU Table 2 5 CPU module that can configure a multiple CPU system with the QnUD H CPU or Built in Ethernet port QCPU Applicable version Configured with Q13UDH Q26UDH Q03UDE Q04UDEH Q06UDEH Q13UDEH Q26UDEHCPU Configured with Q10UDH Q20UDH Q10UDEH Q20UDEHCPU Configured with 03UD Q04UDH Q06UDHCPU CPU module Restrictions Use the multiple CPU e Q172DCP eee high speed main base unit Moti P otion CPU Q173DCPU No restrictions Q3L DB for a main base unit PC CPU module e PPC
70. ialog box e Delete parameters that exist in the program memory and memory card i e Move the programs with boot setting into the program memory from the standard ROM Change the setting so that programs and parameters are stored in the program memory in the first place instead of booting from the standard ROM e Move the programs and parameters with boot setting into the program memory from the standard ROM e Delete all settings for parameter in the Boot file tab of the PLC parameter dialog box Settings in the Boot file tab Type Program Transfer from Transfer to Standard ROM Standard ROM Program memory Parameter Program memory Settings in the Boot file tab Type Program Change the setting so that the Universal model QCPU can refer to the parameters in the memory card and programs are booted from the memory card to the program memory Move the parameters in the standard ROM into the memory card Transfer from Transfer to Memory card Program memory e Make setting so that programs are booted from the memory card to the program memory in the Boot file tab of the PLC parameter dialog box 2 No boot file setting for parameters Settings in the Boot file tab Change the setting so that the Universal model QCPU can refer to the parameters in the Type Program Parameter Transfer from Memory card Memory card Transfer to Program memory Program memory memor
71. ion Conversion from BIN 16 bit data to floating point data FLT P FLTD P Conversion from BIN 32 bit data to floating point data DFLT P DFLTD P Conversion from floating point data to BIN 16 bit data INT P INTD P Conversion from floating point data to BIN 32 bit data DINT P DINTD P Floating point sign inversion ENEG P EDNEG P SIN operation SIN P SIND P COS operation COS P COSD P TAN operation TAN P TAND P SIN operation ASIN P ASIND P COS operation ACOS P ACOSD P TAN operation ATAN P ATAND P Conversion from angle to radian RAD P RADD P Conversion from radian to angle DEG P DEGD P Square root SQR P SQRD P Exponential operation EXP P EXPD P Natural logarithm operation LOG P LOGD P Floating point data can be converted mutually between single precision and double precision using instructions in Table 4 2 Table 4 2 Floating point data conversion instructions single precision double precision Instruction symbol Single precision to double precision conversion ECON P Double precision to single precision conversion EDCON P Aa 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
72. ion for CHK Failure detection ladder patterns can be changed in a replacement instruction program e Use the PSCAN instruction instead of this instruction when low speed execution type programs are replaced with scan execution type Program low speed execution ae N programs registration instruction e No instruction can be used if low speed execution type programs are replaced with fixed scan execution type programs Check a program execution status on the Program monitor list screen of GX Developer For details refer to Section 3 13 1 in the QNUCPU User s Manual Function Explanation Program Fundamentals Program execution status check instruction It is recommended to use GOT as a numeral input device Section 3 3 5 Numerical key input instruction e Instructions can be replaced using a replacement program Load program from memory card Store all programs to be executed in the program memory The Unload program from memory card Universal model QCPU can neither add programs to the program memory nor change them with other programs during RUN If the capacity of the program memory is not enough store parameters Load Unload amide tite device comments and device initial values in the program memory into the standard ROM or memory card instead Aa MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA
73. ion instructions using subroutine programs The flow of a replacement program described in b can be regarded as one subroutine program Create subroutine programs for each floating point operation instruction and then replace the original floating point operation instructions with the CALL P instructions so that the corresponding subroutine program is called With this method changes in the program are minimized but the processing for calling subroutine programs increases the scan time In addition since conversions from double precision to single precision are performed for each instruction rounding off errors generated during operations are larger than those in the replacement program described in b Example Replacing the floating point operation AxB C Using a subroutine program 1 Device assignment Before replacement After replacement Application Device Data type gt Application Device Data type Data A DO to D1 Data A DO to D1 Data B D2 to D3 Floating point data Data B D2 to D3 Floating point data Data C D4 to D5 single precision Data C D4 to D5 single precision Operation result D6 to D7 Operation result D6 to D7 Subroutine input data 1 D900 to D903 Subroutine operation D908 to D911 result a 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
74. ister D from 8K points to 2K points and using the file register ZR instead when the QO6UDHCPU is used Table 4 6 Differences between before and after moving latch points of the data register D to the file register ZR Before After 2048 2K points Latch points for data register D 8192 8K points 6k point dtofil iiei points are moved to file register Data register D Latch range File register ZR Standard RAM Number of devices in the program Additional scan time Number of steps increased 300 steps 1 Indicates the time required additionally when file register data are stored in the standard RAM a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 45 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 5 File Usability Setting 1 Differences between the High Performance model QCPU and Universal model QCPU a High Performance model QCPU In the High Performance model QCPU file usability Use PLC file setting or Not used of the follo
75. itten are invalid Take measures on the external source side so that valid data are written If an error occurs in the floating point data comparison instructions take the above measures Example 1 Detecting OPERATION ERROR error code 4140 with the LDEQ instruction Ladder mode List mode M100 00 LD M100 1 100 EMOY D90 D100 101 EMOV D90 D100 103 OUT M101 104 LD M101 105 LDE lt D100 E10 CH101 109 ORE gt D100 E200 W101 113 ANB 104 Ex D100 E10 M102 114 OUT M102 E gt D100 E200 In the ladder block starting from step 104 the floating point data comparison instructions of steps 105 and 109 are not executed when M101 valid data flag is off However the LDE lt instruction of step 105 and the ORE gt instruction of step 109 are executed regardless of the execution result of the LD instruction of step 104 in the program above Therefore even when M101 is off OPERATION ERROR error code 4140 will be detected in the LDE lt instruction of step 105 if a special value is stored in D100 For the method of avoiding OPERATION ERROR refer to 2 in this section a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 37 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of I
76. iversal model QCPU a Replacing all single precision floating point operation instructions with double precision floating point operation instructions Single precision floating point data occupy two points of word device per data On the other hand four points are required per double precision floating point data Therefore all device numbers for storing floating point data need to be reassigned Example Replacing the floating point operation AxB C Changing all floating point data into double precision 1 Device assignment Before replacement After replacement Application Device gt Application Device Data A DO to D1 Data A D DO to D3 Data B D2 to D3 Floating point data Data B D D4 to D7 Data C D4 to D5 single precision Data C D D8 to D11 Floating point data double precision D6 to D7 Operation result Operation result D 2 Program before replacement 3 Program after replacement MO ED DO D4 ED D12 D8 D12 to D15 D2 D6 D4 D6 D12 Operation is performed using double precision floating point D12 data a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of
77. nagement are not supported Section 5 2 3 in the MELSEC Q L QnA Programming Manual SFC SFC control instruction Some SFC control instructions are not supported SFC control instructions not supported in the Universal model QCPU and replacing methods are described in Section 3 1 e Section 4 4 in the MELSEC Q L QnA Programming Manual SFC e Section 3 1 SFC comment readout instruction The following SFC comment readout instructions are not supported e S P SFCSCOMR SFC step comment readout instruction e S P SFCTCOMR SFC transition condition comment readout instruction Section 4 8 in the MELSEC Q L QnA Programming Manual SFC Method of SFC program change SFC program files cannot be written to the running CPU module Programs in SFC Figure can be changed online e Write program data to the CPU module after changing the Universal model QCPU status to STOP e An inactive block in an SFC program can be changed by online change of inactive block 1 This applies to the Universal model QCPU whose serial number first five digits is 12051 or earlier 2 This operation is available for the Universal model QCPU other than the QO2UCPU and whose serial number first five digits is 12052 or later Section 6 6 in the MELSEC Q L QnA Programming Manual SFC a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 J
78. nal double precision operations in the High Performance model QCPU Table 4 4 shows the comparison between single precision and double precision floating point data Table 4 4 Comparison between single precision and double precision floating point data Single precision floating point data Double precision floating point data Word point required for data retention 2 words 4 words Setting range 2 Bayc 16 0 2 6qycg 128 2A lt 9 0 7 WRayycy 1024 Mantissa part 23 bits 52 bits Precision number of bits Exponent part 11 bits Sign part 1 bit Data comparison Conductive status 5 5us LDE gt LDED gt Instruction processing speed Data transfer Q04UDHCPU Q06UDHCPU EMOV EDMOV Maximum Addition 3 devices E ED SIN operation SIN SIND 0 019us 0 0665us 5 7us a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 32 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 Method of replacing the High Performance model QCPU with Un
79. nd in the standard ROM Then the module uses the parameters found first If parameters exist in the program memory or the memory card the Universal model QCPU cannot use the parameters in the standard ROM 3 The Universal model QCPU ignores the boot file setting for parameters in the standard ROM Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Page 50 58 b When the parameter valid drive is set to the memory card RAM or memory card ROM in the High Performance model QCPU Table 4 9 When the parameter valid drive is set to the memory card RAM or memory card ROM Setting in High Performance model QCPU Setting in the Boot file tab of the PLC parameter dialog box No boot file setting Setting in Universal model QCPU Change the setting so that the Universal model QCPU can refer to the parameters in the memory card e Changes in parameter setting are not required e Delete parameters that exist in the program memory a
80. not support low speed execution type Operation mode for low speed execution type program programs Delete the corresponding parts Normal SFC program execution status The Universal model QCPU supports only normal SFC programs Delete SM331 and SM332 which are used as interlocks or replace them with SM321 Modify the program that the Module ready signal Xn is used as an Program execution management SFC program execution status Access execution flag interlock according to sample programs described in the manual for each module ON for only 1 scan after RUN of low speed execution type programs The Universal model QCPU does not support low speed execution type programs FF fi ly 1 fter R f low speed t OEF for only l scan fter RUN of low speed execution type Delete the corresponding parts or replace them with the special relays for scan execution type programs SM402 and SM403 User timing clock No 5 for low speed execution type programs The Universal model QCPU does not support low speed execution type programs User timing clock No 6 for low speed execution type programs programs User timing clock No 7 for low speed execution type programs Delete the corresponding parts or replace them with the special relays for User timing clock No 8 for low speed execution type programs scan execution type programs SM420 and SM424 User timing clock No 9 for low speed execution type programs The Universal model QCPU d
81. oating point data Data B D2 to D3 Floating point data Data C D4 to D5 single precision Data C D4 to DS single precision Operation result D6 to D7 Operation result D6 to D7 Data A D D10 to D13 Data B D D14 to D17 Floating point data Data C D D18 to D21 double precision Operation result D D22 to D25 2 Program before replacement Mo Ex Do PE i D6 a 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 D6 D6 TECHNICAL BULLETIN Issue No FA A 0001 F Page 34 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Program after replacement MO ECON DO D10 Floating point data are ECON D2 D14 converted from single precision to double precision ECON D4 D18 ED D10 D14 D22 Operation is performed using double precision floating point ED D22 D18 D22 data The floating point operation result EDCON D22 D6 data are converted from double precision to singe precision c Replacing a part of floating point operation instructions with double precision floating point operat
82. oes not support low speed execution type Low speed execution type program executing flag programs Delete the corresponding sections The Universal model QCPU does not support the service interval Module service interval time read measurement function Delete the corresponding sections When outside the range of the file register in the memory card is accessed the Universal model QCPU detects OPERATION ERROR error code Memory card file register access range flag 4101 Programming for detecting errors using this special realy is not necessary Delete the corresponding sections The Universal model QCPU does not support the CHK instruction For the replacing method of the CHK instruction refer to Section 3 3 The Universal model QCPU executes the XCALL instruction on the rising XCALL instruction execution condition specification edge of execution condition as well There is no application for this special CHK instruction priority flag relay Delete the corresponding sections The Universal model QCPU does not support the following instructions e SFC step comment readout instruction S P SFCSCOMR SFC comment readout instruction in execution flag e SFC transition condition comment readout instruction S P SFCTCOMR Delete the corresponding sections Power supply OFF off detection flag The Universal model QCPU does not store redundant power supply system Power supply failure detection flag information in SM1
83. on cancellation Device Set forced ON Cancel it Set forced OFF Update status Clear all Universal model QCPU Program example of SETX w100 Program example of SETY w100 Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 53 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 3 Replacing the COM instruction If the COM instruction is used add subroutine calls for P10 and P11 before and after the COM instruction P10 and P11 are pointers shown in the program examples in 2 When SM775 is on Executes refresh set by SD778 and also the 0 bit of SD778 is off Do not execute I O refresh replacement of the instruction is not necessary a Program before replacement S402 D778 0 Selection of refresh processing during COM instruction execution SH775 b Program after replacement SH402
84. on is regarded as the LD instruction However in the program after modification on the right the same instruction will be regarded as the AND instruction In the program after modification only when both contacts of MO and M1 or M2 turn on the AND lt gt instruction is executed As a result no error will be detected during index modified device range check processing a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 43 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 4 Device Latch Function 1 Overview The device latch function for the Universal model QCPU is more enhanced compared to that for the High performance model QCPU This section describes the enhanced device latch function in the Universal model QCPU 1 The latch function is used to hold device data even when the CPU module is powered off or reset 2 Device data latch methods Device data of the Universal model QCPU can be latched by using a large capacity file register R ZR e writing readin
85. ormance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Page 42 58 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Method of avoiding OPERATION ERROR error code 4101 When the index modified device range does not need to be checked use the method 1 When the index modified device range needs to be checked use the method 2 1 Deselect the Check device range at indexing item in the PLC RAS tab of the PLC parameter dialog box so that the index modified device range will not be checked 2 As shown in the modification examples below connect the contacts of valid data flag in series for each instruction that checks the index modified device range lt Modification example gt Before modification Ladder mode List mode LD LD AND lt gt LD AND lt gt ORB ANB lt gt D10Z1 K5 lt gt D10Z1 K10 MO M1 D10Z1 K5 M2 D10Z1 K10 After modification Ladder mode lt gt D10Z1 K5 Valid data flag List mode LD AND AND lt gt LD AND AND lt gt ORB MO M1 D1021 MO M2 D1021 lt gt D10Z1 K10 K5 K10 In the program before modification on the left the instruction immediately before the AND lt gt instructi
86. ram When the SCJ instruction is used in the Universal model QCPU the AND SM400 or NOP instruction needs to be inserted immediately before the SCJ instruction The number of index registers is increased to 20 for the Universal model QCPU The area for saving the data in the index register with the ZPUSH instruction is increased as well The following file usability setting for each program is not available i e File register e Initial device value e Comment Insert the AND SM400 or NOP instruction immediately before the SCJ instruction when the SCJ instruction is used Increase the save areas used for the ZPUSH instruction as needed When file usability is set modify the program as described in Section 4 5 Section 6 5 1 in the MELSEC Q L Programming Manual Common Instruction Section 7 18 8 in the MELSEC Q L Programming Manual Common Instruction e Section 2 10 in the QnUCPU User s Manual Function Explanation Program Fundamentals e Section 4 5 TO refresh setting for each program TVO refresh setting for each program is not available Use the RFS instruction if T O refresh setting for each program is required MELSEC Q L Programming Manual Common Instruction Usage of a part of the special relay and special register is different Replace the corresponding special relay and special register as described in Chapter 5 Chapter 5 A sereis compatible special relay and special regist
87. s not supported ic The function can be replaced with the programs described in Section 4 7 Note however that replacement method described does not apply in the following cases e Input and output targeted for forced on off are referred to or changed using the direct input device DX and direct output device DY e Input and output targeted for forced on off are referred to or changed within an interrupt program 1 Scan time of each program can be checked on the Program monitor list screen 2 Device test by GX Developer can be performed 3 Applicable to the QO2UCPU QO3UDCPU Q04UDHCPU QO6UDHCPU Q13UDHCPU and Q26UDHCPU if the serial number first five digits if 10041 or earlier e Section 3 11 3 in the QNUCPU User s Manual Function Explanation Program Fundamentals e Section 4 7 Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 7 Switch on the front of the CPU module Switch on the front of the CPU module
88. sal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU c Specifying the latch range of internal user devices Device data of the Universal model QCPU can be latched by specifying a latch range of internal user devices in the same way as for the High Performance model QCPU The ranges can be set in the Device tab of the PLC parameter dialog box Internal user devices that can be latched are as follows e Latch relay L e Link relay B e Annunciator F e Edge relay V e Timer T e Retentive timer ST e Counter C e Data register D e Link register W e If latch ranges of internal user devices are specified in the Universal model QCPU the processing time will increase in proportion to the points of the device to be latched For example if 8K points are latched for the latch relay L the scan time will be 28 6us To shorten the scan time remove unnecessary latch device points to minimize the latch range The scan time will not increase when a latch range of the file register R ZR is specified 4 How to shorten the scan time When data to be latched are stored in a file register R or ZR the processing time is shorter than that for latching internal user device Example Reducing the latch points of the data reg
89. ssue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Example 2 Not detecting OPERATION ERROR error code 4140 with the ANDED instruction Ladder mode List mode ate ior Emov 90 D100 100 EWOY D90 D100 1 bee jos NDE bloo E10 M101 109 OUT M102 M101 104 E Dio E0 m02 In the ladder block starting from step 104 the ANDE lt instruction of step 105 is not executed when M101 valid data flag is off The ANDE lt instruction of step 105 is not executed when M101 is off in the LD instruction of step 104 in the program above Therefore when M101 is off OPERATION ERROR error code 4140 will not be detected even if a special value is stored in D100 Example 3 Detecting OPERATION ERROR error code 4140 in the ANDED instruction Ladder mode List mode 100 100 LD M100 100 EHOV D90 D100 101 EMOV D90 D100 103 OUT W101 Ee p C101 106 ANDE lt DI0O E10 110 ORE D00 E200 M101 H90 114 ANB 104 HEE mo E0 J W102 115 OUT M102 TE gt D100 E200 o In the ladder block starting from step 104 the ANDE lt instruction of step 106 and the OR gt instruction of step 110 are not executed when M101 valid data flag is off However if M90 is on in the LD instruction of step 105 the ANDE lt instruc
90. t in memory Manual Function Explanation Program Fundamentals LED indication priority cannot be set Section 3 20 2 in the QnUCPU LED indication Only LED indication setting at error User s Manual Function priority setting occurrence is supported Explanation Program Fundamentals 6 Debugging Table 1 6 Precautions and replacement methods Precaution The monitoring condition cannot be set Replacement method Use the sampling trace function for checking device data under the specified monitoring condition With this function changes of the specified device data can be recorded at the following timings e at the execution of the specified step e at the rising falling edge of bit devices e when the value of word devices coincide with the setting value e at every specified time settable range 1ms to 5000ms Reference Section 3 11 1 and 3 14 in the QnU CPU User s Manual Function Explanation Program Fundamentals Scan time measurement by GX Developer Time required for executing a part of the program cannot be measured using the scan time measurement function Calculate the time using instruction processing time described in the manual e Section 3 13 3 in the QNUCPU User s Manual Function Explanation Program Fundamentals e Appendix 1 4 in the MELSEC Q L Programming Manual Common Instruction External input output forced on off The external input output forced on off function i
91. the file usability setting in the High Performance model QCPU Aa 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 48 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 4 6 Parameter valid Drive and Boot File Setting 1 Differences between the High Performance model QCPU and Universal model QCPU a High Performance model QCPU The parameter valid drive is specified at the switches on the front panel of the High Performance model QCPU b Universal model QCPU The Universal model QCPU automatically determines the parameter valid drive depending on the existence of parameters in the drive program memory memory card or standard ROM Therefore when replacing the High Performance model QCPU with the Universal model QCPU changing the boot file setting for parameter and or moving files to another drive may be required When replacing the module change the setting in the following pages MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU
92. tion of step 106 is executed Therefore even when M101 is off OPERATION ERROR error code 4140 will be detected in the ANDE lt instruction of step 106 if M90 is on and a special value is stored in D100 For the method of avoiding OPERATION ERROR refer to 2 in this section a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Page 38 58 Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008 Ver F July 2011 Relevant Models QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU 2 Method of avoiding OPERATION ERROR error code 4140 in the floating point data comparison instructions As shown in the modification examples below connect a valid data flag contact to a floating point data comparison instruction is series Use the AND connection for connecting the contact of the valid data flag and floating point data comparison instruction Make sure that there is no vertical line the OR connection between the valid data flag and floating point data comparison instruction lt Modification example 1 gt Before modification E lt
93. tructions not Supported in the Universal Model QCPU and Replacing Methods The Universal model QCPU does not support instructions listed in Table 3 1 and 3 2 Use alternative methods described in the tables For other instructions replacement is not required Table 3 1 Instructions not supported in the Universal model QCPU and alternative methods Instruction Replacing method Reference Iternati tion 3 3 1 Index modification of entire ladder Usgaltermative prograris Section 3 3 1 Pie Change the program so that the device offset values specified by the Section 3 3 2 Modification value specification in f A j IXSET instruction are directly set to the index modification table using the MOV instruction e It is recommended to use GOT as an ASCII code display device ASCH Section 3 3 3 Print ASCII code instruction codes stored in devices are directly displayed as characters on GOT index modification of entire ladder e Instructions can be replaced using a replacement program e It is recommended to use GOT as an ASCII code display device Device comments can be displayed on GOT Print comment instruction e Comment data can be output to a display device in the replacement program of the PR instruction after reading data using the reading device comment data instruction COMRD P Specific format failure check Instructions can be replaced using a replacement program Section 3 3 4 instruction Format change instruct
94. wing files can be set for each program on the screen opened by clicking the File usability setting button on the Program tab of the PLC parameter dialog box e File register e Device initial value e Comment e Local device Q parameter setting PLC name PLC system PLC file PLCRAS Device Program Boot fie SFC 1 0 assignment Program name Execute Fie rectter Device inti Camere aes Scan e Use PLC file setting v Use PLC file setting w Use PLC file setting v Scan ese Use PLC file setting v Use PLC file setting v Use PLC file setting v Scan Not used Use PLC file setting v Use PLC file setting Use PLC file setting Scan Use PLC file setting Scan Use PLC file setting Scan Use PLC file setting 4 Program name Execute type Use PLC file setting v Use PLC file setting v Use PLC fle setting v Use PLC file setting v Use PLC file setting v Use PLC fie setting v Use PLC file setting v Use PLC file setting v Use PLC file setting gt Joo fo fon Joo ro J Bj LEKA KEKAKAKEKEKEKEKEKIKI KEKE KEKEKEKEKEKI CECE KECEKECEKEKI alalalafalalala a File usability setting 1 0 refresh setting Acknowledge XY assignment Multiple CPU settings Default Check End Cancel Figure 4 2 Program tab MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TO
95. xisting auto refresh area and user setting area cannot be used for data communication with the Motion CPU In a redundant power supply system using the Q38RB redundant power supply main base unit and the Q68RB redundant power supply extension base unit the status of the power supply module cannot be stored in the special relays and special registers SM1780 to SM1783 SD1780 to SD1783 The status cannot be displayed on the system monitor For data communication with the Motion CPU use an auto refresh area and user setting area in the multiple CPU high speed transmission area Check the status of the power supply module by the LED on the front of the module Chapter 4 in the QCPU User s Manual Multiple CPU System Section 7 1 in the QCPU User s Manual Hardware Design Maintenance and Inspection MELSECNET H The simple dual structured network function is not supported 1 The serial number first five digits of the Universal model QCPU must be 10041 or earlier Section 7 7 in the Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network a 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 TECHNICAL BULLETIN Issue No FA A 0001 F Title Method of replacing High Performance model QCPU with Universal model QCPU Date of Issue January 2008
96. y card and programs and parameters are booted from the memory card to the program memory Move the parameters in the standard ROM into the memory card e Make setting so that programs and parameters are booted from the memory card to the program memory in the Boot file tab of the PLC parameter dialog box i Settings in the Boot file tab Type Data other than program and parameter Delete all settings for data other than program and parameter in the boot file setting Since these data can be used even not stored in the program memory it is not necessary to transfer Program them to the program memory Or change the setting so that they are stored in the program memory memory in the first place Or e Delete all settings for data other than program and parameter in the Boot file tab of the PLC parameter dialog box Transfer from Transfer to Memory card Transfer from Transfer to Standard ROM Data other than Move the data other than programs and parameters into the program memory as needed program and parameter Program memory Data other than program and parameter indicate initial device value device comment and label program 1 Since the Universal model QCPU holds the data in the program memory even when the battery voltage drops the boot file setting is not necessary 2 The Universal model QCPU searches for parameters in order of in the program memory in the memory card a
Download Pdf Manuals
Related Search
Related Contents
The WombatDialer User Manual snfolc Poêle à granulés Manuel d`installation et d`utilisation Lenco Portable TFT TV DVT-1001 P G G G "取扱説明書" USER MANUAL - Redex Zebra MC3190 VX407C Intelligent PXI Carrier User Manual Copyright © All rights reserved.
Failed to retrieve file