background image

A

 - 6

[Startup and Maintenance precautions]

CAUTION

The online operations performed from a PC to a running safety PLC (Program change when a safety
CPU is RUN, device test, and operating status change such as RUN-STOP switching) have to be
executed after the manual has been carefully read and the safety has been ensured.
Following the operating procedure predetermined at designing, the operation has to be performed by
an instructed person.
When changing a program while a safety CPU is RUN (Write during RUN), it may cause a program
breakdown in some operating conditions.
Fully understand the precautions described in the GX Developer's manual before use.

Do not disassemble or modify the modules.
Doing so could cause a failure, erroneous operation, injury, or fire.
If the product is repaired or remodeled by other than the specified FA centers or us, the warranty is
not covered. 

Use any radio communication device such as a cellular phone or a PHS phone more than 25cm(9.85
inch) away in all directions of the PLC.
Not doing so can cause a malfunction. 

Completely turn off the externally supplied power used in the system before mounting or
removingthe module. 
Not doing so could result in damage to the product.

Restrict the mounting/removal of a module, base unit, and terminal block up to 50 times
(IEC61131-2-compliant), after the first use of the product. 
Failure to do so may cause the module to malfunction due to poor contact of connector.

Do not drop or give an impact to the battery mounted to the module.
Doing so may damage the battery, causing the battery fluid to leak inside the battery.
If the battery is dropped or given an impact, dispose of it without using.

Before touching the module, always touch grounded metal, etc. to discharge static electricity
fromhuman body, etc.
Not doing so can cause the module to fail or malfunction

Содержание MELSEC QS Series

Страница 1: ......

Страница 2: ......

Страница 3: ... as DANGER and CAUTION Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user DANGER CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in d...

Страница 4: ...om a safety CPU module to the CC Link Safety system master module are prohibited to use These signals can be found in the CC Link Safety System Master Module User s Manual Do not turn ON or OFF these signals by sequence program since turning ON OFF these output signals of the PLC system may cause malfunctions and safety operation cannot be guaranteed When a safety remote I O module has detected a ...

Страница 5: ...the base unit with screws Tighten the screw in the specified torque range If the screws are too loose it may cause a drop of the screw or module Over tightening may cause a drop due to the damage of the screw or module Completely turn off the externally supplied power used in the system before mounting or removingthe module Not doing so could result in damage to the product Do not directly touch t...

Страница 6: ...ctions If too tight it may damage the screw and or the module resulting in a drop of the screw or module a short circuit or malfunctions If the module mounting screw is too loose it may cause a drop of the screw or module Over tightening the screw may cause a drop due to the damage of the screw or module Be sure there are no foreign substances such as sawdust or wiring debris inside the module Suc...

Страница 7: ...ning the terminal block mounting screws terminal screws or module mounting screws Not doing so could result in electric shock Tighten a terminal block mounting screw terminal screw and module mounting screw within the specified torque range If the terminal block mounting screw or terminal screw is too loose it may cause a short circuit fire or malfunctions If too tight it may damage the screw and ...

Страница 8: ...the specified FA centers or us the warranty is not covered Use any radio communication device such as a cellular phone or a PHS phone more than 25cm 9 85 inch away in all directions of the PLC Not doing so can cause a malfunction Completely turn off the externally supplied power used in the system before mounting or removingthe module Not doing so could result in damage to the product Restrict the...

Страница 9: ...tes according to the local regulations For details of the battery directive in EU member states refer to QSCPU User s Manual HardwareDesign Maintenance and Inspection CAUTION When transporting lithium batteries make sure to treat them based on the transport regulations For details of the controlled models refer to QSCPU User s Manual Hardware Design Maintenance and Inspection ...

Страница 10: ... 1 6 2 1 6 2 4 6 7 7 2 Chapter 8 Section 8 1 8 2 9 2 1 9 2 6 9 2 7 9 2 11 9 2 12 10 1 1 10 1 2 Appendix 1 Appendix 2 Appendix3 Appendix 5 6 16 7 3 7 4 8 3 Appendix 4 Appendix 6 Appendix 7 Appendix 7 1 Appendix 7 2 Appendix 8 Appendix 9 Sep 2008 SH NA 080627ENG D SAFETY PRECAUTIONS Appendix 6 Appendix 10 This manual confers no industrial property rights or any rights of any other kind nor does it c...

Страница 11: ...3 3 3 1 2 Sequence program operation 3 4 3 2 Concept of Scan Time 3 5 3 3 Operation Processing 3 7 3 3 1 Initial processing 3 7 3 3 2 I O refresh 3 8 3 3 3 END processing 3 8 3 4 RUN STOP Operation Processing 3 9 3 5 Operation Processing during Momentary Power Failure 3 11 3 6 Data Clear Processing 3 12 3 7 Numeric Values which can be Used in Sequence Programs 3 13 3 7 1 BIN Binary Code 3 16 3 7 2...

Страница 12: ...ing Precautions 5 16 5 3 1 File operation 5 16 5 3 2 Precautions for handling files 5 16 5 3 3 Memory capacities of files 5 17 5 3 4 File size units 5 18 CHAPTER6 FUNCTIONS 6 1 to 6 67 6 1 Function List 6 1 6 2 Safety CPU Operation Mode 6 2 6 2 1 Safety CPU operation mode 6 2 6 2 2 Checking safety CPU operation mode 6 5 6 2 3 Safety CPU operation mode switching 6 8 6 2 4 Operation of each function...

Страница 13: ...unication with CC Link Safety master module 7 1 7 2 Communication with CC Link IE Controller Network Module or MELSECNET H Module 7 2 7 3 Communication with Ethernet Module 7 2 7 4 Communication using intelligent function module dedicated instructions 7 3 CHAPTER8 PARAMETERS 8 1 to 8 14 8 1 PLC Parameters 8 2 8 2 Network Parameters 8 10 8 3 Remote Password 8 14 CHAPTER9 DEVICE EXPLANATION 9 1 to 9...

Страница 14: ...rogram 11 2 11 3 Boot run procedure 11 4 APPENDICES App 1 to App 43 Appendix 1 Special Relay List App 1 Appendix 2 Special Register List App 5 Appendix 3 Parameter Number List App 20 Appendix 4 Restrictions on Using CC Link IE Controller Network Module with Safety CPU Module App 22 Appendix 5 Restrictions on Using MELSECNET H Module with Safety CPU Module App 25 Appendix 6 Restrictions on Using Et...

Страница 15: ...witch Operation after Writing a Program 4 4 Reset Operation CHAPTER5 POWER SUPPLY MODULE 5 1 Specifications 5 2 Precaution when connecting the uninterruptive power supply 5 3 Names of Parts and Settings CHAPTER6 BASE UNIT 6 1 Specification 6 2 Part Names CHAPTER7 BATTERY 7 1 Battery Q6BAT 7 1 1 Battery Specifications 7 1 2 Installation of Battery CHAPTER8 CPU MODULE START UP PROCEDURES 8 1 Procedu...

Страница 16: ...nd removal of module 10 3 Wiring 10 3 1 The precautions on the wiring 10 3 2 Connecting to the power supply module CHAPTER11 MAINTENANCE AND INSPECTION 11 1 Daily Inspection 11 2 Periodic Inspection 11 3 Battery Life and Replacement Procedure 11 3 1 Battery lives of CPU modules 11 3 2 Replacement Procedure of the CPU Module Battery 11 4 When PLC Has been Stored without a Battery 11 5 When Battery ...

Страница 17: ... 12 3 5 Error code list 3000 to 3999 12 3 6 Error code list 4000 to 4999 12 3 7 Error code list 5000 to 5999 12 3 8 Error code list 8000 to 9000 12 4 Canceling Errors 12 5 Error codes returned to request source during communication with CPU module 12 6 Special Relay List 12 7 Special Register List APPENDICES Appendix 1 External Dimensions Appendix 1 1CPU module Appendix 1 2Power supply module Appe...

Страница 18: ...ual Explains the specifications procedures and settings before system operation parameter setting and troubleshooting of the CC Link Safety system remote I O module Sold separately SH 080612ENG 13JR89 CC Link IE Controller Network Reference Manual Explains the specifications procedures and settings before system operation parameter setting programming and troubleshooting of a CC Link IE controller...

Страница 19: ... programmable controller CPU via the serial communication module or Ethernet module Sold separately SH 080008 13JF89 GX Developer Version 8 Operating Manual Explains the online functions of GX Developer such as the programming printout monitoring and debugging methods Sold separately SH 080373E 13JU41 GX Developer Version 8 Operating Manual Safety Programmable Controller Explains the GX Developer ...

Страница 20: ...Chapter heading The index on the right side of the page shows the chapter of the open page at a glance Section title The section of the open page is shown at a glance Reference destination A reference destination or reference manual is marked ...

Страница 21: ...he following explanations POINT Explains the matters to be especially noted the functions and others related to the description Remark Provides the reference destination related to the description on that page and the convenient information ...

Страница 22: ... shown below QSCPU User s Manual Hardware Design Maintenance and Inspection 1 Chapters 1 Describe the outline of the CPU module 2 Chapters 2 to 5 Describe the performance specifications executable program I O No and memory of the CPU module 3 Chapter 6 Describes the functions of the CPU modules 4 Chapter 7 Describes communication with intelligent function modules 5 Chapters 8 and 9 Describe parame...

Страница 23: ...T12 CC Link IE controller network module Abbreviation for the QJ71GP21 SX and QJ71GP21S SX CC Link IE controller network module 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 Abbreviation for the Ethernet network system Ethernet module Abbreviation for the QJ71E71 10...

Страница 24: ...A 22 Memo ...

Страница 25: ...CPU Module 6 Functions 7 Communication with Intelligent Function Module 8 Parameters CHAPTER1 OVERVIEW This manual describes the programs I O number assignment method functions and devices of the QS Series CPU Modules QS001CPU For the power supply modules base units and batteries refer to the manual below QSCPU User s Manual Hardware Design Maintenance and Inspection ...

Страница 26: ...es and specifications of the CPU module Confirmation of connection methods for the power supply module base unit and I O module Construction of the single CPU system confirmation of start up procedure and I O number assignment Confirmation of the sequence program configuration and memory Confirmation of the functions parameters and devices of the CPU module Confirmation of the troubleshooting and ...

Страница 27: ...mable controllers have obtained the highest safety level IEC61508 SIL3 EN954 1 ISO13849 1 Category 4 IEC62061 applicable to programmable controllers 1 The available functions vary depending on the versions For details refer to Appendix 9 Figure 1 1 Safety PLC system CC Link Safety CC Link Safety remote I O station Standard remote I O station Standard Remote device station CC Link Safety remote I O...

Страница 28: ...ed in the CPU module or CC Link Safety as operation error history data Recording the details of the CPU module operation by the user into the operation error history clarifies the occurrence order of operations and errors Troubleshooting becomes easier by confirming the error operation history The contents recorded in the operation error history are shown in Table1 2 Table1 2 Recorded contents of ...

Страница 29: ... incorrect outputs can be prevented When the compared results are mismatched the system stops c Enhanced hardware diagnostics by hardware circuit The diagnostic functions of the Table1 3 prevents incorrect outputs when a hardware error which cannot be detected by the OS occurs Figure 1 2 Redundant CPU Table1 3 Hardware diagnostics function added to the QS series CPU module Diagnostics Diagnosis Co...

Страница 30: ...mable controller using dedicated instructions via CC Link IE controller network MELSECNET H and or Ethernet 2 Besides the data of ladder monitor device monitor and operation error history in the safety programmable controller can be read using GOT 1 For an access range from GX Developer and a GOT to a safety CPU module refer to Appendix 8 2 An access to the CPU module can be restricted by using th...

