Home

GX Developer Version8 Operating Manual(SFC)

image

Contents

1. 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 E n Step attribute Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 9 Parallel coupling Enter SFC symbol gt gt Symbol Step attribute 1 1 gt Black FESSA eret 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 ik tibus E 7 Lxx m n Cancel Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 3 SFC PROGRAM EDITING MELSOFT POINTS Input method used when a branch and a coupling are used together in a single transition condition As a branch and a coupling cannot be used together in a single transition condition enter a dummy step When the FXCPU is used there is no symbol called dummy step so input a general step There is no need to input a control output circuit and so on in a dummy step Example 1 Ba Co Dummy step X Dummy step T
2. Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose new diagram symbol Enter SFC symbol Symbol B loc Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 3 SFC PROGRAM EDITING MELSOFT 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 o o Area for 1 step re xd Example 2 gt Area for 1 step MT 522 2 For ACPU As a branch and a coupling cannot be used together in a single transition condition enter a dummy step Example 1 c gt ES For branch coupling line entry entering the number of branches couplings as n creates them from right to left 3 SFC PROGRAM EDITING MELSOFT 8 Jump transition L Enter SFC symbol DT s E Symbol JUMP Step attribute E ok Block SS Commen Cancel OK 6 Diagram symbol The diagram symbol name selected appears
3. 2 SFC diagram editing screen make up Column number FN a ee EUNT Y Arq E PUN eS eI LES 2 gos Note display area E war 11 P E SFC Device AE comment comment NE 3 XO Der ug Hej AS gt y SFO p 74 comment gt 1 Bi 2 0 i 3 12512 11 te Row Step number Start destination Transition Jump destination In ZOOM ladder number block number number step number step number POINTS The 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 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 gt 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 SFC PROGRAM EDITING ME
4. 3 SFC PROGRAM EDITING MELSOFT 3 5 Creating the Operation Outputs Transition Conditions Q QnA EON WES 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 SW5D5C GPPW E V Operating Manual 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 OnACPU 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 amp or 1 click the button Tran H is entered automatically For entry in list representation enter only the contact instruction and the dummy coil Tran H need not be entered For the ACPU no transition condition can be entered into the block starting step The condition entered is ignored if the SFC program is executed after write to the PLC CPU and execution transits to the next step at the END step processing of the start destination block Note that the following guidance appears when the transition condition is entered or the SFC chart is converted When the transition condition is ente
5. 3 73 N Note display esee 3 70 ath 3 48 Note type 3 65 O Open Close contact changing 3 63 Operation output note display for 3 71 Operation output transition condition creation 3 45 Operation output transition condition ladder monitor 4 4 Operation output transition condition switching to ladder mode list mode 3 71 P PLC parameters SFC setting 3 53 Printing examples when or Q QnACPU is used 6 2 Printing examples when the FXCPU is used 6 11 S SFC comment 3 46 SFC comment 3 67 SFC diagram 3 40 SFC diagram creating method 3 13 SFC diagram deleting method 3 38 SFC diagram equipment name display 3 69 SFC diagram 4 1 SFC diagram print 6 1 SFC diagram redisplay 3 44 SFC diagram 3 43 SFC diagram symbols A series 3 7 SFC diagram symbols QnA series 3 8 SFC di
6. 3 60 Contact coil 3 65 Contact coil use 1 3 65 Conversion 3 58 D Debugging step 5 1 Device comment display 3 70 Device label 3 70 Device replacement 3 63 Device search sss 3 60 Device test a 4 5 Device use 22 3 66 Device use 3 66 Displaying in MELSAP L Format 7 72 Displaying the Reference Window 7 72 E Edit data adding 3 3 Enter key operation starting from 3 37 F Function key operation starting from 3 36 H Horizontal partition contact count setting 3 76 Instruction replacement 3 63 Instruction 3 60 Index 1 L Label display operation output 3 70 Label display SFC diagram 3 69 Ladder mode list mode switching 3 71 M Microcomputer 3 3 Multiple windows opening
7. Enter SFC symbol gt gt Symbol Step attribute i 4 Block Comment Cancel OK POINTS Entering n as the number of branches couplings enters them from right to left Example Number of couplings 1 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 SFC PROGRAM EDITING MELSOFT 2 Operation starting from the function key 1 The SFC symbols are assigned to the following function keys Step SECsmbi ovo b tl m Shift F6 Shift F5 Remas aanacPuony QmcPUoy A Q QnA only Transition or branch coupling Src symbols e pun m E Shift F9 Remarks 10144 14 Rule entry cp x ee Function key Alt F5 Alt F7 Alt F8 Alt F9 Alt F10 Ctrl F9 Remarks 0 14 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 Press the function key 2 Using the arrow keys move
8. Ls Bloc ment Cancel Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 5 Parallel branch Symbol Step 7 21 gt gt Block a 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 a Jo Step attribute Lx Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 3 SFC PROGRAM EDITING MELSOFT 6 Selective coupling 1 Enter SFC symbol m Symbol Step attribute gt OK gt Block Comment 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 x em tep at tribute t 1 Block Cancel Number of couplings Enter the number of coupling line columns If itis 1 you can omit the input operation 7 Parallel coupling Enter SFC symbol Symbol step attribute 1 1 z gt Block Comment Cancel
9. 3 SFC PROGRAM EDITING MELSOFT Item explanation 1 Program capacity set by the parameter Displays the maximum value permitted for programming 2 Created SFC program capacity Displays the SFC program amount for the converted part 3 Result of check If the converted SFC program is within the maximum value Check OK will be displayed If the maximum value is exceeded an error message will be displayed 3 SFC PROGRAM EDITING MELSOFT 3 10 Conversion Operation Epor 9r 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 SFC Diagram Editing conversion o Only one operation output transition condition being edited is converted Conversion All programs being All programs being edited are batch converted edited Conversion writing during RUN NE The operation output transition condition being edited is written during RUN A Q QnA only fey o emerunt 21 Only one SFC diagram block being edited is converted Block conversion Ea EMEN 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
10. 1 0 Machined part in sertion pusher 2 0 Machined part in sertion comple 4 sc i machined part ch ucking 5 1 chucking complet ion 2 The Label in the SFC diagram appear on the screen comment 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 When the FXCPU is used transition comments are not supported 3 SFC PROGRAM EDITING MELSOFT 3 13 3 Displaying the Device Comments Q QnA ED Ig ges 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 GX Developer Operating Manual 3 13 4 Displaying Notes FX 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 co
11. C o Example 2 TX lt Dummy step T Dummy step E bap For branch coupling line entry entering the number of branches couplings as n creates them from right to left POINTS Branch number The number of circuits in the case of one parallel branch or selective branch is limited to 8 circuits per branch However if there are many parallel branches or selective branches the overall number of circuits is limited to 16 circuits per initial step 8 circuits per branch parallel or selective max 1 Lg Y al of 16 circuits max You cannot perform a transition or reset operation from confluence lines or a step prior to confluence to a separation step Create a dummy step and be sure to perform the transition or reset operation from the branch line to a separation step 3 SFC PROGRAM EDITING MELSOFT 10 Jump transition y 5 Enter SFC symbol 5 Symbol JUMP alt Step attribute 3 OK gt 6 Block jo Comment Cancel L 5 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 Step att
12. Delete line gt Shift Delete 14 Column delete gt Edit gt Delete row gt Delete 3 SFC PROGRAM EDITING MELSOFT 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 1 Enter SFC symbol EA Symbol STEP Step attribute f gt Bloch Comment Cancel E OK Point the cursor to a desired position and click the SFC symbol step to insert a step in the cursor 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 a Symbol TR Step attribute i OK Bock D comment 7 Cancel a A Point the cursor to a d
13. You can change a ladder program to a SFC program or vice versa by setting Project Edit Data Change program type Precautions to observe when changing a ladder program to an SFC program If a ladder program that uses a stepladder STL RET instruction cannot be converted to a SFC block it will change to a ladder block In this case the message Ladder block which indicates the incompletion of the change will appear in the block type box of the block list Ladders that cannot be changed 1 When there is no initial step 2 When the number of steps used in one block exceeds 512 3 When a branch or confluence is incorrect 4 When the transition conditions are programmed in the same circuit as that of the operation outputs See figure below STL 50 Modification 9 C M0 D C Mo D 15 Mi 12 T SET M1 X s Ladder that cannot be changed to SFC Transition conditions modified to independent circuit block Program type change 5 When programmed as a stepladder circuit which jumps immediately after a parallel branch Correction method Insert a dummy step after the parallel branch and modify the program to jump to another step in dummy step Statements are deleted Notes added to STL RET OUT S SET S and RST S are not converted They are deleted Ladders in which a change error occurs 1 When there is a circuit defect 2 When there is
14. gt W Reset number Old Item 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 MELSOFT 3 12 10 Changing the Note Type Q QnA EE EEG 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 GX Developer Operating Manual 3 12 11 Searching for Contacts Coils A QOm FX This operation lists where the specified devices used in the operation o
15. 5 TRAN Phuck ad pance en MAIN RAM Be 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 MELSOFT 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 scrolling To perform automatic scrolling click 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 When using the auto scroll monitor you can use the SFC option setting
16. Setting parameter value of 100 KByte microcomputer capacity Created SFC program capacity 07 KByte Result of check Eheck 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 2 Precautions for Use of the Motion Controller KARESE GX Developer 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 Vans 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 With the exception of the step attribute SV the precautions are the same as those for use of the ACPU 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT 2 3 Precautions for Use of the QnACPU ome Rugs qp en GX Developer 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 GX Developer to GPPQ the file is divided into a program file and a comm
17. 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 Y Display the specified block Write the transition condition operation output program step by step To create another block Conversion operation Block information Y Check the SFC program capacity Y Save the project 3 SFC PROGRAM EDITING MELSOFT POINTS When creating a new SFC program you need to make 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 PLC parameter Memory capacity parameter x Memory capacity PLC RAS PLC system 1 0 assignment Device Program capacity 3 r Comment 0 2 64 3 Sequence 1 30 Microcomputer 0 58 Main 20 Keteps 10 Kbytes 0 Kbytes 0 Point Network Kbytes p Expanded comment 0 2 63 Sub sequence Sub microcomputer 0 30 None 0 Kbytes 0 Point 0 K steps Kbytes File register 0 8 Sub2 K steps Sub3 K steps D 0 Byte Capacity for debugging Memory capacity informati
18. step cycles 2 rou Cancel 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 When a break is established for the specified block the following window appears MELSOFT series GX Developer x 3 SFC step break point is enabled Stop position is block 0 step 2 If you are using a QnACPU and a break point is set a break will automatically occur when you execute an end step Note that in this case no display appears to indicate the occurrence of the break e f you are using the FXCPU you can perform the same operation as that of a block break by operating the initial state with the step break 5 DEBUGGING STEP RUN MELSOFT 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 Step run Moving the cursor to the step to be started and choosing step run forces steps from the specified step on
19. 2 5 gt TT op 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 GX Developer Operating Manual 3 12 7 Changing the Open Close Contacts op op Q QnA ETIN 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 GX Developer Operating Manual 3 12 8 Replacing the Character String FX This operation replaces the character string of an SFC comment or 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 GX Developer Operating Manual 3 SFC PROGRAM EDITING MELSOFT 3 12 9 Replacing the Step No Q QnA Eminem 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 o Nex 4 Replace 5 2 JUMP number Old New 3
20. Auto scroll monitor setting to automatically display the start destination block 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 sub section 3 14 4 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 MELSOFT 4 2 Transition Watchdog Monitor Q QnA EE ERU The following is an explanation of the transition watchdog monitor function that monitors steps from which the program does not proceed to the next step after the lapse of the specified period Operation procedure Tools Set SFC information Option Step transition watchdog monitor setting Execute monitoring refer to sub section 4 1 Screen MELSOFT Series GX Developer There is a step not switched over for the past 10 seconds Program Name MAIN Block No 0 Step No 0 Close When the step transition watchdog monitor 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 a
21. Operation hold step without transition check initial step Operation hold step Step A with transition check initial step Reset initial step Dummy step Q 77 9 o 2 o a o o Operation hold step without transition check Operation hold step with transition check Other than initial step Block start step with Block start step 2 2 x without end check m 2 o D Any one of these steps in one block j Up to a total of 31 steps in one block Multiple steps can be provided in one 3 SFC PROGRAM EDITING MELSOFT SFC Diagram Symbol Lo 4 Selective branch Selective branch parallel branch Selective coupling Selective coupling parallel branch Parallel branch Transition Parallel coupling Parallel coupling parallel branch Parallel coupling selective branch Parallel coupling selective coupling 3 SFC PROGRAM EDITING MELSOFT FX series SFC diagram symbol list Ladder Ladder block Max 11 in block list 1 in each block i 0 9 Max 512 in each block i 10 999 Series transition j Select
22. To change the diagram symbol selected click and choose new diagram symbol Enter SFC symbol Symbol JUMP Step attribute Block nment RATE 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 Enter SFC symbol Em o Symbol END Step attribute i Block Comment Cancel OK 3 SFC PROGRAM EDITING MELSOFT 10 Rule write Macc 1 gt d ege aF To write a rule click E EN 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 transition condition sequence program are not erased 11 Row insert Edit Insert line gt Shift Insert 12 Column insert Edi gt Insert row gt Ctrl Insert 13 Row delete Edit
23. gt Shift Insert 14 Column insert Edit gt Insert row gt Ctrl Insert 15 Row delete Edit Delete line gt Shift Delete 16 Column delete gt Edit gt Delete row gt Delete 3 SFC PROGRAM EDITING MELSOFT 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 0 m n EP Sma STEP Step attribute 9 gt OK gt 1 Block Comment Cancel 2 Point the cursor to a desired position and click the SFC symbol step to insert a step in the cursor position When you insert a step over vertical line without changing the step number th
24. 1 Setting the SFC Diagram Display nennen nennen 3 74 3 14 2 Setting the Zoom Partition 3 75 3 14 93 Setting the Coritacts aene 3 76 3 14 4 Setting the SFC Setting Options essent trennen 3 77 3 15 Changing between SFC and Ladder Programs sse 3 78 SFC Diagram MORItOL tert eed e e e En n Ure Er 4 1 4 2 Transition Watchdog 7 4 3 4 3 Transition Condition and Operation Output Ladder 2 4 4 4 4 All Block Batch Monitor and Active Step Monitor sse 4 6 4 5 Block BiSt Monit r ete eee ice eee o eee vente 4 7 5 DEBUGGING STEP RUN 5 1to5 4 6 PRINTING THE SFC DIAGRAMS 6 1to 6 23 6 1 SEC Diagram Print 1 a it edat aet t doe eda eee 6 1 6 2 SFC Diagram Printing Examples c ccccesceeccecceeeececeeeeseeaecaeceeeeaesaecaeseeeeaesaesaeseaesaesaeseseaetaeseseeeeaeeats 6 2 6 2 1 SFC Diagram Printing Examples when A or Q QnACPU is 6 2 6 2 2 SFC Diagram Printing Examples when the FXCPU is 6 11 INDEX Index 1 to Index 2 About Manuals The following manuals are
25. 6 Block parameter printing example Block parameter MAIN SFC Periodic exec Blk Execution interval Action at BL multi act Action at step Multi activated MELSOFT 6 PRINTING THE SFC DIAGRAMS MELSOFT 6 2 2 SFC Diagram Printing Examples when the FXCPU is used 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 1 SFC diagram printing examples Additional information not selected ue T T IL 6 PRINTING THE SFC DIAGRAMS MELSOFT Additional information Only device comment selected 911 Initial setp 0 5 10 15 Standard Conditio assy ma nl assy chining machinin 1 g 1 6 14 1 Standard St assy assy ma machini chining ng 5 au 2 x 2 Standard assy ma chining 3 16 Conditio n2 assy machinin gl 8 7 Conditio n2 assy machinin g2 9 18 Conditio n2 assy machinin g 3 10 _ 20 Conditio n3 assy machinin gl 13 Conditio n3 assy machinin g2 14 L 22 Conditio n3 assy machinin g 3 15 p4 Conditio n4 assy mac
26. The number of circuits in the case of one parallel branch or selective branch is limited to 8 circuits per branch However if there are many parallel branches or selective branches the overall number of circuits is limited to 16 circuits per initial step 8 circuits per branch parallel or selective max Number of branches in a flow 1 6 Total of 16 circuits max You cannot perform a transition or reset operation from confluence lines or a step prior to confluence to a separation step Create a dummy step and be sure to perform the transition or reset operation from the branch line to a separation step In the case of the FXCPU when writing a block list it is necessary to select either a ladder Role of a block list and block or an SFC block type Regarding stepladder blocks contained in STL stepladder instruction it is possible to make a type change to an SFC block later 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT Jump attribute Handling a RET instruction A jump has two kinds of attributes which are changed according to the particular purpose L Jump to another step or another flow step attribute None Reset jump for a self step state step attribute R For a jump L l is input as the initial value A change to is made using the step attribute of the SFC symbol dialog
27. an instruction code error 3 When a step state number is used more than once Method of treating stepladder STL RET instructions that cannot be changed to SFC blocks Method 1 First modify the ladder program then change it to SFC Method 2 In the case of a simple modification first convert SFC Ladder block incomplete condition After modifying the program in ZOOM of the ladder block change the block type to SFC block by means of Edit Block information 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT Precautions to observe when changing an SFC program into a ladder program SFC that cannot be changed 1 When an unregistered blank block exists in the block list when blocks are not contiguous 2 When ladder blocks are contiguous Program type change 3 When there are unconverted blocks Method of treating SFC that cannot be converted into a ladder program Display the block list then execute Convert Convert block all blocks end the arranging of the block list and the conversion of unconverted parts then once again set a program type change A project that was stored as an SFC program using the GX Developer SWD5C GPPW E or later or a later version cannot be read using a version prior to the GX Developer SW4D5C GPPW E or earlier which is not compatible with the FX SFC If the project of an SFC program is read using a version prior to the GX Developer SW4D5C GPPW E or earlier it
28. order is specified order is specified Immediately after sorting a Undo operation can be performed only once is step 0 if you specify either the ascending or descending order The 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 SFC PROGRAM EDITING MELSOFT 3 4 4 Redisplaying the SFC Diagram Q QnA EOWUE ERU 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 C0 ft 1L32 4 After conversion SFC diagram optimizing display At conversion After operation CI
29. 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 Not changing the original step transition condition number is useful for a moving operation 7 When you selected not to change the original step transition condition number but the pasting destination already has the same step transition condition number the following window appears MELSOFT series GX Developer x lt Step Transition number has already existed in paste target Will new number be assigned Choosing executes pasting after the system has assigned a new number by reassigning lower to higher free numbers to the step transition condition numbers of the pasting destination SFC diagram Choosing suspends pasting 3 SFC PROGRAM EDITING 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 E 3 The paste position is incorrect When this window has appeared click the button move the pasting position one row higher or lower then perform a pasting operation again 9 After the pasting operation is over make conversion Note that a conversion error occurs if a branch coupling is incorrect after pasting Therefore mak
30. re a 0 001 onditio 0 6 18 6 18 6 PRINTING THE SFC DIAGRAMS MELSOFT 6 PRINTING THE SFC DIAGRAMS MELSOFT b Ladder block Operation output transition condition list printing example Block No 0 Title Initial selection circuit X001 Condition 0 oor Y001 6 PRINTING THE SFC DIAGRAMS MELSOFT Block No 1 Title Auto operation start step sl Initial setp Step Instruction Device Device comment 0 SET Y000 Auto operation in progress s10 Standard assy machining 1 0 LD X010 1 OUT M100 3 Output 511 Standard assy machining 2 Step Instruction Device Device comment 0 LD X011 1 OUT M111 Output L 2 OUT M110 Output K 512 Standard assy machining 3 Step Instruction Device Device comment 0 LD X001 Condition 0 1 OUT Y001 813 Standard assy machining 4 Step Instruction Device Device comment 0 LD X012 1 OUT M115 Output J 514 St assy machining 5 aux Step Instruction Device Device comment 0 OUT M114 Output O 515 Conditionl assy machining Step Instruction Device Device comment id OUT M115 Output J 516 Condition2 assy machining 1 Step Instruction Device Device comment 0 OUT M116 Output Q s 17 Condition2 assy machining 2 6
31. run if it is written in the SFC format 1 Many useful editing functions 1 The function 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 window 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 MELSOFT 1 2 Abbreviations and Generic Names Used in This Manual In this manual the GX Developer Software Packages and PLC CPU modules ar
32. the area and making deletion Drag amp ox Drag 2 Deleting the branch coupling vertical line only L 4 i 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 Performing the Undo operation after making a deletion returns to the status immediately prior to the deletion Tool button Click tal Function key Menu Click Undo in the edit menu 3 SFC PROGRAM EDITING MELSOFT 3 4 1 3 Changing the Step Attribute Exo pr qos 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 1 Editing 2 Step attribute setting E us Ctrl 2 l Changes the preset step attribute to SC SC 3 Choose a new attribute Ctrl 3 Changes the preset step attribute to SE SE Q QnACPU only Ctrl 4 Changes the preset step attribute to ST QnACPU only Changes the preset step attribute to R and Makes the preset step attribute invalid Ctrl s
33. 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 be annotated Creating and displaying an SFC diagram for stepless selection branches and selective couplings Not allowed A correct display cannot be obtained when the SFC diagram created by GPPA contains stepless selective branches and selective couplings Allowed x Example of stepless selective branches and selective couplings are shown below LJ No step 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT After creating a 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 r Result of program capacity check for converted SFC
34. the number of columns automatically shows the number of rows that may be entered 2 button Click this button when the setting is complete POINT This operation is valid only when the cursor is in the SFC diagram 3 SFC PROGRAM EDITING MELSOFT 3 14 2 Setting the Zoom Partition Setting purpose This operation is performed to set how to split the operation output transition condition ladder displayed Operation procedure View gt Zoom setting Setting screen view Online Diagnostics Tools Window Help Display program Alt Ctri F8 Display comment of step and TR Ctrl F5 Displayaliasofstepand TR Alt Ctri F6 Toolbar Status bar Zoom v Project data list Alt 0 Project data display Format 1 etting contact Review SFC Display block list Ctrl B MELSAP L format Display the reference windov 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 MELSOFT 3 14 3 Setting the Contacts Q QnA Setting purpose Thi
35. 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 Initial setp Standard assy machining 1 Standard assy machining 2 Standard assy machining 3 Standard assy machining 4 St assy machining 5 aux Conditioni Condition2 Condition2 Condition2 Condition2 Condition3 Condition3 Condition3 Condition3 Condition4 Condition4 Condition4 Condition4 Cond 4 Assy machining sort Cond 4 Assy machining sort assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining assy machining Auto operation start step Step Comment 1 2 3 4 1 2 3 4 1 2 3 4 MELSOFT 6 PRINTING THE SFC DIAGRAMS MELSOFT 4 Ladder block Operation output transition condition ladder printing example Block No 0 Title Initial selection circuit LERNEN X001 0 001 onditio 0 6 PRINTING THE SFC DIAGRAMS MELSOFT 1 Title Auto operation start step Block No sl Initial setp 0 SET Y000 Auto ope ration i n uc S10 Standard assy machining 1 PPP L M100 Output A 811 Standard assy machining 2 X011 M111 Output L M110 Output K 812 Standard 312 standard assy machininp3 312 standard assy machininp3 eee
36. All block cancel Execute All block register 6 Sp k Cancel All block cancel 5 The specified break points registered to the CPU are canceled block register 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 the specified block the following window appears MELSOFT series GX Developer x A SFC step break point is enabled Stop position is block 0 When break points have been set for the 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 e f you are using the FXCPU you can perform the same operation as that of a block break by operating the initial state with the step break 5 DEBUGGING STEP RUN MELSOFT Step break This operation specifies the block number and step number to end a single step run for test step operation If you are using the FXCPU block number is not specified step break C all step cancel Execute CS ep _ select Block
37. GX Developer Version 8 MITSUBISHI SFC MELSOFT rogramming MELSOFT Integrated FA Software SW8D5C GPPW E SAFETY PRECAUTIONS 6 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 4 N Indicates that incorrect handling may cause hazardous conditions DANGER resulting in death or severe injury 1 1 Indicates that incorrect handling may cause hazardous conditions A CAUTION resulting in medium or slight personal injury or physical damage 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 personal computer to the running PLC configure up an interlock ci
38. LSOFT 3 4 Creating Modifying the SFC Diagram 3 4 1 1 Writing an SFC Diagram A FX EN ONE 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 OK Bloc Comment Cancel Enter data by the operations given on the pages that follow 3 SFC PROGRAM EDITING MELSOFT 1 1 Operation starting from the tool button when A or Q QnACPU is used Write overwrite operation example 1 Step 2 X Attribute selection Enter SFC symbol 3 ji Symbol STEP Step attribute OK OK gt I 1 Step Block Comment Cancel number al M Comment display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose new diagram symbol Enter SFC symbol Symbol STEP v Step attribute v Block 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 cre
39. PRINTING THE SFC DIAGRAMS MELSOFT TRO Step n Instruction Device Device comment 0 MO TRANO 1 Step Instruction Device Device comment L 0 LD M1 1 TR2 ih L lez Step L Instruction Device a Device comment M2 TRAN2 s a 7 E Instruction Device Device comment M3 TRAN3 RI Step Instruction Device Device comment 0 LD M4 TRAN4 Step Instruction Device Device comment 0 LD M5 TRAN5 Instruction Device N Device comment 0 LD M6 TRAN6 TR7 Step Instruction Device B Device comment 0 LD 7 TRAN7 p 1 Step Instruction Device B Device comment M8 TRAN8 EI k Ind INDEX A Active step 4 6 All block batch monitor 4 6 B Block information setting 3 49 Block list 4 RESI 3 26 Block list display 3 51 Block list monitor sss 4 7 Block number search SFC diagram side 3 61 Block number search Zoom side 3 62 Block parameters 3 54 C Character string replacement 3 63 Character string
40. XGP WIN For details refer to the GX Developer operating manual In GX Developer an SFC process is called a step In the programming material and other programming software for the FXCPU an SFC process is called a state Both steps and states indicate SFC processes A stepladder instruction and an SFC diagram are essentially the same In an actual program they are expressed as follows This is different to a screen display STL diagram STL diagram 2 o 8 ser SET Is ol 0 Circuit not belonging to SFC ladder block 0 Y02 Advance 20 ges Yo21 Advance 521 L Y021 Reverse 21 9 23 Reverse Initial step 522 K 50 K 50 Pause timer 5 23 02 Advance 23 023 27 Advance S 24 Reverse RET End of stepladder End of stepladder END 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT States SO to S9 are called initial steps states They are always used as the first block No of an SFC block Step number Consequently when the FXCPU is used up to 10 S0 S9 SFC blocks can be created state S number S10 and higher numbers can be used as general step numbers However the maximum number of steps per block is 512 beue sequence circuit that programs the outside of a step state is called a ladder block A ladder block operates in the same way as a general ladder program
41. also related to this product In necessary order them by quoting the details in the tables below Related Manuals Manuals Manual Number Manual Name Model Code GX Developer Version 8 Operating Manual Start u parenn 0800242 Describes the system configuration installation method and starting method of GX Developer GX Developer Version 8 Operating Manual Explains the functions of GX Developer such as the programming printout monitoring and debugging IB 0800243E methods GPP Function Software for Windows SW4D5C GPPW E SW4D5C LLT E Starting GX Developer Guidebook 3 IB 0800057 Provides an GX Developer GX Simulator beginner the illustrated information ranging from the installation 13J966 method starting method basic knowledge and ladder creation to the editing print out monitoring and debugging methods MELSAP II SFC Programming Manual Contains information required for creating SFC programs e g programming method specifications and EO functions QCPU Q mode QnA CPU Programming Manual SFC Describes the programming method specifications functions and so on required for creating SFC 1 programs 1 OVERVIEW MELSOFT 1 OVERVIEW 1 1 Product Overview and Features Overview This manual describes the editing and monitoring operations of the SFC functions among the functions of GX Developer unless otherwise specified the product GX Developer herein is its Englis
42. an omit the step number input operation S0 S9 are assigned to the beginning of the SFC block as the initial blocks so you cannot input them to a general step position You cannot input a step number more than once When the FXCPU is used dummy steps are also treated in the same way as general steps however there is no need to create an operation output program Step attribute When the FXCPU is used the step has no attribute apart from when a JUMP symbol is set 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 1 E Symbol TR Step attribute v Block Comment Cancel MELSOFT 5 Series transition 1 Transition condition number Enter SFC symbol Comment display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose new diagram symbol Enter SFC symbol Symbol TR Step attribute Block ment Cancel Transition condition number The system automatically assigns lower to higher transition condition numbers in the order of entry When you will use the transition condition numbers automatically assigned by the system you can omit the transition condition number input operation W
43. arison 2 The transition number on the SFC screen is not stored in the PC so it is not the object of comparison 3 The contents of block type and also unconverted blocks are not the object of comparison Notes and statements cannot be read written to files of other formats FXGP WIN FXGP DOS For other precautions refer to PC read write compare Writing reading comparing other format files 3 SFC PROGRAM EDITING MELSOFT 3 SFC PROGRAM EDITING 3 1 SFC Program Editing Outline Procedure 3 1 1 SFC Program Editing Outline Procedure for ACPU po x x GX Developer start Vv To create new program 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 MELSOFT
44. ate an operation output program if it is marked x 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 STEP Step attribute Block Comment Cancel 3 SFC PROGRAM EDITING MELSOFT 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 2 Block start step 53 Enter SFC symbol E n Symbol BLOCK Step attribute 1 1 EE Block Comment Cancel gt OK 1 E 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 Enter SFC symbol Symbol BLOCK tep at ute r4 7 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 crea
45. bove 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 For details of the step transition watchdog monitor setting operation refer to sub section 3 14 4 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 MELSOFT 4 3 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 44 lt nf NB 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 The present
46. box If the jump destination is in a different SFC block the jump destination mark will not appear at that jump destination step The RET instruction of a stepladder instruction is automatically written from the end of the SFC block to the part connected to the ladder block Consequently you cannot input a RET instruction to an SFC block or a ladder block Does not appear on the screen either Note that in the case of the following ladder program if you change over to the SFC program then change back to the ladder program the number of program steps in the RET instruction part will decrease Original ladder program Ladder program after changing back so 1 Hh sT 50 STL 511 ladder Editing SET 511 Change to SFC Changeto Creation SET S20 c ST 520 SET 521 lt sei STL S21 Transition comment Transition comments cannot be used in the case of FX SFC Transition condition number The transition condition number is valid only in an SFC diagram For this reason if you change over to a ladder program this number does not continue Consequently if you change back to SFC a program that you changed to a ladder the transition number will change 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT
47. crocomputer program GX Developer Cannot be created Erased if another format file that is read includes a microcomputer program other than an SFC program Q x x The A0J2H AnS AnSH and AnNCPUs allow SFC and microcomputer programs to exist together SFC capacity The parameter setting of the microcomputer capacity must be made However since the capacity is not checked at the time of creation checking operation is needed to make sure that the SFC capacity is within the microcomputer capacity range Refer to POINT A program can be created within the parameter set microcomputer capacity and SFC set block count ranges 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 CPU type change QnA ACPU As the CPU type is changed with the parameter setting of the microcomputer capacity remaining unchanged from Ok bytes the microcomputer capacity setting must be changed after CPU type changing Without QnA ACPU conversion function for SFC program Hold step Representation of hold step Representation of hold
48. ct name and use SFC as program type SFC optional settings Set reference window and auto scroll monitor Block list registration Register ladder block in block 0 Block information setting Ladder program write modification Conversion operation a RR Block list registration Register SFC block in block 1 Block information setting Transition condition operation output program write modification for each step Conversion operation Y SFC program created by GX Developer Open project Block list display Reading block to be modified Ladder SFC 1 2 _ m Y Ladder program Program read Open project read from PC then read from another format Program type change There is Ladder gt SFC complied change ess odify program on ladder of change Block list registration Block list registration Register SFC block in blank block Block information setting Register ladder block in vacant block Block information setting SFC block 1 Ladder block When creating other blocks If there is an unconverted block or there is an unregistered blank block in the block list execute Convert Convert block all blocks while the block list is displayed then end the arranging of the block
49. dder circuit for example into SFC the change sometimes fails to take place because of some kind of error even when the circuit contains a stepladder STL instruction In this case the circuit is registered as Ladder block in block type that is as a ladder block to which the mark is appended After changing the contents of the circuit change the type of block to SFC block using Edit Block information lo Block title Block type 2 Initial selection circuit Ladder block Auto operation start step SFC block Machining No 1 SFC block Machining No 2 SFC block Machining No 3 SFC_block Shipping test Circuit that could not be OK NG judgment circuit Ladder block changed into SFC block 8 z 3 SFC PROGRAM EDITING T Symbol STEP Step attribute 3 OK k fo Comment Cancel MELSOFT 4 Step 1 Enter SFC symbol Display Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose new diagram symbol Enter SFC symbol Step number A step number is a number that the system automatically assigns in ascending input sequence over the range of 510 5999 The upper limit differs depending upon the PC type Also the maximum number of steps per block is 512 If the step number automatically assigned by the system is satisfactory you c
50. e Non active step Close indication The corresponding step is active indication The corresponding step is inactive 4 MONITORING MELSOFT After resetting the PLC CPU if you carry out monitoring without having put the system in a RUN condition even once the monitoring result will be blank If you stop the PLC CPU and perform monitoring the status at the time the System was stopped will be displayed as the result of monitoring 4 5 Block List Monitor This operation is used to show and monitor a block list Operation procedure View Display block list gt 3 Screen No Block title a Active t Transition c Clear s Sto r Register 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 M121 M122 M123 D120 3 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 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 5 DEBUGGING STEP RUN MELSOFT 5 DEBUGGING STEP RUN Q QnA Rem Compatible with the QnACPU This chapter explains debu
51. e represented by the following generic names and abbreviations When the corresponding type must be specified its module type is provided Abbreviation Generic Name Description Corresponding Module Generic name for MELSAP II MELSAPS and SFC for FX series Basic model QCPU Generic term for QQ0JCPU QOOCPU and Q01CPU High Performance model QCPU Generic term for QO2 H CPU QO6CPU Q12HCPU and Q25HCPU Process CPU Generic term for Q12PHCPU and Q25PHCPU Generic name for PLC CPUs of MELSEC Qn H CPU Q mode which allow SFC programs QCPU to be edited Compatible with the Q00J Q00 Q01 Q02 H Q06H Q12H Q12PH Q25H Q25PHCPU Generic name for PLC CPUs of MELSEC Qn H CPU A A mode which allow SFC Qn H CPU A programs to be edited Described as the ACPU in this manual QnACPU Generic name for PLC CPUs usable with the MELSEC QnA H 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 Note that GX Developer does not support the A1 A2 A3 A3H A3M A52G A73 and A0J2 Generic product name for SWnD5C GPPW SWnD5C GPPW A SWnD5C GPPW V and SWnD5C GPPW VA product types n means any of versions 0 to 8 SWLIIVD GPPA controller edited 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT 2 PRECAUTIONS FOR CREATING SFC PROGRAMS This chapter gives precautions for creating SFC programs with GX Developer 2 1 Precautions for Use of the ACPU User mi
52. e conversion after performing the SFC diagram editing operation 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 GX Developer session operation Copying of an operation output transition condition sequence program should be done within approx 2k steps 3 SFC PROGRAM EDITING MELSOFT 3 4 3 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 r Sorting Order Set START block number Previous New Decreasing r Change START block number 4 Change ST Setting items 1 Sorting Order Specify whether the step transition numbers are in an ascending or descending order 2 Change START block number Specify whether the start destination block number is to be changed or not 3 Set START block number When you have selected Change enter a new block number 4 button Executes sorting as set on the above screen POINTS The result of executing sorting by specifying an ascending or descending order is as follows When ascending When descending
53. e 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 i 1 2 Enter SFC symbol Ea 3 ENS RE p Symbol TR Step attribute OK gt OK 4 k p Comment Cancel F5 Point the cursor to a desired position and click Fs 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 MELSOFT 3 Selective branch 3 Enter symbol m Symbol Step attribute i OK OK Block 4 000 Cancel 4 Parallel branch Enter SFC symbol Symbol D Step attribute i rer Block Comment Cancel 5 Selective coupling T Symbol c Step attribute gt OK gt E 1 Block Comment Cancel t 6 Parallel coupling
54. edure Outline for FXCPU seen 3 6 X 2 SEC Diagram Symbol 3 7 3 3 SFC Diagram Editing Basic Screen 3 11 3 4 Creating Modifying the SFC Diagram sss eene enne nnns 3 13 3 4 1 1 Writing an SFC Diagralmi 2 i eret tenth rete nh eh eva tae ra nk evan o eaa anna R 3 13 3 4 1 2 Deleting the SFC Diagram sss enne nnne nnns nnns nne nennen 3 38 3 4 1 3 Changing the Step Attribute sess enne nnns 3 39 3 4 2 Cutting Copying and Pasting the SFC Diagram nennen 3 40 3 4 3 Sorting the su ud mh redit dte aba Wie Ay 3 43 3 4 4 Redisplaying the SFC Diagram sss nnns 3 44 3 5 Creating the Operation Outputs Transition Conditions esses 3 45 3 6 Creating the SFG GOITimerils 2 eret etna rares aet dh aret ada dy aa reda dae Rn FR da eaa ER FR doe 3 46 3 6 1 Creating SFC Comments esses eene nnne nennen nennen nnne inneren 3 46 3 6 2 Editing the Note for Operation Output eee ennt nnne ns 3 48 3 7 Setting the Block Information eene nnne nennen tnnt 3 49 3 8 Display the Block EISi e err ne er e UR EU e REN 3 51 3 9 SFC Related Parameter Settings sss nennen tentent 3 53 3 9 1 SFC Setting inm PEG Parameters eta ee eee en ete deletae tent iie o egit 3 53 3 9 2 Se
55. egistered trademarks of their respective owners SPREAD Copyright C 1998 FarPoint Technologies Inc GX Developer Version 8 Operating Manual SFC MODEL GXDEV8 O SF EL MODEL CODE IB NA 0800244E B 0303 MEE s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE 1 8 12 OFFICE TOWER Z 14F HARUMI CHUO KU 104 6212 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
56. ems checked in the corresponding check boxes is printed 2 Option The items checked in the corresponding check boxes is added Some additional information items cannot be selected according to the print items 3 Setting Set the number of print columns on a single page The diagram is printed with automatic magnification reduction specified according to the set number of columns Action Transition contacts Choose Indication the same 5 contacts 9 contacts or 11 contacts 4 Program selection Choose the program name to be printed 5 Print range Set all area all blocks or the specified blocks 6 PRINTING THE SFC DIAGRAMS MELSOFT 6 2 SFC Diagram Printing Examples 6 2 1 SFC Diagram Printing Examples when or Q QnACPU is used 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 di m n m 1 SFC diagram printing examples Additional information not selected Block No Machining operation output block Normal SFC Act stop M110 M111 Stop M113 6 PRINTING THE SFC DIAGRAMS MELSOFT Additional information only device comment se
57. ent file and therefore renaming and other operations are needed on GPPQ SFC comments If an SFC diagram created is redisplayed in a different Same specifications as those of GX Developer pattern verifying that diagram may result in a mismatch Example Created Redisplayed SFC diagram pattern A mismatch occurs if the above SFC diagram is redisplayed or project read converted and verified A 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 ESCAREA There are no specific precautional restrictions since the SFC program editing of the QnCPU is made only with GX Developer 2 PRECAUTIONS FOR CREATING SFC PROGRAMS MELSOFT 2 5 Precautions for Use of the FXCPU FX SFC programming Steps and states Relationship between a STL diagram and an SFC diagram The FXCPU uses stepladder instructions STL RET to control the sequence of a process These stepladder instructions can also be expressed as SFC diagrams GX Developer SW5D5C GPPW E or later and later versions support this FX SFC programming For details of the FXCPU SFC programming method refer to the programming manual of each CPU The method of expressing FX series stepladder instructions in GX Developer differs from that of FXGP DOS and F
58. eration as a device comment of BLm 3 SFC PROGRAM EDITING MELSOFT When the FXCPU is used Block information setting Block no 0 Block title 1 lock typ SFCblock Ladder block 2 teen 1 Input the block title of the ladder block or SFC block You can create or change a block title as a device comment of BLm using the same operation 2 Be sure to specify either an SFC block or a ladder block according to the contents of the program to be written POINTS If an STL instruction exists in a ladder block the message Ladder block which indicates a conversion error will be displayed in the block type of block list If an incomplete ladder block is described by an STL instruction you can modify the contents using the zoom screen then change the block to SFC block in Block Type of the block information setting Regarding errors that can occur during a block type change In the following cases an error display appears and the change process is interrupted 1 If SFC conversion is not possible 2 If the initial step does not exist 3 If a number of blocks are generated when the program in a block is SFC converted 3 SFC PROGRAM EDITING MELSOFT 3 8 Display the Block List Q QnA 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 Dis
59. esired position and click Fa 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 MELSOFT 3 Selective branch 3 Enter symbol m Symbol Step attribute i OK OK Block 4 000 Cancel 4 Parallel branch Enter SFC symbol Symbol D Step attribute i rer Block Comment Cancel 5 Selective coupling T Symbol c Step attribute gt OK gt E 1 Block Comment Cancel t 6 Parallel coupling Enter SFC symbol gt gt Symbol Step attribute i 4 Block Comment Cancel OK POINTS Entering n as the number of branches couplings enters them from right to left Example Number of couplings 1 Inserting a branch coupling
60. ets the reset destination step No Q QnACPU only When it has already been set to changes the reset destination step No If the step attribute has been changed the existing operation output sequence program remains unchanged 3 SFC PROGRAM EDITING MELSOFT 3 4 2 Cutting Copying and Pasting the SFC Diagram Q QnA Spes 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 gt Cut or _ Ctr X or when copying choose Edit Copy or to cut the ladder the specified area 5 Click the position where the cut copied SFC diagram will be applied and move the cursor 3 SFC PROGRAM EDITING MELSOFT 6 When you choose Edit Paste or amp Ctri V the Paste data window appears Make pasting choices Paste data 1 ii Action and TR data Step and TR comments 2 No change the step and TR number when it is pasted Cancel 1 Selection of whether or not the operation output transition condition sequence
61. first register Ladder block or SFC block in the block list then start to create the program Register the block list from the top Block title Initial selection circuit Ladder block Auto operation start step SFC block Machining No 1 SFC block Machining No 2 SFC block Machining No 3 SFC block Product control circuit Ladder block allan po nro You cannot change to a ladder program or write to the PC if there is an unconverted block or unregistered blank block in the block list or the ladder blocks are contiguous Display the block list execute Convert Convert block all blocks then end the arranging of the block list and the conversion of unconverted parts Before change gt After change z Block title I I Block type Block title 0 1 2 3 4 5 6 7 Initial selection circuit Ladder block Initial selection circuit Ladder block Not converted Auto operation start step SFC plock Auto operation start step SFC block Machining No 1 block Machining No 1 SFC block Machining No 2 SFC block Machining No 2 SFC block Machining No 3 SFC block Machining No 3 SFC block i OK NG judgnent circuit Ladder block Not registered OK NG judgment circuit Ladder block Ladder blocks 8 9 Product control circuit Ladder block are contiguous 3 Circuits that cannot be changed into SFC blocks If you attempt to change an existing la
62. format are displayed in MELSAP L format If the operating output included notes contacts and or comparison operation instructions the corresponding portions are displayed in in MELSAP L format The portions of operating output displayed in cannot be modified For details see 2 4 of the GX Developer Operating Manual MELSAP L 3 13 8 Displaying the Reference Window This function is available with the QCPU Q mode This setting is used when you wish to open the Zoom panel ladder program of other transition condition operating output without closing the Zoom panel of the currently displayed transition condition operating output Operation Procedure Move the cursor to the transition condition operating output you wish to see and then select View Display the reference window Example of Screen The screen below shows the split display obtained when Window Tile horizontally is selected after setting the step 1 transition condition in the reference window Step 1 transition condition Ch Step 2 operating d output 3 SFC PROGRAM EDITING MELSOFT 3 13 9 Opening multiple Windows Q QnA EE ERU Setting purpose This operation is performed to tile two or more different operation outputs transition conditions to check or monitor the program Operation p
63. 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 MELSOFT The method of writing the operation output and transition condition during RUN is the same as the write during RUN operation for the circuit For details of the operation method refer to the GX Developer 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 1 Cursor position Block 2 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
64. gging to step run an SFC program If you select the FX series debugging is effective only when a ladder logic test tool LLT of GX Simulator SW2D5C LLT E or later or later versions is connected Operation procedure Online Debug Debug Change CPU to STEP RUN gt Each item operation Choosing debug shows the following window MELSOFT series GX Developer Will the PLC status be changed to STEP RUN 5 Debug 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 Transfer setup Read from PLC Write to PLC Verify with PLC Write to PLC Flash ROM Delete PLC data Change PLC data attributes PLC user data 4 Monitor Forced input output registration cancellation Trace LIN Remote operation Alt 6 Debug Keyword setup 4 Clear PLC memory Format PLC memory Arrange PLC memory Set time Step run F 1 step run 3 Block forced stopping Shift F8 14 Step forced stopping Shift F 7 is Reset stored step Shift F9 Run 411 Block 16 5 DEBUGGING STEP RUN MELSOFT Item explanation Block break A QnA only This operation forces an active block into a break block break lc
65. h version 8 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 GX Developer Eo CPU Compatible ACPU If the CPU type series differs the MELSAP II e Motion controller specifications and functions are the e Qn H CPU A A mode same If the CPU type series differs the QnACPU BOUM MELSAP3 specifications and functions are the Qn H CPU Q mode am If the CPU type series differs the FXo FXos FX1 FX2 2 SNO FX series SFC specifications and functions are the FXis FXin FX2N FXoNc same The motion controller can use the SFC functions like the ACPU with the exception of the SFC symbol SV SV 1 OVERVIEW MELSOFT Features GX Developer supported SFC MELSAP II MELSAP3 SFC for FX series has the following features SFC is one of the methods that can be used for programming the A series and QCPU Q mode QnA series and FX 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 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
66. hen the FXCPU is used the transition condition number is valid only on the SFC diagram For this reason this number does not continue when a change is made to a ladder program Comment creation When the FXCPU is used transition comments are not supported 3 SFC PROGRAM EDITING MELSOFT 6 Selective branch 7 Symbol Step attibute v ok f Block a Bree Cancel Diagram symbol The diagram symbol name selected appears To change the diagram symbol selected click and choose a new diagram symbol Symbol VE CEE attribute E nt Cancel Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 7 Parallel branch Enter SFC symbol G Symbol step attribute fi H gt d Block 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 f ep attribute 0K Lx Number of branches Enter the number of branch line columns If itis 1 you can omit the input operation 3 SFC PROGRAM EDITING MELSOFT 8 Selective coupling 1 Enter SFC symbol m Symbol Step attribute 3 z gt Block Comment Dar Cancel
67. hing for the Step No Block No Zoom Q QnA Er 1 ug ges 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 Find step no block no Setting screen Find step no block no xi i i x ok 6 step no C block no E xit 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 3 SFC PROGRAM EDITING lt 2 1 3 12 5 Replacing the Devices of Q QnA This operation replaces the devices and character string constants used in the operation outputs transition conditions Note that if you specify Include SFC block information find targets the devices used in the block information of the corresponding blocks will also be replaced 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 Instructions op
68. hinin gl 18 25 Conditio n4 assy machinin g2 19 26 Conditio n4 assy machinin g 3 20 1 1 29 22 Cond 4 A ssy mach ining so rt 23 6 PRINTING THE SFC DIAGRAMS Additional information all selected Block No Auto operation start step og Initial setp 0 SET Y000 Auto ope ration i n progre 58 0 MO 0 AH rr onditio 0 j10 Standard assy ma chining 1 X010 0 He ni Output A 1 Mi 0 bee fir onditio i Standard assy ma chining 2 X011 0 111 Output L 110 Output K 2 114 St assy machini ng 5 au x 0 114 Output O MELSOFT 6 PRINTING THE SFC DIAGRAMS MELSOFT 2 1 5 7 M5 M7 0 0 onditio onditio 5 7 L15 L 16 Conditio Conditio nl assy n2 assy machinin machinin g gl 0 115 0 116 Output J Output Q 6 8 M6 M8 0 EL L rus 0 onditio onditio 6 8 1 17 Conditio n2 assy machinin g2 0 Y001 117 Output R 9 6 PRINTING THE SFC DIAGRAMS Block list 2 Block list printing example MELSOFT Title Block type Initial drive circuit machining operation output block inspection process Materrial supply Conveying control Ladder block SFC block SFC block SFC block SFC block 6 PRINTING THE SFC DIAGRAMS 3 Comment list printing example Block No sl s10 511 512 513
69. ing ifinish ing RST Roughing complet ion flag RST M25 Finishin g start signal 25 Start FB Finishin ON stan g comple dby tion x rn inishin b compie ion sig al Left sid Part sur drilli face rou ng ghing 511036 1036 o 4 Bixays 0 Left sid Always Grinding M e face d M roughi rill ngi 1 Left sid e drilli ng compl etion x lt eft sid g compl tion 6 PRINTING THE SFC DIAGRAMS MELSOFT 2 Block list printing example E Title Information register IL 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 BL1 Act M120 Trans M121 Clear M123 Stop M122 Reg D120 6 PRINTING THE SFC DIAGRAMS MELSOFT 3 Comment list printing example Block No Start of blocks 1 2 eoe Ile 7 Register Step Comment 1 1 Machined part insertion pusher machined part chucking 52 Unloading carrier movement 53 54 Finished part unloading s5 Finishing part picking 86 57 58 6 PRINTING THE SFC DIAGRAMS MELSOFT 4 Operation output transition condition ladder printing example Normal SFC Stop Continue 50 Machined part insertion pusher 5 1036 70 Pusher dva
70. irig tlie Step pne metes 3 64 3 12 10 Changing the Note Type cir ere p Rc ped E OR ed 3 65 3 12 11 Searching for Contacts Coils essent nnne trennen 3 65 3 12 12 Searching for the Device Use 042224 100 000000 teens 3 66 3 12 13 Changing the T C Set Values sss 3 66 3 13 Providing Displays ne ai deed e eee e ede aee een dee re ee A 3 67 3 13 1 Displaying the Step Transition 3 67 3 13 2 Displaying the Label in the SFC Diagram sess 3 69 3 13 3 Displaying the Device Comments sssssssssssssssseseeee nennen nnne nennen nennt 3 70 3 13 4 Displaying Notes 3 70 3 13 5 Displaying the Label for Devices 3 70 3 13 6 Changing the Operation Outputs Transition Conditions to the Ladder Mode List Mode 3 71 3 13 7 Displaying in MELSAP L Format essent nnne nnne nnns nnns nns 3 72 3 13 8 Displaying the Reference 1 0 nennen rennen 3 72 3 13 9 Opening multiple 3 73 3 14 Setting the SFC Diagram Display esessssssssssseesessesee innen ennt nennt 3 74 3 14
71. is treated as the project of a non supported CPU and an error message is displayed If it is necessary to share the project with an incompatible version change it to a ladder program using Project Edit data Change program type then save the project When the FXCPU is selected This CPU supports only a PC type change to the FXCPU PC type change For ACPU QCPU A mode These CPUs do not support a PC type change to the FXCPU Precautions to observe when writing a program Compatibility of project data 1 When writing an SFC program be sure to write the entire step range You cannot perform a partial write operation 2 You cannot perform a write operation if there is an unconverted block there is an unregistered blank block in the list or the ladder blocks are contiguous Execute Convert Convert block all blocks then re write the program 3 Program change during RUN a timer or a counter set value change in the online mode write during RUN are not supported Precautions to observe when reading a program 1 When reading a program be sure to read the entire step range You cannot PC write read compare 1 perform a partial read operation 2 If you cannot change a read program into an SFC block register it in the block list as a ladder block Precautions to observe when comparing programs 1 When comparing programs be sure to use the entire range You cannot perform a partial comp
72. ive branch S 1 Right end Selective coupling Middle Parallel branch p bd Lod Middle Right end Parallel coupling Left end Right end Jump transition j jump destination step pe Self reset Reset JUMP jeu j Reset jump destination step 3 SFC PROGRAM EDITING MELSOFT 3 3 SFC Diagram Editing Basic Screen 1 Whole screen make up 1 HENEN 151 Project Edit Eind Replace Convert View Online Diagnostics Tools Window Help 81 xl NN A Qala l ale 3 Pom JA a mei a e m Maa e j F6 7 8 7 sro ano lt 9 F 1 1 E n bo 4 E BB Unset project i Program 1 2 Device comment Parameter Device memory 5 6 4 r BAR ESE Device init Ready 002 Host station RUM 7 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 5 SFC diagram editing area 6 Operation output transition condition program editing area Zoom side 7 Edited CPU type 8 Edit mode overwrite insert 3 SFC PROGRAM EDITING
73. lected Block No Machining operation output block Normal SFC 1 1 LIO Machinin g prepar ation 0 3 7 12 17 Standard Standard 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 245 BU J11 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 mi p 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 MELSOFT Additional information all selected Block No Machining operation output block Normal SFC Machinin g prepar ation SM19036 2 e Blvays Machinin g operat ion prep aration 2 3 Standard Standard goods r goods f oughing inishing start start E M25 x M25 o EM us c nf E M Bes Hachinin Finishin achinin Finishin b operat g start b operat g start star signal star signal comman conman Cis Dummy st Part sur ep face fin ishing 341036 o Y Always Grind
74. list and the conversion of unconverted parts This outline procedure is for reference only You may perform each operation in an arbitrary sequence 3 SFC PROGRAM EDITING MELSOFT 3 2 SFC Diagram Symbol List 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 2 20 Number of steps in each block more than i Bm start block number Block start step one step may be provided for the same block More than one step may be provided in END step each block Selective branch Selective coupling Transition Parallel branch Parallel coupling Right end Jump transition i jump destination step 3 SFC PROGRAM EDITING MELSOFT QnA series SFC diagram symbol list SFC Diagram Symbol 3 0 Initial step Dummy initial step Coil hold initial step Operation hold step without transition At step 0 check initial step Operation hold step with transition check initial step Reset initial step Initial step Dummy initial step At initial step other than step 0 Coil hold initial step
75. 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 SFC PROGRAM EDITING MELSOFT 1 2 Operation starting from the tool button when the FXCPU is used Write overwrite operation example 1 Register a ladder block in block list No 0 P Block title type 12 1 2 3 4 n 5 Double click 6 7 8 Block information setting 4 Blockno 0 Block title selection circuit Block SFC block Ladder block Select ladder block TN Complete 2 Creating a ladder circuit TB m 0 F5 Ee ceo ek Ex Help m LD oX iser sor Convert gt L F4 1 E Enter symbol x Exit Help 3 SFC PROGRAM EDITING MELSOFT 3 Register an SFC block in block list No 1 Block list display Double click View Display block list or Program of Project data list then MAIN Block title Block type 0 Initial selection circuit 1 z 3 4 Double click 6 7 8 Block information setting x ud Blockno 1 Block title Auto operation start step foes type Select SFC block secnm Ladder block LS zs Complete 3 SFC PROGRAM EDITING MELSOFT POINTS Block list 1 When the FXCPU is used
76. memory Unit start 1 0 lowest digit Address HEX Setting value 16 bit integer Set 4 MONITORING 4 4 All Block Batch Monitor and Active Step Monitor MELSOFT Esp Oe 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 INoJO12345679899N00123456789 0 Active block 160 170 180 190 200 210 220 230 240 250 280 270 280 290 300 310 Non active block No 2 75158073859 aa sb BS Active step monitor Close i 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 Ng eMeSSDETEOSOSNOSOSTeg ng E E N eA aA 270 280 290 300 310 320 330 340 350 360 370 380 No 390 400 410 420 430 440 450 460 470 480 490 500 510 5010 123456789 01234567839 0 1 1 1 1 1 1 1 m abl SE A AA Activ
77. nce utput sl machined part chucking SM1036 0 Y71 Pusher r eturn ou tput Y72 Chuck ad vance ou tput 52 Unloading carrier movement 5 1036 0 7 Unloadin g carrie r advanc e output 6 PRINTING THE SFC DIAGRAMS MELSOFT 54 Finished part unloading 5 1036 0 ma o Unloadin g carrie r return output Finishing part picking SM1036 0 79 Unchucki ng Finishin g part p icking K20 TO Picking processi ng time 6 PRINTING THE SFC DIAGRAMS MELSOFT b Operation output transition condition list printing example Block No i Start of blocks 1 2 Normal SFC Continue Act stop M100 m Machined part insertion pusher Instruction Device Device comment SM1036 oui Y70 Pusher advance output sl machined part chucking 5 1036 dos Y71 Pusher return output 2 OUT Y72 Chuck advance output 52 Unloading carrier movement Step Instruction Device Device comment 0 LD SM1036 1 OUT Y78 Unloading carrier advance output Finished part unloading eee Instruction Device comment 5 1036 i m Y7B Unloading carrier return output s5 Finishing part picking step Instruction Instructi Instruction Device Device comment 0 5 1036 1 79 Unchucking 2 OUT YA Finishing part picking 3 OUT TO Picking processing time K20 6 PRINTING THE SFC DIAGRAMS
78. ndition side For details of the operation method refer to the GX Developer Operating Manual 3 13 5 Displaying the Label for Devices Q QnA Eo xe qr qos 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 output tran sition condition side 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 SFC PROGRAM EDITING MELSOFT 3 13 6 Changing the Operation Outputs Transition Conditions to the Ladder Mode List Mode A FX 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 GX Developer Operating Manual 3 SFC PROGRAM EDITING MELSOFT 3 13 7 Displaying in MELSAP L Format This function is available with the QCPU Q mode SFC programs created in MELSAP3 format can be displayed in MELSAP L format by selecting View MELSAP L format For the operation of programs in MELSAP L format see the GX Developer Operating Manual MELSAP L The following restrictions apply when SFC programs created or modified in MELSAPS
79. not be set for individual blocks 3 9 3 SFC Program Setting A Q QnA FX Basic model QCPU is incompatible Set whether the SFC program file being edited is to be a Normal SFC Program or a Control SFC program Operation procedure Tools gt Set SFC information gt SFC type Setting screen SFC program type setting e i C Control SFC type Item explanation When Control SFC program is selected an SFC program can be created for block 0 only Note that if a block start step H 3 is designated in block 0 an error occurs when the program is executed and CPU operation stops 3 SFC PROGRAM EDITING MELSOFT 3 9 4 SFC Program Capacity Check Check the capacity of the program file being edited Operation procedure Tools gt Set SFC information SFC program capacity check Setting screen When the ACPU is used Check of SFC program capacity Result of program capacity check for converted SFC 1 F Setting parameter value of 2 0 KBytes microcomputer capacity 2 Created SFC program capacity 07 KBytes 3 Result of check Check OK When the FXCPU is used Check of SFC program capacity x Result of program capacity check for converted SFC 1 Program capacity set by 800 Step parameter 2 Created SFC program capacity fi Step 3 gt Result of check Pheck OK
80. numbers e g of the SFC diagram 3 SFC PROGRAM EDITING MELSOFT 3 12 1 Searching for a Device Q QnA 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 GX Developer Operating Manual 3 12 2 Searching for an Instruction FX 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 GX Developer Operating Manual 3 12 3 Searching for a Character String Q QnA 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 transi
81. on Main capacity 5 Kbytes Sampling trace 7 Kbytes Sub capacity 0 Kbytes Status latch data memory Kbytes Sub Sub microcomputer Status latch file register Kbytes Total capacity 54 Kbytes Acknowledge XY assignment Default Check End setup Cancel Set the microcomputer capacity and perform the operation of gt End setup 2 Addition of new edit data Project Edit data New Program 54 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 window then appears MELSOFT series GX Developer x Create new data MAIN SFC OK Choosing enables an SFC diagram to be edited under the data name of MAIN SFC 3 SFC PROGRAM EDITING MELSOFT 3 1 2 SFC Program Editing Procedure Outline for Q QnACPU EGUEER X GX Developer 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 Activa
82. ored 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 5 4 5 4 6 PRINTING THE SFC DIAGRAMS MELSOFT 6 PRINTING THE SFC DIAGRAMS 6 1 SFC Diagram Print Setting Operation procedure Project Print Choose SFC Setting screen Print PLC parameters Network parameters Device comment Device memory l Device init l TEL l Cross reference list l List of used device l TC setting Project contents list Product information list Tile MELSAP2 3 MELSAP L Ladder Instruction list ST LabeVFB Structure 1 SFC diagram print item Program selection lt 4 Iv SFC diagram MAIN Select Cleat I Block list election Comments list MAIN Action Transition Ladder Instruction list I Block parameter Print note list 2 Option Device comments 4 8 C 3 5 Machine name Alias Device name Alias 1 Print range lt Action V Transition 5 Allrange 3 gt Setting Range setting Print SFC column numbers are 2 Block Block Action Transition contacts Indication the In case of blocks under conversion before printing make sure that conversion is completed Printer setup Page setup Multiple printing Print Print preview Item explanation 1 SFC diagram print item The it
83. play block list Block list screen When the A or A JQnACPU is used N Block title a Active t Transition Clear Sto r Register 2 0 Start of blocks 1 2 0 ML 2 M3 1 Machining process handling 10 Ml M12 M13 D10 2 Finishing start block 20 M21 M22 M23 D20 3 4 5 6 7 8 1 2 10 1l 12 13 14 15 16 17 18 When the FXCPU is used Block type Ladder block block JLadder block Block title 0 Operation selection l Auto operation Auto operation assistance 3 SFC PROGRAM EDITING MELSOFT 1 One screen displays 32 blocks Using the scroll bar Page Down or 1 L1 key you can change the displayed blocks 2 Indicates whether the corresponding blocks have been converted or not Already converted Not yet converted 3 Display the block program type FXCPU only SFC block or Ladder block is displayed If a ladder circuit that contains a STL instruction cannot be changed to an SFC block add the mark so that the display is Ladder block 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 MELSOFT 3 9 SFC Related Parameter Settings Among the parameter settings made for operating
84. r r Periodic execution block Top of block number Interval ms r Act at block multi activated Stop blocks E at step multi activated gt Waiting blocks 2 Stop blocks 5 d Cancel 1 Item 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 54 3 54 3 SFC PROGRAM EDITING MELSOFT POINT The block parameter settings are common to all blocks They can
85. rcuit in the outside of the PLC system to ensure that the whole system will always operate safely Also determine corrective actions to be taken for the system when a communication error occurs due to a cable connection fault or the like in online operation performed from the personal computer to the PLC CPU N CAUTION Online operation performed with a personal computer connected to the running CPU module especially program change forced output or operating status change should be started after carefully reading the manual and fully ensuring safety Not doing so can cause machine damage or accident due to miss operation REVISIONS The manual number is given on the bottom left of the back cover Print Date Manual Number Feb 2003 IB NA 0800244E A FFirst edition Section 3 14 2 Section 3 14 3 Chapter 5 Japanese Manual Version SH 080357 B 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 2003 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the Mitsubishi MELSOFT Integrated Software Before using the equipment please read this manual carefully to use the product to its optimum A copy of this manual should be forwa
86. rded to the end user CONTENTS SAFETY PREGAUTIONS cite dl eats e nem t n bee db ein eH pre to os A 1 EEE i toe iio cur A 2 INTRODUC TON ettet tie ran ti rtt a eati evn beeen A 3 CONTENTS 3 33 mne teen etti Mes ca boats Seek Met cn Wate shel Mes cou boats ineunte Mes A 3 About Manuals teet dee Hen nte eee eben Der A eect ete vehi Mores A 6 1 OVERVIEW 1 1to1 3 1 1 Product Overview and Features deae edd atado idee 1 1 1 2 Abbreviations and Generic Names Used in This Manual c ccccccccsscccsssceseecseecsseeceseeceseeeeseeeesseeess 1 3 2 1 Precautioris for Use of the rr Red ea ERR YR Db 2 1 2 2 Precautions for Use of the Motion Controller eene nnnm nennen 2 3 2 3 Precautions for Use of the QnAGPU cinia ni aestu 2 4 2 4 Precautions for Use of the 2 2 2 4 2 5 Precautions for Use of the 2 2 4042020 4 2 00 0000 2 5 3 1 SFC Program Editing Outline Procedure ccccecceseeeceeeeeeeseeeeceeeeeecaeeaeceeeaecaeseeseaesaesaeeeseaetaesaeseeeeaeeaes 3 1 3 1 1 SFC Program Editing Outline Procedure for ACPU essen 3 1 3 1 2 SFC Program Editing Procedure Outline for Q QnACPU essent 3 4 3 1 3 SFC Program Editing Proc
87. red in the ladder list i The edited program has transitional condition directly under the block starting step This transitional condition will be disregarded even if the SFC program is executed after the PLC write When the SFC chart is converted i The program block0 transition has transitional condition directly under the block starting step This transitional condition will be disregarded even if the SFC program is executed after the PLC write Instructions that cannot be used in the case of the FXCPU Ladder blocks RET END Steps MC MCR STL RET step ladder instruction SET S OUT 5 RST transition instruction with stepladder END FEND CJ SRET IRET Transition conditions P I STL RET stepladder instruction Coil instructions and output instructions other than the TRAN symbol 3 SFC PROGRAM EDITING MELSOFT 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 each 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 Q QnA ESSE 8 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 da
88. ribute B Block anes pment Cancel Jump destination step number Enter the jump destination step number Clicking the button changes the indication of the step specified as the jump destination from When the FXCPU is used if the jump destination is in another SFC block the step of the jump destination is displayed as Step attribute In the case of a general jump select None 11 Reset jump transition 4 5 5 L Enter SFC symbol F 6 Symbol JUMP Step attribute OK 6 Block Comment Cancel le Diagram symbol Select JUMP as the diagram symbol Jump destination step number Input the step number to be reset Normally input the step number immediately prior to the jump destination Step attribute In the case of a reset jump select R 3 SFC PROGRAM EDITING MELSOFT 12 Rule write Macc 1 gt d ege aF To write a rule click E EN 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 transition condition sequence program are not erased 13 Row insert Edit Insert line
89. rocedure Hold down and double click the step or transition of the SFC diagram whose window will be opened Screen When making a new window 1 new window appears 1 1 4 j i LD Read mode MAIN SFC Step BlockNo 0 StepNo 1 Start of blocks 1 2 machined part chucking eve ry ti me operation IS E 0 TranNo tart of EE E performed Lj mode MAIN SFC 2 Step BlockNo 0 StepNo 0 Start of blocks 1 When not making a new window f SFC Edit mode MAIN SFC Block No 0 Total 193Steps m 2 The display is changed within a single window jachined chucking Set whether a new window is made or not in the Reference window of Tools Set SFC information Option 3 SFC PROGRAM EDITING MELSOFT 3 14 Setting the SFC Diagram Display 3 14 1 Setting the SFC Diagram Display A FX Reste dp e ge d 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 Item 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 FXCPU 1 to 16 Entering
90. roject data list COMMENT Setting screen 1 gt Device Display Device Comment Label Part insertion detection 18 Chuck advance end 2 Maching operation start command x3 Left side face drilling comple Roughing completion siqnal x5 Finishing completion signal x6 Unloading carrier advance end x7 Unloading carrier return end xa x9 jynn 1 Device name Specify the device which will be commented When creating an SFC comment specify the device name as indicated below A Q QnA series Block title BLm Step comment BLm Sn Transition comment BLm TRn m Block number n Step transition number FX series Block title BLO BL24 Step comment 80 8999 device comment corresponding to state S 3 47 3 47 3 SFC PROGRAM EDITING MELSOFT 3 6 2 Editing the Note for Operation Output Q QnA EE UNE This section provides the operation performed to annotate an operation output ladder For full information on notes refer to GX Developer Operating Manual Operation procedure Edit Documentation gt Note Move the cursor to the editing position Alternatively Right double click at the editing position Setting screen Enter Note Embeddec OK C Separate z Item explanation 1 Select Embeddec note or Separate note For the ACPU only separate note is available 2 Note editing area 3 but
91. s 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 You can set 9 contacts or 11 contacts when Bellow is specified for Zoom partition You can set 5 contacts or 11 contacts when Right is specified for Zoom partition Operation procedure View Set the contact at right Setting screen The following screen is displayed when Right is specified for Zoom partition View Online Diagnostics Tools Window Help Display program Alt Ctrl Fa Display comment of step and TR Ctri F5 Display alias of step and TR Alt Ctrl F6 Toolbar v Status bar Zoom Project data list Project data display Format Raw of SEC Zoom setting 4 Set the contact d 5contacts Review SFC 11 contacts Display block list Ctrl B MELSAP L Format Display the reference window Elapsed time 3 SFC PROGRAM EDITING MELSOFT 3 14 4 Setting the SFC Setting Options Q QnA EE ERU Setting purpose This operation is performed to set how to open windows during SFC program editing or for monitoring Operation procedure Tools Set SFC information Option Setting screen SFC option setting Reference window Zoom windows using a separate window Zoom window using a single window 2 gt Jump to START block Zoom mode at block START s
92. splay column setting 3 74 Index 1 SFC parameter setting 3 53 SFC program 3 55 SFC program writing online 3 58 SFC setting option 3 77 Step attribute changing 3 67 Step number replacement 3 64 Step number search SFC diagram side 3 61 Step number search Zoom side 3 62 emp A 5 1 Step transition comment display 3 67 T set value changing 3 66 Timer counter set value changing 3 66 Toolbar menu operation starting from 3 36 Tool button operation starting from when A or Q QnACPU is 3 14 Tool button operation starting from when the FXCPU is used 3 24 Transition watchdog monitor 4 3 Transition watchdog timer 3 77 Z Zoom partition 3 75 Index 2 Index 2 Microsoft Windows Microsoft Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is registered trademark of Intel Corporation in the United States and other countries Other company and product names herein are either trademarks or r
93. step Different in only representation method and identical in function Block start step A block start step is also handled as a single step and a step comment appears when SFC comment indication is given Start destination block number Step number 7 start step r L Step comment of step 7 The comment displayed at the block start step is the block title of the start destination block Start destination block number 1 i Machining operation output block 6 Block title of start destination block L program printed is as displayed on the screen 2 PRECAUTIONS FOR CREATING SFC PROGRAMS SFC comment creation GX Developer 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 MELSOFT SFC comments are created in the SFC diagram writes mode As 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
94. ta after SFC diagram creation 1 Performing operation on the SFC diagram editing screen Operation procedure Edit Documentation Comment gt Move the cursor to the editing position Alternatively zl Right double click at the editing position Setting screen Enter device comment COMME 3 SFC PROGRAM EDITING MELSOFT POINTS 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 In this operation a block title cannot be created corrected About block comments SAP3 When performing file write write to GX Developer 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 When the FXCPU is used Create a block title by displaying the block list then executing Edit Block information If you write to an FXGP DOS format file when a step comment that consists of more than 16 characters has been created the 17th and subsequent characters will be deleted 2 Performing operation on the device comment editing screen Operation procedure Device comment in p
95. ted 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 3 SFC PROGRAM EDITING MELSOFT 1 Select the language v Set the number of contact columns displayed Set the SFC display column v To create new program To modify the existing program y F it s ewe Read the block to be modified Write SFC diagram from block 0 Write insert delete LSE infomation register sting Write the SFC diagrams and SFC comments to the specified block SFC information register setting Step by step operation output transition condition correcting operation Display the specified block Write the transition condition operation output program step by step Conversion operation amp create another block SFC information register setting modification 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 SFC PROGRAM EDITING MELSOFT 3 1 3 SFC Program Editing Procedure Outline for FXCPU GX Developer startup EGHE XEUE When newly created New creation of project Set PC series PC type and proje
96. tep Auto scroll monitor setting 3 4r Monitor on new window when executing Block START step Step transition watchdog monitor setting IV Step transition watchdog monitor Program Name MAIN X 6 All blocks 4 _ C Specified blocks Detail setting Watchdog time o Min 10 Ex Sec Stop watchdog monitoring at detection Item 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 A Q QnA only 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 A Q QnA only 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 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 execute 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 detec
97. 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 parameters Operation procedure PLC parameters in project data list SFC setting of QnA parameter settings Setting screen QnA Parameter x 41 0 assignment PLC name Puc system Puc file Puc RAS Dev ice Program Boot SFI SFC program start mode 6 Initial start C Resume start Start conditions Autostart block 0 C Do not autostart block 0 Output mode when the block is stopped 6 Tum off C Keep on Acknowledge XY assignment Default Check End setup Cancel Item explanation 1 SFC program start mode Set an initial start or resume start to start the SFC program 2 Start conditions Set autostart block 0 do not autostart block 0 at the initial start of the SFC program 3 Output mode when the block is stopped Set whether a stop is made by turning off the coil outputs which were turned on by the OUT instruction or by keeping them on latched when a stop request is sent to any block 3 SFC PROGRAM EDITING MELSOFT 3 9 2 Setting the Block Parameters GGnA Basic model QCPU is incompatible This section provides how to set the block parameters Operation procedure Tools Set SFC information Block parameter Setting screen Block paramete
98. 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 MELSOFT 8 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 1 Press the key 2 Since the window as was shown when the tool button was clicked appears refer to the tool button operation procedure and enter the required items 3 Press the key Operation starting from the key is a method useful for entry of steps and transitions 7 consecutively in the column direction 3 SFC PROGRAM EDITING MELSOFT 3 4 1 2 Deleting the SFC Diagram This section explains how to delete the existing SFC diagram symbols 1 Operation using the tool button to delete 1 Specifying
99. thod is the same as in the ladder mode For details of the operation method refer to the GX Developer Operating Manual 3 SFC PROGRAM EDITING MELSOFT 3 13 Providing Displays 3 13 1 Displaying the Step Transition Comments A FX cm om em Setting purpose This operation is performed to show the created SFC diagram with SFC comments Operation procedure 1 Choose View gt Display comment of step and TR Ctrl F5 7 BL OQ Us m N E 2 The SFC comments appear on the screen 1 2 1 0 Machined part in sertion pusher 2 L u0 Machined part in sertion comple 3 4 sc machined part ch ucking 9 chucking complet ion 3 SFC PROGRAM EDITING MELSOFT 3 When the SFC comments are being shown choosing View Display comment of step and TR Ctr F5 hides the SFC comments This operation is valid only when the cursor is on the SFC diagram side When the FXCPU is used only the step comment is valid 3 SFC PROGRAM EDITING MELSOFT 3 13 2 Displaying the Label in the SFC Diagram Q QnA EE XEEUS 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 Att Ctrl F6
100. tion transition monitoring will stop when a non transition step is detected 3 77 3 77 3 SFC PROGRAM EDITING MELSOFT 3 15 Changing between SFC and Ladder Programs Setting purpose This operation is used when an SFC program is to be changed to a ladder program or when an existing ladder program is to be changed into an SFC program Operation procedure Project Edit Data gt Change program type Setting screen Change program type Program type 3 4 Ladder C SFC Item explanation 1 Ladder Changes the currently displayed SFC program into a ladder program You can edit the changed program as a ladder program 2 SFC Changes the currently displayed ladder program into an SFC program You can edit the changed program as an SFC program 3 button Click this button at the end of setting work POINT For precautions concerning changeover refer to 2 5 Precautions for Use of the FXCPU 4 MONITORING MELSOFT 4 MONITORING 4 1 SFC Diagram Monitor Q QnA EMMENES This operation is used to monitor the operation and control status of the PLC CPU with SFC diagrams and to conduct test operations Operation procedure When monitoring Online Monitor Monitor mode or amp F3 4 When stopping monitoring Online gt Monitor gt Stop monitor or 3 When resuming monitoring Online gt Monitor gt Start monitor or P 3
101. tion 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 MELSOFT 3 Series transition 1 Enter SFC symbol gt ES Symbol TR Step attribute Transition condition number Block 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 Symbol Bloch Transition condition number The system automatically assigns lower to higher transition condition numbers in the order of entry 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 MELSOFT 4 Selective branch A gt Symbol D zf Step atribute E gt ek ok F 3 Block Comment 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 ER Dog p attribute
102. tion condition sequence program appears 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 SFC PROGRAM EDITING MELSOFT 3 12 4 1 Searching for the Step No Block No SFC Diagram Q QnA EE NEUE Setting purpose This operation is performed to show the specified block on the screen by specifying the block No and step No transition No when the cursor is in the SFC diagram Operation procedure Find Replace Find step no block no Setting screen Find step no block no Block number 1 0 r Step Transition Step fi C Transition 1 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 button Click this button to show the SFC diagram in the specified block Find Close c 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 zj 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 3 SFC PROGRAM EDITING MELSOFT 3 12 4 2 Searc
103. 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 run Moving the cursor to the step to be run and choosing 1 step run tests only the specified step Asingle cycle ends when the specified step is run the transition condition holds and a transition occurs to the next step POINTS For the 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 OnACPU only This operation forces the currently displayed block to be inactive Step forced stopping 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 QnACPU only n this operation the step within the currently displayed block which has been set to coil hold operation hold without transition check or operation 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 ign
104. ton Determines the entered note 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 MELSOFT 3 7 Setting the Block Information Q QnA EE NEUE 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 z F4 Edit Block information or Setting screen For ACPU For QnACPU Block information setting Block information setting Bleckno 0 Bleckno 0 Block title Block title a Block Active bit a Block START END bit t Step transition bit t Block transition bit c Block Clear bit s Block PAUSE RESTART bit 3 Block Stop bit m Pause mode bit Active step no register r Number of active steps register c Continues transition bit Enter a device into each item No device may be entered into an unnecessary item 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 op
105. tting the Block Parameters ssesssssssssssssseseseee eene nnne tette trennen enne nnns 3 54 3 9 3 SFG Program Settings i eee ee ans ave c e Pe e e ee 3 55 3 9 4 SFC Program Capacity Check 3 56 3 3 3 10 Conversion 3 58 3 11 Instructions for Online SFC Program Wrfriting sese 3 58 3 12 Making 3 59 3 121 Searching for a Device d e ein i tee e a 3 60 3 12 2 Searching for an Instruction nennen enne nnne nnns 3 60 3 12 3 Searching for a Character String sss 3 60 3 12 4 1 Searching for the Step No Block No SFC Diagram sees 3 61 3 12 4 2 Searching for the Step No Block No 2 3 62 3 12 5 Replacing the 44420444440 0 tnnt 3 63 3 12 6 Replacing the 44 3 63 3 12 7 Changing the Open Close Contacts esssssssssssseeeeeeeee enne 3 63 3 12 8 Replacing the Character String esses ennt 3 63 3 12 9 Replac
106. utputs transition conditions and block information The symbols displayed represent the following Step field eS Step TR Transition Sequence step field a Block Active bit for ACPU Block START END bit for et Steptransition bit for A Q QnA Block clear bit for ACPU Continues transition bit for QnACPU es Block stop bit for ACPU Block PAUSE RSTARA bit for PAUSE mode bit for er Active step number register for ACPU Number of active steps register for QnACPU 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 SFC PROGRAM EDITING MELSOFT 3 12 12 Searching for the Device Use Status Q QnA 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 A QQOm FX TEES 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 me
107. value can be changed between decimal and hexadecimal This change be made by performing Online gt 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 MELSOFT 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 r Word device Close Device v Set Setting value DEC 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 r Bit device FORCE ON Close Device zl FORCE OFF FORCE ON OFF inversion r Word device buffer memory 6 Device 1 Hexadecimal no need to set C Buffer

Download Pdf Manuals

image

Related Search

Related Contents

Summit Appliance CP961 Use and Care Manual  Digitus PCIe, Parallel interface card  Targus Strata 14.1"  Protection des insectes pollinisateurs et utilisation responsable des  Global Programming Interface (GPI) - GPI-2  Copyright Information    ABC Infos N° 1 - Communauté de communes Arnon Boischaut Cher  Piano di sicurezza e di coordinamento e fascicolo dell`opera  es manual de usuario en user`s manual pt manual de utilizador  

Copyright © All rights reserved.
Failed to retrieve file