Home

MELSOFT Programmable Logic Controllers

image

Contents

1. Other parameter settings Set the other parameters as required Block parameter setting Set the Periodic Execution Block No Act at Block Multi Activated and Act at Step Multi Activated SFC program setting SFC option setting Set the jump to the start destination block and also set the automatic scroll monitor and the transition monitor Set the reference window a jump Toolbar setting Set the toolbar display for SFC 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 1 Set the SFC display column v Y To create new program To modify the existing program Y SFC write Read the block to be modified Write SFC diagram from block 0 let y D Write insert delete Conversion operation Write SFC diagram modifying operation Write the SFC diagrams and SFC 3 comments to the specified block Step by step operation output SFC information register setting transition condition correcting Display the specified block operation SFC information register setting modification Sr create another block v Save the project This outline procedure is given for your reference You can perform the operations in any order without following the above procedure 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 2 List of SFC Diagram Symbols Shown below is a l
2. e Diagram symbol C appears You can change the diagram symbol by clicking D e Number of couplings Enter the number of coupling lines You can create couplings equal in number to the entered value in a single operation The initial value is 1 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 7 Parallel coupling SFC symbol Enter program Symbol a elo Jr Instruction list ane ee ee Si P gt ag e 4 OK gt e Diagram symbol C appears You can change the diagram symbol by clicking D e Number of branches Enter the number of branch lines You can create parallel couplings equal in number to the entered value in a single operation The initial value is 1 POINTS e Input method used when a branch and a coupling are used together in a single transition condition 1 For Q QnACPU When a branch and a coupling are used together in a single transition condition reserve an area for one step using vertical line and then enter the branch and coupling symbols Example 1 TOE Area for 1 step ana I f 4 Example 2 SE Area for 1 step Sep Spal e For branch coupling line entry entering the number of branches couplings as n creates them from right to left 3 MELSAP L PROGRAM EDITING METHOD MELSOFT
3. gt Setting Allrange Range setting Print SFC column numbers are a SCH In case of blocks under conversion before printing make sure that conversion is completed Printer setup Page setup Multiple printing Print Print preview Item explanation 1 SFC diagram print item The items checked in the corresponding check boxes is printed 2 Option The items checked in the corresponding check boxes is added Some additional information items cannot be selected according to the print items 3 Setting Set the number of print columns on a single page The diagram is printed with automatic magnification reduction specified according to the set number of columns 4 Select program Choose the program name to be printed 5 Print range Set all area all blocks or the specified blocks 5 PRINTING SFC DIAGRAMS MELSOFT 5 2 SFC Diagram Printing Examples This sub section shows printing examples of an SFC diagram block list comment list and block parameters 1 SFC diagram printing example When you print an SFC diagram the printout is divided into a number of pages depending upon the number of branches and couplings and the number of steps A number that indicates the position is printed at top right of each page m gt 5 PRINTING SFC DIAGRAMS
4. Block No 0 Title conveyor control block Norma SFC Start m00 Trans M101 Pause M102 Pause md m03 Active D100 continue M104 Trancond Comment Dev Lbl to Operation permission switch ON t1 Work carrier detection t2 Buzzer output end t3 t4 t5 t6 Product detection t7 Product detection t8 Product count end t9 Stop switch ON t10 Jump to product count t11 t12 t13 5 PRINTING SFC DIAGRAMS e Transition comments Block No 0 S Normal SFC Start Trans Pause i D Pause md Active Continue Trancond Comment Dev Lbl TRO Operation oermission switch ON TR1 Work carrier detection TR2 Buzzer output end TR3 R RS TRE Product detection TR7 Product detection TR8 Product count end TRO Stop switch ON TR1O Jump to product count TR11 TR12 TR13 4 Block parameter printing example Block parameter MAIN Periodic exec Blk After Execution interval jms Action at BL multi act Stop Lt Action at step Multi activated Waiting MELSOFT 5 PRINTING SFC DIAGRAMS MELSOFT MEMO INDEX Ind A O Active step monttor ee eeeeeeeeeeeeneeeeeeeeeees 4 5 Operation method created from the tool button All block batch monitor Aas HE 3 8 Operation output Instruchons 2 2 B Operation starting from the key n 3 18 Ge 4 6 Operation starting from the function key 3 17
5. e When there is no added information Block No fo frite e Conveyor control block Normal SFC m00 trans Tee Sp 1 1 5 PRINTING SFC DIAGRAMS MELSOFT When there is added information programs device comments Block No o leo Conveyor control block Normal SFC Start M100 Trans M101 Pause M102 Operation permission wait Operation permission switch ON axo Work carrier detection wait Work carrier detection aX2 Buzzer output 2L_Joy70 opp K30 Buzzer output end aTO gt K6 CH 5 Product counter reset K6 C0 Product counter reset Product detection 4 aSM400 Conveyor operation Product detection ai Product counter Product count end aC0 amp bX1 Conveyor stop Stop switch ON ail 10 Conveyor stop Jump to product count CO amp bX3 Work carrier control block start aSM400 5 PRINTING SFC DIAGRAMS MELSOFT 2 Block list printing example Block list No Title Information register Block activation 0 Conveyor control block BL1 Start M100 Transition M101 Pause M102 Pause Mode M103 Active D100 Continuous M104 1 Work carrier control block Start M200 Transition M201 Pause gt M202 Pause Mode M203 Active D200 Continuous M204 3 Comment list printing example The printed comment list is divided into step comments and transition comments e Step comments
6. e RUN write button You can perform a write during RUN operation by clicking this button For details of a write during RUN operation refer to section 3 11 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 2 Block start step Ir SFC symbol Enter program Eg Symbol BLOCK DI Step attribute fi SI Instruction list oean Block Comment SSE 1 RAST Prograr h H Step number E gt ai It Cancel Heb comment Start destination block number e Diagram symbol BLOCK BLOCK S appears You can change the diagram symbol by clicking D e Step number Numbers are automatically assigned in the input sequence in ascending order To specify a step number enter a number in the range 1 to 511 After creating an SFC diagram you can assign numbers once again in sequence from top left to bottom right by sorting e Blocks Enter the start destination block number e Comment You can enter up to 32 characters as step characters When you click View gt Display comment of step and TR from the menu bar the comment appears in the SFC diagram You can change the kind of step diagram symbol by either clicking el of the diagram symbol in the SFC symbol program input window or by pressing a function key If you inadvertently click the wrong tool button you can re select the step without closing the SFC sym
7. e mail elektra etel ru JV CSC Automation 15 Marina Raskovoyi St U 02002 Kiev Phone 380 44 238 83 16 Fax 380 44 238 83 17 e mail mkl csc a kiev ua RUSSIA UKRAINE AFRICAN REPRESENTATIVE Circuit Breaker SOUTH AFRICA Industries Ltd Private Bag 2016 ZAF 1600 Isando Phone 2711 928 2000 Fax 2711 392 2354 PLC01 02 Printed in Germany A MITSUBISHI ELECTRIC NDUSTRIAL AUTOMATION Gothaer Strasse 8 D 40880 Ratingen Phone 49 2102 486 0 Hotline 49 1805 000 7650 Fax 49 2102 486 7170 www mitsubishi automation de megfa mail meg mee com www mitsubishi automation com
8. 8 Jump transition L SFC symbol Enter program Symbol el BUMP d I ep attribute fa k 0 Comm ar Cancel Help e Diagram symbol You can change the diagram symbol by clicking e Jump destination step number Enter the step number of the jump destination When you click the button the display of the step specified at the jump destination changes foi 9 End step L SFC symbol Enter program Symbol JEND tep attribu te fi LI Jr Instruction list o ock 0 Commet legt em 1 RST gt Pogam KH OK RUN write Cancel Help 10 Rule write e To write a rule click E Gel EI E and drag from the first position to the last position of the rule entry POINT If you write a rule over the existing step transition the step transition symbol and operation output transition condition sequence program are not erased 3 MELSAP L PROGRAM EDITING METHOD 11 Row insert 12 Column insert mj 13 Row delete 14 Column delete O Edit gt Insert line gt _Shift Insert Edit g
9. OK POINTS e Entering n as the number of branches couplings enters them from right to left Example Number of couplings 1 e Inserting a branch coupling may generate an SFC diagram that cannot be converted In this case correct the SFC diagram with the edit function cut and paste and then perform a conversion operation 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 2 Operation starting from the function key a The SFC symbols are assigned to the following function keys Step srcambl ovo 8 8 I il e Shift F6 Shift F5 Transition or branch coupling sFcsymbol LI LTC Shift F9 Rule entry SpGampd o oaa Ts Function key Alt F5 Alt F7 Alt F8 Alt F9 Alt F10 b Operation procedure e Step transition branch coupling entry 1 Press the function key 2 Since the window as was shown when the tool button was clicked appears refer to the tool button operation procedure and enter the required items 3 Press the key e Rule entry 1 Press the function key 2 Using the arrow keys move the cursor to the first position of a branch coupling 3 Hold down the Shift key and move the cursor with the arrow keys 4 Move t
10. 1 DO MOV K 200 DO MOV is replaced by DMOV DMOV K 200 DO MOV HFFFF DO MOV is replaced by DMOV DMOV HOOOOFFFF DO Alternatively when replacing an instruction that handles 32 bits with one that handles 16 bits the upper 16 bits are discarded Example DMOV K 1 DO DMOV is replaced by MOV MOV K 1 DO DMOV K150000 DO DMOV is replaced by MOV MOV K18928 DO DMOV HFFFFFFFF DO DMOV is replaced by MOV MOV HFFFF DO 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 7 Replacing the open close contacts Setting purpose This operation replaces the open contacts of a device used under the transition condition of each block with close contacts and the close contacts with open contacts Operation procedure Find Replace Change over open close contact Setting screen Change open close contact RB 1 gt Device 4 2 Number of substitutes fH Dec Close 3 Find direction From top to bottom From cursor to bottom Specified range Step range e 1 X 7 Instruction list Item explanation 1 Device Specify the device whose open close contacts you wish to change over 2 Number of substitutes Set the number of point at which open close contacts are to be changed over continuously from the specified device 3 Find direction Set the search direction For details of the search direction under each setting refer to sub section 3 12 4
11. 2 MELSAP L FORMAT PROGRAMS MELSOFT 3 Compatibility with GX Developer prior to GX Developer SW4D5C GPPW E or earlier a If you read a MELSAP L format program using the GX Developer SW4D5C GPPW E it will be displayed in the MELPAP3 format Once you overwrite and save the program with the GX Developer SW4D5C GPPW E it will be displayed in the MELSAP L format even if you subsequently read it with the GX Developer SW5D5C GPPW E or later Once you change the PLC type into a type other than QCPU Q mode after reading it to the GX Developer SW4D5C GPPW E it will not be displayed in the MELSAP L format even if you subsequently read it with the GX Developer SW5D5C GPPW E or later b If you wish to use a MELSAP L format program in the GX Developer SW3D5C GPPW E or later first change the PLC type to ACPU or QnACPU then read the program The program will be read in the MELSAP II format or the MELSAPS3 format 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 MELSAP L PROGRAM EDITING METHOD 3 1 MELSAP L Program Editing Outline Procedure GX Developer To create new program To modify the existing program Open the project 3 Creation of new project Set the PLC series PLC type and project name select the program format to SFC and check MELSAP L SFC parameter setting Set the SFC program start mode block 0 start condition and output mode at block deactivation
12. 3 12 1 Searching for a device This operation searches for the specified device to find the output transition condition of the name block under which it is used Move the cursor to the step transition of the SFC diagram used by the device The operation method is the same as that used for the circuit mode For details of the operation method refer to the GX Developer operating manual 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 2 Searching for an instruction This operation searches for the specified instruction to find the operation output transition condition under which the corresponding block is used Move the cursor to the step transition of the SFC diagram in which the instruction is used Operation procedure Find Replace Instruction or Q Setting screen Find instruction 1 Instruction Find Next 2 Find direction Ge From top to bottom From cursor to bottom From cursor to top Setting screen 1 Instruction Specifies the name of the instruction to be found A search can be performed using a normal instruction name and the following MELSAP L format instruction names a open contacts LD AND OR b close contacts LDI ANI ORI p rise contact LDP ANDP ORP f fall contact LDF ANDF ORF O OUTPUT eee eee OUT OUTH SET RST h high speed timer OUTH S SE ET SET F FOSCt urcsnbnn a RST 2 Find directio
13. 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 9 SFC Related Parameter Settings Among the parameter settings made for operating the QOPU Q mode this section explains the setting of parameters related to SFC programs 3 9 1 SFC setting in PLC parameters This section gives the operation performed to set the SFC related parameters using the PLC parameters Operation procedure PLC parameters in project data list SFC setting Setting screen Qn H Parameter PLC name IL system PLC ge PLCRAS Device Program Boot file SFC Is assignment r SFC program start mode Initial start Resume start Start conditions Autostart block 0 C Do not autostart block 0 Output mode when the block is stopped Tum off C Keep on Acknowledge XY assignment Default Check JF Cancel Item explanation 1 SFC program start mode Set an initial start or resume start to start the SFC program 2 Start conditions Set autostart block 0 do not autostart block 0 at the initial start of the SFC program 3 Output mode when the block is stopped Set whether a stop is made by turning off the coil outputs which were turned on by the OUT instruction or by keeping them on latched when a stop request is sent to any block 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 9 2 Setting the block parameters This section provides how to set the block parameters Operation procedure Tools gt Set SF
14. 49 Setting the SFC setting Options 3 52 Displaying the label in the SFC Diagram 3 49 SFC diagram monitor 4 1 BEE eege SC SFC diagram print setting 5 1 SFC diagram symbols eceeeeeeteeeeeees 3 3 1 H SFC program setting 3 34 Instructions for online SFC program writing 3 35 SFC setting in PLC parameter 3 32 Instructions for Transition Conditions 2 3 SFC related parameter settings 3 32 M Sorting the SFC diagram ccccceeeeeee 3 24 M Step transition watchdog monitor 4 4 MELSAP L format SFC diagram 060 2 1 Modifying the SFC dirgram s es 3 7 Index 1 Index 1 MEMO Index 2 Index 2 Microsoft Windows Microsoft Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is registered trademark of Intel Corporation in the United States and other countries Other company and product names herein are either trademarks or registered trademarks of their respective owners SPREAD Copyright C 1998 FarPoint Technologies Inc A MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V German Branch Gothaer Stra e 8 D 40880 Ratingen Phone 49 0 21 02 486 0 Fax 49 0 21 02 4 86 1 12 e mail megfamail meg mee com MITSUBISHI ELECTRIC FRANCE EUROPE B V French Branch 25
15. Block parameters AAA 3 33 Operation starting from the menu on the toolbar eebe eebe 3 18 C Changing the Step attribute ee 3 20 P Changing E Eeer one Pasting the SFC diagram s es 3 21 Changing Timer counter set values 3 46 Precautions 2 5 Contact Ccoil USE list ccssceccsccteeseeeeteeeaees 3 46 Printing as ampe SR 5 2 Conversion operation cecceeeeeereeteieee 3350 E a a ae Copying the SFC diagram n 3 21 R Gei an SE Comment e 3 27 Redisplaying the SFC diagram 1 3 25 Crealing Operation Outputs DEEN Replacing the Open Close contacts 3 43 Conditions EE EE 3 26 Replacing a character ing 3 44 SE ot Replacing the devices A 3 39 GE SE Replacing the instructions ccccseeeeeees 3 41 D Replacing the GiephNo 3 45 Deleting the SFC dagram 3 19 S Revie be EE 4 7 Searching for a character String 3 38 Dov euse iSl aids T T T 3 46 Searching for a device ssssecssecscssesseeesssseeee 3 36 Pisplayinga programa Ihe MESA Sorma Searching for an Instruction 3 37 EE 3 50 Searching for the block No 3 38 Displaying programs E 3 47 Searching for the device use status 3 46 Displaying Step transition comment 3 48 Searching for the Step No 3 38 Displaying ne peak Dee SE Setting the block information sseeseeeeeees 3 30 EES the device label A 3 49 Setting the SFC diagram dienen 3 51 Displaying the label EE ee 3
16. Boulevard des Bouvets F 92741 Nanterre Cedex Phone 33 1 55 68 55 68 Fax 33 1 49 01 07 25 e mail factory automation fra mee com MITSUBISHI ELECTRIC ITALY EUROPE B V Italian Branch Via Paracelso 12 l 20041 Agrate Brianza MI Phone 39 039 6053 1 Fax 39 039 6053 312 e mail factory automation it mee com MITSUBISHI ELECTRIC SPAIN EUROPE B V Spanish Branch Carretera de Rub 76 80 E 08190 Sant Cugat del Vall s Phone 34 9 3 565 3131 Fax 34 9 3 589 2948 e mail industrial sp mee com MITSUBISHI ELECTRIC UK EUROPE B V UK Branch Travellers Lane GB Hatfield Herts AL10 8 XB Phone 44 0 1707 27 61 00 Fax 44 0 1707 27 86 95 MITSUBISHI ELECTRIC CORPORATION Office Tower Z 14 F 8 12 1 chome Harumi Chuo Ku Tokyo 104 6212 Phone 81 3 622 160 60 Fax 81 3 622 160 75 MITSUBISHI ELECTRIC USA AUTOMATION 500 Corporate Woods Parkway Vernon Hills IL 60061 Phone 1 847 478 21 00 Fax 1 847 478 22 83 EUROPE JAPAN GEVA GmbH Wiener Stra e 89 A 2500 Baden Phone 43 0 2252 85 55 20 Fax 43 0 2252 488 60 e mail office geva co at AUSTRIA Getronics bv BELGIEN Getronics bv NETHERLANDS Control Systems Donauweg 2B NL 1043 AJ Amsterdam Phone 31 0 20 587 68 30 Fax 31 0 20 587 68 39 e mail info gia getronics com MIDDLE EAST REPRESENTATIVE TEXEL Electronics LTD Rehov Hamerkava 19 IL 42160 Ne
17. Find Next button Searches for the next target point without replacing the open close contacts at the location of the cursor 5 button Replaces the open close contacts at the location of the cursor and then searches for the next target point 6 Replace all button Replaces all of the target contacts in the search range 7 Instruction list Displays programs that include the contacts to be replaced when Find Next or Replace is executed The contacts to be replaced are highlighted 3 MELSAP L PROGRAM EDITING METHOD MELSOFT POINT e You can make an extension specification for a device specification and also specify a bit No modification but you cannot specify an index modification Device specification example X0 J1 B6 DO 5 U10 G0 3 Can be specified X0Z3 Cannot be specified An index modification cannot be specified e You can change the open close contacts of the following instructions Open contacts LD AND OR LDP ANDP ORP EGP Close contacts LDI ANI ORI LDF ANDF ORF EGF e If you wish to change the open close contacts of another program refer to sub section 3 12 3 12 8 Replacing a character string This operation replaces the character string of an SFC comment The operation method is the same as in the ladder mode For details of the operation method refer to the GX Developer operating manual 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 9 Replacing the Step No
18. in a list form Operation procedure Online gt Monitor gt All block batch monitor Screen NoJO123456789N00123456789 penai o 160 10 170 20 180 Close am 190 40 200 50 210 60 220 70 230 80 240 90 250 100 260 110 270 120 280 130 290 140 300 150 310 lae S i O DE E om bs A A A TE E AE Active block Non active block indication The corresponding block is active indication The corresponding block is inactive To monitor the specified block for step active inactive states click the field of the block to be monitored and click the Active step monitor button fNoJOo123456789N00123456789 o ben 10 270 20 280 30 290 40 300 50 310 60 320 70 330 80 340 90 350 100 360 110 370 120 380 No0123456789N00123456789 130 390 140 400 150 410 160 420 170 430 180 440 190 450 200 460 210 470 220 480 230 490 240 500 aen CT 510 TEEN EE EE EC EE Active step Non active step Close indication The corresponding step is active indication The corresponding step is inactive After resetting the PLC CPU if you carry out monitoring without having put the system in a RUN condition even once the monitoring result will be blank If you stop the PLC CPU and perform monitoring the status at th
19. manual 4 1 SFC Diagram Monitor This operation is used to monitor the operation and control status of the PLC CPU with SFC diagrams and to conduct test operations Operation procedure When monitoring Online gt Monitor gt Monitor mode or El F3 When stopping monitoring Online gt Monitor gt Stop monitor or SS dan F3 When resuming monitoring Online gt Monitor gt Start monitor or S i F3 4 MONITORING AND TEST FUNCTIONS MELSOFT Screen igi MELSAP L Monitor mode MAIN Block No 2 267Steps BIS MELSAP igi MELSAP L Monitor mode MAIN Block No 2 267Steps BIS mode MAIN Block No 2 267Steps 1 When monitoring screen is automatically divided into two display areas Left and right on the screen The SFC diagram monitor area that indicates the active steps is displayed on the left side of the screen The current value monitor area for word devices is displayed on the right side of the screen The dividing line between the left and right parts of the screen can be moved 2 During SFC diagram monitoring steps are shown as follows Ra blue Active step yellow Step specified as a hold step and being in a hold status Inactive step 3 During monitoring the bit device output status of the operation output is highlighted as shown below Bit device output status Example of a display during monitoring Coil output T When bit devi
20. o Block p T E gt se Sei OK gt Operation Program h H outputs Si R Operation sf5 output step comment Cancel Cp Help e Diagram symbol STEP DUMMY appears You can change the diagram symbol by clicking Step number Numbers are automatically assigned in the input sequence ascending order If you wish to specify the step number enter a number in the range 1 to 511 After creating an SFC diagram you can re assign numbers in sequence from top left to bottom right by sorting When you input the operation output program to X lt dummy step the display automatically switches to step Step attribute When you wish to add a step attribute click el then select the attribute If you select the reset step R using the step attribute enter the reset destination step number SFC symbol Enter program Symbol STEP Step attribute E D r Instruction list Sarir B Block AU ee 51 Comment Program Cancel Help Comment You can enter up to 32 characters as a step comment When you click View Display comment of step and TR from the menu bar the comment appears in the SFC diagram Program Input the operation output coil and instruction You can input a number of coils and instructions by partitioning then with commas For details of instructions refer to section 2 2 For details of the input method refer to section 3 5
21. step 0 if you specify either the ascending or 2 descending order ts 2 4 4 outputs transition conditions are not the objects of sorting Sort them by performing a device number changing operation or the like 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 6 Redisplaying the SFC diagram Setting purpose This operation is performed to return the unconverted SFC diagram being edited to the status immediately prior to editing or to top shift or left shift the freed row or column of the vertical line branch coupling line Operation procedure View gt Review SFC 1 Top shift redisplaying example 3 Unconverted SFC diagram redisplaying example Before editing After editing After operation 4 After conversion SFC diagram optimizing display At conversion After operation 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 5 Creating Operation Outputs and Transition Conditions Input the operation output and transition condition pro
22. 512 sequence steps When checking the number of sequence steps display them in the MELSAP3 format f Each operation output transition condition program can be displayed using up to 32 characters in the case of an SFC diagram If the number of characters exceeds 32 is displayed at the 32nd character position If you place the mouse cursor in the program display column up to 256 characters can be displayed If 256 characters are exceeded appears at and after the 253rd character position Note Depending upon the resolution of the peripheral equipment display it may not always be possible to display up to 256 characters g You cannot make notes h You cannot display device comments on an SFC diagram Edit and display device comments in the device comment creation dialog box i If you change the PLC type to ACPU or QCPU A mode the MELSAP II format will be activated j If you change the PLC type to QnACPU the MELSAP3 format will be activated k If you attempt to make a project inquiry using a MELSAP L format program as the inquiry source and a ladder program as the inquiry object the inquiry will not take place You can make an inquiry by using a ladder program as the inquiry source and a MELSAP L format program as the inquiry object You can make inquiries to both MELSAP L and MELSAP3 format programs 2 5 2 MELSAP L FORMAT PROGRAMS MELSOFT 2 If you use the MELSAP L format to display a prog
23. A MITSUBISHI ELECTRIC MELSOFT Programmable Logic Controllers Operating Manual MELSAP L GX Developer 7 Art no 144010 6 2001 a MITSUBISHI ELECTRIC INDUSTRIAL AUTOMATION 010 IB NA 0800192 A SAFETY INSTRUCTIONS Always read these instructions before using this equipment Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the CPU module user s manual In this manual the safety instructions are ranked as DANGER and CAUTION 1 N Indicates that incorrect handling may cause hazardous conditions O DANGER resulting in death or severe injury l l i l l Indicates that incorrect handling may cause hazardous conditions l A CAUTION resulting in medium or slight personal injury or physical damage 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 Design Instructions lt gt DANGER When data change program change or status control is to be made from a per
24. C information Block parameter Setting screen Block parameter Periodic execution block 1 Top of block number Interval ms gt Act at block multi activated 2 Th Stop blocks Act at step multi activated 3 gt Waiting blocks Stop blocks ae x g Cancel Item explanation 1 Periodic execution block All blocks from the set block number onward are periodic execution blocks Do not set periodic execution blocks when processing all blocks with each scan Enter the execution interval within the range 1 to 65535 ms in 1ms increments 2 Act at block multi activated Set the operation mode at block multi activated For blocks in the specified range the operation mode at block multi activated is set to Stop For blocks outside the specified range the operation mode at block multi activated is set to standby Do not set this item if all blocks are to be set in standby 3 Act at step multi activated Set the operation mode at step multi activated within the range of block units Regarding blocks specified as waiting blocks the operation mode at step multi activated is set to transition Regarding blocks specified as stop blocks the operation mode at step multi activated is set to stop Do not set this item if all blocks are to be set in standby mode 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 9 3 SFC program setting Set whether th
25. L PROGRAM EDITING METHOD MELSOFT 2 Configuration of MELSAP L editing screen Row number i CG iS git ptsensorl er 7 e Column number 2 oY71 rx770 50 E Jump destination Sty 10 step number Step Start destination number block number Transition number SFC SF Reset destination comment comment step number step transition Label Operation Transition output condition e Perform the following operation to show the SFC chart in the specified block Move the cursor from View Display block list any display block position and press the Enter key Choose View Display block list any block position and double click that position Choose Find Replace Find step no block no any block No and specify it Press the space key on the block starting step in the SFC chart Move the cursor from Window data name and press the Enter key Move the cursor from Window data name and double click it 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 Creating Modifying the SFC Diagram 3 4 1 Writing an SFC diagram An SFC diagram may be created in any of the following four methods 1 Starting from the tool button on the toolbar 2 Starting from the function key 3 Starting from the menu on the toolbar 4 Starting from pressing the key on the SFC diagram Performing any of the abo
26. ON or OFF input the device and click FORCE ONT FORCE OFF e To change a word device or the current value of the buffer memory specify the device or buffer memory then enter the value to be set and click Set e You can start a device test either by using Shift double clicking Enter the operation output or transition condition of the SFC diagram monitor or by using the right click menu e The current value display of a double word instruction DMOV DFRO etc is displayed as a double word Check the value of a double word using the device batch monitor or the device registration monitor 5 PRINTING SFC DIAGRAMS MELSOFT 5 PRINTING SFC DIAGRAMS 5 1 SFC Diagram Print Setting Setting purpose This operation is used to set the object of printing such as a block list comment list and so on Operation procedure Select Project gt Print gt lt lt MELSAP L gt gt Screen List of used device Device memory Device init PLC parameters Network parameters Cross reference list Project contents list TEL Product information list Title MELSAP2 3 MELSAP L Ladder Instruction iist Label TG setting Device comment 1 SFC diagram print item r Program selection IV SFC diagram MAIN ae D ar MR Block list election MAIN V Comments list I Block parameter 5 2 gt Option I Device comments MV Program r Print range 3
27. Setting purpose This operation is performed to replace the jump destination step number and the reset destination step number of each block Operation procedure Find Replace Replace step no Setting screen Replace step number 1 gt Block no jo D Nex Replace 2 gt I JUMP number Old New 3 gt W Reset number Item explanation 1 Block no Enter the first block No to be replaced 2 JUMP number Set this number when replacing the jump destination step number of a jump transition When replacing a step number enter the replacement source and the step number after replacement 3 Reset number Only for QOPU Q mode Set this number when replacing the reset destination step number of a reset step When replacing a step number enter the replacement source and the step number after replacement 4 button Searches for the next target instruction without replacing the step on the cursor 5 button Replaces the step on the cursor and searches for the next target instruction 6 Replace all button Replaces all target steps in the search range After replacement always perform a conversion operation because the step number is in an unconverted status An error check is also made at the time of conversion 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 10 Listing contacts coils used This operation lists where the specified devices are used
28. TONIA Beijer Electronics OY FINLAND Elannontie 5 FIN 01510 Vantaa Phone 358 0 9 615 2011 Fax 358 0 9 615 20 500 e mail info elc beijer fi MITSUBISHI ELECTRIC EUROPE B V Irish Branch Westgate Business Park IRL Dublin 24 Phone 353 0 1 419 88 00 Fax 353 0 1 419 88 90 e mail sales info meuk mee com IRELAND ACP AUTOCOMP a s Chalupkova 7 SK 81109 Bratislava Phone 421 0 7 592 22 48 Fax 421 0 7 592 22 54 e mail acp autocomp nextra sk INEA doo SLOVENIA Ljubljanska 80 SI 1230 Dom ale Phone 386 0 1 721 80 00 Fax 386 0 1 724 1672 e mail inea inea si SLOVAKIA Beijer Electronics AB SWEDEN Box 325 S 20123 Malm Phone 46 0 40 35 86 00 Fax 46 0 40 93 23 01 e mail info elc beijer se ECONOTEC AG Postfach 282 CH 8309 N rensdort Phone 41 0 1 838 48 11 Fax 41 0 1 838 48 12 e mail info econotec ch GTS TURKEY Dar laceze Cad No 43A KAT 2 TR 80270 Okmeydani Istanbul Phone 90 0 212 320 1640 Fax 90 0 212 320 1649 e mail gts turk net SWITZERLAND EURASIAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V Moscow Representative Office 52 Kosmodamianskaya Nab bld 5 RUS 113054 Moskow Phone 7 0 95 721 2070 Fax 7 0 95 721 2071 e mail info mitsubishi electric ru NPP Uralelektra RUSSIA Sverdlova 11A RUS 620027 Ekaterinburg Phone 7 34 32 53 27 45 Fax 7 3432 53 2461
29. ails of the device comment edit screen refer to the GX Developer operating manual 3 13 4 Displaying a program in the MELSAPS format By selecting View MELSAP3 format you can use the MELSAP3 format to display a program created in the MELSAP L format No restrictions occur when you change to a MELSAP3 format display For details of performing operations in the MELSAP3 format refer to the GX Developer operating manual SFC The following restrictions occur if you use the MELSAP L format to display an SFC program created or modified in the MELSAP3 format e If an operation output contains a note contact or comparison operation instruction will appear when you display the program in the MELSAP L format You cannot modify an operation output that was displayed as Refer to section 2 4 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 14 Setting the SFC Diagram Display 3 14 1 Setting the SFC diagram display Setting purpose This operation is performed to set the number of branches that can be edited displayed when the SFC diagram is edited read Operation procedure View Raw of SFC Setting screen SFC Display column number Col number fio 1 Line number 306 2 Eh OK Cancel Item explanation 1 Col number Enter the number of columns number of branches The number that may be input is any of 1 to 32 Entering the number of columns automatically shows the n
30. as 3 41 3 12 7 Replacing the open close contacts AA 3 43 3 T28 Replacing a Character SiM eero neea an E E AEA Ea nieve EIET wee NEREKT EER 3 44 3 12 9 Replacing the Step No 3 45 3 12 10 Listing ContactS COIIS use 3 46 3 12 11 Searching for the device use status ecceeeeeeceeceeeeeeeeeceeceeeeaecaeceeeeaeeaesaeseeeeaesaesaeseeetaeeaeenneateas 3 46 3 12 12 Changing the T C set values ceccescececeeeeeeceeceeseseeaecaeceeeeaesaecaeseesaesaesaeseaesaesaeseeseaesaeseaneaeeateas 3 46 3 13 Wee Ve nie RTE 3 47 EOF Be due Here ste 3 47 3 13 2 Displaying the step transition Comments 3 48 3 13 3 Displaying a label in the SFC diagram ccceceeceecceeeeeeeceeceeeeaeeeeeeeeeeesaesaeseeeaesaeseeseeteaesaeeneeaeeas 3 49 3 13 4 Displaying a program in the MELSAP3 Tomat 3 50 3 14 Setting the SFC Diagram Display 3 51 3 14 1 Setting the SFC diagram display ccccecceceeseseeeeeceeeeseeaeceeceeeeaecaeceeseaeeaesaeseeseaeeaesaeseeeeaeeaneaeeateas 3 51 3 14 2 Setting the SFC setting options ccceccecceceeseeeeeeeceeeeeeeaecaeeeeeaesaecaeeeaeeaesaeseseaesaesaeseeesaneeseaeeaeeas 3 52 4 MONITORING AND TEST FUNCTIONS 4 1to4 7 4 1 SFC Diagram Monit dE ENN ete n a ed a a 4 1 4 2 Transition Watchdog Mongtor AAA 4 4 4 3 All Block Batch Monitor and Active Step Monitor 4 5 4 4 Block Det M n eeg eseegiete eg EA deeg A E A deg 4 6 AS Device TaS EE 4 7 5 PRINTING SFC DIAGRAMS 5 1to5 7 5 1 SFG Diag
31. bol program input window SFC symbol Enter program Symbol BLOCK jf t Instruction list GE o It S SASEN 1 RAST h HL Cancel Help 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 Series transition SFC symbol Enter program Eg Symbol TR Di ep attribute e I Jr Instruction list adk ock 0 ommen b A tr ks Gi E PI gt OK Program AFI Transition condition Transition condition number _Ok Cancel Help p e Diagram symbol TR is displayed You can change the diagram symbol by clicking e Transition condition number Numbers are automatically assigned in the input sequence in ascending order To specify a transition condition number enter a number in the range 1 to 511 After creating an SFC diagram you can assign numbers once again in sequence from top left to bottom right by sorting e Comment You can enter up to 32 characters as a transition comment When you click View Step Display comment of step and TR from the menu bar the comment appears in the SFC diagram e Program Enter the transition condition program contact and comparison operation instructions You can input a number of contacts and instructions using amp AND or OR For details of contacts and instructions refer to section 2 3 For details of the input method refer to section 3 5 e RUN write button You
32. branch Selective branch parallel branch Selective coupling Selective coupling parallel branch Parallel branch a b Transition condition number Transition Parallel coupling Parallel coupling parallel branch Parallel coupling selective a Transition condition number j Jump destination number If is attached to the left side of the step number or transition condition number it means that the operation output transition condition program is not set When you set the program is no longer displayed 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 3 Basic SFC Diagram Editing Screen 1 Overall configuration of screen 1 gt w MELSOFT series GX Developer C MELSEC GPPW sap I 2 gt Project Edit Find Replace Convert View Online Diagnostics Tools Window Help plela a TE nlala i ae me E i EI Program D Block title RRE EE Device comment Conveyor control block zl Parameter E Device memory BEI Device init wowrananpon o pea ken oro x20 Busser output aro bd 7 gt Ready o02 H Host station Date 1 Title bar 2 Menu bar 3 Tool bar 4 Project data list 5 MELSAP L editing screen 6 Block list screen 7 Status bar 3 MELSAP
33. can perform a write during RUN operation by clicking this button For details of a write during RUN operation refer to section 3 11 4 Selective branch 1 SFC symbol Enter program x Symbol oe E i tep attribute e E J Instruction list a dk au aT p Pt g gt Poga E ok nl M Cancel Help e Diagram symbol D appears You can change the diagram symbol by clicking D e Number of branches Enter the number of branch lines You can create branch lines equal in number to the entered value in a single operation The initial value is 1 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 5 Parallel branch SFC symbol Enter program Symbol a DI Step attribute j Instruction list Block a Comment VI im ES gt Program gt Ok gt RUN v ite Cancel Help e Diagram symbol D appears You can change the diagram symbol by clicking D e Number of branches Enter the number of branch lines You can create parallel branches equal in number to the entered value in a single operation The initial value is 1 6 Selective coupling 1 SFC symbol Enter program Symbol c ch Step attribute i Instruction list Block fo Cor ment gt Fa gt Program Cancel Help
34. ce to be reset is OFF Continuity status of the timer high speed CLO K30 MEL K100 elegy K5 When the timer high speed timer and oTO K30 hT10 K100 0C1 K5 counter are in the time up or count up status TEE E E When the bit device in the application instruction is ON BCD K4Y20 Excluding the digital specification bit device 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 For the transition condition when the contacts go into a continuity status the corresponding display is highlighted Example When open contact X1 is ON Sta When close contact X2 is OFF KS When comparison operation instruction DO D100 E Do D100 However the character string data comparison instruction gt etc is not highlighted 5 The current value monitor area displays the current value of the word device on the SFC diagram monitor screen It displays the step number transition condition number of the word device whose current value is being monitored Step No S nt Transition No TR_ n You cannot register a device in the device registration monitor from the current value monitor by drag and drop 6 You can change the block to be monitored by means of the following operation e Select block start step and input space key e When the setting Jump to start block was made by the option setting Zoom mode at block start step click the button in the dialog box that appears when you select the block start step Refer
35. ck PAUSE RESTART bit Ir m Pause mode bit O r Number of active steps register se c Continuous transition bit Po e Enter a device into each item No device may be entered into an unnecessary item e For details of the function and contents of each item refer to the QCPU Q mode program manual MELSAP L e You can create a program title by entering the device name as BLm on the device comment editing screen Refer to section 3 6 1 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 8 Displaying the Block List You can display a list of blocks of the SFC program being edited You can perform editing such as cut amp paste in monitor or block units Operation procedure View Display block list Block list screen z Block title Start of blocks l 2 Machining process handling b Finishing start block om Am mont o A KE 10 11 12 13 14 15 16 17 1 One screen displays 32 blocks Using the scroll bar Page Down or LT LL key you can change the displayed blocks 2 Indicates whether the corresponding blocks have been converted or not Already converted x Not yet converted POINTS In the SFC block list you can perform the following 1 Block information setting correction 2 Batch copy between blocks 3 Jump to SFC diagram display in the specified block 4 SFC monitoring in the block list 5 Batch Conversion of unconverted blocks
36. comment is also pasted simultaneously POINT Not changing the original step transition condition number is useful for a moving operation 7 When you selected not to change the original step transition condition number but the pasting destination already has the same step transition condition number the following window appears MELSOFT series GX Developer x lt Step Transition number has already existed in paste target will new number be assigned Choosing executes pasting after the system has assigned a new number by reassigning lower to higher free numbers to the step transition condition numbers of the pasting destination SFC diagram Choosing suspends pasting 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 8 When the first position of the cut or copied SFC diagram is a step and its pasting position is a transition position or vice versa the following window appears MELSOFT series GX Developer B A The paste position is incorrect When this window has appeared click the button move the pasting position one row higher or lower then perform a pasting operation again 9 After the pasting operation is over make conversion Note that a conversion error occurs if a branch coupling is incorrect after pasting Therefore make conversion after performing the SFC diagram editing operation POINTS e Cutting copying and pasting between different blocks in the same program can be exec
37. e Example ax1 Correct a_X1 Incorrect In the case of a comparison operation instruction enter spaces between the instruction device name set value and so on as in the list format Example K1000_D10 Correct K1000D10 Incorrect which indicates the priority sequence of amp and is optimized necessary part only after being entered Example When entering aX0 amp bX1 aX3 amp bX4 After entering aX0 amp bX1 aX3 amp bX4 Because amp takes priority over is unnecessary 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 6 Comment Creation Method In MELSAP L the comments that can be created are broadly divided into the following two kinds e SFC comments e Device comments The term SFC comment is a generic term that refers to a step comment that is added to each step of an SFC diagram and a transition comment that is added to each transition line The term device comment is a comment that is added to each device as in the case of a circuit The method of creating SFC comments and device comments is described below 3 6 1 Method of creating an SFC comment You can create an SFC comment from the SFC symbol Enter program window when creating an SFC diagram The method of creating and modifying comment data alone after creating an SFC diagram is set out below 1 Using the SFC diagram editing screen Operation procedure Edit Documentation Comment Doub
38. e SFC program file being edited is to be a Normal SFC Program or a Control SFC program Operation procedure Tools gt Set SFC information gt SFC type Setting screen SFC program type setting Control SFC type Item explanation Selects whether to make the SFC program a normal SFC type or a control SFC type When Control SFC type is selected an SFC program can be created for block 0 only Note that if a block start step H H is designated in block 0 an error occurs when the program is executed and CPU operation stops 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 10 Conversion Operation With MELSAP L if only the operation outputs transition conditions are edited a conversion operation is unnecessary Conversion Definition Conversion all programs beina edited All e eee being edited are batch converted Block conversion FA Block conversion FA Only one SFC diagram block being edited is converted one SFC diagram block being edited is converted Block conversion All blocks being edited e All SFC diagram blocks being edited are batch converted e The block No s in SFC diagram conversion error and the number Block conversion error of errors are displayed e A detailed error is displayed per block specified 3 11 Instructions for Online SFC Program Writing This section provides instructions for writing the operation outputs trans
39. e data to PLC e You cannot execute Write during RUN in the insertion mode 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 Search and Replacement The method of searching for and replacing devices and instructions in MELSAP L is described below e If you use the MELSAP L format to display an SFC program created in the MELSAPS format instructions that cannot be input using MELSAP L will be displayed as 7 however they can be found If you wish to replace instructions that are displayed as replace them all together using all replace If you replace one instruction at a time a replacement error will occur e If you display a program containing a note created in the MELSAP3 format in the MELSAP L format 7 will appear preventing you from carrying out a search or replacement operation e For a search replacement made in an SFC program the object area changes with the searching direction specified a Downward b Downward from c Upward from from top cursor position cursor position Block 0 Block 1 Cursor position Block 2 Block n When a search replacement is to be performed in an SFC program after a search has been made in another program all blocks will be searched When making searches replacements in an SFC program within the specified range step range specify the step numbers e g of the SFC diagram
40. e time the sequencer was stopped will be displayed as the result of monitoring 4 5 4 5 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 4 Block List Monitor This operation is used to show and monitor a block list Operation procedure View gt Display block list gt amp ES Screen No Block title Start of blocks 1l 2 a Active M100 M110 t Transition M101 M111 c Clear l Machining process handling bl 2 Finishing start block M120 M121 3 e The block No fields of active blocks are highlighted When block information has been set the status of the corresponding block can be confirmed in the block information e To switch the specified block to SFC diagram monitor during monitoring double clicking in the field of the corresponding block switches to the SFC diagram display of the specified block POINT Active registers cannot be monitored 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 5 Device Test An explanation of the device testing operation in MELSAP L is set out below Operation procedure Online gt Debug gt Device test or Fal Screen Bit device FORCE ON Close Device M FORCE OFF Toggle force gt Word device buffer memory Device bs Buffer memory Module start Hex Address HE t a Setting value bec D 16 bit integer D Set e To forcibly turn the bit device
41. ee al Ce l A 1 el DEE e A 2 CONTENTS ee ee EE E EE ae tas EE EE an ee ES A 3 About MANUS raaa EAA A AAAA AA A 5 Abbreviations and Generic Names Used in This Manual A 6 1 OVERVIEW 1 1to1 2 UN BIR 1 2 2 MELSAP L FORMAT PROGRAMS 2 1to2 7 2 1 MELSAP L Format SFC Diagrams cccceccescceececeeseeeeeeececeeaeeaecaesaesaecaesaeseaesaesaeseeeeaesaesaeseaesaeeaneaseaeeas 2 1 2 2 Operation Output INStrUCTIONS eceececceceeceeececeeeeseeaecaeeeeeeaecaecaeseaeaesaesaesaecaeseeseaesaesaeseeeeaesaeseseneeateas 2 2 2 3 Instructions for Transition Conditions eceececeeeeseeeeceeceeeeaeeaeceeeeeeeaecaecaeseaesaesaeseeeaesaesaeseataeseseneeateas 2 3 2 4 Precautions to Observe When Creating Programs ce ceccsececeseeeeeeeeeeeeeeeaecaeseeeeaesaeeaeseaesaesaesaeeeaeas 2 5 3 MELSAP L PROGRAM EDITING METHOD 3 1to3 52 3 1 MELSAP L Program Editing Outline Procedure ccceccecceseeeeceeeeeeeseeaeceeeeaeeaesaeseeeeaeeeseeeeaesaeeeseeeeaeeas 3 1 3 2 Listiof SFC Diagram SyMbolS ws havens eevee ain eaten Lai avi ins aa ee aie a ane een 3 3 3 3 Basic SFC Diagram Editing Screen cceccseeeeeceeseeeceeceeeeaeeaeceeseaeeaesaecaeseaesaesaeseeeaesaesaeseaesaeeeseaeeaeeas 3 5 3 4 Creating Modifying the SFC Diagram 0 cccceccecceceseceeceeeeseesecaeeeeeeaeeaeceeseaesaesaeseeseaesaesaeseeeeaeeaeseeseeteaneas 3 7 3 4 1 Writing an SFC diagrami TEE 3 7 3 4 2 Deleting the SFC dagram nena 3 19 3 4 3 Ghangingithe step at
42. el ee fol dol coal ale SSES EE alae Step kan Zb fe ale DE wll 4 a a EE To T DMOV K10 WO lt Dmov K10 wo H OMO 828 EE EE Mo Toen Transition conditions Xo aX0r seses essssseeo m X1 baal eeng co xi D SCDRbNT see ee ee eee oy is d Mo Cp i aMO bT0 amp aCO een Projet Lu Te Bo TO Edit comment d Q02 H Host station Ovrwte You cannot describe contact equivalent instructions inside steps The PLC types that are compatible with MELSAP L in the GX Developer are as follows e QCPU Q02CPU Q02HCPU Q06HCPU Q12HCPU Q25HCPU You cannot select MELSAP L when the project PLC type is ACPU QnACPU QCPU A FXCPU or a motion controller If the PLC type is changed to one other than QCPU the MELSAP II or MELSAP3 format is used 1 1 Features The features of MELSAP L are described below 1 The operation sequence and ON OFF status of devices can be monitored on the same screen SFC diagram monitoring employs automatic scrolling enabling the operation sequence and configuration at each step to be readily grasped In addition programs instructions can be described directly on an SFC diagram permitting the ON OFF status of a contact and coil with two or more operation outputs and transition conditions to be monitored on the same screen 2 Highly operable editing functions Editing by means of programming cut amp copy amp paste can be done using the function keys tool buttons m
43. enu bars and so on SFC diagram editing can also be done for other projects programs and blocks Cut amp copy amp paste is intended for use between MELSAP L programs 3 The display format can be changed over according to the particular situation The display format of a MELSAP L format program can changed over to the MELSAP3 format by the GX Developer display menu If you wish to display the transition conditions and operation outputs as a ladder display them in the MELSAP3 format 1 2 1 2 2 MELSAP L FORMAT PROGRAMS MELSOFT 2 MELSAP L FORMAT PROGRAMS This section describes SFC programs in the MELSAP L format 2 1 MELSAP L Format SFC Diagrams In an SFC program created in the MELSAP L format each operation unit in a series of operations of the machine is expressed as one step and instructions such as contacts and coils that perform actual control are set at each step In MELSAP3 the SFC diagram is divided into an SFC diagram that indicates the operation sequence and a Zoom diagram that indicates detailed control for each transition condition In MELSAP L on the other hand control instructions are directly described and indicated on an SFC diagram MELSAP L MELSAP 3 Operation permission wait ax0 Operation permission switch ON Operatio n permis AER EE NEE Leif sion swi Work carrier detection wait tch ON Ca Work carrier detection oY70 oT0 K30 Buzzer
44. ew Display comment of step and TR Ctrl F5 hides the SFC comments 3 MELSAP L PROGRAM EDITING METHOD 3 13 3 Displaying a label in the SFC diagram MELSOFT Setting purpose This operation replaces a device name in the program with a created label and then displays it Operation procedure 1 Choose View Display label of step and TR Alt Ctrl F6 1 1 deal switch ON nh wa C n Operation permission wait 2 0 ax0 Operation permission 3 4 1 Work carrier detectio 5 1 ax2 Work carrier detectio 6 H 2 joy70 of0 K30 Buzzer output 8 2 aT0 Buzzer output end N Gei The label replaces the device name on the display screen The label is displayed in the form instruction label If a label is not set in a device the program remains displayed 1 des Label SW1 set in X1 is displayed If a label is not set the program is displayed in Y70 is displayed Operation permission wait 2 Ona ST Operation permission switch ON 3 4 1 Work carrier detection wait 5 Lead a Work carrier detection 6 H 2 BE Buzzer et HKI The label buzzer set Buzzer output 8 2 aTO Buzzer output end When the label are being shown choosing View Display label of step and TR Alt Ctrl F6 hides the label 3 MELSAP L PROGRAM EDITING METHOD MELSOFT POINT e Use the device comment edit screen to create a label For det
45. g b Deleting the branch coupling vertical line only Drag 2 Operation using the function key to delete e Hold down the Shift key and choose the deletion area with the arrow keys e Press the key 3 Operation to delete from the menu on the toolbar With the mouse drag over the area to be deleted e Click Cut in the edit menu Performing the Undo operation after making a deletion returns to the status immediately prior to the deletion e Tool button Click D e Function key e Menu Click Undo in the edit menu 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 3 Changing the step attribute This section describes how to change the step attribute in the existing SFC diagram The step attribute can be changed by any of the following tool button clicking menu operation and key pressing Tool Button recon 1 Editing FS Ctrl 1 e Makes the preset step attribute invalid 2 Step attribute setting Ctrl 2 J e Changes the preset step attribute to SC 3 Choose a new attribute Ctrl 3 e Changes the preset step attribute to SE SE Ctrl 4 Changes the preset step attribute to ST Changes the preset step attribute to R and sets the reset Ctrl destination step No When it has already been set to R changes the reset destination step No POINT If the step attribute has been changed the existing operatio
46. gram from the SFC symbol program input window when creating an SFC diagram After creating the SFC diagram you can re display the SFC symbol program input window by double clicking the pertinent step transition and change the program For details of the method of describing operation output transition instructions refer to sub sections 2 2 and 2 3 For details of instructions that can be used refer to the QCPU Q mode programming manual MELSAP L 1 Entering operation outputs When entering an o h s or r instruction at the operation output do not enter a space between the instruction and the device name Example oY1 o X1 x In the case of a timer or counter enter a space between the device name and the set value Example oTO_K30 oTOK30 x In the case of another instruction enter spaces between the instruction device name set value and so on as in the list format Example MOV_K100_D0 Q MOVK100D0 x There is no need to make any distinction between upper case and lower case letters when entering an instruction By pressing the button o h s and r will become lower case letters and other letters will be set to upper case letters automatically Example If you enter AX1 or ax1 as an instruction d aX1 will appear after you click the OK button 2 Transition conditions If you enter the a b p or f instruction in a transition condition do not enter a space between the instruction and the device nam
47. he control of the machine including the various interlocks using a Sequence program circuit list The system is designed in such a way that output conditions such as interlocks cannot be described at the steps in MELSAP L This permits prompt rectification of trouble that occurs if an output fails to appear at a step despite the activation of the step 1 Creation using MELSAP L sequence program a MELSAP L side b Sequence program side By creating an SFC program that is related to the By creating conditions regardless of the flow of interlock conditions the flow of operation is easy to operation it can be created as a part understand S O a aaaa i Upper Emerge i Step aX0O Ascent Descent limit ncy stop Ascent Can be created Describe steps Stat eer Fia asra pari and complicated gt f J 0M70 __ aoe D EE interlock conditions Ascent Lower Emerge i using a ladder aX1 1 Descent Ascent limit ncy stop i Descent Upper limit si i oM80 7 Descent ax2 Lower limit Machine operation sequence Control of machine 1 OVERVIEW 2 Description format in MELSAP L MELSAP L display window The description format inside the steps and transition play p EEE conditions of MELSAP L are as follows polem S Allee Qala aal eale ole lt Example gt sleet l
48. he cursor to the last position of the branch coupling and release your hand from the key 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 Operation starting from the menu on the toolbar a Step transition branch coupling entry 1 Click Edit on the toolbar 2 Move the cursor to SFC symbol in the edit menu 3 Click the SFC symbol to be entered 4 Since the window as was shown when the tool button was clicked appears refer to the tool button operation procedure and enter the required items 5 Press the key b Rule entry 1 Click Edit on the toolbar 2 Move the cursor to Edit the line in the edit menu 3 Click the branch coupling line to be entered 4 Drag from the first position to the last position of the entry 4 Operation starting from the key 1 Press the key 2 Since the window as was shown when the tool button was clicked appears refer to the tool button operation procedure and enter the required items 3 Press the key POINT Operation starting from the key is a method useful for entry of steps and transitions consecutively in the column direction 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 2 Deleting the SFC diagram This section explains how to delete the existing SFC diagram symbols 1 Operation using the tool button to delete a Specifying the area and making deletion LI gt Al e Dra
49. he program does not proceed to the next step after the lapse of the specified period Operation procedure Tool gt Set SFC information gt Option gt Step transition watchdog monitor setting Carry out monitoring refer to section 4 1 Screen MELSOFT Series GX Developer There is 4 step not switched over for the past 10 seconds Program Name MAIN Block No 0 StepNo 0 i Close e When the step transition watchdog is set and the system detects a step from which a transition does not occur despite the lapse of the specified period the above dialog box appears However the display on the above dialog box is sometimes delayed beyond the specified period depending upon the capacity of the SFC program and the environment under which the computer operates e When you click JUMP the step concerned in the SFC diagram appears e For details of the step transition watchdog monitor setting operation refer to section 3 14 2 e If you check Stop watchdog monitoring at detection when setting the step transition watchdog monitor the monitor will stop each time a non transition step is detected however normal monitoring will continue 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 3 All Block Batch Monitor and Active Step Monitor This operation is used to monitor the active inactive states of all blocks in a list form and to monitor the step active inactive states of the specified block from the block list
50. ible DO gt DO 5 Replacement possible DO gt DO 5 Replacement not possible XO DI Replacement possible e When replacing other program devices refer to section 3 12 sl a range specification exists only range specification of the currently open program will be effective Other programs will be replaced from the first one e If after replacing a device that is used in the SFC block information you cannot use the device an error will be displayed and replacement will be interrupted 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 6 Replacing the instructions Setting purpose This operation is performed to replace the instructions used in the operation output transition condition of each block Operation procedure Find Replace Replace instruction Setting screen Replace instruction 1 Earlier instruction z 2 New instruction eplace 3 gt Find direction From top to bottom From cursor to bottom Specified range Step range 7 gt Instruction list Item explanation 1 Earlier instruction Specify the instruction to be replaced You can also specify the instruction by using a MELSAP L format instruction name For details of MELSAP L format instruction names refer to section 3 12 2 2 New Instruction Specify the new instruction You can also specify the instruction by using an instruction name in the MELSAP L fo
51. in the operation outputs transition conditions and block information The symbols displayed represent the following Step e S n Used as the operation output of step n e TR n Used as transition condition n Sequence step e a Used as the block start end bit of the applicable block e t Used as the step transition bit of the applicable block e c Used as the continuous transition bit of the applicable block e s Used as the block pause restart bit of the applicable block sm Used as the pause mode bit of the applicable block e r Used as the number of active step registers of the applicable block The operation method is the same as in the ladder mode For details of the operation method refer to the GX Developer Operating Manual 3 12 11 Searching for the device use status This operation lists how the devices are used device by device e g X Y M D A device search also covers devices used in the block information and if they are used in the block information alone they are shown as being used as contacts The operation method is the same as in the ladder mode For details of the operation method refer to the GX Developer Operating Manual 3 12 12 Changing the T C set values This operation changes the set values of the timers counters used in the operation outputs inside the block being displayed The T C set values in different blocks cannot be changed at the same time The operation method is the sa
52. input to operation outputs in MELSAP L e NOP e MPS MRD MPP e Contact instruction e Comparison operation instruction lt gt etc For details refer to the QCPU Q mode Programming Manual MELSAP L 3 Precautions to observe when describing operation outputs e Do not make an operation output for each instruction that does not require execution conditions DI El etc Describe it at the end Example oY70 MOV DO D100 DI Correct DI oY70 MOV DO D100 Incorrect e You can describe up to 24 instructions in one operation output 2 MELSAP L FORMAT PROGRAMS MELSOFT 2 3 Instructions for Transition Conditions 1 MELSAP L format instructions In MELSAP L transition conditions are described in the following format Example of Example of list Instruction Example of circuit symbol ee ar L format oe Open contacts a contacts a LD um X10 Close contacts b bX10 LDI X10 be M100 Rise contacts p pM100 LDP M100 M200 Fall contacts f fM200 LDF M200 CG i ti instruction lt gt etc For details of comparison operation instructions refer to the QCPU Q mode QnACPU Programming Manual Common Instructions To connect contact instructions in series AND separate each instruction using amp rove connect contact instructions in parallel OR separate each instruction using MELSAP Lformat L format Circuit zee aX0 aX10 2 MELSAP L FORMAT PROGRAMS MELSOFT If a
53. ist of symbols used in SFC programs A block indicates a series of operations that start at the initial step and end at the end step The minimum unit of operation is divided into a step and a transition The operation output or transition condition is displayed using a MELSAP L format instruction program 1 List of MELSAP L format SFC diagram symbols SFC Diagram Symbol Quantity Dummy initial step Coil hold initial step Operation hold step without transition check Any one of these steps in a block The initial step at top left first row of initial step the SFC diagram is set to No 0 Operation hold step with transition check initial step Reset initial step Initial step Dummy initial step Coil hold initial step Operation hold step without transition check initial step Operation hold step with transition check initial step Max 31 steps in one block i step number 1 to 511 At initial step other than step 0 Reset initial step Dummy step Coil hold step Operation hold step without transition check Operation hold step with transition check i Step number 1 to 511 n Reset destination step number Reset step m Start destination block number Wa E A D xe Other than initial step Block start step with end check Block start step without end check 3 MELSAP L PROGRAM EDITING METHOD MELSOFT SFC Diagram Symbol Quantity ee Selective
54. ition conditions of an SFC program to the CPU during RUN e If you create operation outputs transition conditions alone in the overwrite mode after converting an SFC diagram the RUN write button in the SFC symbol program input window will be active SFC symbol Enter program Symbol TR DI Step attribute i 7 Instruction list a Jk Bloch j Comment b JA p P Program IP Cancel Help e When you click the RUN write button a write during RUN operation takes place You cannot simultaneously write operation outputs transit conditions for more than one point while a write during RUN operation is taking place Perform a write during RUN operation for each operation output transition condition e If you select Write during RUN while PLC is running or Write if PLC STOP when making a write during RUN setting by selecting Tool Option lt lt Program commons gt gt you can also write data to the CPU by pressing the button in the SFC symbol program input window e The write during RUN method used is the normal write during RUN method e To execute Write during RUN display the SFC diagram program input window then press F4 The same result can be achieved by pressing the button followed by the button e You cannot execute Write during RUN using an SFC diagram After creating or modifying an SFC diagram stop the CPU then select the Online Write to PLC menus and writ
55. le click at the editing position Double click at the editing position Setting screen 1 2 Enter device comment COMME 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 2 Using the device comment editing screen Operation procedure Project data list device comment COMMENTO Setting screen ew Device comment COMMENT Mel Device BLO SO v Display L Device Coment rae Al Brosiz 1 Device name Specifies the device for creating a comment When creating an SFC comment specify the device name as follows Step comment BLm Sn Transition comment BLm T Rn m Block number n Step transition condition number POINT e H you enter BLm m Block number as the device name you can create or modify the block title For details of block titles refer to section 3 7 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 6 2 Method of creating a device comment There are two methods of creating a device comment a method of creating it from the comment input window after creating an SFC diagram and a method of creating it from the comment editing screen Note however that a device comment does not appear on the SFC diagram editing screen You can display the label to be added to the device on the SFC diagram editing screen 1 Using the SFC diagram editing screen Operation procedure Tool Option Program common tab Check Continues during co
56. me as in the ladder mode For details of the operation method refer to the GX Developer Operating Manual 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 13 Providing Displays 3 13 1 Displaying programs Setting purpose This operation displays the operation output transition condition program in the created SFC diagram Operation procedure 1 Select View Display program d m Alt F8 2 mB Ww N E J wm ww 1 1 oE 2 0 ax0 3 4 1px 5 l1 ax2 6 7 2 kenn oTo K30 8 2 ap 3 If you select View Displayprogram d Ctrl Alt F8 when the program is displayed the program will disappear from the screen Under the initial settings the program is displayed 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 13 2 Displaying the step transition comments Setting purpose This operation displays created SFC comments Operation procedure 1 Choose View Display comment of step and TR Ctrl F5 1 1 of 2 D ax0 3 SZ aX 5 1 ax2 6 7 2 kenn oro K30 8 2 arT0 2 The SFC comments appear on the screen E 1 o Operation permission wait 2 0 ax0 Operation permission switch ON SI 4 1 Work carrier detection wait 5 1 ax2 Work carrier detection 6 7 2 joy70 oT0 K30 Buzzer output 8 2 aTO Buzzer output end 3 When the SFC comments are being shown choosing Vi
57. mmand write device comment input box Double click the editing position on the SFC diagram Set SFC symbol program input window to OK Setting screen Enter device comment Device Comment a D100 Cancel 1 Device The device name used for the operation output transition condition at the editing position is displayed 2 Using the device comment editing screen When creating a device comment from the device comment editing screen use the same operation procedure as that for the circuit For details of operation refer to the GX Developer operating manual POINT e You cannot create a label for each device from an SFC diagram Create the device name from the device comment editing screen of 2 e You cannot display a created device comment on an SFC diagram When you click View Display label of step and TR menu the displayed program device name changes over to the label Refer to sub section 3 13 3 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 7 Setting the Block Information Setting purpose This operation is performed to set the block information of the corresponding block at the time of a conversion operation after creation of an SFC diagram Operation procedure SFC diagram creation gt _ F4 e Edit Block information or Setting screen Block information setting Ea Block No 0 Block title a Block START END bit t Step transition bit Ir s Blo
58. mp and exist together amp will take priority In order to increase the priority use MELSAP L format Circuit XO aX0 aMO amp an MO X1 He X0 x1 aX0 aMO amp ax aX0 amp aX1 aMO amp aM1 aX0 amp aX1 aMO amp aM1 2 Instructions that cannot be described at transition conditions e All instructions with the exception of contact instructions and comparison operation instructions 2 MELSAP L FORMAT PROGRAMS MELSOFT 2 4 Precautions to Observe When Creating Programs The precautions to observe when creating SFC programs using MELSAP L are set out below 1 When a program was made using MELSAP L a PLC types other than QCPU Q mode are not compatible with the MELSAP L format b You can select ladder MELSAP3 or MELSAP L for each program However you cannot specify MELSAP3 or MELSAP L in units of SFC program blocks c If a number of SFC programs MELSAP L format and MELSAP3 format exist in the PLC CPU only one program can be executed This does not apply to control STC programs If you wrote a number of SFC programs set all but one of them in the standby program by means of a PLC parameter program setting d You cannot input a contact or contact equivalent instruction to an operation output e The operation output transition conditions per block can consist of up to 2k sequence steps Each operation output or transition condition can consist of up to
59. n Sets the search direction For details of the search direction for each setting refer to section 3 12 3 Find Next button Clicking this button causes a search for the next object instruction to take place A pulse type instruction P MOVP etc is the object of a search even if P has been removed from the instruction name Example Search specification MOV Search object MOV MOVP 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 3 Searching for a character string This operation searches for the specified character string to see if it is used as an SFC comment step comment transition comment Device comments are not included Move the cursor to the step transition of the SFC diagram in which the character string is used The operation method is the same as in the ladder mode For details of the operation method refer to the GX Developer operating manual 3 12 4 Searching for the Step No Block No Setting purpose This operation is performed to show the specified block on the screen by specifying the block No and step No transition No when the cursor is in the SFC diagram Operation procedure Find Replace Find step no block no Setting screen Find step no block no Block number 1 gt fo v m Step Transition Ge Step m EI Transition Item explanation 1 Block number Enter the block No to be searched for 2 Ste
60. n list SS ock o Comment b A P JL 2 gt Program uk gt OK gt A U J RUN write Cancel Help e Point the cursor to a desired position and click Fs to insert a transition in the cursor position If you do not change the transition condition number when inserting by overwriting on vertical line the lowest vacant number will be assigned e When the insert position is within a branch ladder vertical line is automatically inserted into another branch 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 Selective branch SFC symbol Enter program x Te DI attribute E Sra list ab Comm re b A E PI Fre Progar P Cancel 4 Parallel branch Symbol o Gm ep attribute e I SI Instruction list ESCH eal aT 2 7 Esc RI Prograrr SSF OK Help Cancel Help 5 Selective coupling ____ SFC symbol Enter program RE im attribute E Instruction list ge p IPI IER ES Progran f FF RUN wi te Cancel Help p 6 Parallel coupling SFC symbol Enter program Symbol c DI attribute ji lr Instruction list a JE ock D c so b l p P SEN gt onan We gt
61. n output sequence program remains unchanged 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 4 Cutting Copying and pasting the SFC diagram This section provides the operation to cut copy and paste the SFC diagram 1 Specifying the area cutting or copying the SFC diagram and pasting it Operation procedure 1 Choose Edit Write mode or F2 2 Click the first position of the SFC diagram to be cut and move the cursor 3 Drag over the area to be cut or copied The specified area is highlighted 4 When cutting choose Edit gt Cut or _ Ctri X or when copying choose Edit Copy or Ctn C to cut the ladder in the specified area 5 Click the position where the cut copied SFC diagram will be applied and move the cursor 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 6 When you choose Edit gt Paste or Bi Ctrl V the Paste data window appears Make pasting choices Paste data 1 BE Action and TRA data V Step and TR comments 2 gt No change the step and TR number when it is pasted Cancel 1 Selection of whether or not the operation output transition condition sequence program is also pasted simultaneously 2 Selection of whether or not the original step transition condition number is changed 3 Selection of whether or not the step transition
62. ock window will be opened and monitored when the active step moves to the block start step during monitoring of automatic scrolling If GX Developer is minimized you cannot open the start destination block window If the block started while GX Developer was minimized the block that was monitored prior to minimization will be monitored after minimization is canceled 4 Step transition watchdog monitor setting Sets whether or not steps that do not move within the specified monitoring period will be monitored To carry out transition monitoring set the name of the program to be monitored specify the block and set the monitoring period If you set Stop watchdog monitoring at detection transition monitoring will stop when a non transition step is detected 3 52 3 52 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 MONITORING AND TEST FUNCTIONS MELSAP L has the following monitoring and test functions Monitoring e SFC diagram monitor e All block batch monitor e Block list monitor e Device batch monitor e Device registration monitor e Buffer memory batch monitor e Program list monitor e Interrupt program list monitor 4 Test e Device test An explanation of monitoring and testing in MELSAP L is set out below For details of operating the device batch monitor device registration monitor buffer memory batch monitor program list monitor and interrupt program list monitor functions refer to the GX Developer operating
63. on points from the devices set using the old device setting You can specify the number of substitution points in either decimal or hexadecimal notation 4 Move comments and labels Set whether or not to simultaneously move comments and labels added to devices 5 Include SFC block information in find targets Set whether or not to include devices set in the block information of each block 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 6 Find direction Set the search direction For details of the search direction under to each setting refer to sub section 3 12 7 Find Next button Searches for the next target device without replacing the device at the location of the cursor 8 button Replaces the device at the location of the cursor then replaces the next target device 9 Replace all button Replaces all of the devices in the search area 10 Instruction list Displays programs that include the devices to be replaced when Find Next or Replace is executed The devices to be replaced are highlighted POINT e You cannot replace a bit device with a word device or vice versa It is possible to make an expansion specification but digits indices and indirect modification cannot be done Examples of expansion specification and word bit device replacement targets X0 gt J1 GO Replacement possible X0 DO Replacement not possible DO 1 U10 GO Replacement possible X0 gt K4X0 Replacement not poss
64. output aT0 Buzzer output end SFC diagram only Divided into an SFC diagram and a Zoom diagram circuit MELSAP L is a simple display format that does not display notes device comments or contacts to the operation outputs contact equivalent instructions Device comments can be set in this format If you use the MELSAP L format to display an SFC program that contains notes and contacts to the operation outputs contact equivalent instructions that were edited in the MELSAP3 format will be displayed For details of the indication refer to section 2 4 2 MELSAP L FORMAT PROGRAMS MELSOFT 2 2 Operation Output Instructions 1 MELSAP L format instructions In MELSAP L operation output instructions are described in the following format Example of Example of list ae Instruction Example of circuit symbol Con ee Gee es L format format output o om OUT Y70 C Y70 H H K100 High speed timer h hTO K100 OUTH TO K100 C TO H Reset r rM200 RST M200 Instructions other than the 2 above o h s r are the MOV K100 DO MOV K100 DO SI MOV K100 DO same as in the list format To put a number of operation outputs in parallel inside the same step partition each output with a comma MELSAP L format CY70 oY70 sM100 MOV K100 DO SET M100 MOV K100 DO 2 Instructions that cannot be described at operation outputs The following instructions cannot be
65. p Transition Specify the cursor position after a search is over 3 button Click this button to show the SFC diagram in the specified block POINTS When the cursor is in the SFC diagram pressing any number key shows the following window Find step no block no Close WW step no block no Exit Clicking the button or pressing the key allows the cursor to move to the specified step in the SFC diagram currently displayed Also turning on the block no radio button enables a block search 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 12 5 Replacing the devices Setting Purpose This operation is performed to replace character string constants used in operation outputs transition conditions and SFC block information Operation procedure Find Replace Replace device Setting screen Replace device 1 Earlier device 2 New device No of GI 3 substitute fi DEC zl Close 4 gt T Move comments and labels 5 gt T Include SFC block information in find targets 6 Find direction From top to bottom From cursor to bottom Specified range Step range caii v 10 nstruction list Item explanation 1 Earlier device Specify the device and character string constant to be replaced 2 New device Specify the new device and character string 3 No of substitutions Set the number of substituti
66. ram NET 5 1 5 2 SFC Diagram Printing Exvamples 5 2 INDEX Index 1 to Index 2 About Manuals The following manuals are also related to this product In necessary order them by quoting the details in the tables below Related Manuals Manual Number Manual Name Model Code GX Developer Version 7 Operating Manual Start up IB 0800189 Describes the system configuration installation method and starting method of GX Developer GX Developer Version 7 Operating Manual Explains the functions of the programming printout monitoring and debugging methods and so on IB 0800190 SW7D5C GPPW E GX Developer Version 7 Operating Manual SFC Describes the method of creating SFC programs using the MELSAP II format and the MELSAP3 format IB 0800191 of the SW7D5C GPPW E and also the method of printing them monitoring them and debugging them QCPU Q mode Programming Manual MELSAP L Se Describes the necessary programming method specifications and functions for creating programs using 1 3 JF61 the MELSAP L format Abbreviations and Generic Names Used in This Manual This manual uses the abbreviations and terms listed in the following table to discuss the GPP Function Software Package and PLC module In addition the following table lists the names of modules whose names must be indicated explicitly Abbreviation Generic term Description Target module MELSAP L Abbreviation for an SFC function in the MELSAP L format Sele te
67. ram created in the MELSAP3 format If you display the following operation outputs and transition conditions in the MELSAP L format will appear e An operation output or transition condition containing a NOP instruction e An operation output containing a contact or contact equivalent instruction e An operation output containing a note If appears change over to the MELSAP3 format and check the circuit In the case of a circuit that exists in the MELSAP3 format you cannot use the MELSAP L format to amend or monitor the program however the CPU will perform processing normally If you wish to amend or monitor a program in the MELSAP L format after checking it in the MELSAP3 format delete the program displayed as in the SFC symbol program input window then input it once again in the MELSAP L format Operation output created in the MELSAP3 format XO H X10 CT Kva X1 HI d Display in MELSAP L format An operation output containing a contact instruction created in the MELSAP3 format will appear as in the MELSAP L format To amend or monitor a program in the MELSAP L format delete it then re input it Example of program in the MELSAP L format The diagram below shows an example of the case in which the same program as a MELSAP3 format program is created in the MELSAP L format Sag SAR pee hoe Create a dummy step bx1 amp bx10 gt Jump to the dummy step
68. rm for GUARA ang QO6H A Described as ACPU in the main text pos ES term for PLC available with MELSEC A ACPU Including MOTION SCPU However GPPW does not support A1 A2 A3 AH3 A8M A52G A73 AOJ2 and A3V ex eveoner eet product name for SWnD5C GPPW SWnD5C GPPW A SWnD5C GPPW V and SWnD5C GPPW VA product types n means any of versions 0 to 6 GPPA Abbreviation for an SWOSRXV GPPA SWOINX GPPA or SWOIVD GPPA format software package Software package for motion Generic name for software packages for the motion controller which allow SFC programs controller to be edited 1 OVERVIEW MELSOFT 1 OVERVIEW This manual describes the editing and monitoring operations of the MELSAP L format SFC functions hereafter abbreviated to MELSAP L which are included in the functions of GX Developer unless otherwise specified the product GX Developer herein is its English version 7 For a description of functions other than MELSAP L and also the specifications of SFC programs please refer to the relevant manuals indicated in Related Manuals SFC means Sequential Function Chart MELSAP L is a description format which is intended to promote efficiency of sequence program development and also to making program a part The machine control section can be created as a part by describing the flow of operation and the control of the machine separately that is by describing the operation sequence of the machine using MELSAP L and t
69. rmat 3 Find direction Set the search direction For details of the search direction under each setting refer to sub section 3 12 4 Find Next button Searches for the next target instruction without replacing the instruction at the location of the cursor 5 button Replaces the instruction at the location of the cursor then searches for the next target instruction 6 Replace all button Replaces all of the target instructions in the search area 7 Instruction list Display programs that include the instructions to be replaced when Find next or Replace is executed The instructions to be replaced are highlighted 3 MELSAP L PROGRAM EDITING METHOD MELSOFT POINT e You can also specify an instruction device when inputting an instruction e You cannot execute when the instruction format resulting from replacement is logically invalid e When you wish to replace instructions in another program refer to sub section 3 12 If a constant had been set in a device when you replaced an instruction that handles 16 bits words with an instruction that handles 32 bits double words by means of an instruction replacement the constant will be transformed as follows Negative constant of K Example K 1 sign expanded K 1 In the case of H a constant whose sign bit is ON Example HFFFF Constant for which sign expansion does not take place HOOOOFFFF Example MOV K 1 DO MOV is replaced by DMOV DMOV K
70. sonal computer to the running PLC configure up an interlock circuit in the outside of the PLC system to ensure that the whole system will always operate safely Also determine corrective actions to be taken for the system when a communication error occurs due to a cable connection fault or the like in online operation performed from the personal computer to the PLC CPU A CAUTION Online operation performed with a personal computer connected to the running CPU module especially program change forced output or operating status change should be started after carefully reading the manual and fully ensuring safety Not doing so can cause machine damage or accident due to miss operation REVISIONS The manual number is given on the bottom left of the back cover Print Date Te Manual Number Jun 2001 IB NA 0800192 A First edition This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property ights which may occur as a result of using the contents noted in this manual 2001 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the Mitsubishi MELSOFT Integrated Software Before using the equipment please read this manual carefully to use the product to its optimum A copy of this manual should be forwarded to the end user CONTENTS
71. t Insert row gt Ctrl Insert MELSOFT Edit gt Delete line gt Shift Delete Edit gt Delete row gt Ctrl Delete 3 MELSAP L PROGRAM EDITING METHOD MELSOFT b Write insert operation example When an SFC diagram is created by a write insert operation insertion results are as described below on an SFC diagram symbol basis Note that step transition condition number changing simultaneous SFC comment creation and so on can be performed as in the write overwrite operation 1 Step SFC symbol Enter program Symbol STEP D Step attribute Ii Li D r Instruction list DE ck fo Comment SE best i oR ST F5 Program 5 Cancel Help e Point the cursor to a desired position and click the SFC symbol step to insert a step in the cursor position If you do not change the step number when inserting by overwriting on vertical line the lowest vacant number will be assigned e When the insert position is within a branch ladder vertical line is automatically inserted into another branch 2 Series transition SFC symbol Enter program Symbol TR DI Step attribute ji LI z r Instructio
72. tanya Phone 972 0 9 863 08 91 Fax 972 0 9 885 24 30 e mail texel_me netvsion net il ISRAEL Control Systems Beijer Electronics A S NORWAY Pontbeeklaan 43 Teglverksveien 1 B 1731 Asse Zellik N 3002 Drammen Telefon 32 0 2 467 1751 Phone 47 0 32 24 30 00 Telefax 32 0 2 467 17 45 Fax 47 0 32 84 85 77 E Mail infoautomation getronics com e mail info elc beijer no TELECON CO BULGARIA MPL Technology SP z o o POLAND 4 A Ljapchev Blvd ul Wroclawska 53 BG 1756 Sofia PL 30011 Krak w Phone 359 92 97 44 05 8 Phone 48 0 12 632 28 85 Fax 359 92 97 44 06 1 Fax 48 0 12 632 47 82 e mail e mail mpl krakow ipl net INEA CR d 0 0 CROATIA Sirius Trading amp Services srl ROMANIA Drvinje bb Bd Ghica nr 112 BI 41 Sc 2 ap 98 HR 10000 Zagreb Phone 385 0 1 366 71 40 Fax 385 0 1 366 71 40 e mail inea cr zg tel hr RO 72235 Bucaresti 2 Phone 40 0 1 210 55 11 Fax 40 0 1 210 5511 e mail sirius_t_s fx ro AutoCont Control CZECHIA Systems s r o Nemocnicni 12 CZ 702 00 Ostrava 2 Phone 420 0 69 615 21 11 Fax 420 0 69 615 21 12 e mail petr pustovka autocont cz DENMARK louis poulsen Geminivej 32 DK 2670 Greve Phone 45 0 43 95 95 95 Fax 45 0 43 95 95 91 e mail pia lpmail com UTU Elektrotehnika AS P rnu mnt 160i EE 11317 Tallinn Phone 372 6 51 72 80 Fax 372 6 51 72 88 e mail utu utu ee ES
73. to section 3 14 2 e Display the block list then double click the block number Refer to section 3 8 e Specify the block to be monitored by step number block number detection Refer to section 3 12 4 POINT When you set the auto scroll monitor function the active steps are displayed continuously To perform automatic scroll monitoring click LE or select Online gt Monitor gt Auto scroll monitor e Automatic scroll monitoring of multiple steps active in series due to operation hold steps for example shows the active step closest to the initial step e When performing automatic scroll monitoring you can automatically set the start destination block by means of the Auto scroll monitor setting If GX Developer is minimized the start destination block window will not open If the block started while GX Developer was minimized the block that was monitored prior to minimization will be monitored after minimization is canceled Refer to section 3 14 2 e During monitoring you cannot edit SFC diagrams e During editing you cannot monitor SFC diagrams e If you open the write or monitoring screen during automatic scrolling automatic scroll monitoring stops When you resume monitoring automatic scroll monitoring also resumes 4 MONITORING AND TEST FUNCTIONS MELSOFT 4 2 Transition Watchdog Monitor The following is an explanation of the transition watchdog monitor function that monitors steps from which t
74. tributes c s hei nh cited sieht cee eal niein aiid 3 20 3 4 4 Cutting Copying and pasting the SFC dagram 3 21 3 4 5 Sorting the SFC diaga Misiin iiia ii i e a i ii i 3 24 3 4 6 Redisplaying the SFC diagram ccceccescceccecceseeeeceeceeeeaeeaeceeceeesaecaeseeeeaeeaesaeseeeeaesaesaeseeeeaeeeseateateas 3 25 3 5 Creating Operation Outputs and Transition Conditions 3 26 3 6 Comment Creation Method AAA 3 27 3 6 1 Method of creating an SFC comment 3 27 3 6 2 Method of creating a device Comment 3 29 3 7 Setting the Block Information 3 30 3 8 Displaying the Block DC 3 31 3 9 SFC Related Parameter Setting cccccecceseeseeeeceeceeeeseseeceeceeeeaeeaesaeseeeeaesaeceeseeesaesaeseeseaesaesaeseeseaeeaeeas 3 32 3 9 1 SFC setting in PLC parameters A 3 32 3 9 2 Setting the block parameters AA 3 33 3 9 3 SFC program Setting ER 3 34 3 10 Conversion Ree le EE 3 35 3 11 Instructions for Online SFC Program Writng 3 35 3 12 Search and ee EE 3 36 3 12 1 Searching for a Ee EE 3 36 3 12 2 Searching for an instruction cccecceceeeceeeceeeeseeeeeaeceeeeaeeaecaeseaeeaesaeceeseaesaesaesaeseaesaesaeseeseataeseeeeateaes 3 37 3 12 3 Searching for a Character etrimg anatetea aa a a a a a aaea Taa i aaa 3 38 3 12 4 Searching for the Step No Block No 3 38 3 12 5 Replacing the e 3 39 3 12 6 Replacing the instructions eccceeceeceeseeeneeeeeeeeeeaeeeaeeeaeeeaeeeaeesaeeeaeeeaeeeaeeeaeesaeesaeeeaeeeaeeaeeeaeeeaeee
75. umber of rows that may be entered 2 button Click this button when the setting is complete 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 14 2 Setting the SFC setting options Setting purpose This operation is used to set details when editing or monitoring an SFC program Operation procedure Tool Set SFC information Option Setting screen SFC option setting EB 1 Reference window Zoom windows using a separate window Cancel Zoom window using a single window 2 Zoom mode at block START step ___ T Jump to START block 3 Auto scroll monitor setting IT Monitor on new window when executing Block START step Ai E Step transition watchdog monitor setting IV Step transition watchdog monitor Program Name MAIN D All bock Specified blocks Watchdog time p Min fio Sec IV Stop watchdog monitoring at detection Detail setting Item explanation 1 Reference window This window is used to display or not display several operation output transition condition sequence program windows alongside each other in the MELSAP II 3 format This setting cannot be made in the MELSAP L format 2 Zoom mode at block START step Sets whether or not a jump will be made to the start destination block when the cursor moves to the block start step 3 Auto scroll monitor setting Sets whether or not the start destination bl
76. uted by displaying the corresponding blocks by performing Window gt Tile vertically or Tile horizontally operation e Cutting copying and pasting between different projects can be executed after opening the corresponding projects by performing Project gt Start new GX Developer session operation e Copying of an operation output transition condition sequence program should be done within approx 2k steps 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 4 5 Sorting the SFC diagram This operation reassigns the step transition numbers of the created SFC diagram Operation procedure Tools gt Sort or Setting screen Sorting step numbers Set START block number Previous New m Sorting Order Decreasing r Change START block number 2 T Change coe Setting items 1 Sorting Order Specify whether the step transition numbers are in an ascending or descending order 2 Change START block number Specify whether the start destination block number is to be changed or not 3 Set START block number When you have selected Change enter a new block number 4 button Executes sorting as set on the above screen POINTS e The result of executing sorting by specifying an ascending or descending order is as follows When ascending When descending order is specified order is specified ol C Immediately after sorting a Undo operation can A be performed only once 4 O is
77. ve operations shows the Enter SFC symbol enter program window SFC symbol Enter program Symbol STEP Step attribute E D E list Block j Comment S SEN 1 AST Program h H ol Cancel Help Enter data by the operations given on the pages that follow The symbols that can be created in the SFC diagram are determined by the cursor position line The step created in the first line automatically becomes the initial step You can create various kinds of steps or jumps in the 1 multiple of 3 th line You can create a series transition line selective branch or a parallel coupling in the 2 multiple of 3 th line You can create a parallel branch or a selective coupling in the 3 multiple of 3 th line However if you create a selective branch or a parallel coupling in the 2 multiple of 3 th line a series transition will be created in the 3 multiple of 3 th line You can create vertical line in any position other than the 1st line The 1st line automatically becomes the initial step prevents a transition excluding a jump from being created 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 1 Operation method created from the tool button a Write overwrite operation example 1 Step cl SFC symbol Enter program Eg Symbol STEP Di Step attribute E D m Instruction list IS Step attribute Step number LI

Download Pdf Manuals

image

Related Search

Related Contents

PCI-DAS1001 User`s Manual  Model EX-EU4/EX-DU4 Surround Encoder/Decoder User`s Manual  IBM Webcam R1 User's Manual  RNA isolation    SentrySafe QAP1E Use and Care Manual  Black & Decker 625233-01 Instruction Manual  PORT 250 € EQUIPEMENTS DE SÉRIE - FERRI  TruVision Navigator 5.0 User Manual  2 - Sulky Burel  

Copyright © All rights reserved.
Failed to retrieve file