Страница 31: ...program created by GX Developer can be stored into the program memory or standard ROM of the CPU module Note1 1 The standard ROM is used to ROM the program memory b Program execution The CPU module operates the program stored in the program memory Note1 Diagram 1 5 Memory configuration and storage destinations Diagram 1 6 Execution of stored program CPU module Parameter Program Device comment Prog...

Страница 32: ...o the standard ROM The programs stored in the standard ROM can be booted read to the program memory and executed when the PLC is powered ON or the CPU module is reset Note2 Note2 Diagram 1 7 Boot run Program memory Boot Standard ROM Execution of program booted from the standard ROM to the program memory Parameter Program Device comment ...

Страница 33: ...ow 1 Flexible device designation CPU modules allow devices to be specified flexibly a Word device bits are handled as contacts coils By specifying the bit of the word device each bit of the word device can be handled as a contact coil b Input need not be pulsed by use of differential contact An input need not be pulsed by use of a differential contact Diagram 1 8 Designation of word device bit Dia...

Страница 34: ...mber written on the rating plate is displayed on the front at the bottom of the module Remark The serial number is displayed on the front of the module from March 2008 production Products manufactured during switching period may not have the serial number on the front of the module Diagram 1 10 Rating plate Diagram 1 11 CPU module front display MADE IN JAPAN SERIAL MODEL PASSED function version Se...

Страница 35: ... the Product Information List button in GX Developer On the system monitor the serial No and function version of the intelligent function module can also be confirmed POINT The serial number displayed on the Product information list screen of GX Developer may differ from that on the rating plate and on the front of the module The serial No on the rated plate describes the management information of...

Страница 36: ... I O control mode Refresh mode 3 Program language Sequence control language Relay symbol language function block Processing speed sequence instruction LD X0 0 10 s MOV D0 D1 0 35 s Constant scan Function for keeping regular scan time 1 to 2000ms Setting available in1ms unit Setting by parameters Program capacity 1 14k steps 56k bytes Section 5 1 1 Section 5 1 2 Memory capacity 1 Program memory dri...

Страница 37: ...tive timers are specified by the instructions The measurement unit of the low and high speed retentive timers is set up by parameters Low speed retentive timer 1 to 1000ms 1ms unit 100ms by default High speed retentive timer 0 1 to 100ms 0 1ms unit 10ms by default Counter C Normal counter 512 points by default C0 to 511 changeable Data register D 6144 points by default D0 to 6143 changeable Link r...

Страница 38: ...OGRAM EXECUTION CHAPTER3 SEQUENCE PROGRAM EXECUTION The CPU module executes a program in the following order Diagram 3 1 Program execution order Initial processing I O refresh Program operation processing END processing ...

Страница 39: ...tion Module 8 Parameters 3 1 Sequence Program A sequence program is created using the sequence instructions basic instructions application instructions etc Remark Refer to the following manual for the sequence instructions basic instructions and application instructions QSCPU Programming Manual Common Instructions Diagram 3 2 Sequence program T0 X100 X140 X141 M0 K100 T0 Y100 BIN K4X120 D0 WAND D0...

Страница 40: ... close to a sequence circuit In the ladder mode programming is performed in ladder block units A ladder block is the minimum unit for performing sequence program operation which starts from the left side vertical bus bar and ends at the right side vertical bus bar Diagram 3 3 Ladder mode Y121 Y122 Y123 Y124 Y120 Y124 0 2 8 Left side vertical bus bar N O contact N C contact Coil output Right side v...

Страница 41: ...o the right side vertical bus and from top to bottom 1 Execution operation of sequence program The sequence program is executed from Step 0 to the END instruction where END processing is performed After the END processing the program restarts operation from Step 0 Diagram 3 4 Comparison between ladder mode and list mode Diagram 3 5 Sequence program X100 X101 X105 X106 X107 X102 X103 X104 0 10 Ladd...

Страница 42: ...imum and maximum values of the scan time and stores them into the special registers SD520 SD521 SD524 to 527 The scan time can be checked by monitoring SD520 SD521 and SD524 to 527 When SD520 is 3 and SD521 is 400 the scan time is 3 4ms b Accuracy and measurement of scan time The accuracy of each scan time stored into the special registers is 0 1ms c Scan time watch The CPU module has scan time wa...

Страница 43: ...scan time The default value is 200ms a WDT error A WDT error is 10ms When the WDT t is set to 10ms a WDT ERROR occurs within a scan time range of 10ms t 20ms b WDT Setting The WDT setting can be changed within a range of 10ms to 2000ms in the PLC RAS of the PLC parameter dialog box Setting unit 10ms 3 Function that repeats program at fixed intervals The constant scan function Section 6 9 allows a ...

Страница 44: ...etwork information setting MELSECNET H network information setting Ethernet information setting CPU operation status determination When the initial processing is completed the CPU module is placed in the operation status set by the RUN STOP RESET switch Section 3 4 In SAFETY MODE booting is executed from the standard ROM regardless of the PLC parameter boot file settings In TEST MODE booting is ex...

Страница 45: ...sing to return the sequence program execution to step 0 after completing the whole sequence program operation processing once The END processing includes the following Self diagnostic processing Section 6 7 Communication with external device such as GX Developer Processing of instructions dedicated to intelligent function modules Network refresh processing CC Link Safety refresh processing Constan...

Страница 46: ...n depending on the STOP RUN time output mode setting of the parameter dialog box Section 6 10 b Processing time before operation start The processing time taken from switching STOP to RUN until the operation start of the sequence program varies with the system configuration and parameter settings Normally 0 1 s 2 STOP Status Operation Processing The STOP status means that the sequence program oper...

Страница 47: ...onitor and test operation with GX Developer Reading data from external devices using the MC protocol Communication with other stations via CC Link IE controller network and MELSECNET H Table3 1 Operation processing at switch operation RUN STOP status CPU module operation processing Sequence program operation processing External output Device memory M T C D Y RUN STOP Executes up to the END instruc...

Страница 48: ...entary power failure ends the operation processing is resumed b Watchdog timer WDT measurement during momentary power failure Even if the operation is interrupted due to momentary power failure the watchdog timer WDT measurement continues For example if the GX Developer PLC parameter mode WDT setting is set at 200 ms when a momentary power failure of 15 ms occurs at scan time 190 ms the watchdog t...

Страница 49: ...cleared 1 When the program memory is copied into ROM using GX Developer the standard ROM data is first cleared then the program memory is written into standard ROM 2 When PLC memory initialization is executed the safety CPU operation mode becomes TEST MODE 3 After the history is erased the following PLC memory initialization operation and error history is recorded OP005 FSYSTEM INITIALIZE PLC MEMO...

Страница 50: ... the CPU module Table3 3 shows the numeric expressions of BIN HEX BCD and DEC decimal Table3 3 BIN HEX BCD and Decimal Numeric Expressions DEC Decimal HEX Hexadecimal BIN Binary BCD Binary Coded Decimal 0 0 0 0 1 1 1 1 2 2 10 10 3 3 11 11 9 9 1001 1001 10 A 1010 1 0000 11 B 1011 1 0001 12 C 1100 1 0010 13 D 1101 1 0011 14 E 1110 1 0100 15 F 1111 1 0101 16 10 1 0000 1 0110 17 11 1 0001 1 0111 47 2F...

Страница 51: ...e CPU module performs operation in BIN binary If the value set in BCD is used as is the CPU module recognizes the set value as a BIN and performs operation Hence operation is performed using the value different from the set value b below b How to enter numeric value without taking into account BIN notation Use the BIN instruction to convert the data set in BCD into BIN used in the CPU module Using...

Страница 52: ...ital display they will not displayed correctly Therefore the BCD instruction is used to convert the data operated in BIN into BCD used by the external display or similar device Using the BCD instruction allows the same display as in DEC decimal to be provided on the external display or similar device Remark Refer to the following manual for details of the BCD instruction QSCPU Programming Manual C...

Страница 53: ...U module Each CPU module register data registers link registers etc consists of 16 bits b Numeric data available for CPU module Each CPU module register can store numeric values of 32768 to 32767 Diagram 3 11 shows the numeric notation for CPU module registers POINT To each bit of each register a 2n value is assigned Note that the most significant bit is used for distinction of sign positive or ne...

Страница 54: ...after FH Table3 5 shows the numeric expressions of BIN HEX and DEC decimal 2 Hexadecimal numeric expression CPU module registers data registers link registers etc consist of 16 bits For 16 bits 0 to FFFFH can be specified in hexadecimal POINT The CPU module regards data stored in HEX as BIN For example if FFFFH is stored into a register in HEX the CPU module performs operation regarding the value ...

Страница 55: ...use letters AH to FH Table3 6 shows the numeric expressions of BIN BCD and DEC 2 BCD numeric expression CPU module registers data registers link registers etc consist of 16 bits In case of 16 bits 0 to 9999 can be specified in BCD POINT The CPU module regards value stored in BCD as BIN For example if 8000 is stored in BCD the CPU module performs operation regarding the value as 32768 When performi...

Страница 56: ...intelligent function modules 4 1 Definition of I O Number I O numbers indicate the addresses used in a sequence program to input or output ON OFF data between the CPU module and other modules 1 Input and output of ON OFF data Input X is used to input ON OFF data to the CPU module and output Y is used to output ON OFF data from the CPU module 2 I O number expressions I O numbers are expressed as he...

Страница 57: ... Safety master module or CC Link IE controller network module is mounted on the main base unit the points set on the PLC system setting tab of PLC parameter in GX Developer are assigned Default 16 points Remark The start I O number can be changed for each slot on the I O assignment setting tab of PLC parameter in GX Developer 4 2 2 I O numbers of remote station It is possible to assign input X and...

Страница 58: ...r net work modules together make sure that refresh destination I O numbers do not overlap Diagram 4 2 Remote station I O number assignment Empty 32 32 32 CC Link Safety master module CC Link Safety master module CC Link IE controller network module CC Link Safety Remote station Remote station Remote station Remote station CC Link Safety Refresh destination for the first CC Link Safety master modul...

Страница 59: ...Preventing I O numbers from changing when converting modules You can avoid the change in the intelligent function module is removed due to a malfunction 2 Changing the I O numbers to those used in the program When the designed program s I O numbers are different from the actual system I O numbers each module s I O number of base units can be set to program I O number POINT 1 The I O assignment set...

Страница 60: ...d are set to the status where the base unit is installed 1 I O assignment The I O assignment is conducted at the I O assignment tab screen in the PLC Parameter dialog box a Slot The slot number and what number of the main base unit the slot is are displayed What number of the main base unit the slot is means the number of slots from 0 slot of the main base unit b Type Select Intelli for a slot whe...

Страница 61: ...designate the head I O number according to the change If Start XY is not designated for a slot the I O number continuing from the last number of the currently designated slot is assigned 2 Precautions for I O assignment a Slot status after I O assignment When I O assignment setting has been made to a slot that setting has precedence over the mounted module 1 When the preset number of points is les...

Страница 62: ...he start XY setting of each slot may overlap the one assigned by the CPU module 1 Settings of I O numbers were exchanged in the start XY 2 There are slots with start XY setting and those without start XY setting automatically assigned slot The following example Diagram 4 4 shows overlapping start XY Be extremely careful not to overlap the start XY of each slot Overlapping start XY will result in a...

