Home

SFC - Mitsubishi Electric

image

Contents

1. 4 After conversion SFC diagram optimizing display At conversion After operation SFC PROGRAM EDITIN 220 2 MELSEC 3 5 Creating the Operation Outputs Transition Conditions O When creating an operation output transition condition program move the cursor to the corresponding step transition in the SFC diagram and click the Zoom side The subsequent operations are the same as in the ladder or list creating method For detailed operations refer to the SW4D5C GPPW E V Operating Manual POINTS There are instructions which cannot be used with operation outputs transition conditions For more information refer to the MELSAP II SFC Programming Manual for the ACPU or to the QCPU Qmode QnACPU Programming Manual SFC for the QCPU and QnACPU As a transition condition only one dummy coil Tran H may be entered for the coil instruction To enter it click gl or tz click button Tran H is entered automatically For entry in list representation enter only the contact instruction and the dummy coil Tran need be entered 3 SFC PROGRAM EDITING MELSEC 3 6 Creating the SFC Comments An SFC comment is a generic name for a step comment attached to each step of the created SFC diagram and a transition comment attached to e
2. 2 SFC diagram editing screen make up Column number Fea aor a Y PUE RETE pU eS NAT eee Gh uw PL Pe ee i aem oom sae 2 2 2 Note display area E dar 0 Label rr E Device E comment comment TM 3 uer Ls rug 224 L2 T SFO d comment 1 Bi 0 ES 12514 11 L2 Row Step number Start destination Transition Jump destination In ZOOM ladder number block number number step number step number POINTS Zoom side display shows the operation output transition condition at the cursor position in the SFC diagram Some menus that may be selected operated change depending on whether the cursor is on the SFC diagram side or on the Zoom side 3 SFC PROGRAM EDITING MELSEC 3 4 Creating Modifying the SFC Diagram 3 4 1 1 Writing an SFC Diagram O x 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 Performing any of the above operations shows the Enter SFC symbol window Enter SFC symbol Symbol STEP Step attribute E Black Comment Cancel Enter data by the operations given on the pages that follow SFC PROGRAM EDITIN 3 SFC PROG G MELSEC 1 Opera
3. essent 3 31 3 6 0 5 aod deeds dee 3 32 3 6 1 Creating SFG Comments dee 3 32 3 6 2 Editing the Note for Operation Output 3 34 3 7 Setting the Block 3 35 3 8 Displaying the Block LIST 3 36 3 9 SFC Related Parameter Settings 3 37 3 9 1 SFC Setting in PLC Parameters sse trn nnns 3 37 3 9 2 Setting the Block 3 38 3 9 3 SFC saaneena ola aane Dea Y RH 3 39 3 10 Conversion Operatior ee vee a a 3 40 3 11 Instructions for Online SFC Program Writing 3 40 3 12 Making Searches Replacements 3 41 3 12 41 Searching for a 3 42 3 12 2 Searching for Instruction 3 42 3 12 3 Searching for a Character 3 42 3 12 4 1 Searching for the Step No Block No SFC Diagram seen 3 43
4. c Step attribute i Blo en Cancel Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol Symbol Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 7 Parallel coupling im C Enter SFC symbol Step attribute OK Bloc nmer pem RE Cancel Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol men S Cancel Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 3 16 3 SFC PROGRAM EDITING MELSEC POINTS Input method used when a branch and a coupling are used together in a single transition condition 1 For Q QnACPU When a branch and a coupling are used together in a single transition condition reserve an area for one step using vertical line and then enter the branch and coupling symbols Example 1 E Area for 1 step a 4 t Area for 1 step 2 For ACPU As branch
5. 4 Parallel branch Enter SFC symbol 5 Selective coupling 6 Parallel coupling Enter SFC symbol Block C e t Cancel POINTS Entering n as the number of branches couplings enters them from right to left Example Number of couplings 1 2 Inserting branch coupling may generate 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 SFC PROGRAM EDITIN 3 SFC PROG G MELSEC 2 Operation starting from the function key 1 The SFC symbols are assigned to the following function keys Step SFC symbol GV Function key Shift F6 nmm Shift F5 Remas 1 1 Transition or branch coupling SFC symbol Function key ee Shift F9 Remarks OT CC Rule entry SEGsmba Alt F5 Alt F7 Alt F8 Alt 4 F9 Alt F10 Remas 7 2 Operation procedure 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 Rule entry 1 Pres
6. Block 0 Total 193Steps Start of blocks 1 2 The display is changed within a single window E POINT Set whether a new window is made or in the Reference window of Tools Set SFC information Option i RAM EDITIN 3 SFC PROG G MELSEC 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 gt Raw of SFC Setting screen SFC Display column number Col number 10 1 Line number 306 2 gt OK explanation 1 Col number Enter the number of columns number of branches The number that may be input is any of 1 to 22 for the ACPU or any of 1 to 32 for the QnACPU 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 i PROGRAM EDITIN 3 SFC PROG G MELSEC 3 14 2 Setting the Zoom Partition x Setting purpose This operation is performed to set how to split the operation output transition condition ladder displayed Operation procedure View Zoom setting Setting screen Display comment of step and TR Ctil F5 Display label of step and TR Alt Ctrl F6 Toolbar
7. POINTS When creating a note on the ACPU and writing it in another format that note is not written to the GPPA After editing a note always perform a conversion operation The data created will not remain if you do not make conversion 3 SFC PROGRAM EDITING MELSEC 3 7 Setting the Block Information x Setting purpose This operation is performed to set the block information of the corresponding block at the time of a conversion operation after creation of an SFC diagram Operation procedure SFC diagram creation gt amp F4 Edit Block information or Setting screen For ACPU For QnACPU Block information setting Block information setting Block no 0 Bleckno 0 Block title Block title a Block Active bit Block START END bit t Step transition bit t Block transition bit Block Clear bit s Block PAUSE RESTART bit 3 Block Stop bit m Pause mode bit Active step no register t Number of active steps register c Continues transition bit Enter a device into each item No device may be entered into an unnecessary item POINTS For the function and operation of each item refer to the MELSAP II SFC Programming Manual for the ACPU or to the QCPU Qmode QnACPU Programming Manual SFC for the Q QnACPU A block equipment name can be created by entering a device name BLm during device comment editing Also a block title can be created changed by the same opera
8. 2 Block start step H Step number E Symbol BLOCK zif Step atribute E 7 OK Block Comment Start destination Comment block number display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Symbol BLOCK Step attribute L1 v ment 1 Cancel e Start destination block number Enter the start destination block number Step number The system automatically assigns lower to higher step numbers in the order of entry When you will use the step numbers automatically assigned by the system you can omit the step number input operation Comment creation You can enter a comment of up to 32 characters The comment created can be displayed by step transition comment display operation in the display menu 3 SFC PROGRAM EDITING MELSEC 3 Series transition Transition condition number Enter SFC symbol E Symbol TR te OK OK Bloc Comment Cancel Comment display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol Transition condition number The system automatically assigns lower to higher transition condition numbers in the order of entry
9. Manual Name Manual Number Model Code GPP Function Software for Windows SW4D5C GPPW E V SW4D5C LLT E V Operating Manual Start up Describes the system configuration installation method and starting method of SW4D5C GPPW E V and SW4D5C LLT E V Packed with the product GPP Function Software for Windows SW4D5C GPPW E V Operating Manual Explains the functions of the programming printout monitoring and debugging methods and so on SW4D5C GPPW E V Packed with the product GPP Function Software for Windows SW4D5C GPPW E V SW4D5C LLT E V Starting GPPW Guidebook Provides an SW4D5C GPPW E V SW4D5C LLT E V beginner the illustrated information ranging from the installation method starting method basic knowledge and ladder creation to the editing print out monitoring and debugging methods Option MELSAP II SFC Programming Manual Contains information required for creating SFC programs e g programming method specifications and functions Option QnA CPU Programming Manual SFC Describes the programming method specifications functions and so on required for creating SFC programs Option 0800056 134962 SH 080032 134963 IB 0800057 134966 18 66361 13JF40 IB 66619 13JF51 MEMO 6 1 OVERVIEW MELSEC 1 OVERVIEW 1 1 Product Overview and Features Overview This manual describes the editing and monitoring operations of the SFC functions among the
10. Will the PLC status be changed to STEP RUN Debug can be operated at the time of STEP RUN changing Choosing places the CPU in the STEP RUN status and you can start any item operation of debugging To cancel debugging and return to RUN click Debug during debugging Screen Diagnostics Tools Window Help anster setup Read from PLC Write to Verify with PLC Monitor Trace Debug Remote operation Alt 6 Block break 5 Step break Block run Step run 1 step run Keyword setup gt Clear PLC memory Formal Set time TES Run All Block 5 DEBUGGING STEP RUN MELSEC Item explanation Block break This operation forces an active block into a break block break All block cancel Execute All block register Cancel All block cancel The specified break points registered to the CPU are canceled All block register Q QnACPU only When all blocks have been specified to be registered all active blocks are batch placed into a break Specify block When blocks are specified the specified blocks are forced into a break You can specify up to 16 blocks for the ACPU or up to 64 blocks for the QnACPU Click in the select field to change it to and enter the block number If you change to after block number entry that block will not be the object of break POINTS When a break is established for
11. 3 SFC PROGRAM EDITING MELSEC 2 Performing operation on the device comment editing screen Operation procedure Device comment in project data list COMMENT Setting screen 1 gt Device Display Device Comment Label Part insertion detection 15 Chuck advance end x Maching operation start command Left side face drilling comple Roughing completion signal 2 x3 x6 Unloading carrier advance end 7 Unloading carrier return end xa x9 1 Device name Specify the device which will be commented When creating an SFC comment specify the device name as indicated below Block title BLm Step comment Transition comment BLm TRn m Block number n Step transition number SFC PROGRAM EDITIN 220 2 MELSEC 3 6 2 Editing the Note for Operation Output O x This section provides the operation performed to annotate an operation output ladder For full information on notes refer to THE SW4D5C GPPW E V Operating Manual Operation procedure Edit gt Documentation gt Note Move the cursor to the editing position Alternatively gt Right double click at the editing position Setting screen Enter Note Embeddec C Separate Item explanation 1 Select Embeddec note or Separate note For the ACPU only separate note is available 2 Note editing area 3 button Determines the entered note
12. 72 Chuck ad vance ou tput Unloading carrier movement 5 1036 0 79 Unloadin g carrie advanc e output 6 PRINTING THE SFC DIAGRAMS MELSEC Finished part unloading SM1036 0 Unloadin g carrie r return output s5 Finishing part picking 5 1036 0 79 Unchucki ng Y7A Finishin g part p icking K20 TO Picking processi ng time 6 PRINTING THE SFC DIAGRAMS MELSEC 5 Operation output transition condition list printing example Block No Start of blocks 1 2 Normal SFC Act stop M100 Trans M101 M103 Stop md Act reg D100 n Machined part insertion pusher E l Instruction Device Device comment SM1036 Us Y70 Pusher advance output 81 machined part chucking 5 1036 SUE 71 Pusher return output 2 OUT 72 Chuck advance output 52 Unloading carrier movement 0 LD 5 1036 1 OUT Y78 Unloading carrier advance output Finished part unloading LD 5 1036 OUT Y7B Unloading carrier return output Finishing part picking step Instruction Instruction Device Device comment 0 1 0 5 1036 1 m 79 Unchucking 2 OUT Finishing part picking 3 OUT TO Picking processing time K20 6 PRINTING THE SFC DIAGRAMS MELSEC 6 Block parameter printing example Block parameter MAIN SFC Periodic exec Blk Execution interval Action at BL mult
13. Status bar lt Zoom gt lt Project data list 0 Raw of Zoom setting Set the contact at right Review SFC Display block list Ctrl B Bight v Split Elapsed time Choosing vertical partition or horizontal partition provides the corresponding one of the following displays Note that when operation outputs transition conditions are being displayed clicking the partition display shows only the SFC diagram Horizontal partition ladder Horizontal partition list Vertical partition ladder Vertical partition list 3 SFC PROGRAM EDITING MELSEC 3 14 3 Setting the Number of Contacts for Horizontal Partition x Setting purpose This operation is performed to set the number of contacts displayed in the operation output transition condition ladder which has appeared on the right of the SFC diagram Operation procedure View gt Set the contact at right Setting screen EI o Diagnostics Tools Window Help Display comment of step and Ctrl F5 Display label of step and TR Alt Ctrl FG Ioolbar Status bar Zoom 4 ra Project data list Alt 0 E si e 5contacts 11 contacts Re Display block list Ctrl B Elapsed time POINTS This operation is valid only when Right is sp
14. The present value can be changed between decimal and hexadecimal This change be made by performing Online Monitor Change current value monitor operation If a double word monitored is 10 or more characters it is shown in a smaller character size The present value can be displayed as a double word or real number according to the data type used in the instruction 4 MONITORING MELSEC 3 Device test Holding down and double clicking Enter a contact on the ladder monitor screen forces ON OFF to change to the opposite status olding down and double clicking Enter a word device being monitored shows the following Present value change dialog box Present value change Word device Device s se Setting value DEC v 16 bit intege After entering a new value click the button The present value of the double word instruction e g DMOV DFRO is displayed as a double word Confirm the value of a double word by device batch monitor or device registration monitor When the cursor is on the Zoom side right clicking the mouse shows the device test or device registration monitor menu Perform a test or registration monitor operation for the device which is not on the window being displayed Device test Bit device FORCE ON Close FORCE OFF FORCE ON OFF inversion Word device buffer memory Device z Hexadecimal no need to set C Buffer mem
15. 3 12 4 2 Searching for the Step No Block No 3 44 3412 5 Replacing Me DENCE Seaia e a ete tuse 3 45 3 12 6 Replacing the 0 3 45 3 12 7 Changing the Open Close 3 45 3 12 8 Replacing the Character String essent nnne nnns 3 45 3 12 9 Replacing the Step 3 46 3 12 10 Changing the Note Type 2t tee et ee e ee bide a 3 47 3 12 11 Searching for Contacts Coils cccecceceeseeseeeeceeeeeeesecaeceeeeaeeaecaeceeeeaeeaecaeseeeeaesaesaeseeeeaeeaesaeeeaeeaeeaes 3 47 3 12 12 Searching for the Device Use ener 3 48 3 12 13 Changing the Set Values ceccecceceeseseeceeceeceseeaeceeceeeaeeaesaeceeseaesaesaeseeeeaesaesaeseeesaeeaesaeeeeseateaes 3 48 3 13 Providing Displays recte dete cete vende cete deed pe eee dene eeu 3 49 3 13 1 Displaying the Step Transition Comments 3 49 3 13 2 Displaying the Label in the SFC 3 51 3 13 3 Displaying the Device 3 52 3 13 4 Displaying NOteS tse Pee eb pb epa pute 3 52 3 13 5 Displaying the Label for 3 52 3 13 6 Changi
16. 5 3 5 DEBUGGING STEP RUN MELSEC Step run Moving the cursor to the step to be started and choosing step run forces steps from the specified step on to be active Independently of whether the corresponding block is active or inactive a forced run starts from the specified step When the specified step is in a break the break is canceled and the forced run starts 1 step Moving the cursor to the step to be run and choosing 1 step run tests only the specified step A single cycle ends when the specified step is run the transition condition holds and a transition occurs to the next step POINTS For the Q QnACPU any step can be run independently of whether the corresponding block is active or inactive For the ACPU only the step which was placed in a break status by a step break operation may be run Block forced stopping Q QnACPU only This operation forces the currently displayed block to be inactive Step forced stopping Q QnACPU only Moving the cursor to the step to be forced to an end and choosing Step forced stopping forces the specified step to end be inactive If there is no active step in the corresponding block at the forced end of the specified step that block is ended Reset stored step Q QnACPU only this operation the step within the currently displayed block which has been set to coil hold operation hold without transition check or operation
17. GPP Function software for Windows SW4D5C GPPW E V Operating Manual SFC
18. Searching for the Step No Block No Zoom x Setting purpose This operation is performed to search for the step No in the operation output transition condition sequence program being displayed when the cursor is on the Zoom side Alternatively the specified block Operation procedure Find Replace gt Find step no block Setting screen Find step block 1 j 5 E step block no Exit Item explanation 1 Step No block No input box Enter the step No or block No to be searched for 2 Search destination Select the displayed operation output transition condition or block as a search destination 3 button Click this button to show the ladder of the specified sequence program step No when the step No is specified When the block is specified the SFC diagram in the specified block appears SFC PROGRAM EDITIN 220 2 MELSEC 3 12 5 Replacing the Devices O x This operation replaces the devices and character string constants used in the operation outputs transition conditions Note that when you specified Include SFC block information find targets the devices used in the block information of the corresponding block are also replaced The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 12 6 Replacing the Instructions Q QnA xen
19. When you will use the transition condition numbers automatically assigned by the system you can omit the transition condition number input operation Comment creation You can enter a comment of up to 32 characters The comment created can be displayed by step transition comment display operation in the display menu 3 SFC PROGRAM EDITING MELSEC 4 Selective branch Enter SFC symbol gt 7A Sma b Step attribute z ok ok F Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol Symbol 0 Step attribute Cancel Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 5 Parallel branch Enter SFC symbol TE gt Symbol Step attribute 4 gt OK gt Blot Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol x ment Cancel Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 3 15 3 SFC PROGRAM EDITING MELSEC 6 Selective coupling __ gt
20. and a coupling cannot be used together a single transition condition enter a dummy step Example 1 Example 2 p T For branch coupling line entry entering the number of branches couplings as n creates them from right to left 3 SFC PROGRAM EDITING MELSEC 8 Jump transition y 18 TENE E Symbol z ox he Bloc 15 Cancel L5 Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol Symbol J p attribute t ox nt Cancel Jump destination step number Enter the jump destination step number Clicking the OK button changes the indication of the step specified as the jump destination from to 9 End step MN Symbol END Step attribute E Block Comment Cancel i PROGRAM EDITIN 3 SFC PROG G MELSEC 10 Rule write LJ ee ea ee A gt aF e To write a rule click 7 are gs drag from the first position to the last position of the rule entry POINT If you write a rule over the existing step transiti
21. b compie ion sig al mE left sid Part sur e drilli face rou ng ghing 541036 8 1036 9 2 0 Left sid Rluays 0 Grinding 1 face d K iroughi rill ng 1 left sid e drilli ng compi etion B 0 Left sid B drilli g compl ption 6 PRINTING THE SFC DIAGRAMS MELSEC 2 Block list printing example list a Title Information register Block activation Start of blocks 1 2 Act M100 Trans M101 Clear M103 Stop M102 Reg D100 1 Machining process handling block Act M110 Trans M111 Clear M113 Stop M112 Reg D110 2 Finishing start block BLi Act M120 Trans M121 Clear M123 Stop M122 Reg D120 6 PRINTING THE SFC DIAGRAMS 3 Comment list printing example Block No 0 Start of blocks 1 2 102 Register Step Comment Machined part insertion pusher sl machined part chucking 52 Unloading carrier movement 53 54 Finished part unloading 55 Finishing part picking 56 57 58 MELSEC 6 PRINTING THE SFC DIAGRAMS MELSEC 4 Operation output transition condition ladder printing example Trans M101 Stop M103 so Machined part insertion pusher SM1036 Start of blocks 1 2 Normal SFC 0 Y70 Pusher a dvance o utput machined part chucking 5 1036 0 YT Pusher r eturn ou tput
22. be annotated After creating an SFC diagram and performing a conversion operation perform the following operation to check that the existing SFC program capacity is within the preset microcomputer capacity Operating procedure Tools Set SFC information Program capacity check Screen Check of SFC program capacity Result of program capacity check for converted SFC Setting parameter value of 5 10 0 microcomputer capacity KByte o7 KByte Created SFC program capacity Result of check OK If SFC program capacity is beyond the microcomputer cap appears on the right of Result of check PLC write or another format write cannot be performed as it will result in an error Change the microcomputer capacity setting to a value equal to or greater than the Created SFC program capacity 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSEC 2 2 Precautions for Use of the Motion Controller Item GPPW Software Package for Motion Controller Since the step attribute is not supported a step read in Supported another format is an ordinary step _ However since an operation output program is read Step attribute intact no influence is given to its operations Since an operation output program cannot be created automatically in the system an equivalent program must be created by the user Others With the exception of the step attribute Sv t
23. by specifying an ascending or descending order is as follows When ascending When descending order is specified order is specified 10 Immediately after sorting a Undo operation can 1 be performed only once T4 is step 0 if you specify either the ascending or 5 descending order The SFC comments do move and remain attached to the step and transition numbers After sorting corrections must be made by cutting and pasting the SFC comments SFC devices e g BLm Sn BLn TRn used with the operation outputs transition conditions are not the objects of sorting Sort them by performing a device number changing operation or the like 3 29 3 SFC PROGRAM EDITING MELSEC 3 4 4 Redisplaying the SFC Diagram x 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 oranch coupling line Operation procedure View Review SFC 1 Top shift redisplaying example 3 Unconverted SFC diagram redisplaying example Before editing After editing After operation
24. functions of Type SW4D5C GPPW E V GPP Function Software Package hereafter referred to as GPPW For the functions other than the SFC functions and the specifications related to SFC programs refer to the corresponding manuals given in Related Manuals The following SFC functions are supported by GPPW pa CPU Compatible oe See eee e ACPU If the CPU type series differs the MELSAP II Motion controller specifications and functions are the Qn H CPU A A mode same If the CPU type series differs the e QnACPU END MELSAP3 specifications and functions are the Qn H CPU Q mode E FX seres SFC Not supported O E The motion controller can use the SFC functions like the ACPU with the exception of the SFC symbol SV 1 OVERVIEW MELSEC Features GPPW supported SFC MELSAP II MELSAP3 has the following features SFC is one of the methods that can be used for programming the A series QCPU QnA series CPUs and it stands for S equential F unction C hart By clearly representing the operating sequence of machinery equipment controlled by the CPU this new language makes it easy to grasp the system as a whole and makes programming easier Conforms to IEC 1131 3 Standard In contract to the case where a program represented by ladders is entirely executed every scan only the minimum required part of a program may be run if it is written in the SFC format 1 Many useful editing functions 1 The f
25. method 3 11 SFC diagram deleting method 3 24 SFC diagram equipment name display 3 51 SFC diagram 4 1 SFC diagram print setting 6 1 SFC diagram 3 30 SFC diagram sorting 3 29 SFC diagram symbols A series 3 6 SFC diagram symbols QnA series 3 7 SFC display column setting 3 55 SFC parameter setting 3 37 SFC program 3 39 Index 1 SFC program writing online 3 40 SFC setting option Setting 3 58 Step attribute 3 49 Step number 3 46 Step number search SFC diagram side 3 43 Step number search Zoom side 3 44 Sed EE 5 1 Step transition comment display 3 49 T set value changing 3 47 Timer counter set value changing 3 48 Toolbar menu operation starting from 3 22 Tool button operation starting from 3 12 Z Zoom partition 3 56 Index 2
26. 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 MELSEC series GPP Step Transition number has already existed in paste target Will new number be assigned EE 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 SFC PROGRAM EDITING MELSEC 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 MELSEC series GPP The paste position is incorrect When this window has appeared click the button move the pasting position one row higher or lower then perform a pasting operation again 9 After the pasting operation is over make conversion Note that a conversion error occurs if a branch coupling is incorrect after
27. pasting Therefore make conversion after performing the SFC diagram editing operation POINTS Cutting copying and pasting between different blocks in the same program can be executed by displaying the corresponding blocks by performing Window Tile vertically or Tile horizontally operation Cutting copying and pasting between different projects can be executed after opening the corresponding projects by performing Project gt Start new GPPW session operation Copying of an operation output transition condition sequence program should be done within approx 2k steps 3 SFC PROGRAM EDITING MELSEC 3 4 3 Sorting the SFC Diagram e x This operation reassigns the step transition numbers of the created SFC diagram Operation procedure Tools Sort Setting screen Sorting step numbers Sorting Order _ Set START block number Previous New Decreasing Change START block number 2 Change coe Setting items 1 Sorting Order Specify whether the step transition numbers are in an ascending or descending order 2 Change START block number Specify whether the start destination block number is to be changed or not 3 Set START block number When you have selected Change enter a new block number 4 Execute button Executes sorting as set on the above screen POINTS result of executing sorting
28. position When you insert a step over vertical line without changing the step number the lowest free number of the existing SFC diagram is assigned When the insert position is within a branch ladder vertical line is automatically inserted into another branch 2 Series transition 1 Enter SFC symbol 2n p Symbol Step attribute OK B10 Comment Cancel a A Point the cursor to a desired position and click 5 to insert a transition in the cursor position When you insert a transition over vertical line without changing the transition condition number the lowest free number of the existing SFC diagram is assigned When the insert position is within a branch ladder vertical line is automatically inserted into another branch 3 SFC PROGRAM EDITING 5 gt ra zl Enter SFC symbol 200 Bl Symbol Step attribute OK 1 i Blo a laca 3 Cancel MELSEC 3 Selective branch 7 Enter SFC symbol Symbol Step ath In z ies a Cancel OK
29. the specified block the following window appears MELSEC series GPP i SFC step break point is enabled Stop position is block 1 When break points have been set for the Q QnACPU executing the end step automatically places the blocks into a break Note that no message is given to indicate that a break is established 5 DEBUGGING STEP RUN MELSEC Step break This operation specifies the block number and step number to end a single step run for test step operation step break Ea C all step cancel Execute Cancel All step cancel The specified break points registered to the CPU are canceled Specify step Enter the block number and step number to be set as a break point and the number of cycles times Set the number of cycles in the range 1 to 255 When the preset step of the block is activated the number of times specified as the number of cycles during step run a single step run ends and the step is put into a break POINT When a break is established for the specified block the following window appears MELSEC series GPP SFC step break point is enabled Stop position is block 1 step 1 Block run The block currently being displayed is forced to be active When the corresponding block is in a break status the run resumes from the Step in a break status When the corresponding block is inactive the block is forced to start and the run starts from the initial step
30. 1 1to1 4 1 1 Product Overview and Features 1 1 1 2 Abbreviations and Generic Names Used in This Manual sees 1 3 2 1 Precautions for Use of the 2 1 2 2 Precautions for Use of the Motion Controller 2 3 2 3 Precautions for Use of the 2 4 2 4 Precautions for Use of the 2 4 3 1 SFC Program Editing Outline 3 1 3 1 1 SFC Program Editing Outline Procedure for 3 1 3 1 2 SFC Program Editing Procedure Outline for 3 4 3 2 SFG Diagram Symbol 3 6 3 3 SFC Diagram Editing Basic 3 9 3 4 Creating Modifying the SFC 3 11 3 4 1 Writing am SFO Diagrams eter rtr te hr Ee d EO dea pc ra gres 3 11 3 4 1 2 Deleting the SFC 3 24 3 4 1 3 Changing the Step 3 25 3 4 2 Cutting Copying and Pasting the SFC 3 26 3 4 3 Sorting the SFC Diagrarm 3 29 3 4 4 Redisplaying the SFC 3 30 3 5 Creating the Operation Outputs Transition Conditions
31. 460 210 470 220 480 230 490 240 500 20 l 510 01234568788WN50 0123456789 Active step Non active step Close indication The corresponding step is active indication The corresponding step is inactive 4 5 4 MONITORIN I MELSEC 4 4 Block List Monitor This operation is used to show and monitor a block list Operation procedure View gt Display block list gt F3 Screen No Block title a Active t Transition c Clear Sto Register 2 Start of blocks 1 2 M100 M101 M102 M103 D100 l Machining process handling bl M110 Mlll M112 M113 D110 2 Finishing start block M120 121 122 M123 D120 3 4 5 6 7 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 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 5 DEBUGGING STEP RUN MELSEC 5 DEBUGGING STEP RUN A This chapter explains debugging to step run an SFC program Operation procedure Online gt Debug Debug Change CPU to STEP RUN gt Each item operation Choosing debug shows the following window MELSEC series GPP
32. Bm m start block number Series transition Selective branch ET Right end 1 s Selective coupling Right end Parallel branch Parallel coupling Right end Jump transition i jump destination step 3 SFC PROGRAM EDITING MELSEC QnA series SFC diagram symbol list SFC Diagram Symbol Quantity Dummy initial step Coil hold initial step Operation hold step without transition Any one of these steps in one block check initial step Operation hold step with transition check initial step Reset initial step Initial step Dummy initial step Coil hold initial step Operation hold step without transition check initial step Up to a total of 31 steps in one block Operation hold step with transition check o o c 5 o o S lt initial step Reset initial step Dummy step Coil hold step Operation hold step without transition check Operation hold step with transition check Other than initial step Reset step Block start step with end check Block start step without end check 3 SFC PROGRAM EDITING Class Name Series transition Selective branch Selective branch parallel branch Selective coupling Selective coupling parall
33. MITSUBISHI GPP Function software for Windows SW4D5C GPPW E V Operating Manual SFC gt n Mitsubishi Programmable Logic Controller SAFETY INSTRUCTIONS Always read these instructions before using this equipment Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the CPU module user s manual In this manual the safety instructions are ranked as DANGER and CAUTION N Indicates that incorrect handling may cause hazardous conditions DANGER resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions IN CAUTION resulting in medium or slight personal injury or physical damage M Note that the NCAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user Design Instructions 4 DANGER When data change program change or status control is to be made from a peripheral device to the running PLC con
34. This operation replaces the instructions used in the operation outputs transition conditions of the corresponding block The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 12 7 Changing the Open Close Contacts This operation replaces the open contacts of the devices used in the operation outputs transition conditions of the corresponding block with close contacts and the close contacts with open contacts The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual or B 3 12 8 Replacing the Character String Q QnA This operation replaces the character string of an SFC comment or a note created for operation output The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 SFC PROGRAM EDITING MELSEC 3 12 9 Replacing the Step No x Setting purpose This operation is performed to replace the jump designation step number in the corresponding block or the step number at the hold step reset destination Operation procedure Find Replace Replace step no Setting screen Replace step number 1 9 Block no o Nex 4 epla 5 2 gt I JUMP number Old eplace a New 3 gt W R
35. ach transition In addition a block title is available as a comment related to SFC diagrams This section explains how to create and correct SFC comments and block titles 3 6 1 Creating SFC Comments A FX You can create an SFC comment when entering an SFC symbol Also you can create a block title when converting the SFC diagram This section describes how to create correct only comment data after SFC diagram creation 1 Performing operation on the SFC diagram editing screen Operation procedure Edit Documentation Comment Move the cursor to the editing position Alternatively Z Right double click at the editing position Setting screen Enter device comment COMME Exit 5 Select an SFC diagram symbol in the SFC diagram to perform SFC comment creation correction Select a ladder symbol on the Zoom side to perform device comment creation correction this operation a block title cannot be created corrected About block comments SAP3 When performing file write write to GPPW format or other format file and then PLC write data will disappear unless a comment file is written SAP2 When performing write to other format data will disappear unless a comment file is written If you have created a block title of 25 or more characters on SAP2 performing PLC write or write to other format file will delete the 25th and latter characters
36. arameters Operation procedure PLC parameters in project data list SFC setting of QnA parameter settings Setting screen QnA Parameter PLC name PLC system PLC file PLC RAS Device Program Bootfile SEC SFC program start mode 1 Initial start _ C Resume start Start conditions Autostart block 0 2 i C Do not autostart block 0 Output mode when the block is stopped 3 off Keep Acknowledge assignment Default End setup Cancel 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 i PROGRAM EDITIN 3 SFC PROG G MELSEC 3 9 2 Setting the Block Parameters x O x This section provides how to set the block parameters Operation procedure Tools Set SFC information Block parameter Setting screen Block parameter Periodic execution block Top of block number 1 gt Interval ms r Act at block multi activated 2 Stop blocks Act at step multi activated sae 3 Waiting bl
37. e the existing SFC diagram symbols 1 Operation using the tool button to delete 1 Specifying the area and making deletion Drag 2 Deleting the branch coupling vertical line only 9 1 Drag 2 Operation using the function key to delete e Hold down the Shift key and choose the deletion area with the arrow keys Press the key 3 Operation to delete from the menu on the toolbar With the mouse drag over the area to be deleted Click Cut in the edit menu POINT Performing the Undo operation after making a deletion returns to the status immediately prior to the deletion e Tool button Click h e Function key Menu Click Undo in the edit menu SFC PROGRAM EDITIN 220 MELSEC 3 4 1 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 ae zr 1 Editing Ctrl Makes the preset step attribute invalid 2 Step attribute setting Ctrl Changes the preset step attribute to SC 3 Choose a new attribute Ctrl 3 Changes the preset step attribute to SE SE Q QnACPU only Ctrl Changes the preset step attribute to ST sT Q QnACPU only Change
38. e the parameter setting of the microcomputer capacity and perform a new edit data adding operation Perform the following operation before SFC diagram editing 1 Parameter setting of microcomputer capacity Parameter of Project data list gt PLC parameter Memory capacity parameter x Memory capacity jn RAS PLC system 1 0 assignment Device p Program capacity 3 j Comment 0 2 84 Sequence 1 30 Microcomputer 0 58 Main Ksteps 0 Kbytes D kbytes 0 Point Network Kbytes Expanded comment 0 2 63 Sub sequence Sub mictocomputer _ 0 30 0 Kbytes Point Subl 0 K steps Kbytes sub2 subs f Byte Capacity for debugging p Memory capacity information Main capacity 50 Kbytes Sampling trace 71 Kbytes 22 Sub capacity 0 Kbytes Status latch data memory Kbytes Subi Sub microcomputer Status latch file register Kbytes Total capacity Kbytes File register 0 8 Acknowledge XY assignment Default Check End setup Cancel Set the microcomputer capacity and perform the operation of gt gt End setup 2 Addition of new edit data Project gt Edit data gt New Program T Cancel r Program type C Ladder SFC Data name Choose Program at Data type change Program type to SFC and click the button The following w
39. e the transition condition operation output program step by step E create Save the project This outline procedure is given for your reference You can perform the operations in any order without following the above procedure another Write Write the SFC diagrams and SFC comments to the specified block Display the specified block MELSEC To modify the existing program Read the block to be modified Write insert delete SFC diagram modifying operation Step by step operation output transition condition correcting operation Conversion operation SFC information register setting modification SFC PR RAM EDITIN HORE 2 MELSEC 3 2 SFC Diagram Symbol List O x The following table lists symbols used in SFC programs A block is an operation sequence which starts at an initial step and ends at an end step The smallest units of operations are steps and transitions Further transition conditions and operation outputs are represented in ladder diagrams using the zoom of the display function or in instruction lists A series SFC diagram symbol list Class Name Symbol Quantity oE i Sc i Max 254 steps in each block i 1 to 254 Number of steps in each block more than one step may be provided for the same block More than one step may be provided in each block i
40. ecified for Zoom partition setting When Below is specified for Zoom partition the number of contacts displayed is fixed to 11 contacts 3 SFC PROGRAM EDITING MELSEC 3 14 4 Setting the SFC Setting Options x Setting purpose This operation is performed to set how to open windows during SFC program editing or for monitoring Operation procedure Tools gt Set SFC information Option Setting screen SFC option setting Reference window Zoom windows using a separate window 1 p sae Cancel Zoom window using a single window Zoom mode at block START step 2 M Jump to START block Auto scroll monitor setting 3 T Monitor on new window when executing Block START step explanation 1 Reference window Set whether or not the operation output transition condition sequence program windows will be tiled 2 Zoom mode at block START step Set whether or not a jump will be made to the start destination block when the cursor moves to the block start step 3 Auto scroll monitor setting Set whether or not the window of the start destination block will be opened for monitoring when the active step transits to the block start step during SFC diagram monitoring 4 MONITORING MELSEC 4 MONITORING 4 1 SFC Diagram Monitor QQnA This operation is used to monitor the operation and control status of the PLC CPU wit
41. el branch Parallel branch Parallel coupling Parallel coupling parallel branch Parallel coupling selective branch Parallel coupling selective Block end Block end SFC Diagram Symbol MELSEC Quantity More than one block end may be provided in one block 3 SFC PROGRAM EDITING 3 3 SFC Diagram Editing Basic Screen MELSEC 1 Whole screen make up Project Edit Find Replace Convert View Online Diagnostics Tools Window Help 2 PES T 3 elele elel st 8 1e z x amp pla aed ea tsp 3 Device comment Parameter Device init a m E n SSS RE Ready 02451 Host 14 Lb zl 8 1 Area for displaying the project name being edited the number of steps used the block number being displayed and so on 2 Menu names on the menu bar 3 Icons on the toolbar 4 Project list display 6 Operation output transition condition program editing area Zoom side 7 Edited CPU type 8 Edit mode overwrite insert 5 SFC diagram editing area 3 SFC PROGRAM EDITING
42. eration starting from 3 23 F Function key operation starting from 3 22 H Horizontal partition contact count setting 3 57 Instruction replacement 3 45 Instruction search 3 42 L Label display operation output 3 52 Label display SFC diagram 3 51 Ladder mode list mode switching 3 53 M Microcomputer 3 3 Multiple windows opening 3 54 N Note display eese 3 52 Note editing 3 34 Note type changing 3 47 O Open Close contact changing 3 45 Operation output note display for 3 53 Operation output transition condition creation 3 31 Operation output transition condition ladder monitor 4 3 Operation output transition condition switching to ladder mode list mode 3 53 P PLC parameters SFC setting 3 37 Printing 6 2 S SFC comment creation 3 32 SFC comment 3 49 SFC diagram 3 26 SFC diagram creating
43. eset number Old explanation 1 Block no Enter the first block No to be replaced 2 JUMP number Specify whether the jump destination number is to be replaced or not and if it is to be replaced enter the old and new step numbers 3 Reset number Only for Q QnACPU Specify whether the step number at the hold step reset destination is to be replaced or not and if it is to be replaced enter the old and new step numbers 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 SFC PROGRAM EDITING MELSEC 3 12 10 Changing the Note Type O O x This operation replaces the type of the note created for the operation output with Embeddec or Separate For the ACPU you cannot change the note type since it is fixed to Peripheral The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 12 11 Searching for Contacts Coils Fx This operation lists where the specified devices are used in the operation outputs transition condit
44. figure up an interlock circuit in the outside of the PLC system to ensure that the whole system will always operate safely Also determine corrective actions to be taken for the system when a communication error occurs due to a cable connection fault or the like in online operation performed from the peripheral device to the PLC CPU N CAUTION Online operation performed with a peripheral device connected to the running CPU module especially program change forced output or operating status change should be started after carefully reading the manual and fully ensuring safety Not doing so can cause machine damage or accident due to miss operation REVISIONS The manual number is given on the bottom left of the back cover Print Date gt Manual Number Revision Sep 1999 SH NA 080033 A This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 1999 MITSUBISHI ELECTRIC CORPORATION A 2 INTRODUCTION Thank you for choosing the Mitsubishi MELSEC Series General Purpose Programmable Controller Before using the equipment please read this manual carefully to use the product to its optimum A copy of this manual should be forwarded to the end user CONTENTS 1 OVERVIEW
45. g SFC program is within the microcomputer capacity For full information refer to Section 2 1 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 1 Two or more operation outputs transition conditions cannot be written during RUN at the same time Perform an online writing operation every time a correction has been made 2 An SFC diagram cannot be written during RUN After creating or modifying an SFC diagram STOP the CPU and write the diagram using Write in the online menu 3 SFC PROGRAM EDITING MELSEC POINT The way to perform operation to write an operation output transition condition during RUN is the same as in the online ladder writing operation For more information on the operation refer to the SW4D5C GPPW E V Operating Manual 3 12 Making Searches Replacements For a search replacement made in an SFC program the object area changes with the searching direction specified a Downward b Downward from c Upward from from top cursor position cursor position Block 0 Block 1 Cursor position Block 2 Block n When a search replacement is to be performed 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 spec
46. h SFC diagrams and to conduct test operations Operation procedure When monitoring Online Monitor Monitor mode amp F3 4 When stopping monitoring Online gt Monitor gt Stop monitor or 3 When resuming monitoring Online gt Monitor gt Start monitor or T 3 Screen TRAN Phuck ad pance MAIN RAM 7H e 1 During SFC diagram monitoring steps are shown as follows blue Active step yellow Step specified as a hold step and being in a hold status For the Q QnACPU only Shown as an inactive step for the ACPU Inactive step 2 Shown on the Zoom side is the operation output transition condition ladder of the step or transition at the cursor position on the SFC diagram side 4 MONITORING MELSEC 3 When there is a block start step the monitor destination block can be changed by moving the cursor to the block start step and pressing the space key To monitor a block which has no block start step show the block list and double click the monitor destination block No field Alternatively type the monitor destination block No show the Find step no block no window and make a block search POINTS Automatic scroll monitoring When the active step has gone off the screen redisplay it on the screen by automatic scroll
47. he precautions are the same as those for use of the ACPU 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSEC 2 3 Precautions for Use of the QnACPU x Software Package for Motion Controller SFC comments are handled as common comments SFC comments are handled as program by program comments When another format file write is performed from GPPW to GPPQ the file is divided into a program file and a comment file and therefore renaming and other operations are needed on GPPQ If an SFC diagram created is redisplayed in a different Same specifications as those of GPPW pattern verifying that diagram may result in a mismatch SFC comments Example Created Redisplayed SFC diagram pattern A mismatch occurs if the above SFC diagram is redisplayed or project read converted and verified mismatch occurs if the above SFC diagram is redisplayed or project read and converted and verified 2 4 Precautions for Use of the Qn H CPU There are specific precautional restrictions since the SFC program editing of the QnCPU is made only with GPPW 3 SFC PROGRAM EDITING MELSEC 3 SFC PROGRAM EDITING 3 1 SFC Program Editing Outline Procedure 3 1 1 SFC Program Editing Outline Procedure for ACPU 3 x GPPW start Y To create new prog
48. hold with transition check and is in a hold status is forced to be reset and inactive When the specified step is not in a hold status or is not a hold step the operation is ignored and a forced reset is not executed Run all block ACPU only All blocks put in a break by a block break are activated and steps from the one in a break are forced to run 6 PRINTING THE SFC DIAGRAMS MELSEC 6 PRINTING THE SFC DIAGRAMS 6 1 SFC Diagram Print Setting QQnA Fx Operation procedure Project gt Print Choose SFC Setting screen Print List of used device Device memory Device init PLC parameters Network parameters List of coil used Project contents list TEL Title SFC Ladder Instruction list TC setting Device comment SFC diagram print item Select program SFC diagram MAIN gs Block list 1 F Comments lit Action Transition Ladder Instruction list 4 Block parameter Option Device comments 2 gt Action 6 5contacts 11 contacts Transition Print range c Seting Allrange 5 Range setting 3 gt Print SFC column numbers are 2 A In case of blocks under conversion before printing make sure that conversion is completed Printer setup Page setup Multiple printing Print Print preview f Close explanation 1 SFC diagram print item The items checked in the corresp
49. i act Action at step Multi activated INDEX A Active step 4222 4 5 All block batch monitor 4 5 B Block information setting 3 35 Block list display sss 3 36 Block list 2 4 6 Block number search SFC diagram side 3 43 Block number search Zoom side 3 44 Block 3 38 C Character string replacement 3 45 Character string search 3 42 Contact coil 3 47 Contact coil use 1 3 47 Conversion operation 3 40 D Debugging step 5 1 Device comment display 3 52 Device label 3 52 Device 3 45 Device 3 42 Device 4420402 4 4 Device use 1 4 22222 21 3 48 Device use 3 48 E Edit data adding 3 3 Enter key op
50. ified range step range specify the step numbers e g of the SFC diagram SFC PROGRAM EDITIN 220 2 MELSEC 3 12 1 Searching for a Device O This operation searches for the specified device to find the operation output transition condition of the corresponding block it is used The cursor moves to the step or transition in the SFC diagram being used and at the same time the operation output transition condition sequence program appears The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 12 2 Searching for an Instruction This operation searches for the specified instruction to find the operation output transition condition of the corresponding block it is used The cursor moves to the step or transition in the SFC diagram being used and at the same time the operation output transition condition sequence program appears The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 12 3 Searching for a Character String This operation searches for the specified character string to find it is used as an SFC comment or an operation output note A device comment will not be searched for The cursor moves to the step or transition in the SFC diagram being used and at the same time the operation output transition c
51. indow then appears MELSEC series GPP The newly specified data name MAIN SFC already exists as OK to clear edited data Choosing enables an SFC diagram to be edited under the data name of MAIN SFC 3 SFC PROGRAM EDITING MELSEC 3 1 2 SFC Program Editing Procedure Outline for Q QnACPU x GPPW start To create new program To modify the existing program Creation of new project Set the PLC series PLC type and project name and set the program type to SFC Open the project SFC parameter setting Set the SFC program start mode block 0 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 reference window a jump to start destination block and automatic scroll monitoring Toolbar setting Set the toolbar display for SFC 1 3 SFC PROGRAM EDITING 1 y Select the language Set the number of contact columns displayed y Set the SFC display column v To create new program SFC write Write SFC diagram from block 0 y Conversion operation x SFC information register setting Writ
52. ing To perform automatic scrolling click HI or choose Online gt Monitor Auto scroll monitor 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 During monitoring you cannot edit SFC diagrams During editing you cannot monitor SFC diagrams If you open the write or monitoring write screen during automatic scrolling automatic scroll monitoring stops When you resume monitoring automatic scroll monitoring also resumes 4 MONITORING MELSEC 4 2 Transition Condition and Operation Output Ladder Monitor This operation is used to monitor a ladder for the step or transition condition at the cursor position in an SFC diagram Screen MAIN RAM 1 Ladder monitor During monitoring ON OFF of a contact or coil or the present value of a device is shown and it changes with the PLC operating status The ON and OFF states of a ladder are as shown below OFF gt C nf IF Only the contact equivalent compare instructions and coil equivalent SET RST PLS PLF SFT SFTP MC FF DELTA and DELTAP are supported FF DELTA and DELTAP are the instructions of the QnA series Note that the display is held at a stop of monitoring and is updated on resumption of monitoring 2 Present value The present value of a word device appears
53. ing type must be specified its module type is provided Abbreviation Generic Name Description Corresponding Module Generic name for PLC CPUs of MELSEC Qn H CPU Q mode which allow SFC programs to be edited Generic name for PLC CPUs of MELSEC Qn H CPU A A mode which allow SFC programs to be edited Described as the ACPU in this manual Generic name for PLC CPUs usable with the MELSEC A In this manual the Qn H CPU A A mode and motion controller are also included QCPU Note that GPPW does not support the 1 A2 A52G A73 and A0J2 Generic name for PLC CPUs usable with the MELSEC QnA SWLISRXV GPPA SWLIIVD GPPA Software package for motion Generic name for software packages for motion controller which allow SFC programs to be controller edited 1 OVERVIEW MELSEC MEMO 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSEC 2 PRECAUTIONS FOR CREATING SFC PROGRAMS This chapter gives precautions for creating SFC programs with GPPW 2 1 Precautions for Use of the ACPU Item GPPW GPPA User Cannot be created The A0J2H AnS AnSH and AnNCPUs allow SFC and microcomputer Erased if another format file that is read includes a microcomputer programs to exist together program microcomputer program other than an SFC program The parameter setting of the microcomputer capacity A program can be created within the parameter set must be made However since the capacity is not micr
54. ions and block information The symbols displayed represent the following Step field eS Step TR Transition 9 Sequence step field Block Active bit for ACPU Block START END bit for QnACPU et Steptransition bit Block clear bit for ACPU Continues transition bit for es stop bit for ACPU Block PAUSE RSTARA bit for QYACPU PAUSE mode bit for QnACPU Active step number register for ACPU Number of active steps register for The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual SFC PROGRAM EDITIN 3 SFC PROG G MELSEC 3 12 12 Searching for the Device Use Status x 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 SW4D5C GPPW E V Operating Manual 3 12 13 Changing the T C Set Values Fx 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
55. ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 SFC PROGRAM EDITING MELSEC 3 13 Providing Displays 3 13 1 Displaying the Step Transition Comments x Setting purpose This operation is performed to show the created SFC diagram with SFC comments Operation procedure 1 Choose View Display comment of step and TR Ctrl F5 1 2 E 0 2 0 p 4 sc 1 t 5 1 6 7 7 B1 8 B2 8 2 LT4 9 10 2 3 11 7 machined part ch ucking 5 1 chucking complet ion 3 SFC PROGRAM EDITING MELSEC 3 When the SFC comments are being shown choosing View Display comment of step and TR Ctrl F5 hides the SFC comments POINT This operation is valid only when the cursor is on the SFC diagram side 3 SFC PROGRAM EDITING MELSEC 3 13 2 Displaying the Label in the SFC Diagram Setting purpose This operation is performed to show the created label on the SFC diagram creation screen Operation procedure 1 Choose View Display label of step and TR Alt Ctrl F6 0 Machined 2 Machined part in sertion comple 3 4 scli machined part ch ucking 5 chucking complet io n Label Ste
56. ng the Operation Outputs Transition Conditions to the Ladder Mode List Mode 3 53 3 13 7 Opening multiple WiNGOWS cccccccecceeceeeseeeeceeeesecaecaeceeeeaeeaecaeceeseaeeaesaeseeeaesaesaeseeeeaeeaesaeseeeeateaes 3 54 3 14 Setting the SFC Diagram 777 3 55 3 14 1 Setting the SFC Diagram 3 55 3 14 2 Setting the Zoom gt o e 3 56 3 14 3 Setting the Number of Contacts for Horizontal Partition 244444 0 3 57 3 14 4 Setting the SFC Setting Options 3 58 4 MONITORING 4 110 4 6 4 1 SFC Diagram 4 1 4 2 Transition Condition and Operation Output Ladder Monitor sse 4 3 4 3 All Block Batch Monitor and Active Step 4 5 4 4 Block List Monitor e i ee diene edi 4 6 5 DEBUGGING STEP RUN 5 1105 4 6 PRINTING THE SFC DIAGRAMS 6 1 to 6 10 6 1 SFC Diagram Print 6 1 6 2 SFC Diagram Printing 6 2 About Manuals The following manuals are also related to this product In necessary order them by quoting the details in the tables below Related Manuals
57. ocks Stop blocks g Cancel explanation 1 Periodic execution block All blocks from the set block number onward are periodic execution blocks To process all blocks every scan leave the input area blank Enter the execution interval within the range 1 to 65535 ms in 1ms increments 2 Act at block multi activated If a start request is made from another block while a block in the designated range is active an error occurs and CPU operation stops The operation mode in the event of a double start for blocks outside the designated range is Wait To set Wait for all blocks leave the first and last input areas blank 3 Act at step multi activated If a double start occurs with respect to any step in the range for which Waiting blocks is designated operation is suspended until the corresponding step becomes inactive If a double start occurs with respect to any step in the range for which Stop blocks is designated an error occurs and CPU operation stops If a double start occurs with respect to a step outside the specified range a forced transition is executed 3 38 SFC PROGRAM EDITIN 3 SFC PROG G MELSEC The block parameter settings are common to all blocks They cannot be set for individual blocks 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 Operation procedure Tools gt Se
58. ocomputer capacity and SFC set block count SFC capacity checked at the time of creation checking operation is ranges needed to make sure that the SFC capacity is within the microcomputer capacity range Refer to POINT Maximum block count setting A program can be created as desired within the maximum number of blocks 256 blocks For another format write or PLC write write up to the largest existing block number as a set value However write 32 when the existing blocks are within 32 Up to which block of the maximum number of blocks 256 blocks will be created must be set on the SFC diagram editing screen Default value 32 As the CPU type is changed with the parameter setting CPU type change of the microcomputer capacity remaining unchanged Without QnA ACPU conversion function for QnA ACPU from Ok bytes the microcomputer capacity setting must SFC program be changed after CPU type changing Representation of hold step Representation of hold step Hold step Different in only representation method and identical in function A block start step is also handled as a single step and a The comment displayed at the block start step is the block step comment appears when SFC comment indication is title of the start destination block given Start destination block number Step number Start destination ue block number 7 B1 1 Machining operati
59. on Block start step output block Block 1 Start step Step comment of step 7 42 Block title of start destination block program printed is as displayed on the screen 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSEC SFC comment creation SFC comments may either be created simultaneously with SFC diagram creation or during comment editing SFC comments are handled as common comments and device comments can be created with a block title specified as a step comment as BLm Sn and a transition comment as BLm TRn SFC comments are created in the SFC diagram writes mode SFC comments are handled in SFC diagrams only they cannot be handled as device comments Block title Can be edited up to 32 characters When the block title is reread after another format write or PC write a character string of more than 24 characters are erased The block title is not read if the file stored without SFC comment copying being performed for a renaming or copying operation on GPPA is read in another format The block title is read if it is read in another format after making re conversion on GPPA Can be edited up to 24 characters Note for operation output Each coil instruction of an operation output can be annotated When written to GPPA in another format the note for operation output is not written An operation output cannot
60. on the step transition symbol and operation output transition condition sequence program are not erased 11 Row insert Edit Insert line gt Shift Insert 12 Column insert Edit Insert row gt Ctrl Insert 13 Row delete Edit Delete line gt Shift Delete 14 Column delete Edit Delete row gt Ctrl Delete 3 SFC PROGRAM EDITING MELSEC 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 O Enter SFC symbol Symbol STEP Step attribute k Comment Cancel Point the cursor to a desired position and click the SFC symbol step to insert a step in the cursor
61. onding check boxes is printed 2 Option The items checked in the corresponding check boxes is added Some additional information items cannot be selected according to the print items 3 Setting Set the number of print columns on a single page The diagram is printed with automatic magnification reduction specified according to the set number of columns 4 Select program Choose the program name to be printed 5 Print range Set all area all blocks or the specified blocks 6 PRINTING THE SFC DIAGRAMS MELSEC 6 2 SFC Diagram Printing Examples This section shows examples of SFC diagrams printed Note that according to the number of branches couplings and the number of steps an SFC diagram is printed on two or more pages with a position indicating numeral printed at top right of each page m gt m n m n m n m Ra eee 1 SFC diagram printing examples Additional information not selected Block No Machining operation output block Normal SFC M113 PRINTING THE SFC DIAGRAMS 9 MELSEC Additional information only device comment selected Block No EE Machining operation output block Normal SFC Start M110 M111 Pause M113 Pause md M114 D110 M115 1 1 E Machinin g prepar ation 0 3 7 12 17 Standard S
62. ondition sequence program appears The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual SFC PROGRAM EDITIN 3 SFC PROG G MELSEC 3 12 4 1 Searching for the Step No Block No SFC Diagram x Setting purpose This operation is performed to show the specified block on the screen by specifying the block No and step No transition No when the cursor is in the SFC diagram Operation procedure Find Replace Find step no block no Setting screen Find step no block Block number fo zl Close Step Transition Step 2 28 Transition 1 1 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 This operation is valid only when the cursor is on the SFC diagram side When the cursor is in the SFC diagram pressing any number key shows the following window Find step no block no z o 6 step C block no Exit Clicking the button or pressing the key allows the cursor to move to the specified step in the SFC diagram currently displayed Also turning on the block no radio button enables a block search i PROGRAM EDITIN 3 SFC PROG G MELSEC 3 12 4 2
63. ory Unit start 1 0 lowest digit Address HEX Setting value bit integer Set 4 MONITORIN MELSEC 4 3 All Block Batch Monitor and Active Step Monitor This operation is used to monitor the active inactive states of all blocks in a list form and to monitor the step active inactive states of the specified block from the block list in a list form Operation procedure Online gt Monitor gt All block batch monitor Screen INoJO123456789N00123456789 Active step monitor 0 160 10 170 20 180 Close 30 190 40 200 60 210 60 220 70 230 80 240 80 250 100 280 110 270 120 280 130 290 140 300 150 310 010123456 7 0 123456780 0 Active block Non active block indication The corresponding block is active indication The corresponding block is inactive To monitor the specified block for step active inactive states click the field of the block to be monitored and click the Active step monitor button 5010 123456789 01234567889 01 1 1 1 1 1 1 1 1 10 270 20 280 30 290 40 300 50 310 60 320 70 330 80 340 90 350 100 360 110 370 120 380 No0123456789N00123456789 130 390 140 400 180 410 160 420 170 430 180 440 190 450 200
64. p comment achined E in 3 When the label are being shown choosing View Display label of step and TR Alt Ctrl F6 hides the label POINTS Create label on the device comment editing screen Labels are not written if they are created on the ACPU and written to a GPPA format file This operation is valid only when the cursor is on the SFC diagram side SFC PROGRAM EDITIN 3 SFC PROG G MELSEC 3 13 3 Displaying the Device Comments This operation shows the operation output transition condition sequence program with device comments This operation is valid only when the cursor is on the Zoom side operation output transition condition side The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 13 4 Displaying Notes This operation shows the operation output transition condition sequence program with notes The operation method is the same as in the ladder mode This operation is valid only when the cursor is on the Zoom side operation output transition condition side For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 13 5 Displaying the Label for Devices This operation changes the devices in the operation output transition condition sequence program to labels This operation is valid only when the cursor is on the Zoom side operation ou
65. ram To modify the existing program Open the project Creation of new project Setting of PLC series PLC type and project name Parameter setting Set the microcomputer capacity by setting the memory capacity in the PLC parameter Refer to POINT 1 Addition of new edit data Newly add program type SFC as edit data Refer to POINT 2 SFC option setting Set the reference window a jump to start destination block and automatic scroll monitoring Select the language Set the number of contact columns displayed Set the SFC display column To create new program To modify the existing program SFC write Write SFC diagram from block 0 2 3 SFC PROGRAM EDITING MELSEC 1 2 Write Read the block to be modified Write the SFC diagrams and SFC comments to the specified block Y Write insert delete SFC diagram modifying operation Step by step operation output transition condition correcting operation Block information Display the specified block Write the transition condition operation output program step by step To create another block Conversion operation Block information v Check the SFC program capacity v Save the project 3 SFC PROGRAM EDITING MELSEC POINTS When creating a new SFC program you need to mak
66. s 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 SFC PROGRAM EDITING MELSEC 3 Operation starting from the menu on the toolbar 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 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 i 1 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 Operation starting from the key is a method useful for entry of steps and transitions consecutively in the column direction SFC PROGRAM EDITIN 220 2 MELSEC 3 4 1 2 Deleting the SFC Diagram O x This section explains how to delet
67. s the preset step attribute to R and Ctrl sets the reset destination step No e When it has already been set to R Q QnACPU only changes the reset destination step No POINT If the step attribute has been changed the existing operation output sequence program remains unchanged 3 SFC PROGRAM EDITING MELSEC 3 4 2 Cutting Copying and Pasting the SFC Diagram O O x 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 2 F2 2 Click the first position of the SFC diagram to be cut and move the cursor 3 Drag over the area to be cut or copied The specified area is highlighted 4 When cutting choose Edit Cut or 3 or when copying choose Edit Copy or amp Ctrl 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 SFC PROGRAM EDITING MELSEC 6 When you choose Edit Paste or Ctrl V the Paste data window appears Make pasting choices Paste data 1 gt FV Action and TR data Step and TR comments 2 gt change the step and TR number when it is pasted Cancel 1 Selection of whether or not the
68. t SFC information SFC type Setting screen SFC program type setting SFC program type setting Cancel Control SFC type explanation When Control SFC program is selected an SFC program can be created for block 0 only Note that if a block start step 4 is designated in block 0 an error occurs when the program is executed and CPU operation stops 3 SFC PROGRAM EDITING MELSEC 3 10 Conversion Operation Q x The following types of conversions are available according to SFC diagram editing and operation output transition condition editing Operation Output Transition Conversion Definition Condition Editing conversion F o Only one operation output transition condition being edited is converted Conversion All programs being All programs being edited are batch converted edited Conversion writin T 7 9 The operation output transition condition being edited is written during RUN during RUN conversion Only one SFC diagram block being edited is converted SFC Diagram Editing conversion All SFC diagram blocks being edited are batch converted The block No s in SFC diagram conversion error and the number of errors Block conversion error are displayed A detailed error is displayed per block specified For the ACPU make an SFC program capacity check after conversion operation to make sure that the existin
69. tandard Special Special Part def goods r goods f goods A goods B ective d oughing inishing machinin machinin etection start start g start g start x5 L 15 Dummy st Part sur Special Special Correcti ep face fin goods A goods B on No 1 ishing pre mach pre mach process ining ining work 5 4 8 13 18 Start PB Finishin Pre mach Pre mach Correcti ON stan g comple ining co ining co on compl dby tion mpletion mpletion etion 1 412 B3 16 Left sid Part sur ID machi Painting Correcti e drilli face rou ning process on inspe ng ghing block s ction pr tart ocess 1 9 14 Left sid ID machi Painting e drilli ning com complet ng compl pletion ion etion 19 22 Correcti Correcti on resul on resul t OK t NG 6 PRINTING THE SFC DIAGRAMS MELSEC Additional information all selected Block No Machining operation output block Act stop M110 M111 Stop M113 Machinin 9 prepar ation 5 1036 2 b Always 0 Machinin g operat ion prep aration 3 Standard Standard goods z goods f coughing inishing start start x2 M25 x2 M25 et irr p f f achinin Finishin achinin Finishin B operat g start b operat g start Eon star signal star signal comman conman Cis Dummy st Part sur ep face fin ishing 341036 Always Grinding ifinish ing RST MIS Roughing complet ion flag RST M25 Finishin g start signal 25 4 Start PB Finishin OW stan 8 comple tion 5 inishin
70. tion as a device comment of BLm 3 SFC PROGRAM EDITING MELSEC 3 8 Displaying the Block List Show the currently edited SFC program in a list form to monitor it or to perform block by block editing e g cut and paste Operation procedure View Display block list Block list screen No I Block title a Active t Transition Clear Stop r Register 0 Start of blocks 1 2 1 1 Machining process handling 10 Mil M12 M13 D10 2 Finishing start block 20 M21 M22 M23 D20 0 od 10 1l 12 13 14 15 16 17 18 1 One screen displays 32 blocks Using the scroll bar Page Down or LT L1 key you can change the displayed blocks 2 Indicates whether the corresponding blocks have been converted or not Already converted Not yet converted POINTS In the SFC block list you can perform the following 1 Block information setting correction 2 Batch copy between blocks 3 Jump to SFC diagram display in the specified block 4 SFC monitoring in the block list 5 Batch Conversion of unconverted blocks 3 SFC PROGRAM EDITING MELSEC 3 9 SFC Related Parameter Settings Among the parameter settings made for operating the Q QnACPU 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 p
71. tion starting from the tool button Write overwrite operation example 1 Step LJ X Attribute selection Enter SFC symbol amp E Symbol srEP Step attribute r1 OK OK gt Step in DIOC C t Cancel number ommen display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Enter SFC symbol Step number The system automatically assigns lower to higher step numbers in the order of entry When you will use the step numbers automatically assigned by the system you can omit the step number input operation At a dummy step you can create an operation output program if it is marked which will change to automatically after the program is created Step attribute When adding a step attribute click and choose the attribute you want to add When you chose the reset step R as a step attribute enter the reset destination step number after making selection Enter SFC symbol Symbol BE Step attribute 5 4 ok Cancel 3 SFC PROGRAM EDITING MELSEC Comment creation You can enter a comment of up to 32 characters The comment created can be displayed by step transition comment display operation in the display menu
72. tput tran sition condition side The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual 3 SFC PROGRAM EDITING MELSEC 3 13 6 Changing the Operation Outputs Transition Conditions to the Ladder Mode List Mode A FX Rem em me This operation changes the edit mode of the operation output transition condition sequence program This operation is valid only when the cursor is on the Zoom side operation output transition condition side The operation method is the same as in the ladder mode For details of the operation method refer to the SW4D5C GPPW E V Operating Manual i PROGRAM EDITIN 3 SFC PROG G MELSEC 3 13 7 Opening multiple Windows x Setting purpose This operation is performed to tile two or more different operation outputs transition conditions to check or monitor the program Operation procedure Hold down and double click the step or transition of the SFC diagram whose window will be opened Screen When making a new window SFC Edit mode MAIN SFC Block 0 Total 193Steps Start of blocks 1 2 new window appears 1 2 3 CDUTEUBUERTEN Start of blocks 1 2 machined part chucking every time operation is an FSFE Sep Bote O Trane 0 Stat Mock To i performed When not making a new window SFC Edit mode
73. unction keys tool buttons menu bar and so on improve programming operations 2 You can easily cut and paste your SFC diagrams between two or more windows 2 A wealth of monitoring functions 1 Monitoring an SFC diagram for the active steps of an SFC program 2 Monitoring a ladder diagram for the active devices of operation outputs and transition conditions 3 Displaying a list of all blocks and batch monitoring the active states of the blocks 4 Automatic scrolling enables the track monitoring of the active step 3 Many useful test functions 1 Ease of forced ON OFF and present value changing of the specified devices 2 Forced start stop and temporary stop of the specified blocks 4 Comment editing and printing choices 1 Comments can be written to each step of each SFC diagram 2 You can select printing according to your application e g SFC diagram with operation outputs and transition conditions appended with SFC comments appended or just the diagram itself Windows is either a trademark or registered trademark of Microsoft Corporation in the United States Other company and product names herein are either the trademarks or registered trademarks of their respective owners 1 OVERVIEW MELSEC 1 2 Abbreviations and Generic Names Used in This Manual In this manual the GPP Function Software Packages and PLC CPU modules are represented by the following generic names and abbreviations When the correspond

Download Pdf Manuals

image

Related Search

Related Contents

  Tripp Lite Cat5e 350MHz Bulk Stranded-Core PVC Cable - Gray, 1000-ft.  Operating Instructions - VEGAPULS 61 - 4 ? 20 mA/HART  USB2.0対応 高速プログラマ搭載 dsPIC30Fシリーズ  JOY SETS HIGH STANDARDS. BMW チャイルド・シートで、お子様の  Sharp XV-Z12000  

Copyright © All rights reserved.
Failed to retrieve file