Home
A2A(S1),A3ACPU - User`s Manual (Supplement)
Contents
1. e Configuration of the user memory area see Section 2 2 e List of devices see Section 3 2 e SFC program processing time see Section 3 3 e Instructions used for operation output transition conditions see Sections 4 3 and 4 6 e List of error codes see Section 8 2 SWOIX SAP2E MELSAP II Operating Manual IB NA 66313 e Applicable CPU see Section 2 1 Inactive block single start newly added function 3 SWOIX GPPAE GPP Function Operating Manual IB NA 66314 e Parameter memory capacity setting see Section 7 2 e Precautions to take when setting the microcomputer program capac ity for an ANACPU newly added function 4 A2A S1 ASACPU User s Manual Control Functions IB NA 66256 e CPU module performance specifications see Section 3 1 User memory allocation see Section 5 1 2 e Changing LED display priorities see Section 3 16 5 The User s Manual of each special module that can read write a se quence program Microcomputer program read write suitability see the section in each particular manual that explains the commands 2 COMPATIBLE PERIPHERAL DEVICES PACKAGES 2 COMPATIBLE PERIPHERAL DEVICES AND SOFTWARE PACKAGES Table 2 1 shows the peripheral devices that can and cannot be used for creating and debugging SFC programs when operating an AnACPU F using the SFC language during monitoring as well as the software packages for the GPP and SFC functions Table 2 1 Combinations of Compatible Peri
2. instruction the contents of D9125 to D9132 are shifted upward by one For A3NCPU it can be performed by use of INDICATOR R SET switch on front of CPU unit When there are 8 annunciator detections the 9th one is not stored into D9125 to 9132 even if detected SET SET SET RET SET SET SET SET SET SET SET F50 F25 F19 F25 F15 F70 F65 F38 F110F151F210 LEDR ae 77 07 077 7777 77 55 ne pe ep n n so eo 15 a a como o o Lo Lo Lo o Special Register List APP 13 IB NA 66161 A 1 All special register data is cleared by any of the power off latch clear and reset operations The data is retained when the RUN STOP switch is set to STOP For the above special registers with numbers marked 1 the contents of register are not cleared if normal status is restored Therefore to clear the contents use the following method Clear execution 1 Method by e C ner osos j user program insert the circuit shown at right into the program and turn on the clear execution command contact to clear the contents of register Method by peripheral equipment Set the register to 0 by changing the present value by the test function of peripheral equipment or set to 0 by forced reset For the operation procedure refer to the manual of each peripheral equipment By mov
3. 87 250 9 84 332 13 07 i 352 13 86 Unit mm inch i I a 2 Type A68B base unit 1 4 6mm 0 24 inches 18 4M screws Metric screws dia installation holes for module installation M5 mounting screw Base cover Hand hold s S 2 i e wo t a N f 5 446 17 56 7 i 466 18 35 Unit mm inch K APP 20 IB NA 66161 A b d Base cover Hand hold Base cover Hand hold 3 Type A55B base unit 4 6mm 0 24 inches 10 M4 screws Metric screws dia installation holes for module installation M5 mounting screw 200 7 87 250 9 84 297 11 70 Unit mm inch 4 Type A58B base unit 4 6mm 0 24 inches 16 M4 screws Metric screws dia installation holes for module installation M5 mounting screw mim mi um 29 200 7 87 250 9 84 391 15 39 1 14 411 16 18 Unit mm inch APP 21 IB NA 66161 A 4 5 Memory cassettes A3NMCA 110 4 33 Mr x 31 1 22 j 79 5 3 13 Unit mm inch APP 22 n c c OVSOOASII IB NA 66161 A IMPORTANT 1 Design the configuration of a system to provide an external protective or safety inter locking circuit for the PCs 2 The components on the printed circuit boards will be damaged
4. Access by a computer link 1 If the memory capacity of a parameter is changed after executing an SFC program block No 10 of an SFC program work area sometimes changes Sections 4 1 and 4 2 give details about confirming the block number that is used as a work area 2 1f an SFC program is designated to the continuation start and a program is started when a parameter is first written to a CPU or when the memory capacity of a parameter is changed SFC PARA ERROR error code 80 and detailed error code 804 occur And then an SFC program is started from the initial step of block 0 10 5 PROGRAMMING PRECAUTIONS MELSEC A 5 PROGRAMMING PRECAUTIONS This section gives the precautions to take when programming to execute an SFC program on an AnA F 5 1 To Execute an SFC Program by Continuation Restart 1 2 To execute an SFC program by contunuation restart on an AnA F special relay M9102 must be turned ON contunuation restart all the time an SFC program is being executed if M9102 is turned ON when an SFC program is restarted after it is executed with M9102 being turned OFF the SFC PARA ERROR error code 80 detail error code 804 message is displayed Then an SFC program is started by initial start start with the initial step in block 0 When an SFC program is executed the SFC processing time of the CPU varies according to the ON OFF status changes of M9102 The list of processing times in Section
5. and Area Occupation Timing 10 5 PROGRAMMING PRECAUTIONS TES 11 13 5 1 To Execute an SFC Program by Continuation 11 5 2 Instructions and Devices Usable as Operating Outputs and Transition Conditions 11 5 3 Microcomputer Program Area of an AnACPU F n enne tnn nes 12 5 4 Precautions when Reading Writing a Program Using a Computer Link 12 5 5 Data Stored to the Status Latch Step Number Storage Register M9055 12 5 6 Single Start of an Inactive Block essen enne tnter nennen insti tennn 13 6 ERROR CODES WHEN EXECUTING AN SFC PROGRAM 14 15 6 1 Error Codes 14 6 2 Error LED Indicator Priority 15 7 SFC PROGRAM PROCESSING TIME 16 17 7 1 How to Calculate the Time to Process SFC 16 7 2 SFC System Processing 17 1 GENERAL DESCRIPTION 1 1 1 GENERAL DESCRIPTION Features This manual expl
6. set extension comment capacity the memory area will be insufficient Theretore CPU write operations ca not be done Calculate the available number of blocks of an extension file register block Nos 1 to 8 e During RAM operation 5 2 3 4 5 Kbytes n1 During ROM operation 2 5 Kbytes ne The integer value of n1 and n2 is the available number of blocks in block numbers 1 to 8 Designate an extension file register block number to the data storage area numbers of a sampling trace and a Status latch when a sampling trace and status latch are being executed online This area can be stored to the ROM m When this area is stored to the ROM areas 3 and 4 are condensed And then th siz of an available area for calculating the number of available blocks of extension file registers of block numbers 1 to 8 increases The following table gives the capacities of each memory cassette model Model Nemes Capacities in Table 4 1 1 mu o 96 768 Kbytes 144 Kbytes only for ASA F 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM waar 4 42 SFC Program Work Area and Step Trace Data Storage Area 1 2 SFC program work area When executing an SFC program the system uses 4 Kbytes of the user memory area of a memory cassette as an SFC program work area In addition the system uses a max 12 Kbytes as the step trace data storage area If the user me
7. 0 9 84 INPUT AC85 132V AC170 264V 50 60nz o amp z L 39 Qio of amp S t 13 o E st 12 0 47 37 5 1 48 Unit mm inch APP 17 IB NA 66161 A 4 3 Basic base units 1 Type A32B base unit 4 6mm 0 24 inches 10 M4 screws Metric screws dia installation holes Hand hold for module installation M5 mounting screw 200 7 87 227 8 94 247 9 72 2 Type A35B base unit 16 M4 screws Metric screws Hand hold for module installation 362 14 25 382 15 04 APP 18 Unit mm inch 4 6mm 0 24 inches dia installation holes M5 mounting screw 29 1 14 200 7 87 Unit mm inch Nac sas ee ixue Mia 7 5 E ibe 2 3 Type A38B base unit 4 6mm 0 24 inches 22 M4 screws Metric screws dia installation holes for module installation M5 mounting screw oO Driririririririririe Hand hold 200 7 87 250 9 84 Base cover ras Vian C3 C2 Pa ase Ba 460 18 11 480 18 90 11 6 0 46 Unit mm inch APP 19 IB NA 66161 A 4 4 Extension base units 4 1 Type A65B base unit 4 6mm 0 24 inches 12 4M screws Metric screws dia installation for module installation M5 mounting screw Base cover Hand hold 200 7
8. 7 2 gives details 5 22 Instructions and Devices Usable as Operating Outputs and Transition Conditions 1 3 Instructions usable as operating outputs a Common instructions except for the following are usable CJ SCJ JMP FEND RET IRET MC MCR CHG CHK and labels Pn and In b Dedicated instructions except for the following are usable BREAK CHK and CHKEND Instructions usable as transition conditions e Contact instructions LD LDI AND ANI OR ORI e Branch end instructions ANB ORB Comparison operation instructions LD D LD D gt LD D gt LD D lt gt LD D lt LD D lt AND D AND D gt AND D AND D AND D AND D es OR D OR D OR D gt OR D OR D lt OR D lt Devices usable with an SFC program Extension devices M2048 to 8191 D1024 to 6143 etc of an ANACPU can be utilized in the ladder circuits of operating outputs and transition conditions and for SFC data registers when used with an SFC program 11 PRECAUTIONS 5 PROGRAMMING SEC A 53 Microcomputer Program Area of an AnACPU F 1 Using a microcomputer program with an AnACPU F The microcomputer program area of an AnACPU F can be utilized for storing an SFC program This area cannot be utilized for storing a user s microcomputer programs or as an additional area for a utility software package for the MELSEC A series 2 Precautions when writing a parameter to a CPU when t
9. A 56 A3AMCA 96 Sequence program Sequence program microcomputer program 2 microcomputer program 2 Main program max 14 Ksteps 28 Kbytes max 30 Ksteps 60 Kbytes capacity Microcomputer program Microcomputer program max 13 Ksteps 26 Kbytes max 29 Ksteps 58 Kbytes can be set can be set Sequence program Sub program max 30 Ksteps can be set capacity Microcomputer programs cannot be set 1 Since work areas for an SFC program cannot be allocated in an 0 0 an 0 and A3NMCA 0 cannot be utilized 2 Since the microcomputer program area can only be used for storing SFC programs the microcomputer program area cannot be used for storing microcomputer programs created by a user In addition the microcomputer program area cannot be used as an additional area for utility software packages for the MELSEC A series 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM RE TTD 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM This section explains the relationship between user memory areas in an SFC program work area and memory cassettes needed to execute SFC programs 41 Memory Area Allocations for Memory Cassette Users Table 4 1 shows the memory area allocations for memory cassette users when doing parameter setting Table 4 1 Memory Area Allocations for Memory Cassette Users ROM memory area 5 1 3 Kbytes indespensible 1 Kbytes i
10. C program cannot be assigned since the user s memory has free space of SFC PARA E 4 Kbytes or less ERROR The SFC program area in the memory cassette is mem ory protected The memory capacity parameter was changed when con tinuation restart was designated M9102 ON Initial start The CPU was reset when continuation restart was desig nated M9102 ON The SFC program contains an instruction that cannot be decoded SFC CODE ERROR After changing the memory capacity parameter the SFC program capacity became greater than the microcom puter program capacity SFC STEP The number of simultaneous active steps of the SFC pro OVER gram exceeded the maximum 1024 SFC EXE A request was made to start an active block that was al ERROR ready started 3 4 4 An arithmetic operation error occurred The device SFC OPE 840 Continue Continue range was exceeded when performing an operating out ERROR Stop Stop put in the SFC program or computing transition condi tions using the ladder diagram 1 Data register D9008 stores an error code 2 Data register D9091 stores a detail error code 3 indicates the lowest digit of the detail error code OPERATION ERROR which occurred when executing the program Example When data or a constant in a designated device exceeded the allowable range Executed Programs Detail Error Codes 4 Determined by the error operation mode setting The default is contin
11. Data Bit pattern in modules of 16 points of verify error modules Annunciator detection quantity Annunciator detection number Explanation When VO module data is different from those entered at power on have been detected the UO module numbers in units of 16 points are entered in bit pattern Preset module numbers when parameter setting has been me torment 1M 13 12 11 09116 KGEREBESENEIERESEHEREZRENERENE3PA p o Lo eee indicates VO unit verify error If normai status is restored clear is not performed Therefore it is required to perform clear by user program When one of FO to 255 is turned on S o SETE 115 added to the contents of 09124 When RSTF__ instruction is executed 1 is subtracted from the contents of D9124 For A3NCPU it can be performed by use of INDICATOR RESET switch on front face of CPU module Quantity which has been turned on by or is stored into 09124 in BIN code The value of D9124 is maximum 8 When one of FO to 255 is turned on by or F number which has turned on is entered into D9125 to D9132 in due order in BIN code F number which has been turned off by RTF is erased from D9125 to D9132 and th contents of data registers succeeding the data register where the erased F number was stored are shifted to the preceding data registers By executing LEDR
12. MITSUBISHI PROGRAMMABLE CONTROLLER type A2A S1 AZACPU F F AARE CEMENT MITSUBISHI ELECTRIC REVISIONS The manual number is given on the bottom left of the back cover Manual Number Aug 1992 IB NA 66395 A First edition INTRODUCTION Thank you for choosing the Mitsubishi MELSEC A Series of General Purpose Programmable Control lers Please read this manual carefully so that the equipment is used to its optimum A copy of this manual should be forwarded to the end User CONTENTS 1 GENERAL DESCRIPTION 1 1 1 OARE TA ENA REPE Pda ea 1 1 2 Use with Related Manuals u u u L SSS ul Su uQ uu asss yaa 1 2 COMPATIBLE PERIPHERAL DEVICES AND SOFTWARE PACKAGES 2 3 CPU MODULE PERFORMANCE SPECIFICATIONS 3 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM 4 10 4 1 Memory Area Allocations for Memory Cassette Users 4 4 2 SFC Program Work Area and Step Trace Data Storage 6 4 3 How to Calculate the Area Capacity Used as an SFC Program Work Area 7 4 4 Functions Using an Extension File Register
13. ains the CPU performance specifications necessary periph eral devices and programming precautions to take when operating an A2ACPU F A2ACPU S1 F or ASACPU F PC all hereafter called an An ACPU F using SFC language With an AnACPU F SFC processing time is considerably taster than with an AnNCPU F A1SCPU A0J2HCPU and A2CCPU are included The AnACPU has been designed to increase the ladder processing speed However the SFC processing time is longer than the processing time required for a ladder processing only 1 The SFC system processing time has been shortened When operating an SFC program system processing time is necessary as an overhead However this time was reduced Therefore as com pared with an AnACPU F the total scan time has been reduced 2 A block single start functions for an inactive block has been added A function that singly starts an inactive block by using either a sequence program or a peripheral device has been added This makes both partial testing of equipment and debugging of SFC programs easier 1 2 Use with Related Manuals This manual gives the precautions to take and the specifications of the MELSAP II function SFC which is necessary to operate an ANACPU F using SFC language When consulting the related manuals given below read the indicated sections as if they were contents of this manual Related manuals 1 MELSAP II Programming Manual IB NA 66361 e Applicable CPU see Section 2 1
14. be executed Step trace capacity lt A 4 Kbytes More than 16 Kbytes and less than 31 Kbytes an SFC program cannot be executed However an SFC program can be executed by parameter setting of a dummy capacity and setting the capacity of A at 15 Kbytes or less 4 Kbytes or less su an SFC program cannot be executed 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM f ET TEI MELSEC A 4 If the memory cassette is one of the following e A3NMCA 24 A3NMCA 40 e A3NMCA 56 96 Area capacity of Table 4 1 1 Memory capacity set with a parameter A When an extension comment capacity is set and A is minus Area capacity of Table 4 1 1 Memory capacity set with a parameter extension comment capacity A 32 Kbytes or more fees an SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied Since extension file register No 2 is utilized as an SFC program work area this cannot be utilized as an area for user data storage 15 Kbytes or less ont an SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied However the work area is moved to extension file register No 10 Since extension file register No 10 is utilized as an SFC program work area this cannot be utilized as an area for user data storage 32 Kbytes or lees Et an SFC program can be executed and a max 12 Kbytes step trace capacity can
15. be occupied Since extension file register No 2 is utilized as an SFC program work area this cannot be utilized as an area for user data storage More than 4 Kbytes and less than 15 Kbytes gens an SFC program can be executed Step trace capacity s B 4 Kbytes More than 16 Kbytes and less than 31 Kbytes Settee an SFC program cannot be executed However an SFC program can be executed by parameter setting of a dummy capacity and setting the capacity of A at 15 Kbytes or less 4 Kbytes or less S an SFC program cannot be executed 4 ER MEMORY WHEN EXECUTING AN SFC PROGRAM 44 Functions Using an Extension File Register and Area Occupation Timing Table 4 3 shows the functions using an extension file register area occupa tion timing and area occupation priorities Table 4 3 Functions Using an Extension File Register and Area Occupation Timing Functions Using an Extension Area Occupation File Register Area Occupation Timing When parameter with which extension comment When a parameter with which a microcomputer program ca SFC work area pacity was set is written to CPU Online sampling trace When trace latch data storage register No is set and is writ Online status latch ten to a CPU When an instruction is executed or when a computer link is accessed Presence or absence of the corresponding block numbers and access validity are checked at this time Extension file register access instruction
16. by static electricity so avoid handling them directly If it is necessary to handle them take the following precautions a Ground human body and work bench b Do not touch the conductive areas of the printed circuit board and its electrical parts with and non grounded tools etc Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guarantee operation Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples Owing to the very great variety in possible applications of this equipment you must satisty yourself as to its suitability for your specific application E I E MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 TELEX J24532 CABLE MELCO TOKYO NAGOYA WORKS 1 14 YADA MINAMI 5 HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of International Trade and Industry for service transaction permission IB NA 66395 A 9208 MEE Printed in Japan Et Specifications subject to change without notice
17. by static electricity so avoid handling them directly If it is necessary to handle them take the following precautions a Ground human body and work bench b Do not touch the conductive areas of the printed circuit board and its electrical parts with and non grounded tools etc Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guarantee operation Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples Owing to the very great variety in possible applications of this equipment you must satisfy yourself as to its suitability for your specific application MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLOG MARUNOUCH TOKYO 100 TELEX 124532 CABLE MELCO TOKYO NAGOYA WORKS 1 14 YADA MINAM 5 HIGASKI KU NAGOYA APAN When exported from Japan this manual does not require application to the Ministry of international Trade and Industry for service transaction permission IB NA 66395 A 9208 MEE Printed in Japan Specifications subject to change without notice 1D9117 D9118 module 109120 verify error D9121 D9122 Annuhciator detection quantity Annunciator detection number Stored
18. cuted The SFC process execution block and step numbers are stored Execution block number stored in BIN Higher 8 bits Execution step number stored in BIN Lower 8 bits 12 5 PROGRAMMING PRECAUTIONS MELSEC A 5 6 Single Start of an Inactive Block Starting a sub block other than block 0 requires a sub block start request issued by any other block in an SFC program When an SFC program is executed in an AnACPU F any designated block can be started by turning ON the block activating bit of an inactive block by using a program or the test function etc of a peripheral device 1 2 How to execute single start of a block Any of the following methods can be utilized for single start of an inactive block e Create a program which turns ON the block activating bit of a block when a condition Is established in a sequence program e Forcibly turn ON the blo k activating bit of a block by using the test function of a peripheral device e Forcibly turn ON the block activating bit of a block by using a computer link Precautions when executing single start of a block The following precautions must be taken when single start is executed to a designated block a Each block activating bit needs to be set as a data register in each block b If the block activating bit of an active block is turned ON by the single start function the start request is ignored and that block continues execut
19. g Time sme morer maceaz In the case of initial start M9102 OFF 38 0ps 28 5us ic Ops in the case of continuation restart M9102 ON 260 0 195 0us SFC system processing time calculation example e Designate continuation restart M9102 ON e Number of active blocks 30 Active blocks used for an SFC program e Number of inactive blocks 70 Inactive blocks used for an SFC program e Number of available blocks 50 Blocks set by the parameters that are not used for an SFC program e Number of active steps 60 Active steps in active blocks e Transition condition included in active steps 60 e Transition condition satisfying steps 10 Active steps that satisfy transition conditions SFC system processing time 195 57 x 30 14 x 70 4 x 50 49 5 x 60 29 5 x 60 17 x 10 7795 us 8 msec SFC END processing As indicated above the SFC system processing time is 8 msec Under the same conditions however it is approx 11 msec in the case of an A2ACPU F approx 44 msec in the case of an AnNCPU F The scan time consists of the SFC system processing time the time required to process the transition conditions included in the SFC active steps and the CPU END processing time S17 IMPORTANT 1 Design the configuration of a system to provide an external protective or safety inter locking circuit for the PCs 2 The components on the printed circuit boards will be damaged
20. he parameter has been set with a microcomputer program capacity If an attempt is made to write a parameter with which a microcomputer program capacity has been set to an ANACPU which does not have the F code a parameter error occurs which disables the CPU Do not set a microcomputer program capacity with a parameter on a peripheral device except when an SFC program is executed with an AnACPU F 5 4 Precautions when Reading Writing a Program Using a Computer Link If a microcomputer program SFC program of an AnACPU F is read written by using a computer link the following module is unable to execute such a program e AD51H intelligent communications module When a module which is capable of reading writing a program is utilized a microcomputer program can be read written by using a command to read write a microcomputer program 5 5 Data Stored to the Status Latch Step Number Storage Register M9055 Special register D9055 which is utilized to store a status latch execution step number when status latch is executed is utilized to store the SFC process execution block and step numbers when an SFC program is executed When status latch is executed A status latch execution step number is stored If an SFC program is executed after the execution of status latch stored data will be overwritten Therefore data stored by the execution of status latch must be saved to any other register to avoid overwriting e When SFC program is exe
21. ing the RESET key switch at the CPU front to the RESET position the special register is set to 0 Data is written to the special registers marked 2 by the sequence program Y NS RO Bue LUC en ae eee hee Ra D APP 14 4 IB NA 66161 A APPENDICES APPENDIX 4 Dimensions 4 1 CPU module 4 2 0 17 3 0 12 es INDICATOR RESET ORUN NEL ATCH RESET CLEAR ESE Printed circuit board 250 9 84 Blind cap 121 4 76 79 5 3 13 Unit mm inch APP 15 1B NA 66161 A MELSEG E EE DIE Y 4 2 Power supply modules 1 Type A61P A62P A63P A65P power supply modules f 4 2 0 17 AesP POWER ruse C INPUT AC85 132V AC170 284v 50 60H OUTPUT DC5V 2 r OC24V 15A 1 i i SPARE FUSE 4 1 INPUT AC100 200V 4 Jorr AC 00V 0 e AC200V r LG FG 1 19624 OUTPUT Ex j E j 4 2 0 17 121 4 76 55 2 17 W n 1 Li i M4 0 16 X 0 7 0 03 X 8 0 31 for terminal screw PAM Unit mm inch APP 16 M n qO IB 66161 A APPENDICES 2 Type A66P power supply module M3 0 12 X 0 5 0 02 X 6 0 24 4 2 0 17 Terminal screw Aser O PowER ruse Printed circuit board 25
22. ion of an SFC program c If a sub block start is executed by an SFC program to a block which has been activated by the single start function the SFC EXE ERROR error occurs To execute sub block start by an SFC pragram the block activating bit of a corresponding block needs to be ineluded as an interlock in the transition conditions for executing the sub block start d Since the block activating bit is turned OFF by the system when the end of the corresponding block has been reached the user does not need to turn OFF RST the bit If a block activating bit which is ON is forcibly turned OFF by a sequence program or peripheral device the end of the correspond ing block will not be reached and the block remains active In this case the block activating bit which is included as an interlock for executing a sub block start by an SFC program is turned OFF disabling the interlock function An SFC EXE ERROR error occurs since a block start request has been made to an already started block 13 6 ERROR CODES WHEN EXECUTING AN SFC PROGRAM Si RS TEE Pe L 6 ERROR CODES WHEN EXECUTING AN SFC PROGRAM 6 1 Error Codes Table 6 1 lists the messages and codes of the errors that can be caused when executing an SFC program and the corresponding CPU statuses Table 6 1 Error Codes Detail Error a aoa start the program since the memory sette is 0 A large enough work area for the SF
23. m work area and whether or not an SFC program can be executed When an SFC program cannot be executed in the following explanation it is necessary to change either a the memory cassette or b the memory capacity parameter setting The memory capacity set with a parameter in the following explanation is the sum of the memory capacity when a user set or changed the memory capacity set with parameters The default value is 16 Kbytes 1 If the memory cassette is one of the following e A3 N MCA 2 e A3 N MCA 4 e A3 N MCA 8 AS3MCA 12 Area capacity of Table 4 1 1 Memory capacity set with a parameter A A 16 Kbytes or more 7 SFC program be executed and a max 12 Kbytes step trace capacity can be occupied Since extension file register No 1 is utilized as an SFC program work area this cannot be utilized as an area for user data storage More than 4 Kbytes less than 15 Kbytes re an SFC program can be executed Step trace capacity lt A 4 Kbytes 4 Kbytes or less M an SFC program cannot be executed 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM dasa arrears RE 2 If the memory cassette is the following e A3NMCA 16 Area capacity of Table 4 1 1 Memory capacity set with a parameter A When an extension comment capacity is set and Ais minus Area capacity of Table 4 1 1 Memory capacity set with a parameter extension comment capacity B A 16 Kbyte
24. mory area of a memory cassette does not have an available capacity of 4 Kbytes or more SFC programs cannot be executed When executing a step trace 2 to 12 Kbytes of available area are necessary in addition to the 4 Kbytes for the work area How to calculate the available capacity of a memory cassette s user memory area The available capacity is calculated by subtracting the parameter set memory capacity from the total area that can be parameter set Max 144 Kbytes Area indicated in Table 4 1 1 Sample calculation The following shows a sample calculation of an available capacity when the following conditions have been satisfied Memory 24 Main program microcomputer program included 10 Ksteps File register 4 Kpoints Comment 40 Kbytes Memory space capacity 144 K 3 K 1 K 20K 8 K 40 K 72 Kbytes 1 2 3 4 5 6 1 Capacity of an ASNMCA 24 that can be parameter set Area indicated in Table 4 1 1 2 Parameter storage area 3 T C set value area 4 Main program 1 step 2 bytes 10 Ksteps x 2 5 File register 1 point 2 bytes 4 Kpoints x 2 6 Comment capacity The memory space capacity is calculated as 72 Kbytes 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM EREE AEAEE E eee 4 3 How to Calculate the Area Capacity Used as an SFC Program Work Area This section shows how to calculate the area capacity of the memory cassette that is used as an SFC progra
25. ndispensable Set parameters in the range of 1 to 30 Ksteps 2 to 60 Kbytes Set parameters in the range of 2 to 58 Kbytes However it can be set within 60 Kbytes with a sequence area T C set value area sub program use 1 Kbyte When a sub program is set 3 Set parameters in the range of 0 to 30 Ksteps 5 Sub sequence program area 0 to 60 Kbytes RAM memory Settings can only be done with an A3A F area System area for sub se quence execution 5 Kbytes When a sub program is set Extension comment area When a capacity is set using a parameter 1 Block No 8 Extension One block 16 Kbytes 2 3 file register Block No 2 max 8 blocks Block No 1 File register area Set parameters in the range of 0 to 16 Kbytes Set parameters in the range of 0 and 2 to 64 E Comment area Kbytes Block No 1 block 16 Kbytes Extension With an A2A S1 J 28 We register Withan A3A J 48 Block No 10 Ls 4 USER MEMORY WHEN EXECUTING AN SFC PROGRAM 1 2 3 4 5 If the extension comment capacity gt 1 2 3 5 Kbytes when setting an extension comment Extension comments are stored after block No 10 of the extension file register nj If an extension comment is stored in block No 10 area 4 is the available area for calculating the number of blocks of extension file registers of block Nos 1 to 8 If the block area after No 10 is smaller than the
26. pheral Devices and Software Packages Peripheral Devices GPP Function Software Packages away ass DURS Combinabie 1 A7PHPE 1 SWORX GPPAE 1 SWORX SAP2E OK PC AT or compatible 2 SWOIX GPPAE SWOI BAPAE Version reanen NG SWOIX SAP2E Version C or lator 1 1 Available as of July 1992 2 There are no restrictions on which SWOIX GPPAE GPP function software package can be combined with the MELSAP II SFC function software package SWOIX SAP2E 2 The SW4GP GPPA GPP function software package for an A6GPP AS6PHP is version E or later tf the version is E or later there is an additional function about microcomputer program ca pacity setting in the memory capacity setting option of parameter setting for an AnA F SFC programs cannot be created and displayed Memory contents can be confirmed and changed Microcomputer programs SFC programs can be read written from to the CPU and a floppy disk 3 CPU MODULE PERFORMANCE SPECIFICATIONS MELSEC A 3 CPU MODULE PERFORMANCE SPECIFICATIONS This section indicates how the performance specifications of an ANACPU F differ from those of an AnACPU Any specifications not given in this section are the same for both an AnACPU F and an AnACPU The 2 51 User s Manual Control Function gives details Items _A2A AZACPU S1 F ASACPUF 8 8 0 A3NMCA 0 1 0 1 Available memory i i cassette A3NMCA 56 A3NMC
27. program time 1 2 3 1 Total processing time of instructions used in the main sub sequence program 2 Total of the time of instructions processed for operating output and transition conditions and of system processing SFC program processing time processed for operating output and transition conditions Time of instructions processing time System J a Time of instructions processed for operating output and transition conditions Time of instructions processed for operating output and transition conditions Time of instructions Time of instructions processed for processed for operating output transition conditions e Operating output instructions processing time Total processing time of instructions used for operating out put of all executable active steps If the transition conditions are satisfied total processing time x 2 will be applied e Transition condition instructions processing time Total processing time of the instructions used for transition conditions included in all executable active steps b System processing time Section 7 2 gives details about the system processing time and a calculation example 3 END processing time self diagnosis etc 16 7 SFC PROGRAM PROCESSING TIME MELSEC A 7 2 SFC System Processing Time This section explains the system processing time when executing an SFC program in comparison with the AnNCPU F Table 7 1 SFC System Processin
28. s or more T an SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied Since extension file register No 1 is utilized as an SFC program work area this cannot be utilized as an area for user data storage 15 Kbytes or less steeds an SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied However the work area is moved to extension file register No 10 Since extension file register No 10 is utilized as an SFC program work area this cannot be utilized as an area for user data storage B 16 Kbytes or more 8n SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied Since extension file register No 1 is utilized as a SFC program work area this cannot be utilized as an area for user data storage More than 4 Kbytes and less than 15 Kbytes ps an SFC program can be executed Step trace capacity lt B 4 Kbytes 4 Kbytes or less mm an SFC program cannot be executed 3 H the memory cassette type is the following e 18 Area capacity of Table 4 1 1 Memory capacity set with a parameter A 32 Kbytes or less Ass an SFC program can be executed and a max 12 Kbytes step trace capacity can be occupied Since extension file register No 2 is utilized as an SFC program work area this cannot be utilized as an area for user data storage More than 4 Kbytes less than 15 Kbytes an SFC program
29. ue 14 6 ERROR CODES WHEN EXECUTING AN SFC PROGRAM a MELSEC A 62 Error LED Indicator Priority Setting i This section describes a the causes of the errors that light flash the LED and b the error indication priority 1 Error causes that unconditionally light flash the LED e When causing an error that stops the CPU 2 Error causes a whose priority to light flash the LED can be changed or b that can be set to not to light flash the LED The following error causes can be set in special registers D9038 and D9039 to change their priority or to disable light flash of the LED Input Output verification error fuse blown Special function module error link parameter error operation error SFC pa rameter error SFC opera tion error Outputs the corre Error LED lit sponding error message to the LED display mod ule when an error occurs Error LED flashes Error LED lit 15 7 SFC PROGRAM PROCESSING TIME MELSEC A 7 SFC PROGRAM PROCESSING TIME This section describes the time required to process a sequence program and an SFC program 71 How to Calculate the Time to Process an SFC Program This section explains a how to calculate the time required to execute an SFC program and b the scan time ma _ time to process a time to process an END processing Scan time Sequence program SFC
Download Pdf Manuals
Related Search
Related Contents
iOS (iPad and iPhone) 取扱説明書 外マイク耳あな型 Untitled DVDプレイヤー DVP-CH501(S) 取扱説明書 - Jardins du Monde Sony VAIO VPCL231FX/B Août 2008 : Renouveau pédagogique et orientation MANUAL DEL PROPIETARIO - Brinly Copyright © All rights reserved.
Failed to retrieve file