Страница 63: ...ter module or CC Link IE controller network module is mounted so that the I O numbers do not change even when the module is removed due to the breakdown of CC Link Safety master module or CC Link IE controller network module a System configuration and I O number assignment b I O assignment setting with GX Developer Set 32points to the slot No 0 to 2 on the I O assignment setting tab of PLC paramet...

Страница 64: ...mbers 4 3 3 Examples of I O Number Assignment 4 I O NUMBER ASSIGNMENT 4 4 Checking the I O Numbers The modules mounted on the main base unit and their I O numbers can be checked using the GX Developer system monitor Section 6 17 ...

Страница 65: ...ILES HANDLED BY CPU MODULE 5 1 Memories by CPU Module 5 1 1 Memory configuration and storable data This section explains the memories handled by the CPU module and the data that can be stored into the memories 1 Memory configuration a Program memory Section 5 1 2 The program memory stores the program used by the CPU module to perform operation b Standard ROM Section 5 1 3 The standard ROM is used ...

Страница 66: ...stem Section 5 1 2 3 b 3 Memory capacities and formatting necessities Table5 2 indicates the memory capacity and formatting necessity of each memory 1 Before use be sure to format the memory using GX Developer Table5 1 Storable data and storage locations Drive No CPU module built in memories File name and extension Program memory Standard ROM 0 4 Parameter PARAM QPA Sequence program MAIN QPG Devic...

Страница 67: ...ram memory to perform operation 2 Storable data The program memory can store parameters programs device comments and user setting system area data Refer to Section 5 1 1 2 for the list of data that can be stored into program memory POINT If the total volume of the data to be stored into the program memory exceeds its capacity examine reducing the user setting system area data 3 Before using the pr...

Страница 68: ...There are the following user setting system areas Table5 3 POINT When the user setting system area is created the available area decreases by the number of created area steps The memory capacity can be checked from the Read from PLC screen of GX Developer 3 c in this section Table5 3 User setting system area type System area type Description Online change area of multiple blocks Online change area...

Страница 69: ...ith Intelligent Function Module 8 Parameters c Checking the memory capacity after formatting To check the memory capacity choose Online Read from PLC on GX Developer 1 Select Program memory Device memory as the target memory on the Read from PLC screen 2 Click the button 3 The memory capacity appears in the Total free space volume field Diagram 5 3 Memory capacity checking procedure Free space vol...

Страница 70: ...am memory display the writing to PLC screen with GX Developer Online Write to PLC Select Program memory Device memory as the target memory on the Write to PLC screen and write data to the PLC POINT The file size has the minimum unit Section 5 3 4 The occupied memory capacity may be greater than the actual file size Diagram 5 4 Write to PLC screen ...

Страница 71: ...ut battery backup The program stored in the standard ROM is booted read to the program memory Section 5 1 2 to perform operation 2 Storable data The standard ROM can store parameters programs and device comments Refer to Section 5 1 1 2 for the list of data that can be stored into each memory 3 Checking the memory capacity To check the memory capacity choose Online Read from PLC on GX Developer 1 ...

Страница 72: ...ROM refer to Section 5 1 4 3 POINT The file size has the minimum unit Section 5 3 4 The occupied memory capacity may be greater than the actual file size 5 How to use the program stored in the standard ROM Since operation cannot be executed by the program stored in the standard ROM use that program by booting reading it to the program memory Section 5 1 4 ...

Страница 73: ...CPU module performs operation of the program stored in the program memory It does not operate the program stored in the standard ROM The program stored in the standard ROM is booted read to the program memory to perform operation 1 SAFETY MODE In SAFETY MODE boot run is executed regardless of the boot settings made by GX Developer 2 TEST MODE Boot run can be executed by setting Execute boot run in...

Страница 74: ...rocedure up to boot run and stopping boot run in TEST MODE a Procedure for boot run The following provides the procedure for boot run 1 Program creation by GX Developer Create a program for executing boot run 2 Boot file by GX Developer Set Do boot from Standard ROM in the Boot file of the PLC parameter dialog box Diagram 5 7 Boot file ...

Страница 75: ...op boot run Perform the following operation using GX Developer to stop boot run and execute operation by the parameter program written to the program memory 1 Remove the checkmark from Boot from standard ROM in the PLC parameter boot file settings 2 Write parameters and sequence program data to the program memory 3 Choose Online Write to PLC Flash ROM Write the program memory to ROM c Precautions ...

Страница 76: ...re writing files to the standard ROM choose Online Read from PLC on GX Developer and save the stored files using GX Developer in advance 2 Preparation of files to be written Since all files stored in the standard ROM are automatically deleted when files are to be written to the standard ROM prepare all files to be stored in advance b Write procedure The procedure to write files to the standard ROM...

Страница 77: ... deleted when files are to be written to the standard ROM additions changes to the stored files cannot be made directly Observe the following steps 1 Choose Online Read from PLC on GX Developer and read all files from the standard ROM 2 Make necessary additions changes to the read files 3 Write the modified files to the program memory 4 Choose Online Write to PLC Flash ROM Write the program memory...

Страница 78: ...online change This area is used when online change that increases the number of steps is performed by GX Developer When such an online change is performed by GX Developer the number of remaining allocate memory for online change is displayed 1 Default number of allocate memory for online change The default setting is 500 steps 2000 bytes 2 Changing the number of allocate memory for online change T...

Страница 79: ...program can be confirmed POINT 1 The program capacity displayed during programming by GX Developer is the capacity of the file header and execution program and does not include the capacity of the allocate memory for online change 500 steps Example The capacity of the program having the execution program area of 491 steps is displayed on GX Developer as shown below The file header default is 32 st...

Страница 80: ...Developer online operations However the file operations that can be executed depend on the safety CPU operation mode and the CPU module RUN STOP status Refer to Section 6 2 5 5 3 2 Precautions for handling files 1 About power off including resets during file operations When the PLC is power off or a CPU module is reset during file operations with GX Developer the files in each memory become uncert...

Страница 81: ...nction Rough file capacity unit byte Drive heading 70 Parameter Default 316 increases depending on the parameter setting Reference Boot setting 100 CC Link IE controller network setting made Max 326 increased MELSECNET H setting made Max 226 increased Ethernet setting made Max 896 increased CC Link setting made 22 606 number of modules of CC Link Safety 76 number of safety remote stations 4 number...

Страница 82: ... size units 1 What is file size unit The minimum unit for writing a file to a memory area is called as a file size unit The CPU module file size unit is 4 bytes Diagram 5 12 Program memory standard ROM file size units Program memory Standard ROM The area is secured in 4 byte unit The area is secured in 4 byte 1 step units Parameter Program ...

Страница 83: ...r of writing to ROM Section 6 6 Self Diagnosis function Enables the CPU module to check for failures Section 6 7 Operation error history Records the the operations that have been executed to the CPU module from the outside and the self diagnostics errors that have occurred in the CPU module in the past Section 6 8 Constant scan Executes the program at a constant frequency Section 6 9 Output status...

Страница 84: ...the main operation of the safety related system In SAFETY MODE to protect this system while it is operating operations that change safety PLC control such as writing to PLC and device test are prohibited Diagram 6 1 SAFETY MODE operation CC Link Safety Controlled system CPU module Execute the program operations GX Developer CC Link Safety master module Output the program operation results Input fr...

Страница 85: ... and maintenance In this mode all the GX Developer functions such as PLC writing and device testing can be used Remark For details on the GX Developer operations that can be executed in SAFETY MODE and in TEST MODE refer to the GX Developer Operating Manual Safety PLC Diagram 6 2 TEST MODE operation CC Link Safety Controlled system CPU module Execute the program operations GX Developer CC Link Saf...

Страница 86: ...ases the unit starts up in TEST MODE The first power on after the unit is purchased When the safety CPU operation mode became unstable due to low battery The operation contents OP001 SYSTEM INITIALIZE OPERATION MODE are stored in the operation error history Diagram 6 3 State when the safety CPU operation mode is switched Safety CPU operation mode switching SAFETY MODE to TEST MODE Safety CPU opera...

Страница 87: ...le can be checked with the following methods Checking with the LEDs on the front of the CPU module Checking with the GX Developer online operation screen Checking with a special relay or a special register 1 Checking with the LEDs on the front of the CPU module The current safety CPU operation mode can be checked with the ALIVE LED and TEST LED on the front of the CPU module Table6 2 Checking safe...

Страница 88: ...t safety CPU operation mode of the CPU module is displayed on the GX Developer online operation screen PLC diagnostics remote operation etc The safety CPU operation mode can be checked when executing remote operations etc with GX Developer Diagram 6 4 Safety CPU operation mode display using GX Developer The current safety CPU operation mode is displayed ...

Страница 89: ...E flag and special register SD560 safety CPU operation mode in the CPU module The safety CPU operation mode can be externally displayed using SM560 or SD560 in a program The safety CPU operation mode can be also checked by monitoring SM560 or SD560 with GX Developer Table6 3 Special relay special register for confirming safety CPU operation mode Device name Name Description SM560 TEST MODE flag Sh...

Страница 90: ...Conditions under which the safety CPU operation mode can be switched Safety CPU operation mode switching conditions TEST MODE to SAFETY MODE SAFETY MODE to TEST MODE CPU operation status STOP status which does not include one due to stop error STOP status which includes one due to stop error Program and parameters of GX Developer and program memory Should be the same Other GX Developer operations ...

Страница 91: ...loper safety CPU operation mode switching a TEST MODE to SAFETY MODE switching Diagram 6 5 shows the procedure for TEST MODE to SAFETY MODE switching using GX Developer Diagram 6 5 TEST MODE to SAFETY MODE switching Start Set the CPU module to STOP Set the CPU module RUN STOP RESET switch to the STOP position Display safety CPU operation mode screen The safety CPU operation mode screen is displaye...

Страница 92: ...the same with those of program memory NO YES NO YES Are the parameters and programs of the program memory and those of standard ROM the same 2 Checking completion of the switch to SAFETY MODE Click the OK button SAFETY MODE wait for restart You can return to TEST MODE by switching the safety CPU operation mode using GX Developer Switching the safety CPU operation mode using GX Developer enables to...

Страница 93: ...EST MODE to SAFETY MODE switching continued Completed Select copying program memory data into ROM Execute copying program memory data into ROM Checking completion of the switch to SAFETY MODE 2 Click the Yes button Click the OK button Restart up Reset the CPU module or restart up the safety PLC system power SAFETY MODE wait for restart You can return to TEST MODE by switching the safety CPU operat...

Страница 94: ...ng Start Set the CPU module to STOP Set the CPU module RUN STOP RESET switch to the STOP position Display safety CPU operation mode screen The safety CPU operation mode screen is displayed with the following operations Online Safety CPU operation Switch operation mode Safety CPU operation mode switching execution Click the switching Execution switch button Select Safety CPU operation mode switchin...

Страница 95: ...Sequence Program Configuration and Execution Conditions 4 I O Nunber Assignment 5 Memories and Files Handled by CPU Module 6 Functions 7 Communication with Intelligent Function Module 8 Parameters Figure 6 6 SAFETY MODE to TEST MODE switching continued Completed Check the completion of the switch to TEST MODE 1 Click the OK button ...

Страница 96: ...ameter leads to the following operation When Clears compulsorily is selected at Case of CPU STOP setting OFF output When Clears compulsorily is not selected at Case of CPU STOP setting RY status output Table6 5 Whether each function can be executed or not in each safety CPU operation mode and CPU operation status No Safety CPU operation mode Test mode CPU operation status RUN status Stop status St...

