Home
QSCPU Programming Manual (Common Instructions)
Contents
1. S D D S D 3 66 P S D T 11 2 D ae 81 S2 gt D 4 6 8 16 bit P P 5152 D f addition and subtraction SD operations D S D 66 S D f 51 521 D 1 81 2 D 4 6 8 P 11 2 D D 0 D 0 1 D 8 1 S gt 0 1 D 3 6 10 D P s D f D D 1152 D BIN 5144 1 S241 S2 gt 0 1 D 612 32 bit D P D P S1 S2 D addition and subtraction D D SD B operations D 1 D S 1 S gt D 1 D 6 10 D P p P f D D S1 S2 D 141 S1 2 1 S2 gt 0 1 D 4 6 12 D P D P S1 S82 D 2 S1S2 D Es 81 x 82 gt D 1 D 4 16 bit 51 82 D xu multiplication 6 14 anddivision 51 52 D 1 2 L Opere ons DIP 51 52 D Quotient D Remainder 0 1 10 BIN cH 518210 S141 51 62 1 92 lale 32 bit D P S1lS2 D 0 3 D 2 D 1 D f multiplication 6 16 anddivision D D S1 S2 51 1 1 52 1 52 operations Quotient D 1 D Remainder D 3
2. Before DIG zs SS SS Ses bO transfer L11oT1 1 o 1 o o o 1 1 1 o o 1 o After transfer 2 DMOV 5 9 og 1 Transfers 32 bit data at the device designated by s to the device designated by 25 oz Before piss ee rennara a 50 111110 5 0 Transfer DNase 0 b15 gt 0 Y Operation Error 1 There are no operation errors associated with the MOV P or DMOV P instructions 6 4 Data Transfer Instructions 6 29 6 4 1 16 bit and 32 bit data transfers MOV P DMOV P MOV P DMOV P 22 Program Example 1 The following program stores input data from to XB at D8 Ladder Mode SM400 0 NOVP K3XO 08 4 END 2 The following program stores the constant K155 at D8 when X8 goes ON Ladder Mode X8 0 155 08 3 009BH b15 bO D8 0 0 0 0 0 0 0 0 1 0 0 1 1401111 3 following program stores the data from DO and D1 at D7 and D8 Ladder Mode 4 The following program stores the data from to X1F at DO and D1 Ladder Mode 54400 0 Kexo 00 6 30 6 4 Data Transfer Ins
3. nd tnn ded thee dd dad dd 6 29 6 4 1 16 bit and 32 bit data transfers MOV P 6 29 6 4 2 16 bit and 32 bit negation transfers CML P 6 31 6 4 3 Block 16 bit data transfers 6 34 6 4 4 Identical 16 bit data block transfers 6 36 7 APPLICATION INSTRUCTIONS 7 1 7 20 A Logical Operation INStructiOnS 7 2 7 1 1 Logical products with 16 bit and 32 bit data WAND P 7 3 7 1 2 Logical sums of 16 bit and 32 bit data WOR P 7 8 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P 7 12 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P 7 16 8 QSCPU DEDICATED INSTRUCTIONS 8 1to8 4 8 1 Forced Control Stop Instruction 5 8 2 9 ERROR CODE 9 1to9 46 91 Error Code List 9 2 9411 9 3 9 1 2 Reading am error EE 9 3 9 1 3 Error code list 1000 to 1999 nete ceret Ld 9 4 9 1 4 Error code list 2000 10 2999 sates ed ee ER Ee
4. s ns 8 2 When Bit Designation has been Made for Word Device Ladder Mode x 5 2 x6 096 9 s xt 5 b7 b6b5 bo 00 The number of basic steps is 1 when device other than timer counter and annunciator is designated for the OUT instruction 2 5 G 5 2 8 5 g 5 3 Output Instruction 5 17 5 3 1 Out instructions excluding time rs counters and annunciators OUT 5 Devices which can be used by the instruction in question are indicated with circle The types of devices that can be used are as indicated below Internal Devices Device Type System User Constant 3 Others 3 X Y M T ST C 2 SM F D W SD 5 SW 1 Refer to the manual below for the description for the individual devices QSCPU User s Manual Function Explanation Program Fundamentals 2 When T ST and C are used for other than the instructions below only word data can be used Bit data cannot be used Instructions that can be used with bit data LD LDI AND ANI OR ORI LDP LDF ANDP ANDF ORP ORF OUT RST 3 Devices which be set are described in the Constant and the Others columns Applicable devices 1 6 Indicates the function of the instruct
5. Number Meaning SD5 Error classification 6 SD6 Error item 6 SD7 Network No SD8 Station No SD9 System area 1 SD10 System area 2 SD11 System area 3 SD12 System area 4 SD13 System area 5 SD14 System area 6 SD15 System area 7 For details on the error classification and error item refer to the manuals for the connected devices If the QSCPU is connected 350 is stored as the error classification and the error code of the transfer target is stored as the error item Set by When set S Error Corresponding CPU APPENDICES QS Appendix 3 SPECIAL REGISTER LIST App 19 TableApp 3 2 Special register Set b Correspondin Number Name Meaning Explanation Wh d 9 se Individual information corresponding to error codes 00 is stored here SD16 There are the following ten different types of information are stored 2 File name Drive name Number Meaning Example File name SD17 SD16 Drive MAIN QPG SD17 b15 to b8 b7 to bO SD18 File name 41H A 40H M SD19 ASCII code 8 characters 43 49 SD20 20H SP 20H SP 5021 Extension 3 2 us 2 SD22
6. 7 2 Logical sums of 16 bit data WOR 7 8 Logical sums of 32 bit data DOR 7 8 Low speed retentive timer OUT ST 5 19 Low speed timer OUT T 5 19 M Master Control Instructions 5 38 MC Setting the master control 5 38 MCR Resetting the master control 5 38 MEF Pulse operation results trailing edge 5 14 MEP Pulse operation results leading edge 5 14 MOV 16 bit data transfers 6 29 MPP Operation results pop 5 9 MPS Operation results push 5 9 MRD Operation results read 5 9 Multiplication BIN 16 bit i tetto cernes 6 14 BIN 32 bit D 6 16 N NEG Complement of 2 of BIN 16 bit data 6 27 No operation NOPLF PAGE n 5 43 NON exclusive logical sum 7 2 No operation 5 43 Index 3 INDEX NOPLF No operation page break 5 43 Operation error nn 3 10 Operation results inversion INV 5 12 Operation results pop MPP
7. 1 1 1 1 7 4 7 1 Logical Operation Instructions 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P WAND P DAND P 2 When three data set 6 9 1 9 1 62 gt 0 1 O f indicates WAND DAND Command WAND DAND WANDPDANDP 6 62 Data for a logical product operation or the start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the logical product operation result will be stored BIN 16 32 bits Set Constants 62 O O O d Function WAND 1 A logical product operation is conducted for each bit of the 16 bit data of the device designated at 6 and the 16 bit data of the device designated at and the results are stored in the device designated at 15 lt b8 7 lt b0 111111111111111101010 0 1111111 15 lt lt bB 0 0 1011 10 1011 10 10 101111 10 1101 0 0 1 0 0 1 0 0 0 0 10 0 11 0 0 2 For bit devices the bit devices below points designated by digit specification are regarded as 0 in the operation See Program Examples 1 and 2 DAND 1 Conducts a logical product operation on each bit of the 32 b
8. 7 z SEQUENCE 2 Do not place contact instructions before the MCR instruction 3 Use the MC instruction and MCR instruction of the same nesting number as a set However when the MCR instructions are nested in one place all master controls can be terminated with the lowest nesting N number Refer to the Cautions when Using Nesting Architecture in the program example MC MCR Operation Error 1 There are no operation errors associated with the MC or MCR instructions 5 4 Master Control Instructions 5 39 5 4 1 Setting and resetting the master control MC MCR L Progra Ladderdisplayed in the GX Developer ladder mode m Example 1 The master control instruction can be used in nesting The different master control regions are distinguished by nesting N Nesting can be performed from NO to N14 The use of nesting enables the creation of ladders which successively limit the execution condition of the program A ladder using nesting would appear as shown below 1 Ladder of actual operation MC M15 MC 1 16 N2 17 5 40 5 4 Master Control Instructions 5 4 1 Setting and resetting the master control
9. 6 22 Counters OUT 2 5 23 D DAND Logical products with 32 bit data 7 3 Data conversion instructions 6 22 Data conversion instructions List 2 12 DBCD Conversion from BIN data to 8 digit BCD 6 22 DBIN Conversion from BCD 8 digit data BIN data 6 24 DCML 32 bit negation transfers 6 31 DDEC Decrementing 32 bit BIN data 6 20 DEC Decrementing 16 bit BIN data 6 18 Decrementing BIN 16 bit 6 18 BIN 32 bit DDEC 6 20 Designating Data 3 3 Device range check 3 10 Digit designation 3 4 Digit designation of bit devices 3 4 DINC Incrementing 32 bit BIN data 6 20 Division BIN 16 bit data 6 14 BIN 32 bit data D 6 16 DMOV 32 bit data transfers 6 29 DNEG Complement of 2 of BIN 32 bit data 6 27 DOR Logical sums of 32 bit data 7 8 Double word data
10. 3 6 DXNR 32 bit data exclusive NOR operation 7 16 DXOR 32 bit exclusive OR operations 7 12 D BIN 32 bit multiplication operations 6 16 D BIN 32 bit addition operations 6 10 D BIN 32 bit division operations 6 16 D BIN 32 bit subtraction operations 6 10 D BIN 32 bit data comparisons 6 4 D lt gt BIN 32 bit data comparisons 6 4 D lt BIN 32 bit data comparisons 6 4 D BIN 32 bit data comparisons 6 4 D gt BIN 32 bit data comparisons 6 4 D gt BIN 32 bit data comparisons 6 4 E EGF Edge relay operation results pulse trailing edge 5 15 EGP Edge relay operation results pulse leading edge 2 00000 0 5 15 END End sequence program 5 42 End sequence program END 5 42 Exclusive OR iet bee fcx o ge 7 2 F FF Bit device output reverse 5 36 FMOV Identical 16 bit data block transfers 6 36 Forced control stop instruction S QSABORT 8 2 H High speed retentive timer OUTH ST 5 19 High speed timer OUTH
11. 5 12 RST Resetting devices RST 5 29 Resetting the annunciators RST 5 31 S S QSABORT Forced control stop instruction 8 2 Sequence Instruction List 2 5 Series connection ANB 5 7 Series connection AND ANI 5 2 SET Setting devices SET 5 27 Setting the annunciators SET F 5 31 Setting devices 1 0 5 27 Setting the master control MC 5 38 Step Number 3 13 Subset Processing 3 9 Subtraction 16 bit data 6 6 BIN 32 bit data 6 10 T Tamers OUT Dy iin o Uwe 5 19 Trailing edge output PLF 5 33 Types of Instructions 2 2 W WAND Logical products with 16 bit data 7 3 WOR Logical sums of 16 bit data 7 8 Word data 3 4 Word device bit designation 3 3 WXNR 16 bit data exclusive NOR operation 7 16 WXOR 16 bit exclusive OR operations 7 12
12. When not OFF OFF changed ON Y 0 10 When OFF ON changed ON OFF When not OFF OFF changed ON D0 0 0 20 When OFF ON changed ON OFF When OFF 18 OUT When When displayed 370 ON Display completed 240 When not executed 0 55 After Time Up 0 55 When 0 55 executed When added 0 60 When not executed 0 55 After Time Up 0 55 When 0 55 executed When added 0 60 When not executed 0 55 After Time Up 0 55 OUTH When 055 executed When added 0 60 When not executed 0 10 When not changed 0 10 Y When ON ON executed When changed 0 10 OFF ON When not executed 0 20 SET When not changed DO 0 When ON ON executed When changed 0 20 OFF ON When not executed 0 25 F When When displayed 365 executed Display completed 235 Appendix 1 OPERATION PROCESSING TIME Appendix 1 2 Operation Processing Time Conditions Device Processing Time us When not executed 0 10 When not changed Y When OFF OFF executed When changed 0 10 ON OFF When not executed 0 20 When not changed 0 20 D0 0 When ON executed When changed 0 20 RST OFF ON SM When not executed 0 10 When executed 0 10 When not executed 0 25 F When When displayed 115 executed Display completed 87 When not executed 0 40 o When executed 0 50 B When not executed 0 20 8 When executed 0 30
13. 5 9 Operation results pulse Edge relay memory EGF EGP 5 15 Memory MEF 5 14 Operation results push MPS 5 9 Operation results read MRD 5 9 Operation start LD LDI 5 2 OR gt BIN 16 bit data comparisons 6 2 OR lt gt gt lt lt gt BIN 16 bit data comparisons 6 2 OR A contact parallel connection 5 2 OR Dz D lt gt D gt D lt D lt D gt BIN 32 bit data comparisons 6 4 OR inverse ORI 5 2 ORB Ladder block parallel connections 5 7 ORF Pulse parallel connection trailing edge 5 5 ORI contact parallel connection 5 2 ORP Pulse parallel connection leading edge 5 5 Other INStrUCtIONS 5 43 OUT Annunciator output OUT F 5 25 Counters OUT 5 23 High speed retentive timer OUTH ST 5 19 High speed timer OUTH 5 19 Low speed retentive timer OUT ST 5 19 Low speed timer OUT T 5 19 Output O
14. 6 4 OR Ds D lt gt D D lt D lt D gt 6 4 BIN 32 bit multiplication and division operations 6 16 BIN conversions 4 digit BCD to BIN16 bits BIN 6 24 8 digit BCD to BIN32 bits DBIN 6 24 Bit Data iiie ee Leti 3 3 Bit device output reverse FF 5 36 Block 16 bit data transfers BMOV 6 34 Block 16 bit transfers 6 34 C Cautions on Programming 3 10 CML 16 bit negation transfers 6 31 Comparison operation instructions 6 2 Comparison Operation Instructions List 2 9 Comparisons BIN 16 bit data 6 2 Comparisons BIN 32 bit data 6 4 Complement of 2 of BIN 16 bit data NEG 6 27 Complement of 2 of BIN 32 bit data DNEG 6 27 Conditions for Execution of Instructions 3 12 Connection Instructions List 2 6 Contact Instructions List 2 5 Conversion BCD 4 digit to BIN data BIN 6 24 BCD 8 digit to BIN data DBIN 6 24 BIN to BCD 4 digit data BCD 6 22 BIN to BCD 8 digit data DBCD
15. INDEX Index 5 WARRANTY Please confirm the following product warranty details before using this product 1 Limited Warranty and Product Support a Mitsubishi Electric Company MELCO warrants that for a period of eighteen 18 months after date of delivery from the point of manufacture or one year from date of Customer s purchase whichever is less Mitsubishi MELSEC Safety programmable logic controllers the Products will be free from defects in material and workmanship b At MELCO s option for those Products MELCO determines are not as warranted MELCO shall either repair or replace them or issue a credit or return the purchase price paid for them c For this warranty to apply 1 Customer shall give MELCO i notice of a warranty claim to MELCO and the authorized dealer or distributor from whom the Products were purchased ii the notice shall describe in reasonable details the warranty problem iii the notice shall be provided promptly and in no event later than thirty 30 days after the Customer knows or has reason to believe that Products are not as warranted and iv in any event the notice must given within the warranty period 2 Customer shall cooperate with MELCO and MELCO s representatives in MELCO s investigation of the warranty claim including preserving evidence of the claim and its causes meaningfully responding to MELCO s questions and investigation of the problem g
16. 01 11111110 101011 V 0141014 EO 9 f a 02 8 1 _ 31 lt b18b15 60 0111 01 0111110 p41 D40 1 1 10 0 V 1011 WXOR P DXOR P 7 1 Logical Operation Instructions 7 15 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P WXNR P DXNR P 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P DXNR P When two data set gt 0 1 y 1 0 1 o Command WXNR DXNR WXNRP DXNRP f S Data for an exclusive NOR operation or start number of the devices where the data is stored BIN 16 32 bits D Start number of the devices where the exclusive NOR operation result will be stored BIN 16 32 bits Set Internal Devices Constants Oth WXNR 1 Conducts an exclusive NOR operation on the 16 bit data of the device designated by and the 16 bit data of the device designated by 5 and stores the results at the device designated by b15 b8 b7 bO 1101110 1101110 1 0 110 1 0 0 1 XNR 1 QG 1 1 111 0 70 010 0 0 010 0 1 110 1101110 0 1 0 1 0 11011 0101010 2 For bit devices the bit devices below the points designated by digit specification are regarded as in the operation DXNR 1 Conducts an exclu
17. 1 BAT ALM LED is displayed at BATTERY ERROR 9 8 9 1 3 Error code list 1000 to 1999 Error Contents and Cause When performing a parameter I O allocation the intelligent function module could not be accessed during initial communications Corrective Action Reset the CPU module and RUN it again If the same error is displayed again the intelligent function module Corresponding CPU s On error occurring the head CPU module or base unit is faulty x number of the corresponding intelligent Contact your local Mitsubishi function module is stored in the representative common information The intelligent function module CPU 1413 module or base unit is faulty Contact QS your local Mitsubishi representative The intelligent function module CPU 1414 2 9 system module or base unit is faulty Contact QS your local Mitsubishi representative The intelligent function module CPU 1415 Fault of the base unit was detected module or base unit is faulty Contact QS your local Mitsubishi representative A momentary power supply 1500 interruption has occurred Check the power supply QS The power supply went off The battery voltage in the CPU has dropped below stipulated Change the batery S Install a lead connector of the battery 1600 rd CONnSSIOr PENR OEH Check the lead connector of the CPU QS mod
18. dedicated instruction specified in Read the common information of the the program cannot be executed by error using GX Developer check error the specified module step corresponding to its numerical unsupported instruction exists value program error location and as The number of devices for the correct the problem 4003 dedicated instruction specified in the program is incorrect The device which cannot be used by 4004 the dedicated instruction specified in the program is specified 4010 There is no END instruction in the as program Read the common information of the The instruction cannot process the error tenia ne 85 ence 4100 error step corresponding to its QS contained data numerical value program error location and correct the problem The designated device number for data processed by the instruction Read the common information of the exceeds the usable range error using the GX Developer check 4101 Alternatively the stored data or error step corresponding to its QS constants for the devices designated by the instruction exceeds the usable range numerical value program error location and correct the problem 9 1 6 Error code list 4000 to 4999 9 27 a o ao O a a 7 LED Status CPU Error Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Statu
19. 1 MCR NO 1 gt 5 4 1 Setting and resetting the master control MC MCR X1 NO 15 mea X MC NO M15 2 N1 M16 1 lt X3 MC M17 M17 1 lt gt 1 lt gt 5 4 Master Control Instructions 5 41 9 2 gt 2 0 2 SEQUENCE MC MCR END 5 5 Termination Instruction 5 5 1 End sequence program END END END Set Internal Devices OR onstants ers X Function 1 The termination of a sequence program is indicated Execution of the END instruction will cause the safety CPU module to terminate the program that was being executed Sequence program END 2 END instruction is automatically set by the GX Developer during programming Y Operation Error 1 There are no operation errors associated with the END instruction 5 42 5 5 Termination Instruction 5 5 1 End sequence program END NOPLF PAGE n 5 6 Other Instructions 5 6 1 No operation NOPLF PAGE n In the ladder display NOP is not displayed Command NOP po NOPLF PAGE Set Internal Devices Constants Oth 5 E LW Function NOP 1 This is a no operation instruction that has no impact on any operations up to that point i91 2 NOP instruction is used to insert space for debugging a
20. 51 52 LDD lt gt D lt gt 11 2 Conductive status when ANDD lt gt D lt gt 51 52 51 1 51 S2 1 52 3 Non Conductive status when ORD lt gt 51 1 51 S2 1 52 0 lt gt 1152 LDD gt m D gt S1 S2H Conductive status when ANDD gt D gt 11 2 S141 51 gt 2 1 S2 Non Conductive status when ORD gt S141 1 S241 52 BIN I D S1 s2 32 bit data 6 4 LDD lt m D lt 51 52 us Conductive status when ANDD lt D lt 51152 S141 51 S241 S2 Non Conductive status when ORD lt 51 1 51 gt S2 1 52 m D lt 51 52 LDD lt m D lt 511524 Conductive status when ANDD lt D lt 1 S2 51 1 51 lt S2 1 52 3 Non Conductive status when ORD lt 1 1 1 S2 1 52 51 52 LDD gt t D gt Conductive status when ANDD gt D gt 5152 S141 51 S241 S2 Non Conductive status when ORD gt 51 1 51 lt S2 1 52 m D gt 51 52 2 10 2 4 Basic Instructions 2 4 1 Comparison operation instructions 2 4 2 Arithmetic operation instructions Table 2 10 Arithmetic Operation Instructions Execution Category Processing Details Condition iti Number of Basic Steps See for Description 28 gt c 5 2 e ul z o 2
21. 1 E Command NEGP f H Start number of the devices where the data for which complement of 2 is performed is stored BIN 16 32 bits Set Internal Devices Constant e onstants ers Ww Function NEG 1 Reverses the sign of the 16 bit device designated by and stores at the device designated by 16 bits 15 bO 1 0 41014101910 41 0 1 0 11 21846 Sign i1 o o o o o o o o o o o o o o o o conversion _ 45 cR 60 Atr O 21846 execution 2 Used when reversing positive and negative signs 6 3 Data Conversion Instructions 6 27 6 3 3 Complement of 2 of BIN 16 and 32 bit data sign reversal NEG P DNEG P BASIC 2 29 x 2 2 NEG P DNEG P NEG P DNEG P DNEG 1 Reverses the sign of the 32 bit device designated by and stores at the device designated by O 32 bits Before DU excom iB 1 1 1 1 1 1 1 11 218460 Sign i1 o o oj o o o o W o o
22. 2 2 2 BASIC APPLICATION INSTRUCTIONS lt gt gt lt lt gt ag 6 7 Comparison Operation Instruction 6 1 1 BIN 16 bit data comparisons lt gt gt lt lt gt lt gt gt lt lt gt Command Command command ORI 6 6 Data for comparison or start number of the devices where the data for comparison is stored BIN 16 bits Set Constants Boies Q 9 1 Treats BIN 16 bit data from device designated by 6 and BIN 16 bit data from device designated by 62 as normally open contact and performs comparison operation 2 The results of the comparison operations for the individual instructions are as follows Instruction FAM Comparison Instruction SEM Comparison Itl Itl Symbol in Operation Result Symbol 3 Operation Result 62 6 6 62 lt gt 6 lt gt 6 gt 6 gt 62 gt 6 62 Continuity Non continuity 61 62 67 gt 62 lt 6 lt 64 lt 6 62 gt gt lt 3 When 6 62 assigned hexadecimal constant and the numerical value 8 to whose most significant bit b15 is 1 is designated as a constant the value is considered as a negative BIN value in comparis
23. Command FMOV FMOV n Command f FMovP n Data to be transferred or the start number of the devices where the data to be transferred is stored BIN 16 bits Start number of the devices of transfer destination BIN 16 bits n Number of data to be transferred BIN 16 bits Set Internal Devices Constants Oth ers S O n Function 1 Transfers 16 bit data at the device designated by to n points of devices starting from the one designated by b15 bO DIS Hoss bO Transfer 34561 Cc gt On 3456n 2 3456 eue n 2 3456 1 3456 2 When is a word device and is bit device the target for the word device is the number of bits designated by the bit device digit specification If p is designated for K1Y30 the lower 4 bits of the word device designated by 5 are the target 0s b 5 b4b3b2b1b0 Transfer Y3B Y39 Y38 Y38 Y37 Y34 Y33 Y30 S D100 1101111 041 110414 1101111110111 n gt 3 If bit device has been designated for and then should always have the same number of digits 6 36 6 4 Data Transfer Instructions 6 4 4 Identical 16 bit data block transfers FMOV P FMOV P
24. Start number of the devices where the multiplication division operation result will be stored BIN 32 bits Set Internal Devices Constants Oth 5 6 O 62 O O 1 Function 1 Multiplies BIN 16 bit data designated by 6 and BIN 16 bit data designated by 6 and stores the result in the device designated by 9 9 15 b 5 b b31 b16 b15 bO 5678 BIN x 1234 BIN gt 7006652 BIN 2 If is a bit device designation is made from the lower bits K1 Lower 4 bits to b3 Lower 16 bits bO to 615 K8 32 bits bO to b31 3 Values for 6 62 can be designated between 32768 and 32767 BIN 16 bits 4 Judgments whether 6 62 and are positive or negative are made on the basis of the most significant bit b15 for 6 and 62 for and 531 0 Positive 1 Negative 6 14 6 2 Arithmetic Operation Instructions 6 2 3 BIN 16 bit multiplication and division operations P P KP 1 Divides BIN 16 bit data designated by 6 and BIN 16 bit data designated by 63 and stores the result in the device designated by Quotient Remainder 6 62 D NET mU 0 b15 b0 b15 bO 5678 BIN 1234 gt 4 742 BIN 2 If a word device has been used the result of the division operation is
25. and stores the results to D7 Ladder Mode XO 0 099 07 30 0111 011 0 11011 01 110111 0 1 0 1 iB eee eem b8 b7 bO 74 71 10 2 The following program performs an exclusive NOR operation the 32 bit data at 020 and D21 and the data at D10 and D11 when X10 is turned ON and stores the result to 040 and D41 Ladder Mode x10 0 020 DIO D40 Operation 1 b31 b16b15 50 0 12 0 4 XNR M S 7 b31 b16b15 50 pitpio ois111310 101 410 41310 1 1111010 2 o9 EE V 59 D 1 D 92 16515 5 bO lt 41 40 11110 0 0 1010 0 111150 01111 o T amp z x 2 7 1 Logical Operation Instructions 7 19 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P DXNR P QSCPU DEDICATED INSTRUCTIONS Reference Category Processing Details fi section Forced control stop instruction Forced control stop m o oz 5 Ok oo Gz APPENDICES ERROR CODES INDEX S QSABORT 8 1 Forced Control Stop Instruction S QSABORT Command S QSABORT S QSABOR
26. be written as needed in order to control the CPU modules and remote 1 O modules Data stored in the special registers are stored as BIN values if no special designation has been made to the contrary The heading descriptions in the following special register lists are shown in TableApp 3 1 TableApp 3 1 Descriptions of the special register list headings Item Function of Item Number Indicates special register number Name Indicates name of special register Meaning Indicates contents of special register Explanation Discusses contents of special register in more detail Indicates whether the relay is set by the system or user and if it is set by the system when setting is performed Set by S Set by system U Set by user sequence programs or test operations from GX Developer 5 0 Set by both system and user lt When set gt Set by Indicated only for registers set by system When set Every END Set during every END processing Initial Set only during initial processing when power supply is turned ON or when going from STOP to RUN Status change Set only when there is a change in status Error Set when error occurs Instruction execution Set when instruction is executed Request Set only when there is a user request through SM etc Writing to ROM Set when writing to ROM For details on the following items refer to the following manuals Networks Manuals of each network modu
27. 0 00 020 3 0 4181416 11811161419 D20 0 0 0 4 Not changed 7 6 7 1 Logical Operation Instructions 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P WAND P DAND P 3 The following program masks the digit in the hundred thousands place of the 8 digit BCD value at D10 and D11 sixth digit from the end to 0 when XA is ON and outputs the results to from Y10 to Y2B Ladder Mode X0 0 H DANDP 010 HOFFOFFFFF K7Y10 ELI bO T T I T 1 1 T D10 D11 BCD12345678 0 010 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 011 1 0 0 1 1 1 110 0 0 AND ssa H FFOFFFFF 1141111 1111111 0 0 0 0 1 1 111 1111 1 1111111 111111111 11111 Y2F Y2CY2B Y28Y27 Y24 Y23 Y20 Y1F Y1CY1B Y18Y17 Y14 Y13 Y10 Talal Y2B to 1011111110 0101110 0101010 0 11010 01110 1 0111110 011 111 1101010 Not changed N 2 55 EO on a n E a2 lt lt WAND P DAND P 7 1 Logical Operation Instructions 7 7 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P WOR P DOR P 7 1 2 Logical sums of 16 bit and 32 bit data WOR P DOR P When two data are set v 1 v
28. Contact and coil of T Contact and coil of ST Contact and coil of C Present value of T Present value of ST Present value of C D SW SD 3 4 Cautions on Programming Operation Errors Refer to the manual below for how to change the internal user device allocation QSCPU User s Manual Function Explanation Program Fundamentals 2 Device data check Device data checks for the devices used by basic instructions and application instructions in safety CPU module are as indicated below a When using BIN data No error is returned even if the operation results in overflow or underflow The carry flag does not go on at such times either b When using BCD data 1 Each digit is check for BCD value 0 to 9 An operation error is returned if individual digits are outside the 0 to 9 A to range 2 No error is returned even if the operation results in overflow or underflow The carry flag does not go on at such times either 2 z m gt 9 gt lt exe 3 4 Cautions on Programming Operation Errors 3 11 3 12 3 5 Conditions for Execution of Instructions The following four types of execution conditions exist for the execution of safety CPU module sequence instructions basic instructions application instructions and QSCPU dedicated instructions e Non conditional execution Instructions ex
29. D P D P 51 52 D 0 2 f 2 4 Basic Instructions 2 11 2 4 2 Arithmetic operation instructions Table 2 10 Arithmetic Operation Instructions Continued 8 E 5 o amp Execution 9 Category Processing Details M a 5 Condition 5 5 5 E 5 2 INC 1 B D 1 D 2 618 INCP D f DINC DINC D 0 1 0 1 0 1 D 2 620 BIN data DINEE LDINCP 0 increment DEC DEC D D 1 D 2 6 18 DECP DECP D DDEC DDEC D 1 gt 0 1 D 2 6 20 DDECP DDECP 2 4 3 Data conversion instructions Table 2 11 Data Conversion Instructions 2 9 9 5 E 9 Execution Category 5 Processing Details Condition 5 E 2 iti 5 E 5 5 E E oO BCD BCD S D en conversion in BCD BCDP BCDP sip BIN 0 to 9999 Bc 6 22 conversions DBCD _DBCD S D BCD conversion S 1 S D 1 0 39 DBCDP DBCDP S D 1 BIN 0 to 99999999 f BIN BIN S D S BIN conversion D 188 3 BIN BINP t BCD 0 to 9999 f 6 24 conver
30. Operation Error 1 In any of the following cases an operation error occurs the error flag SMO turns ON and the corresponding error code is stored into SDO The device range of n points from or exceeds the corresponding device range Error code 4101 Program Example 1 The following program outputs the lower 4 bits of DO when XA goes ON to Y10 to Y23 in 4 bit units Ladder Mode 0 00 K5 Operation bigs Sone b4b3b2 b1b0 0 1110111014111001111 0111 1 011 1 13 10 Ignored 1 0 1l 1 17 14 110 1 1 Y1B Y18 5 points Transfer 110 11 1 Y1F Y1C 110 1 1 23 20 2 The following program outputs the data at X20 through X23 to D100 through D103 when XA goes ON Ladder Mode 0A 0 K1X20 0100 K4 Operation B f X2F 2 X2B X28 27 X24 X23 X20 store 11011101111110011011111110 execution After execution transfer destination 5 b4 b3 b0 gt 0 0 0 0 0 0 0 0 0 0 0 0 1 111 0 D100 0101010 010 0 0 0 0 010 1 11110 D101 Ignored wn 2 o O 5 52 2 BASIC 4 points 0 0 0 0 0 0 0 011 1 1 0 D102 0 0 010 0 0 0 0 0 0 0 0 1 1 1 0 D103 Filled with 0 FMOV P 6 4 Data Transfer Instructions 6 37 6 4 4
31. When an END 1404 MODULE Module No Off Flash Stop DOWN 1 BAT ALM LED is displayed at BATTERY ERROR 9 6 9 1 3 Error code list 1000 to 1999 Error Contents and Cause Corrective Action Corresponding CPU 1131 1132 1133 126 fault was detected the internal moduls 1137 Please consult your local Mitsubishi QS memory of the CPU module 1141 Service or representative 1142 1143 1146 The operation circuit for sequence Hardware error of the CPU module 1210 processing in the CPU module does not Please consult your local Mitsubishi QS operate normally Service or representative An interrupt request from the module Hardware error of either of the CPU 1311 where interrupt pointer setting has not module or base unit Please consult as been made in the PLC parameter dialog your local Mitsubishi Service or box was detected representative There was no response from the Hardware error of the intelligent function intelligent function module in the module CPU module or base unit is 1401 initial processing expecting a hardware fault Please QS size of the buffer memory of the consult your local Mitsubishi Service or intelligent function module is invalid representative The hardware test of the module installed in the slot indicated by Confirm if the setting of hardware test module number ha
32. 7 1 PLF 7 1 When not executed 0 25 FF Y When executed 4 9 MO 0 20 MC 00 0 0 30 0 10 END Performs error check 8200 NOP 0 10 NOPLF 0 10 PAGE Appendix 1 OPERATION PROCESSING TIME App 5 Appendix 1 2 Operation Processing Time App 6 2 Basic instructions The processing time when the instruction is not executed is calculated as follows 0 10 x Number of steps of each instruction 1 us Instruction Conditions Device Processing Time us he When continuity established 0 40 When no continuity 0 40 When not executed 0 35 AND When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR When continuity established 0 40 When executed When no continuity 0 40 15 When continuity established 0 40 lt gt When no continuity 0 40 When not executed 0 35 AND lt gt When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR lt gt When continuity established 0 40 When executed When no continuity 0 40 When continuity established 0 40 gt When no continuity 0 40 When not executed 0 35 AND gt When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR gt When continuity established 0 40 When executed When no continuity 0 40 When continuity established 0 40 lt When no continuity 0 40 Appe
33. 7 indicates WXOR DXOR Command WXOR DXOR 6 Command WXORP DXOR T Data for an exclusive OR operation or start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the exclusive OR operation result will be stored BIN 16 32 bits Set Internal Devices Constants Oth O Function WXOR 1 Conducts an exclusive OR operation on each bit of the 16 bit data of the device designated by and the 16 bit data of the device designated by 5 and stores the results at the device designated by 5 b8 7 bO OFERTEI XOR b15 b8 7 bO o oa paoa a aaoo 9 11901111 501019011 0111011 1101110 2 For bit devices the bit devices below the points designated by digit specification are regarded as in the operation DXOR 1 Conducts an exclusive OR operation on each bit of the 32 bit data of the device designated by and the 32 bit data of the device designated by 5 and stores the results at the device designated Or Bad sere aes b16b15 0 0111011 1011101110144510111011 XOR 5 1 TE e b16b15 EER b16b15 6 01
34. 9 5 8 2 D 5 2 2 Execution Category Processing Details 1 d 2 5 E e 2 5 17 x 5 19 2 OUT H Device output t E 5 25 SET SET D Set devi 2 5 27 Set device s E 5 31 2 5 29 Output RST Reset device 1 JA 5 31 Generates 1 cycle program pulse at PLS PES D leading edge of input signal 2 5 33 Generates 1 cycle program pulse at PLF PEF trailing edge of input signal FF FF D Reversal of device output f 2 5 36 1 The number of steps may vary depending on the device being used See description pages of individual instructions for number of steps 2 The execution condition applies only when an annunciator F is in use 2 3 4 Master control instructions Table 2 6 Master Control Instructions Execution Category Processing Details Condition 2 gt 9 5 E S See for Description Number of Basic Steps Starts master control Master MC 2 3 Sequence Instruction 2 7 2 3 3 Output instructions 2 3 5 Termination instruction Table 2 7 Termination Instruction Execution Category Processing Details ui Condition Instruction Symbols Number of Basic Steps for Description T
35. K8 designation range 32 points 1 Fig 3 4 Digit Designation Setting Range for 32 Bit Instructions b In cases where digit designation has been made at the source S the numeric values shown in Table 3 2 are those which can be dealt with as source data Table 3 2 List of Numeric Values that Can Be Dealt with as Digit Designation Number of Digits 3 Number of Digits With 32 bit Instructions With 32 bit Instructions Designated Designated K1 4 points to 15 5 20 points 0 to 1048575 K2 8 points 0 to 255 K6 24 points 0 to 16777215 K3 12 points 0 to 4095 K7 28 points 0 to 268435455 16 points 0 to 65535 K8 32 points 2147483648 to 2147483647 3 6 3 2 Designating Data 3 2 3 Using double word 32 bits data When destination D data is a word device The word device for the destination becomes 0 following the bit designated by digit designation at the source 32 bit Instruction Filled with 0 Jl 1 b15 b4 b3 s bO Do 5000000000000 o x1xo D1000 0 0 00 0 0000 0 0 0 Source S data Dal a EE b16 Filled with 0 Fig 3 5 Ladder Example and Processing Conducted d In cases where digit designation is made at the destination D the number of points designated are used as the destination Bit devices below the n
36. SH NA 080628ENG D 1105 MEE s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
37. e TU Oe 2 7 2 54 Master control 2 7 2 39 5 Termination instructions 2 8 2 36 Other instr ctions cedo e e 2 8 24 InstructlOns HA 2 9 2 4 4 Comparison operation instructions 2 9 2 4 2 Arithmetic operation 2 11 243 Data Conversion 2 12 244 Data transfer 2 13 25 Application Instructions 2 14 2 5 1 Logical operation 2 14 26 QSCPU Dedicated nennen nnns 2 16 2 6 1 Forced control stop rnnt 2 16 3 CONFIGURATION OF INSTRUCTIONS 3 1to3 18 3 1 Configuration 3 2 3 2 Designating i ru 3 3 3 241 Using 3 3 3 2222 Using word 16 brts data 3 4 3 2 3 Using double word 32 bits 3 6
38. 0 1 7 12 7 1 Logical Operation Instructions 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P WXOR P DXOR P 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation Y Operation Error 1 There are no operation errors associated with the WXOR P or DXOR P instructions 22 Program Example 1 The following program performs an exclusive OR operation on the data at D10 and D20 when XA is ON and stores the result at D10 Ladder Mode 0 020 010 4 END Operation b15 b8 b7 bO 10 1410610 101106 1 011 0 1 b15 b8 b7 bO 20 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 D10 0 1 1 0 1 1 0 0 0 1 1 0 1 1 0 0 2 The following program compares the bit pattern of the 32 bit data from X20 to X3F with the bit pattern of the data at D9 and D10 when is Ladder Mode Operation 8 1 X38 X37 X84 X33 X30 X2F X2C X2B X28 X27 X24 X23 X20 X3F X20 0111011 0111011 0111011 0111011 011101110111011 0111011 0111011 b16b15 010 09 10111100111111010 0101011111011111111101111011101111101 bobo ae e eere bO 010 09 1111101111010 11010117011100 1111110 1101007111111111
39. 50 ERROR CODE S3G09 NHOHMZJ S3olaNaddv X3QNI 9 1 9 1 Error Code List If an error occurs under one of the following conditions the QS series CPU module uses the self diagnostic function to display error information LED indication and stores it in the special relay SM and special register SD the programmable controller is powered on the programmable controller is reset the programmable controller is switched from STOP to RUN the programmable controller is running If an error occurs when a communication request is issued from GX Developer intelligent function module or network system to the CPU module the CPU module returns the error code 4000 to to the request source The following describes the description of errors which occur in the CPU module and the corrective actions for the errors 1 How to read the error code list The following describes how to read Section 9 1 3 Error code list 1000 to 1999 to Section 9 1 8 Error code list 8000 to 9000 a Error code common information and individual information Alphanumeric characters in the parentheses of the titles indicate the special register numbers where each information is stored b Compatible CPU QS Compatible with the QSCPU 9 1 Error Code List 9 1 1 Error codes Errors are detected by the self diagnostic function of the CPU module or detected during communication with the CPU module The relation be
40. 501420 to 501427 ON Communication error OFF Normal or safety communication with master station The safety refresh communication status with S Status change Safety refresh m CC Link IE the master station is stored 5 1421 Field Network When safety communication with the master qs status of safety EE AUT set station is not set in parameter or own station is master station j ON Safety refresh the master station this bit turns OFF E communication error Safety master SM1700 station interlock OFF Not interlocked When an error is detected and an interlock is ON Interlocked activated this bit turns ON status OFF I O interlock of safety station on CC Link IE Field Safet t Network not X Hs ud br The safety station interlock status is released SM1720 station interlock released by changing this bit from OFF to ON U release request ON interlock of y amg safety station on CC Link IE Field Network released 1 This applies when the serial number first five digits of the CPU module is 13042 or later Appendix 2 SPECIAL RELAY LIST App 15 Appendix 3 SPECIAL REGISTER LIST Special relays SM are internal relays whose applications are fixed in the Programmable Controller For this reason it is not possible to use these registers in sequence programs in the same way that normal registers are used However data
41. 777 indicates D D lt gt D gt D lt D lt gt AND C 6 Command Command 6 62 Data for comparison or start number of the devices where the data for comparison is stored BIN 32 bits Set Internal Devices Constants Oth 62 AE 1 Treats BIN 32 bit data from device designated by 6 and BIN 32 bit data from device designated by 6 as normally open contact and performs comparison operation 2 The results of the comparison operations for the individual instructions are as follows Instruction Instruction tl It Symbol in i Operation Result Symbol in 3 Operation Result 62 6 6 62 D lt gt 6 D lt gt 62 6 D gt 6 gt D gt 6 62 ee Continuity Non continuity Iss 6 62 D lt 6 gt 6 D 6 lt lt D gt 6 62 D gt 6 lt 62 3 When 6 and are assigned by a hexadecimal constant and the numerical value 8 to whose most significant bit 031 is 1 is designated as a constant the value is considered as a negative BIN value in comparison operation 4 Data used for comparison should be designated by a 32 bit instruction DMOV instruction etc If designation is made with a 16 bit instruction MOV instruction etc comparisons of large and small values cannot be p
42. Generic term for the QSOJ65BTS2 8D QSOJ65BTS2 4T QS0J65BTB2 12DT CC Link IE Field Network master local module with safety functions Abbreviation for MELSEC QS series CC Link IE Field Network master local module CC Link IE Controller Network module Abbreviation for the QJ71GP21 SX CC Link IE Controller Network module and QJ71GP21S SX CC Link IE Controller Network module with external power supply function MELSECNET H Abbreviation for the MELSECNET H network system MELSECNET H module Abbreviation for the QJ71LP21 25 QJ71LP21S 25 QJ71LP21G QJ71BR11 MELSECNET H network module Ethernet Ethernet module Abbreviation for the Ethernet network system Abbreviation for the QJ71E71 100 QJ71E71 B5 QJ71E71 B2 Ethernet interface module Intelligent function module Generic term for the CC Link Safety master module CC Link IE Field Network master local module with safety functions CC Link IE Controller Network module MELSECNET H module and Ethernet module 1 2 Generic Terms and Abbreviations 1 3 z a O GENERAL SNOILONYLSNI dO SNOILONUYLSNI SNOILONUYLSNI SNOILONUYLSNI SNOILONUYLSNI NOILdIHOSAC NOILVYENSISANOO QV3 OL MOH 5 5 NOLLWONddV TVH3N39 INSTRUCTION TABLES 2 1 2 1 Types of Instructions The major typ
43. _ Program Example 1 A program which performs pulse conversion on the operation results of and 1 Ladder Mode Xo 2 11 4 SET Wo Le lt POINT Because the MEP and MEF instructions operate according to the operation result immediately before the execution of these instructions they must be used at the same position as the AND instruction The MEP and MEF instructions cannot be used at the position of LD or OR instruction 5 14 5 2 Connection Instructions 5 2 4 Operation result pulse conversion MEP MEF EGP EGF 5 2 5 Pulse conversion of edge relay operation results EGP EGF Command EGP Ed Command dde O PO Edge relay number where operation results are stored bits Set Internal Devices Constanis 27 e 1f Function EGP 1 Operation results up to the EGP instruction are stored in memory by the edge relay V 2 Goes ON continuity status at the leading edge OFF to ON of the operation result up to the EGP instruction If the operation result up to the EGP instruction is other than a leading edge i e from ON to ON ON to OFF or OFF to OFF it goes OFF non continuity status i91 3 The EGP instruction can be used like an AND instruction EGF 1 Operation results up to the EGF instruction are stored in memory by the edge relay V 2 Goes ON at the trailing edge from ON to OFF of the operation result up to the EGF ins
44. lt lt gt 6 2 6 1 2 BIN 32 bit data comparisons D D lt gt D D z D lt gt 6 4 6 2 Arithmetic Operation 6 6 6 2 1 BIN 16 bit addition and subtraction operations 6 6 6 2 2 BIN 32 bit addition and subtraction operations D P D P 6 10 6 2 3 BIN 16 bit multiplication and division operations P 6 14 6 2 4 BIN 32 bit multiplication and division operations D P 6 16 6 2 5 Incrementing and decrementing 16 bit BIN data INC P DEC P 6 18 6 2 6 decrementing 32 bit BIN data DINC P 6 20 6 3 Data Conversion 6 22 6 3 1 Conversion from BIN data to 4 digit and 8 digit BCD BCD P DBCD P 6 22 6 3 2 Conversion from BCD 4 digit and 8 digit data to BIN data BIN P DBIN P 6 24 6 3 3 Complement of 2 of BIN 16 and 32 bit data sign reversal NEG P 6 27 6 4 Data Transfer Instructions
45. 1 1 X2 D0 2 0 OR lt X3 D0 3 ORI X3 D0 3 Devices used as contacts bits Set Internal Devices m onstants thers Ww Function LD LDI 1 LD is the A contact operation start instruction and LDI is the B contact operation start instruction They read ON OFF information from the designated device and use that as an operation result 1 When a bit designation is made for a word device the device turns ON or OFF depending on the 1 0 status of the designated bit 5 2 5 1 Contact Instruction 5 1 1 Operation start series connection parallel connection LD LDI AND ANI OR ORI LD LDI AND ANI OR ORI AND ANI 1 AND is the A contact series connection instruction and ANI is the B contact series connection instruction They read the ON OFF data of the designated bit device 2 perform an AND operation on that data and the operation result to that point and take this value as the operation result 2 When a bit designation is made for a word device the device turns ON or OFF depending on the 1 0 status of the designated bit 2 There are no restrictions on the use of AND or ANI but the following applies to the ladder mode of the GX Developer a Write When AND and ANI are connected in series a ladder with up to 24 stages can be displayed b
46. 2 098 During operation Intelligent function Alternatively monitor the special module not installed properly or registers SD 150 to SD 153 ata GX installed on the base unit Developer and change the fuse at the output module whose bit has a value of malt the parameter I O allocation settings an Inteli intelligent function module was allocated to a location reserved for an I O module Reset the parameter allocation In the assignment setting of the 2100 setting to conform to the actual status of QS PLC parameter dialog box the the intelligent function module number of points assigned to the intelligent function module is less than the number of points of the mounted module More than three CC Link Safety master modules are mounted e Mount t CC Link Safet More than two CC Link IE Controller master modules Network modules are mounted Mount either only CC Link IE e More than two MELSECNET H y riod les Controller Network module or More than two Ethernet modules are mode 2106 Mount only one Ethernet module QS MOUNE e Mount a module supported in the A module that the Safety CPU ED module cannot recognize has been Sio die 9 Mount only CC Link IE Field noe Network master local module with More than two CC Link IE Field safety functions Network master local modules with y safety functions moun
47. 2 Program Example 1 The following program sets Y8B ON when X8 goes ON and resets Y8B OFF when X9 goes ON Ladder Mode X8 0 5 Y8B X9 2 Y8B 4 END 2 The following program sets the value of DO bit 5 b5 to 1 when X8 goes and set the bit value to 0 when X9 goes ON Ladder Mode SET D0 5 Sets 65 of D0to1 9 2 00 5 Sets b5 of DO to 0 1 The number of basic steps is 1 when a device other than an annunciator is des ignated for the SET instruction 2 When using X as a device use the device numbers that are not used for the actual input If the same number is used for the actual input device and input X the data of the actual input will be written over the input X specified in the SET instruction 5 28 5 3 Output Instruction 5 3 5 Setting devices except for annunciators SET RST 5 3 6 Resetting devices except for annunciators RST Command RST RST Bit device number to be reset Word device bit designation bits Word device number to be reset BIN 16 bits Set Internal Devices oh onstants ers 004 Function 1 When the execution command is turned ON the status of the designated devices becomes as shown below Bit device Turns coils and contacts OFF Timers and counters Sets the present value to 0 and turns coils and contacts OFF When Bit Designation has be
48. BIN DBIN Command BINP DBINP f BCD data or start number of the devices where the BCD data is stored BCD 4 8 digits Start number of the devices where BIN data will be stored BIN 16 32 bits Internal Devices Constants Oth Q O Lf Function BIN 1 Converts BCD data 0 to 9999 at device designated by 9 to BIN data and stores at the device designated by 8000 4000 2000 1000 800 400 200 100 80 40 20 10 8 4 2 1 5 9999 1 01011 1100 1 110 0 1 01011 Thousands digit Hundreds digit Tens digit Ones digit 32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1 9999 010 10 011 1 11 0 0 0 1 1 1 Always filled with 0 DBIN 1 Converts BCD data 0 to 99999999 at device designated by to BIN data and stores at the device designated by 1 b 5 k OO OFNT 00 SF CN 7 00 SF CN 7 00 SF OFNT 00 SE CN 77 00 SE CN 7 5 BCD 99999999 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 Ten millions Millions Hundred thousands Thousands Hundreds Tens Ones digit digit thousands digit digit digit digit digit digit BIN conversion D
49. Before change 16 66 END After change 0 16 T3 5 END 5 44 5 6 Other Instructions 5 6 1 No operation NOP NOPLF PAGE n NOPLF PAGE n Ladder Mode Before change After change X0 0 E Y16 T3 3 Y66 5 END NOPLF Ladder Mode 0 MOV K1 D30 MOV K2 D40 5 NOPLF 5 6 Other Instructions 5 6 1 No operation NOP NOPLF PAGE n 5 45 i91 wn 5 BE zo 5e NOPLF PAGE NOPLF PAGE n Printing the ladder will result in the following A page break will be inserted between ladder blocks with the presence of NOPLF instruction PAGE n Ladder Mode 2 2 1 1 PAGE K6 1 8 1 10 po 5 46 5 6 Other Instructions 5 6 1 No operation NOP NOPLF PAGE n BASIC INSTRUCTIONS Reference Category Processing Details i section Comparison operation Compares data to data 6 1 instruction n Adds subtracts multiplies divides increments Arithmetic operation instruction 6 2 decrements data with other data Data conversion instructions Converts data types 6 3 Data transfer instruction Transmits designated data 6 4 6 1 GENERAL DESCRIPTION INSTRUCTION TABLES CONFIGURATION OF INSTRUCTIONS HOW TO READ INSTRUCTIONS SEQUENCE INSTRUCTIONS
50. Y 4 t P P 6 2 Arithmetic Operation Instructions 6 9 6 2 1 BIN 16 bit addition and subtraction operations P D P D P 6 2 2 BIN 32 bit addition and subtraction operations D P D P When two data are set 1 p 1 gt D 1 5 1 1 gt 1 indicates D D 7 oH Command DAR ae Data for additing subtracting or start number of the devices where the data for additing subtracting is stored BIN 32 bits Start number of the devices where the data to be added to subtracted from is stored BIN 32 bits Set Internal Devices Constants Oth Ww Function D 1 Adds 32 bit BIN data designated by to 32 bit BIN data designated by 5 and stores the result of the addition at the device designated by A b3t b16b15 bO b31 b16b15 bO b31 b16 b15 bO 567890 BIN 123456 BIN gt 691346 BIN 2 The values for 5 and be designated at between 2147483648 and 2147483647 BIN 32 bits 3 Judgment of whether the data is positive or negative is made on the basis of the most significant bit D31 0 Positive 1 Negative 4 The following will happen when an underflow
51. b8 b7 b6 6564163 62 61 bO station CC Link IE 01720 16 15 10 91817654321 Field 501721 32 31 to 26 25 24 23 22 21 20 19 18 17 01720 Safety station Network not 5 1722 48 47 to 42 41 40 39 38 37 36 35 34 33 interlock released 01723 64 63 to 58 57 56 55 54 53 52 51 50 49 U Request as release 1 interlock SD1727 request of safety 01724 80 79 to 74 73 72 71 70 69 68 67 66 65 station 501725 96 95 to 90 89 88 87 86 85 84 83 82 81 CC Link IE 501726 112 111 to 106 105 104 103 102 101 100 99 98 97 Field SD1727 to 120119 18 117 116 115 114113 Network released 1 to 120 in the table indicate station numbers Fixed to 0 App 34 1 This applies when the serial number first five digits of the CPU module is 13042 or later Appendix 3 SPECIAL REGISTER LIST SNOILONYLSNI qaivoiaaa 50 53909 S3olaNaddv X3QNI Index 1 Symbols BIN 16 bit multiplication operations 6 14 BIN 16 bit addition operations 6 6 BIN 16 bit subtraction operations 6 6 BIN 16 bit division operations 6 14 BIN 16 bit data comparisons 6 2 lt BIN 16 bit data comparisons 6 2 lt gt BIN 16 bit data
52. no operation errors associated with the SET or RST instructions 22 Program Example 1 The following program turns annunciator F11 ON when X1 goes ON and stores the value 11 at the special register SD64 to 079 Further the program resets annunciator F11 if X2 goes ON and deletes the value 11 from the special registers SD64 to SD79 Ladder Mode 0 5 F11 X2 3 FH 6 END Operation When X1 is ON When X2 is ON 063 0 nas 1 spes 1 subtracts 1 Spes o SD64 0 SD64 11 SD64 0 SD65 0 SDe5 0 065 0 SD66 0 SDe6 0 SD66 0 067 0 SD67 0 SD78 0 SD78 0 SD78 0 079 0 079 0 SD79 0 5 32 5 3 Output Instruction 5 3 7 Setting and resetting the annunciators SET F RST F PLS PLF 5 3 8 Leading edge and trailing edge output PLS PLF Command PLS 915 Command SE 1 mr E Pulse conversion device bits Set Internal Devices b onstants ers Function PLS 1 Turns ON the designated device when the execution command is turned OFF gt ON and turns OFF the device any other case the execution command is turned OFF ON i e at ON gt ON ON OFF or OFF gt OFF of the execution command When there is one PLS instruction for the device designated by p during one scan the specified device turns ON one sca
53. 1 the judgment is H7FFFFFFF _ HFFFFFFFE 80000001 a negative value Y Operation Error 1 There no operation errors associated with the P or instructions 2 2 2 2 BASIC D P D P 6 2 Arithmetic Operation Instructions 6 11 6 2 2 BIN 32 bit addition and subtraction operations D P D P D P D P 2 When three data are set 6 1 65 1 62 1 5 1 62 1 69 1 DADA D P D P 6 Data to be added to subtracted from or start number of the devices where the data to be added to subtracted from is stored BIN 32 bits 62 Data for additing subtracting or start number of the devices where the data for additing subtracting is stored BIN 32 bits D Start number of the devices where the addition subtraction operation result will be stored BIN 32 bits Set Constants Bie 6 62 0 un Function D 1 Adds 32 bit BIN data designated by 6 to 32 bit BIN data designated by 62 and stores the result of the addition at the device designated by 6 531 516 b15 bO b31 b16 b15 bO b31 b16 b15 bO 567890 BIN 123456 BIN gt 691346 BIN 2 The values for 6 63 and be designated at between 2147483648 and 2147483647 BIN 3
54. 2147483646 Since b31 is 0 the judgment is 80000000 H00000002 H7FFFFFFE positive value lt K2147483647 K 2 K 2147483647 Since b31 is 1 the judgment is H7FFFFFFF HFFFFFFFE 80000001 a negative value Y Operation Error 1 There are no operation errors associated with the P or instructions Program Example 1 The following program adds 28 bit data from X10 to X2B to the data at D9 and D10 when XO goes and outputs the result of the operation to Y30 to Y4B Ladder Mode XO 0 09 K7Y30 0 z gt 2 2 BASIC 2 The following program subtracts the data from MO to M23 from the data at DO and D1 when XB goes ON and stores the result at D10 and D11 T Ladder Mode T D P K6MO 010 5 END 6 2 Arithmetic Operation Instructions 6 13 6 2 2 BIN 32 bit addition and subtraction operations D P D P 6 2 3 BIN 16 bit multiplication and division operations P P j indicates 5 Command 62 E Command P P Data to be multiplied divided start number of the devices where the data to be multiplied divided is stored BIN 16 bits 62 Data for multiplying dividing or start number of the devices where the data for multiplying dividing is stored BIN 16 bits
55. ASCII code characters Mo SD18 SD23 H G 50 SD24 SD25 Empty SD26 3 Time value Actually measured Number Meaning SD19 016 Time 105 units 0 to 9994s SD17 Time 1ms units 0 to 65535ms SD18 SD19 SD20 5021 022 5020 SD23 SD24 SD25 SD26 4 Program error location Error Er Number Meaning SEE individual Error individual SD16 S E as s ii information SD17 File name Error information SD18 ASCII code 8 characters SD19 SD20 Extension 3 2 5021 ASCII code 3 characters 5 22 5022 5023 Block No 5024 Step 6 5025 Sequence step L 026 Sequence step No 6 0 is stored to the block number and the step number SD23 5 Parameter No 6 Annunciator number Number Meaning Number Meaning SD16 Parameter No SD16 No SD17 SD17 SD18 SD18 5019 5019 5020 5020 5021 5021 024 5022 Empty 5022 Empty 5023 5023 5024 5024 5025 5025 5026 5026 9 Error information pss Number Meaning SD16 Error information 1 SD17 Error information 2 SD18 Error information 3 SD19 Error information 4 SD20 Error information 5 021 Error information 6 SD26 5022 Error information 7 023 Error information 8 5024 Error information 9 5025 Error information 10 SD26 Error information 11 App 20 Appendix 3 SPECIAL REGISTER LIST Number SD16 SD17 SD18 SD19 SD20 SD21 SD22 SD23 SD24 SD25 SD26
56. B A 1 8 1 gt 1 0 indicates WAND DAND Command WAND DAND TIL MK S Command Data for a logical product operation or the start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the logical product operation result will be stored BIN 16 32 bits Set Internal Devices Constants Oth Lf Function WAND 1 A logical product operation is conducted for each bit of the 16 bit data of the device designated at and the 16 bit data of the device designated at s and the results are stored in the device designated at ete b8 bO airaa aa o oona ia AND 0 010 11 10101110 010 010101110 0 2 When bit devices are designated the bit devices below the points designated as digits are regarded as 0 in the operation See Program Example 2 DAND 1 Conducts a logical product operation on each bit of the 32 bit data for the device designated 7 wn by and the 32 bit data for the device designated by and stores the results at the 55 device designated by 59 20 Q1 az b31 b16b15 tattari olori iyl Ba AND amp b3
57. Device designated or ORF in ORP or ORF Bit for ORP State ORF State Bit device word device OFF to ON 0 to 1 OFF 0 OFF ON 1 OFF ON to OFF 1400 ON Operation Error 1 There are no operation errors with LDP LDF ANDP ANDF ORP or ORF instructions Program Example 1 The following program executes the MOV instruction at input XO or at the leading edge of b10 bit 11 of data register DO Ladder Mode 1 Word device bit designations are performed in hexadecimal Bit b10 of DO would be DO A 5 6 5 1 Contact Instruction 5 1 2 Pulse operation start pulse series connection pulse parallel connection LDP LDF ANDP ANDF ORP ANB ORB 5 2 Connection Instructions 5 2 1 Ladder block series connections and parallel connections ANB ORB ANB ANB qu Block A Block B Block A ORB cc I ORB 2222 BlockB For parallel connection of 1 contact or ORI is used Internal Devices Alb onstants ers Set Data 9 LW Function ANB 1 Performs an AND operation on block A and block B and takes the resulting value as the operation result wn 5 BE zo 5e 2 symbol for ANB is not the contact symbol but rather is the connection symbol ORB 1 Conducts an OR operation on Block A and Block B and takes the resulting va
58. OUT F 22 Program Example 1 The following program turns F7 ON when 0 goes and stores the value 7 from SD64 to SD79 Ladder Mode X0 3 END Operation ON spe3 0 Adds spes 1 SD64 SD64 7 SD65 SD65 0 SD66 SD66 0 SD67 067 0 SD79 0 SD79 0 5 26 5 3 Output Instruction 5 3 4 Annunciator output OUT F SET 5 3 5 Setting devices except for annunciators SET Command SET 1 EM Bit device number to be set ON Word device bit designation bits Set Internal Devices ud onstants ers O Function 1 When the execution command is turned ON the status of the designated devices becomes as shown below Bit device Coils and contacts turned ON When Bit Designation has been Made for Word Device Designation bit set at 1 2 Devices turned ON by the instruction remain ON when the same command is turned OFF Devices turned ON by the SET instruction can be turned OFF by the RST instruction 5 4 Command ON o X5 f f 5 5 ON RST 10 X7 OFF nz Command Y10 OFF 3 When the execution command is OFF the status of devices does not change SET 5 3 Output Instruction 5 27 5 3 5 Setting devices except for annunciators SET SET 2 Operation Error 1 There are no operation errors associated with the SET instruction
59. SD561 TEST MODE MODE seconds continuous RUN time in TEST MODE Start measurement when STOP amp continuous nib 5 Every END RUN time RUN time RUN Time when operation is STOP is not included SD562 seconds Stores the measurement valve with the range of 1 to 2147483647 14 5 2 TableApp 3 8 Special register lt 8 Set by Corresponding Number Explanation When set CPU Indicates the type of built in memory b15 to b8b7 to b4b3 to SD620 Memory type Memory type 9 0 5 Initial Drive 4 Fixed at as Standard ROM 3 FLASH ROM Drive 4 SD623 ROM Drive 4 capacity Drive 4 capacity is stored 1 kbyte units S Initial capacity Appendix 3 SPECIAL REGISTER LIST App 29 15 CC Link Safety TableApp 3 9 Special register 7 Set by Corresponding Number Name Meaning Explanation When set CPU specified status of safety remote station is stored 0 is stored for the standard remote station Safety remote 0 No safety b15 b14 to b1 bO station remote station ae specification specification 801000 16 15 to 2 1 to S Initial 801003 CC Link 1 Safety remote SD1001 32 31 to 18 17 Safety master station module 1 specification
60. except for annunciators RST 2 1 When 225 is set as retentive timer it is turned ON when X4 ON time reaches 30 min Counts the number of times T225 was turned ON Resets the coil contact and present value of T225 when the contact of T225 is turned ON Y55 is turned ON at the count up of C23 Resets C23 when X5 is turned ON SET F RST F 5 3 7 Setting and resetting the annunciators SET RST F Command Sp SET Number of the annunciator to be set F number bits RST D Number of the annunciator to be reset F number bits Set Internal Devices Put onstants ers LW Function SET 1 The annunciator designated by is turned ON when the execution command is turned ON 2 The following responses occur when an annunciator F is turned ON The USER LED goes ON The annunciator numbers which are ON F numbers are stored in special registers SD64 to SD79 The value of SD63 is incremented by 1 i91 3 Ifthe value of SD63 is 16 which happens when 16 annunciators are already ON even if a new annunciator is turned ON its number will not be stored at SD64 to SD79 RST wn 5 OF zo 10 1 annunciator designated by is turned OFF when the execution command is turned ON 2 The annunciator numbers F
61. pop MPS MRD MPP MPS MRD MPP 2 program using MPS and MPP instructions successively Ladder Mode c i91 wn 5 BE zo Tae 5e MPS MRD MPP 5 2 Connection Instructions 5 11 5 2 2 Operation results push read pop MPS MRD MPP INV 5 2 3 Operation results inversion INV Command INV Set Internal Devices ram Sm onstants ers 322 Function 1 Inverts the operation result immediately prior to the INV instruction Operation Result Immediately Prior to the Operation Result Following the Execution of INV Instruction the INV Instruction OFF ON ON OFF Y Operation Error 1 There are no operation errors associated with the INV instruction Program Example 1 A program which inverts the XO ON OFF data and outputs from 10 Ladder Mode Xo 3 END Timing Chart ON od l f OFF 09 5 12 5 2 Connection Instructions 5 2 3 Operation results inversion INV INV POINT 1 The INV instruction operates based on the results of calculation made until the INV instruction is given Accordingly use it in the same position as that of the AND instruction The INV instruction cannot be used at the LD and OR positions 2 When a ladder block is used the operation result is inverted within the range of the ladder block To operate a ladder using th
62. usually produces and retains sufficient spare parts for repairs of its Products for a period of seven 7 years after production is discontinued f MELCO generally announces discontinuation of Products through MELCO s Technical Bulletins Products discontinued and repair parts for them may not be available after their production is discontinued 2 Limits of Warranties a MELCO does not warrant or guarantee the design specify manufacture construction or installation of the materials construction criteria functionality use properties or other characteristics of the equipment systems or production lines into which the Products may be incorporated including any safety fail safe and shut down systems using the Products b MELCO is not responsible for determining the suitability of the Products for their intended purpose and use including determining if the Products provide appropriate safety margins and redundancies for the applications equipment or systems into which they are incorporated c Customer acknowledges that qualified and experienced personnel are required to determine the suitability application design construction and proper installation and integration of the Products MELCO does not supply such personnel d MELCO is not responsible for designing and conducting tests to determine that the Product functions appropriately and meets application standards and requirements as installed or incorporated into the end user s equip
63. 0 to 900 100 us The accuracy of END processing time is 0 1ms units Constant scan Stores the wait time for constant scan setting into 50542 and SD542 wait time in 1 SD543 Constant gt scan wait ms units Measurement is made in 100 us units 5 Every END ti Constant scan SD542 Stores the ms place Storage range 0 to 6553 y SD543 lbs wait time in SD543 Stores the us place Storage range 0 to 900 100 us units accuracy of constant scan wait time is 0 1 Scan program Stores the execution time of a scan program during one scan 50548 execution time into SD548 and SD549 nal in 1 ms units Measurement is made in 100 ys units Scan program SD548 Stores the ms place Storage range 0 to 6553 S Every END execution execution time 50549 Stores the us place Storage range 0 to 900 SD549 time f 100 us Stored every scan units accuracy of scan program execution time is 0 1ms App 28 Appendix 3 SPECIAL REGISTER LIST 13 Safety CPU TableApp 3 7 Special register Set b di Number Name Meaning Explanation When m prn E Stores the safety CPU operation mode b15 to b2 b1b0 Safety CPU Safety CPU Empty S Status SD560 operation operation mode gt 00 SAFETY MODE change mode 01 TEST MODE 10 SAFETY MODE Wait for restart as Stores the TEST MODE continuous RUN time Measured in
64. 1 8 Error code list 8000 to 9000 259 LED Status CPU z Error Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Status 9 8330 8331 8332 CC LINK CC Link Safety CC Link Safety Flash Spr RECEIVED information information onion On Continues POS DATA ERROR x 8333 8334 aa mom CC Link IE Field ANOTHER 8400 MODULE error item Network On On Continue Always DETECT ERR newark No information station No BOIE CC Link IE Field Men PRODUCT Network No 75 2 connection with 8410 Network On On Continue station No safety stations MISMATCH established 1 operating status of a CPU module case of an error be set in the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 Atoccurrence of F the USER LED turns on 9 38 9 1 8 Error code list 8000 to 9000 Error Contents and Cause The received command differs from the Corrective Action Check the cable status visually or by Corresponding CPU information of a safety station is incorrect distance between power lines and communication cables and the installation status of each device as well 3 applies when the serial number first five digits
65. 2 9 1 5 Error code list 3000 to 3999 2129 9 1 6 Error code list 4000 to 4999 The following shows the error messages from the error code 4000 to 4999 the contents and causes of the errors and the corrective actions for the errors Table9 5 Error code Common Individual LED Status Diagnostic Information Information Operation Timi 5016 to 26 RUN ERROR status ining SD5 to 15 Message At power ON 4000 2 Off Flash Stop At reset STOP RUN INSTRUCTION Program error 4002 CODE ERROR location Off Flash Stop At reset STOP RUN At power ON 4003 dd n Off Flash Stop At reset STOP RUN At power ON 4004 2 Off Flash Stop At reset STOP RUN At power ON 4010 2 Off Flash Stop At reset STOP RUN When OPERATION Program error Off 4100 ERROR location On Flash Stop instruction executed When OPERATION Program error 4101 ERROR location On Flash Stop instruction executed 9 26 9 1 6 Error code list 4000 to 4999 Error Contents and Cause program contains an instruction code that cannot be decoded unusable instruction is included in Corrective Action CPU Corresponding 4000 QS the program unusable safety FB is included the program name of dedicated instruction specified in the program is incorrect 4002
66. 26 Status 3 Time value Tine Walle 5001 WDT ERROR set actually Off Flash Stop Always measured PROGRAM Time vale Time value 5010 SCAN TIME set actually On On Continue Always OVER measured 9 30 9 1 7 Error code list 5000 to 5999 Error Contents and Cause The program scan time exceeded the WDT value specified in the PLC RAS Corrective Action Read the individual information of the Corresponding CPU 5001 error with the GX Developer check its 5 setting of the PLC parameter dialog a bos value time and shorten the scan time ceca Puc tne constant scan ume e 5010 PLC parameter so that the margin time QS RAS setting of the PLC parameter dialog box of constant scan may be fully reserved 9 1 7 Error code list 5000 to 5999 9 31 Ce Q 9 x a X 9 1 8 Error code list 8000 to 9000 The following shows the error messages from the error code 8000 to 9000 the contents and causes of the errors and the corrective actions for the errors Table9 7 Error code LED Status CPU Information Operation SD16 to 26 ERROR Status Common Error Message Diagnostic Timing Information SD5 to 15 At power ON INTERNAL Eror At reset When 8000 REGISTER information Off Flash Stop an END ERROR instruction executed At power ON At reset When INTERNAL Error aoe BUS E
67. 3 Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Status 9 Flash 1001 On 1002 1003 MAIN CPU 4004 DOWN Off Stop Always 1006 Flash 1009 1010 See Off Flash Sto EXECUTE executed 1030 MAIN CPU Error Off Flash t 1031 DOWN information x ind 1 BAT ALM LED is displayed at BATTERY ERROR 9 4 9 1 3 Error code list 1000 to 1999 Error Contents and Cause Corrective Action Corresponding CPU 1000 e Take noise reduction measures Runaway or failure of the main CPU Reset the CPU module RUN it Malfunctioning due to noise or other again If the same error is displayed reason again this suggests a CPU module 1001 Hardware fault hardware fault Contact your local 1002 Mitsubishi representative 1003 1004 Qs 1006 Correct the power waveform applied to the power supply module The power suppi module erectis CPU madile ana RUN an incorrect power waveform again If the same error is detected 1009 A failure is detected on the power again it is considered that the power supply module CPU module or base unit supply module CPU module or base unit is failure Contact your local Mitsubishi representative Entire program was executed without the execution of an END instruction Take noise reduction measures When the END instruction is Rese
68. 4096 2048 1024 512 256 128 64 32 16 8 4 2 1 BIN 9999 0 0 1 0011 1 111114 Always filled with 0 J BCD conversion 8000 4000 2000 1000 800 400 200 100 80 scoowef To o To 1 To To 1 1 0 0 Thousands digit Hundreds digit Tens digit Ones digit DBCD 1 Converts BIN data 0 to 99999999 at the device designated by to BCD data and stores it at the device designated by D 1 Upper 16 digits S Lower 16 digits 666 66 61 amp amp amp amp 81 BIN 99999999 070 0 0 0 110 111111111101101111111000 0 0111111111111111 Samarra Always filled with 0 Upper 5 digits y BCD conversion 5 o o o x x x x x x x x 00 t N 00 FL 00 t QE 00 t OL 00 E QE D BCD 99999999 1 0 0 1 1 0 0 1 1 0 0 1 1100 1 1 0 0 111 0 0 1 110 011 1 0 0 1 Ten millions Millions Hundred thousands Thousands Hundreds Ones digit digit thousands digit digit digit digit digit digit D 1 Upper 4 digits D Lower 4 digits 6 22 6 3 Data Conversion Instructions 6 3 1 Conversion from BIN data to 4 digit and 8 digit BCD BCD P DBCD P BCD P DBCD P 2 Operation Error 1 In any of the following cases an operation error occurs the error flag SMO turns
69. 5 19 How to Read Instruction 4 2 How to Read Instruction Tables 2 3 Identical 16 bit data block transfers FMOV 6 36 INC Incrementing 16 bit BIN data 6 18 Incrementing 16 bit BIN data INC 6 18 32 bit BIN data DINC 6 20 INV Operation results inversion 5 12 L Ladder block parallel connections ORB 5 7 Ladder block series connections ANB 5 7 LD lt gt gt lt lt gt BIN 16 bit data comparisons 6 2 LD A contact operation start 5 2 LD D D lt gt D gt D lt D lt BIN 32 bit data comparisons 6 2 LDF Pulse operation start trailing edge 5 5 LDI B contact operation start 5 2 LDP Pulse operation start leading edge 5 5 Leading edge output 5 2 2 4 022 1 5 33 load ED reme 5 2 Load inverse LDI 5 2 Logical Operation Instructions List 2 14 Logical product 2 7 2 Logical products with 16 bit data WAND 7 3 Logical products with 32 bit data DAND 7 3
70. 9 SD5 to 15 SD16 to 26 Status 9 3000 PARAMETER File name Parameter At power ON ERROR Drive No number Of pash atop At reset 3001 PARAMETER File name Parameter At power ON Po ERROR Drive No number Sn been At reset PARAMETER File name Parameter At power ON ERROR Drive No number en sd At reset ae PARAMETER File name Parameter d 1 ERROR Drive No number P y station return NETWORK 3100 PARAMETER Off Flash sop id ERROR 9 16 9 1 5 Error code list 3000 to 3999 Error Contents and Cause Corrective Action Corresponding CPU The PL t tti for ti AR EES Read the detailed information of the time limit setting the RUN PAUSE error using the GX Developer check the 3000 contact and number of vacant slots is parameter items corresponding to those QS outside the range that can be used by numerical values parameter numbers ne GPE MOA and correct when necessa 3001 The parameter settings are corrupted y Read the detailed information of the The number of devices set at the PLC error using the GX Developer check the 3003 parameter device settings exceeds the parameter items corresponding to those QS possible CPU module range numerical values parameter numbers and correct when necessary I Check whether the parameter file The parameter file is incorrect hail 3004 Alternatively the contents of the fil
71. 9 1 1 indicates WOR DOR WOR DOR 5 Command 4 noces WORP DORP _ Data for a logical sum operation or start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the logical sum operation result will be stored BIN 16 32 bits Set Internal Devices Constants Oth b Ww Function WOR 1 Conducts a logical sum operation on each bit of the 16 bit data of the device designated by and the 16 bit data of the device designated by and stores the results at the device designated by EN Oiri 1 1 a 0 0 1 154 2 For bit devices the bit devices below the points designated by digit specification are regarded as in the operation DOR 1 Conducts a logical sum operation on each bit of the 32 bit data of the device designated by and the 32 bit data of the device designated by 5 and stores the results at the device designated by b10 B 5 bO laara ooo o oaa SET b16 b15 eee bO 1111111 10105111 7 8 7 1 Logical Operation Instructions 7 1 2 Logical sums of 16 bit and 32 bit data WOR P DOR P WOR
72. Descriptions of the special relay lists headings Item Function of Item Number Indicates special register number Name Indicates name of special register Meaning Indicates contents of special register Explanation Discusses contents of special register in more detail Set by When set Indicates whether the relay is set by the system or user and if it is set by the system when setting is performed Set by S Set by system U Set by user sequence programs or test operations from GX Developer 5 0 Set by both system and user When set Indicated only for registers set by system Every END Set during every END processing Initial Set only during initial processing when power supply is turned ON or when going from STOP to RUN Status change Set only when there is a change in status Error Set when error occurs Instruction execution Set when instruction is executed Request Set only when there is a user request through SM etc APPENDICES For details on the following items refer to the following manuals Networks Manuals of each network module POINT In the program that achieves the safety function only SM1000 to SM1299 be used Special relay other than 5 1000 to 5 1299 cannot be used in the program that achieves the safety function Appendix 2 SPECIAL RELAY LIST App 11 12 1 Diagnostic Information TableApp 2 2 Descriptions of
73. Flash edis M ERROR 9 22 9 1 5 Error code list 3000 to 3999 Error Contents and Cause Corrective Action Corresponding CPU same network number is used for Ethernet CC Link IE Controller Network and MELSECNET H Correct the parameter setting and network number station number write Network parameter to the CPU 9 and or group number set Network module 3104 parameter are out of the setting f an error occurs even after QS 5 correction a hardware failure is a specified number is outside considered Please consult your z the range of the used CPU module local Mitsubishi representative g The Ethernet inherent parameter setting is incorrect Though the number of CC Link modules set in the network parameters is one or more the number of actually mounted modules Correct and write the network arameters The start I O number in the common 6 3105 m f the error occurs after correction it QS parameters is different from that of suggests a hardware fault Contact our local Mitsubishi representative station type of the CC Link y module count setting parameters is different from that of the actually mounted station Th twork refresh ter f S Check the Model name and Module CC Link is out of range i technical version of the
74. Identical 16 bit data block transfers FMOV P Category Logical operation instructions APPLICATION INSTRUCTIONS Processing Details Logical operations such as logical sum logical product etc Reference section 7 1 GENERAL DESCRIPTION INSTRUCTION TABLES CONFIGURATION OF INSTRUCTIONS HOW TO READ INSTRUCTIONS SEQUENCE INSTRUCTIONS INSTRUCTIONS BASIC NX 2 55 EO a at lt lt 7 1 Logical Operation Instructions 1 The logical operation instructions perform logical sum logical product or other logical operations in 1 bit units Catego Processing Details Formula tor 0 0 0 Logical product Becomes 1 only when both input A and 0 1 0 AND input B are 1 otherwise is 0 1 0 0 1 1 1 0 0 0 Logical sum Becomes 0 only when both input A and 0 1 1 input 0 otherwise is 1 TOMUS 1 0 1 1 1 1 0 0 0 Exclusive OR Becomes 0 if input A and input B are _ 0 1 1 equal otherwise is 1 YTATBTATB 1 0 1 1 1 0 0 0 1 NON exclusive ionic Sum Becomes 1 if input A and input B are z 0 1 0 i equal otherwise is 0 TTE 1 0 0 XNR 1 1 1 7 2 7 1 Logical Operation Instructions WAND P DAND P 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P 1 When two data set
75. ON and the corresponding error code is stored into SDO The data of is other than 0 to 9999 at BCD instruction Error code 4100 The data of or 1 is other thean 0 to 99999999 at DBCD instruction Error code 4100 Program Example 1 The following program outputs the present value of C4 from Y20 to Y2F to the BCD display device PLC output module tn o oo Rout CN CN CN CN CN CN CN CN CN CN CN CN CN CN gt gt gt gt gt gt gt gt gt gt gt gt gt I 5888 974 Output SONOS power supply olioli olal t oloo 7 segment indicator Ladder Mode SM400 0 4 k4y20 4 END 2 The following program outputs 32 bit data from DO to D1 to Y40 to Y67 PLC output module Y5B Y58 57 54 Y53 Y50 Y4F YAC 4 48 47 44 43 40 67 64 63 60 Output power supply 7 segment indicator Ladder Mode SM400 D 00 K10000 D2 1 DBCDP 02 K6Y50 1 BCD 04 Kav40 6 3 Data Conversion Instructions 2 6 3 1 Conversion from BIN data to 4 digit and 8 digit BCD BCD P DBCD P 9 25 2 gt 2 2 BASIC BCD P DBCD P BIN P DBIN P 6 3 2 Conversion from BCD 4 digit and 8 digit data to BIN data BIN P DBIN P indicates BIN DBIN Command
76. P DOR P 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation Y Operation Error 1 There are no operation errors associated with the WOR P or DOR P instructions 22 Program Example 1 The following program performs a logical sum operation on the data at D10 and D20 when XA goes ON and stores the results at D10 Ladder Mode 0 00 010 4 END Operation bibens bf sse bO 10 14111010 1111010 114 114 010 010 OR bi5 ba DE bO 020 01 10 0 0 111011 1111 0 10 1110 0 0 1 10 111 10 0 1111111 11111111 0 0 0 1 2 The following program performs a logical sum operation on the 32 bit data from to X1F and on the hexadecimal value FFOOFF00 when XB goes ON and stores the results at D66 and D67 Ladder Mode 0 DMOVP HOFFOOFFOO D66 DORP K8X0 066 END Operation S 1 oa RI X X10 3 7 4101 wn OR gt 2 D 1 50 bis 53 FFOOFFOO 1111111 25 lt lt ra a E ra 7 1 Logical Operation Instructions 7 9 7 1 2 Logical sums of 16 bit and 32 bit data WOR P DOR P WOR P DOR P 2 When three data are set 6 63 65 1 6 9 1 62 0 1 O Command WOR DOR JL
77. RELAY LIST Corresponding CPU Qs APPENDICES Corresponding CPU Qs App 13 14 4 Safety CPU TableApp 2 5 Special relay Set by Corresponding When Set CPU Number Explanation Turns ON when operating on the TEST OFF Other than TEST MODE 5 560 JESUMOBE MODE Turns OFF when operating on the other S Status change flag ON TEST MODE mode SAFETY MODE SAFETY MODE wait for restart as Continuous OFF Within the setti RUN of Turns ON when the continuous RUN of ti SM561 tolerance time ON ae ihe settin tolerance time set for the TEST MODE in the S Error setting for the yo 9 parameter is exceeded TEST MODE time 5 Boot operation TableApp 2 6 Special relay Set by Corresponding Number Meaning Explanation When Set CPU On the TEST MODE Turns ON during the boot operation from standard ROM Turns OFF when the boot operation from standard ROM is not run On the SAFETY MODE Always ON OFF Program memory execution ON During boot operation SM660 Boot operation S Initial QS 6 Instruction Related Special Relays TableApp 2 7 Special relay Set Corresponding Number Name Explanation a P When Set CPU OFF Error detection BIN DBIN performed Turned ON when OPERATION ERROR is 722 instruction error 9 0 Qs 4 ON Error detection not suppre
78. When executed 0 50 WANDP 5 WAND 9 9 When executed 0 60 WANDP 6 62 DAND When executed 0 65 DANDP 5 DAND 6 62 0 When executed 0 75 DANDP 63 62 D WOR 9 When executed 0 50 woRP 5 5 wor 6 62 When executed 0 60 woRP 6 62 DOR When executed 0 65 Dorp DOR 5 When executed 0 75 DORP 6 62 WXOR S When executed 0 50 WXORP 5 WXOR When executed 0 60 wxoRP 6 62 5 When executed 0 65 DXORP 5 DXOR When executed 0 75 DXORP 6 62 WXNR When executed 0 50 WXNRP 5 WXNR 6 62 D When executed 0 60 WXNRP 63 62 DXNR When executed 0 65 DXNRP S DXNR 9 When executed 0 75 DXNRP 6 62 4 QSCPU dedicated instruction Instruction Conditions Device Processing Time us When executed K1234 344 SHS ECR When not executed 34 App 1 0 Appendix 1 OPERATION PROCESSING TIME Appendix 1 2 Operation Processing Time Appendix 2 SPECIAL RELAY LIST Special relays SM are internal relays whose applications are fixed in the Programmable Controller For this reason they cannot be used by sequence programs in the same way as the normal internal relays However they can be turned ON or OFF as needed in order to control the CPU module and remote I O modules The heading descriptions in the following special relay lists are shown in TableApp 2 1 TableApp 2 1
79. before operation parameter settings programming and troubleshooting SH 080049 of a MELSECNET H network system for PLC to PLC network 13JF92 Sold separately Q Corresponding Ethernet Interface Module User s Manual Basic Explains the specifications procedures for data communication with external devices line connection open close fixed SH 080009 buffer communication random access buffer communication and troubleshooting of the Ethernet module 13JL88 Sold separately A 7 Manual Number Manual Name Model Code Q Corresponding Ethernet Interface Module User s Manual Application Explains the e mail function programmable controller CPU status monitoring function communication function via CC Link IE Controller Network MELSECNET H or MELSECNET 10 communication function using the data link instructions file transfer function FTP server of the Ethernet module Sold separately Q Corresponding MELSEC Communication Protocol Reference Manual Explains the communication methods and control procedures using the MC protocol which is used by external devices to read SH 080008 and write data of the programmable controller CPU via the serial communication module or Ethernet module 13JF89 Sold separately GX Developer Version 8 Operating Manual PE SH 080373E Explains the online functions of the GX Developer such as the programming printout monitoring and debugging method
80. by fis value program eror ocatom the network dedicated instruction Or the relay target network does not exit module is installed to the actual I O Remove the module installed to the points or greater actual I O points or greater 2124 A module is installed to the slot Reset the assignment setting of QS whose assigned l O range includes the parameter so as not to exceed the the limit of actual I O points actual I O points Mount a module supported in the A module that the safety CPU module safety CPU module 2125 cannot recognize has been mounted intelligent function module is as There was no response from the experiencing a hardware fault intelligent function module Contact your local Mitsubishi representative 2200 There is no parameter at the Set the parameter file to the program as program memory memory 2210 The contents of the boot file are Check the boot setting as incorrect 9 13 9 1 4 Error code list 2000 to 2999 9 ERROR CODES Individual LED Status CPU t Error Diagnostic Information Information Operation M Timi essage sD5to 15 SD16to 26 RUN ERROR Status TM 2500 CAN T File At power 2501 EXECUTE Off Flash Stop At reset PROGRAM STOP RUN 2502 2503 9 14 9 1 4 Error code list 2000 to 2999 Error Contents and Cause There is a program file that uses a Corrective Action Read
81. devices used by basic instructions and application instructions in order to increase processing speed However the instruction symbol does not change To shorten scans run instructions under the conditions indicated below 1 Conditions which each device must meet for subset processing a When using word data Designates bit device number a factor of 16 Bit device Only K4 be designated for digit designation Word device Internal Device Constants No limitations 2 z Eo 02 35 9 gt lt SKO b When using double word data 7 Designates bit device number factor of 16 Bit device 2 Only 8 be designated for digit designation Word device Internal Device Constants No limitations 2 Instructions for which subset processing can be used Types of Instructions Instruction Symbols Comparison operation instruction lt gt lt lt gt gt D D lt gt D lt D lt D gt D gt Arithmetic operation INC DEC D D D D DINC DDEC Data conversion instructions BCD BIN DBCD DBIN MOV DMOV CML DCML FMOV BMOV Data transfer instruction Logic operations WAND DAND WOR DOR WXOR DXOR WXNR DXNR 3 3 Subset Processing 3 9 3 10 3 4 Cautions Programming Operation Errors Operation errors are returned in the followi
82. from X20 to X3F with the bit pattern of the data at D16 and D17 when is Ladder Mode END X6 0 8 20 016 9 Operation 1 5 X3F X3B X38 X37 X34 X33 X30 X2F X2C X2B X28 X27 X24 X23 20 X3F X20 011101 0111011011011011011 01101101110110111011011011 B 1 XOR N 2 2 E 7 z 2 lt 9 Q 0 lt b31 co ed BIG DIS 9 017 016 0111110 010 111111110 0 011110 1101011 0111110 0011111001011 WXNR P DXNR P 7 1 Logical Operation Instructions 7 17 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P DXNR P WXNR P DXNR P 2 When three data are set 6 y gt 6 1 v 6 1 gt 0 1 __ indicates a symbol of WXNR DXNR Command WXNR DXNR Command WXNRP DXNRP m 6 62 Data for an exclusive NOR operation or start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the exclusive NOR operation result will be stored BIN 16 32 bits Set Internal Devices Constants Oth ers 6 O O LW Function WXNR 1 Conducts an exclusive NOR operation on the 16 bit data of the device designated by and the 16 bit data of the device designated by
83. is stored 8320 Link error 8321 Link error Initial monitor timeout Safety monitor timeout 8322 Link error Error monitor timeout 8330 Link error Command error 8331 Link error Data split number error 8332 Link error Link ID error 8333 Link error Running number error 8334 Link error Received data error Appendix 3 SPECIAL REGISTER LIST Corresponding CPU QS App 31 APPENDICES TableApp 3 9 Special register App 32 Set b Number Name Meaning Explanation Bit corresponding to the station number turns 1 when the master station goes to the interlock status after the error was detected at the master station Safety station 01272 interlock 0 Interlock is b15 b14 to b1 50 status not executed 501272 16 15 to 2 1 S Status 01275 CC Link 1 During change Safety master interlock 501273 32 31 to 18 17 module 2 501274 48 47 to 34 33 501275 64 63 to 50 49 1 to 64 in the table indicate station numbers Cancel the I O interlock of safety station by changing the bit of 0 VO interlock register from 0 to 1 of safety 2 ped b15 b14 to b1 bO 01276 interloc ink Safety cancelrequest not released 501276 16 15 2 1 to CC Link 4 interlock U Request Spie7a 501277 32 31 to 18 17 Safety master of safety module 2 station on CC 501278 48 47 to 34 33 L
84. negative is made on the basis of the most significant bit D31 Sign is attached to both the quotient and remainder 0 Positive 1 Negative 2 Operation Error 1 In any of the following cases an operation error occurs the error flag SMO turns ON and the corresponding error code is stored into SDO Attempt to divide 62 by 0 Error code 4100 22 Program Example 1 The following program divides the BIN data at D7 and D8 by the BIN data at D18 and D19 when X5 is ON and stores the result at D1 to D4 Ladder Mode x5 0 4 08 0 z gt 2 2 BASIC 5 END 2 The following program outputs the value resulting when the data at X8 to XF is multiplied by 3 14 to Y30 to Y3F when X3 is ON Ladder Mode x3 0 2 8 K314 00 1 D P D P D P DO K100 02 MOVP 02 m 6 2 Arithmetic Operation Instructions 6 17 6 2 4 BIN 32 bit multiplication and division operations D P D P INC P DEC P 6 2 5 Incrementing and decrementing 16 bit BIN data INC P DEC P 7 indicates INC DEC Command INC EL LL LL D INCP DECP c fp Start number of devices for INC 1 DEC 1 operation BIN 16 bits Set Internal Devices onstants ers Ww Functio
85. of the CPU module is 13042 or later 9990 expected value a line test ee Hardware error of the CC Link Safety 8331 Lapse in separated receiving data has master module or the relevant CC as 9 occurred Link Safety remote module Contact your local Mitsubishi representative Check if the link ID setting of the a relevant remote station and the link z ID that has been set in the network g 8332 The link in receiving data is different parameter are identical as z from the expected value Hardware error of the CC Link Safety master module or the relevant CC Link Safety remote module Contact your local Mitsubishi representative Check if the setting value of the Safety refresh monitoring time is m 8333 s running PO IIS Hardware error of the CC Link Safety QS different from the expected value master module or the relevant CC Link Safety remote module Contact your local Mitsubishi representative Check the cable status visually or by a line test The CC Link Safety master station Hardware error of the CC Link Safety 8334 i QS cannot recognize the received data master module or the relevant CC Link Safety remote module Contact your local Mitsubishi representative Safety communication target station detection error Error information is Check the error code of the 8400 received from a safety communication communication target station on CC Qs target station on CC Link
86. or overflow is generated in an operation result The carry flag in this case does not go ON 02147483647 K2 K 2147483647 Since b31 is 1 the judgment is H7FFFFFFF H00000002 H80000001 a negative value 2147483648 K 2 9 K2147483646 Since b31 value is 0 the judgment is H80000000 HFFFFFFFE H7FFFFFFE a positive value 6 10 6 2 Arithmetic Operation Instructions 6 2 2 BIN 32 bit addition and subtraction operations D P D P D P D P D 1 Subtracts 32 bit BIN data designated by from 32 bit BIN data designated by s and stores the result of the subtraction at the device designated by Q Dun A 7 A x e b31 b16 b15 bO b31 b16 b15 bO b31 b16 b15 bO 567890 123456 BIN gt 444434 BIN 2 The values for and can be designated at between 2147483648 and 2147483647 BIN 32 bits 3 Judgment of whether the data is positive or negative is made on the basis of the most significant bit b31 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON 2147483648 K2147483646 Since b31 is 0 the judgment is H80000000 H00000002 H7FFFFFFE a positive value 2147483647 K 2 gt 2147483647 Since b31 is
87. p 2 NON S1 S2 D 4 7 18 exclusive WXNRP 51 S2 D to logical DXNR Sm DXNR jl D 1 D 4 S 1 S gt D 1 D 3 7 16 DXNRP DXNRP S D DXNR DXNR 51 52 D 21 4 S1 1 S1 2 1 2 gt D 1 D 4 7 18 DXNRP DXNRP 581 52 D 1 The number of steps may increase due to the conditions described in 3 6 2 5 Application Instructions 2 15 2 5 1 Logical operation instructions 2 6 QSCPU Dedicated Instruction 2 6 1 Forced control stop instruction Table 2 14 Forced Control Stop Instruction Execution Processing Details gory Condition Instruction Symbols Forced Stops program execution S QSABORT control Places safety CPU module in the stop error S QSABORT S H stop state 1 8 steps when a constant is used 2 16 2 6 QSCPU Dedicated Instruction 2 6 1 Forced control stop instruction Number of Basic Steps See for Description 8 2 NOILdIdO2S3G TVH3N39 LL O 2 C I lt 84 2 O INSTRUC TIONS S318VL NOILONYLSNI SNOILONYLSNI JO NOILVYNSISANOO SNOILONUYLSNI QV3 OL MOH SNOILONUYLSNI 5 SNOILONUYLSNI olsva SNOILONUYLSNI NOLLWONddV 3 1 3 7 Configuration of Instructions Most safety CPU module instructions consist of an instruction part and a device part Each part is used for the following purpose Instruction pa
88. range 0 to 900 time Example When the current scan time is 23 6ms the following 9 Every END Current scan values are stored SD521 time in 100 us SD520 23 units 50521 600 accuracy of processing time of scantime is 0 1ms Minimum scan ES Stores the minimum value of the scan time into SD524 and 0524 time 1 ms 2 0525 Measurement is made 100 ys units Minimum units 90524 Stores the ms place Storage range 0 to 6553 S Every END Sdn SD525 Stores the us place Storage range 0 to 900 SD525 time in 100 ys PN its The accuracy of processing time of scantime is 0 1ms units Maximum scan Stores the maximum value of the scan time into 50526 and SD526 time in 1 ms 4 0527 Measurement is made in 100 ys units Maximum units 0526 Stores the ms place Storage range 0 to 6553 S Every END ib 0527 Stores the us place Storage range 0 to 900 SD527 time 100 us He its accuracy of processing time of scantime is 0 1ms units Qs END SD540 processing time Stores the time when the scan program ends until the next scan starts into 50540 50541 END in 1 ms units Measurement is made 100 ys units SE END 0540 Stores the ms place Storage range 0 to 6553 Every processing time 0541 Stores the us place Storage range
89. safety Although the safety remote station set remote station settings or delete the in the network parameter does not e setting of the safety data monitoring support the safety data monitoring time time it is set for the station Corod QS 3106 The refresh parameter for CC Link IE parameters Field Network is overlapped with the AE f the error occurs after correction it refresh parameter or the I O suggests hardware fault Contact assignment setting for other RETE your local Mitsubishi representative networks The safety data monitoring time has Delete the setting of the safety data 2 been set monitoring time us 1 This applies when the serial number first five digits of the MELSECNET H module is 08102 or later 2 This applies when the serial number first five digits of the CPU module is 10031 or earlier 3 This applies when the serial number first five digits of the CPU module is 13042 or later 2 9 1 5 Error code list 3000 to 3999 per LED Status CPU Error Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Status 9 CC LINK 3107 PARAMETER Scd join Off Flash Sp i ERROR Parameter DUPLICAT NE File name number At power ON 1 Off Flash t 5152 Drive block No At reset the switch set
90. the special relay headings Set b Number Name Meaning Explanation rat m Turns ON when an error is detected by diagnostics D ti OFF N 5 0 PS du Includes when an annunciator is ON S Error errors ON Error Remains ON if the condition is restored to normal thereafter Turns ON when an error is detected by self di ti 2 OFF No self diagnosis em P Self diagnosis Does not include when an annunciator is SM1 errors S Error wee ON Self diagnosis ON 9 Remains ON if the condition is restored to normal thereafter OFF No error common SM5 nid common information When Mo is ON ON if there is error S Error information ON Error common common information information OFF No error individual Error individual information When SMO is ON ON if there is error SM16 S E information ON Error individual individual information Error information SM50 Error reset OFF ON Error reset Conducts error reset operation U ON if battery voltage at CPU module or memory card drops below rated value Battery OFF 5 51 i Remains ON if the battery voltage returns to S Error latch ON Battery low normal thereafter Synchronous with BAT LED OFF N 5 5 51 but OFF sub tl SM52 Battery low orma ame as but goes subsequently S Error ON Battery low when battery voltage returns to normal OFF AC DOWN not Turns ON if an instantaneous
91. wc n eS Master control ladder igno Mace M c ta ee UNE idee E E all MCR MCR n n Nesting NO to N14 Nesting D Number of the device to turn ON bits Set Internal Devices Others onstants n O 2n RARE 3 The master control instruction is used to enable the creation of highly efficient ladder switching sequence programs through the opening and closing of a common bus for ladders A ladder using the master control would look as shown below Ladder displayed in the GX Developer ladder mode Ladder of actual operation r 4 MC N1 MO t MC N1 MO 12 0 1 0 X1 X3 M7 X1 X3 M7 47 lt var gt Executed only 5 when is YAF var 54 X6 X4 X6 X4 4 1 MCR N1 MCR T 1 Y10 lt Y40 5 4 Inputting contacts on the vertical bus is not necessary when programming in the write mode of the GX Developer These will be automatically displayed when the conversion operation is conducted after the creation of the ladder and then read mode is set 5 38 5 4 Master Control Instructions 5 4 1 Setting and resetting the master control MC MCR 1 If the exec
92. 0 1 0 1 0 Each bit can use 1 as 0 as OFF 1 0 b Word device bit designation is done by designating Word device Bit No Designation of bit numbers is done in hexadecimal For example bit 5 65 of DO is designated as 00 5 and bit 10 b10 of DO is designated as DO A However there can be no bit designation for timers T retentive timers ST or counters Example 0 0 is not available Bit designation of word device K Bit 5 b5 of DO is turned ON 1 SET D0 5 Bit designation of word device Turns ON OFF in accordance with 0 5 1 0 of bit 5 b5 of DO 3 2 Designating Data 3 3 3 2 1 Using bit data 3 2 2 Using word 16 bits data Word data is 16 bit numeric data used by basic instructions and application instructions The following two types of word data can be used with safety CPU module Decimal constants K 32768 to K32767 Hexadecimal constants 0000 to HFFFF Word devices and bit devices designated by digit can be used as word data 1 When Using Bit Devices a Bit devices can deal with word data when digits are designated Digit designation of bit devices is done by designating Number of digits Start number of bit device Digit designation of bit devices can be done in 4 point 4 bit units and designation can be made for K
93. 1 b16b15 b0 5 D 1 b 2 sneer san eae bO Q oi11o0 1 Wi41 010 010 1 V 010101 1 7 1 Logical Operation Instructions 7 5 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P WAND P DAND P 2 When bit devices are designated the bit devices below the points designated as digits are regarded as 0 in the operation See Program Example 2 Y Operation Error 1 There are no operation errors associated with the WAND P or DAND P instruction Program Example 1 The following program masks the digit in the 10s place of the 4 digit BCD value at D10 second digit from the end to 0 when XA is turned ON Ladder Mode 0A 0 HOFFOF 010 HFFOF 1111111 1111 411 01010101 1111111 bsec cereo ba bo 2 The following program performs a logical product operation on the data at D99 and D100 and the 24 bit data between X30 and X47 when X8 is ON and stores the results at D99 and D100 Ladder Mode Operation 531 b30 b29 b28 b27 b26 b25 b24 b23 b22 b3 b2 b1 bO 0100 0991 1 11 111 1 1 1 1 V A 1 1 ER X47 X46 _ X33 X32 X31 X30 47 30 10 0 0 0 0 0 0 0 1 11 0 1 0 1 Regarded as 0 531 b30 b29 b28 b27 626 b25 b24 623 522 b3 b2 b1 50
94. 1 8422 8423 8424 8425 Safety monitoring timeout error 8430 8431 8432 Safety station reception data error 8440 Safety connection setting error Appendix 3 SPECIAL REGISTER LIST App 33 TableApp 3 9 Special register Set by Corresponding Number Name Meanin Explanation d When set CPU When an error is detected and an interlock is activated the bit corresponding to the error station turns to 1 b15 b14 to b9 b8 b7 b6 b5 b4 b3 b2 b1 bO 01700 16 15 10 91817654321 01701 32 31 to 26 25 24 23 22 21 20 19 18 17 01700 Safety station 0 Not 501702 48 47 to 42 41 40 39 38 37 36 35 34 33 S Status to interlock interlocked 501703 64 63 to 58 57 56 55 54 53 52 51 50 49 Qs change SD1707 status 1 Interlocked 01704 80 79 to 74 73 72 71 70 69 68 67 66 65 01705 96 95 to 90 89 88 87 86 85 84 83 82 81 01706 1121111 to 106 105 104 103 102 101100 99 98 97 01707 120119118117 116 115 114113 1 to 120 in the table indicate station numbers Fixed to 0 The interlock status of a safety station is released when the 0 I O interlock corresponding bit in this register is changed from 0 to 1 of safety b15 514 b9
95. 1 0 A 1 2 D 1 D 3 e 7 3 DANDP S D DAND DAND S1 92 D 51 1 51 A S2 1 S2 D 1 D 4 7 5 DANDP 5152 WOR wor S D 0 6 gt 3 7 8 WORP WORP S D T WOR wor si sz p B S1 2 D 4 7 10 Logical WORP worP _ 5152 i sum DOR DOR s D 1 0 1 0 1 2 D 1 D 3 7 8 DORP DORP S D T DOR DoR 8152 B S141 81 V 2 1 32 gt 0 1 0 4 7 10 DORP DORP _ 8152 WXOR 5 D SA S gt D 3 7 12 WXORP WXORP 5 WXOR WXOR 5152 D S1 S2 D 4 7 14 Exclusive XORP WXORP 51 52 D f S DXOR pxor s D zl if D 1 D 4 S 1 S gt D 1 D 4 7 12 DXORP DXORP DXOR DXOR 51 82 D 5 S141 81 2 S2 1 S2 D 1 D 4 7 14 DXORP DXORP 81 82 D 1 The number of steps may increase due to the conditions described in 3 6 2 14 2 5 Application Instructions 2 5 1 Logical operation instructions Table 2 13 Logical Operation Instructions Continued 8 E 5 E 2 Catego 2 Processing Details Execution 8 2 i i PS 5 id Condition 5 n o e 5 E 2 WXNR twxnr 4 0 S gt D 7 16 5 WXNRP WXNRP S D f WXNR wxnr s1 s2
96. 1 to K4 For example if XO is designated for digit designation the following points would be designated e K1XO The 4 points to are designated 2 0 The 8 points 0 to X7 are designated e The 12 points to XB are designated 4 The 16 points 0 to XF are designated X8 XT ms X4 X3 254 K1 designation range 4 points K2 designation range 8 points K3 designation range 12 points K4 designation range 16 points Fig 3 1 Digit Designation Setting Range for 16 Bit Instruction b In cases where digit designation has been made at the source S the numeric values shown in Table 3 1 are those which can be dealt with as source data Table 3 1 List of Numeric Values that Can Be Dealt with as Digit Designation Number of Digits E With 16 Bit Instruction Designated K1 4 points 0 to 15 K2 8 points 0 to 255 12 points 0 to 4095 16 points 32768 to 32767 3 2 Designating Data 3 2 2 Using word 16 bits data When destination D data is word device The word device for the destination becomes 0 following the bit designated by digit designation at the source 16 bit Instruction 010 pm Bs Filled with 0 iL et ee b4 b3 b2 b1 bO Source
97. 1000 7 1 Logical Operation Instructions 7 13 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P N 2 55 EO a n E lt lt WXOR P DXOR P WXOR P DXOR P 2 When three data set 65 y 9 1 6 v 9 1 62 61 Command WXOR DXOR p LL 62 Command WXORP DXoRP 6 6 Data for an exclusive OR operation or start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the exclusive OR operation result will be stored BIN 16 32 bits 6 62 D Ke Function WXOR 1 Conducts an exclusive OR operation on each bit of the 16 bit data of the device designated by 6 and the 16 bit data of the device designated by 62 and stores the results at the device designated by eee b8 bz 2 22 b0 01010101 AEA A a 1 1 0 01010 XOR 62 011011 011 1 1 1 0 011101111101110 110 110 0111011 2 For bit devices the bit devices below the points designated by digit specification regarded as 0 in the operation See Program Example 1 DXOR 1 Conducts an exclusive OR operation on each bit of the 32 bit data of the device designated by 6 and the 32 bit data of the device designated by 62 and stores
98. 2 Arithmetic Operation Instructions 6 15 6 2 3 BIN 16 bit multiplication and division operations P D P D P 6 2 4 BIN 32 bit multiplication and division operations D P D P indicates D D D DARADE Data to be multiplied divided or start number of the devices where the data to be multiplied divided is stored BIN 32 bits 62 Data for multiplying dividing or start number of the devices where the data for multiplying dividing is stored BIN 32 bits D Start number of the devices where the multiplication division operation result will be stored BIN 64 bits Set Internal Devices Constants Oth ers 6 62 O O 52 Function D 1 Multiplies BIN 32 bit data designated by 6 and BIN 32 bit data designated by 6 and stores the result in the device designated by 6 G1 62 O2 AL A 531 b16 b15 b0 b31 b16 b15 b0 b63 b48 647 b32 b31 b16 b15 b0 567890 BIN x 123456 BIN 70109427840 BIN 2 If is a bit device only the lower 32 bits of the multiplication result will be considered and the upper 32 bits cannot be designated K1 Lower 4 bits bO to b3 KA Lower 16 bits bO to b15 K8 Lower 32 bits bO to b31 If the upper 32 bits of the bit device are
99. 2 bits 3 Judgment of whether the data is positive or negative is made on the basis of the most significant bit D31 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON K2147483647 2 2147483647 Since b31 is 1 the judgment is HZFFFFFFF H00000002 80000001 a negative value 2147483648 K 2 K2147483646 Since b31 is 0 the judgment is H80000000 HFFFFFFFE H7FFFFFFE positive value 6 12 6 2 Arithmetic Operation Instructions 6 2 2 BIN 32 bit addition and subtraction operations D P D P D P D P D 1 Subtracts 32 bit BIN data designated by 6 from 32 bit BIN data designated by 62 and stores the result of the subtraction at the device designated by 6 D b31 b16 b15 bO b31 b16 b15 b0 b31 b16 b15 bO 567890 BIN 123456 BIN gt 444434 BIN 2 The values for 6 and p be designated at between 2147483648 and 2147483647 BIN 32 bits 3 Judgment of whether the data is positive or negative is made on the basis of the most significant bit D31 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON 2147483648 K2
100. 3 4 T8 6 7 T8 9 8 Number of S Instruction detection annunciators 072 annunciator b detected execution numbers number 6470 50 50 50 50 50 50 50 50 50 50 50 99 073 065 0 0 25 25 99 99 99 99 99 99 99 99 15 4 5066 0 0 0 99 0 15 15 15 15 15 15 15 70 SD74 SD67 0 01 01 0 0 O 70 70 70 70 70 70 65 06810 0 0 0 0 0 0 65 65 65 65 65 38 075 069 o 38 se 38 ss 10 5 o 10101051 SD76 5071 0 0 0 0 0 0 0 15151 10 Number 07210 4 5077 sorso 507410 0 0 01 0 0 0 0 0 0 0 010 5075 0 0 0 0 0 0 0 0 0 0 0 010 8078 076 0 0 0 0 01 0 0 0 0 0 0 01 0 5 77 0 0 0 0 0 0 0 0 0 0 0 0 0 SD79 D78 0 0 0 0 0 0 0 0 0 0 0 0 O0 07910 10101010101010 10 0 0 0 0 22 Appendix 3 SPECIAL REGISTER LIST Corresponding CPU Qs TableApp 3 2 Special register error present number in units of 16 points corresponds to the start 16 I O points turns on Example When a module with 64 I O points is mounted in slot 0 only bO turns on when an error is detected Not cleared even if the blown f
101. 4 3 3 SUDSEt PROCESSING et E 3 9 34 Cautions on Programming Operation 3 10 3 5 Conditions for Execution of Instructions 3 12 3 6 Counting Step Number inedite eder kiia Lee teet ee e e dp 3 13 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same 3 14 4 HOW TO READ INSTRUCTIONS 4 1to4 4 5 SEQUENCE INSTRUCTIONS 5 1 to 5 46 5 1 Contact Instr ctlOn 5 2 5 1 1 Operation start series connection parallel connection LD LDI AND ANI OR ORI 5 2 5 1 2 Pulse operation start pulse series connection pulse parallel connection EDP EDF ANDP ANDAF ORP ORF nrbe eet ic bet te Ree ics 5 5 5 2 Connection Instructions sacres cene Ee eae d dva sa dd 5 7 5 2 1 Ladder block series connections and parallel connections ANB 5 7 5 2 2 Operation results push read pop MPS MRD 5 9 5 2 3 Operation results inversion 5 12 5 2 4 Operation result pulse conversion MEP 5 14 5 2 5 Pulse conversion of edge relay operation results EGP EGF
102. 5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 Error common information Meaning Error common information 3 4 4 9 55 TableApp 3 2 Special register Explanation Time value set Number Meaning SD5 Time 14s units 0 to 9994s SD6 Time 1ms units 0 to 65535ms SD7 SD8 SD9 5010 011 012 013 014 015 Program error location Number Meaning SD5 SD6 File name SD7 ASCII code 8 characters SD8 SD9 Extension 3 2 5010 ASCII code 3 characters 011 012 Block No 4 5013 Step 4 014 Sequence step L 015 Sequence step No is stored to the block number and the step number CC Link Safety information Number Meaning SD5 Error classification 5 SD6 Error item 5 SD7 Link ID SD8 Station No SD9 System area 1 SD10 System area 2 SD11 System area 3 SD12 System area 4 SD13 System area 5 SD14 System area 6 SD15 System area 7 For details on the error classification and error item refer to the manuals for the connected devices 10 Module No Station No Number Meaning SD5 Slot No SD6 No SD7 Station No SD8 SD9 5010 8011 012 013 014 015 11 CC Link IE Field Network information 6
103. 5 15 5 35 Outp t Instruction x e eI eT ep te 5 17 5 3 1 Out instructions excluding timers counters and annunciators 0 5 17 5 32 Timers QUT T OUT ELT eate ete ete D E 5 19 5 3 3 Counters QUT C Ead iae sa 5 23 5 3 4 Annunciator output OUT E ee Et ee det teda pt e eem ln 5 25 5 3 5 Setting devices except for annunciators 5 e 5 27 5 3 6 Resetting devices except for annunciators 5 29 5 3 7 Setting and resetting the annunciators SET 5 31 5 3 8 Leading edge and trailing edge output PLS PLF 2 5 33 539 Bit device outputireverse eene ac ee o RAE 5 36 54 Master Control Instructions eene enne 5 38 5 4 1 Setting and resetting the master control MC 5 38 5 5 Termination Instructions iude a 5 42 5 5 End sequence program 5 42 5 6 Other Instructions e Ae ve epe E 5 43 5 6 1 No operation NOPLF PAGE 5 43 6 BASIC INSTRUCTIONS 6 1 to 6 38 6 1 Comparison Operation Instruction n nnn n nnn 6 2 6 1 1 BIN 16 bit data comparisons lt gt gt
104. 5 us MOV DO D1 END processing time END instruction 8200us END I O refresh time refresh time 310us TOTAL 0 45 8200 us 310 us 8510 45 us App 2 Appendix 1 OPERATION PROCESSING TIME Appendix 1 1 Definition Appendix 1 2 Operation Processing Time The processing times for the individual instructions are shown in the table on the following pages Operation processing times can vary substantially depending on the nature of the sources and destinations of the instructions and the values contained in the following tables should therefore be taken as a set of general guidelines to processing times rather than as being strictly accurate 1 Sequence instruction Conditions Device Processing Time us LD LDI X0 0 10 AND ANI OR ORI 00 0 0 15 LDP LDF An ANDP ANDF ORP 00 0 ORF APPENDICES 0 15 ANB ORB MPS 0 10 MRD MPP When not executed INV a S 0 10 When executed MEP When not executed j s MEF When executed When not OFF OFF executed ON ON EGP 0 10 When OFF ON executed ON OFF When not OFF OFF 11 executed ON ON 14 EGF When OFF 14 executed OFF 16 Appendix 1 OPERATION PROCESSING TIME App 3 Appendix 1 2 Operation Processing Time 4 Instruction Conditions Device Processing Time us
105. 62 WORP DORP 6 62 Data for a logical sum operation or start number of the devices where the data is stored BIN 16 32 bits Start number of the devices where the logical sum operation result will be stored BIN 16 32 bits Set Constants 6 62 0 2 Function WOR 1 Conducts a logical sum operation on each bit of the 16 bit data of the device designated by 6 and the 16 bit data of the device designated by and stores the results at the device designated by 6 1 1 010 01010101111 1 110 0 010 OR bO 01010101111 010111110 0 0101111 bO OM oot 1 0 0 711117979117 1 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation See Program Example 1 DOR 1 Conducts a logical sum operation on each bit of the 32 bit data of the device designated by 6 and the 32 bit data of the device designated by and stores the results at the device designated by 516115 bO oioi a o i OR 7 10 7 1 Logical Operation Instructions 7 1 2 Logical sums of 16 bit and 32 bit data WOR P DOR P WOR P DOR P 2 When bit devices are designated the bit devices below the points designated as digits are
106. 7 to b4b3 to b0 Example S Request U SD212 Clock data minute second am E 1 1 35 48 sec cnn 3548H Minute Second Stores the year two digits and the day of the week 50213 in the BCD code format as shown below b15 to pie bti ne 5 ba Be to 50 Example p P 4g IW edle cll dy uir nj 2006 Monday pee Ea a a d a a d 2004 Clock data later digits of 0213 Clock data of the week year day of Sunday week Higher digits of year 19 or 20 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday 0232 ROM writ ROM writ S Writing t 4 uL ub Store the ROM write count up to now neni te SD233 count count up to now ROM 0 Automatic z SD240 Base mode mode Stores the base mode 0 fixed S Initial SD241 Extension 0 Main base Stores the maximum number of the extension bases being S Initial Corresponding CPU QS App 25 APPENDICES TableApp 3 4 Special register Set b Number Name Meaning Explanation t InstalledQ 2288 b15 to b1 b0 base 2 Emy aang installed Main base unit 1 QS B is installed b15 to b4 b3 to bO SD243 No of base 50243 Main lot 0244 Ei o ae No of base slots 5 Initial t As shown above each area stores the number of slots being SD244 status installed Number of set slots when para
107. Code SH 080626ENG 13JR92 QSCPU User s Manual Function Explanation Program Fundamentals Explains the functions programming methods devices and others that are necessary to create programs with the QSCPU Sold separately SH 080627ENG 13JR93 CC Link Safety System Master Module User s Manual Explains the specifications procedures and settings before operation parameter settings and troubleshooting of the QS0J61BT12 CC Link Safety system master module Sold separately SH 080600ENG 13JR88 CC Link Safety System Remote Module User s Manual Explains the specifications procedures and settings before operation parameter settings and troubleshooting of the CC Link Safety system remote modules Sold separately SH 080612ENG 13JR89 MELSEC QS CC Link IE Field Network Master Local Module User s Manual Explains the system configuration performance specifications functions handling wiring and troubleshooting of the CC Link IE Field Network master local module with safety functions Sold separately SH 080969ENG 13 253 CC Link IE Controller Network Reference Manual Explains the system configuration specifications functions handling wiring and troubleshooting of CC Link IE Controller SH 080668ENG Network 13JV16 Sold separately Q corresponding MELSECNET H Network System Reference Manual PLC to PLC network Explains the specifications procedures and settings
108. Contact your local Mitsubishi QS CPU module representative 8020 Mismatch has occurred in the execution Take measure against noise status of CPU A and CPU Reset it and run it again If the same error is displayed again this as 8021 Mismatch of program execution times is suggests a CPU module hardware fault detected between CPU A and CPU Contact your local Mitsubishi representative 8031 The file indicated by the individual information SD17 SD22 is written into inthe brogram the individual information SD16 and 9 turn the CPU power is turned OFF ON memory or the standard ROM is QS or reset reset canceling If the same 8032 detected MN error is displayed again this suggests a CPU module hardware fault Contact your local Mitsubishi representative e Check if the program for outputing safety outputs is correct inst noise The verification of safety outputs Rs 8050 between CPU and CPU a UE QS 9 33 9 1 8 Error code list 8000 to 9000 ie o 4 O a a Information SD5 to 15 Information SD16 to 26 LED Status CPU Operation Status Diagnostic Timing At power ON At reset When INCORRECT Error 2060 FIRMWARE 5 information OM eigen instruction executed 8070 At power ON 8071 INTERNAL A
109. DP 4 Leading edge pulse series connection 1 e 5 5 ANDF Trailing edge pulse series connection ORP 4 Leading edge pulse parallel connection ORF Trailing edge pulse parallel connection 2 3 Sequence Instruction 2 5 2 3 1 Contact instructions 2 3 2 Connection instructions Table 2 4 Connection Instructions Execution Condition Category Processing Details Instruction Symbols Number of Basic Steps See for Description PAM VON AND between logical blocks ANB P s d ANB MEE Series connection between logical blocks 1 5 7 ee OR between logical blocks ORB 1 4 ORB Series connection between logical blocks MPS Memory storage of operation results MRD MPS Read of operation results stored with MRD MPS instruction 1 5 9 MPP Read and reset of operation results stored with MPS instruction Connection INV Inversion of operation result 1 5 12 Conversion of operation result to leading MEP E MN edge pulse 1 5 14 Conversion of operation result to trailing MEF d edge pulse Conversion of operation result to leading EGP Vn edge pulse 1 Stored at Vn 5 15 Conversion of operation result to trailing EGF Vn edge pulse 2 Stored at Vn 2 6 2 3 Sequence Instruction 2 3 2 Connection instructions 2 3 3 Output instructions Table 2 5 Output Instructions 2
110. Error individual information Meaning Error individual information TableApp 3 2 Special register Explanation 10 CC Link Safety information Number Meaning 5016 Number of items for individual information SD17 individual information 1 SD18 individual information 2 5019 individual information 3 5020 individual information 4 021 individual information 5 5022 individual information 6 5023 individual information 7 SD24 individual information 8 5025 individual information 9 SD26 individual information 10 11 Program abort information z mber Meaning D16 Abort code x5 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 5 The specified abort code is stored by the S QSABORT instruction 12 File diagnostics information Number Meaning Example File name Error MAIN QPG SD16 information Drive No b15 to b8 b7 to 50 SD17 41H A 4DH M SD18 File name AEH N 43 1 mama 20H SP 20H SP 5019 ASCII code 8 ch t Sos code 8 characters 20 5 20H SP 5 51H Q 2 021 3 2 Extension 50 022 ASCII code 3 characters 5023 Error information 2 3023 Error information 3 13 CC Link IE Field Network information Number Mean
111. Example 1 The following program adds 1 to the data at DO and D1 when is ON Ladder Mode 0 00 4 END 2 The following program adds 1 to the data set at X10 to X27 when goes ON and stores the result at D3 and D4 Ladder Mode 0 4 I DMOVP K6X10 03 DINCP D3 7 END 3 The following program subtracts 1 from the data at DO and D1 when goes ON Ladder Mode 00 4 END 4 The following program subtracts 1 from the data set at X10 to X27 when 0 goes stores the result at D3 and D4 Ladder Mode I DMOVP K6X10 03 DDECP D3 END 6 2 Arithmetic Operation Instructions 6 21 6 2 6 Incrementing and decrementing 32 bit BIN data DINC P DDEC P BASIC 2 2 2 2 DINC P DDEC P BCD P DBCD P 6 3 Data Conversion Instructions 6 3 1 Conversion from BIN data to 4 digit and 8 digit BCD BCD P DBCD P Command BCD DBCD BCDP DBCDP f BIN data or start number of the devices where the BIN data is stored BIN 16 32 bits Start number of the devices where BCD data will be stored BCD 4 8 digits Internal Devices Constants Oth O 22 Function BCD 1 Converts BIN data 0 to 9999 at the device designated by to BCD data and stores it at the device designated by 32768 16384 8192
112. IE Field Link IE Field Network Network It may be malfunction due to noise Check the soundness of transmission Safety station product information path by performing the CC Link IE Field mismatch Model name or Production Network diagnostics Check the 8410 Gs 9 39 9 1 8 Error code list 8000 to 9000 7 LED Status CPU Error Diagnostic Massage Information Information RUN ERROR Operation Timing SD5 to 15 SD16 to 26 Status When connection 42 established with safety stations 8421 Always When an error 8422 received from a safety station 8423 CC IE DATA CC Link IE Field RECEPTION E Network On On Continue station No TIMEOUT information Always 8424 1 operating status of a CPU module case of an error be set in the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 Atoccurrence of F the USER LED turns on 9 40 9 1 8 Error code list 8000 to 9000 8420 8421 8422 8423 8424 Error Contents and Cause Safety monitoring timeout error A timeout error occurred during safety communication Corrective Action Check that the following operations are not performed 1 Switching the operation mode 2 Writing the program memory to ROM 3 Registrati
113. LDP instruction Ladder not using an LDP instruction MOV KO DO H MOVP DO ee o HP 5 1 Contact Instruction 5 5 5 1 2 Pulse operation start pulse series connection pulse parallel connection LDP LDF ANDP ANDF ORP LDP LDF ANDP ANDF ORP ORF 2 LDF is the trailing edge pulse operation start instruction and is ON only at the trailing edge of the designated bit device when it goes from ON to OFF If a word device has been designated it is ON only when the designated bit changes from 1 to 0 ANDP ANDF 1 ANDP is a leading edge pulse series connection instruction and ANDF is a trailing edge pulse series connection instruction They perform an AND operation with the operation result to that point and take the resulting value as the operation result The ON OFF data used by ANDP and ANDF are indicated in the table below Device Device specified in ANDP or ANDF in ANDP or ANDF p designated for ANDP State ANDF State Bit device word device OFF to ON 0 to 1 OFF 0 OFF ON 1 OFF ON to OFF 1100 ON ORP ORF 2 ORP is a leading edge pulse parallel connection instruction and ORF is a trailing edge pulse serial connection instruction They perform an OR operation with the operation result to that point and take the resulting value as the operation result The ON OFF data used by ORP and ORF are indicated in the table below Device
114. MC MCR gt Executed when is ON Executed when A and are Executed when A B and C are ON Executed when A and B are ON Executed when Ais ON Not related to A B and C Cautions when Using Nesting Architecture 1 Nesting can be used up to 15 times NO to N14 When using nesting nests should be inserted from the lower to higher nesting number N with the MC instruction and from the higher to the lower order with the MCR instruction If this order is reversed there will be no nesting architecture and the safety CPU module will not be capable of performing correct operations For example if nesting is designated in the order N1 to NO by the MC instruction and also designated in the N1 to NO order by the MCR instruction the vertical bus will intersect and a correct master control ladder will not be produced Ladder displayed in the GX ladder mode A 1 15 No M16 lt gt 1 lt gt mema H Ladder of actual operation 2 If the nesting architecture results MCR instructions concentrated one location all master controls can be terminated by use of just the lowest nesting number N X1 mo wo NO M15 mema 2 1 16 gt X3 N2 M17 gt MCR N2
115. MITSUBISHI Mitsubishi Safety Programmable Controller MES QSCPU Programming Manual Common Instructions SAFETY PRECAUTIONS Always read these cautions before using the product Before using this product please read this manual and the related manuals introduced in this manual and pay full attention to safety to handle the product correctly Please store this manual in a safe place and make it accessible when required Always forward a copy of the manual to the end user CONDITIONS OF USE FOR THE PRODUCTO 1 Although MELCO has obtained the certification for Product s compliance to the international safety standards 61508 954 1 15013849 1 from TUV Rheinland this fact does guarantee that Product will be free from any malfunction or failure The user of this Product shall comply with any and all applicable safety standard regulation or law and take appropriate safety measures for the system in which the Product is installed or used and shall take the second or third safety measures other than the Product MELCO is not liable for damages that could have been prevented by compliance with any applicable safety standard regulation or law MELCO prohibits the use of Products with or in any application involving and MELCO shall not be liable for a default a liability for defect warranty a quality assurance negligence or other tort and a product liability in these applications a p
116. N when D8 0 wo 6 2 Arithmetic Operation Instructions 6 19 6 2 5 Incrementing and decrementing 16 bit BIN data INC P DEC P BASIC 2 2 2 2 INC P DEC P DINC P DDEC P 6 2 6 Incrementing and decrementing 32 bit BIN data DINC P DDEC P Command DINC DDEC _ L Command n DINCP DDECP _ D Start number of devices for DINC 1 or DDEC 1 operation BIN 32 bits Set Internal Devices on onstants ers d Function DINC 1 Adds 1 to the device designated by 32 bit data 531 316 b15 bO b31 b16 b15 bO 73500 BIN gt 73501 BIN 2 When DINC DINCP operation is executed for the device designated by whose content is 2147483647 the value 2147483648 is stored at the device designated by DDEC 1 Subtracts 1 from the device designated by 32 bit data 531 816 b15 bO b31 b16 b15 bO 73500 BIN 4 gt 73499 BIN 2 When DDEC DDECP operation is executed for the device designated by whose content is 0 the value 1 is stored at the device designated by 2 Operation Error 1 There are no operation errors associated with DINC P or DDEC P 6 20 6 2 Arithmetic Operation Instructions 6 2 6 Incrementing and decrementing 32 bit BIN data DINC P DDEC P DINC P DDEC P _ Program
117. Network parameter to the CPU Some data the parameters are not module supported If an error occurs even after The station type for a CC Link IE correction a hardware failure is Controller Network has been considered Please consult your local Mitsubishi representative RESET RUN is required to change the station type number of modules actually 3100 mounted is different from that is set in ps Check th tt Network Network parameter for MELSECNET odd Rd 4 parameter and actual mounting lt The start I O number of the module status ang if they aimen correct either Mun the setting or mounting status so that actually mounted is different from they become the same If the nete a arameter setting is corrected write MELSECNETH Network parameter to the CPU Some data in the parameters are not module QS 1 This applies when the serial number first five digits of the MELSECNET H module is 08102 or later 2 This applies when the serial number first five digits of the CPU module is 10031 or earlier 3 This applies when the serial number first five digits of the CPU module is 13042 or later 9 1 5 Error code list 3000 to 3999 Individual LED Status CPU A Error Diagnostic Information Information Operation M Timi essage sD5to 15 SD16to 26 RUN ERROR Status NETWORK 3101 PARAMETER Param
118. OR COST OVERRUNS OR FOR ENVIRONMENTAL OR POLLUTION DAMAGES OR CLEAN UP COSTS WHETHER THE LOSS IS BASED ON CLAIMS FOR BREACH OF CONTRACT OR WARRANTY VIOLATION OF STATUTE NEGLIGENCE OR OTHER TORT STRICT LIABILITY OR OTHERWISE e In the event that any damages which are asserted against MELCO arising out of or relating to the Products or defects in them consist of personal injury wrongful death and or physical property damages as well as damages of a pecuniary nature the disclaimers and limitations contained in these terms shall apply to all three types of damages to the fullest extent permitted by law If however the personal injury wrongful death and or physical property damages cannot be disclaimed or limited by law or public policy to the extent provided by these terms then in any such event the disclaimer of and limitations on pecuniary or economic consequential and incidental damages shall nevertheless be enforceable to the fullest extent allowed by law f In no event shall any cause of action arising out of breach of warranty or otherwise concerning the Products be brought by Customer more than one year after the cause of action accrues g Each of the limitations on remedies and damages set forth in these terms is separate and independently enforceable notwithstanding the unenforceability or failure of essential purpose of any warranty undertaking damage limitation other provision of these terms or other terms comprising the contract of s
119. PU 1 1 Manuals Essential for Programming 1 2 Generic Terms and Abbreviations This manual describes the QS series CPU module using the following generic terms and abbreviations unless otherwise specified Safety PLC Generic term for safety CPU module safety power supply module safety main base unit CC Link safety master module CC Link safety remote module and CC Link IE Field Network master local module with safety functions Standard PLC Generic term of each module for MELSEC Q series MELSEC L series MELSEC QnA series MELSEC A series and MELSEC FX series Used for distinction from safety PLC QS Series Abbreviation for Mitsubishi Safety PLC MELSEC QS Series 05001 Abbreviation for QS001CPU type safety CPU module CPU Module Other name for QS001CPU GX Developer Generic product name for product models SW8D5C GPPW E SW8D5C GPPW EA SW8D5C GPPW EV and SW8D5C GPPW EVA QS0J61BT12 Abbreviation for QS0J61BT12 type CC Link Safety system master module CC Link Safety Abbreviation for the CC Link Safety system CC Link Safety master module Other name for Q50J61BT12 QS0J65BTS2 8D Abbreviation for the Q80J65BTS2 8D CC Link Safety remote module QS0J65BTS2 4T Abbreviation for the 050 65 52 4 CC Link Safety remote I O module QS0J65BTB2 12DT CC Link Safety remote I O module Abbreviation for the QSOJ65BTB2 12DT CC Link Safety remote I O module
120. Qs 8430 8431 8432 Safety station reception data error Incorrect data is received It may be malfunction due to noise Check the soundness of transmission path by performing the CC Link IE Field Network diagnostics Check the distance between power lines and communication cables and the installation status of each device as well Qs 8440 Safety connection setting error Incorrect CID is received Check that safety connection is correctly set for own station Qs 9000 Annunciator F was set ON in the error message indicates the detected annunciator number Read the individual information of the error using the GX Developer and check the program corresponding to the numerical value annunciator number 3 This applies when the serial number first five digits of the CPU module is 13042 or later QS 9 45 9 1 8 Error code list 8000 to 9000 9 46 9 1 8 Error code list 8000 to 9000 SNOILONYLSNI qaivoiaaa 50 APPENDICIES 53909 NOH SHOIONAddVv X3QNI App 1 Appendix 1 OPERATION PROCESSING TIME Appendix 1 1 Definition 1 Processing time taken by the QSCPU is the total of the following processing times 2 3 lt 4 5 6 Total of each instruction processing time END processing time O refresh time Service processing time Instruction processing time This is the tot
121. R ASPECTS OF THE PRODUCTS OR THEIR SALE INSTALLATION OR USE SHALL BE LIMITED TO THE PRICE PAID FOR PRODUCTS NOT AS WARRANTED b Although MELCO has obtained the certification for Product s compliance to the international safety standards IEC61508 and EN954 1 18013849 1 from TUV Rheinland this fact does not guarantee that Product will be free from any malfunction or failure The user of this Product shall comply with any and all applicable safety standard regulation or law and take appropriate safety measures for the system in which the Product is installed or used and shall take the second or third safety measures other than the Product MELCO is not liable for damages that could have been prevented by compliance with any applicable safety standard regulation or law c MELCO prohibits the use of Products with or in any application involving power plants trains railway systems airplanes airline operations other transportation systems amusement equipments hospitals medical care dialysis and life support facilities or equipment incineration and fuel devices handling of nuclear or hazardous materials or chemicals mining and drilling and other applications where the level of risk to human life health or property are elevated SHALL NOT BE LIABLE FOR SPECIAL INCIDENTAL CONSEQUENTIAL INDIRECT OR PUNITIVE DAMAGES FOR LOSS OF PROFITS SALES OR REVENUE FOR INCREASED LABOR OR OVERHEAD COSTS FOR DOWNTIME OR LOSS OF PRODUCTION F
122. REE MEN 1 scan 5 3 Output Instruction 5 35 5 3 8 Leading edge and trailing edge output PLS PLF i91 wn 5 BE zo 5e PLS PLF FF 5 3 9 Bit device output reverse FF BR E B EY FF D 5 Device number of the device to be reversed bits Set Internal Devices ehem On onstants ers WW Function 1 Reverses the output status of the device designated by when the execution command is turned OFF ON Device Status Device Prior to FF execution After FF execution ON OFF Bit device ON OFF 0 1 Bit designated for word device 7 Y Operation Error 1 There are no operation errors associated with the FF instruction 227 Program Example 1 The following program reverses the output of Y10 when X9 goes ON Ladder Mode x9 0 10 3 END Timing Chart ON 9 OFF D ON Y10 OFF 5 36 5 3 Output Instruction 5 3 9 Bit device output reverse FF FF 2 The following program reverses b10 bit 10 of D10 when goes ON Ladder Mode 0 0 s 010 3 END Timing Chart ON 510 of D10 0 1 0 i91 wn 5 BE zo 5e FF 5 3 Output Instruction 5 37 5 3 9 Bit device output reverse FF 5 4 Master Control Instructions 5 4 1 Setting and resetting the master control MC MCR Command ne
123. RROR information AVENG instruction executed 8020 CPU A amp B Always CAN T BE Error o SYNCHRO information SS j rsen Siop jen NIZED instruction executed INCORRECT Diagnostics file At power ON ee FILE information stop At reset When an END INCORRECT Di tics fil 8032 ii Po SS t Off Flash Stop instruction FILE information executed SAFETY 8050 Modnie Nee Off Flash Sto 227 VERIFY Station No P p ERROR 1 operating status of a CPU module case of an error be set the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 At occurrence of F the USER LED turns on 9 32 9 1 8 Error code list 8000 to 9000 Error Contents and Cause Error is detected by the inside register Corrective Action This suggests a CPU module hardware Corresponding CPU CPU module resulted in a mismatch If the same error is displayed again this suggests a CPU module hardware fault Contact your local Mitsubishi representative 3 This applies when the serial number first five digits of the CPU module is 13042 or later fault Contact local Mitsubishi diagnostics built in the CPU module RUE en eS representative Error is detected inside the bus of the 8010 fault
124. Read When AND and ANI are connected in series a ladder with up to 24 stages can be displayed If the number exceeds 24 stages up to 24 will be displayed OR ORI 1 OR is the A contact single parallel connection instruction and ORI is the B contact single parallel connection instruction They read ON OFF information from the designated device 3 and perform an OR operation with the operation results to that point and use the resulting value as the operation result 3 When bit designation is made for a word device the device turns ON or OFF depending on the 1 0 status of the designated bit 2 There are no restrictions on the use of OR or ORI but the following applies to the ladder mode of the GX Developer a Write OR and ORI can be used to create connections of up to 23 ladders b Read OR and ORI can be used to create connections of up to 23 ladders The 24th or subsequent ladders cannot be displayed properly Word device bit designations are made in hexadecimal Bit b11 of DO would be DO OB See 3 2 1 for more information on word device bit designation 5 1 Contact Instruction 5 3 5 1 1 Operation start series connection parallel connection LD LDI AND ANI OR ORI 122 5 OF zo 5 8 LD LDI AND ANI OR ORI LD LDI AND ANI OR ORI 2 Operation Error 1 There are no operation errors with LD LDI AND ANI OR or ORI instructions up Program Ex
125. S data o Fig 3 2 Ladder Example and Processing Conducted d In cases where digit designation is made at the destination D the number of points designated are used as the destination Bit devices below the number of points designated as digits do not change When source S data is a 1 2 3 4 numerical value 1234 X010 HE MOV H1234 2 0 Mb 0 Destination D on es 2 z Eo 02 35 9 gt lt exe D lt When source S data is a word device bO H MOV DO e 2 100 110101114 1101 Destination 0 7 Not changed Fig 3 3 Ladder Example and Processing Conducted 2 Using word devices Word devices are designated in 1 point 16 bits units Mo mov Koo The 1 point DO 16 bits is designated 3 POINT When digit designation processing is conducted a random value can be used for the bit device head device number 3 2 Designating Data 3 5 3 2 2 Using word 16 bits data 3 2 3 Using double word 32 bits data Double word data is 32 bit numerical data used by basic instructions and application instructions The two types of double word data that can be dealt with by CPU module are as follows Decimal 2147483648 to 2147483647 Hexadecimal con
126. S instruction and uses that result to perform the operation in the next step MPP wn 5 OF zo 1 Reads the operation result stored for the MPS instruction and uses that result to perform the operation in the next step 2 Clears the operation results stored by the MPS instruction 3 Subtracts 1 from the number of MPS instruction times of use MPS MRD MPP 5 2 Connection Instructions 5 9 5 2 2 Operation results push read pop MPS MRD MPP MPS MRD MPP 4 POINT 1 The following shows ladders both using and not using the MPS MRD and MPP instructions Ladder Using the MPS MRD and MPP Instruction Ladder not Using MPS MRD and MPP Instructions X0 x1 XO X1 gt HH Hv gt X0 X1 x3 Hk HHHH gt X0 X1 X5 11 12 4 gt Hi 2 The number of times the MPS and MPP instructions are used must be the same If not correct ladder display is not possible in the ladder mode of the GX Developer 2 Operation Error 1 There are no errors associated with the MPS MRD or MPP instructions Lf Program Example 1 A program using the MPS MRD and MPP instructions Ladder Mode 1 8 0 E 30 X1D N9 M68 6 4 0 2 Y34 N81 N96 5 N97 M98 2 Y38 5 10 5 2 Connection Instructions 5 2 2 Operation results push read
127. SD1002 48 47 to 34 33 501003 64 63 to 50 49 1 to 64 in the table indicate station numbers 0 Normal communicat The refresh communication status of safety remote station is reserved stored Safety refresh station 0 is stored for the standard remote station communication unused SD4004 Status of each station b15 b14 to b1 50 io safety remote standard SD1004 16 15 to 2 1 S Status station CC remote change SD1007 Link station on SD1005 32 31 to 18 17 Safety master CC Link SD1006 48 47 to 34 33 module 1 Safety 1 Safety station SD1007 64 63 to 50 49 communication 1 to 64 in the table indicate station numbers error status of communication with each safety remote station is stored 501008 Station number 1 to 501071 Station number 64 0 fixed in the case of standard remote station reserved station QS specified or without connection 0 At normal communication 10 At initial Safety station The status of 20 During internal information access 501008 communication communication 30 Link error S Status to status CC Link with safety 8300 Link error Safety remote station detection error 01071 Safety master remote stationis 8310 Link error Product information mismatch change module 1 stored 8320 Link error Initial monitor timeout 8321 Link error Safety monitor timeout 8322 Link error Error monitor timeout 8330 Link error Command error 8331 Link error Data s
128. T 8 S Data to be stored 5016 as the abort code or the number of the device where the data is stored BIN 16 bits Internal Devices Constants Oth NA Function 1 Execution of the S QSABORT instruction stops program execution and brings the safety CPU module into the stop error status error code 4700 1 5 0 diagnostics error turns ON to store the error information in SDO to SD26 In this case however SM1 self diagnostics error does not turn ON 1 For the CPU operation at a stop error refer to the following manual QSCPU User s Manual Function Explanation Program Fundamentals The first argument of the S QSABORT instruction is stored in SD16 5 1234 Executes the S QSABORT instruction Empty The CPU enters the stop error state Fixed at 0 and the succeeding instructions are not executed 2 Details of the program error are stored in the common information SD5 to SD15 SD5 SD6 File name ASCII code 8 characters SD7 SD8 SD9 2EH Extension ASCII code 3 characters 010 011 Fixed to 0 SD12 0 Block No SD13 0 Step No Shift conditions SD14 Sequence step No L where the S QSABORT instruction was executed SD15 Sequence step No where the S QSABORT instruction was executed 8 2 8 1 Forced Control Stop Instruction S QSABORT S QSABORT 3 Program abort information is stored in the ind
129. U module is 13042 or later 9 1 5 Error code list 3000 to 3999 Individual LED Status Diagnostic Information Information Operation M Timi essage sD5to 15 SD16to 26 RUN ERROR Status mand NETWORK 3100 PARAMETER Perdona Of Flash iim ERROR 9 1 5 Error code list 3000 to 3999 Error Contents and Cause number of modules actually mounted is different from that is set in Network parameter for CC Link IE Controller Network start I O number of the module actually mounted is different from that is set in Network parameter for Corrective Action Check the setting in Network parameter and actual mounting status and if they differ correct either the setting or mounting status so that they become the same If the parameter setting is corrected write Corresponding CPU 9 ERROR CODES supported station type for a MELSECNET H has been changed while the power is ON RESET RUN is required to change the station type mode switches of MELSECNET H module are out of the setting range f an error occurs even after correction a hardware failure is considered Please consult your local Mitsubishi representative Set the mode switches of MELSECNET H module within the setting range CCLink IE Controller Network
130. UT 5 17 Output Instruction OUT 5 17 Output Instructions List 22 2 7 Output Reverse 5 36 P PAGE break NOPLF 5 43 PAGE n No operation 5 43 Parallel connection OR ORI 5 2 Parallel connection ORB 5 7 PLF Trailing edge output 5 33 PLS Leading edge output 5 33 Pop MPP RENNES 5 9 Pulse PES b dE nbus 5 33 Pulse conversion EGP enixe ee e eae 5 15 MEF dee ties 5 14 Pulse operation start LDP LDF 5 5 Pulse parallel connection ORP ORF 5 5 Pulse series connection ANDP ANDF 5 5 Push MPS 5 9 Index 4 Q QSCPU Dedicated Instruction List 2 16 R Read Epi 5 9 Reset iini iet ei faces 5 29 Resetting devices 5 29 Resetting the annunciators RST 5 31 Resetting the master control 5 38 Reverse Bit device output FF 5 36 Operation results INV
131. V SaSBRSRARRARHAKRSLSELCLTELAELSawoenr ownraanro CV OL CIL OVI BIN 99999999 00 00 0 10 1 1 1 1 10 10 1 1 1 1 0 00 00 11 1 1 1 1 111 Always filled with 0 6 24 6 3 Data Conversion Instructions 6 3 2 Conversion from BCD 4 digit and 8 digit data to BIN data BIN P DBIN P BIN P DBIN P 2 Operation Error 1 In the following cases an operation error occurs the error flag SMO turns ON an error code is stored in SDO and the instruction is not executed When values other than 0 to 9 are designated to any digits of Error code 4100 In this regard however the error above can be suppressed by turning SM722 ON However the instruction is not executed regardless of whether SM722 is turned ON or OFF if the designated value is out of the available range For the BINP DBINP instruction the next operation will not be performed until the command execution condition is turned from OFF to ON regardless of the presence absence of an error 22 Program Example 1 The following program converts the BCD data at X10 to X1B to BIN when X8 is ON and stores it at D8 2 BCD digital switch L 2 be used other purposes Input power supply PLC input mod
132. ade according to the following format Table 2 2 How to Read Instruction Tables 2 121 8 amp 5 5 D 5 o Category Processing Details Execution 5 5 x m A gt Condition 5 5 5 E D S gt D 6 6 BIN P P 5 fo 16 bit addition and subtraction E 5115210 S1 S2 D 4 6 8 P P 1 52 E t 1 T 1 tt t 1 2 3 4 5 6 7 8 Description Classifies instructions according to their application ee Indicates the instruction symbol used in a program Instruction code is built around the 16 bit instruction The following notations are used to mark 32 bit instructions instructions executed only at the leading edge of OFF to ON 32 bit instruction The letter D is added to the first line of the instruction Example gt D 4 Y 16 bit 32 bit instruction instruction Instructions executed only at the leading edge of OFF to ON DL The letter P is added to the end of the instruction Example P Instruction Instruction executed only at executed during ON the leading edge of OFF to ON 2 2 How to Read Instruction Tables 2 3 S eaves Shows symbol diagram on the ladder zm s DH 81 2 DH y Indicates destination Indicates destinati
133. al of processing time of each instruction shown in Appendix 1 2 END processing time END instruction processing time is the total of the following processing times END instruction processing time shown in Appendix 1 2 CC Link IE Field Network CC Link IE Controller Network and MELSECNET H refresh time Auto refresh time of CC Link Safety 1 MELSECNET H refresh time 2 Communication processing time with GX Developer 1 For details CC Link IE Field Network CC Link IE Controller Network MELSECNET H refresh time refer to the following manual QSCPU User s Manual Function Explanation Program Fundamentals 2 For details the auto refresh time of CC Link Safety refer to the following manual CC Link Safety System Master Module User s Manual 3 Also refer to the following manual for the communication processing time with the GX Developer QSCPU User s Manual Function Explanation Program Fundamentals I O refresh time can be calculated using the equation below I O refresh time us Number of I O points x 0 224 310 us For details of service processing time refer to the following manual QSCPU User s Manual Function Explanation Program Fundamentals Calculation of processing time The total of the processing time when executed by the QSCPU is calculated as follows Instruction processing time pcm 0 10us MOV 0001 0 35ys X0 0 10 0 35 us 0 4
134. ale between Customer and MELCO 4 Delivery Force Majeure a Any delivery date for the Products acknowledged by MELCO is an estimated and not a promised date MELCO will make all reasonable efforts to meet the delivery schedule set forth in Customer s order or the purchase contract but shall not be liable for failure to do so b Products stored at the request of Customer or because Customer refuses or delays shipment shall be at the risk and expense of Customer c MELCO shall not be liable for any damage to or loss of the Products or any delay in or failure to deliver service repair or replace the Products arising from shortage of raw materials failure of suppliers to make timely delivery labor difficulties of any kind earthquake fire windstorm flood theft criminal or terrorist acts war embargoes governmental acts or rulings loss or damage or delays in carriage acts of God vandals or any other circumstances reasonably beyond MELCO s control 5 Choice of Law Jurisdiction These terms and any agreement or contract between Customer and MELCO shall be governed by the laws of the State of New York without regard to conflicts of laws To the extent any action or dispute is not arbitrated the parties consent to the exclusive jurisdiction and venue of the federal and state courts located in the Southern District of the State of New York Any judgment there obtained may be enforced in any court of competent jurisdiction 6 Arbitratio
135. ample 1 A program using LD AND OR and ORI instructions Ladder Mode x3 0 Y33 gt 4 D0 5 x5 x5 M11 4 4 4 s i 1 2 A program linking contact points established through the use of ANB and ORB instructions Ladder Mode 2 3 A parallel program with OUT instruction Ladder Mode 04 X35 X8 Y36 5 4 5 1 Contact Instruction 5 1 1 Operation start series connection parallel connection LD LDI AND ANI OR ORI LDP LDF ANDP ANDF ORP ORF 5 1 2 Pulse operation start pulse series connection pulse parallel connection LDP LDF ANDP ANDF ORP ORF T E device number Bit designation of word device x1 D0 11 LDP ae X1 D0 1 LDF SS ee X2 D0 2 ANDET E E e a aa 2 H r ir lt ORP 2 X3 D0 3 ORF 5 eal J W 5 Devices used as contacts bits 9 5 X Function LDP LDF 1 LDP is the leading edge pulse operation start instruction and is ON only at the leading edge of the designated bit device when it goes from OFF to ON word device has been designated it is ON only when the designated bit changes from 0 to 1 In cases where there is only an LDP instruction it acts identically to instructions for the creation of a pulse that are executed during ON Ladder using an
136. and annunciator is designated for the OUT instruction 5 18 5 3 Output Instruction 5 3 1 Out instructions excluding timers counters and annunciators OUT OUT T OUTH T 5 3 2 Timers OUT T OUTH T Command K50 4 Set valu 1 to 32767 is valid Cvm Low speed timer Command D10 lt Set value gt lt Data register value 10 from 1 to 32767 is valid Command K50 lt Set value Setting in the range from ex 1 to 32767 is valid OUTHT High speed timer Command D10 Set value TO Data register value in the range from 1 to 32767 is valid Command 50 lt Set value STO Setting in the range from OUT ST 1 to 32767 is valid Low speed retentive timer Command D10 Set value c STO Data register value the range from 1 to 32767 is valid Command K50 lt Set value STO Setting in the range from OUTH 1 to 32767 is valid High speed retentive timer Command D10 Set value STO Data register value the range from 1 to 32767 is valid 5 D Timer number bit 9 Set value Value set for timer BIN 16 bits we 9o 5 SE 5 Set value O T 1 Timer values be set only in a decimal constant A hexadecimal constant H ca
137. and stores the results at the device designated by b8 b7 b0 XNR b15 b8 b7 bO amp o ot1 1 111 010 0 0 1 41 0 0 414 0 0 4 1 4 1 0010 2 For bit devices the bit devices below the points designated by digit specification are regarded in the operation DXNR 1 Conducts an exclusive NOR operation on the 32 bit data of the device designated by and the 32 bit data of the device designated by 63 and stores the results at the device designated by 65 1 6 b31 b16b15 50 6 oii 111110 0101111 62 1 62 b31 b16b15 bO 10 0 fe MEM TTD bO 1101011 011 1101 oli ordis a o0 7 18 7 1 Logical Operation Instructions 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P DXNR P WXNR P DXNR P 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation Y Operation Error 1 There are no operation errors associated with the WXNR P or DXNR P instructions 22 Program Example 1 The following program performs an exclusive NOR operation on the 16 bit data from X30 to X3F and the data at D99 when is turned
138. art number of the devices where the data to be added to subtracted from is stored BIN 16 bits 62 Data for additing subtracting or start number of the devices where the data for additing subtracting is stored BIN 16 bits Start number of the devices where the addition subtraction operation result will be stored BIN 16 bits Internal Devices Devices Constants Oth ers O O SCA SIR TAA 1 Adds 16 bit BIN data designated by to 16 bit BIN data designated by 62 and stores the result of the addition at the device designated by b15 b0 BIN 6912 BIN 2 Values for 6 63 and be designated between 32768 and 32767 BIN 16 bits 3 The judgment of whether data is positive or negative is made by the most significant bit b15 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON 5032767 2 3276759 Since b15 is 1 the judgment is H7FFF 0002 H8001 a negative value K 32768 K 2 gt K32766 7c Since b15 is 0 the judgment is H8000 HFFFE positive value 6 8 6 2 Arithmetic Operation Instructions 6 2 1 BIN 16 bit addition and subtraction operations P P P 1 Subtracts 16 bit BIN data designate
139. ation When Number of bits of S lt Number of bits of D These bits are 0100 1 011111 010110 1111010 all regarded as 0 7 b31 b28 b27 b24 b8 b7 b0 0 111111111 1 01111 110101011111011 0101111 5 The following program inverts the data at M16 to M35 and transfers it to YAO to Y63 Ladder Mode SN402 0 K5M16 6 40 END Operation When Number of bits of S lt Number of bits of D pp eee These bits 0 10 0 0 11100 1 0 1 10 0 all regarded as 0 LS Y63 Y56 Y48Y47 Y40 9001 00 11 V 70070 110 10011 6 Inverts the data at DO and D1 when X3 is ON and stores the result at D16 and D17 Ladder Mode 6 X3 0 4 DCMLP 016 2 4 END 5 or 2G Operation dz b24 b8b7 bO D16 017 1111111101111 6 11 0 0 0 1 1 0 10 0 111 CML P DCML P 6 4 Data Transfer Instructions 6 33 6 4 2 16 bit and 32 bit negation transfers CML P DCML P BMOV P 6 4 3 Block 16 bit data transfers BMOV P Command BMOV BMOV n L4 Command BMOVP BMOVP H Start number of the devices where the data to be transferred is stored BIN 16 bits D Start number of the devices of transfer destination BIN 16 bits n Number of data to be transf
140. ation remote station 801200 9 specification specification 501200 16 15 to 2 1 to Initial CC Link 1 Safety remote SD1201 32 31 to 18 17 501203 Safety master station Om SD1202 48 47 to 34 33 module 2 specification SD1203 64 63 to 50 49 1 to 64 in the table indicate station numbers 0 Normal The refresh communication status of safety remote station is communicatio stored Safety refresh _ 22 0 is stored for the standard remote station communication 1 b15 b14 to b1 501204 status of each station safety remote 01204 16 15 to 2 1 5 Status to standard station CC 501207 i remote station SD1205 32 31 to 18 17 on CC Link Safety master Safety SD1206 48 47 to 34 33 module 2 1 Safety station 501207 64 63 to 50 49 communication error 1 to 64 in the table indicate station numbers status of communication with each safety remote station is stored 501208 Station number 1 to 501271 Station number 64 0 fixed in the case of standard remote station reserved station specified or without connection 0 At normal communication 10 At initial Safety station The status of 20 During internal information access D1208 communication side 30 Link error communication 5 Status to status CC Link with safet 8300 Link error Safety remote station detection error change 501271 Safety master 8310 Link error Product information mismatch module 2 station
141. atus when 3 o 51 S2 PR 81 62 a gt 5152 LD gt gt 51 524 Conductive status when 51 gt 52 AND 1 S2 Non conductive status when 3 51 52 OR gt BIN gt 51192 16 bit data 6 2 comparisons LD lt lt 11 2 Conductive status when 51 52 AND lt lt S1 S2 Non conductive status when 3 o 1 gt 52 2 51 gt 62 lt 51 52 LD lt lt 11 2 F Conductive status when 1 lt 2 lt lt 851152 Non conductive status when 3 51 52 OR lt 51152 LD gt gt S1 S2H H AND gt S182 Conductive status when 51 S2 pee n Non conductive status when 1 lt 52 E Hi 61 lt 62 51152 2 4 Basic Instructions 2 9 2 4 1 Comparison operation instructions Table 2 9 Comparison Operation Instructions Continued 2 E 2 Catego Processing Details 5 3 i i gory 5 Condition 5 8 5 5 5 o Z LDD m D 51 52 Conductive status when ANDD D 5152 51 1 51 S2 1 52 3 Non Conductive status when ORD 51 1 51 S2 1 52
142. ause is other than OFF ON status When specifying output Y in PLS instructions the ON OFF status of the device at the execution of the last PLS instruction in the scan is returned as the output Y PLF instructions using the same device The PLF instruction turns ON the specified device when the execution command is turned OFF from ON It turns OFF the device at any other time OFF to OFF OFF to ON or ON to ON If two or more PLF instructions using the same device are executed in one scan each instruction turns ON the device when the corresponding execution command is turned OFF from ON and turns OFF the device in other cases For this reason if multiple PLF instructions using the same device are executed in a single Scan a device that has been turned ON by a PLF instruction may not be turn ON during one scan Circuit PLF X1 __ PLF 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device 3 17 2 Zz 0 2 9 OO Timing Chart The ON OFF timing of the and X1 is different The specified device does not turn ON throughout the scan X0 PLF PrF 1 x1 PLF mo mo P P END MO is turned OFF because X1 is other than ON gt OFF status is turned OFF because MO remains OFF X1 is other than ON OFF status is turned ON becau
143. ay occur as a result of using the contents noted in this manual 2006 MITSUBISHI ELECTRIC CORPORATION A 3 INTRODUCTION Thank you for choosing the Mitsubishi MELSEC QS Series of Safety Programmable Logic Controllers Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the QS series PLC you have purchased so as to ensure correct use A copy of this manual should be forwarded to the end User CONTENTS SAFETY PRECAUTIONS Moved De davit ue ee A 1 R V S ON S en cae Sea E A 3 INTRODUCTION aep 4 oen gg gie mn A 4 ABOUT MANUALS ettet osito P as ee A 7 1 GENERAL DESCRIPTION 1 1to1 4 1 1 Manuals Essential for 1 2 1 22 Generic Terms and 1 3 2 INSTRUCTION TABLES 2 1to2 16 24 TYPOS 5 2 2 2 2 How to Read Instruction 2 3 2 3 Sequence Instruction e dua 2 5 2 944 ContactMStructonss 2 5 2 9 2 Connection instructions 2 6 2 9 9 Output Instr ctlOlis
144. ces and number of transfers designate the numbers of devices and transfers used by instructions involving multiple devices Block transfer instruction a Designates the number of transfers transferred by a BMOV instruction b The number of devices or number of transfers can be set between 0 and 32767 However if the number is 0 the instruction will be a no operation instruction 3 2 3 1 Configuration of Instructions 3 2 Designating Data The following three types of data can be used with safety CPU module instructions Data that can be handled BitData 3 2 1 by safety CPU module Numeric data Integer data Word data Section 3 2 2 Double word data 3 2 3 3 2 1 Using bit data Bit data is data used one bit units such as for contact points or coils Bit devices and Bit designated word devices can be used as bit data 1 When using bit devices 2 z Eo 02 35 9 gt lt exe Bit devices are designated in one point units The 1 point 0 is designated SET 10 Ihe 1 point Y10 is designated 2 Using word devices a Word devices enable the use of a designated bit number 1 0 as bit data by the designation of that bit number b15 bO Word device 4 0 1 0 1 0 114 0 14 0 1 0 1 0 14 0 114 0 11 0 114 0 114 0 11 0 1
145. code 1300 to 9000 Major error Errors that may cause the CPU module to stop the operation e g RAM error Error code 1000 to 1299 Errors that may allow the CPU module to continue the operation and Errors that may cause the CPU module to stop the operation can be distinguished using Operating Statuses of CPU of Section 9 1 3 9 1 8 Error code list Reading an error code If an error occurs information such as the error code and error message for troubleshooting can be read using GX Developer To read error codes follow the instructions described below 1 Start GX Developer 2 Connect the CPU module to the personal computer that started GX Developer 3 On GX Developer choose the Online Read from PLC menu and read the project from the CPU module 4 Choose the Diagnostic PLC diagnostic menu 5 Click the Current error button in the PLC diagnostic dialog box to display the error code and error message 6 Choose the Help CPU error menu and check details of the corresponding error code For details refer to the following GX Developer Operating Manual 9 1 Error Code List 9 3 9 1 1 Error codes 9 1 3 Error code list 1000 to 1999 The following shows the error messages from the error code 1000 to 1999 the contents and causes of the errors and the corrective actions for the errors Table9 2 Error code Common LED Status CPU Error
146. comparisons 6 2 BIN 16 bit data comparisons 6 2 gt BIN 16 bit data comparisons 6 2 gt BIN 16 bit data comparisons 6 2 0 to 9 16 bit data exclusive NOR operation WXNR 7 16 16 bit data transfers MOV 6 29 16 bit exclusive OR operations WXOR 7 12 16 bit negation transfers CML 6 31 32 bit data exclusive NOR operation DXNR 7 16 32 bit data transfers DMOV 6 29 32 bit exclusive OR operations DXOR 7 12 32 bit negation transfers DCML 6 31 A A contact operation start LD 5 2 A contact parallel connection OR 5 2 A contact series connection AND 5 2 Addition BIN 16 bit data 6 6 BIN 32 bit data 0 6 10 ANB Ladder block series connections 5 7 AND lt gt gt lt lt gt BIN 16 bit data comparisons 6 2 AND A contact series connection 5 2 AND D D lt gt D gt D lt D lt D gt BIN 32 bit data comparisons 6 4 ANDF Pulse series
147. connections trailing edge 5 5 ANI B contact series connection 5 2 Annunciator output OUT 5 25 Application Instructions List 2 14 Arithmetic operation instructions 2 11 B B contact operation start LDI 5 2 B contact parallel connection ORI 5 2 B contact series connection ANI 5 2 Basic Instructions 22 2 9 BCD Conversion from BIN data to 4 digit BCD 6 22 BCD conversion BIN 16 bits to 4 digit BCD BCD 6 22 BIN 32 bits to 8 digit BCD DBCD 6 22 Index 2 BIN Conversion from BCD 4 digit data to BIN data deed er ee idet e et 6 24 BIN 16 bit addition and subtraction operations EM EET 6 6 BIN 16 bit data comparisons AND lt gt gt lt lt gt isses 6 2 LD lt gt gt lt lt gt Z 6 2 OR lt gt gt lt lt gt 6 2 BIN 16 bit multiplication and division operations a RETO RES 6 14 BIN 32 bit addition and subtraction operations D D 6 10 BIN 32 bit data comparisons AND D D lt gt D gt D lt D lt D gt 6 4 LD D D lt gt D gt D lt D lt D gt
148. d The network module detected an write Network parameter to the CPU 3102 error in Network parameter f an error occurs even after as MELSECNET H inherent correction a hardware failure is parameter setting is incorrect considered Please consult your local Mitsubishi representative Check the setting in Network parameter and actual mounting V The number of nodules actually status anu if they aimer correct either a the setting or mounting status so that mounted is different from that is set in they become the same If the Network parameter for Ethernet 3103 start number of the module parameter setting QS 1 This applies when the serial number first five digits of the MELSECNET H module is 08102 or later 2 This applies when the serial number first five digits of the CPU module is 10031 or earlier 3 This applies when the serial number first five digits of the CPU module is 13042 or later 9 1 5 Error code list 3000 to 3999 9 21 9 ERROR CODES Individual LED Status CPU A Error Diagnostic Information Information Operation M Timi essage sD5to 15 SD46 to 26 RUN ERROR Status NETWORK 3104 Parameter om Flash power ON ERROR CC LINK 3105 PARAMETER 81990 Parameter om Flash power ON ERROR CC LINK 3106 PARAMETER eke Of
149. d unused b15 b14 to b9 b8 b7 b6 b5 b4 b3 b2 b1 bO station 01420 16 15 10 9 8 76 5 4321 standard 501421 32 31 26 25 24 23 22 21 20 19 18 17 Safety refresh Station on SD1420 communicatio CC Link IE 501422 48 47 42 41 40 39 38 37 36 35 34 33 8 Status to n status of Field 501423 64 63 to 58 57 56 55 54 53 52 51 50 49 chang Qs SD1427 each safety Network or 01424 80 79 to 74 73 72 71 70 69 68 67 66 65 station own station 4 01425 96 95 to 90 89 88 87 86 85 84 83 82 81 Communicati 01426 112 111 to 106 105 104 103 102 101 100 99 98 97 on error of SD1427 120119 118117 116115 114 113 safety station m CC Link 1 to 120 in the table indicate station numbers IE Field Fixed to 0 Network communication status with each safety station is stored 501440 Station number 0 to 501560 Station number 120 For reserved stations unused stations standard stations or stores ine own station 0 is stored Safety 0 Safety refresh communication 501440 communicatio communication nay VoU 10 to 15 Safety initial communication S Status to n status of status with oe Qs 30 Communication error or interlocked change SD1560 each safety each safety Mh 8400 Safety communication target station detection error station station 8420 842
150. d by adding the device number and 1 For example the instruction would be calculated as follows Number of devices 2 Number of basic steps iD o 9 cese pen Number of devices 3 Number of basic steps 4 2 Conditions for increasing the number of steps In the following case the number of steps increases over the number of basic steps When a constant is used in device designation with a 32 bit instruction Example _ mov O Constant 1 step Increases 1 step 32 bit instruction o 00 Constant 1 step Increases 2 steps Constant 1 step gt 32 bit instruction 3 6 Counting Step Number 3 13 2 z Eo 02 35 9 gt lt exe 3 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device The following describes the operation for executing multiple instructions of OUT SET RST or PLS PLF that use the same device in one scan 1 OUT instructions using the same device Do not program more than one OUT instruction using the same device in one scan If the OUT instructions using the same device are programmed in one scan the specified device will turn ON or OFF every time the OUT instruction is executed depending on the operation result of the program up to the relevant OUT instruction Since turning ON or OFF of the device is determined when each OUT instruction is executed the devic
151. d by 6 from 16 bit BIN data designated by 62 and stores the result of the subtraction at the device designated by C 0 4 Te b15 b15 5678 1234 BIN gt 4444 BIN 2 Values for 6 be designated between 32768 and 32767 BIN 16 bits 3 The judgment of whether data is positive or negative is made by the most significant bit b15 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON K 32768 K2 gt 2766 Since b15 is the judgment is H8000 H0002 H7FFE a positive value K32767 K 2 32767 Since b15 is 1 the judgment is H7FFF HFFFE 8001 a negative value Y Operation Error 1 There no operation errors associated with the P or instructions 2 Program Example 1 The following program adds when 5 is turned ON the data at D3 and DO and outputs the operation result at Y38 to Y3F Ladder Mode 6 X5 0 4 P 03 DO K2Y38 5 END z gt 2 2 BASIC 2 The following program outputs the difference between the set value for timer T3 and its present value in BCD to Y40 to Y53 Ladder Mode x K18000 3 54400 5 K18000 T3 03 1 03
152. d specifications contained on MELCO s website and in catalogs manuals or technical information materials provided by MELCO are subject to change without prior notice g The Product information and statements contained MELCO s website and catalogs manuals technical bulletins other materials provided by MELCO are provided as a guide for Customer s use They do not constitute warranties and are not incorporated in the contract of sale for the Products h These terms and conditions constitute the entire agreement between Customer and MELCO with respect to warranties remedies and damages and supersede any other understandings whether written or oral between the parties Customer expressly acknowledges that any representations or statements made by MELCO or others concerning the Products outside these terms are not part of the basis of the bargain between the parties and are not factored into the pricing of the Products i THE WARRANTIES AND REMEDIES SET FORTH IN THESE TERMS ARE THE EXCLUSIVE AND ONLY WARRANTIES AND REMEDIES THAT APPLY TO THE PRODUCTS j MELCO DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3 Limits on Damages a MELCO S MAXIMUM CUMULATIVE LIABILITY BASED ON ANY CLAIMS FOR BREACH OF WARRANTY OR CONTRACT NEGLIGENCE STRICT TORT LIABILITY OR OTHER THEORIES OF RECOVERY REGARDING THE SALE REPAIR REPLACEMENT DELIVERY PERFORMANCE CONDITION SUITABILITY COMPLIANCE OR OTHE
153. dule specified by an instruction cannot be identified de Error common When storing the base number to SD5 store 0 main base common S Error QS information unit information 2 The storing value FFFFH 506 I O No indicates that the number cannot be identified on the I O assignment setting tab of PLC parameter due to overlapping of I O numbers or that the I O number cannot be identified from the network number specified by an instruction In this case the error location can be identified in SD5 2 File name Drive name Number Meaning Example File name SD5 Dri MAIN QPG 05 b15 to b8 b7 to bO 40H M SD7 File name SD8 ASCII code 8 ch 43 49 1 code 8 characters 2OH SP 20H SP 010 Extension 3 2 EHE ar SD11 ASCII code 3 characters H Q 2 SD12 474 G 50H P SD13 E 5014 Empty SD15 22 Ocoee ooo 3 Extensions are shown TableApp 3 3 TableApp 3 3Extension name Extension 4 File type name Higher 8 bits Lower 8 bits Higher 8 bits 51H 50H 41H QPA Parameters 51H 50H 47H QPG Sequence program 51H 43H 44H QCD Device comment Appendix 3 SPECIAL REGISTER LIST Number SD
154. e INV instruction in combination with the ANB instruction pay attention to the range that will be inverted Range inverted 1 M M2 or i v10 E ERT BTE 2 in 2 M10 M20 10 END For details of the ANB instruction refer to Section 5 2 1 5 2 Connection Instructions 5 2 3 Operation results inversion INV 5 13 i91 wn 5 BE zo 5e INV 5 2 4 Operation result pulse conversion MEF MEP Command a Command MEF o Set Internal Devices Corsan onstants ers 1f Function MEP 1 If operation results up to MEP instruction are leading edge from OFF to ON goes ON continuity status If operation results up to MEP instruction are anything other than leading edge goes OFF non continuity status 2 Use of the MEP instruction simplifies pulse conversion processing when multiple contacts are connected in series MEF 1 If operation results up to MEF instruction are trailing edge from ON to OFF goes ON continuity status If operation results up to MEF instruction are anything other than trailing edge goes OFF non continuity status 2 Use of the MEF instruction simplifies pulse conversion processing when multiple contacts are connected in series Y Operation Error 1 There are no operation errors associated with the MEP or MEF instructions
155. e are Version is QS contents to be sure they are not parameters parameters The system power is not restarted or the CPU module is not reset after writing the parameter to the CPU module When the remote I O station Restart the power or reset the CPU 3008 QS returns while the system power is module restarted or the CPU module is reset after writing the PLC parameter into CPU module this error occurs Check the setting in Network The number of modules actually parameter and actual mounting mounted is different from that is set in status and if they differ correct either Network parameter for CC Link IE the setting or mounting status so that Field Network they become the same If the 3100 start number of the module parameter setting is corrected write actually mounted is different from that Network parameter to the CPU x is set in Network parameter for CC module Link IE Field Network f an error occurs even after Some data in the parameters are not correction a hardware failure is supported considered Please consult your local Mitsubishi representative Ce a 4 O a a 1 This applies when the serial number first five digits of the MELSECNET H module is 08102 or later 2 This applies when the serial number first five digits of the CPU module is 10031 or earlier 3 This applies when the serial number first five digits of the CP
156. e first scan after power ON turns OFF at the next PLS instruction PLF 1 Turns ON the designated device when the execution command is turned ON gt OFF 2 turns OFF the device any other case the execution command is turned ON gt OFF at OFF gt OFF OFF gt or ON ON of the execution command When there is one PLF instruction for the device designated by 5 during one scan the specified device turns ON one scan See 3 7 for the operation to be performed when the PLF instruction for the same device is executed more than once during one scan MO OFF 4 1 1 scan 1 scan If the RUN STOP RESET switch is changed from RUN to STOP after the execution of the PLF instruction the PLF instruction will not be executed again even if the switch is set back to RUN Y Operation Error 1 There are no operation errors associated with the PLS or PLF instructions Program Example 1 The following program executes the PLS instruction when X9 goes ON Ladder Mode xo 5 3 END Timing Chart ON X9 OFF ON 9 1 scan 5 34 5 3 Output Instruction 5 3 8 Leading edge and trailing edge output PLS PLF PLS PLF 2 The following program executes the PLF instruction when X9 goes OFF Ladder Mode xo fo 3 Timing Chart ON X9 OFF f 9 C
157. e may turn ON and OFF repeatedly during one scan The following diagram shows an example of a circuit that turns the same internal relay 0 with inputs XO and X1 ON and OFF Circuit c p NN Timing Chart 1 ON 1 1 is turned OFF 0 is turned ON because X1 is OFF because 1 is ON MO is turned ON MO remains OFF because is ON because is OFF When specifying output Y in OUT instruction the ON OFF status of the device at the execution of the last OUT instruction in the scan is returned as the output 3 14 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device 2 SET RST instructions using the same device a The SET instruction turns ON the specified device when the execution command is ON and performs nothing when the execution command is OFF For this reason when SET instructions using the same device are executed two or more times in one scan the specified device will be ON if any one of the execution commands is ON b The RST instruction turns OFF the specified device when the execution command is ON and performs nothing when the execution command is OFF For this reason when RST instructions using the same device are executed two or more times in one scan the specified device will be OFF if any one of the execution commands is ON When the SET instruction and RST instruction
158. ecuted without regard to the ON OFF status of the device LD X0 OUT Y10 Executed at Instructions executed while input condition is ON MOV instruction FMOV instruction Executed at leading edge Instructions executed only at the leading edge of the input condition when it goes from OFF to ON PLS instruction MOVP instruction Executed at trailing edge Instructions executed only at the trailing edge of the input condition when it goes from ON to OFF PLF instruction For coil or equivalent basic instructions or application instructions where the same instruction can be designated for either execution at ON or leading edge execution a P is added after the instruction name to specify the condition for execution nstruction to be executed at ON Instruction Instruction to be executed at leading edge Instruction Execution at and execution at leading edge for the MOV instruction are designated as follow k Execution during ON c DO Execution at leading edge 3 5 Conditions for Execution of Instructions 3 6 Counting Step Number The number of steps in basic instructions and application instructions of the safety CPU module may increase depending on the devices to be used 1 Counting the number of basic steps The basic number of steps for basic instructions and application instructions is calculate
159. en Made for Word Device Sets value of designated bit to 0 Word devices other than timers and counters Sets contact to 0 5 2 When the execution command is OFF the status of devices does not change 3 The functions of the word devices designated by the RST instruction are identical to the s 92 following ladder y 20 ae Command 4 Command eam x10 5 D50 Device number Device number Y Operation Error 1 There are no operation errors associated with the RST instruction ooo cocoon The basic number of steps of the RST instruction is as follows a For bit processing Internal device bit to be specified by bit device or word device 1 Timer counter 4 b The number of basic steps is 2 for word processing RST 5 3 Output Instruction 5 29 5 3 6 Resetting devices except for annunciators RST RST 2 Program Example 1 The following program sets the value of the data register to 0 Ladder Mode OFS mov 4 10 08 X5 3 08 6 END Stores the values of X10 to X1F in D8 when is turned ON Sets the value of D8 to 0 when X5 is turned ON 2 The following program resets the 100 ms retentive timer and counter Ladder Mode X4 K18000 0734 H 1225 T225 K16 5 623 RST T225 623 MEM 55 x5 16 TRsT C23 5 30 5 3 Output Instruction 5 3 6 Resetting devices
160. erformed correctly 6 4 6 1 Comparison Operation Instruction 6 1 2 BIN 32 bit data comparisons D D lt gt D gt D lt D lt D gt D D lt gt D gt D lt D lt D gt Y Operation Error 1 There are no operation errors associated with the D D lt gt D gt D lt D lt or D gt instruction LI Program Example 1 The following program compares the data at X0 to X1F with the data at D3 and D4 and turns Y33 ON if the data at to X1F and the data at D3 and D4 match Ladder Mode 03 Y33 6 END 2 The following program compares BIN value K38000 to the data at D3 and D4 and establishes continuity if the data in D3 and D4 is something other than 38000 Ladder Mode M3 0 D3 3 The following program compares BIN value K 80000 to the data at D3 and D4 and establishes continuity if the data in D3 and D4 is less than 80000 Ladder Mode z 5 2 2 4 The following program compares the data DO and D1 with the data D3 D4 establishes continuity if the data in DO and D1 is equal to or less than the data in D3 and D4 BASIC Ladder Mode 5 33 lt 00 03 8 END 5 6 1 Comparison Operation Instruction 6 5 6 1 2 BIN 32 bit data comparisons D D lt gt D gt D lt D lt D gt P P 6 2 Arithmetic Ope
161. ermination END END Termination of sequence program 1 5 42 2 3 6 Other instructions Table 2 8 Other Instructions 8 2 2 5 72 Ez 2 Execution Category Processing Details a 5 Condition 5 B E 5 5 E P 5 2 Ignored For program deletion or space Ignored NOPLF NOPLF change pages during printouts No operation 1 5 43 Ignored PAGE PAGE n Subsequent programs will be controlled from step 0 of page n 2 8 2 3 Sequence Instruction 2 3 5 Termination instruction 2 4 Basic Instructions 2 4 1 Comparison operation instructions Table 2 9 Comparison Operation Instructions 2 N 2 2 9 5 2 Q 9 2 Execution D Category Processing Details a 9 Condition 5 a z E 2 5 E 3 2 E 2 Conductive status when 51 52 AND 1 S2 Non conductive status when 3 51 52 OR 51152 LD lt gt lt gt 81 82 Conductive status when 51 52 AND lt gt lt gt 5152 Non conductive st
162. erred BIN 16 bits Set Internal Devices Constants Oth ers 6 O 0 O O LW Function 1 Transfers in batch 16 bit data n points from the device designated by to location n points from the device designated by On 2 7FFOH transfer 2 6 2 erre 2 n 1 n 1 553 2 Transfers can be accomplished even in cases where there is an overlap between the source and destination device In the case of transmission to the smaller device number transmission is from s for transmission to the larger device number transmission is from s n 1 3 When is a word device and is a bit device the target for the word device is the number of bits designated by the bit device digit specification If is designated for K1Y30 the lower four bits of the word device designated by are the target bi5 b4b3b2b1b0 2 D 010 101111 Y38Y37 Y34Y33 Y30 1 D101 001141 C 1114001111101111 gt 2 0102 i 4 If bit device has been designated for 5 and then s and should always have the same number of digits 6 34 6 4 Data Transfer Instructions 6 4 3 Block 16 bit data transfers BMOV P BMOV P Operation Error 1 In any of the following cases an operation error occ
163. es of safety CPU module instructions are sequence instructions basic instructions application instructions and QSCPU dedicated instructions as shown in Table 2 1 Table 2 1 Types of Instructions Reference Types of Instructions Meaning Chapter Contact instruction Operation start series connection parallel connection ee Ladder block connection store read operation results creation of pulses from Connection instructions operation results Sequence Output instruction Bit device output output reversal 5 instruction Master control instruction Master control Termination instruction Program termination Other instructions Instructions such as no operation which do not fit in the above categories Comparison operation ey uis instruction Comparisons such gt Arithmetic operation instruction Addition subtraction multiplication or division of BIN 6 instructions e i BCD BIN conversion Conversion from BCD to BIN and from BIN to BCD instruction Data transfer instruction Transmits designated data Application AT 1 Logical operation instructions Logical operations such as logical sum logical product etc 7 instructions QSCPU dedicated QSCPU dedicated instruction Forced control stop 8 instruction 2 2 2 1 Types of Instructions 2 2 How Read Instruction Tables The instruction tables found from Section 2 3 to 2 6 have been m
164. et value is smaller than a scan time If 1 is set Example For timers TO to T2 the program is created in the order the timer operates later T1 K1 2 T2 timer starts measurement from the next scan after turning T1 contact ON TO K1 T1 gt T1 timer starts measurement from the next scan after turning TO contact ON K1 lt timer starts measurement when is turned For timers TO to T2 the program is created in the order of timer operation K1 5 TO timer starts measurement when is turned ON TO K1 2 T1 1 T2 timer contacts are turned ON when i 1 K1 TO contact is turned ON 5 T2 2 2 e T 2 E gt 5 3 2 Timers OUT OUT T OUTH T 22 Program Example 1 The following program turns Y10 Y14 ON 10 seconds after has gone ON Ladder Mode 2 The set value of the low speed timer indicates its default time limit 100 ms 2 The following program uses the BCD data at X10 to X1F as the timer s set value Ladder Mode 0 oc BiP D10 1 Converts BCD data at X10 to X1F to BIN 10 stores the converted value 010 x2 D i A When X2 is turned ON starts counting using m the data stored in D10 as the set value 4 5 Y15 turns ON at the count up of T2 3 f
165. eter om Flash Power ON ERROR NETWORK 3102 81990 Parameter om Flash ERROR NETWORK 3103 PARAMETER 81990 Parameter om Flash Bower ON ERROR 9 20 9 1 5 Error code list 3000 to 3999 Error Contents and Cause The refresh parameter for CC Link IE Controller Network is out of the setting range refresh parameter for CC Link IE Field Network is out of the setting range refresh parameter for CC Link IE Field Network is overlapped with the Corrective Action Check the setting in Network parameter and actual mounting status and if they differ correct either the setting or Corresponding CPU actually mounted is different from that is set in Network parameter for Ethernet Network parameter to the CPU module f an error occurs even after correction a hardware failure is considered Please consult your local Mitsubishi representative 3101 refresh parameter or the mounting status so that they become QS assignment setting for other the same If the parameter setting is networks corrected write Network parameter to start I O number of the module the CPU module actually mounted is different from that is set in Network parameter The refresh parameter for MELSECNET H is out of the setting range Correct the parameter setting an
166. he device when the corresponding execution command is turned ON from OFF and turns OFF the device in other cases For this reason if multiple PLS instructions using the same device are executed in a single scan a device that has been turned ON by a PLS instruction may not be turned ON during one scan Circuit PLS MO 1 PLS MO Timing Chart The ON OFF timing of the and X1 is different The specified device does not turn ON throughout the scan Ps Prs voH x1 m 1 PLS HPLs END END END X0 _OFF 4 ON X1 orr i ON OFF is turned OFF because 0 is turned ON X1 is other than OFF ON status because X1 goes OFF ON 0 is turned ON because 0 is turned OFF because X0 goes OFF X0 is other than OFF ON status MO remains OFF 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device The X0 and X1 turn ON from OFF at the same time _ mo Prs mo x1 1 ts mo Hrs mo END END nisi 1 1 i 1 1 1 1 T ij 1 1 1 1 1 1 ON 1 Mo OFF is turned ON because is turned OFF X1 goes OFF because X1 is other 0 remains than OFF ON status MO remains OFF MO is turned ON because goes OFF ON MO is turned OFF bec
167. iator to be turned ON bits Set Internal Devices Ci onstants ers ne F Ww Function 1 Operation results up to the OUT instruction are output to the designated annunciator 2 The following responses occur when an annunciator F is turned ON The USER LED goes The annunciator numbers which are ON F numbers are stored in special registers SD64 to SD79 The value of SD63 is incremented by 1 3 If the value of 063 is 16 which happens when 16 annunciators are already ON even if a new annunciator is turned ON its number will not be stored at SD64 to SD79 i91 4 When the annunciator is turned OFF by the OUT instruction although the coil goes OFF status of the USER LED and the contents of SD63 to SD79 are not changed To turn OFF the USER LED or to delete the annunciator which was turned OFF by the OUT instruction from SD63 to 079 use the RST instruction wn 5 BE zo 5e Y Operation Error 1 There are no operation errors associated with the OUT instruction OUTF 1 Refer to the manual below for details of annunciators QSCPU User s Manual Function Explanation Program Fundamentals 2 The number of basic steps for the OUT module instruction is 2 5 3 Output Instruction 5 25 5 3 4 Annunciator output OUT F
168. ing 016 Number of items for individual information SD17 individual information 1 SD18 individual information 2 SD19 individual information 3 SD20 individual information 4 SD21 individual information 5 SD22 individual information 6 SD23 individual information 7 SD24 individual information 8 SD25 individual information 9 SD26 individual information 10 Appendix 3 SPECIAL REGISTER LIST Set by When set S Error Corresponding CPU APPENDICES QS App 21 TableApp 3 2 Special register Set b Number Name Meaning Explanation Pan um 2 identifier of the CPU module that issued the diagnostics Diagnostics 027 error CPU CPU identifier error SDO to SD26 is stored 5 Error identifier CPU A CPU 0001H CPU 0002H CPUB Error code to SD50 Error reset An error code to be cleared is stored U be cleared All corresponding bits go 1 ON when battery voltage drops Bit pattern Subsequently these remain 1 ON even after battery voltage indicating has been returned to normal Battery low SD51 latch where b15 to b1 b0 S Error battery voltage 0 1 drop occurred CPU module battery error Bit pattern indicating Same configuration as 5051 above SD52 Battery low where Turns to 0 OFF when the battery voltage returns to normal S Error battery voltage thereafter drop occ
169. ink Safety 501279 64 63 to 50 49 released 1 to 64 in the table indicate station numbers Appendix 3 SPECIAL REGISTER LIST Corresponding CPU QS 16 CC Link IE Field Network TableApp 3 9 Special register Set by Corresponding Number Name Meanin Explanation 9 When set CPU The safety communication setting status for each station is stored For standard stations 0 is stored b15 b14 to b9 b8 b7 b6 b5 b4 b3 b2 b1 bO 501400 16 15 to 10 9 8 7 6 5 432 11 Setting status SD1401 32 31 to 26 25 24 23 22 21 20 19 18 17 501400 of safety 0 Not set 01402 48 47 42 41 40 39 38 37 36 35 34 33 s communicatio 1 Set 64 63 58 57 56 55 54 53 52 51 50 49 S Initial 01407 n with each Se SD1403 to station 01404 80 79 74 73 72 71 70 69 68 67 66 65 501405 96 95 to 90 89 88 87 86 85 84 83 82 81 501406 112 111 to 106 105 104 103 102 101 100 99 98 97 01407 120119 118 117 116 115 114 113 1 to 120 the table indicate station numbers a Fixed to 0 2 0 Normal 2 Reseed The communication status with each safety station is stored lt station For standard stations 0 is stored specifie
170. instruction is executed twice or more times during the same scan the present value is updated by the number of times the instruction is executed Remark 1 Timer s time limit Time limit of the timer is set in the PLC system setting of the PLC parameter dialog box QSCPU Type of Timer Settin m Setting Range unit Low speed timer 1 ms to 1000 ms T Low speed retentive timer Default 100 ms High speed timer 0 1 ms to 100 ms DRE High speed retentive timer Default 10 ms 2 Refer to the manual below for information on timer counting methods QSCPU User s Manual Function Explanation Program Fundamentals 3 The number of basic steps of the OUT instruction is 4 0 0 09 0 0 0 O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O 6 eee Y Operation Error 1 There are no operation errors associated with the OUT Ti instruction 5 20 5 3 Output Instruction 5 3 2 Timers OUT T OUTH T OUT T OUTH T 1 When creating program which the operation of the timer contact triggers the operation of other timer create the program according to the operation order of the timers create the program for the timer that operates later first In the following cases all timers go ON at the same scan if the program is created in the order the timers operate f the s
171. ion 7 Indicates conditions under which error is returned and error number 8 Indicates simple program examples Also indicates the types of individual devices used when the program is executed 4 3 iN 0 92 OS rz 4 4 SEQUENCE INSTRUCTIONS 7 Reference Category Processing Details section Contact instruction Operation start series connection parallel connection 5 1 POP Ladder block connection creation of pulses from operation Connection instructions 5 2 results store read operation results Output instruction Bit device output output reversal 5 3 Master control instruction Master control 5 4 Termination instruction Program termination 5 5 Instructions such as no operation which do not fit the above Other instructions 5 6 categories 5 1 GENERAL DESCRIPTION OF INSTRUCTIONS INSTRUCTION TABLES CONFIGURATION HOW TO READ INSTRUCTIONS 2 5 92 2 INSTRUCTIONS BASIC APPLICATION INSTRUCTIONS LD LDI AND ANI OR ORI 5 1 Contact Instruction 5 1 1 Operation start series connection parallel connection LD LDI AND ANI OR ORI WT Bit device number Bit designation of word device X1 DO 1 LDI X2 D0 2
172. ion is ON Following execution instruction will not be executed and no processing conducted even if condition remains OFF Indicates the basic number of steps for individual instructions See 3 6 for a description of the number of steps mark indicates instructions for which subset processing is possible See Section 3 3 for details on subset processing 8 Indicates the page numbers where the individual instructions are explained 2 4 2 2 How to Read Instruction Tables Executed once at OFF instruction executed only at trailing edge when precondition goes from ON to OFF 2 3 Sequence Instruction 2 3 1 Contact instructions Table 2 3 Contact Instructions 2 N g 2 5 5 Q 2 5 n Execution 9 9 E Category Processing Details 96 a 9 Condition 5 z 5 5 5 to S 2 5 2 LD Starts logic operation Starts a contact logic operation LDI Starts logical NOT operation Starts b contact logic operation Logical product AND ME a contact series connection 1 5 2 Logical product NOT b contact series connection Logical sum OR a contact parallel connection Contact ORI Logical sum NOT b contact parallel connection LDP A Starts leading edge pulse operation LDF Y Starts trailing edge pulse operation AN
173. it data for the device designated by and the 32 bit data for the device designated by and stores the results at the 7 device designated by 2 EL 59 31 2 24 2 22 18 15 5 bO 9 fit asa Matt ofa 01070754 lt 1 31 b16b15 T SAEN E 9 lt y 1 D 5 a 31 lt b16b15 bO 2 11 1011 1 11 10101011 7 1 Logical Operation Instructions 7 5 7 1 1 Logical products with 16 bit and 32 bit data WAND P DAND P WAND P DAND P 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation See Program Example 3 Y Operation Error 1 There are no operation errors associated with the WAND P or DAND P instruction Program Example 1 The following program performs a logical product operation on the data from X10 to X1B and the data at D33 when XA is ON and stores the results at D40 Ladder Mode XOA 004 WANDP K3X10 033 040 Operation X1B X10 Al 1 4 10 170 2 The following program performs logical product operation on the data at 010 and at 020 when X1C is ON and stores the results from MO to M11 Ladder Mode
174. it device number D Command 2 OUT lt gt 3 Bit designation Command of word device 005 4 Number of the device to be turned and OFF bits aS Constants Others Data Word 5 D TGA 6 L 1 f Function 1 Operation results up to the OUT instruction are output to the designated device a When Using Bit Devices OFF OFF ON ON b When Bit Designation has been Made for Word Device OFF 0 ON 1 7 L Operation Error 1 There no operation errors associated with OUT instruction 5 16 5 3 Output Instruction 5 3 1 Out instructions excluding timers counters and annunciators OUT 1 Code used to write instruction instruction symbol Section number general category of instructions being discussed Indicates ladder mode expressions and execution conditions for instructions Non conditional Executed One Time Executed One Execution Condition Executed while ON Execution at ON Time at OFF Code recorded on No symbol description page recorded 4 Discusses the data set for each instruction and the data type 4 2 Bit Bit data or start number of bit device BIN 16 bits BIN 16 bit data or start number of word device BIN 32 bits BIN 32 bit data or start number of double word device BCD 4 digit 4 digit BCD data BCD 8 digit 8 digit BCD data Ld Program Example 8 1 When Using Bit Devices Ladder Mode g I
175. ividual information 5016 to 5026 Device Meaning SD16 Abort code The first argument of the S QSABORT instruction is stored SD17 SD18 SD19 SD20 SD21 SD22 SD23 SD24 SD25 SD26 a E lt 0 OZ nO TT gu Ok 2 Empty Fixed at 0 S QSABORT 4 If the abort code is designated using digit designation of a bit device the data of the designated digit in the designated bit device is obtained from the device memory as abort code If the designated number of bits is less than 16 bits empty bits are filled with 0 XF XT 2 1111111 01111000 Filled with Os 9 0078 2 Operation Error 1 In any of the following cases an operation error occurs the error flag SMO turns ON and the corresponding error code is stored into SDO The designated instruction name is incorrect Error code 4002 The number of the arguments used in the instruction is incorrect Error code 4003 A device that cannot be used in an argument is designated Error code 4004 L Program Example 1 The program below shows that when turns ON the CPU module enters the stop error state and the abort code is stored in SD16 Ladder Mode X0 0 15 05 807 H1234 9 END 8 1 Forced Control Stop Instruction S QSABORT 8 3 8 4 SNOILOMULSNI
176. le 3 POINT In the program that achieves the safety function only SD1000 to SD1299 can be used Special register other than SD1000 to SD1299 cannot be used in the program that achieves the safety function App 16 Appendix 3 SPECIAL REGISTER LIST 9 Diagnostic Information TableApp 3 2 Special register 8 9 Set by Corresponding Number Name Meaning Explanation When set CPU Diagnostic Biagause enor Error codes for errors detected by diagnostics are stored as SDO BIN data S Error errors code Contents identical to latest fault history information Stores the year last two digits and month when SDO data was updated as BCD 2 digit code SD1 b15 to b8b7 to Example September 2006 Year 0 to 99 Month 1 to 12 H0609 Clock time for nn Sores the day and hour when SDO data was updated as BCD diagnosis i 2 digit code SD2 error diagnosis error Dacia ene as Example 40 a m on 25th S Error occurrence occurrence Day 1 to 31 Hour 0 to 23 H2510 Stores the minute and second when SDO data was updated as BCD 2 digit code SD3 b15 to b8 b7 to bO Example 35 min 48 sec Minutes 0 to 59 Seconds 0 to 59 H3548 8 Category codes to identify what type of error information is amp stored in the common information SD5 to SD15 or in the individual information 016 to 026 b15 to b8 b7 to 50 Individual informati
177. lue as the operation result ANB ORB 2 ORB is used to perform parallel connections for ladder blocks with two or more contacts For ladder blocks with only one contact use OR or ORI there is no need for ORB in such cases Ladder mode 1 o Y10 x2 X3 X4 3 The ORB symbol is not the contact symbol but rather is the connection symbol 5 2 Connection Instructions 5 7 5 2 1 Ladder block series connections and parallel connections ANB ORB 2 Operation Error 1 There are no operation errors associated with ANB or ORB instructions 2 Program Example 1 A program using ANB and ORB instructions Ladder Mode 5 8 5 2 Connection Instructions 5 2 1 Ladder block series connections and parallel connections ANB ORB MPS MRD MPP 5 2 2 Operation results push read pop MPS MRD MPP In the ladder display MPS MRD and MPP are not displayed Command gt TU Command vu Command Set Internal Devices EA es onstants ers 52 Function MPS 1 Stores in memory the operation result ON or OFF immediately prior to the MPS instruction 2 Up to 16 MPS instructions can be used successively If an MPP instruction is used during this process the number of uses calculated for the MPS instruction will be decremented by one MRD i91 1 Reads the operation result stored for the MP
178. mber Indicates the number of mounted Ethernet module iti 0342 information Network number Indicates the network number of mounted Ethernet module initial SD343 Group number Indicates the group number of mounted Ethernet module SD344 Station number Indicates the station number of mounted Ethernet module 11 System clocks counters TableApp 3 5 Special register Set b Number Name Explanation Number of Following programmable controller CPU module RUN 1 is 1 d S Stat SD412 2 counts 1 added each second 6 second units Count repeats from 0 to 32767 to 32768 to 0 0414 2n second 2n second Stores value of 2n second clock Default is 30 U clock setting clock units Setting can be made between 1 to 32767 Number of Incremented by 1 for each scan execution after the CPU SD420 Scan counter counts in each module is set to RUN S Every END scan Count repeats from 0 to 32767 to 32768 to 0 Corresponding CPU QS APPENDICES Corresponding CPU QS App 27 12 Scan information TableApp 3 6 Special register Set b di Number Name Meaning Explanation Pan Am een mg current scan time is stored into 50520 and SD521 Current scan SD520 fi in 4 Measurement is made in 100 ys units n Tis SD520 Stores the value of ms Storage range 0 to 6553 Current scan units 0521 Stores the value of us Storage
179. ment production lines or systems e MELCO does not warrant any Product 1 repaired or altered by persons other than MELCO or its authorized engineers or FA Centers 2 subjected to negligence carelessness accident misuse or damage 3 improperly stored handled installed or maintained 4 integrated or used in connection with improperly designed incompatible or defective hardware or software 5 that fails because consumable parts such as batteries backlights or fuses were not tested serviced or replaced 6 operated or used with equipment production lines or systems that do not meet applicable and commensurate legal safety and industry accepted standards 7 operated or used in abnormal applications 8 installed operated or used in contravention of instructions precautions or warnings contained in MELCO s user instruction and or safety manuals technical bulletins and guidelines for the Products 9 used with obsolete technologies or technologies not fully tested and widely accepted and in use at the time of the Product s manufacture 10 subjected to excessive heat or moisture abnormal voltages shock excessive vibration physical damage or other improper environment or 11 damaged or malfunctioning due to Acts of God fires acts of vandals criminals or terrorists communication or power failures or any other cause or failure that results from circumstances beyond MELCO s control f All Product information an
180. meter setting has been made b15 to b4 b3 to bO 50245 No of base SD245 Empty Main lot i No of base slots ee us S Initial Mounting As shown above each area stores the numbers of module SD246 status mounted slots of the base unit actual number of slots of the installed base unit SD250 Loaded maximum The upper 2 digits of the final I O number plus 1 of the 5 Initial maximum I O No modules loaded are stored as BIN values SD254 Number of Indicates the number of mounted CC Link IE Controller modules mounted Network or MELSECNET H modules Indicates the number of mounted CC Link IE Controller SD255 yo b CC Link IE Network MELSECNET H module Controll lads Indicates the network number of mounted CC Link IE EN Network Network number Controller Network or MELSECNET H module nel MELSECNET i Indicates the group number of mounted CC Link IE Controller SD257 information b Network MELSECNET H module Indicates the station number of mounted CC Link IE Controller SD258 Stati b Network MELSECNET H module Numb int 50290 MN Md Stores the number of points currently set for X devices assigned for X Number of points 7 SD291 Stores the number of points currently set for Y devices assigned for Y Number of points 50292 Stores the number of points currently set for M devices assigned for M Device r Number of points SD294 assignme
181. n Any controversy or claim arising out of or relating to or in connection with the Products their sale or use or these terms shall be settled by arbitration conducted in accordance with the Center for Public Resources CPR Rules for Non Administered Arbitration of International Disputes by a sole arbitrator chosen from the CPR s panels of distinguished neutrals Judgment upon the award rendered by the Arbitrator shall be final and binding and may be entered by any court having jurisdiction thereof The place of the arbitration shall be New York City New York The language of the arbitration shall be English The neutral organization designated to perform the functions specified in Rule 6 and Rules 7 7 b 7 8 and 7 9 shall be the CPR Microsoft Windows Windows NT registered trademarks of Microsoft Corporation in the United States and other countries Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Co Ltd in the United States CompactFlash is a trademark of SanDisk Corporation VxWorks Tornado WindPower WindSh and WindView are registered trademarks of Wind River Systems Inc Other company names and product names used in this document are trademarks or registered trademarks of respective owners SH NA 080628ENG D MELSEG QSCPU Programming Manual Common Instructions MODEL QSCPU P KY E MODE 13JWO01
182. n INC 1 Adds 1 to the device designated by 16 bit data 5678 BIN 1 C 5679 BIN 2 When INC INCP operation is executed for the device designated by whose content is 32767 the value 32768 is stored at the device designated by DEC 1 Subtracts 1 from the device designated by 16 bit data 5678 BIN 4 ET E SEND 5677 BIN 2 When DEC DECP operation is executed for the device designated by whose content is 32768 the value 32767 is stored at the device designated by Y Operation Error 1 There are no operation errors associated with the INC P DEC P instruction 6 18 6 2 Arithmetic Operation Instructions 6 2 5 Incrementing and decrementing 16 bit BIN data INC P DEC P INC P DEC P _ Program Example 1 The following program outputs the present value at the counter CO to C20 to the area Y30 to BCD every time X8 is turned ON When present value is less than 9999 Ladder Mode 0 BCDP cozi k4Y30 Outputs the present value of D Z1 to Y30 to 71 1 Executes 21 1 RST 7 Sets 01071 when 71 21 or X7 reset input 2 The following is a down counter program Ladder Mode X7 o HiP k100 08 Transfers 100 to D8 when X7 is turned ON 8 M38 X 08 Turns X8 from OFF to ON when M38 is OFF which executes D8 1 ko 8 M38 is turned O
183. n See 3 7 for the operation to be performed when the PLS instruction for the same device is executed more than once during one scan i91 4 5 OFF _ as OFF z gt 2 0 2 SEQUENCE 1 scan 1 scan 2 If the RUN STOP RESET switch is changed from RUN to STOP after the execution of the PLS instruction the PLS instruction will not be executed again even if the switch is set back I to RUN e n X0 PLS Mo Changes the RUN STOP Changes the RUN STOP RESET switch of CPU module RESET switch of CPU Changes the RUN STOP from STOP to RUN module from STOP to RUN RESET switch of CPU Changes the RUN STOP module from RUN to STOP RESET switch of CPU LD X0 LD X0 ur from RUN to STOP LD X0 MO pris Mo e MO END 0 Y END Y 0 H 5 CPU operation gt stop time stop time W yr X0 OFF EM ON OFF 1 scan of PLS MO 4 5 3 Output Instruction 5 33 5 3 8 Leading edge and trailing edge output PLS PLF PLS PLF 3 When designating a latch relay L for the execution command and turning the power supply OFF to ON with the latch relay ON the execution command turns OFF to ON at the first scan executing the PLS instruction and turning ON the designated device The device turned ON at th
184. n the device being used Number of Device Steps Word device Internal device Bit device Devices whose device Nos are multiples of 16 and whose digit 2 designation is K4 Constant No limitations Devices other than above 3 2 The number of steps may vary depending on the device being used Number of Device Steps Word device Internal device Bit device Devices whose device Nos are multiples of 16 and whose digit designation is K8 Constant No limitations Not 1 Devices other than above Note 1 The number of steps may increase due to the conditions described in 3 6 2 4 Basic Instructions 2 13 2 4 4 Data transfer instructions 2 5 Application Instructions 2 5 1 Logical operation instructions Table 2 13 Logical Operation Instructions Execution Category Processing Details A Condition Instruction Symbols Number of Basic Steps See for Description WAND WAND 5 0 75 WANDP WANDP D f WAND WAND S12 D _ S1 A S2 gt D 4 75 Logical WANDP WANDP 151152 D product DAND T DAND 5151 Td 0
185. ndix 1 OPERATION PROCESSING TIME Appendix 1 2 Operation Processing Time Conditions Device Processing Time us When not executed 0 35 AND lt When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR lt When continuity established 0 40 When executed When no continuity 0 40 When continuity established 0 40 lt When no continuity 0 40 When not executed 0 35 AND lt When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR lt When continuity established 0 40 When executed When no continuity 0 40 When continuity established 0 40 2 gt When no continuity 0 40 When not executed 0 35 AND gt When continuity established 0 40 When executed When no continuity 0 40 When not executed 0 35 OR gt When continuity established 0 40 When executed When no continuity 0 40 155 When continuity established 0 50 When no continuity 0 50 When not executed 0 40 ANDD When continuity established 0 50 When executed When no continuity 0 50 When not executed 0 40 ORD When continuity established 0 50 When executed When no continuity 0 50 e When continuity established 0 50 lt gt When no continuity 0 50 When not executed 0 40 ANDD lt gt When continuity established 0 50 When executed When no co
186. ng cases when executing basic instructions application instructions and QSCPU dedicated instructions with safety CPU module Anerror listed on the explanatory page for the individual instruction occurred 1 Device range check Device range checks for the devices used by basic instructions and application instructions in safety CPU module are as indicated below a No device range check is made for instructions dealing with fixed length devices MOV DMOV etc In cases where the corresponding device range is exceeded data is written to other devices 1 For example in a case where the data register has been allocated 6 k points there will be no error even if it exceeds D6143 DMOV K100 06143 H D6143 and D6144 are designated but since D6144 does not exist data in other device will be destroyed Device range checks are conducted for instructions dealing with variable length devices BMOV FMOV and others which designate transfer numbers In cases where the corresponding device range has been exceeded an operation error will be returned For example in a case where the data register has been allocated 6 k points there will be an error if it exceeds D6143 K100 D6143 K2 D6143 and D6144 are designated but since 06144 does not an operation error is returned See the figure below for the internal user device assignment order Head address fixed
187. nnot be used for timer settings OUT T OUTH T A Function 1 When the operation results up to the OUT instruction are ON the timer coil goes ON and the timer starts measurement at the time up measured value set value the contact is as follows A Contact Continuity B Contact Non continuity 5 3 Output Instruction 5 19 5 3 2 Timers OUT T OUTH T OUT T OUTH T 2 The contact responds as follows when the operation result up to the OUT instruction is a change from ON to OFF Present Value of Prior to Time Up After Time Up Type of Timer Timer Coil A Contact B Contact A Contact B Contact Low speed timer Non 2 EC OFF 0 MP Continuity 2 Continuity High speed timer continuity continuity Low speed retentive timer Maintains the Non TUN Non p OFF Continuity Continuity E High speed present value continuity continuity retentive timer 3 To clear the present value of a retentive timer and turn the contact OFF after time up use the RST instruction 4 A negative number 32768 to 1 cannot be set as the setting value for the timer If the setting value is O the timer will time out when the time the OUT instruction is executed b The following processing is conducted when the OUT instruction is executed OUT T coil turned ON or OFF OUT contact turned ON or OFF e OUT present value updated If the same OUT
188. nt Stores the number of points currently set for devices assigned for B Same as the amb 5 Initial 50295 parameter n pulo dx Stores the number of points currently set for F devices assigned for F setting Numb int 50296 Stores the number of points currently set for SB devices assigned for SB Numb int 50297 bod Stores the number of points currently set for V devices assigned for V Number of points 50299 Stores the number of points currently set for T devices App 26 assigned for T Appendix 3 SPECIAL REGISTER LIST Corresponding CPU Qs Appendix 3 SPECIAL REGISTER LIST Set b Number Name Meaning Explanation hen dt SD300 Bumper Suter Stores the number of points currently set for ST devices assigned for ST Numb i SD301 Device Stores the number of points currently set for devices Assignment Number of points SD302 Same as the Stores the number of points currently set for D devices S Initial assigned for D parameter 0303 setting udi iud Stores the number of points currently set for W devices assigned for W Numb i SD304 i Stores the number of points currently set for SW devices assigned for SW Number of SD340 Indicates the number of mounted Ethernet modules modules mounted SD341 Ethernet nu
189. ntinuity 0 50 When not executed 0 40 ORD lt gt When continuity established 0 50 When executed When no continuity 0 50 When continuity established 0 50 gt When no continuity 0 50 When not executed 0 40 ANDD gt When continuity established 0 50 When executed When no continuity 0 50 When not executed 0 40 ORD gt When continuity established 0 50 When executed When no continuity 0 50 When continuity established 0 50 lt When no continuity 0 50 Appendix 1 OPERATION PROCESSING TIME App 7 Appendix 1 2 Operation Processing Time Conditions Device Processing Time us When not executed 0 40 ANDD lt When continuity established 0 50 When executed When no continuity 0 50 When not executed 0 40 ORD lt When continuity established 0 50 When executed When no continuity 0 50 When continuity established 0 50 LDD lt When no continuity 0 50 When not executed 0 40 ANDD lt When continuity established 0 50 When executed When no continuity 0 50 When not executed 0 40 ORD lt When continuity established 0 50 When executed When no continuity 0 50 When continuity established 0 50 LDD gt When no continuity 0 50 When not executed 0 40 ANDD gt When continuity established 0 50 When executed When no continuity 0 50 When not executed 0 40 ORD gt When continuity established 0 50 When executed When no con
190. numbers of annunciators that have gone OFF are deleted from the special registers SD64 to SD79 and the value of SD63 is decremented by 1 SET F RST F 1 Refer to the manual below for details of annunciators QSCPU User s Manual Function Explanation Program Fundamentals 2 The number of basic steps for the SET RST Fi instructions is 2 5 3 Output Instruction 5 31 5 3 7 Setting and resetting the annunciators SET F RST F SET F RST F 3 When the value of SD63 is 16 the annunciator numbers are deleted from SD64 to SD79 by the use of the RST instruction If the annunciators whose numbers are not registered in SD64 to SD79 are ON these numbers will be registered If all annunciator numbers from SD64 to SD79 are turned OFF the USER LED on the front of the safety CPU module will be turned OFF Operations which take place when SD63 is 16 Turns F30 ON Resets F90 ede SD63 16 16 16 SD64 233 5064 233 8064 233 065 90 065 90 065 700 066 700 066 700 066 28 lt number for 067 gt gt is stored 5077 145 SD78 145 078 145 SD78 1027 SD79 1027 SD79 1027 SD79 30 Values of SD63 F30 which was SD64 to SD79 ON is stored in SD79 are not changed Y Operation Error 1 There
191. o o o o o conversion 1 1 1 3 1 1 3 31 pO o o o o o o o 110 1111110 0 lt 218460 2 Used when reversing positive and negative signs Y Operation Error 1 There are no operation errors associated with the NEG P or DNEG P instructions Program Example 1 The following program calculates a total for the data at D10 through D20 when XA goes and seeks an absolute value if the result is negative Ladder Mode XOA o lt 010 M3 M3 is turned ON when 010 lt 020 XOA 5 w D20 010 Executes D10 020 Ee 010 Calculates the absolute value complement of 2 when M3 is ON 6 28 6 3 Data Conversion Instructions 6 3 3 Complement of 2 of BIN 16 and 32 bit data sign reversal NEG P DNEG P MOV P DMOV P 6 4 Data Transfer Instructions 6 4 1 16 bit and 32 bit data transfers MOV P DMOV P d Command MOV DMOV Data to be transferred or the number of the device where the data to be transferred is stored BIN 16 32 bits Command MOVP DMOVP Number of the device where the data will be transferred BIN 16 32 bits Set Internal Devices Constants Oth Function MOV 1 Transfers the 16 bit data from the device designated by to the device designated by
192. ollowing program turns 10 ON 250 after goes ON Ladder Mode 3 X0 H K25 0 0 5 0 1 END 3 The set value of the high speed timer indicates its default time limit 10 ms 5 22 5 3 Output Instruction 5 3 2 Timers OUT T OUTH T OUT 5 3 3 Counters OUT Command K50 Set value CO 1 to 32767 is valid OUT Ge Command D10 Set value C1 Data register value from 1 to 32767 is valid D Counter number bits Set value Counter set value BIN 16 bits Set Internal Devices Oth ers ms C Set value Except On 1 Counter values be set only a decimal constant A hexadecimal constant H cannot be used for the counter value setting 52 Function 1 When the operation results up to the OUT instruction change from OFF to ON 1 is added to the present value count value and the count up status present value set value and the contacts respond as follows A Contact Continuity B Contact Non continuity 2 No count is conducted with the operation results at ON There is no need to perform pulse conversion on count input 3 After the count up status is reached there is no change in the count value or the contacts until the RST instruction is executed 4 negative number 32768 to 1 cannot be set as the setting value for the timer If the set value is 0 the processing i
193. on Corrective Action Check that the following operations are not performed 1 Switching the operation mode 2 Writing the program memory to ROM 3 Registration change of the CPU access password 4 Initialization of PLC memory 5 Monitoring diagnostics If executed this error may occur due to the increase of the interval between data communications of CC Link IE Field Check that the transmission interval monitoring time for the target station is correctly set It may be malfunction due to noise Check the soundness of transmission path by performing the CC Link IE Field Network diagnostics Check the distance between power lines and communication cables and the installation status of each device as well This applies when the serial number first five digits of the CPU module is 13042 or later 9 1 8 Error code list 8000 to 9000 Qs Corresponding 9 43 9 ERROR CODES Message Information SD5 to 15 Information SD16 to 26 LED Status CPU Operation Status Diagnostic Timing CC IE DATA CC Link IE Field 8426 RECEPTION eene Network On On Continue Always station No TIMEOUT information 8430 8431 CC IE CC Link IE Field W RECEIVED Network On On Continue Always 8432 DATA ERROR information OGIE CC Link IE Field 8440 ONPNEGTIG Network On On Contin
194. on Common information category codes category codes as common information category codes store the following codes 0 No error 1 Module No Base No 2 File name Drive name 3 Time value set 4 Program error location d avidi 9 CC Link Safety information SD4 information information 10 Module No Station No S Error categories categorycode 44 IE Field Network information individual information category codes store the following codes 0 No error 2 File name Drive name 3 Time value actually measured 4 Program error location 5 Parameter number 6 Annunciator F number 9 Error information 10 CC Link Safety information 11 Program abort information 12 File diagnostics information 13 CC Link IE Field Network information Appendix 3 SPECIAL REGISTER LIST App 17 18 Number SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 TableApp 3 2 Special register Explanation Common information corresponding to the error codes 00 is stored here The following seven types of information are stored here 1 Module Number Meaning SD5 Slot No Base No 1 SD6 2 SD7 08 09 010 011 012 013 014 015 1 The storing value 255 05 Slot No indicates that the slot number for a mo
195. on Indicates source Indicates source Indicates instruction symbol Indicates instruction symbol Fig 2 1 Shows Symbol Diagram on the Ladder Destination Indicates where data will be sent after operation Source Stores data prior to operation 4 Indicates the type of processing that is performed by individual instructions D S gt D DH D S 1 S D 1 0 Indicates Indicates Indicates 16 bits 16 bits 16 bits Indicates 32 bits D 1 D Fig 2 2 Type of Processing Performed by Individual Instructions No symbol recorded the instruction If the precondition is OFF the instruction will conduct OFF processing Upper 16 bits Lower 16 bits Instruction executed under normal circumstances with no regard to the ON OFF status of conditions prior to Executed during ON instruction is executed only while the precondition is ON If the preconditions is OFF the instruction is not executed and no processing is conducted ON Executed once at ON instruction executed only at leading edge when precondition goes from OFF to ON Following execution instruction will not be executed and no processing conducted even if condition remains the instruction is not executed and no processing is conducted Executed during OFF instruction is executed only while the precondition is OFF If the precondit
196. on change of the CPU access password 4 Initialization of PLC memory 5 Monitoring diagnostics If executed this error may occur due to the increase of the interval between data communications of CC Link IE Field It may be malfunction due to noise Check the soundness of transmission path by performing the CC Link IE Field Network diagnostics Check the distance between power lines and communication cables and the installation status of each device as well 3 This applies when the serial number first five digits of the CPU module is 13042 or later Corresponding CPU Qs 9 1 8 Error code list 8000 to 9000 9 41 9 ERROR CODES Individual LED Status CPU A Diagnostic Information Information Operation M Timi essage sD5to 15 SD16to 26 RUN ERROR Status mand CC IE DATA CC Link IE Field Wi 8425 Network On On Continue Always TIMEOUT information 1 operating status of a CPU module case of an error can be set in the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 Atoccurrence of F the USER LED turns on 9 42 9 1 8 Error code list 8000 to 9000 3 Error Contents and Cause Safety monitoring timeout error A 8425 timeout error occurred during safety communicati
197. on operation 6 2 6 1 Comparison Operation Instruction 6 1 1 BIN 16 bit data comparisons 5 lt gt gt lt lt gt lt gt gt lt lt gt 3 75 y s 2 Operation Error 1 There are no operation errors associated with the lt gt gt lt lt or gt instructions 2 Program Example 1 The following program compares the data at XO to XF with the data at D3 and turns Y33 ON if the data is identical Ladder Mode 33 4 END 2 The following program compares BIN value K100 to the data at D3 and establishes continuity if the data in D3 is something other than 100 Ladder Mode 0 0 33 5 END 3 The following program compares the BIN value 100 with the data in to and establishes continuity if the D3 data is less than 100 Ladder Mode M3 0 gt K100 D3 33 M8 4 The following program compares the data DO and D3 and if the data in DO is equal to or less than the data in D3 establishes continuity Ladder Mode Y33 lt DO D3 6 END 2 O 5 2 2 lt gt gt lt lt gt 6 1 Comparison Operation Instruction 6 3 6 1 1 BIN 16 bit data comparisons lt gt gt lt lt gt D D lt gt D gt D lt D lt D gt 6 7 2 BIN 32 bit data comparisons D D lt gt D gt D lt D lt D gt
198. ons 6 4 Data Transfer Instructions 6 31 6 4 2 16 bit and 32 bit negation transfers CML P DCML P CML P DCML P 22 Program Example 1 The following program inverts the data from to X7 and transfers result to DO Ladder Mode 5 402 0 xo 00 Operation When Number of bits of S lt Number of bits of D HEP Xe These bits de in HE 11110 110101010 all regarded as 0 Dore 00 1 11 1 41 11411 1 010 1 0 1 1 1 1 2 The following program inverts the data at M16 to M23 and transfers the result to Y40 to YAT Ladder Mode SM402 H CML K2M16 K3Y40 pn Operation When Number of bits of S lt Number of bits of D These bits are i15 orto 111070 all regarded as 0 0 YAB Y48 YA7 Y40 1111111 11011 0 0101111 3 The following program inverts the data at DO when is stores the result at D16 Ladder Mode X3 DO 016 3 END Operation b15 DO 1111011 110101114101110 1111114 b15 b8b7 b0 D16 0 0 10 0 1110 0 1 0 1 00 00 6 32 6 4 Data Transfer Instructions 6 4 2 16 bit and 32 bit negation transfers CML P DCML P CML P DCML P 4 The following program inverts the data at XO to X1F and transfers results to DO and D1 Ladder Mode 5 402 0 00 Oper
199. operations P P P 1 Subtracts 16 bit BIN data designated from 16 bit BIN data designated by stores the result of the subtraction at the device designated by D 5 0 E a 45 lt lt bO 15 bO b15 bO 5678 BIN 1234 BIN gt 4444 BIN 2 Values for can be designated between 32768 and 32767 BIN 16 bits 3 The judgment of whether data is positive or negative is made by the most significant bit b15 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON K 32768 2 gt 32766 59 Since b15 is 0 the judgment is H8000 0002 a positive value K32767 K 2 K 32767 Since b15 is 1 the judgment is H7FFF HFFFE H8001 a negative value 2 Operation Error 1 There are no operation errors associated with the P instructions wn 2 o O 5 52 2 BASIC P P 6 2 Arithmetic Operation Instructions 6 7 6 2 1 BIN 16 bit addition and subtraction operations P P P 2 When three data set 9 6 0 9 D indicates Command s oH Command tee T H 6 Data to be added to subtracted from or st
200. ower plants b trains railway systems airplanes airline operations other transportation systems c hospitals medical care dialysis and life support facilities or equipment d amusement equipments e incineration and fuel devices YS f handling of nuclear or hazardous materials or chemicals g mining and drilling h and other applications where the level of risk to human life health or property are elevated REVISIONS The manual number is given on the bottom left of the back cover Sep 2006 SH NA 080628ENG A First edition Sep 2007 SH NA 080628ENG B Partial corrections Section 3 2 5 2 3 5 3 3 5 4 1 6 2 5 6 3 1 6 3 2 6 4 1 INDEX Apr 2008 SH NA 080628ENG C Partial corrections ABOUT MANUALS Section 1 2 3 2 2 3 2 3 Chapter 4 Section 6 1 1 6 1 2 6 2 1 6 2 2 6 2 3 6 2 4 6 2 5 6 2 6 6 3 1 6 3 2 6 3 3 6 3 4 7 1 1 7 1 2 7 1 3 7 14 9 1 1 9 1 4 9 1 5 9 1 6 9 1 8 Appendix1 1 Appendix 2 Appendix3 May 2011 SH NA 080628ENG D Partial corrections ABOUT MANUALS Section 1 2 9 1 1 9 1 4 9 1 5 Appendix1 1 Appendix 2 Appendix3 Japanese Manual Version SH 080610 D This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which m
201. p4 0 1 Operating status 0 RUN Operating Operating of CPU 2 STOP status of CPU status of CPU 2 STOP cause 0 Instruction in remote operation program from RUN STOP RESET switch 1 Remote contact 2 Remote operation from GX Developer 4 Error 5 SAFETY MODE wait for restart 6 Write to PLC was executed D203 5 Every END Note stores the above mentioned factors from the smallest number in priority to the largest one However 4 is treated as the highest priority App 24 Appendix 3 SPECIAL REGISTER LIST TableApp 3 4 Special register stage number only installed 0 fixed Appendix 3 SPECIAL REGISTER LIST Set b Number Name Meaning Explanation t The year last two digits and month are stored as BCD code at SD210 as shown below Clock data b15 to b12b11 to b8b7 to b4b3 to bo Example 50210 data year month It LT my 1 September 2006 poa d doa Pod 0609 Year Month day and hour are stored as BCD code at SD211 as shown below Clock data b15 to b12b11 to b8b7 to b4b3 to bo Example 0211 Clock data EE EM RUNE m 25st 10 a m Logos users d n 2510 Day Hour The minutes and seconds after the hour are stored as BCD code at SD212 as shown below Clock data b15 to b12b11 to b8b
202. parameter matches the product information of the relevant CC Link Safety remote station Refer to the manual of the CC Link Safety remote module for the confirmation Corresponding CPU 9 QS 8320 The response data cannot be received during the initial processing of CC Link Safety remote station 8321 The response data cannot be received during the normal communication with CC Link Safety remote station 8322 The response data cannot be received during processing error information from CC Link Safety remote station Check that the following operations are not executed 1 Switching the operation mode 2 Writing the program memory to ROM 3 Registration change of the CPU access password 4 Initialization of PLC memory If executed this error may occur due to the increase of the interval between data communications of CC Link Safety When instantaneous power failure occurs to the supply power change to the asynchronous mode or slow down the speed Execute the link test to check the soundness of transmission path Check the setting of transmission Speed Check if the setting value of the Safety refresh monitoring time is appropriate Check if the setting value of the Safety data monitoring timer is appropriate 3 This applies when the serial number first five digits of the CPU module is 13042 or later ERROR CODES QS QS QS 97 9
203. plit number error 8332 Link error Link ID error 8333 Link error Running number error 8334 Link error Received data error Bit corresponding to the station number turns 1 when the master station goes to the interlock status after the error was detected at the master station Safety station 01072 interlock 0 Interlock is b15 b14 to b1 50 io status not executed SD1072 16 15 to 2 1 S Status SD1075 ecd SD1073 32 31 to 18 17 change module 1 SD1074 48 47 to 34 33 SD1075 64 63 to 50 49 1 to 64 in the table indicate station numbers App 30 Appendix 3 SPECIAL REGISTER LIST TableApp 3 9 Special register Set b Number Name Meaning Explanation d Cancel the interlock of safety station by changing the bit of 0 interlock register from 0 to 1 of safety Safety station station on CC b15 b14 to b1 bO interlock Link Safet 501076 y cancel request not released 501076 16 15 to 2 1 to i U Request CC Link 1 I O interlock SD1077 32 31 to 18 17 SDIO Safety master of safety SD1078 48 47 34 33 module 1 station on CC to Link Safety SD1079 64 63 to 50 49 released 1 to 64 in the table indicate station numbers specified status of safety remote station is stored 0 is stored for the standard remote station Safety remote 0 No safety b15 b14 to b1 bo t
204. power failure of within 20ms occurs during use of the AC 5 53 AC DOWN detected ower supply module S Error detection ON AC DOWN Pee detected Reset when the power supply is switched OFF then ON OFF Normal ON operation erroris generated SM56 Operation error Remains ON if the condition is restored to S Error ON Operation error normal thereafter Turns ON if the I O module differs from the module OFF Normal status registered at power on SM61 S verify error ON Error Remains ON if the condition is restored to normal thereafter A iat OFF Not detected S Instructi SM62 bas or dicor ix Goes ON if even one annunciator F goes ON ins detection ON Detected execution Appendix 2 SPECIAL RELAY LIST Corresponding CPU Qs 2 System information TableApp 2 3 Special relay Set b Number Name Meaning Explanation iin 5 203 STOP contact STOP status Turns ON when the CPU is STOP status 5 Status change Writes clock data stored in SD210 to 50213 SM210 Clock data set OFF Ignored to the CPU module after the END instruction U request ON Setrequest of the scan where the relay changes OFF to ON has been executed Turns ON when an error is detected in the OFF No error SM211 Clock data error ON Error clock data SD210 to SD213 and turns OFF S Request if no e
205. rant MELCO access to witnesses personnel documents physical evidence and records concerning the warranty problem and allow MELCO to examine and test the Products in question offsite or at the premises where they are installed or used and 3 If MELCO requests Customer shall remove Products it claims are defective and ship them to MELCO or MELCO s authorized representative for examination and if found defective for repair or replacement The costs of removal shipment to and from MELCO s designated examination point and reinstallation of repaired or replaced Products shall be at Customer s expense 4 If Customer requests and MELCO agrees to effect repairs onsite at any domestic or overseas location the Customer will pay for the costs of sending repair personnel and shipping parts MELCO is not responsible for any re commissioning maintenance or testing on site that involves repairs or replacing of the Products d Repairs of Products located outside of Japan are accepted by MELCO s local authorized service facility centers FA Centers Terms and conditions on which each FA Center offers repair services for Products that are out of warranty or not covered by MELCO s limited warranty may vary e Subject to availability of spare parts MELCO will offer Product repair services for 7 years after each Product model or line is discontinued at MELCO s or its FA Centers rates and charges and standard terms in effect at the time of repair MELCO
206. ration Instructions 6 2 1 BIN 16 bit addition and subtraction operations P When two data set 0 S D S 9 indicates Command 15407 Data for additing subtracting or start number of the devices where the data for additing subtracting is stored BIN 16 bits D Start number of the devices where the data to be added to subtracted from is stored BIN 16 bits Set Internal Devices Constants Oth O O 17 Function 1 Adds 16 bit BIN data designated by to 16 bit BIN data designated by and stores the result of the addition at the device designated by 5678 BIN 1234 BIN gt 6912 2 Values for s 5 can be designated between 32768 and 32767 BIN 16 bits 3 The judgment of whether data is positive or negative is made by the most significant bit b15 0 Positive 1 Negative 4 The following will happen when an underflow or overflow is generated in an operation result The carry flag in this case does not go ON 5032767 32767 Since b15 is 1 the judgment is H7FFF 0002 H8001 a negative value K 32768 K 2 gt K32766 ie Since b15 is 0 the judgment is H8000 HFFFE H7FFE a positive value 6 6 6 2 Arithmetic Operation Instructions 6 2 1 BIN 16 bit addition and subtraction
207. regarded as 0 in the operation See Program Example 2 Y Operation Error 1 There are no operation errors associated with the WOR P or DOR P instructions 22 Program Example 1 The following program performs a logical sum operation on the data from X10 to X1B and the data at D33 and stores the result at Y30 to Y3B when XA is ON Ladder Mode 0734 WORP K3X10 033 K3Y30 5 END Operation X1B X10 10101010 1111010 01014111 0101010 Not changed 2 The following program performs a logical sum operation on the 32 bit data at DO and D1 and the 24 bit data from X20 to X37 and stores the results at D23 D24 when 8 is Ladder Mode b31 b28 b27 b24 b23 b22b21 b3 b2 b1 b0 DiDa 43 321137131 9010 9 7 X37 X36 35_ _ X23 X22 X21 X20 37 20 101 01010 0 0 1010 1 0 0 1101011 2 2 4 1 2 1 1 2 Regarded as 0 5 ES 9 T Eo D 1 lt b31 bi6b15 bO D24 023 1 114 13 0 70 029 1131925 ra ra 7 1 Logical Operation Instructions 7 11 7 1 2 Logical sums of 16 bit and 32 bit data WOR P DOR P WXOR P DXOR P 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P 1 When two data are set gt 8 1 v 1 gt 0 1
208. required for the result of the multiplication operation first temporarily store the data in a word device then transfer the word device data to the bit device by designating 2 and 3 data 3 The values for 6 and 62 be designated at between 2147483648 and 2147483647 BIN 32 bits 4 Judgments whether 6 62 and are positive or negative are made on the basis of the most significant bit 031 for 6 and 62 b63 for 0 Positive 1 Negative 6 16 6 2 Arithmetic Operation Instructions 6 2 4 BIN 32 bit multiplication and division operations D P D P D P D P D 1 Divides BIN 32 bit data designated by 6 and BIN 32 bit data designated by 63 and stores the result in the device designated by 6 62 D b31 b16b15 bO b31 b16b15 bO 531 b16b15 bO b31 b16b15 bO 567890 BIN 123456 BIN 4 74066 BIN 2 With a word device the division operation result is stored in 64 bits and both the quotient and remainder are stored With a bit device only the quotient is stored as the operation result in 32 bits Quotient Stored at the lower 32 bits Remainder Stored at the upper 32 bits Stored only when using a word device 3 The values for 6 and 63 be designated at between 2147483648 and 2147483647 BIN 32 bits 4 Judgment whether values for 6 62 p and 2 are positive or
209. ret Pe lide ee Reel 9 10 9 1 5 Error code list 3000 to 3999 9 16 9 1 6 Error code list 4000 to 4999 9 26 9 1 7 Error code list 5000 to 5999 9 30 9 1 8 Error code list 8000 to 9000 9 32 APPENDICIES App 1 to App 34 Appendix 1 OPERATION PROCESSING 0 2 1 1 2 1 2 Operation Processing 3 e rennen nennen App 3 Appendix 2 SPECIAL RELAY EIST App 11 Appendix 3 SPECIAL REGISTER EIST ts ide d ne dea etg i nee App 16 INDEX Index 1 to Index 5 ABOUT MANUALS Introduction Manual Read the following manual before designing and constructing a safety system Manual Name Safety Application Guide Explains the overview construction method laying and wiring examples and application programs of the safety related system Sold separately Manual Number Model Code SH 080613ENG 13JR90 Related Manuals The manuals related to this product are listed below Please place an order as needed Manual Name QSCPU User s Manual Hardware Design Maintenance and Inspection Explains the specifications of the QSCPU safety power supply module and safety base unit Sold separately Manual Number Model
210. rror is detected 213 Clock dataread OFF Ignored Reads clock data to SD210 to SD213 in BCD U request ON Read request value when the relay is ON OFF Within the number Number of of writes Turns ON when the number of writes to ROM SM232 S writes to ROM ON Overthe number of exceeds 100 000 Error writes 3 System clocks counters TableApp 2 4 Special relay Set b Number Name Meaning Explanation Pad Sei ON SM400 Always OFF Normally is ON S Every END ON SM401 Always OFF OFF Normally is OFF S Every END After RUN ON 5 402 on 1 scan After RUN ON for 1 scan only S Every END for 1 scan only OFF After RUN OFF 5 403 vnd SN 1 sean After RUN OFF for 1 scan only S Every END for 1 scan only OFF 0 1 second 0 05s SM410 0 05s Repeatedly changes between and OFF 0 2 second 5 411 clock ve os at each designated time interval When programmable controller power supply S Status change SM412 1 second clock 0 58 Ds is turned or CPU module reset is performed goes from OFF to start 5 413 2 5 This relay alternates between and OFF at intervals of the time unit s specified in 2 50414 SM414 lt 5001 5 Status change clock ns When programmable controller power supply is turned ON or a CPU module reset is performed goes from OFF to start Appendix 2 SPECIAL
211. rt Indicates the function of the instruction Device part Indicates the data that is to be used with the instruction The device part is classified into source data destination data and number of devices 1 Source S a Source is the data used for operations b The following source types are available depending on the designated device Constant odes Designates a numeric value to be used in the operation This is set when the program is created and cannot be changed during the execution of the program Bit devices and word devices Designates the device that stores the data to be used in the operation Data must be stored in the designated device until the operation is executed By changing the data stored in a designated device during program execution the data to be used in the instruction can be changed 2 Destination D a The destination stores the data after the operation has been conducted However some instructions require storing the data to be used in an operation at the destination prior to the operation execution An addition instruction involving BIN 16 bit data 51 e Stores the data needed for operation Stores only the operation results prior to the actual operation b A device for the data storage must always be set to the destination 3 Number of devices and number of transfers n a The number of devi
212. s Sold separately 133041 GX Developer Version 8 Operating Manual Safety Programmable Controller Pi SH 080576ENG Explains the GX Developer functions added and modified for the compatibility with the safety programmable controller Sold separately 19059 Printed materials are separately available for single item purchase Order the manual by quoting the manual number on the table above Model code NOILdIHOS3Q Z Q O lt LLI A O S318VL NOILONYLSNI SNOILONYLSNI dO NOILVYENSISANOO SNOILONUYLSNI avau OL MOH SNOILONUYLSNI 5 SNOILONUYLSNI olsva SNOILONUYLSNI NOLLWONddV 1 1 1 2 This manual describes the instructions required to execute programming of the QSCPU 1 7 Manuals Essential for Programming Before reading this manual check the functions programming methods devices and others that are necessary to create programs with the QSCPU in the manuals below QSCPU User s Manual Function Explanation Program Fundamentals QSCPU Users Manual Explains the functions Function Explanation programming methods Programming devices and others that Fundamentals are necessary to create programs with the QSCPU This manual QSCPU Programming m mon Describes the instructions used by QSC
213. s 9 At an OPERATION Program error 4102 ERROR location Off Flash Stop execute of instruction PISO PAM Program error 4700 program Off Flash Stop S EXECUTED information instructions 9 28 9 1 6 Error code list 4000 to 4999 4102 4700 Error Contents and Cause network number and or station number specified by the dedicated instruction are incorrect module number network number and or number of character strings specified by the dedicated instruction exceed the allowable range The S QSABORT instruction was executed and the program was forcefully stopped Corrective Action Read the common information of the error using the GX Developer check error step corresponding to its numerical value program error location and correct the problem Remove the cause before executing the S QSABORT instruction 9 1 6 Error code list 4000 to 4999 Qs QS Corresponding 9 29 9 ERROR CODES 9 1 Error code list 5000 to 5999 The following shows the error messages from the error code 5000 to 5999 the contents and causes of the errors and the corrective actions for the errors Table9 6 Error code Common Individual LED Status CPU Maceaue Information Information ERROR Operation Timin 9 505 to 15 SD16 to
214. s completed of the module installed in the slot There was no response from the indicated by the module number has 1403 intelligent function module when the been set or not as END instruction is executed Hardware error of the access target An error is detected at the intelligent intelligent function module Please function module consult your local Mitsubishi Service The intelligent function module being or representative accessed is broken down Reset the CPU module and RUN it again If the same error is displayed 1404 An intelligent function module response again the intelligent function module as data error was detected CPU module or base unit is faulty Contact your local Mitsubishi representative 9 1 3 Error code list 1000 to 1999 9 ERROR CODES LED Status CPU Error Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Status 9 CONTROL At power ON 1411 BUS ERROR Module No Off Flash Stop CONTROL 1413 BUS ERROR Off Flash Stop Always When an END 1414 CONTROL z off Flash Stop instruction BUS ERROR executed 1415 oer Base No Off Flash Sto 2 BUS ERROR executed 1500 AC DC DOWN Off Continue Always BATTERY 1600 M Drive Name Off Continue Always ERROR EXCEED MAX When an END 1610 peer OM On On Continue instruction PENSI executed ERR
215. s identical to that which takes place for 1 1 Refer to the manual below for counter counting methods QSCPU User s Manual Function Explanation Program Fundamentals 2 The number of basic steps of the OUT instruction is 4 Y Operation Error 1 There no operation errors associated with the OUT C instruction 5 3 Output Instruction 5 23 5 3 3 Counters OUT C wn 2 O 5 wn 2 SEQUENCE OUT C OUT C 22 Program Example 1 The following program turns Y30 ON after has gone ON 10 times and resets the counter when X1 goes ON Ladder Mode K10 0 0 110 010 END 2 The following program sets the value for C10 at 10 when goes ON and at 20 when X1 goes ON Ladder Mode 0 o 00 4 yor 00 00 8 10 C10 13 15 END Stores 10 in DO when is turned ON Stores 20 in DO when X1 is turned ON X C10 counts data stored DO as the set value 2 Y30 is turned ON at the count up of C10 5 3 Output Instruction 5 24 5 3 3 Counters OUT C OUT F 5 3 4 Annunciator output OUT F Annunciator number Command OUT hs 5 Number of the annunc
216. se X0 goes ON OFF MO is turned OFF because is other than ON OFF status MO remains OFF The X0 and X1 turn OFF from ON at the same time PrF mo PrF Xt 1 Prr Mo I PLF MoH END END END bed 1 OFF ON Mo OFF MO is turned ON because is turned OFF because 1 X1 goes ON OFF is other than ON OFF status 0 remains remains OFF 0 is turned ON because 0 is turned OFF because goes OFF is other than ON OFF status When specifying output Y in PLF instructions the ON OFF status of the device at the execution of the last PLF instruction in the scan is returned as the output Y 3 18 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device NOILdIO2S3G 5318 1 NOILONYLSNI SNOILONYLSNI dO 5 SNOILONUYLSNI SNOILONUYLSNI SNOILONUYLSNI TVH3N39 NOILVYENSISNOO OL MOH 5 5 NOLLWONddV gt 52 TE 5 9 4 1 The description of instructions that are contained in the following chapters presented the following format OUT 1 2 5 3 Output Instruction 5 3 1 Outinstructions excluding time rs counters and annunciators OUT B
217. sequence program NOPLF 1 This is a no operation instruction that has no impact on any operations up to that point wn 5 BE zo 5e 2 instruction is used to make page break at a desired position when printing out from the GX Developer A page break will be inserted between ladder blocks with the presence of the NOPLF instruction The ladder cannot be displayed correctly if an NOPLF instruction is inserted the midst of a ladder block Do not insert an NOPLF instruction in the midst of a ladder block NOP NOPLF PAGE n 3 For the print out operation by the GX Developer refer to the GX Developer Operating Manual PAGE n 1 This is a no operation instruction that has no impact on any operations up to that point 2 No processing is performed at the GX Developer with this instruction 5 6 Other Instructions 5 43 5 6 1 No operation NOP NOPLF PAGE n NOPLF PAGE n 2 Operation Error 1 There are no errors associated with the NOP NOPLF or PAGE instructions 2 Program Example NOP 1 Contact closed Deletes AND or ANI instruction Ladder Mode Before change X8 Y96 0 12 Changing to 4 END After change X8 Y96 0 4 END 2 Contact closed LD LDI changed to NOP Note carefully that changing the LD and LDI instructions to NOP completely changes the nature of the ladder Ladder Mode
218. sions DBIN DBIN 8 1 S BIN conversion ee DBINP DBINP t BcD 0 to 99999999 f NEG NEG D NR E me 2 Complement NEGIP NEGP D gata 6 27 to 2 DNEG DNEG D 5 D 1 D D 1 D J E 2 T 2 12 2 4 Basic Instructions 2 4 3 Data conversion instructions 2 4 4 Data transfer instructions Table 2 12 Data Transfer Instructions Execution Category Processing Details Condition Instruction Symbols Number of Basic Steps See for Description 7p o 7 16 bit data MEN S D S D B le transfer MOVP MOVP SD 6 29 32 bit data DMOV DMOV D transfer 12 20 DMOVP DMOVP 5 D 16 bit data CML CML S D negation S n transfer CMLP CMLP 5 f 6 31 32 bit data DCML DCML negation S 1 S D 1 D transfer DCMLP DCMLP S D m BMOV BMOV 5 S D 4 en transfer BMOVP _ slpIn i n Multiple 21 transfers of data S _ 4 6 56 d FMOVP FMOVP S D n block m 1 The number of steps may vary depending o
219. sive NOR operation on the 32 bit data of the device designated by the 32 bit data of the device designated by s and stores the results at the device designated by O 1 ee plebis bO 50 1111010 XNR 5 1 5 b31 b16b15 Oli iiti 11 3011 1 1 31 2 516515 bO 91111010 11010 00 7 16 7 1 Logical Operation Instructions 7 1 4 16 bit and 32 bit data exclusive NOR operations WXNR P DXNR P WXNR P DXNR P 2 For bit devices the bit devices below the points designated by digit specification are regarded as in the operation Y Operation Error 1 There are no operation errors associated with the WXNR P or DXNR P instructions 22 Program Example 1 The following program compares the bit pattern of the 16 bit data from X30 to X3F with the bit pattern of the 16 bit data at D99 when X6 is ON Ladder Mode 0C 0 4 30 099 Operation X3F X3CX3B X38X37 X34X33 X30 30 0111011 01110111 011101110111011 XNR 4 099 1111010 1101011 11011101 1101111 15 68 bO 099 0111110 10011 11 00001010101 2 The following program compares the bit pattern of 32 bit data
220. ssed for BIN or DBIN instruction disabling flag performed 7 CC Link Safety TableApp 2 8 Special relay Set by Corresponding When Set CPU Meaning Explanation Safety refresh communication status of each OFF Normal The safety station refresh communication SM1004 safety remote ON Communication status is stored The status of each station are S Status change station error stored in SD1004 to SD1007 Safety master module 1 QS Safety refresh communication status of each OFF Normal The safety station refresh communication 5 1204 safety remote ON Communication status is stored The status of each station are S Status change station error stored in SD1204 to SD1207 Safety master module 2 Appendix 2 SPECIAL RELAY LIST 8 CC Link IE Field Network TableApp 2 9 Special relay Set b e di Number Name Meaning Explanation Setting status f safet HEN y OFF Not set The setting status of safety communication with m SM1400 communication 5 Initial ON Set the master station is stored with master station OFF Normal excluding fety refresh Safety refresh SUY ts The safety refresh communication status with communication communication each safety station excluding the master 5 1420 with the master status of each station station is stored The status of each safety safety station station is stored
221. stants 00000000 to HFFFFFFFF Word devices and bit devices designated by digit designation can be used as double word data 1 When Using Bit Devices a Digit designation can be used to enable a bit device to deal with double word data Digit designation of bit devices is done by designating Number of digits Start number of bit device Digit designation of bit devices be done in 4 point 4 bit units and designation can be made for K1 to K8 For example if XO is designated for digit designation the following points would be designated K1X0 The 4 points to are 5 The 20 points to X13 are designated designated K2X0 The 8 points to X7 are K6XO The 24 points to X17 are designated designated K3X0 The 12 points to XB are K7XO The 28 points to X1B are designated designated K4X0 The 16 points to are K8XO The 32 points to X1F are designated designated 18 17 14 13 10 XCXB X8X7 X4X3 K1 designation range 4 points K2 designation range 8 points K3 designation range 4 12 points K4 designation range 4 16 points 5 designation range 20 points p K6 designation range l 24 points le K7 designation range 4 28 points
222. stored as 32 bits and both the quotient and remainder are stored if a bit device has been used 16 bits are used and only the quotient is stored Quotient Stored at the lower 16 bits Remainder Stored at the upper 16 bits Stored only when using a word device 3 Values for 6 62 can be designated between 32768 and 32767 BIN 16 bits 4 Judgment whether values for 6 63 p and 1 are positive or negative is made on the basis of the most significant bit b15 Sign is attached to both the quotient and remainder 0 Positive 1 Negative Operation Error 1 In any of the following cases an operation error occurs the error flag SMO turns ON and the corresponding error code is stored into SDO Attempt to divide 62 by 0 Error code 4100 Program Example 1 following program divides 5678 1234 when 5 goes and stores the result at D3 and D4 Ladder Mode 0 5678 1234 03 2 O 5 N Z 2 The following program divides BIN data at X8 to XF by BIN data at X10 to X1B and outputs the result of the division operation to Y30 to Ladder Mode SM402 0 K4Y30 BASIC P 3 The following program divides when X3 is turned ON the data at X8 to XF by 3 14 and outputs the operation result at Y30 to Y3F Ladder Mode 0 2 8 K100 P DO K314 4 30 END 6
223. t again 8072 CPU A and CPU B cannot receive data If the same error is displayed again this as from each other suggests a CPU module hardware fault 8073 CPU and CPU B cannot send data to Contact your local Mitsubishi each other representative CPU A and CPU B cannot receive data 8074 from each other Take measure against noise Reset it and run it again 8080 Power supply voltage error has been If the same error is displayed again this as detected in a CPU module suggests a CPU module hardware fault Contact your local Mitsubishi representative Take measure against noise Reset it and run it again 8090 The error of line voltage monitoring If the same error is displayed again this as circuit is detected suggests a CPU module hardware fault Contact your local Mitsubishi representative The continuous operation time on TEST Safety ERU operon MODE exceeds the TEST MODE mode can be switched to the SAFETY 8100 Continuous operation Ii MODE and start operation after QS switching the TEST MODE to the SAFETY MODE Take measure against noise Reset it and run it again If the same error is displayed again this 8120 Clock stop of the WDT is detected suggests a CPU module hardware fault QS Contact your local Mitsubishi representative Confirm the error code of the relevant 8300 Error information is received from CC CC Link Safety remote station Refer to as Link Safet
224. t reset Error 8072 COMMUNI SUAE Off Flash Stop CATION 8073 ERROR When an END instruction 8074 executed PONER Error 8080 SUPPLY informati n Off Off On Stop Always ERROR VOLTAGE Error When an END 8090 DIAGNOSIS informati n Off Flash Stop instruction ERROR executed TEST MODE When an END 8100 TIME On On Continues instruction EXCEEDED executed WDT CLOCK 8120 CHECK Off Flash Stop Always ERROR CC LINK isp Lm REMOTE CC Link Safety CC Link Safety Flash d dum DETECTION information information 0707 Continues ERROR 1 operating status of a CPU module case of an error be set in the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 At occurrence of F the USER LED turns on 9 34 9 1 8 Error code list 8000 to 9000 Error Contents and Cause Corrective Action Take measure against noise Reset it and run it again If the same error is displayed again this Corresponding CPU 8060 Error of system programs is detected suggests a CPU module hardware fault QS Contact your local Mitsubishi representative 8070 The initial communication between CPU A and CPU B was unsuccessful 8071 CPU A and CPU B cannot send data to Take measure against noise each other Reset it and run i
225. t the CPU module and RUN it 1010 executed it is read as another again If the same error is displayed Qs instruction code e g due to noise again this suggests a CPU module The END instruction has been hardware fault Contact your local changed to another instruction code Mitsubishi representative somehow 1030 p nm des spended ariall re ef main Take noise reduction measures CPU Rest module p Eh again e same error is displaye 1031 Malfunctioning due to noise or other again thissuddesis a CPU module QS reason Hardware fault hardware fault Contact your local Mitsubishi representative 9 1 3 Error code list 1000 to 1999 Ke a ao a a 7 LED Status CPU Error Diagnostic Information Information ERROR Operation Timin 9 SD5 to 15 SD16 to 26 Status 9 1131 1132 At power ON S At reset 1136 Error 1137 RAM ERROR Off Flash Stop information 1141 1142 maa Always 1146 At power ON OPERATION Errr At reset When 1210 CIRCUIT Off Flash Stop an END ERROR instruction executed ioe Durin 1311 INTERRUPT Off Flash Stop ERROR At power ON INTELLIGENT At reset When FUNCTION intelligent 1401 MODULE Module No Off Flash Stop function DOWN module is accessed parieri When an END 1403 MODULE Module No Off Flash Stop 2 DOWN
226. ted The start X Y set in the PLC Make the PLC parameter s I O 2107 parameter s I O assignment settings assignment setting again so it is as overlapped with the one for another consistent with the actual status of the module intelligent function module 9 11 9 1 4 Error code list 2000 to 2999 Q 9 x a X LED Status CPU E ti Pais Information Information Operation aa 9 SD5 to 15 SD16 to 26 Status 9 INTELLIGENT FUNCTION Program error 2112 MODULE Module No location Off Flash Stop 1 ERR MODULE At N 2124 LAYOUT Module No Off Flash Stop ERROR MODULE 2125 LAYOUT Module No Off Flash Spe ERROR MISSING At power 2200 PARAMETER Drive No Off Flash Stop At reset 2210 BOOTERROR Drive No 2 Off Flash suu IEA PANT aD At reset 9 12 9 1 4 Error code list 2000 to 2999 Error Contents and Cause module other than intelligent function module is specified by the intelligent function module dedicated instruction Or it is not the corresponding Corrective Action Read the individual information of the error using GX Developer check and Corresponding 2112 correct the intelligent function module QS intelligent function module dedicated instruction corresponding to There is no network No specified
227. the common information of the error using the GX Developer check to be sure that the parameter device Corresponding CPU 2500 device that is out of the range setin allocation setting and the program file QS the PLC parameter device setting device allocation correspond to the numerical values there file name and correct if necessary More than two program files exist for Delete unnecessary program files 2501 Match the program name with the QS The program name differs from the program contents program contents EHE Check whether the program version The program file is incorrect CPG and check 2502 Alternatively the file contents are not ANENE QS contents to be sure they are for a those of a sequence program sequence program There are no program files at all Check program configuration 2503 A drive No is only displayed on the Check parameters and program QS common information configuration 9 1 4 Error code list 2000 to 2999 9 ERROR CODES 9 1 5 Error code list 3000 to 3999 The following shows the error messages from the error code 3000 to 3999 the contents and causes of the errors and the corrective actions for the errors Common Table9 4 Error code LED Status CPU Error 4 Messade Information Information ERROR Operation Timin
228. the results at the device designated by b168 b1B bO 1 1111 00 0141 1 1 9 EE 014 911 10 010 451 7 14 7 1 Logical Operation Instructions 7 1 3 16 bit and 32 bit exclusive OR operations WXOR P DXOR P WXOR P DXOR P 2 For bit devices the bit devices below the points designated by digit specification are regarded as 0 in the operation Y Operation Error 1 There are no operation errors associated with the WXOR P or DXOR P instructions 22 Program Example 1 The following program conducts an exclusive OR operation on the data from X10 to X1B and the data at D33 when X10 is ON and outputs the result to from Y30 to Y3B Ladder Mode 10 0 3 10 033 Operation 1010 0 0 074101 1 0 4101 1 Not changed 2 The following program conducts an exclusive OR operation on the data at D20 and D21 and the data at D30 and D31 when X10 goes ON and stores the results at D40 and D41 Ladder Mode X10 DXORP 020 030 040 1 END Operation 67 1 6 b31 b16b15 bO D21 D20 0105 1153 7 XOR amp 2 1 652 92 b31 b168b15 bO 55 1
229. ting is stored REMOTE 3400 PASSWORD Off Flash Bp 11 s ERROR REMOTE At N 3401 PASSWORD im Off Flash Stop RUM ERROR 9 24 9 1 5 Error code list 3000 to 3999 Corresponding Error Contents and Cause Corrective Action CPU Correct and write the network D parameters The CC Link t tt 3107 a error occurs after correction it QS incorrect suggests a hardware fault Contact 9 your local Mitsubishi representative The network No set in Network ter for CC Link IE Field Network 9 3150 ee AU Check the parameter setting QS 8 is overlapped with the one set for another network module id The start number of the target Change the start I O number of the 3400 module in Remote password is set to target module to the number within to QS other than to 3E0u Ethernet module of function version B Mount the Ethernet module of function 3401 or later is not mounted on the slot version B or later on the slot specified Qs specified for the start number of for the start number of Remote Remote password password 1 This applies when the serial number first five digits of the MELSECNET H module is 08102 or later 2 This applies when the serial number first five digits of the CPU module is 10031 or earlier 3 This applies when the serial number first five digits of the CPU module is 13042 or later
230. tinuity 0 50 When executed 0 50 P 5 D 9 When executed 0 60 P 60 When executed 0 50 E When executed 0 60 P QO po When executed 0 65 5 2m 62 When executed 0 75 6 OO 6 When executed 0 65 _ 5 6 When executed 0 75 p P 6 62 When executed 0 55 P 69 amp 16 62 14 ip 6 p 6 62 u 45 6 6 25 6 62 D App 8 Appendix 1 OPERATION PROCESSING TIME Appendix 1 2 Operation Processing Time Conditions Device Processing Time us INC 0 35 DING 0 45 DINCP DEC M 0 35 DECP DDEC E 0 45 DDECP BCD 16 BCDP DBCD La 23 DBCDP BIN x 15 BINP DBIN m DBINP 2 a 14 2 a n DNEG lt 15 DNEGP MOV DO D1 DMOV s DMOVP D0 D D1 CML 0 35 CMLP DCML 0 45 DCMLP n nz1 35 5 n n 96 67 FMOV n n 1 30 S n 96 48 Appendix 1 OPERATION PROCESSING TIME App 9 Appendix 1 2 Operation Processing Time 3 Application instructions The processing time when the instruction is not executed is calculated as follows 0 10 x Number of steps of each instruction 1 us Instruction Conditions Device Processing Time us WAND 9
231. tion Instructions 5 2 5 Pulse conversion of edge relay operation results EGP EGF OUT 5 3 Output Instruction 5 3 1 Out instructions excluding timers counters and annunciators OUT Bit device number D Command OUT 5 Bit designation Command PAR of word device D 005 gt Number of the device to be turned and OFF bits Set Internal Devices Gan oth onstants ers O F Ww Function 1 Operation results up to the OUT instruction are output to the designated device a When Using Bit Devices Operation Results OFF OFF ON ON b When Bit Designation has been Made for Word Device Operation Results Bit Designated OFF 0 ON 1 2 Operation Error 1 There are no operation errors associated with OUT instruction 5 3 Output Instruction 5 17 5 3 1 Out instructions excluding timers counters and annunciators OUT i91 2 5 BE zo 5e OUT OUT 22 Program Example 1 When Using Bit Devices Ladder Mode x5 H X6 2 4 Y35 5 END 1 2 When Bit Designation has been Made for Word Device Ladder Mode X5 05 X6 2 D0 6 gt 00 7 2 5 1 bibo eere brbeobb b0 DO The number of basic steps is 1 when a device other than a timer counter
232. truction wn 5 BE zo 5e If the operation result up to the EGF instruction is other than a trailing edge from OFF to ON ON to ON or OFF to OFF it goes OFF non continuity status 3 The EGF instruction can be used like an AND instruction Y Operation Error 1 There are no operation errors associated with the EGP or EGF instructions EGP EGF 5 2 Connection Instructions 5 15 5 2 5 Pulse conversion of edge relay operation results EGP EGF 22 Program Example 1 A program containing a subroutine program using an EGP instruction Ladder Mode vo 0L hH rio 3 END Operation END processing E ee is turned because changes from OFF to ON remains OFF because changes from ON to OFF is turned OFF because POINT 1 Since EGP and EGF instructions are executed according to the results of oper ation performed immediately before the EGP EGF instruction these instruc tions must be used in the same position as the AND instruction refer to 5 1 1 An EGP and EGF instruction cannot be used at the position of an LD or OR VO ON OFF instruction 2 EGP and EGF instructions cannot be used at the circuit block positions shown below E SET 0 H 2 2 5 16 5 2 Connec
233. tructions 6 4 1 16 bit and 32 bit data transfers MOV P DMOV P CML P DCML P 6 4 2 16 bit and 32 bit negation transfers CML P DCML P indicates CML DCML Command CML DCML _ L1 Command J J 2 CMLP DCMLP _1 4 tip Data to be reversed the number of the device where data to reversed is stored BIN 16 32 bits Number of the device where the reversing result will be stored BIN 16 32 bits Set Internal Devices Constants Oth O LW Function CML 1 Inverts 16 bit data designated by bit by bit and transfers the result to the device designated by Before Eua TOP eee IC bO execution L110 1 1 0 1 0 0 0 1 1 1 0 0 1 0 After execution 0 6 DCML 2 1 Inverts 32 bit data designated bit by bit and transfers the result to the device 2 Q designated by 52 Before b0 b15 execution 0194 39 d 0111010101111 110 0 1 0 A 3 Inversion D 5 After Se 15 amp execution 0110 z 4 Operation Error 1 There are no operation errors associated with the CML P or DCML P instructi
234. tween the error detection pattern error detection location and error code is shown in the following table 9 1 2 Table9 1 The relation between the error detection pattern error detection location and error code Error detection Error detection pattern Error code Reference location 8 Detection by the self m diagnostics function of CPU CPU module 1000 to 9000 Section 9 1 3 9 1 8 9 module th QSCPU User s Manual Hardware CPU module 4000 to 4FFFH Design Maintenance and Inspection CC Link Safety master CC Link Safety System Master Module 000 to module User s Manual Ethernet Interface Module UserAfs Ethernet module 000 to CFFFH Manual Detection at communication CC Link IE Field MELSEC QS CC Link IE Field with CPU module Network master local to DFFFH Network Master Local Module User s module with safety Manual functions CC Link IE Controller CC Link IE Controller Network 000 to EFFFu Network module Reference Manual MELSECNET H MELSECNET H Network System 000 to FFFFH module Reference Manual 1 CPU module error codes are classified into minor moderate major errors as shown below Minor error Errors that may allow the CPU module to continue the operation e g battery error Error code 1300 to 9000 Moderate error Errors that may cause the CPU module to stop the operation e g WDT error Error
235. ue Always N SETTING station No y ERROR Program error Annunciator When 9000 pee 9 Off Continue instruction location number executed 1 operating status of a CPU module case of an error be set in the Operation settings during remote station error of Parameter The default is set to Stop The LED indication changes according to the status 2 Atoccurrence of F the USER LED turns on 9 44 9 1 8 Error code list 8000 to 9000 8426 Error Contents and Cause Safety monitoring timeout error A timeout error occurred during safety communication Corrective Action Check that the following operations are not performed 1 Switching the operation mode 2 Writing the program memory to ROM 3 Registration change of the CPU access password 4 Initialization of PLC memory 5 Monitoring diagnostics If executed this error may occur due to the increase of the interval between data communications of CC Link IE Field Set the larger value for the safety refresh monitoring time Or set the smaller value for the transmission interval monitoring time It may be malfunction due to noise Check the soundness of transmission path by performing the CC Link IE Field Network diagnostics Check the distance between power lines and communication cables and the installation status of each device as well Corresponding CPU 9 ERROR CODES
236. ule Ladder Mode END 4 2 2 2 2 BASIC BIN P DBIN P 6 3 Data Conversion Instructions 6 25 6 3 2 Conversion from BCD 4 digit and 8 digit data to BIN data BIN P DBIN P 6 26 BIN P DBIN P 2 The following program converts the BCD data at X10 to X37 to BIN when X8 is ON and stores it at DO and D1 Addition of the BIN data converted fro from BCD at X10 to X1F CD digital switch m BCD at X20 to X37 and the BIN data converted eee I oye Tio ACE yum 89 8 9 PLC output module Ladder Mode 0 DBINP 20 D 09 0000 D5 BIN 03 X37 X34 33 0 2 2 2 28 27 24 23 20 Input power supply X1B X18 17 14 3 10 9 If the data set at X10 to X37 is a BCD value which exceeds 2147483647 the value at DO and D1 will be a negative value because it exceeds the range of numerical values that can be handled by a 32 bit device 6 3 Data Conversion Instructions 6 3 2 Conversion from BCD 4 digit and 8 digit data to BIN data BIN P DBIN P NEG P DNEG P 6 3 3 Complement of 2 of BIN 16 and 32 bit data sign reversal NEG P DNEG P Eu Command NEG
237. ule for looseness Firmly engage lead connector of the CPU s the connector if it is loose module battery is not securely engaged The number of writing to the standard 1610 ROM exceeded one hundred thousand Replace the CPU modules as times 9 1 3 Error code list 1000 to 1999 Number of writing gt 100 000 times 9 ERROR CODES 9 1 4 Error code list 2000 to 2999 The following shows the error messages from the error code 2000 to 2999 the contents and causes of the errors and the corrective actions for the errors Table9 3 Error code Common LED Status CPU Error Diagnostic Information Information Operation M ERROR Timi essage sD5to 15 SD16 to 26 RUN ERROR Status ae MODULE When an END 2000 VERIFY Module No Off Flash Stop instruction ERROR executed MODULE 2100 LAYOUT Module No Off Flash Sup e ERROR MODULE 2106 LAYOUT Module No Off Flash Sipe 2 ERROR MODULE 2107 LAYOUT Module No 2 Off Flash ERROR 9 10 9 1 4 Error code list 2000 to 2999 Error Contents and Cause Intelligent function module information at power ON are changed Corrective Action Read the common information of the error using the GX Developer and check and or change the module that corresponds to the numerical values module number there Corresponding CPU
238. umber of points designated as digits do not change When source S data is a H78123456 numerical value 2 z Eo 02 35 9 gt lt exe X10 7 8 i 1 2 pvov H78123456 K5MO KSMO Destination D When the source S data is a word device bib ee DS iby aes bO po 1 1 1 o o 1 o o o 1 o 1 1 1 0 1 b8 P X10 _ m L pmov po 25 M18 17 M10 11111101011 0 0 0 1 0111111 0 1 Destination D M41 eed M30 M29 M26 0 1 1 1 Not changed Fig 3 6 Ladder Example and Processing Conducted 4 POINT When digit designation processing is conducted a random value can be used for the bit device head device number 3 2 Designating Data 3 7 3 2 3 Using double word 32 bits data 2 Using word devices A word device designates devices used by the lower 16 bits of data A 32 bit instruction uses designation device number and designation device number 1 0 Kioo EN The 2 points 32 bits DO and D1 are designated 32 bit data transfer instruction 3 2 Designating Data 3 2 3 Using double word 32 bits data 3 3 Subset Processing Subset processing is used to place limits on bit
239. umber set parameter is stored if it is set 50151 Bit pattern in b15b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 5150 SEIS unite of 1G 0 0 0 0 0 0 0 0 0 0 0 0 0 01 0 4 points 7 indicating the 50151 01010000 5 010 0 0 0 0 01 010 2 SD153 0 010150 0 0 0 0 0 0 0 0 0 00 5 Error 5 0 I O verify Indicates an module verify error errors If a module has more than 16 I O points the I O module 50153 1 verify App 23 10 System information TableApp 3 4 Special register Set b di Number Name Meaning Explanation When idi jon DA CPU switch status is stored the following format b15 to b4 to pO x gt a 1 gt Status of Status of CPU Empty 1 20200 switch switch 3 Every END 0 RUN 1 CPU switch status 1 STOP 2 RESET following bit patterns are used to store the statuses of the LEDs on the CPU module Ois off 1 is on and 2 is flicker b15 to b12b1 1 to 5857 5453 to i 1 1 1 1 1 1 1 1 1 1 1 1 SD201 LED status Status of lt gt lt gt lt gt lt gt lt gt lt gt lt gt lt gt 5 Status CPU LED 8 7 6 5 4 3 2 1 change 1 RUN 5 Empty 2 ERR 6 Empty 3 USER 7 TEST Qs 4 BAT 8 Empty CPU operating status is stored as indicated in the ollowing figure 1 1 1 L 1 L 1 L 1 1 1 L gt lt gt 2 1 b15 to b12 b11 to b8 to
240. urred Number of AC DOWN ines Every time the input voltage falls to or below 85 AC power SD53 of the rating during calculation of the CPU module the value S Error detection for AC DOWN S is incremented by 1 and stored in BIN code detection module modul A 9 lowest I O number of the module where the I O module SD61 verify error verify error Son S Error verification error took place number module number SD62 Annunciator Annunciator The first annunciator number F number to be detected is S Instruction number number stored here execution Number of Number of S Instructi SD63 25 le 9 ue Stores the number of annunciators searched Wis b i annunciators annunciators execution SD64 When F goes ON due to OUT F or SET F the numbers which go progressively ON from SD64 through SD79 are SD65 registered SD66 numbers turned OFF by RSTF are deleted from 064 079 and the numbers stored after the deleted SD67 numbers are shifted to the preceding registers SD68 After 16 annunciators have been detected detection of the 17th will not be stored from SD64 through SD79 SD69 SET SET SET RSTSET SET SET SETSET SET SET RST F50 F25 F99 F25 F15 F70 F65 F38F110F151F210 F50 SD70 PAR Vai VAR ali Val V UI V Va V VAI Va a 8062 0 50 50 50 50 50 50 50 50 50 50 50 99 Number Table of detected SD71 a detected speso 1 2 3 2 T
241. urs the error flag SMO turns ON and the corresponding error code is stored into SDO The device range of n points from 5 exceeds the corresponding device range Error code 4101 Program Example 1 The following program outputs the lower 4 bits of data at D66 to D69 to Y30 to Y3F in 4 point units Ladder Mode SM402 0 06 K4 Operation Before execution transfer source After execution b15 b4 b3 transfer destination 11111011 Y33 Y30 00000 Y37 Y34 10011 Y3B Y38 01101 Ignored 2 The following program outputs the data at X20 to X2F to D100 to D103 in 4 point units Ladder Mode 54402 0 K1X20 0100 Operation X2F 2 2 X28 27 24 X23 X20 Before execution 14101010 0111111 0111110 0111010 transfer source After execution transfer destination bia coc b4 b3 b0 150101070 0 0 0 0 0 0 0 0 011 0 0 D100 0 0 0 0 0 0 0 0 0 0 0 0 01 1 1 0 D101 2 O 5 2 2 BASIC 4 points 01010 0 0 010 0 010 2010 011111 D102 2 01010 0 01010 0 0101010 1101010 0103 2 Filled with 0 m 6 4 Data Transfer Instructions 6 35 6 4 3 Block 16 bit data transfers BMOV P FMOV P 6 4 4 Identical 16 bit data block transfers FMOV P
242. use is replaced with a new one This flag is cleared by error resetting operation Appendix 3 SPECIAL REGISTER LIST Set by Corresponding Number Name Meaning Explanation When set CPU When a continuation error occurs the corresponding bits are all set to ON Canceling the error starting up the safety PLC power or canceling the safety CPU module reset after eliminating the cause of the error makes the bits go OFF Bit No Name of the cause 0 Instantaneous power failure 1 Battery low 2 Standard ROM write count excess 3 TEST MODE continuous RUN tolerance timeout 4 Scan timeout 5 Annunciator ON Cause of 6 Safety remote station detection error SD81 error Cause of error Safety communication target station detection error S Error QS 7 Safety remote station product information mismatch Safety station product information mismatch 8 Initial monitoring timeout error N Safety monitoring timeout error Error monitoring timeout error a 9 Safety remote station data split error n Safety remote command error E Safety remote station link ID error Safety remote station running number error Safety remote station reception data error Safety station reception data error Safety connection setting error 10 to 15 Empty fixed to 0 When an I O module whose information is different from the SD150 one registered at power on is detected the corresponding module number in units of 16 points is stored The I O module n
243. using the same device are programmed in one scan the SET instruction turns ON the specified device when the SET execution command is ON and the RST instruction turns OFF the specified device when the RST execution command is ON When both the SET and RST execution commands are OFF the ON OFF status of the specified device will not be changed 2 z Eo gt 9 gt lt exe Circuit SET X1 RST 0 Timing Chart _ SET MO SET mo RST END END END bu t xo _ OFF i 4 X1 OFF ON Mo OFF N RST is not executed because 1 is OFF is turned 0 remains ON OFF because X1 is ON i SET MO is not executed ON because X0 is OFF MO remains ON When specifying output Y in SET RST instruction the ON OFF status of the device at the execution of the last instruction in the scan is returned as the output Y 3 7 Operation when OUT SET RST or PLS PLF Instructions Use the Same Device 3 15 3 16 3 PLS instructions using the same device The PLS instruction turns ON the specified device when the execution command is turned ON from OFF It turns OFF the device at any other time OFF to OFF ON to ON or ON to OFF If two or more PLS instructions using the same device are executed in one scan each instruction turns ON t
244. ution command of the MC instruction is when master control is commenced the result of the operation from the MC instruction to the MCR instruction will be exactly as the instruction ladder shows If the execution command of the MC instruction is OFF the result of the operation from the MC instruction to the MCR instruction will be as shown below High speed timer Count value goes to 0 coils and contacts all OFF Low speed timer High speed retentive timer Coils go OFF but counter values and contacts all maintain Low speed retentive timer current status Counter Devices in OUT instruction All turned OFF SET RST Basic Devices in the following instructions Maintain current status Application 2 Even when the MC instruction is OFF instructions from the MC instruction to the MCR instruction will be executed so scan time will not be shortened 3 By changing the device designated by the MC instruction can use the same nesting number as often as desired 4 Coils from devices designated by are turned ON when the MC instruction is ON Further using these same devices with the OUT instruction or other instructions will cause them to become double coils so devices designated by 5 should not be used within other instructions MCR 1 This is the instruction for recovery from the master control and indicates the end of the master control range of operation i91 2
245. y remote station the manual of the CC Link Safety remote module for the confirmation 3 This applies when the serial number first five digits of the CPU module is 13042 or later 9 1 8 Error code list 8000 to 9000 9 35 9 ERROR CODES Information SD5 to 15 7 Information SD16 to 26 LED Status CPU Operation Status CC LINK ET PRODUCT CC Link Safety CC Link Safety Flash INFO information information s MISMATCH While ism initializing remote station Ja Always CC LINK DATA CC Link Safety CC Link Safety Flesh ZU RECEPTION information information CUO ex Continues TIMEOUT 1 When receiving as remote station s error information 1 to Stop LED indication changes according to the status 2 At occurrence of F the USER LED turns on 9 36 9 1 8 Error code list 8000 to 9000 The operating status of a CPU module in case of an error can be set in the Operation settings during remote station error of Parameter The default is set 8310 Error Contents and Cause The installed product is different from the specified one by network parameter Corrective Action Check that Model name Module technical version or Production information of the CC Link Safety remote station set in the network
Download Pdf Manuals
Related Search
Related Contents
noções de funcionamento do veículo de 2 e 4 rodas mecânica básica Firmware User`s Manual WaveGuide - Water Level User Manual Poulan 417150 Tiller User Manual bRe Technical updaTe Western Digital WDMT5000TN external hard drive FSB-7D Copyright © All rights reserved.
Failed to retrieve file