Home

MELSAP-L - Mitsubishi Electric

image

Contents

1. 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 Press the key N lt 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 Press the key OO 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 FoF Blo yy Drag 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 delet
2. Program fl l RUN write 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 Ei Symbol TR Step attribute i Instruction list a al Block fo Comment b l p IFl gt gt Program Peale RUN write Cancel Help e Point the cursor to a desired position and click 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 Symbol o if Step attribute i gt p Instruction list Bock Comment it fy E PH
3. 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 e 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 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 8 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 O
4. 2 joY70 oTO K30 Buzzer output end 2 7 aTO gt K6 CO Product counter reset Conveyor operation 6l sY71 Product detection 7 7 aX3 Product counter JA joco K6 Product count end 8 r aC0 amp bX1 Conveyor stop BE jry71 11 aSM400 Work carrier control block start z Zz 12 7 aSM400 Block No o titte Conveyor control block Trans M101 Pause M102 K6 CO Product counter reset Product detection aSM400 Stop switch ON 9 aX1 10 Conveyor stop of ry71 13 7 a5SM400 Normal SFC Jump to product count bCO amp bX3 MELSOFT 5 PRINTING SFC DIAGRAMS MELSOFT 2 Block list printing example Ho TitlefiInformtion reisis Elt eccivactian i e e i Conu yor conirol block BLI Brack i Ble Tramaitiom 7 410 Pause HIZ Paige Mewes MLO ACELYe gE DI Cont Loe Ali l Bork carrier control block Bkack Bee Tranaition Ae Paian HH Pause Mode MOS Active i DG Cont Lacs gt Bed 3 Comment list printing example The printed comment list is divided into step comments and transition comments e Step comments Block No fo mte Conveyor control block Normal SFC 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 MELSOFT e Transition com
5. Downward from c Upward from from top cursor position cursor position Block 0 Block 1 Cursor position Block 2 Block n x 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 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 in the ladder mode For details of the operation method refer to the GX Developer Operating Manual 3 36 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 Setting screen 1 gt I nstruchion Find fest Close di 2 Find direction f From top to bottom C From cursor to bottom From cursor to top Setting screen 1 Instruction Spe
6. Replacing the Open Close contacts 3 43 Replacing a character String ccccseeee 3 44 Replacing the GeVICES cccceceeeeeeeeeeeeeees 3 39 Replacing the instructions cccceeeeeeeee 3 41 Replacing the Step No cccccceeeseeeeeeeeees 3 45 Searching for a character String 00 3 38 Searching for a device cccceeessssseeeeeeeees 3 36 Searching for a device comment 3 39 Searching for an instruction cccceee 3 37 Searching for the block NO eeeeeeeeees 3 38 Searching for the device use status 3 46 Searching for the Step No cceeeeeeeeeees 3 38 Setting the block information 008 3 30 Setting the SFC diagram display 3 51 Setting the SFC setting options 3 52 SFC diagram MoOnitOr cccccsseeeeeeeeeeeeeees 4 1 SFC diagram print Setting cccccceeeeeeees 5 1 SFC diagram symbols ccccccccseeeeeeeeeeeees 3 3 SFC program Setting cccceseeesseeeeeeeeeeees 3 34 SFC setting in PLC parameter 00 3 32 SFC related parameter settings 0 3 32 sorting the SFC diagram ccccccesseeeeeeeees 3 24 Step transition watchdog monitor 4 4 Index 1 MEMO Index 2 Index 2 Microsoft Windows Windows NT Windows Vista are registered trademarks of Mic
7. 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 EW Lie i The paste position is incorect 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 executed 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 appro
8. e The block No s in SFC diagram conversion error and the Block conversion error number of errors are displayed e A detailed error is displayed per block specified 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 11 Instructions for Online SFC Program Writing This section provides instructions for writing the operation outputs transition 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 Step attribute i Instruction list Block fa Comment b l Programm i IFI j RUN write 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 programmable controller is running or Write if PLC STOP when making a write during RUN setting by selecting Tool Option lt lt Program common 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 R
9. 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 et Instruction Example of circuit symbol MELSAP L format format XO X10 Close contacts b bX10 LDI X10 M100 Rise contacts p pM100 LDP M100 M200 Fall contacts f fM200 LDF M200 Comparison operation neers D0K100 LD D0K100 pdokioo H instruction lt gt etc 1 For details of comparison operation instructions refer to the MELSEC Q L Programming Manual Common Instructions To connect contact instructions in series AND separate each instruction using amp er connect contact instructions in parallel OR separate each instruction using MELSAP Lformat L format Circuit on _ E 2 MELSAP L FORMAT PROGRAMS MELSOFT lf amp and exist together amp will take priority In order to increase the priority use _ MELSAP L format Circuit aX0 aMO amp aX1 aX0 aMO amp aX1 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 FO
10. 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 the SFC program file being edited is to be a Normal SFC Program or a Control SFC program This setting is not available for Basic model QCPU Universal model QCPU and LCPU Operation procedure Tools gt Set SFC information gt SFC type Setting screen SFC program type setting SFC program type setting Cancel 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 is designated in block 0 an error occurs when the program is executed and CPU operation stops 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 l being edited All programs Se ora TT edited are batch converted Block conversion F4 Block conversion F4 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
11. 0 At step 0 Operation hold step with transition check initial step Operation hold step without transition check initial step Max 31 steps in one block i step number 1 to 511 Operation hold step with transition check initial step Reset initial step Dummy step Coil hold step Operation hold step Including initial step Max 512 steps in one without transition check block Operation hold step l with transition check Reset step Block start step with end check At initial step other than step 0 i Step number 1 to 511 n Reset destination step number m Start destination block number Other than initial step Block start step without end check Block end a More than one block end may be provided J in one block 3 3 3 MELSAP L PROGRAM EDITING METHOD MELSOFT SFC Diagram Symbol Quantity Selective 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 Parallel coupling selective a Tra
12. 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 9 2 Setting the block parameters This section provides how to set the block parameters This setting is not available for Basic model QCPU Universal model QCPU and LCPU Operation procedure Tools gt Set SFC information gt Block parameter Setting screen Block parameter Ed Ferodic execution block Top of block number Interval m Act at block muki actwated 2 E Stop blocks Acct at step muki acthwated 1 gt 3 Waling Blocks Stop blocks 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 ims 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
13. 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 e The Alias cannot be used for the project in which Use label is selected e You cannot create an alias 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 alias of step and TR menu the displayed program device name changes over to the alias Refer to sub section 3 13 3 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 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 e SFC diagram creation gt F4 Edit Block information or Setting screen Block information setting Ed Block Mo O Block title a Black START END bit t Step transition bit PO s Block PAUSE RESTART bit PO m Pause mode bit PO r Humber of active steps register PO c Continuous transition bit PO coca Enter a device into each item
14. Drag over the area to be cut or copied The specified area is highlighted 4 When cutting choose Edit Cut or 1 Ctrl X or when copying choose Edit gt Copy or f Ctri 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 J Ctrl V the Paste data window appears Make pasting choices Paste data M Action and TA data f Step and TR comments 3 2 I No change the step and TA number when itis 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 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 Ed t Step Transition number has already existed in paste target
15. No device may be entered into an unnecessary item e For details of the function and contents of each item refer to the MELSEC Q L QnA Programming Manual MELSAP L The set block title stored as a device comment of device BLm e A block title alias can be created and changed by entering a device name BLm on the device comment editing screen Refer to Section 3 6 1 e When putting a block title for each program create comments by program For details of the creating method refer to GX Developer Operating Manual 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 1o Block title At a Active t Transition c Clear s stop r Register l 0 Ml M2 M3 BO Start of blocks 1l 2 Machining process handling b 10 M11 M12 M13 D10 Finishing start block 20 M21 M22 M23 D20 oar Hon fF WON FF OO 1 One screen displays 32 blocks Using the scroll bar Page Down or LE 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 POINT In the SFC block list you can perform the following 1 Block information setting correction 2 Batch copy between blocks 3 Jump
16. 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 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 program 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 do
17. applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTs are required For details please contact the Mitsubishi representative in your region REVISIONS x The manual number is given on the bottom left of the back cover Print Date_ Manual Number Feb 2003 SH NA 080375E A First edition Jun 2004 SH NA 080375E B Abbreviations and Generic Terms in This Manual Chapter 1 Aug 2005 SH NA 080375E C Section 3 7 Section 3 11 Apr 2007 SH NA 0803 75E D Correction Section 3 6 2 Section 3 12 5 Section 3 13 3 2007 H NA 080375E E Addition Abbreviations and Generic Terms in This Manual Section 3 9 2 Section 3 9 3 Section 3 12 5 Correction Section 3 12 5 to 3 12 12 are changed to Section 3 12 6 to 3 12 13 Dec 2008 SH NA 080375E F Correction Abbreviations and Generic Terms in This Manual Section 2 3 Jan 2010 SH NA 080375E G Addition CONDITIONS OF USE FOR THE PRODUCT Correction SAFETY PRECAUTIONS INTRODUCTION About Manuals Abbreviations and Generic Terms in This Manual Chapter 1 Section 2 2 Section 2 3 Section 2 4 Section 3 4 5 Section 3 5 Section 3 7 Section 3 9 Section 3 9 2 Section 3 9 3 Japanese Manual Version SH 080358 G This manual confers no industrial property rights or any rights of any other kind n
18. 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 MELSOFT e When there is no added information Block No o mu Conveyor control block Normal SFC Start M100 Trans M101 Pause M102 1p 2L x a 24 6 Le ES 8L g 6 11 13 1 O B1 12 5 PRINTING SFC DIAGRAMS e When there is added information programs device comments Start M100 Operation permission wait oDe Operation permission switch ON O aX0 Work carrier detection wait 10C Work carrier detection 1 aX2 Buzzer output
19. double word instruction DOMOV 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 Print PLC parameters Network parameters Device comment Device memory Device init TEL Cross reference list List of used device TC setting Project contents list Product information list Title MELSAP23 MELSAP L Ladder Instruction ist ST Label FB Structure 1 SFC diagram print tem Program selection 4 Cee na Seat ee Block list I Comments list MAIN Block parameter 5 2 Option Device comments I Program Print range 5 i Allrange Range setting 3 setting Print SFC column numbers are B Block Block In case of blocks under conversion before printing make sure that conversion is completed Printer setup Page setup Multiple printing Frint 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
20. fo Comment b l p Fl ooo t IFI gt OK gt al gt E gt Program RUN write Cancel Help e Diagram symbol C appears You can change the diagram symbol by clicking 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 l Step attribute E 7 Instruction list ele lp Block oo Comment SY b B Frogram f Fl RUN write Cancel Help e Diagram symbol C appears You can change the diagram symbol by clicking e Number of branches Enter the number of branch lines You can create parallel couplings equal in number to the entered value ina 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 cou
21. for SFC 1 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 1 Set the SFC display column To create new program To modify the existing program SFC write E Read the block to be modified Write SFC diagram from block 0 Write insert delete SFC diagram modifying operation Conversion operation Write Write the SFC diagrams and SFC comments to the specified block SFC information register setting Step by step operation output transition condition correcting Display the specified block operation 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 list 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 Step 3 3 Initial step Dummy initial step Coil hold initial step Operation hold step without transition check initial step Any one of these steps in a block x The initial step at top left first row of the SFC diagram is set to No
22. start step 3 Auto scroll monitor setting Sets whether or not the start destination block 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 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 progra
23. 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 Q CPU 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 MELSAP3 format 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 MELSAP L PROGRAM EDITING METHOD 3 1 MELSAP L Program Editing Outline Procedure To create new program To modify the existing program 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 O start condition and output mode at block deactivation 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
24. to SFC diagram display in the specified block 4 SFC monitoring in the block list Batch Conversion of unconverted blocks 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 9 SFC Related Parameter Settings Among the parameter settings made for operating the QCPU Q mode LCPU 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 gt SFC setting Setting screen Qn H Parameter PLC name PLC system PLC file PLC RAS Device Program Boot file SFC 0 assignment SFC program start mode 1 Initial start Resume start m Start conditions 2 Autostart block 0 C Do not autostart block 0 m Output mode when the block is stopped Turn off 3 _ gt Keep on Acknowledge XY assignment Default Check ji i 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
25. 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 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 Operatio n permis ax sion wal Operation permission switch ON Operation permission wait Operatio 7 n permis g Dad sion swi Work carrier detection wait tch ON a axe Work carrier detection 2 oy70 oT0 K30 Buzzer o BD A 2 aTO 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 t
26. used in operation outputs transition conditions and SFC block information Operation procedure Find Replace Replace device Setting screen Replace device l 1 gt Earlier device 7 2 gt New device 8 3 gt No of substitute points ae 1 DEL Close 4 Move comments and aliases 5 gt T Include SFC block information in find targets 6 Find direction f From top to bottom From cursor to bottom Specified range Step range fa T f T 10 gt Instruction 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 substitution points from the devices set using the old device setting You can specify the number of substitution points in either decimal or hexadecimal notation 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 4 Move comments and aliases Set whether or not to simultaneously move comments and aliases 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 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 r
27. Credion Method aannaaien a a a cea osanauh A eeieeensonne 3 27 3 6 1 Method of creating an SFC COMMENL ccccccsecccecccceessseeeeeccceeeeseeeeeesceeeaaseeeeeeessseaaseeeeeesessaaeees 3 27 3 6 2 Method of creating a device comment cccccccccsesssseeeeeccceeeesseeeeeecceeeauaeeeeeeeseeeaaseeseeesssseaaesees 3 29 3 7 SEUNG Ne Boek Moma Nse A E E e AE 3 30 3 8 Displaying the Block LIS i s c acerca sos choca ones lab ceactane come gia caeehaws oom aie demecus asesadee ucheus sas eee ace cea beans 3 31 3 9 oF G Relaled Parameter Settings lt icccs3h oie al es a 3 32 3 9 1 or SEUINGIN PLC parameters ss sc2cih abc faci cp cecesioh a Sratat coast ac taichcceaslaban tas ch scamsigeed holeads tescatnedoboses 3 32 3 92 SGU ANG DOCK Pal AlCl S ste rok ic ot sae ess N 3 33 DOr MOON am SEN ienei a a a 3 34 AIO CONverS or Opera ON mirae e a E A E EE E ES E 3 34 A 4 A 4 3 11 Instructions for Online SFC Program Witing ccccsscccecccssssssseceeeccceeesseeeeeeceeeeaseeeeeessessaasseseeenees 3 35 3 12 Search and Replacement iecere aeea ELE RAN E Eaa Ea E eet a 3 36 SZ SCARCIIMG or a dovea A A A 3 36 2122 Searching Tor an NSTUCUON isese ei a 3 37 3 12 3 Searching for a character SHN rE EEEa vend ENN 3 38 3 12 4 Searching for the Step No Block NoO c ccccceeeeeeeeeeeeeaaaeeesssseeeeeeeeeeeeeeeeeesaaaaaessseeeeeseeeeeeeeees 3 38 3 12 0 SealCning for a device COMMENT ssr E E E tebe 3 39 9120 F
28. GX Developer Version 8 MITSUBISHI MELSAP L 4 wy P REN ff rogramming Mh intenance MELSOFT Integrated FA Software a SW8D5C GPPW E SAFETY PRECAUTIONS Always read these instructions before using this product Before using this product thoroughly read this manual and the relevant manuals introduced in this manual and pay careful attention to safety and handle the products properly The precautions given in this manual are concerned with this product For the safety precautions of the programmable controller system refer to the User s Manual for the CPU module In this manual the safety precautions are ranked as WARNING and OK CAUTION ww ws D D 7 N i N WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions gt A CAUTION resulting in minor or moderate injury or property damage cm cm mc me mc cs mc ms ms me cm ce mm cs sm cs cm ms cm ms ce cs mm ms ms cs mm ss ss we ee ee ee a Note that the CAUTION level may lead to serious consequences according to the circumstances Always follow the precautions of both levels because they are important for personal safety Please save this manual to make it accessible when required and always forward it to the end user Design Precautions WARNING When data change program change or status cont
29. ITY BASED ON CONTRACT WARRANTY TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific
30. METHOD MELSOFT 2 Using the device comment editing screen Operation procedure Project data list device comment COMMENT Setting screen E Device comment COMMENT _ On x Device BLOS hi Display cucce Pf 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 TRn m Block number n Step transition condition number If 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 alias 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 command 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 peice comment _ _ iE uon D100
31. OGRAMS 2 1to2 7 2 t ME SAP Lt Format SFC DiagraniS seserinis ea e a eae 2 1 2 2 Operation QUHUtINSTUC ONS niesi eee es TAA 2 3 Instructions for Transition Conditions s2iieci k2ecsseseatondnieecruselsvadd ett eieeewideasd ul eanerid wel haeiectdh doce eee 2 3 2 4 Precautions to Observe When Creating Programs ccceeeccccccceceeeseeeeeeeeecaeeeeeeeeeeeessaaaeeeeeeeeessaaaaees 2 5 3 MELSAP L PROGRAM EDITING METHOD 3 1to3 52 3 1 MELSAP L Program Editing Outline Procedure ccccccccccccccsseeesecceeeeceaeesseeeeeeeesseeeseeeeeeeessaaaseeeeeeees 3 1 Sez LISTO SC Diagram OVID ONS ii secictela riaa dace sunesida a teen esa 3 3 3 0 Basic SFC Diagram EGIUNG Scree sea tee a a a a A 3 5 3 4 Creating Modifying the SFC Diagram ccccccccccccsseseeeceeeeeeeaeeeeeeeeeeesseeeseeeeeeessaeeseeeeeeeeesseeaeeeeeeeeeeesaas 3 7 OV NVIMING an SFC diagr aMi a a a a ee 3 7 3 4 2 Deleting the SFC diaraec iaeei i a e ari a iiaa 3 19 243 Changing the step atribute isnie e a aaa A oa TTE ee ene 3 20 3 4 4 Cutting Copying and pasting the SFC diaQraM ccceccccccccccssseseeeeeeeeeseeeeeseeeeeeeeeseaaeeceeeeessaaaeees 3 21 3 4 5 Sorting the SFC diagram carsc5 Sosa e cs baie tae ea onde ate tds edad aso ase ade eae 3 24 34 6 Redisplaying the SFC diagram si a8 5 s sabioals oe aaa a a aA 3 25 3 5 Creating Operation Outputs and Transition COnItiOns ccccccesseeeceeeeesecceeceeeseceeeeeeeeeeeseeeeeeeeeeaas 3 26 3 0 COMMENT
32. RMAT 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 series other than QCPU Q mode LCPU 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 programmable controller 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 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 lf 256 char
33. RUN write Cancel Help 4 Parallel branch SFC symbol Enter program Symbol lj Step attribute fi Instruction list a l Block fo Comment b Wl p Pl Program P eink gt a RUN write Cancel Help 5 Selective coupling Symbol C Step attribute fi Instruction list a ll Block fe Comment b p IPI Program f lFI RUN write Cancel Help gt pa 6 Parallel coupling Symbol C sali Step attribute i Instruction list zli Block fo Comment b Vl p IPI Fa gt Program ee lal RUN write Cancel Help POINTS e Entering n as the number of branches couplings enters them from right to left Example Number of couplings 1 i Number of couplings a ae 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 Opera
34. S OPI AC ING UNS GEVICE S a ttt ads estat inner a nu Re aaa ad tase ant bhatustadaceeadaddnwilundds 3 39 3 12 7 Replacing the instructions cccccccccccssssseeeeeccceeeasseceeecceeeaaseceeeeseeeeaaaaeeeeeessseaaageesseeeessseaaagaes 3 41 3 12 8 Replacing the open close CONTACTHS ccccccceccecceeeeeeceesssseseeeeeeeeeeeceeessneceuasesseeeeeeeeeeeenseneeess 3 43 3 129 REDIAGING a character SUMING seniais aa ia i 3 44 312 10 IREDIAGCING UNG SIGD NO anina a a a E a 3 45 3 12 11 Listing COMACIS CONS USGA asarria aa a e a 3 46 3 12 12 Searching for the device use status 4 2 neha els 3 46 3 122 15 Changind tne T C Set Vall or E A E N RSA 3 46 edo ROn DIS DAY aeee e E EE E a EEE E E E 3 47 2T ISDIAVING progr am Saar a Gee accede 3 47 3 13 2 Displaying the step transition COMMENIMS cccccccccececeeeceeeeeesseeeeeeeeeeeeeeeeeeeeasaaaaessseeeeeeeeeeeeeeenees 3 48 3 13 3 Displaying an alias in the SFC diagram ccccccsssssseeeeeecceeeesseceeecceeeeeseceeeeseeseaaseeeeeessseaaaaasaes 3 49 3 13 4 Displaying a program in the MELSAP3 format ccccccccccccsseeseeeeeeeeecaaeeeeeeeeeeeesaeeeseeeeeeessaaaeees 3 50 3 14 Setting the SFC Diagram Dis lay lt 2 wsisis ewecs cd iacase a tanncceessietnsecknautcusannandeddanutsasaauingecleasededaneeadecssyeacesacenceds 3 51 8142 Seting the SFC diagram display rsrsr re iN 3 51 3 14 2 Setting the SFC setting options 122i acksscet Petes Mac tecdetde
35. UN method e To execute Write during RUN display the SFC diagram program input window then press Shift 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 write data to programmable controller e You cannot execute Write during RUN in the insertion mode For other precautions concerning online change refer to GX Developer Operating Manual 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 POINT e If you use the MELSAP L format to display an SFC program created in the MELSAP3 format instructions that cannot be input using MELSAP L will be displayed as 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 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
36. 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 5 SFC symbol Enter program Symbol BLOCK Jf Step attribute f Instruction list o Block Comment Se SET f Ei _ 1 AST Program Me al Ip Cl RUN write Cancel Help e Diagram symbol BLOCK BLOCK S appears You can change the diagram symbol by clicking Step number Step comment Start destination block number 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 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 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 symbol program i
37. acters are exceeded appears at and after the 253rd character position 1 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 program 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 th
38. ains the editing and monitoring operations of the SFC functions using GX Developer 13JU42 Sold separately MELSEC Q L QnA Programming Manual MELSAP L E TR Explains the necessary programming method specifications and functions for creating programs using 13 JF61 the MELSAP L format Sold separately The Operating Manuals are included on the CD ROM of the software package ina PDF file format Manuals in printed form are sold separately for single purchase Order a manual by quoting the manual number model code listed in the table above Abbreviations and Generic Terms in This Manual This manual uses the generic terms and abbreviations listed in the following table to discuss the software packages and programmable controller CPUs Corresponding module models are also listed if needed Generic term for QQQUJCPU QOOUCPU Q01UCPU QO2UCPU QO3UDCPU QO3UDECPU QO04UDHCPU QO4UDEHCPU QO6UDHCPU QO6UDEHCPU Q10UDHCPU Q10UDEHCPU Q13UDHCPU Q13UDEHCPU Q20UDHCPU Q20UDEHCPU Q26UDHCPU and Q26UDEHCPU Process CPU Generic term for QQO2PHCPU QO6PHCPU Q12PHCPU and Q25PHCPU Redundant CPU Generic term for Q12PRHCPU and Q25PRHCPU Generic term for Q00J Q00UJ Q00 Q00U Q01 Q01U Q02 H Q02PH Q02U QCPU Q mode QO3UD QO3UDE Q04UDH Q04UDEH Q06H QO6PH QO6UDH QO6UDEH Q10UDH Q10UDEH Q12H Q12PH Q12PRH Q13UDH Q13UDEH Q20UDH Q20UDEH Q25H Q25PH Q25PRH Q26UDH and Q26UDEHCPU sia term for inci ae and QO6HCPU A Desc
39. 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 Double click at the editing position Double click at the editing position Setting screen 2 Enter device comment COMME Exit 3 MELSAP L PROGRAM EDITING
40. block start step Refer 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 e When you set the auto scroll monitor function the active steps are displayed continuously To perform automatic scroll monitoring click Al or select Online 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 ste
41. ce to be reset is OFF Continuity status of the timer high speed 4 eer Bi K30 MEI K100 Beg K5 timer and counter When the timer high speed timer and l 4 oTO K30 NT10 K100ff0C1 K5 counter are in the time up or count up status 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 max 1 When close contact X2 is OFF mOX2 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 nj Transition No TR_ nj 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
42. cifies 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 contacts LDP ANDP ORP f fall contacts LDF ANDF ORF o output eee OUT OUTH SET RST h high speed timer OUTH S SOL cccccccccceeceeeeeeeeeeeees SET r reset ncscncrevsensvocssstaboneves RST 2 Find direction 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 Searchi
43. e 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 7 in the SFC symbol program input window then input it once again in the MELSAP L format Operation output created in the MELSAP3 format X0 n X10 H __Y20 Ht VU Display in MELSAP L format axo y ae ic ey Se 999 An operation output containing a contact instruction created in anny the MELSAP3 format will appear as in the MELSAP L format le eb e e m m m ax1 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 ite Bes cee Sodas Create a dummy step bx1 amp bx10 Jump to the dummy step 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
44. e 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 9 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 10 Replacing the Step No 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 Block no T 1 2 gt l JUMP number Old Hew 3 gt Reset number x 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 QCPU Q mode Set this number when replacing the reset destination step number of a reset step When replac
45. e 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 13 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 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 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 Ctrl Alt F8 r oT K320 3 If you select View Displayprogram 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 Operat
46. eplacing 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 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 J1 GO Replacement possible X0 DO Replacement not possible DO 1 U10 GO Replacement possible X0 K4X0 Replacement not possible DO DO Sisata Replacement possible DO gt DO 5 Replacement not possible KO DV aseeiaes Replacement possible e When replacing other program devices refer to section 3 12 e If 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 7 Replacing the instructions Setting purpose This operation is performed to replace the ins
47. f columns number of branches The number that may be input is any of 1 to 32 Entering the number of columns automatically shows the number 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 1 Reference window Zoom windows using a separate window Cancel f Zoom window using a single window 2 oom mode at block START step T Jump to START block 3 Auto scroll monitor setting Monitor on new window when executing Black START step 4 Step transition watchdog monitor setting W Step transition watchdog monitor Program Mame MAIN z All blocks Specified blocks watchdog time po Min fo H Sec M 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
48. he block list in a list form Operation procedure Online gt Monitor gt All block batch monitor Screen 0 160 Close pio WW al se e a Ueto tn a oe e e e a y E E Active block Non active block x 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 steo monitor button Nojo 12345 6789N0O0123456789 a 260 ae ee p TT tT joo SS ty f 310 1 tT tT ee 80 te ao Be Be Active step Non active step indication The corresponding step is active indication The corresponding step is inactive After resetting the programmable controller 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 programmable controller CPU and perform monitoring the status at the time the sequencer was stopped will be displayed as the result of monitoring 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 F3 Screen No Block title a active t Transition clear s stop r Register IES Start of blocks 1l 2 M100 M101 M102 M103 D100 l1 Machin
49. ing 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 11 Listing contacts coils used This operation lists where the specified devices are used 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 e m 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 12 Searching for the device us
50. ing process handling bl M110 M111 M112 M113 D110 2 Finishing start block M120 M121 M122 M123 D120 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 Debug gt Device test or Screen Bit device FORCE ON Close Device FORCE OFF Toggle force Word devicebuther memor i Device bd Buffer memory Module start Hex Address HE se Setting value DEC 16 bit integer Set e To forcibly turn the bit device ON or OFF input the device and click FORCE ON FORCE OFF l 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
51. ion e Tool button Click 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 Key Pressing peng 1 Editing PE Ctrl 1 e Makes the preset step attribute invalid EJ 2 Step attribute setting he Ctl 2 J e Changes the preset step attribute to SC 3 Choose a new attribute AE LSE 7 Ctrl 3 e Changes the preset step attribute to SE WE Ctrl e Changes the preset step attribute to ST e Changes the preset step attribute to R and sets the reset Ctrl destination step No e When it has already been set to R changes the reset destination step No If the step attribute has been changed the existing operation 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
52. ion procedure 1 Choose View Display comment of step and TR Ctrl F5 1 ox Operation permission wait 0 ax0 Operation permission switch ON 1 Work carrier detection wait 1 aX2 Work carrier detection 2 oy70 oT0 K30 Buzzer output 2 aTO Buzzer output end 3 When the SFC comments are being shown choosing View Display comment of step and TR Ctrl F5 hides the SFC comments 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 13 3 Displaying an alias in the SFC diagram Setting purpose This operation replaces a device name in the program with a created alias and then displays it Operation procedure 1 Choose View Display alias of step and TR Alt Ctrl F6 Operation permission wait axi Operation permission switch ON Work carrier detection wait Work carrier detection Jori oTi KO Buzzer output aTi Buzzer output end 2 The alias replaces the device name on the display screen The alias is displayed in the form instruction alias If an alias is not set in a device the program remains displayed Alias SW1 set in X1 is displayed If an alias is not set the program is displayed The alias buzzer set in Y70 is displayed aTi Buzzer output end 3 When the alias are being shown choosing View Display alias of step and TR Alt Ctrl F6 hides the alias 3 MELSAP L PROGRAM EDITING METHOD MELSOFT e The Alias ca
53. lies Bl nclicccedde bees Mache rcebdabise Mec tietiidebinekieandoondes 3 52 4 MONITORING AND TEST FUNCTIONS 4 1t04 7 AT SFC Diagram MONO enra cs ha a a aa ts 4 1 4 2 Transition Watchdog MOnitor ccccccccseeecccceeeeeseseececeeeeceaeeeeeeeeeesaeeeseeeeeeeeesseesseseeeesssaeaaeeeeeeeesssaaaeees 4 4 4 3 All Block Batch Monitor and Active Step MOnitor cccccececccccececseeseeeeeeeeeeaeeeeseeeeeeessaeeeeeeeeeeessaenaaeees 4 5 AA BIOCK EIST IVIOIMLOL aistter aa 4 6 4 9 IDO VIC TES Griene eae e aids nodal tad abd stl escapade eamabdn wap feladastusaened twa Moai nauaede tea tae 4 7 5 PRINTING SFC DIAGRAMS 5 1to5 7 9 1SFC Diagram Print Seting reens A SO 5 1 3 2 SFC Diagrami Printing Examples ssie a ening sed A AN a E E a D E E Ra 5 2 INDEX Index 1 to Index 2 About Manuals The manuals related to this product are shown below Refer to the following table when ordering required manuals Related Manuals Manual Name Manual Number Model Code GX Developer Version 8 Operating Manual Startup SH 080372E Explains the system configuration installation method and start up procedure of GX Developer 13JU40 Sold separately GX Developer Version 8 Operating Manual na TE SH 080373E Explains operation methods such as creating printing monitoring and debugging programs using GX 13JU41 Developer Sold separately GX Developer Version 8 Operating Manual SFC Explai a maa l l SH 080374E xpl
54. m list monitor and interrupt program list monitor functions refer to the GX Developer operating manual 4 1 SFC Diagram Monitor This operation is used to monitor the operation and control status of the programmable controller CPU with SFC diagrams and to conduct test operations Operation procedure When monitoring Online gt Monitor gt Monitor mode or F3 When stopping monitoring Online gt Monitor gt Stop monitor or Alt F3 When resuming monitoring Online gt Monitor Start monitor or F3 4 MONITORING AND TEST FUNCTIONS MELSOFT Screen MELSAP L Monitor mode WAIN Block No 7 267Steps Monitor statuz a z 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 hs 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 When bit devi
55. ments a p p S pee me emo we di Normal SFC TRO Operation oermission switch ON TRI Work carrier detection TR2 Buzzer output end TR3 TR4 TRS TR6 Product detection TR7 Product detection TR8 Product count end TRO Stop switch ON TR1O Junp to product count TR11 TR12 TR13 4 Block parameter printing example Block parameter MAIN Periodic exec Blk After Action at BL multi act Stop I Action at step Waiting ell Multi activated Stop Tal 5 PRINTING SFC DIAGRAMS MELSOFT MEMO INDEX A B C D Active step Monitor ccc csscccessssseeeeeeeeeees 4 5 All block batch Monitor cccceeeeeeeeee ees 4 5 Block list monitor cc ceeeeeeeeeeeeeeeeeeeaeeeeees 4 6 Block parameters ccccccseeeeeeeeeeeeeeeeeeeaeees 3 33 Changing the Step attribute 08 3 20 Changing the T C set values 008 3 46 Changing Timer counter set values 3 46 Contact coil use list cceeeeeeeeeeeeeeeeees 3 46 Conversion operation ccccccccsseseeeeeeeeeeees 3 34 Copying the SFC diagram cccccseeeeees 3 21 Creating an SFC comment eeeceee 3 27 Creating Operation Outputs and Transition COndIHONS seers ere cee eet ale 3 26 Creating the SFC diagram ccccceeceeees 3 7 Cutting the SFC dirgram cccccecceeeeeees 3 21 Deleting
56. n number block number Transition number Column number amp axl amp bx1 i bX SByYSlen start a r71 S0 ry 3 axz0 Jump destination step number SFC comment step SFC comment transition Reset destination step number Alias Transition condition Operation output 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 3 4 Creating Modifying the SFC Diagram 3 4 1 Writing an SFC diagram MELSOFT 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 above operations shows the Enter SFC symbol enter program window SFC symbol Enter program x Symbol STEP Step attribute f Instruction li
57. ng 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 gt Find step no block no Setting screen Find step no block no Block number 1 fo Step Transition i Step i Transition 2 _ _ gt Item explanation 1 Block number Enter the block No to be searched for 2 Step Transition Specify the cursor position after a search is over 3 Find 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 E4 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 Searching for a device comment This operation searches for a device comment or label comment of the device being used in the program 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 6 Replacing the devices Setting Purpose This operation is performed to replace character string constants
58. nnot be used for the project in which Use label is selected e Use the device comment edit screen to create an alias For details of the device comment edit screen refer to the GX Developer Operating Manual 3 13 4 Displaying a program in the MELSAP3 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 EA Col number fio 306 Line number 2 _ gt Ok Cancel Item explanation 1 Col number Enter the number o
59. nput window SFC symbol Enter program Symbol eLoCK 1 Step attribute H Instruction list e S a Block DUM g al p h H RUN write Cancel Help 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 3 Series transition SFC symbol Enter program Symbol TR Step attribute fi Block fo Comment gt a gt Transition condition Transition comment Transition condition number Program RUN write OF Cancel Help 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 sec
60. nsition 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 TERR ee cea sy alate x 2 p _ Project Edit Find Replace Convert View Online Diagnostics Tools Window Help oA Qe ac Ce Re ee 3 Disa S els Aaa s GS Ble Fes BR RSI ms Program 7 3 fre Ie OB SE Ie Bie Bie la zij 3 sap l 5 Program No Block title ia Start t Transiti T Device comment 0 Conveyor contror block uf Parameter 6 Gl Device memory fa MELSAP L Edit mode MAIN Block No 0 Conveyor contror block 49Steps BE E B Device init 4 Project Q02 H Host station Ovratte 7 p Feady 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 L PROGRAM EDITING METHOD 2 Configuration of MELSAP L editing screen MELSOFT Row number I H I bJ r L asM400 La L Ho Ln r I I I I I I I I I I l I I L L I I I L I I I I I I I I I I L I I I I L L I I I L I I L Step Start destinatio
61. o 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 ee Instruction Example of circuit symbol MELSAP L format format Output o oY70 OUT Y70 C Y70 H H K100 High speed timer h hTO K100 OUTH TO K100 Reset r rM200 RST M200 Instructions other than the above o h s r are the MOV K100D0 MOVK100D0 mov K100 po H 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 Y70 oY70 sM100 MOV K100 DO SET M100 MOV K100 DO 2 Instructions that cannot be described at operation outputs The following instructions cannot be 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 MELSEC Q L QnA Programming Manual MELSAP L 3 Precautions to observe when describing operation outputs e Describe an instruction not requiring execution conditions DI El etc at the end of each operation output Example
62. or does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2003 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the Mitsubishi MELSOFT series Integrated FA software Read this manual and make sure you understand the functions and performance of MELSEC series programmable controller thoroughly in advance to ensure correct use CONTENTS SARE TY INSTRUCTION Gist dale rest rd eaa aia ina iain naa e A 1 CONDITIONS OF USE FOR THE PRODUCT acecccucancicedcent saceusdathatenncieagwalngclednucedumsantnseainentsushnntadcadeentgendeatudes A 2 FON oes ee aaa kets oe teas alates eee eta tk tata ote anon ae tetera cet ee teeta ret eaters A 3 INTRODUCTION sce hot ates ess carsales e taad hb a aa e duis AOtocasedinaurus lit cauedetelelucwos tees deueauondes A 4 CONTENT S sees ssc asucecactsac ices sa scicas A sacs auinaseecenanndocceen mioeweeasedad eeu eassecaeesatocsee A 4 PATO OU IN AN AS aa tae a needa ncn ils resol nes ls rouse bsia asians heamea dans ha hcuiaesh ha Rdembeosal vin Sap biaate oelsnis A 6 Abbreviations and Generic Terms in This Manual c cccccecccceeeeceeeeeeeeeeeeeeeeeeeeeeeeeesaeeeeeeeeeesesseansaeees A 7 1 OVERVIEW 1 1to1 2 aM ACUI anaa eet heel het ti a ete ih ela eee Oana atten OP ite ahtehe boA Sat 1 2 2 MELSAP L FORMAT PR
63. peration procedure Find Replace Change over open close contact Setting screen Change open close contact i 2 Number of substitutes f bec J 3 Find direction amp From top to bottom From cursor to bottom Specified range Step range 7 p 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 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 XO J1 B6 DO 5 U10 G0 3 Can b
64. pling symbols Example 1 Area for 1 step Example 2 gt Area for 1 step 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 8 Jump transition L SFC symbol Enter program x Symbol EOMP 3 l Step attribute e Instruction list al IF Block fo Comment 2 SET E r RST gt Fg gt Program h H RUN write Cancel Help e Diagram symbol You can change the diagram symbol by clicking l 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 to 9 End step l SFC symbol Enter program Symbol END Step attribute i Instruction list m 4 Ip Block fo Comment 2 SET r AST ale gt gt FFL gt Progam H EN Cancel Help 10 Rule write Bo Lay Ni e To write a rule click ka E bel Al and drag from the first position to the last position of the rule entry If you write a rule over the existing step transition the step transition symbol and operation output
65. ps from which the 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 HELSOFT Senes GX Developer There iz a step not switched over for the past 10 seconds Program Name MAIN Block Mo O Step No O 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 t
66. ribed as ACPU in the main text Generic term for LO2CPU and L26CPU BT Generic term for programmable controller available with MELSEC A ACPU Including MOTION SCPU However GPPW does not support A1 A2 A3 AH3 A3M A52G A73 A0J2 and A3Vv Generic term for programmable controller available with MELSEC F Gx Developer Generic product name for SW8D5C GPPW E SW8D5C GPPW EA SW8D5C GPPW EV and SW8D5C GPPW EVA product types Universal model QCPU GPPQ Abbreviation for an SWLIIVD GPPQ or SWLINX GPPQ format software package software package controller programs to be edited MEMO A 8 8 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 8 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
67. rol is performed from a personal computer to a running programmable controller create an interlock circuit outside the programmable controller to ensure that the whole system always operates safely Furthermore for the online operations performed from a personal computer to a programmable controller CPU the corrective actions against a communication error due to such as a cable connection fault should be predetermined as a system N CAUTION The online operations performed from a personal computer to a running CPU module especially program change forced output operation and operating status change have to be executed after the manual has been carefully read and the safety has been ensured Failure to do SO may Cause a miss operation which results in machine damage or an accident 1 2 e CONDITIONS OF USE FOR THE PRODUCT e Mitsubishi programmable controller the PRODUCT shall be used in conditions i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and li where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABIL
68. rosoft Corporation in the United States and other countries Pentium is a trademark of Intel Corporation in the United States and other countries All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies SPREAD Copyright C 1998 FarPoint Technologies Inc SH NA 080375E G GX Developer Version 8 Operating Manual MELSAP L GXDEV8 O SL E 13JU43 SH NA 080375E G 1001 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
69. st o Block fe Comment po er Sie r AST Program h H RUN write K 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 _ 5 lt SFC symbol Enter program Symbol STEP Step attribute E Instruction list Step attribute PRT a o i _ Block Comment s SET erion Program h H ie solr N Operation output
70. step comment Step number RUN write Cancel Help e Diagram symbol STEP DUMMY appears You can change the diagram symbol by clicking e 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 lt dummy step the display automatically switches to step e Step attribute When you wish to add a step attribute click 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 Symbal STEP Step attribute Instruction list lt i ela o Block fo Comment la 1 SET r AST h H Program RUN write Cancel Help e 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 e 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 e RUN write button You can perform
71. the SFC diagram cccceee 3 19 Device LSS nckisinencs onan oil aan oeidaaoauoniier tues 4 7 Device USE list ccseccecesesseeeeeeeeseeeeeeseees 3 46 Displaying a program in the MELSAP3 format gear a eas sess ast et aiote A 3 50 Displaying PrOGraMs ccccceeeeseeeeeeeeeeeees 3 47 Displaying Step transition commernt 3 48 Displaying the block list cc ceeeeeeeeeee ees 3 31 Displaying the device label cceee 3 49 Displaying the alias 0 0 0 0 ceeeecceesseeeeeeeeeeees 3 49 Displaying the alias in the SFC Diagram 3 49 Displays SFC COMMENMS cccccccesssssseeeeees 3 48 Instructions for online SFC program writing 3 35 M Instructions for Transition Conditions 2 3 MELSAP L format SFC diagram 2 1 Modifying the SFC dirgram ccccceeeees 3 7 Index 1 O P R S Operation method created from the tool button E A E E A A aren 3 8 Operation output Instructions ccce 2 2 Operation starting from the key 3 18 Operation starting from the function key 3 17 Operation starting from the menu on the toolbar P AE A ERE A AAE A E AIA tate 3 18 Pasting the SFC diagram ccccccsseeeeeees 3 21 PFE CAUUONS mas so cesiatac ssh chs fue a ei iaaa 2 5 Printing examples cccccsesseeeeeesseeeeeeeeees 5 2 Redisplaying the SFC diagram 0 3 25
72. tion 3 5 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 4 Selective branch SFC symbol Enter program Symbol i f Step attribute A Black fo Comment Program Instruction list F gt i gt RUN write Cancel e Diagram symbol D appears You can change the diagram symbol by clicking 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 x Symbol e JI Step attribute E Instruction list ec lp Block fo Comment b l p IPI gt p Progam als RUN write Cancel Help e Diagram symbol D appears You can change the diagram symbol by clicking 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 __ SFC symbol Enter program x Symbol C ai Step attribute f Instruction list a Block
73. tion starting from the function key a The SFC symbols are assigned to the following function keys Step srcsymbol wa Of TS Functionkey Fs Fe Shit ere Fe F7 Sift F5 Transition or branch coupling sFcsymbol t o o d e l o l a d Function key Shift F9 Rule entry srcsymbol o o l l a l 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 the 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
74. transition condition sequence program are not erased 3 MELSAP L PROGRAM EDITING METHOD MELSOFT 11 Row insert Edit gt Insert line gt Shift Insert Edit gt Insert row gt Ctrl Insert Shift Delete Edit gt Delete line gt L 4 4 Edit 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 Symbal STEP Step attribute f Instruction list Gin Up Black ja Comment So SET AST Ea li gt FS
75. tructions used in the operation output transition condition of each block Operation procedure Find Replace gt Replace instruction Setting screen 1 gt Earlier instruction 4 2 Henw instruction 5 6 3 Find direction From top to bottom From cursor to bottom Specified range Step range 7 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 format 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
76. uble 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 MELSECQ L QnA 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 xX 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_DO 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 l 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 name 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
77. using MELSAP L and the 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 O O a y a aaaa i Upper Emerge i Step aX0 Ascent Descent limit ncy stop i Ascent on be created Describe steps Start ener i apra pan and complicated gt OM 0___ AC EEE A E EEEE E E ISS interlock conditions Ascent oer emerge using a ladder ax1 Descent Ascent limit ncy stop Descent Upper limit Fi i oM80 77 Descent ax2 Lower limit Machine operation sequence Control of machine 1 OVERVIEW MELSOFT 2 Description format in MELSAP L MELSAP L display window The description format inside the steps and transition Project Edit Find Replace Convert View Online Diagnostics Tools Window Help conditions of MELSAP L are as follows nejm S Sle o Alale slal ele Bla lt Example gt HsH cel tol 1 Aol SSIS dlll f
78. x 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 Sort or Setting screen Sorting step numbers Sorting Order Set START block number Previous Mew 1 n C Decreasing Change START block number 3 2 M Change 4 Cancel 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 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 x Immediately after sorting a Undo operation can be performed only once O is step 0 if you specify either the ascending or descending order OAU gt O O O e The SFC devices e g BLm Sn BLm TRn used with the operation outputs transition conditions are not the objects of sorting sort them by performing
79. z alg ols armo selee K30 My oTOK30 os ee ose s TO Q02 H Host station 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 Basic model QCPU e High Performance model QCPU e Process CPU e Redundant CPU e Universal model QCPU e LCPU If the PLC type is changed to one other than mentioned above 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 menu 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

Download Pdf Manuals

image

Related Search

Related Contents

  Lightspeed Systems Web Filter Onsite Training User Manual  Le mode d'emploi  IPZW400 User Manual 0  Panasonic RF-P50    User Manual  " Annexe P max - P max " SPIROMETER  INSTALLATION AND OPERATION MANUAL  Snap Appliance Snap Server 210 1TB  

Copyright © All rights reserved.
Failed to retrieve file