Страница 97: ...meters The function operates The function does not operate This combination does not exist 1 Indicates the stop error due to moderate error or severe error For details on moderate errors and severe errors refer to the following manual QSCPU User s Manual Hardware Design Maintenance and Inspection Safety mode wait for restart Safety mode RUN status STOP status Stoperror 1 during switching from STOP...

Страница 98: ...rom STOP to RUN During initial processing 1 File operation Write to PLC Read from PLC Verify with PLC Delete PLC data 2 Drive operation Arrange PLC memory Format PLC memory Drive title registration Drive title deletion Write the program memory to ROM 3 PLC memory operation Clear PLC memory 4 Proguram change Writing in Program during CPU Module RUN Writing in T C set value during CPU Module RUN 5 M...

Страница 99: ...on Module 8 Parameters The function operates The function does not operate This combination does not exist 1 Indicates the stop error due to moderate error or severe error For details on moderate errors and severe errors refer to the following manual QSCPU User s Manual Hardware Design Maintenance and Inspection Safety mode wait for restart Safety mode RUN status STOP status Stoperror 1 during swi...

Страница 100: ...project and the CPU module When an operation changing control for example a program change is executed from GX Developer the CPU module compares the GX Developer project and CPU module passwords The operation from GX Developer is permitted only when the passwords match Diagram 6 7 CPU access password CPU access password ABC123 Operation is possible because the CPU access password matches CPU acces...

Страница 101: ...assword setting and characters that can be used a CPU access password setting The CPU access password is set on the CPU access password registration change screen of GX Developer The CPU access password set is registered in the project For details on CPU access password registration change operations refer to the GX Developer Manual Safety PLC Diagram 6 8 CPU access password registration change sc...

Страница 102: ...in the GX Developer project Also the set password cannot be changed If you lose the CPU access password it is necessary to initialize the CPU module by initializing the PLC memory then write the project to the PLC again For details on how to initialize the PLC memory refer to Section 6 4 3 The CPU access password can be registered to the CPU module in the following cases CPU operation mode TEST MO...

Страница 103: ...emory The data is erased State in which not even one file exists Standard ROM The data is erased State in which not even one file exists CPU access password Not registered Safety CPU operation mode Enters TEST MODE Operation error history After the history is erased the following operation error history is recorded OP005 SYSTEM INITIALIZE PLC MEMORY OP100 POWER ON 2200 MISSING PARAMETER Clock data...

Страница 104: ...e not possible PLC memory initialization can be executed in the following cases Can be executed Cannot be executed Safety CPU operation mode SAFETY MODE SAFETY MODE wait for restart TEST MODE CPU operation status RUN STOP STOP RUN STOP PLC memory initialization execution possible not possible ...

Страница 105: ...re with GX Developer Diagram 6 10 PLC memory initialization procedure Start End Display PLC memory initialization screen The PLC memory initialization screen is displayed with the following operations Online Safety CPU operation PLC memory initialization Set the CPU module to the STOP status Set the CPU module RUN STOP RESET switch to the STOP position Execute PLC memory initialization Click the Y...

Страница 106: ...n the QSCPU User s Manual Hardware Design Maintenance and Inspection b Communication with GX Developer during PLC memory initialization Online operation from GX Developer to the CPU module cannot be executed during the PLC memory initialization Execute online operation from GX Developer after the PLC memory initialization is completed Figure 6 10 PLC memory initialization procedure continued Durin...

Страница 107: ...he CPU module goes into the state below the measurement of the continuous RUN operation time in TEST MODE is stopped and the measurement value is cleared When the CPU module is put into the STOP status When the PLC is power off When the CPU module is reset Remark 1 The continuous RUN operation time in TEST MODE is not measured during operation in SAFETY MODE 2 Measurement of the continuous RUN tim...

Страница 108: ...ring the results of measuring the TEST MODE continuous RUN time Special relay special register number Description Remark SM561 Turns ON when the continuous RUN operation time in TEST MODE exceeds the continuous RUN tolerance time that has been set Updated when changed When the error is canceled SM561 is turned OFF SD561 The continuous RUN operation time in TEST MODE is stored as a binary value in ...

Страница 109: ... ON 2 Operation counted as ROM writes Below are the operations counted as a ROM write a Writing parameters or program to the standard ROM There are two types of writing parameters and programs to ROM Writing program memory to ROM using GX Developer Writing program memory to ROM when switching from TEST MODE to SAFETY MODE b Registering the CPU access password from GX Developer c PLC memory initial...

Страница 110: ... error code of the latest error into SD0 Use the special relay and the special register in a program to establish the PLC or mechanical system interlock 4 Checking the operation error history The CPU module records 3000 incidents of the operation error history Section 6 8 The operation error history can be checked by using GX Developer Diagnostics PLC diagnostics The operation error history is bac...

Страница 111: ...of the END instruction 8050 SAFETY OUTPUT VERIFY ERROR 6 Time monitoring Checks that the CPU A and B have the same OS execution status Always 8020 CPU A B CAN T BE SYNCHRONIZED During execution of the END instruction 8021 7 Microcomputer diagnostics Checks that registers used in the CPU module operate correctly At power ON At reset During execution of the END instruction 8000 INTERNAL REGISTER ERR...

Страница 112: ...the mounting status of the CC Link Safety master module and network module has not been changed since power ON or reset operation During execution of the END instruction 2000 MODULE VERIFY ERROR 22 Module configuration Checks that the CC Link Safety master module and network module are mounted according to the I O assignment setting of PLC parameter Checks that the number of mounted CC Link Safety...

Страница 113: ...t reset At status change from STOP to RUN 4000 INSTRUCTION CODE ERROR Checks that the extension dedicated instruction format in the program is correct At power ON At reset At status change from STOP to RUN 4002 4003 4004 INSTRUCTION CODE ERROR Checks that an END instruction exist in the program At power ON At reset At status change from STOP to RUN 4010 MISSING END INSTRUCTION During execution of ...

Страница 114: ... continuation error canceled is OFF Table6 12 Error factor error code corresponding to bit number of SD81 Bit number of SD81 error factor corresponding to continuation error Continuation error corresponding to bit number of SD81 Bit number Error factor Error code Error message 0 Instantaneous power failure 1500 AC DC DOWN 1 Battery low 1600 BATTERY ERROR 2 Standard ROM write count excess 1610 EXCE...

Страница 115: ... occurs again after it has been canceled it is recorded into the error history again 3 Canceling annunciator When canceling multiple detected annunciators only the F number first detected is canceled 4 Canceling errors when multiple erros occur When multiple continuation errors occur and an error is canceled the CPU module LED display and error information are as follows 1 1 When error code 1600 B...

Страница 116: ...r code 2125 is not canceled 2 If an error occurred due to a cause other than the CPU module even if the error is canceled using a special relay SM50 and special register SD50 the cause of the error cannot be eliminated Example For INTELLIGENT FUNCTION MODULE DOWN because this error occurred in the base unit intelligent module or the like even if the error is canceled using a special relay SM50 and...

Страница 117: ...PU module in the past The objective of this function is to make troubleshooting easier 2 Data stored in the operation error history area The CPU module stores the operations that have been executed to the CPU module from the outside and the self diagnostics errors in the operation error history area a Operations executed to the CPU module from the outside The following are stored as operations exe...

Страница 118: ...ror history was initialized into 0 incidents OP004 SYSTEM INITIALIZE SYSTEM CLOCK Because the system clock data is not correct the CPU module initialized the system clock data OP005 SYSTEM INITIALIZE PLC MEMORY The CPU module executed the PLC memory initialization function OP006 SYSTEM INITIALIZE ROM WRITE INF Because the write to ROM information is not retained correctly the CPU module initialize...

Страница 119: ...When double clicking a history in the history list or an error currently occurring on the PLC diagnostics screen the detailed information in Diagram 6 14 can be displayed Table6 14 Contents of the PLC diagnostics screen and the operation error history item PLC diagnostics screen Description of PLC diagnostics screen Item Description Type The history type is displayed Ope Operation history Err Erro...

Страница 120: ...ror history is cleared the CPU module stores the operation contents OP200 CLEAR OPERATION ERROR LOG in the operation error history POINT The operation error history is retained by the CPU module battery At the power on or the reset cancel the CPU module checks if the operation error history has not been lost or damaged When the CPU module detects that the operation error history has been lost or d...

Страница 121: ... executed or not Constant scan is a function to execute the sequence program repeatedly while maintaining the scan time at a constant time 2 Applications of constant scan I O refresh is performed before sequence program execution Using the constant scan function the I O refresh intervals can be made constant if the sequence program execution time varies Scan time when constant scan is not used Sca...

Страница 122: ...e PLC Parameter dialog box The constant scan time can be set in the range of 1 to 2000 ms in units of 1 ms When executing constant scanning set the constant scanning time When not executing a constant scanning leave the constant scanning time blank Diagram 6 16 When constant scanning time is set to 10ms Setting the constant scanning time ...

Страница 123: ... time If the sequence program scan time is longer than the WDT setting time the CPU module detects a WDT error In this case the program execution is stopped 4 Waiting time from when END processing is executed until next scan starts Sequence program processing is stopped during the waiting time from when the END processing of a sequence program is executed until the next scan starts 5 Constant scan...

Страница 124: ...tatus prior to STOP is output The output Y is cleared 2 Setting applications Using a holding circuit or similar it is possible to select whether the output is resumed from the previous status or not when the STOP status is changed to the RUN status When the output Y status prior to STOP is set to output When output Y is set to clear Diagram 6 18 Holding circuit Diagram 6 19 Timing chart when outpu...

Страница 125: ... output Default After the output Y status before the STOP status is output the sequence program calculations are performed b Output is cleared The output becomes OFF status The output Y is output after the operation of sequence program Refer to 5 for the operation when performing forced ON of output Y at STOP status Diagram 6 21 Processing when Change from STOP Status to RUN Status STOP status RUN...

Страница 126: ...OP status of the CPU module the output at switching from STOP status to RUN status is as shown in Table6 15 Diagram 6 22 PLC system screen Table6 15 Output at switching from STOP status to RUN status after performing forced ON to output Y Output mode at switching from STOP to RUN Output at switching from STOP status to RUN status Output Y status prior to STOP is output Output the status before STO...

Страница 127: ...ment e g storage of date into the operation error history 2 Clock operation at power OFF and momentary power failure Clock operation is continued by the internal battery of the CPU module during power OFF of the PLC or when a power failure longer than the permissible momentary power failure time occurs 3 Clock Data Clock data is used in the CPU module and includes the data indicated in Table6 16 T...

Страница 128: ...the CPU module records OP210 ADJUST SYSTEM CLOCK in the operation error history 2 Changing data using special relay and special registers The clock data can be written using the special relay SM210 and special registers SD210 to SD213 For details on the special relay refer to Appendix 1 For details on the special registers refer to Appendix 2 b Reading clock data The clock data can be read using t...

Страница 129: ...odule Therefore if the CPU module s battery capacity falls the clock data value may become inaccurate When the PLC power on or the CPU module reset is canceled the CPU module checks if the clock data value is within the range shown in this Section 3 If the clock data value is incorrect the clock data value is initialized to January 1 2005 00 00 00 At this time the CPU module records OP004 SYSTEM I...

Страница 130: ...f the CPU module externally with the CPU module RUN STOP RESET switch at RUN 2 Applications of remote RUN STOP Using remote RUN STOP for the following remote operations are useful When the CPU module is at a position out of reach When performing RUN STOP of the control board CPU module externally 3 Calculations during Remote RUN STOP The program calculation that performs remote RUN STOP is as foll...

Страница 131: ...f devices that can be set is input X0 to 17FF By turning the set RUN contact ON OFF the remote RUN STOP can be performed When the RUN contact is OFF the CPU module enters the RUN status When the RUN contact is ON the CPU module enters the STOP status b Method by GX Developer RUN STOP of the CPU module can be executed by performing remote RUN STOP operation with GX Developer Operate GX Developer by...

Страница 132: ... When placing the CPU module in the RUN status again after putting it in the STOP status by remote STOP perform remote RUN in the order that remote STOP was executed first POINT 1 The RUN STOP status is described below RUN Status Status in which the calculations are repeatedly executed from step 0 to the END FEND instruction in the sequence program STOP Status Status in which the sequence program ...

Страница 133: ...erform the remote RESET follow the following steps When the CPU module is in RUN status use remote STOP to arrange the STOP status Reset CPU module by the remote RESET operation For the GX Developer this is performed by Online Remote operation 4 Precautions a Remote RESET in RUN status Remote RESET cannot be performed when the CPU module is in RUN status Perform remote RESET after placing the CPU ...

Страница 134: ...n completion of the reset processing 2 Remote processing in GX Developer can be completed without setting Remote reset to Allow in the PLC system setting screen of PLC parameter However the reset processing is not performed to the CPU module accordingly the CPU module will not be reset When the CPU module status does not change with Remote reset in GX Developer check if the Remote reset on the PLC...

Страница 135: ...6 18 with the combination of remote operations to RUN STOP switch 1 When performing the operation with RUN contact RUN PAUSE contact must be set at the PLC system tab screen in the PLC Parameter dialog box 2 RESET can be performed if the CPU module changed to the STOP status by a remote operation 3 This includes a situation where the CPU module is stopped due to error 2 Remote Operations from the ...

Страница 136: ...n below Ladder monitor Device buffer memory batch monitor Device registration monitor Device test Program monitor list Ladder registration monitor For details on GX Developer monitor functions refer to the following manual GX Developer Operating Manual 2 Monitor request processing timing and displayed data The CPU module performs the END processing to handle monitor requests from GX Developer The ...

Страница 137: ...g RUN can be executed only at TEST MODE The program can be changed without stopping the process in CPU module program by performing writing data in the circuit mode during RUN status 2 Precautions Take a note of the following when online change is performed a Memory enabled for online change The memory that can be written during RUN is only program memory b Online change performed during boot run ...

Страница 138: ... is the sum of the created program capacity and allocate memory for online change 2 When program file capacity increases from the secured capacity If the capacity secured for the program file capacity capacity including the allocate memory for online change is exceeded at the time of online change the allocate memory for online change can be re set for online change Hence online change can be exec...

Страница 139: ...instructions do not operate normally Trailing edge instruction Leading edge instruction 1 Trailing edge instruction The trailing edge instruction is executed when the instruction is in a writing range even the execution condition ON OFF is not established at the completion of online change The corresponding instructions are LDF ANDF ORF MEF PLF Diagram 6 27 Trailing edge instruction operation END ...

Страница 140: ...en the execution condition OFF ON is established at the completion of online The corresponding instructions are PLS P Diagram 6 28 Leading edge instruction operation END 1 scan END END 0 0 0 OFF OFF ON OFF OFF OFF OFF OFF OFF ON ON ON ON ON ON ON X100 status X100 M0 X100 M0 X100 M0 PLS M0 X100 A A OFF ON Completion of online change The leading edge instruction is not executed even the execution co...

Страница 141: ...s The setting range is 10 to 2000 ms in 10ms units b Watchdog timer resetting CPU module resets the watchdog timer during the END processing When the END instruction is executed within the set value of the watchdog timer in the sequence program and the CPU module is operating correctly the watchdog timer does not time out When the scan time of a sequence program is extended due to the CPU module h...

Страница 142: ...e by taking such an error into account POINT 1 The scan time is the time taken for the execution of the sequence program starting from step 0 and ending at step 0 The scan time is not the same for each scan which differs according to the execution or non execution of the instructions used in the program 2 To execute at the same scan time at every scan use the constant scan function Section 6 9 ...

Страница 143: ...s accessed by users in remote locations 2 Flow from remote password setting to reflection Set a remote password using GX Developer and then write it to the CPU module 6 in this section The remote password is transferred to the modules that accept remote password setting 3 in this section when the programmable controller is powered OFF ON at power ON or the reset operation of the CPU module is perf...

Страница 144: ... access to the CPU module is enabled 5 Number of remote password set modules The number of remote password set modules is only one Diagram 6 30 Outline of remote password lock unlock processing performed for Ethernet module Ethernet module GX Developer The remote password is transferred to the Ethernet module at power ON or reset The remote password is checked Ethernet GX Developer unlocks the rem...

Страница 145: ... The remote password becomes valid for the module when the programmable controller is powered OFF ON at power ON or the reset operation of the CPU module is performed at reset Diagram 6 31 Remote password setting screen Table6 19 Setting items on Remote password setting screen Item Description Setting range Password settings Enter the remote password Within 4 characters alphabets numerals symbols ...

Страница 146: ...to the CPU module Deleting the remote password 8 Click the Clear button to delete the set password In the Project data list tree of GX Developer select Parameter Remote password to display the Remote password setting screen Click the Clear button to delete the set password Write the remote password using GX Developer ...

Страница 147: ...n be checked Not mounted is displayed for slots in which no module is mounted For slots for which empty is set in the PLC parameter I O assignment even if a module is mounted the module name is not displayed 2 Parameter status The I O numbers module type and points for the each slot of the base unit can be checked If an assignment error or empty 0 is displayed for the operation status the PLC para...

Страница 148: ...and the number of modules mounted on the base units to be confirmed b Base information Enables the base name the number of slots the base type and the number of modules mounted onto the base for the selected base unit to be confirmed 7 Product Information List Enables the individual information for mounted CPU modules and intelligent function modules to be confirmed type series model number head I...

Страница 149: ...urn off the LED The LED that is on can be turned off by the following operation Except for the reset operation Valid Invalid 1 Special relay and special register contents SM50 When switch from OFF to ON the error is canceled for the error code stored in the SD50 SD50 The error code for the error to be canceled is stored Refer to the following manual for the error codes QSCPU User s Manual Hardware...

Страница 150: ...s and the CC Link Safety master module is executed by auto refresh To execute link refresh the refresh parameters need to be set on the Ethernet CC IE MELSECNET setting of Network parameter in GX Developer For details on the Ethernet CC IE MELSECNET setting items refer to Section 8 2 Remark For details on the Ethernet CC IE MELSECNET setting items of Network parameter refer to the following manual...

Страница 151: ...parameter in GX Developer For details on the network parameter setting items refer to Section 8 2 POINT When a CC Link IE controller network module or MELSECNET H module is used with a safety CPU module the functions that can be used are restricted For details on restrictions refer to Appendix 4 and 5 Remark For details on the of Network parameter refer to the following manuals CC Link IE Controll...

Страница 152: ...n module dedicated instructions are used for the same intelligent function module create a program so that dedicated instructions are executed one by one following the completion device of each instruction tuning ON 3 Precautions a Changing the operation status before the completion device turns ON f the operation status of the CPU module is switched from RUN to STOP before the completion device t...

Страница 153: ...or Ethernet module is used in the programmable controller system Remote password This parameter is set when the remote password function of the Ethernet module is used 2 Parameter setting method Set the parameters by GX Developer Refer to the following manual for the setting operation on GX Developer For details on basic operations using GX Developer refer to the following manual GX Developer Oper...

Страница 154: ...nt of the used CPU module Setting the label and comment in the PLC name does not affect the actual operation Diagram 8 1 PLC name Table8 1 PLC name list Item Parameter No Description Setting range Default value Reference Label 0000H Set the label name application of the CPU module Max 10 characters No setting Comment 0001H Set the comment of the CPU module label Max 64 characters No setting ...

Страница 155: ...of the low speed timer high speed timer 1ms to 1000ms 1ms unit 100ms Section 9 2 8 High speed 0 1ms to 100 0ms 0 1ms unit 10 0ms Section 9 2 8 RUN PAUSE contact 1001H Set the contact that controls RUN of the CPU module X0 to 17FF No setting Section 6 12 1 Remote reset 1002H Set enable disable of remote reset operation from GX Developer Enable Disable Enable Section 6 12 2 Output mode at STOP to Ru...

Страница 156: ...le8 3 PLC RAS list Item Parameter No Description Setting range Default value Reference WDT watchdog timer setting WDT setting 3000H Set the watchdog timer value of the CPU module 10ms to 2000ms 10ms unit 200ms Section 3 2 Constant scanning 3003H Set the constant scan time 1ms to 2000ms 1ms unit No setting Section 6 9 ...

Страница 157: ...m 8 4 Device Table8 4 Device list Item Parameter No Description Setting range Default value Reference Device points 2000H Set the number of used device points according to the system X 6k points Y 6k points 1536 SB 1536 points and SW 1536 points are fixed Can be set within the range of total 12384 words including the above number of points 2400 words 1 device Max 32k points X 6k points Y 6k points...

Страница 158: ...Y MODE boot operation is executed regardless of the boot file settings Diagram 8 5 Boot file Table8 5 Boot file list Item Parameter No Description Setting range Default value Reference Boot file 7000H At TEST MODE set whether to boot from the standard ROM or not Do not execute boot Execute boot Do not execute boot Section 5 1 4 ...

Страница 159: ... memo Not used for the CPU module 16 characters No setting points Set the number of points of each slot 0 points 16 points 32 points 48 points 64 points 128 points 256 points 512 points 1024 points No setting Start XY Start I O No Set the start I O number of each slot 0H to 3F0H No setting Standard setting Base model name 0401H Set the model name of the used main base unit User memo Not used for t...

Страница 160: ... Ethernet CC IE MELSECNET setting and CC Link setting Diagram 8 7 X Y assignment Table8 7 X Y assignment list Item Parameter No Description Setting range Default value Reference X Y assignment The data set in the I O assignment tab Ethernet CC IE MELSECNET setting and CC Link setting can be checked ...

Страница 161: ... settings Set the operation settings in continuous RUN in test mode and for remote station error status Diagram 8 8 Safety settings Table8 8 Safety settings Item Parameter No Description Setting range Default value Reference Continuous RUN in test mode 6000H Set the continuous RUN tolerance time in TEST MODE 1 second to 86400 seconds 10 seconds Section 6 5 Operation settings during remote station ...

Страница 162: ...n indicate the following mn Indicates a start I O No 16 value N Indicates the module number M Indicates the network type Table8 9 Network type for CC Link IE controller network and MELSECNET H setting 1 2 in this section M Network type 2H CC IE Control Normal station MELSECNET 10 mode Normal station MELSECNET H mode Normal station MELSECNET H Extended mode Normal station Table8 10 Network type for...

Страница 163: ...t 1 Settable only for the CC Link IE controller network Diagram 8 9 Setting the number of Ethernet CC IE MELSECNET screen for CC Link IE controller network setting Table8 11 List of CC Link IE controller network MELSECNET H setting items Item Parameter No Description Setting range Default value Reference Nunber of MELSECNET 5000H Sets the network parameters for the CC Link IE controller network an...

Страница 164: ...of Ethernet setting items Item Parameter No Description Setting range Default value Reference Number of Ethernet 9000H Sets the network parameters for the Ethernet Refer to the Ethernet manual Starting I O No 9N00H Network No Group No 09mnH Station No 9N00H Mode Operational settings Initial settings 9N01H Open settings 9N02H Router relay parameter 9N03H Station No IP information 9N05H Routing para...

Страница 165: ... 13 Network parameters Setting the CC Link list Item Parameter No Description Setting range Default value Reference Number of CC Link C000H Set the CC Link safety parameters Refer to the CC Link safety Manual Starting I O No CNM2H Operational settings Mode setting Transmission settings Safety refresh monitoring time Safety data monitoring time Link ID All connect count Remote input RX CNM1H Remote...

Страница 166: ...ols Refer to the Ethernet manual Password active module settings Model name Select the module model of the remote password check target QJ71E71 Start XY Set the start address of the module targeted for the remote password check 0000H to 03E0H Remote password detail settings Set the remote password details in the QJ71E71 User connection No Set the user connection number Connection 1 to 16 System co...

Страница 167: ...rds 2 Section 9 2 1 Output 6144 points Y0 to 17FF Hexadecimal Section 9 2 2 Internal relay 6144 points M0 to 6143 Decimal Section 9 2 3 Annunciator 1024 points F0 to 1023 Decimal Section 9 2 4 Edge relay 1024 points V0 to 1023 Decimal Section 9 2 5 Link relay 2048 points B0 to 7FF Hexadecimal Section 9 2 6 Special link relay 1536 points SB0 to 5FF Hexadecimal Section 9 2 7 Word devices Timer 1 512...

Страница 168: ...internal user devices other than CPU module input X output Y link special relay SB or link special register SW can be changed within the range of 9 75k words with the PLC parameter device settings The following gires more information a Setting range The number of device points is designated in 16 point units A maximum of 32 k points can be designated for one device 1 point is calculated as 2 point...

Страница 169: ...entive timer and counter 16 points are calculated as 18 words c For word devices For data registers D link registers W and special register SD 16 points are calculated as 16 words POINT When the number of used points of internal user devices is changed with the PLC parameters any sequence program created with the pre change parameters cannot be used as it is When the number of used points of inter...

Страница 170: ... points Y0000 to 17FF 16 384 words 1 6144 points Internal relay M 10 8k 8192 points M0 to 8191 16 512 words 1 8192 points Link relay B 16 1k 1024 points B0000 to 03FF 16 64 words 1 1024 points Annunciator F 10 1k 1024 points F0 to 1023 16 64 words 1 1024 points Link special relay SB 16 1 5k 1536 points SB0000 to 05FF 16 96 words 1 1536 points Edge relay V 10 1k 1024 points V0 to 1023 16 64 words 1...

Страница 171: ...U module the program uses the Xn s N O contact or N C contact 3 Number of used N O and N C contacts There are no restrictions on the number of Xn N O contacts and N C contacts used in a program provided the program capacity is not exceeded Diagram 9 2 Commands from external devices to CPU module Diagram 9 3 Inputs X Diagram 9 4 Input X Used in Program 1 2 3 Push button switch Selector switch Digit...

Страница 172: ...GX Developer test operation OUT Xn instruction 2 Input X can also be used as following devices Destination device on the CPU module side of CC Link Safety remote input RX refresh Destination device on the CPU module side of CC Link IE controller network or MELSECNET H refresh Diagram 9 5 Input X ON OFF by the OUT Xn instruction X100 OUTX100 ON OFF command ...

Страница 173: ...ber of output Yn N O contacts and N C contacts used in a program provided the program capacity is not exceeded 3 Using outputs as internal relays M An output Y corresponding to a region with no module mounted can be used in place of an internal relay M Diagram 9 6 Output from CPU module to external devices Diagram 9 7 Use of output Y in program Diagram 9 8 Substitute for internal relay Signal lamp...

Страница 174: ... O contacts N C contacts used in the program provided the program capacity is not exceded 3 Procedure for external outputs Outputs Y are used to output sequence program operation results to an external destination Diagram 9 9 Use of internal relays in program X100 M0 T0 Y100 X102 M0 M100 X104 M0 M2047 SET M0 K20 No restrictions on the quantity used M0 switches ON at X100 OFF to ON The internal rel...

Страница 175: ...ed on a CPU module the other annunciator numbers that are ON can be stored in the error history storage area 3 Applications of annunciators Using annunciators for a fault detection program an equipment fault or fault presence absence annunciator number can be checked by monitoring the special register SD62 to 79 when the special relay SM62 switches ON Special relay SM62 Switches ON if even one ann...

Страница 176: ...tion turns OFF the annunciator is held ON The scan time can be reduced by using many annuciators compared with the OUT F instruction 2 OUT F instruction The annunciator can be turned ON OFF by the OUT F instruction but it takes longer time than the SET F instruction since it performs processing every scan If the annunciator is turned OFF by the OUT F instruction the RST F instruction must be execu...

Страница 177: ...sters SD62 to 79 Nos of annunciators which switched ON are stored in order at SD64 to 79 The annunciator No which was stored at SD64 is stored at SD62 1 is added to the SD63 value 2 Processing at CPU The USER LED on the module front turns ON Diagram 9 11 Processing at annunciator ON 0 0 0 0 0 0 0 SD62 SD63 SD64 SD65 SD66 SD67 SD79 50 1 50 0 0 0 0 50 2 50 25 0 0 0 50 3 50 25 1023 0 0 SET F50 SET F2...

Страница 178: ... annunciator can be turned ON OFF by OUT F instruction it takes time longer than when using the RST F instruction since every scan is processed However if an annunciator is switched OFF by the OUT F instruction the processing at annunciator OFF 6 b in this section is not performed Execute the RST F instruction after the annunciator has been switched OFF by the OUT F instruction Remark Refer to the...

Страница 179: ...os after the deleted annunciator No are shifted up If the annunciator No stored at SD64 was switched OFF the new annunciator No which is stored at SD64 is stored at SD62 1 is subtracted from the SD63 value If the SD63 value is 0 SM62 is switched OFF 2 LED indication When the annunciator Nos in SD64 to 79 all turn OFF the USER LED which was turned ON as the annunciator turned ON turns OFF Diagram 9...

Страница 180: ...es the operation results ON OFF information from the beginning of the ladder block Edge relays can only be used at contacts and cannot be used as coils 2 Precautions The edge relay of the same No cannot be set in multiple steps of a program Diagram 9 14 Edge relay X100 X102 X104 V1 Edge relay Stores the X100 X102 and X104 operation results ...

Страница 181: ...ler network module or MELSECNET H module 2 Number of used N O and N C contacts There are no restrictions on the number of contacts N O contacts N C contacts used in the program Diagram 9 15 Link refresh Diagram 9 16 Link Relay Link relay Link relay B0 LB0 CPU module CC Link IE controller network module Link refresh setting range Link refresh X100 B0 T0 Y100 X102 B0 B100 X104 B0 B1FFF SET B0 K20 No...

Страница 182: ...internal relays POINT The number of device points for link relays is 16384 in the CC Link IE controller network module and MELSECNET H module but 2048 in the CPU module by default To use link relays exceeding the device point range described above change the number of device points for link relays on the Device setting tab of PLC parameter in GX Developer Remark For the network parameters refer to...

Страница 183: ...ed 2 Number of link special relay points The number of link special relay points is as described in Table9 3 Remark For details on the link special relay refer to the following manuals CC Link IE Controller Network Reference Manual Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network Table9 3 Number of link special relay points of each CPU module CPU module Number of link...

Страница 184: ...a timer setting instruction format a device is assigned for a low speed retentive timer or high speed retentive timer The OUT T0 instruction is used to assign a device for a low speed retentive timer The OUTH T0 instruction is used to assign a device for a high speed retentive timer 4 Low speed timers a Definition Low speed timers perform counting in 1 to 1000ms units The timer is valid only while...

Страница 185: ...H The time measurement begins when the timer s coil switches ON and the contact switches ON when the time elapses When the timer s coil switches OFF the current value becomes 0 and the contact switches OFF b Measurement units The default time measurement units setting for high speed timers is 10 ms The time measurement units setting can be designated in 0 1ms units within a 0 1 ms to 100 ms range ...

Страница 186: ...urement units settings for retentive timers are the same as those for low speed timers and high speed timers Low speed retentive timer Same as low speed timer High speed retentive timer Same as high speed timer POINT In order to use retentive timers a retentive timer number of points used setting must be designated at the Device tab screen in the PLC Parameter dialog box Diagram 9 20 Ladder exampl...

Страница 187: ... T instruction is executed the following is processed timer coil ON OFF current value update and contact ON OFF processing Timer current value update and contact ON OFF processing are not performed at END processing Diagram 9 21 Processing at execution of OUT TO instruction X100 T0 K10 END OUT T0 END Processing at execution of OUT T0 instruction Ladder example Sequence program Processing content C...

Страница 188: ...timer time limit setting Diagram 9 22 Timer accuracy For 10ms X100 T0 H K8 2 3 2 3 2 3 OUT T0 OUT T0 OUT T0 OUT T0 OUT T0 OUT T0 ON OFF OFF OFF ON ON OFF ON 2 1 1 1 2 1 1 2 1 2 3 2 3 2 3 Ladder example Current value update timing Program X100 external input CPU module s X100 T0 coil T0 contact 10ms measurement Measured value at END instruction T0 current value END processing 0 2 2 2 3 5 5 2 7 7 3 ...

Страница 189: ...gnation results in measurement since the timer current value is updated at execution of each OUT T instruction b When set value is 0 If the timer set value is 0 the contact turnes ON when the OUT T instruction is executed c When set value is changed after time out If the set value changes to a value which is higher than the current value following a timer time out the time out status will remain i...

Страница 190: ... Count processing a When OUT C instruction is executed When and OUT C instruction is executed the following counter processing occurs coil ON OFF current value update count value 1 and contact ON OFF Counter current value update and contact ON OFF processing are not performed at END processing Diagram 9 24 Execution and processing of OUT C instruction X100 C0 K10 END OUT C0 END Ladder example Sequ...

Страница 191: ...The current value update count value 1 is performed at the leading edge OFF to ON of the OUT C instruction The current value is not updated in the following OUT C instruction statuses OFF ON to ON ON to OFF Diagram 9 25 Current value update timing X100 C0 K10 X100 OFF OFF ON ON END END END OUT C0 OUT C0 OUT C0 Ladder example Current value update timing Sequence program Coil C0 Current value update...

Страница 192: ...o update the current value increment the count value by 1 In the above ladder example when M0 turns from OFF to ON the coil of C0 turns ON updating the current value When C0 reaches the preset value finally the contact of C0 turns ON and the execution of the RST C0 instruction clears the current value of C0 At this time the coil of C0 also turns OFF When M0 is still ON in the next scan the current...

Страница 193: ... OUT C instruction The maximum counting speed is calculated by the following expression 1 The duty is the count input signal s ON OFF time ratio expressed as a percentage value Diagram 9 28 Current value update timing Diagram 9 29 Counter resetting ladder example recommended example n Duty 1 T Execution interval of the OUT C instruction sec Diagram 9 30 Duty ratio M0 OFF OFF ON RST C0 OUT C0 END R...

Страница 194: ... lower 16 bits of data are stored at the data register No Dn designated in the sequence program and the higher 16 bits of data are stored in the designated register No 1 Dn 1 For example if register D12 is designated in the DMOV instruction the lower 16 bits are stored in D12 and the upper 16 bits are stored in D13 Two data registers can store a range of numeric data from 2147483648 to 2147483647 ...

Страница 195: ...nd read and write units Link registers which consist of 16 bits per point read and write data in 16 bit units POINT 1 Link register data are handled as signed data For HEX hexadecimal 0000H to FFFFH can be stored However since the most significant bit is a sign bit the range of a value that can be specified is 32768 to 32767 2 Link registers in the range where not used in the CC Link IE controller...

Страница 196: ...3648 to 2147483647 or from 0H to FFFFFFFFH The most significant bit in a 32 bit configuration is a sign bit 3 Holding of stored data Data stored by the link register is maintained until another data is save The data stored in the link register is initialized when the PLC is powered OFF or the CPU module is reset POINT The number of device points for link registers is 16384 in the CC Link IE contro...

Страница 197: ...pecial registers store the data link information as numerical data the error locations and error causes can be identified by monitoring link special registers 2 Number of link special register points The number of link special register points is as described in Table9 4 Remark For details on the link special register refer to the following manuals CC Link Safety Master Module User s Manual CC Link...

Страница 198: ... relays are classified according to their applications as shown in Table9 5 3 Special relay that can be used in the program that achieves the safety function In the program that achieves the safety function only SM1000 to SM1299 can be used Remark For details on special relays which can be used by the CPU module refer to Appendix 1 Table9 5 Special relay classification list Classification Special ...

Страница 199: ...ers are classified according to their applications as shown in Table9 6 3 Special register that can be used in the program that achieves the safety function In the program that achieves the safety function only SD1000 to SD1299 can be used Remark For details on special relays refer to Appendix 2 Table9 6 Special register classification list Classification Special register Diagnostics information S...

Страница 200: ...outside of the nesting structure Refer to the following manual for how to use nesting QSCPU Programming Manual Common Instructions Diagram 9 36 Program example using nesting M15 N0 B C A M15 N0 MC M16 N1 MC N2 MCR N1 MCR M17 N2 MC N0 MCR M16 N1 M17 N2 N0 nesting control range N1 nesting control range N2 nesting control range Designated in ascending No order Executed when condition A is satisfied E...

Страница 201: ...gnation ranges for decimal constants are as follows For word data 16 bits K 32768 to 32767 For 2 word data 32 bits K 2147483648 to 2147483647 POINT The most significant bit is a sign bit 9 5 2 Hexadecimal constant H 1 Definition Hexadecimal constants are devices which designate hexadecimal or BCD data in sequence programs For BCD data designations 0 to 9 digit designations are used Hexadecimal con...

Страница 202: ...endar update or error clear Diagram 10 1 Scan time structure Safety CPU Processing in RUN status STOP processing STOP status RUN status Program check Common processing time Is program terminated 1 NO YES Operation status identification CC Link IE controller network or MELSECNET H refresh CC Link Safety refresh Various function compatibility processing 2 Service processing Constant wait processing ...

Страница 203: ...or Writing Program to CPU Module Appendices Index 2 Calculation of scan time The scan time is calculated from the following formula SM Tru Tio Tie Tend Ts Tc ms SM Scan time Tru Module refresh time Tio I O refresh time Tie Instruction execution time Tend Execution time for each function processed by the END Ts Service processing time Tc Common processing time ...

Страница 204: ...cessing time of each instruction refer to the following manual QSCPU Programming Manual Common Instructions 3 Execution time of various functions processed at END The execution time of various functions processed at END is the sum of times required for calendar update and error clear a Calendar update processing time This indicates the time taken to change read the clock data at END processing whe...

Страница 205: ...are shown below 1 Time taken to read an 8k step program from the program memory 2 Time taken when 32 points have been set in registration monitor 3 Time taken when a 100 step ladder is added 4 Time taken to update the display specifying All log Communication with Ethernet module For details of the time required for communication with the Ethernet module refer to the following manual Q Correspondin...

Страница 206: ...eference Manual b MELSECNET H refresh time This is the time required to refresh data between the link devices of the MELSECNET H module and the devices of the CPU module The MELSECNET H refresh time Tmnet will be calculated with the following formula Tmnet 1 85 number of words to be refreshed 1000 s For the number of words to be refreshed refer to the following manual Q Corresponding MELSECNET H N...

Страница 207: ... executing any of them make sure to allow for the processing time the value given in this section to the value calculated in Section 10 1 2 1 Online change executed in ladder mode The scan time increases by the value indicated in Table10 5 after online change 2 Functions that increase scan time The scan time also increases by use of the following functions System monitor General data processing Ta...

Страница 208: ...ribed in Section 10 1 1 Constant scan accuracy Table10 6 indicates the constant scan accuracy With monitor Indicates the status in which monitor is being executed with GX Developer connected Without monitor Indicates the status in which monitor is not executed by GX Developer Table10 6 Constant scan accuracy CPU module Constant scan accuracy QS001CPU 2ms ...

Страница 209: ...ce and Inspection 11 1 Items to be examined for program creation To create a program with the CPU module the program capacity the number of device points used etc must be determined in advance 1 Program size considerations Consider whether a program can be stored within the program capacity that can be executed with CPU modules 14 k steps or not Section 5 3 3 2 Applications of devices and setting ...

Страница 210: ...ring a program in standard ROM and booting in TEST MODE execute the procedure in 11 3 after executing the procedure in this item Procedural steps shown in boxes are performed at the GX Developer and those shown in boxes are performed in the CPU module Start Start GX Developer Set the project Change the number of device points in device setting of PLC parameter Create a program to be executed in th...

Страница 211: ...Choose Online Write to PLC on GX Deveoper select Program memory and write the parameters created program to the program memory Choose Online Format PLC memory on GX Deveoper and format the program memory Switch the PLC power OFF drarroON or end the CPU module reset Choose Diagnostics System Monitor on GX Developer or perform PLC Diagnostics to check the error factor and remove the error factor QSC...

Страница 212: ...ch is in the RUN position set the switch to the STOP position Choose Online Write to PLC on GX Deveoper and write the parameters and program to the program memory Has the special relay SM660 turned ON YES NO Choose Online Write to PLC Flash ROM Write the program memory to ROM on GX Developer and write the program memory data to the standard ROM Switch the PLC power OFF drarroON or end the CPU modu...

Страница 213: ... to SM1299 cannot be used in the program that achieves the safety function TableApp 1 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 se...

Страница 214: ...rmation S Error SM50 Error reset OFF ON Error reset Conducts error reset operation U SM51 Battery low latch OFF Normal ON Battery low ON if battery voltage at CPU module or memory card drops below rated value Remains ON if the battery voltage returns to normal thereafter Synchronous with BAT LED S Error SM52 Battery low OFF Normal ON Battery low Same as SM51 but goes OFF subsequently when battery ...

Страница 215: ... is ON U SM232 Number of writes to ROM OFF Within the number of writes ON Over the number of writes Turns ON when the number of writes to ROM exceeds 100 000 S Error TableApp 4 Special relay Number Name Meaning Explanation Set by When Set Corresponding CPU SM400 Always ON Normally is ON S Every END QS SM401 Always OFF Normally is OFF S Every END SM402 After RUN ON for 1 scan only After RUN ON for ...

Страница 216: ...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 S Initial QS TableApp 7 Special relay Number Name Meaning Explanation Set by When Set Corresponding CPU SM722 BIN DBIN instruction error disabling flag OFF Error detection performed ON Error detection not performed Turned ON when OPERATION E...

Страница 217: ...99 can be used Special register other than SD1000 to SD1299 cannot be used in the program that achieves the safety function TableApp 9 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 detai...

Страница 218: ...fy what type of error information is stored in the common information SD5 to SD15 or in the individual information SD16 to SD26 The 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 9 CC Link Safety information 10 Module No Station No The individual information category codes store the followi...

Страница 219: ...No indicates that the I O 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 S Error QS SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 TableApp 11 Extension name S...

Страница 220: ... Error QS SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 Number Meaning Time 1 s units 0 to 999 s Time 1ms units 0 to 65535ms Empty SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 3 Number Meaning File name ASCII code 8 characters Extension 2EH ASCII code 3 characters Empty Block No Step No Sequence step No L Sequence step No H 4 4 SD6 SD7 SD8 SD9...

Страница 221: ...ension 2EH ASCII code 3 characters Empty MAIN QPG 41H A 40H M 43H N 49H I 20H SP 20x SP 20H SP 20H SP 51H Q 2EH 47H G 50H P b15 to b8 b7 to b0 Example File name SD16 SD17 SD18 SD19 SD20 SD21 SD22 SD23 SD24 SD25 SD26 Number Meaning Time 1 s units 0 to 999 s Time 1ms units 0 to 65535ms Empty SD16 SD17 SD18 SD19 SD20 SD21 SD22 SD23 SD24 SD25 SD26 Number Meaning File name ASCII code 8 characters Exten...

Страница 222: ...tery voltage drop occurred Same configuration as SD51 above Turns to 0 OFF when the battery voltage returns to normal thereafter S Error SD53 AC DOWN detection Number of times for AC DOWN detection Every time the input voltage falls to or below 85 AC power of the rating during calculation of the CPU module the value is incremented by 1 and stored in BIN code S Error SD16 SD17 SD18 SD19 SD20 SD21 S...

Страница 223: ...rting up the safety PLC power or canceling the safety CPU module reset after eliminating the cause of the error makes the bits go OFF S Error OUT F SET F RST F SD62 0 50 50 50 50 50 50 50 50 50 50 50 99 Number detected SD63 0 1 2 3 2 3 4 5 6 7 8 9 8 0 50 50 50 50 50 50 50 50 50 50 50 99 SD64 SD65 SD66 SD67 SD68 SD69 SD70 SD71 SD72 SD73 SD74 SD75 SD76 SD77 SD78 SD79 0 0 25 25 99 99 99 99 99 99 99 9...

Страница 224: ... END QS SD201 LED status Status of CPU LED The following bit patterns are used to store the statuses of the LEDs on the CPU module 0 is off 1 is on and 2 is flicker 1 RUN 5 Empty 2 ERR 6 Empty 3 USER 7 TEST 4 BAT 8 Empty S Status change SD203 Operating status of CPU Operating status of CPU The CPU operating status is stored as indicated in the following figure S Every END b15 b14 b13 b12 b11b10 b9...

Страница 225: ...ge number 0 Main base only Stores the maximum number of the extension bases being installed 0 fixed S Initial SD242 Installed Q base presence absence Base type differentiation 0 Base not installed 1 QS B is installed S Initial SD243 No of base slots Operation status No of base slots As shown above each area stores the number of slots being installed Number of set slots when parameter setting has b...

Страница 226: ...Stores the number of points currently set for M devices SD294 Number of points assigned for B Stores the number of points currently set for B devices SD295 Number of points assigned for F Stores the number of points currently set for F devices SD296 Number of points assigned for SB Stores the number of points currently set for SB devices SD297 Number of points assigned for V Stores the number of p...

Страница 227: ...es the ms place Storage range 0 to 6553 SD525 Stores the s place Storage range 0 to 900 The accuracy of processing time of scantime is 0 1ms S Every END SD525 Minimum scan time in 100 s units SD526 Maximum scan time Maximum scan time in 1 ms units Stores the maximum value of the scan time into SD526 and SD527 Measurement is made in 100 s units SD526 Stores the ms place Storage range 0 to 6553 SD52...

Страница 228: ...econds RUN time in TEST MODE Start measurement when STOP RUN Time when operation is STOP is not included Stores the measurment valve with the range of 1 to 2147483647 S Every END SD562 TableApp 16 Special register Number Name Meaning Explanation Set by When set Corresponding CPU SD620 Memory type Memory type Indicates the type of built in memory S Initial QS SD623 Drive 4 ROM capacity Drive 4 capa...

Страница 229: ...o SD1071 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 20 During internal information access 30 Link error 8300 The safety communications Safety remote station detection error 8310 The safety communications Product information mismatch 8320 The safety communications Initial monitor timeout 8...

Страница 230: ...ation numbers S Status changel SD1208 to SD1271 Safety station communication status CC Link Safety master module 2 The status of communication with safety station is stored The status of communication with each safety remote station is stored SD1208 Station number 1 to SD1271 Station number 64 0 fixed in the case of standard remote station reserved station specified or without connection 0 At norm...

Страница 231: ... to the interlock status after the error was detected at the master station 1 to 64 in the table indicate station numbers S Status changel QS SD1276 to SD1279 Safety station interlock cancel request CC Link Safety master module 2 0 Not cancel the I O interlock of safety station 1 Cancel the I O interlock of safety station Cancel the I O interlock of safety station by changing the bit of register f...

Страница 232: ...ction 4 3 Section 8 1 6 Model name points Start XY Start I O No Basic setting Base model name 0401H Section 8 1 6 Power model name Extension cable Slots Group No 05mnH Section 8 2 1 09mnH Section 8 2 2 Switch setting 0407H Section 8 1 6 Timer limit setting Low speed 1000H Section 8 1 2 Section 9 2 8 High speed RUN PAUSE contact 1001H Section 6 12 1 Section 8 1 2 Remote reset 1002H Section 6 12 2 S...

Страница 233: ...n mode at the time of a remote station error Boot file setting 7000H Section 5 1 4 Section 8 1 5 Ethernet setting Setting the number of Ethernet 9000H Section 8 2 2 Starting I O No 9NM0H Network No Station No Operational settings Initial settings 9NM1H Open settings 9NM2H Router relay parameter 9NM3H Routing parameters 9NM4H Station No IP information 9NM5H CC Link setting Number of CC Link C000H S...

Страница 234: ... the safety CPU module Available Not available Remark For details on the CC Link IE controller network refer to the following manual CC Link IE Controller Network Reference Manual TableApp 19 List of network parameters and their setting availability with GX Developer Item Setting availability Network type CC IE Control control station CC IE Control Normal station Starting I O No Network No Total s...

Страница 235: ...data transfer function Cyclic transmission stop restart Transienttransmission function Reading writing data from to word device on another station READ SREAD WRITE SWRITE 1 Transient request to another station REQ Clock data read write 1 Remote RUN STOP 1 Sending receiving data SEND RECV Receiving data on another station for interrupt program RECVS Reading writing data from to word device on anoth...

Страница 236: ...dule from the CPU module on another station Appendix 7 1 TableApp 20 List of CC Link IE controller network functions and their availability in safety CPU module continued Function Availability Diagnostic function Hardware test Self loopback test Line test Station to station test Network test Communication test Interrupt request to CPU module Station No setting by sequence program ...

Страница 237: ...ET H refer to the following manual Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network TableApp 21 List of network parameters and their setting availability with GX Developer Item Setting availability Network type MNET H mode control station MNET H EX control station MNET H mode normal station MNET H EX normal station MNET 10 mode control station MNET 10 mode normal stat...

Страница 238: ...tion Routing function Group function Message sending function using logical channel numbers Sending receiving data SEND RECV Receiving data on another station for interrupt program RECVS Reading writing data from to word device on another station READ SREAD WRITE SWRITE 1 Transient request to another station REQ Clock data read write 1 Remote RUN STOP 1 Reading writing data from to word device on ...

Страница 239: ...2 List of CC Link IE controller network functions and their availability in safety CPU module continued Function Availability Direct access to link devices Interrupt sequence program startup Multiplex transmission function optical loop system Simple dual structured network function Cyclic transmission stop restart and link refresh stop network test Increasing number of send points by installing mu...

Страница 240: ... Remark For details on the Ethernet refer to the following manual Q Corresponding Ethernet Interface Module User s Manual Basic Q Corresponding Ethernet Interface Module User s Manual Application TableApp 23 List of network parameters and their setting availability with GX Developer Item Setting availability Network type Ethernet Starting I O No Network No Group No Station No Mode Operational sett...

Страница 241: ... with an external device of which data communication is performed OPEN CLOSE Reading receive data writing send data using fixed buffer communication BUFRCV BUFSND Reading receive data using fixed buffer communication for interrupt programs BUFRCVS Clearing reading error information of the Ethernet module ERRCLR ERRRD Reinitializaton of the Ethernet module UINI Reading sending e mails from to other...

Страница 242: ...k batch read Word 0406 00 0 Multiple block batch write Word 1406 00 0 Buffer memory Batch read 0613 0000 1 Batch write 1613 0000 1 Intelligent function module Batch read 0601 0000 Batch write 1601 0000 Programmable controller CPU Remote RUN 1001 0000 Remote STOP 1002 0000 Remote PAUSE 1003 0000 Remote latch clear 1005 0000 Remote RESET 1006 0000 CPU model name read 0101 0000 Drive memory Memory us...

Страница 243: ...ns 4E frame and QnA compatible 3E frame and their availability in the safety CPU module continued Function Type Command Subcommand Availability File Directory file information read 1810 0000 Directory file information search 1811 0000 New file creation 1820 0000 File delete 1822 0000 File copy 1824 0000 File attribute modification 1825 0000 File creation data modification 1826 0000 File open 1827 ...

Страница 244: ... Corresponding MELSEC Communication Protocol Reference Manual Q Corresponding Ethernet Interface Module User s Manual Basic Q Corresponding Ethernet Interface Module User s Manual Application TableApp 26 List of MC protocol functions 4E frame and QnA compatible 3E frame and their availability in the safety CPU module Function Type Command Subcommand Availability File Batch read Bit 00H Word 01H Ba...

Страница 245: ... Link IE controller network MELSECNET H Ethernet For opening and closing connections OPEN 1 Establishes a connection CLOSE 1 Disconnects a connection For fixed buffer communication BUFRCV 1 Reads received data for main program BUFSND 1 Sends data For reading and clearing error information ERRCLR Clears error information ERRRD Reads error information For reinitialization UINI Reinitializes the Ethe...

Страница 246: ... For details on each dedicated instruction refer to the following manuals Manuals of each network module TableApp 28 List of available dedicated instructions Application Dedicated instruction Function description Supported network CC Link IE controller network MELSECNET H Ethernet For communication with programmable controller CPU on another station Data link instruction READ Reads data from word ...

Страница 247: ...the sequence program of the safety CPU module use I O signals which correspond to the buffer memory of the intelligent function module In order to use dedicated instructions listed in TableApp 29 replace the programs using the FROM TO instructions with the programs using the I O signals Sample programs where the intelligent function module device U G and the FROM TO instructions are replaced with ...

Страница 248: ...es not turn ON OFF by the OPEN instruction Fig App 1 Program example using I O signals Active open processing of connection No 1 0 25 84 Receive instruction Initial normal completion signal Connection 1 open completion signal 1PLS M5000 M1000 M110 M100 OPEN instruction completion device OPEN instruction abnormal completion device OPEN instruction abnormal completion device M101 M110 M151 M150 M110...

Страница 249: ...s Close processing of connection No 1 0 X10 X10 ZP CLOSE U0 K1 RST M210 M203 M202 M210 M200 M2000 M161 M160 D200 PLS PLS PLF CLOSE instruction in execution CLOSE instruction abnormal completion CLOSE instruction in execution CLOSE instruction completion device Close instruction 1PLS Connection 1 close processing from the external device Connection 1 close timing CLOSE instruction normal completion...

Страница 250: ...is corresponding signal cannot be used since the signal does not turn ON OFF by the OPEN instruction 5005H 20485 Fix buffer receive status signal X10 Connection 1 open completion Fig App 3 Program example using I O signals Fixed buffer No 1 receiving program Main program M5100 M5000 M500 M501 M501 X19 0 Receive instruction Receive instruction 1PLS Receive instruction 1PLS BUFRCV instruction comple...

Страница 251: ...5000H 20480 Open completion signal X10 Connection 1 open completion Fig App 4 Program example using I O signals Normal completion processing Abnormal completion processing BUFSND instruction completion device BUFSND instruction completion device BUFSND instruction abnormal completion device BUFSND instruction abnormal completion device Send instruction 1PLS Send instruction 1PLS Send data setting ...

Страница 252: ...mpletion device Initial normal completion signal UINI instruction abnormal completion device UINI instruction completion device M250 M251 M251 108 0 21 M6500 M2500 X10 X11 Re initial instruction Re initial processing of connection No 1 Re initial instruction Connection 1 open completion signal Connection 2 open completion signal SET SET MOV K2 D252 D255 1 D255 4 D255 5 D255 5 D255 6 SET SET SET RS...

Страница 253: ...ule A2 CC Link Safety GX Developer A1 GX Developer A2 GX Developer B2 G4 A2 GOT A2 QSCPU A3 CC Link Safety module A3 Ethernet module A3 GOT A5 GX Developer A4 GX Developer B4 GX Developer A4 GX Developer A4 GX Developer A3 QCPU A4 QCPU B4 Ethernet module A4 CC Link IE Controller network module or MELSECNET H module A4 Serial Communication Module A4 QCPU A7 QCPU B7 CC Link IE Controller network mod...

Страница 254: ...gn Manual TableApp 35 Accessibility Access source Access target QSCPU A0 QSCPU A1 QCPU A2 QCPU B2 QSCPU A3 QCPU A4 QCPU B4 QSCPU A6 QCPU A7 QCPU B7 QCPU A9 QCPU B9 GX Developer A0 GOT A0 GX Developer A1 GX Developer A2 GX Developer B2 G4 A2 GOT A2 GX Developer A3 GX Developer A4 GX Developer A4 A4 A4 GX Developer A4 GX Developer B4 GOT A5 GX Developer A6 GX Developer A7 GX Developer A7 GX Develope...

Страница 255: ...T H transient transmission function Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network Ethernet compatibility Q Corresponding Ethernet Interface Module User s Manual Basic Q Corresponding Ethernet Interface Module User s Manual Application Dedicated instruction compatibility QSCPU User s Manual Function Explanation Program Fundamentals CC Link IE Controller Network Refe...

Страница 256: ...y V 2 2 Internal relay M 2 2 Link register W 2 2 Link relay B 2 2 Link special register SW 2 2 Link special relay SB 2 2 Special register SD 2 2 Special relay SM 2 2 Timer T 2 2 Device list 9 1 Device setting 8 5 Drive Nos 5 2 Duty 9 27 E Edge relay V 9 14 Edge relay V 2 2 Extension 5 2 F F Annunciator 9 9 Features 1 3 File 5 14 File size units 5 18 Formatting necessities 5 2 H H Hexadecimal const...

Страница 257: ...nce precautions A 5 Wiring Precautions A 3 A 4 Procedure Procedure for boot run 5 10 Write procedure 5 12 Processing method 9 21 Processing speed 2 1 Program capacity 2 1 Program language 2 1 Program memory 5 3 Purpose of I O assignment 4 4 R Recording 6 35 Resetting Resetting the counter 9 26 RUN status 3 9 RUN PAUSE contact 2 2 S Safety settings 8 9 SB Link special relay 9 17 Scan time 3 5 SD Sp...

Страница 258: ...Index 3 Memo ...

Страница 259: ... 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 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 ...

Страница 260: ...e elevated d MELCO 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 FOR 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 O...

Страница 261: ...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...

Страница 262: ...ted States and other countries Pentium is a trademark of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corporation All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies SH NA 080627ENG D ...

Страница 263: ......

Страница 264: ......

Отзывы: