Home

FX-TRN-BEG-E USER`S MANUAL

image

Contents

1. Category umber symbol Function inctruction PLS instruction Floating decimal 132 TAN Tangent v v point 147 SWAP Float to Scientific v v 160 TCMP Time Compare v 161 TZCP Time Zone Compare m v Clock operation 162 TADD Time Add v 163 TSUB Time Subtract v 166 TRD Read RTC data v 170 GRY Decimal to Gray Code v v Others 171 GBIN Gray Code to Decimal v v 224 LD LoaD compare v 225 LD gt LoaD compare v 226 LD LoaD compare v 228 LD lt gt LoaD compare v 229 LD lt LoaD compare v 230 LD gt LoaD compare v 232 AND AND compare v 233 AND gt AND compare v Contact 234 AND AND compare v comparison 236 ANDe AND compare v 237 AND AND compare v 238 AND gt AND compare v 240 OR OR compare v 241 OR gt OR compare v 242 OR OR compare v 244 OR OR compare v 245 OR OR compare v 246 OR gt OR compare v Application instructions available only in 16 bit or only as consecutive execution type instruction D 6 FX TRN BEG E Appendix B Device List for Virtual PLC B 1 Device range list Devices Device range points Remark Inputs X X000 to X177 128 Octal number Outputs Y Y000 to Y177 128 Octal number Timers T General MO to M512 512 Bit devices Auxiliary relays M M8000 to M8255 Special M 256 Slate 258
2. B 25 FX TRN BEG E C Easy Does It 3 3 1 3 1 2 Basic Timer Operation Category C Step Up Exercise C 1 Basic Timer Operation Objective Learn the On delay time function Difficulty Level 1 X Score Class 80 Basic programming Training Screen Project Edit Convert View Online Tools ur X1 Upper limit XD Lower limit 00000000 00000000 00000006 NSSRUBSS EEE Ready Device Assignment 18 8000 ow 00000000 00000000 00000000 RRRRBROR YS Red Y6 Green Y7 Yellow n Y1 Door down command ON Operation switches 26 NAAR Type Device No Device name Operation Lower limit ON when door reaches lower limit X1 Upper limit ON when door reaches upper limit YO Door up command Door moves up when YO is ON Y1 Door down command Door moves down when Y1 is ON Output Y5 Red Lit when Y5 is ON Y6 Green Lit when Y6 is ON Y7 Yellow Lit when Y7 is ON FX TRN BEG E C Easy Does It 3 3 1 3 Points of training and control specifications 1 Basic operation of the timer The timer in the PLC is expressed with the timer device number and the set value X020 K30 4 Set value H
3. Category F Advanced Challenge Exercise F 7 Sorting amp Distribution Line Objective Sort each part to the specified place according to the size Difficulty Level 4 kkk Score Class 320 Advanced programming 6 7 1 Training Screen 10 Red Y11 Green Y12 Yellow Y2 Conveyor forward ya Sorting wing Y1 Conveyor forward X1 Uppen y x2 Middle y YO Supply command FF X3 Lower XO Starting point v x10 Starting point X11 Part on table X12 Robot operation finished Project Edit Convert View Online Tools 9 gt 00000006 Operation switches 35 nupum o 35 umuBUR2O 00000000 00000000 00000000 00000000 0000000 553533538558 iaazoscd SSSSSBSS JAAR IAAD O amp go sets ase l ze Ready e0760 OW 6 7 2 Device Assignment Type Device No Device name Operation Starting point Supply ON when supplying robot is at start point X1 Upper ON when part is detected 2 Middle ON when part is detected X3 Lower ON when part is detected X4 Sensor ON when part is detected at the right end Input X5 Sensor ON when part is detected at the right end X6 Detect part ON when part is detected in front of pusher X10 ON when unloading robot is at start point X11 Part on table ON when part is on tab
4. Type Device No Device name Operation Yo Hebel conveyor Conveyor moves forward when YO is ON forward Y1 Upper conveyor Conveyor moves backward when Y1 is ON reverse Middle conveyor Y2 Conveyor moves forward when Y2 is ON forward Output Y3 Conveyor moves backward when Y3is reverse Y4 lower conveyor Conveyor moves forward when Y4 is ON forward Y5 Power conveyor Conveyor moves backward when Y5 is ON reverse Y7 Supply command bcd is supplied when Y7 is ON A process cycle Control Objective Operate the conveyor according to the sensor data Control Specifications 1 When PB1 X20 on the operation panel is pressed Supply command Y7 for the robot is turned ON if the robot is at Starting point X5 When PB1 X20 is released Supply command Y7 is latched on until the robot returns to the Starting point X5 2 When Sensor detects a part Upper conveyor forward YO is set ON 3 When Sensor X1 detects a part Middle conveyor forward Y2 is set ON and Upper conveyor forward YO stops 4 When Sensor X2 detects a part Lower conveyor forward Y4 is set ON and Middle conveyor forward Y2 stops 5 When Sensor X3 detects a part Lower conveyor forward Y4 stops 6 When Sensor X3 is set ON Supply command Y7 for the robot is turned ON and a new part is supplied if the robot is at Starting point X5 B 47 FX TRN BEG
5. Lamp display 0000 z x 5 Lx Operation switches 00000000 35 o S x24 OFF ON 00000000 90000000 00000000 JHARNA Jaunpun o o E HJ Us prp cma cF5 F5 Fo 525 526 F F8 F9 7 8 28 10 9 Ready 8 800 OW 2 3 2 Device Assignment Type Device No Device name Operation YO Red signal Lit when YO is ON Output Y1 Green signal Lit when Y1 is ON FX TRN BEG E B Let s Study the Basics 2 2 3 3 Points of training and control specifications 1 D Interlock program in which precedence is given to the first input The interlock program is used to give precedence to an input operated first to avoid any unwanted interruption by another operation The principle is often used to control the forward reverse rotation command of motors or the ON OFF status of a solenoid valve with possible safety hazards Example X024 Yoo Enter Y001 as the NC contact for OUT i Y000 H instruction YOOO X025 YOO0 Enter YOOO as the NC contact for OUT pd Yo01 instruction YOO1 In
6. MOV K100 MOVP K200 Bit device r Word device Type the device number whose value is to be changed 2 2 Force on Close Hide history Enter the device number to be meme changed Specify decimal or Select decimal and 16 bit integer then set 100 to the D5 POINT Device D5 v Setting value 100 DEC mj i6bitinteeer Set hexadecimal Specify 16 bit integer 32 bit integer or real number then type a desired value After specifying the value click the set button The value will be set for the selected device The devices to which the device test was executed and the setting status are displayed in the Execution history field You can execute again the test displayed in the Execution history field m Word device Device 012 7 Setting value 200 DEC 116 bit integer 7 Set 200 D Force off 12 0 Force on Force on Devices which have been tested are displayed Ifyou change the value of a device by the device test while simulation is being executed the machines simulated and the operation panel in which the same device is set are also affected in the same way C 23 FX TRN BEG E Operation 3 3 5 Print This chapter explains how to print the programs and device comments 1 Select View gt Comment to display device comments in the ladder program area 2 Select Project gt Prin
7. OUT Final logical operation 5 OUT type coil drive OUT_YO p SET Sets a bit device SET permanently ON F8 gt SET YO SET YO m set ws H RST Resets a bit device ReSeT permanently OFF F8 gt RST YO RST YO m 6 RST YMSTCD H Rising edge pulse F8 M PLS YO PLS YO PLS H PuLSe PLF Falling trailing edge Falling pulse F8 gt PLF YO PLF YO m H REF Y H MG Denotes the start of 28 gt MC_NO_YO MC_NO_YO 4 4 wc nN wH MCR Denotes the end o _ cr H Reset a master control block FS SSMOCEECNO S MCR NG i MPS Stores the current Master Point result of the internal Store PLC operations 177 Reads the current MPS MRD result of the internal A Master ReaD MRD PLC operations MPP Pops recalls and MPP removes the currently Master PoP stored result INV Invert the current result of the internal PLC Alt Ctrl F10 INV FS INVerse operations INV END Forces the current __ __ END END program scan to end Cannot be written underline Leave a space here D 2 FX TRN BEG E A 2 Stepladder instructions Input Mnemonic Function Input method method Program and target Symbol device Instruction Starts stepladder F8 gt STL SO STL SO STep Ladder ARE Ends s
8. 5 SSSS5B 5S8 AO ORO ESI EE Ready 6 3 2 Device Assignment Type Device No Device name Operation X0 Starting point ON when robot is at starting point X1 Upper ON when part is detected X2 Middle ON when part is detected x3 Lower ON when part is detected X4 Sensor ON when part is detected on the incline Input X5 Sensor ON when part is detected on the incline X6 Sensor ON when part is detected on the incline X7 Sensor ON when part is detected at the right end X10 Detect part ON when part is detected in front of pusher X11 Detect part ON when part is detected in front of pusher X12 Detect part ON when part is detected in front of pusher FX TRN BEG E F Advanced Challenge 6 6 3 3 6 3 4 Type Device No Device name Operation One part is supplied when YO is ON A process cycle YO Supply command begins Wooden part repeats in order M S L M M L S S L L Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor forward Conveyor moves forward when Y2 is ON Conveyor forward Conveyor moves forward when Y3is ON Output Y4 Conveyor forward Conveyor moves forward when Y4 is ON Y5 Pusher Extends when Y5 is ON and retracts when Y5 is OFF The pusher cannot be stopped in the mid stroke YG Bisher Extends when Y6 is ON and retracts when Y6 i
9. Can change the operations of machines No The device assignment in machines is determined in advance You cannot add or change them Do need to wire the virtual PLC to the machines No They are wired virtually inside your computer Can I restart the operation of the machine if the machine stops or parts are stuck Yes Click Reset on the remote control to reset the I O status of the PLC and return the screen to the initial status The program is saved in the PLC Can perform the operations different from the ones shown in the guidance Yes There is more than one way to control the machines When does the person appear in the 3 D graphic simulation In most cases the person appears to collect parts when certain amount of parts are put in the tray How do I speed up the operation of the simulation machines When the performance of the computer is improved the operation speed of the machines is improved accordingly If you have the unwanted situation such as the input data from a sensor is not received properly speed adjustment is required Operation panel Question Answer Can add switches and lamps Can change the device assignment Can change or add letters and phrases displayed Can change the lamp colors No Assignment of switches and lamps on the panel are determined in advance and cannot be added or changed Can use the switche
10. Execution of Category number symbol Funetion instruction OPUS instruction 40 ZRST Zone Reset v 41 DECO Decode v 42 ENCO Encode v 43 SUM The Sum Of Active Bits v v 44 BON Check Specified Bit v T Data process Status 45 MEAN Mean v v 46 ANS Timed Annunciator Set 47 ANR Annunciator Reset v 48 SQR Square Root v v 49 FLT Float Floating Point v v 60 IST Initial State 61 SER Search v v 62 ABSD Absolute Drum v 63 INCD Incremental Drum Useful instruction 64 TTMR Teaching Timer s femm Seana ne 66 ALT Alternate State 67 RAMP Ramp Variable Value 69 SORT Sort Data 76 ASC ASCII Code Lek weise penc Dow O PUNGIN Boge V 4 External 82 ASCI Hexadecimal to ASCII v equipment f SER 83 HEX ASCII to Hexadecimal v 110 ECMP Float Compare v v 111 EZCP Float Zone Compare v v 118 EBCD Float to Scientific v v 119 EBIN Scientific to Float v v 120 EADD Float Add v v Floating decimal 121 ESUB Float Subtract v v point 122 EMUL Float Multiplication v v 123 EDIV Float Division v v 127 ESQR Float Square Root v v 129 INT Float to Integer v v 130 SIN Sine v v 131 COS Cosine v v D 5 FX TRN BEG E Execution of
11. Is driven turned ON when signals for all the contacts connected to the OUT instructions are received turned ON Example of program See Chapter 1 in the guidance X020 Y000 Green lamp X020 Y001 Yellow lamp X021 X024 Yoo2 Red lamp X022 Bus The left vertical line is used as the base for in writing a program Reference Instruction word Inside the PLC contact symbols and Out instruction symbols are handled in instruction words LD AND T T OUT OR OR FX TRN BEG E B Let s Study the Basics 2 3 How to write dual coils and auxiliary relays Writing dual coils means to construct a program with two or more control steps for the same output If you wish to control an identical output with multiple input conditions try to combine the input conditions as in the program below Example of dual coil 990 Y000 The output is controlled with both inputs S X000 and X002 X002 Yo00 Example in which auxiliary relays are used X000 X000 Yo00 MO X002 X002 M1 MO Y000 M1 Tips for using auxiliary relays Auxiliary relays are convenient when avoiding dual coils as shown or when writing similar input conditions as shown below Example in whic
12. 7005 red lamp Y005 is lit Three seconds Y005 X020 K30 T1 after the switch X020 is set the red lamp is extinguished X021 T2 m vooe When the switch X021 is set ON the green lamp YOO6 is lit Even if the Y006 K50 A u switch X021 remains ON the green 7 lamp is extinguished five seconds 2 later B 29 FX TRN BEG E C Easy Does It 3 3 3 Application Timer Program 2 Category C Step Up Exercise C 3 Application Timer Program 2 Objective Learn a flicker program executed by timers Difficulty Level 2 xx Score Class 110 Basic programming 3 3 4 Training Screen 54 DD5C FXTRN BEG E Eile Edit Simulation Tools Help Application Timer Program 2 Project Edit Convert View Online Tools es Operation Panel Lamp display wa a el Ms Operation switches BRIG x20 x24 x25 x21 OFF f orr E N x23 00000000 00000000 00000000 2 waunpun o o a E 81 xg Eee jeF5 F5 F6j sF5 sF6 F F8 F9 sF9 cF9 cFio sF7 sF8 aF7 aF8 f0 F10 aF9 Ready 11 8000 OW 3 3 2 Device Assignment Type Device No Device name Operation YO Red signal Lit when Y
13. D 23 FX TRN BEG E C 5 7 Stage Settings The curtains are opened and closed horizontally and the stage is moved up and down Appearance side view Operation pe Buzzer Curtain opening closing 1 11 Sens An individual output Y is assigned to S each of the curtain opening and the curtain closing The opening output or the closing output is held while it is set ON The curtain opening and closing motors are not displayed on the screen Curtain position sensor n the upper portion of the curtains the inside middle and outside sensors are provided six sensors in all Berean These sensors are used to detect the Details of stage curtain opening closing position 9 not controlled 9 9P front view The ON OF status of the sensors not displayed graphically can be monitored by the red indicator at the left part of the device numbers on the simulation or indicators on the I O image table in the virtual PLC Stage moving up down motors Stage moving up down The stage carries up and down the person An output Y is assigned to each of the stage moving up and the stage moving down respectively While either output is ON the stage is moved up or down If the both outputs are set ON at the same time the stage is stopped The motors are not displayed on the screen CE ij Stage upper limit lower limit sensor In the front view and the plan view you can see in
14. System requirement Question Answer Is a Pentium 500MHz CPU mandatory No the software runs at approximately 300 to 400MHz Lower specification equipment will cause the overall operation to be slow Is 64MB of RAM memory mandatory 64MB or more is mandatory It is recommended to use 128MB or more for cases in which other softwares are running at the same time Is 4MB of VRAM video memory or more mandatory In order to assure the operation speed and the display contents of the simulation use a computer equipped with a video memory of 4MB or more Is the screen display of XGA 1024 x 768 or more mandatory Yes This software is designed at the fixed size of the XGA 1024 x 768 D 30 FX TRN BEG E D 2 What to do if It indicates that you completed the exercise It is not displayed if you are not registered as a user when starting the software Print out the program you have written and check the contents Refer to model answers if needed The machine in the simulation does not operate Check whether the device assignments in the program are equivalent to those shown in the guidance A conveyor does not move if the forward and reverse motors are ON at the same time would like to speed up the operations in the virtual manufacturing cell When the performance of the computer is improved the operation speed of the machines is i
15. Selection of exercise Confirmation of contents of exercise Creation of program Confirmation of operation Repeated learning Self judgement End of exercise End Install the data from the CD ROM rv 2 2 Register as a User 2 3 Select a category in the main menu 2 4 or Exercise Section Select an exercise you would like to try rs 2 5 Read the guidance and understand the contents of the exercise 2 5 Write a program following the guidance 2 6 or Ladder Tool Section Transfer the program to the virtual PLC in your computer and confirm the machine operation 2 7 Judge the simulation result yourself If you are a registered es Dus are added and your progress is updated ts 2 8 e Exit the learning software 2 9 Stick to it while aiming at the high score FX TRN BEG E Outline of the Lesson Plan 2 2 2 Setup of Software Set up the software following the procedure below System requirements for your computer Microsoft Windows 98 Windows 98SE Windows Me OS Microsoft WindowsNT 4 0 SP3 or later Microsoft Windows 2000 Microsoft Windows XP CPU Pentium 500 MHz or more is recommended Memory 64 MB or more 128 MB or more is recommended Hard disk 150 MB or more CD ROM drive 1 unit for installation Display XGA 1 024 x 768
16. FX TRN BEG E E Intermediate Challenge 5 5 3 3 5 3 4 Control Objective Give the command to a robot to move a part to a new location Control Specifications 1 The operator supplies parts The operator confirms the indicator lamp Supply allowed is lit and supplies a part to the conveyor If the indicator lamp is always lit the operator continuously supplies parts 2 While the PLC is in RUN status the conveyor always moves forward 3 When PB1 X20 on the operation panel is pressed Supply command YO is turned ON and the Supply allowed indicator lamp is lit The operator supplies a part When PB1 X20 is released the indicator lamp is extinguished However if a part is still located on the table Supply command YO is not turned ON so that the indicator lamp Supply allowed is not lit 4 When Part on table X1 is turned ON in the robot Unload command Y2 is set ON When Robot operation finished X2 is turned ON it is ON when a part is placed on the tray Unload command Y2 is set OFF Unload command Y2 should be set ON only when the robot is at the starting point B 55 FX TRN BEG E E Intermediate Challenge 5 5 4 Drilling Category E Intermediate Challenge Exercise E 4 Drilling Objective Control the drill and other devices Difficulty Level 2 Score Class 210 Intermediate programming 541 Training Screen Y2 Start drilling XO
17. Write to PLC Or you can use the remote control The Write to PLC dialog box is displayed and you can check the writing status there If the virtual PLC is in RUN mode it is automatically and writing is executed 3 When writing is completed the dialog box Write completed The simmulation will start is displayed Click the OK button to run the virtual PLC POINT e Status display of the virtual PLC and Write to PLC on the remote control Edit Ladder Edit Ladder Teens D lt Click the Write to PLC button to Reset write a program to the virtual PLC 5 5 This button functions the same way as selecting Online Wite to 4 gt 4 gt PLC as described above You can write and edit a program if you click Edit Ladder when the PLC is in RUN mode C 21 FX TRN BEG E Operation 3 3 4 2 3 4 3 Monitor display When you write a program to the virtual PLC the ladder program area automatically displays the monitoring result and you can check the ON OFF status and stored values of devices The device status is displayed as follows OFF status 4100 e p os fof In order would to finish monitoring and write or edit program click the Edit Ladder button on the remote control Changing the current value display format The current values of devices can be expressed in decimal or hexadecimal 1 Select Online Monitor Change current va
18. the counter RST instruction C E A K ON Count input OFF 8 co Current value 2 2 F 1 D 1 0 0 0 CO contact ON Y003 OFF B ON GEM Reset input OFF For each count input received A the current value of the counter is incremented by 1 When the current value reaches the set value the contact of the counter turns ON B After the counter reaches the set value the current value is not changed even if the count input C is set ON and OFF and the counter contact remains ON B When the counter reset instruction RST is set ON the current value of the counter becomes 0 D and the contact turns OFF While the RST instruction is ON any count input is not counted E When the RST instruction is set OFF count inputs are counted However if the RST instruction is set ON before the current value of the counter reaches the set value the current value is reset to O and thus the counter contact does not turn ON F B 33 FX TRN BEG E C Easy Does It 3 2 Counting the number of parts Control specifications a When the part supply command X002 is set ON the part supply output YOOO is initiated b The conveyor operation command X003 initiates the conveyer forward output 001 c The num
19. Guidance 1 gt Hint Hint page Back 2 ac Did you get it right No Yes Guidance 1 Scroll Hint 2 Did you get it right No Yes 1 Hint If you click HINT in the text you jump to the hint page and come back when you click Back on the hint page They are provided in all the exercises in Category D E and F 2 Did you get it right Click Yes to proceed to the next chapter Click No to return to the top of the chapter When Yes is clicked in the final chapter the self judgment page is displayed Note This box is not displayed if you gt are not registered as a user Final chapter Hint page Guidance Back 1 Hint Confirmation screen 2 Refer to 2 8 Did you get it right No Yes Please try it again Click on the remote control to Click Main on the remote update your score control to return after judging to the main menu ISW DSC FXTRN BEG F mpleted Please push the appropriate button controled as described in the specification The machine could not be controlled or the programming was not completed vor ER en Update main the Returns to the score and returns confirmation to the main menu screen FX TRN BEG E Outline of the Lesson Plan 2 2 5 6 2 5 7 Image Table for Virtual PLC The status of the virtual PLC the I
20. Y4 Green YS Yellow Project Edit Convert View Online Tools E E NSUBUBSS Saaran a 10 00000000 00000000 00000000 00000000 00000000 S858 58859 AO ORO TE Ready 1 800 ow 3 4 2 Device Assignment Type Device No Device name Operation Input Sensor ON when part is detected at the right end Indicator on screen is lit when YO is ON Operator vg supply commana supplies parts while indicator is lit Y1 Conveyor forward Conveyor moves forward when Y1 is ON Output v3 Red Lit when Y3 is ON Y4 Green Lit when Y4 is ON Y5 Yellow Lit when Y5 is ON B 32 FX TRN BEG E C Easy Does It 3 3 4 3 Points of training and control specifications 1 Basic operation of the counter The counter in the PLC is expressed with the device number and the set value Count input K5 4 Set value H 2 4 Current value Reset input RST H co rin Counter reset instruction Y003 8 Counter contact Set value Expressed in decimal K precedes the value Present value Increments from O until it reaches the set value To monitor select Online Monitor in the ladder menu Reset Returns the current value of the counter to 0 and sets OFF the contact of
21. 8 Initial S0 to S9 10 ate rela 4 S10 to S511 502 100ms TO to T199 200 10ms T200 to T245 46 ms retentive T246 to T249 4 100ms retentive T250 to T1255 6 block Word 16 bit up CO to C T199 200 Counters devices 32 bit up down C200 to C234 35 General DO to D511 512 Data registers D Latched 06652 Pair for 32 bit device VO to V7 and 20 to __ Z7 16 Nest levels N For master NB 8 Pointers For use with CALL JUMP PO to P127 128 16 bit 32768 to 32767 Decimal K 2147483648 to SE 2147483647 E RSS 16 bit HO to HFFFF X Bu 32 bit to HFFFFFFFF 1 The current value of the elapsed timer can be cleared by the following operations When the Reset button on the remote control is pressed When the program is written to the PLC When returning to the main menu In programming RST or MOV instruction can be used to clear the current value D 7 FX TRN BEG E B 2 B 2 1 Special device list Special auxiliary relays Diagnostic Device Name Operation OFF STOP M8000 RUN monitor NO contact ON RUN OFF RUN M8001 RUN monitor NC contact ON STOP M8002 Initial pu
22. Control Objective Control the door which opens or closes when detecting a car Control Specifications 1 When the car comes near the opening the door moves up 2 When the car passes through the door the door moves down 3 The door stops moving up when Upper limit X1 is turned ON 4 The door stops moving down when Lower limit XO is turned ON 5 While the car is still in the detection range between In gate sensor X2 and Out sensor X3 the door will not move down 6 Buzzer Y7 sounds while the door is in motion 7 Light Y6 is lit while the car is in the detection range between In gate sensor X2 and Out sensor X3 8 Four indicator lamps on the operation panel are lit or extinguished according to the movement of the door 9 The door can be opened closed manually by pressing the buttons A Door up X10 and WV Door down X11 on the operation panel B 65 FX TRN BEG E F Advanced Challenge 6 6 2 Stage Settings Category F Advanced Challenge Exercise F 2 Stage Settings Objective Control stage settings according to the control specifications Difficulty Level 8 Geox Score Class 290 Advanced programming 6 2 1 Training Screen RN BEG E File Edit Simulation Tools Help Re Y5 Buzzer ej Left cu
23. D8068 nn Sion Operation error step number latched D8069 eh an found errors corresponding to flags flags M8065 to M8067 08102 Memory Capacity 8000 D8164 ee Number of FROM TO exchange points FX TRN BEG E Be Name Operation D8182 Value of Z1 index register Value of Z1 index register D8183 Value of V1 index register Value of V1 index register D8184 Value of Z2 index register Value of Z2 index register D8185 Value of V2 index register Value of V2 index register D8186 X Value of Z3 index register Value of Z3 index register D8187 Value of V3 index register Value of V3 index register D8188 Value of Z4 index register Value of Z4 index register D8189 Value of V4 index register Value of V4 index register D8190 Value of Z5 index register Value of Z5 index register D8191 Value of V5 index register Value of V5 index register D8192 Value of Z6 index register Value of Z6 index register D8193 Value of V6 index register Value of V6 index register D8194 Value of Z7 index register Value of Z7 index register D8195 Value of V7 index register Value of V7 index register 1 The initial value is 200ms Can be rewritten but WDT check is not executed 2 The time which the clock in your computer indicates is displayed FX TRN BEG E Appendix C Details of Simulated Machine Components C 1 This section explains each
24. F Advanced Challenge F 1 Automatic Door Operation F 2 Stage Settings 7 x3l0utsensor Ep J N E F 3 Part Distribution X hside XI iddle Xatuts der 26 up command Yaiene down command XT Stene lower Irni IF ight curtain postion x amp outsiden Y Curem open command xt Cuain close command YrPusnen XiOeterpad X11 Detectpar 1 2 Detect par vt sa Caneyar tower 3 Conveyor tanward Yatlonveyar forward Es d N zai F 5 Forward Reverse Rotation Control NI Y Supy command ding x0 Driing Part under dii correct XGiDriled wrong YilCanvayortarnarc YEP usher X1 0Detect pat mg F 6 Lifter Control Xt Mia X3iDetect part 1 East Conveyor Yo orero Y Reverse F 7 Sorting amp Distribution Line on if If cost command Caneva CAU Up command down command rotation command Me Ubper lit position ition xa Lovier it pastion Jae x2 Lower comveyortorwent YS Lower conveyor foeni ined yt3tYeliou 1 Xs Delect par YstSorino ung command XOtSt
25. Help If you cannot get the machine to operate correctly Ladder button on the remote control and select Help Ladder Y2 Push Program Model Answer Model Answer3 to read an example program that works properly z 4 There may be more than one correct answer N p _____ b Project Edit Convert View Online Tools Lamp display 9999 Ae Cautions f you edit a model answer and overwrite it the contents of the model answer are changed f you wish to edit a model answer file select Project Save As to create another model answer file with a different name for editing The contents of model answers are offered as examples of the control program FX TRN BEG E Outline of the Lesson Plan 2 2 7 Operation Confirmation After writing the program transfer it to the virtual PLC 2 7 1 Program Transfer Click Write to PLC on the remote control or select Online Write to PLC on the ladder menu to transfer the program to the virtual PLC While transfer is performed the window shown below is displayed Write to PLC x EN Writing program When transfer is finished the message Write completed The simulation will start is displayed Ladder Tool x 22 Completed The simulation will start Press OK to start the simulation 2 7 2 Adjustment of Simulation Speed If you are using a computer with high perf
26. Let s Study the Basics 2 2 B Let s Study the Basics B 1 Basic I O Program B 2 Standard Program YsiRed FX TRN BEG E B Let s Study the Basics 2 2 1 Basic Program Category B Let s Study the Basics Exercise B 1 Basic I O Program Objective Learn input and output programs Difficulty Level 1 X Score Class 80 Basic programming 2 1 1 Training Screen FXTRN BEG E 22 Eile Edit Simulation Tools 3 Help D ol Project Edit Convert View Online Tools Operating Stop Error BIS 35 saupun o 36 nupun o 00000000 00000000 00000000 9 00000000 00000000 00000090 855533858558 Sadzanza SSSS5B SS Ready 2 1 2 Device Assignment 97 000 Device Device name Operation Yo Operating lamp Green lamp is lit when YO is ON Output Y1 Stop lamp Yellow lamp is lit when Y1 is ON Y2 Error lamp Red lamp is lit when Y2 is ON FX TRN BEG E B Let s Study the Basics 2 2 1 3 Points of Training and Control Specifications 1 Inputs outputs and other devices The PLC is equipped with input points and output points which are connected to control equipment and a variety of devices the ai
27. MITSUBISHI ELECTRIC PROGRAMMABLE CONTROLLERS MEILSEE F Sections INTRODUCTION A EXERCISES B LADDER PROGRAMS C APPENDIX i USER S MANUAL FX TRN BEG E Y10 Red Y11 Green Y6 Pusher 12 Yellow Xb Detect part Y2 Conveyor forward Y3 Sorting wing E r Y5 Conveyor forward or forward be Y4 Conveyor forward YT Unload x10 Starting X11 Part on table x12 Part in tray FX TRN BEG E FX TRN BEG E FX TRN BEG E USER S MANUAL Manual number JY997D02901 Manual revision E Date June 2015 FX TRN BEG E FX TRN BEG E INTRODUCTION INTRODUCTION The method to set up the software and the flow of the lessons are explained in this section Please read to improve the effectiveness of the later lessons Contents 1 INTRODUCTION ai 2 Outline of the Lesson Plan mess siehe 2 1 Outline EN nee 2 2 Setup of SOMWALE cd m rica ood rena 2 3 Begin to Learn PLC 2 3 1 Start the Training Software essenssnennsnnnnnnnnnnnnnnennnnnnnnnnnn 2 3 2 User Registration 2 4 Configuration of Main Menu sese 2 5 Configuration of Training 2 5 1 raining Screen use eben eges 2 5 2 3 D Virtual Manufactu
28. PLC determines order and status ol operations Devices controlled by Devices which detect the the operator machine stalus Devices which indicale Devices which perform the machine status 1 Switch is turned ON work 2 Motor rotates 3 Lamp is lit Example of inputs and outputs in the PLC in the unit of machine PLC determines order and status ol operations Devices controlled by Devices which detect the Ihe operator machine stalus Devices which indicale the machine status B 7 FX TRN BEG E A Let s Learn the FX Series PLC 1 4 Configuration of the training software In this training software machine parts such as sensors or conveyor motors in the 3 D graphic simulation are already wired to the virtual PLC Write a program confirming the control specifications indicated in the guidance with pre assigned input X and output Y device numbers The machines in the 3 D graphic simulation will operate according to downloaded program le 3 f Various exercises are prepared in the software pu Try to solve them all PLC and peripheral I O equipment Learning screen Learning Screen Configuration D Grape Simulation m RT B 8 FX TRN BEG E A Let s Learn the FX Series PLC 1 1 2 Application Examples for the FX Series PLC Category A Let s Learn the FX Series PLC Exercise A 2 Application Examples for the FX S
29. XYMSTC LoaD Pulse Rising edge pulse SR TE EDECXD k LDF Initial logical operation XYMSTC Falling Falling trailing edge Shift F8 XO LDF_XO p pulse pulse Serial connection of XYMSTC ANB NO normally open F5 gt AND XO L H AND contacts ANI Serial connection of XYMSTC AND Inverse NC normally closed Shift F5 XO ANI XO contacts ANP Serial connection of ANd Pulse Rising edge pulse Shift ANDP 0 e ANF Serial connection of XYMSTC ANd Falling Falling trailing edge Shift F8 ANDF XO IH pulse pulse OR Parallel connection of NO normally open F6 OR XO lt H contacts AL I ORI Parallel connection of OR Inverse NC normally closed Shift F6 gt XO ORI XO lg room contacts ORP Parallel connection of OR Pulse Rising edge pulse A ORF Parallel connection of OR Falling Falling trailing edge F8 gt ORF XO pulse pulse D 1 FX TRN BEG E Input Mnemonic Function ar A B method a target y Instruction ANB Serial connection of __ ANd Block multiple parallel circuits Parallel connection of m E OR Block multiple contact circuits
30. iue d t Do a ia OR da bp m ed ne tad bes C 18 3 9 Display and input of comments eta bp se ee C 19 3 31 Display of comments iir m n eai i eed d C 19 3 3 2 nput of comments ee RE nee ERE E C 20 3 4 Communication with virtual PLC essssseeeeeeeemeeneeennnenens C 21 3 44 Write to PEG iiie eedem ttl etel tend cines ti etat C 21 3 4 2 Monitor display 5 E 22 34 3 M 22 3 57 CER pee ee Eve ac eee dei eee ius lees ev vene dea dd C 24 C 1 FX TRN BEG E Outline 1 1 Outline The learning software consists of the 3 D graphic simulation the ladder program area and the operation panel This section explains how to use the ladder Chapter 1 Let s Write a Program Chi APA amp Let s write simple program for operating a conveyor 3 D g rap h ic S i m u latio n CAUTION Click the ladder program area to enable operation The title bar will 30 Y2 Pusher tions are not enabled when the title bar and menu items Click Edit Ladder button on the remote control Only the END symbolis displayed on the screen An END rung at the Xr of the program signals that no other z Ladder program area ON on 00000000
31. 2 Score Class 160 Beginner programming Training Screen Project Edit Convert View Online Tools Y2 Green Yo Red YI Yellow s 4E up ue ue FS F6 Ready Device Assignment gt x Eee el Fo sF7 sF8 aF7 aF8 0 10 9 Time Control for Traffic Light Operation Panel Lamp display x ol 00000000 00000000 00000000 z 24 8000 OW 00000000 00000000 00000000 26 Operation switches x24 TARUNO AOOBRONM Type Device No Device name Operation YO Red Lit when YO is ON Output Y1 Yellow Lit when Y1 is ON Y2 Green Lit when Y2 is ON B 40 FX TRN BEG E D Beginner Challenge 4 4 3 3 4 3 4 Control Objective Control a traffic light where the signals are changed at specified time intervals Use the basic instructions and timers previously studied Control Specifications 1 When PB1 X20 on the operation panel is pressed the process is started 2 First the signal lamp Red YO is lit for 10 seconds 3 he signal lamp Red YO is extinguished after it has been lit for 10 seconds The signal lamp Yellow Y1 is lit for 5 se
32. Drilling _ X1 Part under drill X2 Drilled correctly X3 Drilled wrong Project Edit Convert View Online Tools Lamp display a Y oooQ Eo Operation switches 459 36 nupunm o 35 00000000 00000000 00000000 5 00000000 00000000 00000000 5553358558 iaaroscd SSSSSBSS a2aarosc AO OO PEE ESSE Ready 217 000 ow 5 4 2 Device Assignment Type Device No Device name Operation Drilling ON while drilling X1 Part under drill ON when part is under the drill x2 Drilled correctly ON when part is drilled correctly Previous result is Input cleared when drilling starts Drilled wrong ON when part is not drilled correctly Previous result is cleared when drilling starts X5 Sensor ON when part is detected at the right end YO Supply command One is supplied when YO is ON process cycle begins Large metal cube Output Y1 Conveyor forward Conveyor moves forward when Y1 is ON Starts drilling when Y2 is ON A process cycle that Y2 cannot be stopped partway FX TRN BEG E E Intermediate Challenge 5 5 4 3 5 4 4 Control Objective Drill holes in parts supplied from the hopper Control Specifications Overall control 1 When PB1 X20 on the operation panel is pressed Supply command YO for the h
33. E D Beginner Challenge 4 MEMO B 48 FX TRN BEG E E Intermediate Challenge 5 5 E Intermediate Challenge E 1 Pushbutton Signal E 2 Part Sorting by Size 11 Yin Yicconveyor forward Yiomeyor xm Corin Yicconveyor foeni B 49 FX TRN BEG E E Intermediate Challenge 5 5 1 Pushbutton Signal Category E Intermediate Challenge Exercise E 1 Pushbutton Signal Objective Switch the traffic light signals in response to a pushbutton Difficulty Level 2 Score Class 210 Intermediate programming 5 1 4 Training Screen uu NS Y2 Green YO Red YI Yellow Project Edit Convert View Online Tools 00000000 0 E RENTRER RR 00000000 00000000 00000000 BRRPRRRB AAARGHIG p AGAKGHAS 00000000 a girl zie ze es ule Beal A 0 5 F5 6 sF5 sF6 F F8 F9 sF9 cF9 cFio 7 8 f0 F10 aF9 Ready 38 8000 OW 5 1 2 Device Assignment Type Device No Device name Operation YO Red Lit when YO is ON Output Y1 Yellow Lit when Y1 is ON Y2 Green Lit when Y2 is ON FX TRN BEG E E Intermediate Challenge 5 5 1 4 Control Objective Switch the traffic light signals in
34. Jej YT Yellow YO Supply command X0 Starting point E 35 Operation switches NSSRUBSS x21 OFF on on 00000000 00000000 00000006 00000000 00000000 00000000 885358958 RES Ready Device Assignment 18 890 ow Type Device No Device name Operation ligit X0 Starting point ON when robot is at starting point X3 Sensor ON when part is detected at the right end YO Supply command iat oa is supplied when YO is ON A process cycle Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor reverse Conveyor moves backward when Y2 is ON Output Y3 Buzzer Sounds when Y3 is ON Lamp on screen is lit Y5 Red Lit when Y5 is ON Y6 Green Lit when Y6 is ON Y7 Yellow Lit when Y7 is ON B 44 FX TRN BEG E D Beginner Challenge 4 4 5 3 Control Objective Start and stop the conveyor according to the predetermined procedure 4 5 4 Control Specifications 1 When PB1 X20 on the operation panel is pressed the flashing light Yellow Y7 is lit and Buzzer Y3 sounds for 5 seconds If PB1 X20 is released Yellow Y7 remains lit 2 After the flashing light Yellow Y7 is extinguished and Buzzer Y3 stops Conveyor forward Y1 is set ON The flashing light Green Y6 remains lit wh
35. Output OFF Operation Conveyor operation command output Y is assigned to the conveyor When the conveyor output is set ON it moves to the right The motor built in the conveyor is not displayed Sorting wing An output Y is assigned to the sorting wing While the output is ON the sorting wing turns to the front and parts are carried to the rear conveyor While the output is OFF the sorting wing turns to the rear and parts are carried to the front conveyor Sensor Sensors are provided according to the exercise FX TRN BEG E C 5 3 Lifter The lifter carries parts upward or downward Appearance side view Conveyor Part Conveyor Lifter Appearance front view The lifter moves up gt Lifter moving up Part absence Lifter position down motors presence detection detection sensor not displayed sensor not not displayed displayed 1 Part carrying direction 2 Part carrying direction Operation Lifter moving up down An individual output Y is assigned to each lifter for each direction of movement When the output is set ON the lifter moves up or down respectively The motors are built in the lifter and are not displayed The mechanical interlock between the up and down movements of the lifter is provided inside the machine simulation If both inputs are ON at t
36. Screen Eile Edit Remote Contro adt EA Lamp display E fel BUTS em Operation switches pee x20 x21 OFF on on 8 saupun o AmmBRURZO MAPUNO 00000000 00000000 00000000 00000000 00000000 00000090 8855358958 dadota S858295B99 ee Eee SEE Ready 878000 OW 1 3 2 Device Assignment Type Device No Device name Operation Input Sensor ON when part is detected Conveyor is stopped One part is supplied when YO is ON A process cycle begins Output Y1 Conveyor forward Conveyor moves forward when Y1 is ON Extends when Y2 is ON and retracts when Y2 is OFF The pusher cannot be stopped in mid stroke YO Supply command Y2 Pusher FX TRN BEG E A Let s Learn the FX Series PLC 1 1 3 3 Points of Training and Control Specifications 1 As a first step Let s follow the guidance and see how the PLC works Confirm that the operations change according to the programs The machines and the PLC on the screen are virtually simulated and are never damaged Don t hesitate to use them f you would like to learn the details of the key operations for the ladder programming refer to LADDER PROGRAMS in this manual FX TRN BEG E A Let s Learn the FX Series PLC 1 MEMO FX TRN BEG E B
37. Timer L 15 lt Current value contact vo00 Set value Expressed in decimal is added in front of the value Present value Increases from 0 until it reaches the set value See the value by clicking Online Monitor in the ladder menu ON X020 F 30 D TO Current value 0 contact OFF ON YO e The output driven by time contact is kept On for a set period of after the input is turned ON This is an ON delay timer If the timer operation is shut down before it reaches the set value the current value resets to 0 See A above When the timer reaches the set value B the current value becomes constant and the timer contact turns ON C When the input to operate the timer is turned OFF the timer contact is also OFF and the current value is cleared D How to determine the set value depends on the device number Refer to the Appendix For example TO is the time with the base time 100ms 0 1 sec If the set value is K30 the operation starts after 3 seconds because 100ms x 30 3000ms 3 sec 2 Opening and closing of the door using timers x020 p 9 When X020 is set ON the timer TO is S ER operated Three seconds later YOOO turns TO ON the door is opened Y000 X021 When X021 is set ON the timer T1 is H operated Four seconds later YOO1 turns ON the door i
38. XO Starting point Project Edit Convert View Online Tools Lamp display Y Y u Operation switches 36 nupunm o MB daanaanuno ago 00000000 00000000 00000000 5 NEBESB Jnapun o 00000000 00000000 00000006 SSSSSRSS a2aarosc EAE Ready 89 805 om 5 5 2 Device Assignment Type Device No Device name Operation X0 Starting point ON when robot is at starting point X1 Box on conveyor ON when box is under orange feeder X2 Orange supplied ON when orange is detected for counting X5 Sensor ON when part is detected at the right end One part is supplied when YO is ON A process cycle YO Supply command begins Large box Output Y1 Conveyor forward Conveyor moves forward when Y1 is ON Supply orange Y2 command Oranges are supplied while Y2 is ON FX TRN BEG E E Intermediate Challenge 5 5 5 3 5 5 4 Control Objective Place a specified number of oranges into a box located on the conveyor Control Specifications Overall control 1 When SW1 X24 on the operation panel is turned ON the conveyor moves forward When SW1 X24 is turned OFF the conveyor stops 2 When PB1 X20 on the operation panel is pressed Supply command YO for the robot is turned ON Supply command YO is tur
39. Y3 Conveyor forward Conveyor moves forward when Y3 is ON Output Y5 Supply command a is supplied when Y5 is ON A process cycle B 42 FX TRN BEG E D Beginner Challenge 4 4 4 3 4 4 4 Control Objective Sort three different sized parts carried a conveyor Control Specifications 1 When PB1 X10 on the operation panel is pressed Supply command Y5 for the robot is turned ON When PB1 X10 is released Supply command Y5 is turned OFF 2 When Operation start X14 on the operation panel is turned ON Conveyor forward Y3 is ON When Operation start X14 on the operation panel is turned OFF Conveyor forward Y3 is OFF 3 Large medium or small parts carried on the conveyor are sorted by the input of sensors Upper Middle X1 or Lower X2 then a corresponding lamp is lit Large 10 Medium Y11 Small gt Y12 4 A lamp is lit immediately after the sensors X1 X2 sort the size then is extinguished when the part has passed Sensor X4 B 43 FX TRN BEG E D Beginner Challenge 4 4 5 Conveyor Start Stop Category D Beginner Challenge Exercise D 5 Conveyor Start Stop Objective Start and stop the conveyor according to the predetermined procedure 4 5 1 4 5 2 Difficulty Level 2 kx Score Class 160 Beginner programming Training Screen Project Edit Convert View Online Tools Y5 Red Y6 Green
40. and the closing motor is provided inside the virtual machine Even if the two motors are operated at the same time they are not damaged but the door does not move f an object such as car collides the closed door the object disappears and the screen returns to the initial status FX TRN BEG E Appearance front view Door upper limit sensor Out sensor detection range Door lower limit sensor In gate out sensor In gate sensor detection range In gate out sensor The door is provided with an in gate out sensor to detect objects An input X is assigned to each sensor When the sensor detects an object it turns ON NO contact The ON OF status of the in gate and out sensors which are not displayed graphically can be monitored by the red indicator at the left part of the device numbers on the simulation or indicators on the I O image table in the virtual PLC Example In gate sensor ise d ocated just under _Out sensor the shutter both Displayed inred the entrance while the sensor and the sensor is ON exit sensor turn ON Upper limit lower limit sensor When the door reaches the lower limit the lower limit sensor X turns ON NO contact When the door reaches the upper limit the upper limit sensor X turns ON NO contact The sensors are not displayed on the screen Their ON OFF status is indicated on the side of
41. control i p loupdate your u 00 complete the score exercise and return to the main menu Points will be added when you Returns to the top to be correct of the chapter T 2 If you are registered user click the gt button on the remote control If you are not registered as a user click Main on the remote control to return to the menu screen SWODSC FXTRN BEG E x i This exercise is completed Please push the appropriate button Yes Y The machine was controlled as described in the specification No N The machine could not be controlled orthe programming was not completed Return to the self judgement page Outline of the Lesson Plan 2 Adds the score and returns to the menu menu If you are editing the ladder program the message Do you want to save the ladder program is displayed as shown on the next page The exercise button should have the good award and the number of times completed should be updated The updated score can be confirmed by selecting File Display High Score on the simulation menu Additional points are earned if you User name Score Class ee complete the exercises repeatedly 2 Jastin 300 Basic programming feces I Bee proeennns The score can be deleted from the score 5 board selecting File Delete user 5 information on the simulation menu 8 9 User Updated Clas
42. detail how the trapdoor is moving Sensors are provided in the upper limit and the lower limit of the stage Use these sensors to stop set OFF the stage moving up and moving down motors The sensors are not displayed on the screen Control of the person located on the stage is not required The person remains on the stage and does not move Buzzer An output Y is assigned to the buzzer When the output is set ON the buzzer flickers in yellow and continuous bing bong sound is issued intermittently FX TRN BEG E C 6 C 6 1 Unloading Robot The robot operation to unload parts is described in this section Robot The robot moves a part to the tray Appearance side view Part Conveyor Part detection sensor Moving robot Tray Operation Moving command An output Y is assigned to the moving command When the output is set ON the moving robot turns clockwise and carries a part When the moving command is set ON the robot performs one complete cycle of operation without regard to presence absence of part Robot operation finished When part is put into the tray the part in tray signal X turns ON Write the program to turn OFF the moving command using this input signal Starting point signal While a part is located at the starting point as shown in the figure the starting point signal input X is ON It is recommende
43. or more is mandatory Video card compatible with Direct3D whose VRAM capacity is 4 MB or more Video 8 MB or more is recommended Browser Internet Explorer 4 0 or later is mandatory 1 Only users having the administrator privilege are allowed to set up the software to the Windows XP and start it up 2 Mount the memory having a capacity larger than the value recommended by the used OS Microsoft Windows Windows 98 Windows 98SE Windows Me WindowsNT Windows 2000 Windows XP Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Pentium are either registered trademarks or trademarks of Intel Corporation in the United States and or other countries The company name and the product name to be described in this manual are the registered trademarks or trademarks of each company Operating Procedure 1 Start Windows and insert the CD SWOD5C FXTRN BEG E included in the package into the CD ROM drive to begin system installation It is recommended to end other application software before beginning the installation process A 6 FX TRN BEG E Outline of the Lesson Plan 2 2 The window below should be automatically displayed swOd5c_fxtrn_beg OL x Eile Edit View Go Favorites Help _ B Y Back Forward Up Cut Address dA C If the window i
44. response to a pushbutton Control Specifications 1 The signal lamp Red YO flickers at one second intervals ON for 1 second and OFF for 1 second 2 When the pushbutton X10 on the operation panel is pressed the indicator Y10 on the operation panel is lit If the pushbutton X10 is released the indicator Y10 remains lit 3 After the indicator Y10 is lit for 5 seconds the operation of the signal is changed as described in 4 to 7 4 First the signal lamp Red YO flickers for 5 seconds while indicator Y 10 is lit 5 6 7 The signal lamp Red YO turns off The signal lamp Yellow Y1 is lit for 5 seconds After the lamp Yellow Y1 is extinguished signal lamp Green Y2 is lit for 10 seconds ZZ After the signal lamp Green Y2 turns OFF the signal lamp Red YO flickers at one second intervals ON for 1 second and OFF for 1 second The operations starting from 1 are repeated B 51 FX TRN BEG E E Intermediate Challenge 5 5 2 Part Sorting by Size II Category E Intermediate Challenge Exercise E 2 Part Sorting by Size 11 Objective Distribute each part to its proper destination according to its size Difficulty Level 2 Score Class 210 Intermediate programming 5 2 1 Training Screen 4 Y lConeyor XO Starting point Project Edit Convert View Online Tools 5 La
45. simulation The I O list can be displayed selecting Edit I O list on the simulation menu The lists are also found on the pages in the EXERCISES section in this manual Example of I O list display Yn Supply command One part is supplied when YD is ON Y1 Conveyor forward Conveyor moves forward when Y1 1 Y2 Pusher Extends when Y2 is ON and retract FX TRN BEG E Outline of the Lesson Plan 2 2 5 3 Remote Control Switches the mode in the virtual PLC from RUN to STOP Remote control Remote Control Reset FIT S 4 gt Tutor box Displays or hide the guidance window Edit Ladder Allows to create and modify programs in the ladder program area Switches the mode in the virtual PLC from RUN to STOP Wike te PLC L_ Write to PLC Transfers the program you create in the ladder program area to the virtual PLC Reset Returns the simulated machine to the initial condition Resets the simulation in case of unwanted occurrence such as parts are stuck takes place Initializes the virtual PLC Initializes outputs or devices The same operation as an actual PLC is switched from STOP to RUN mode F T S Changes over the view point of the 3D screen Learning status display Indicates the status such as LEARN PROGRAM and RUN Main Displays the main menu or saves the program being edited and then displays the main menu Jump buttons Clicked to go
46. to be written Press the F8 key The Enter symbol dialog box is displayed Type LD K100 D20 Enter symbol x Both capital letters and small letters can be used 2 Click the OK button K100 020 POINT For the list of available instructions and input procedures refer to the Appendix 1 C 14 FX TRN BEG E Operation 3 3 1 4 Conversion The programs you write should be converted into the form which can be processed by the virtual PLC This is how to convert them 1 After writing the programs press the F4 key 2 The programs are converted The background of the programs should be displayed in white If there is an incorrect program an error message is displayed and the part is displayed in yellow Correct the program An incorrect program is displayed in yellow 00 7000 POINT Programs you write are determined when they are converted FX TRN BEG E Operation 3 3 2 Editing the Program 3 2 1 Insert and Delete Insert line and delete line Insert a line as follows 1 Place the cursor where a line is to be inserted 2 Press the Shift Insert keys One line is inserted in the cursor position Delete a line as follows 1 Place the cursor where a line is to be deleted 2 Press the Shift Delete keys One line is deleted in the cursor position Deleting contacts Delete a contact pressing the Delete or Back space key The result displayed on the sc
47. to the next previous page in the guidance Use these buttons when indicated on the page Title bar Click the tutor on the remote control to alternately hide and display the guidance window Or select Tool Fix remote control bar and delete the check mark to display the title bar at the top of the remote control By dragging the title bar using the mouse you can move the guidance window to an arbitrary position e The remote control can be displayed or hidden selecting Tools Remote Control 2 5 4 Ladder Program Area Use this area to edit create monitor save and print programs The details are explained in the LADDER PROGRAMS Section in this manual FX TRN BEG E Outline of the Lesson Plan 2 2 5 5 Guidance Window The guidance window displays the programming objectives lessons hints and instructions for the training software The display position is determined by the display position of the remote control Outline of guidance Example of guidance display You can move it to an arbitrary position by dragging the title bar using the mouse When it comes near a corner of the training software it is absorbed If the title bar is not displayed on the remote control select Tool Fix remote control bar from the tool menu then delete the check mark Chapter tabs Title bar 2 5 3 gt Paging Unit Chapter 1 Control Specification an Ch 1 Tutor bo
48. without notice
49. 0 command OFF Curtain close Curtains close when Y1 is ON Curtains stop when Y1 is Y1 command OFF Output Y2 Stage up Stage moves up when Y2 is ON Stage stops when Y2 is OFF Stage moves down when is ON Stage stops when Stage down Y3 is OFF Y5 Buzzer Sounds when Y5 is ON Lamp on screen is lit Control Objective Control stage settings including opening closing curtains and raising lowering the stage Control Specifications Specifications for automatic operation 1 When Begin X16 on the operation panel is pressed Buzzer Y5 sounds for 5 seconds Begin X16 can be set ON only while the curtains are closed and the stage is located at the lower limit 2 When the buzzer stops Curtain open command YO is set ON and the curtains are opened until they reach their outward limits X2 and X5 3 After the curtains are completely opened the stage starts to move up when Stage up Y2 is set ON and it is stopped when Stage upper limit X6 is set ON 4 When End X17 on the operation panel is pressed Curtain close command Y1 is set ON and the curtains are closed until they reach their inward limits XO and X3 Specifications for manual operation 1 The following operations are enabled only while the automatic operation described above is not in operation 2 The curtains can be opened only while Curtain open X10 on the operation panel is being pressed The curtains stop at their outward limits X
50. 0 on the operation panel is pressed Supply command YO for the hopper is turned ON When PB1 X20 is released Supply command YO is turned OFF When Supply command YO is turned ON the hopper supplies a part 2 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop 3 After the sensor X10 X12 or X14 at the left of conveyor has detected a part the corresponding conveyor is set ON and carries it to the tray at the right end The conveyor stops 3 seconds after a part has passed the sensor X11 X13 or X15 at the right of conveyor 4 Large medium and small parts on the conveyor are sorted by the input of sensors Upper X0 Middle X1 and Lower X2 Lift Control 1 When the sensor for Part on lift X3 in the lift is turned ON a part is carried to either of the following conveyors according to its size Large part Upper conveyor Medium part Medium conveyor Small part Lower conveyor 2 Lift up command Y2 and Lift down command are controlled according to the lift position detected by the following sensors Upper X6 Meddle X5 Lower X4 3 When a part is transferred from the lift to the conveyor Lift rotation command Y4 is set ON 4 After a part is transferred the lift is to return to the initial position and stand by B 75 FX TRN BEG E F Advanced Challenge 6 6 7 Sorting amp Distribution Line
51. 000 D8002 Memory capacity 8000 The contents of this register Xxx identifies which error D8004 Error number M flag is active i e if 8060 identifies M8060 D8006 Low battery voltage The level at which a low battery voltage is detected D8010 Present scan time Current operation cycle scan time in units of 0 1ms D8011 Minimum scan time Minimum cycle scan time in units of 0 1ms D8012 Maximum scan time Maximum cycle scan time in units of 0 1ms 08013 Second data Seconds data for use with an RTC 0 59 D8014 Minute data Minute data for use with an RTC 0 59 D8015 Hour data Hour data for use with an RTC 0 23 D8016 Day data Day data for use with an RTC 1 31 D8017 Month data Month data for use with an RTC 1 12 2 Dois Year data for use with an RTC 00 99 or 1980 2079 can be selected 08019 Weekday data D8028 de e Current value of the 20 index register D8029 en opine MO Current value of the VO index register D8040 Lowest active STL step Lowest active STL step D8041 2nd active STL state 2nd active STL state D8042 active STL state 3rd active STL state 08043 active STL state 4th active STL state D8044 5th active STL state 5th active STL state D8045 6th active STL state 6th active STL state D8046 17th active STL state 7th active STL state D8047 8th active STL state 8th active STL state D8049 Lowest active Annunciator Lowest active Annunciator D8067 a Error code identifying operation error
52. 00000000 00000000 NSSURUBSS XadRURA sanaun o s 5 8 8 za Ready 8 86 ow Click Edit Ladder on the remote control to activate the ladder program area Refer to 3 4 C 2 FX TRN BEG E Outline 1 1 1 Role of ladder tool In the ladder program creates area you write edit and monitor ladder programs Machines in the simulation are operated by the ladder programs you create here Virtual PLC m Monitorin Writing 9 Cro 0 I LU 4 4 K Wt K3 s Wi J Programming Device test FX TRN BEG E Outline 1 MEMO C 4 FX TRN BEG E Preparation befor Operating 2 2 Preparation befor Operating This chapter explains the basic knowledge required before creating ladder programs by using the ladder tool 2 1 What is a Project A project consists of programs and device comments Programs Project Device comments Item Description Program Program to operate the CPU ofthe PLC Device comment Comment on device 2 2 Creating and Saving Project 2 2 1 Creating a new project 1 Select Project New project 2 A new project is created Project Edit Convert View Online Tools L When a new project is created the screen displays this C 5 FX
53. 10 TO Force on force fro alfie bi meer Programming You can write and convert Device test programs and enter device comments 3 1 Writing the program 3 2 Editing the program 3 3 Displaying and entering comments You can set devices ON and OFF write values confirm the operation of the program 3 4 3 Device test C 9 FX TRN BEG E Operation 3 3 1 Writing the program The program can be writen or edited in the overwrite mode or in the insert mode Choose the mode as follows 1 Press the Insert key 2 Every time you press the Insert key the overwrite mode and the insert mode are changed over alternately The currently selected mode is indicated on the status bar ES se RA ied F9 sF9 cF9 cFio sF7 sF8 aF7 aF8 0 10 9 80 8000 v010 Check the current mode here IE ER 80 8000 Ins Number of steps programmed Program capacity 8000 steps 3 1 1 Basic instruction This is how to write basic instructions When writing a basic instruction specify a symbol pressing a function key the device number and the set value How to write NO contact 1 Place the cursor where you write an NO contact 2 Press the F5 key The Enter symbol dialog box is displayed 3 Type a device and click the OK button If you click this button the dialog box w
54. 2 and X5 3 The curtains can be closed only while Curtain close X11 on the operation panel is being pressed The curtains close until their inward limits XO and X3 4 The stage can be moved up only while A Stage up X12 on the operation panel is being pressed The stage stops when it reaches the upper limit X6 5 The stage can be moved down only while W Stage down X13 on the operation panel is being pressed The stage stops when it reaches the lower limit X7 6 The indicator lamps on the operation panel are lit or extinguished according to the operation of the curtains and stage B 67 FX TRN BEG E F Advanced Challenge 6 6 3 Part Distribution Category F Advanced Challenge Exercise F 3 Part Distribution Objective Distribute the specified number of parts according to the size Difficulty Level 3 xxx Score Class 290 Advanced programming 6 3 1 Training Screen FXTRN BEG E lit Simulation Tools Help itro wj X1 Uppen Y5 Pusher Y7 Pushen X2 Middle X1 Detect part _ x12 Detect part X3 Lower Y1 Y2 Conveyor forward Conveyor forward Pd YO Supply command XO Starting point 4 Project Edit Convert View Online Tools Lamp display Y N NO WU WU Operation switches IS 26 wa nbBuUbaOo sanpun o 00000000 00000000 00000009 z 00000000 00000000
55. BEG E Preparation befor Operating 2 2 4 Copying a project You can copy the data programs and comments of another project to the currently open project 1 Select Project Copy The Copy dialog box is displayed 2 Select a source file and the data to be copied then click the Execute button The drive path name and the project name of the source file are displayed Copy source Drive Path OXProgram Files FX TRN EXAMPLE Click the Browse button then select a source file Project name Title program PLC type 2 v Program Coose the data to be copied If you click the Execute button without choosing anything an error message is displayed v Comment Execute Close Source file E Programs Device comments Project being edited Device comments C 8 FX TRN BEG E Operation 3 3 Operation This chapter explains how to perform programming online operations and printing Virtual PLC You can transfer the You can monitor how the program to the virtual Program is executed in the PLC 3 4 1 Writi 3 4 2 Monitor 3 4 riting ped to PLC Writing Monitoring play G 0 tj m J xo x P_________rey po 4 4 Xt Y A Wt Y 8 6 4 s Wt x n Kto 8 pit 10 Device test Kto u T
56. Display and input of comments This chapter explains how to display and input device comments 3 3 1 Display of comments The following is how to display device comments for devices in the program being edited Displaying a comment 1 Select View Comment 2 Comments are displayed Supply c Device comment Changing the number of characters for device comments You can select the number of characters of each displayed device comment between 16 and 32 When changing the number of displayed characters follow the below procedure 1 Select Tools Options 2 When the Options dialog box is displayed select 16 or 32 at Show device comment r Comment input Continues during instruction write Show device comment Show comment letters 16 hd 16 i Cancel Select the number of characters for the comment field X000 X000 aee 6 characters Conveyor stop sm Sonveyo L 32 characters FX TRN BEG E Operation 3 3 3 2 Input of comments This chapter explains how to input a device comment 1 Select Edit gt Documentation gt Comment 2 Place the cursor on the device for which a comment is to be input and double click it Double click on the coil IR NS 3 When the Enter device comment dialog box is displayed type a commen
57. MS The method to write a PLC program in the ladder program area is explained in this section The key operations are mostly the same as those in GX Developer the FX Series Programming Software Contents Leo S MIA LIS 2 1 1 of ladder TOOL 2 5 2 2 Preparation befor ore 5 2 1 WVU IS el PPO SCG ee ee here C 5 2 2 Creating and Saving Project ne ime exten omen o idR C 5 2 2 1 Creating a new project ssssssssssssssseeeeeeeeee nennen nennen nennen nnns C 5 2 2 2 Saving of a Project with a Different C 6 2 2 3 Overwriting of a project ssssssssssssseeseeeeeeeen nennen nennen nennen rennen C 6 2 3 Opening a project iege eer ea e Rede a een et uA Orb eub Pea sese C 7 22 SSOP YING a DROS C nn S C 8 S al 12 1110 a D LL LC LU Ue E de C 9 SAT Writing Ine program scudo tena mese er e abre Fen weed aedes C 10 B sicinstruction oco to to ek ee ab C 10 3 1 2 Writing STL Instruction sstart a a i E E C 13 3 1 3 eben C 14 3 14 CONVERSION oer behemtte nma uae uen ids C 15 3 2 Editing the Programa eder ae IS ESSA QU HOC E stu C 16 3 2 1 Insert and eiie nre E EIER EE Re E pe D Erb C 16 3 2 2 Cut Copy and Past6 rite eerte Pet die ient ea Der eb v e bbs C 17 3 2 3 Undo
58. O is ON Output Y1 Green signal Lit when Y1 is ON B 30 FX TRN BEG E C Easy Does It 3 3 3 3 Points of training and control specifications 1 Flicker circuit Two timers drive the output ON and OFF at set intervals X024 T4p K20 When X024 is set ON the OUT instruction mu 22 Ea 7 of turns ON as indicated line T3B N Two seconds later the set value of K20 in Bene ug i 14 6 18 T3 indicated by B turns ON Y001 and T4 turn ON as indicated in line YOO1 Four seconds later set value of K40 in T4 the contact D turns OFF and thus T3 turns OFF as indicated in line A While X024 is ON YOO1 repeats an OFF for 2 seconds and ON for 4 seconds cycle ON X024 OFF ON Yoo1 OFF T4 T 19 When X024 is set OFF the 2sec 4sec 2sec 45 2sec output turns OFF 2 Flickering the signal lamps In the program above 001 flickers OFF for 2 seconds and ON for 4 seconds while the switch X024 is ON B 31 FX TRN BEG E C Easy Does It 3 3 4 Basic Counter Program Category C Step Up Exercise C 4 Basic Counter Program Objective Learn control methods using counters Difficulty Level 2 Score Class 110 Basic programming 3 4 4 Training Screen File Edit Simulation Tools Help Remote Control Y3 Red
59. Part stock Tray robot does not accept the command Make sure to give the command to the robot while the starting point sensor is ON Supply command should be set OFF by rising falling edge detection f two or more parts are supplied at a time they will be crushed Starting point sensor While the robot is located at the starting point the input X is ON FX TRN BEG E C 3 3 Hopper The hopper supplies parts Appearance side view Hopper Conveyor C 3 4 Orange The hopper supplies oranges Appearance side view Box detection sensor Operation Supply command As a supply command an output Y is assigned When the supply command output Y is set ON the hopper supplies a part The hopper supplies one part when the output Y is turned ON once Set the output ON and OFF alternately if continuous supply is required f two or more parts are supplied at a time they will be crushed Operation Orange supply command As orange supply command an output Y is assigned When the supply command output Y is set ON oranges are continuously supplied Box detection sensor This sensor turns ON when it detects a box under the feeder NO contact This sensor is built in the feeder and is not displayed Orange passage sensor The input X of this sensor turns ON when an orange is supplied and passes it NO contact Use this sensor to cou
60. SC FXTRN BEG E Bis xl File Edit Simulation Tools Help 3 JE What is Programmable Logic Control ar s click I lx Programmable Logic Control is a way to control machines in a Let S Look at the logical and sequential manner Edit Ladder If a machine is operated as you planned you are controlling the Sequ en of E vents WitetPLC machine C Reset 2 The person below manipulates the door to allow a car to pass FITIS through 915 Do you p_ Glick the button on the Main understand remote control to move on LEN The car approaches the door The person opens the door The car passes through the do The person closes the door 1 1 2 Outline of Operation Click 4 or gt to return to the previous screen or to go to the next screen B 4 FX TRN BEG E A Let s Learn the FX Series PLC 1 1 1 3 Points of Learning and Control Specifications 1 What is sequence control Sequence control This is not a familiar term generally but sequence control happens around us every day You probably have seen or touched objects under sequence control In a dictionary the word sequence is explained as follows a succession b connected line of events ideas etc c the order in which they occur d three or more next to each other in value Oxford Advanced Learner s Dictionary of Current English Oxford University Press Based on the above we can see that the wor
61. TRN BEG E Preparation befor Operating 2 2 2 2 Saving of a Project with a Different Name 1 Select Project Save as 2 The screen shown below is displayed Enter the project name and the header then click the Save button Specify the place in which Project drive 7 x fe the project is saved Enter the project name Drive Path Project name TRAINING Cancel Title BASIC PROGRAM Enter the header 2 2 8 Overwriting of a project 1 Select Project Save 2 The open project is overwritten with the contents displayed on the screen When Save is selected for the first time since the project is created the Save as dialog box is displayed in the same way as explained above C 6 FX TRN BEG E Preparation befor Operating 2 2 3 Opening a project Open an existing project from a floppy disk or hard disk 1 Select Project gt Open project 2 When the Open dialog box is displayed select a project to open Project drive c The place in which the project is located is displayed Select a project Drive Path Project name The selected project name is displayed You can open only one project at a time If you try to open another project while editing a project the message is displayed asking if you want to save it POINT For reading and handling of model answers refer to the Introduction Section in this manual C 7 FX TRN
62. YO is ON Large metal cube Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Start drilling Starts drilling when Y2 is ON A process cycle that Output cannot be stopped partway Conveyor forward Conveyor moves forward when is ON Extends when Y5 is ON and retracts when Y5 is OFF Y5 Pusher The pusher cannot be stopped in the mid stroke Control Objective Distinguish between defective parts and good parts by their signals and distribute them accordingly Control Specifications Overall control 1 When PB1 X20 on the operation panel is pressed Supply command YO for the hopper is turned ON When PB1 X20 is released Supply command YO is turned OFF When Supply command YO is turned ON the hopper supplies a part 2 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop Control of drill 1 When the sensor for Part under drill X1 in the drill is turned ON the conveyor stops 2 When Start drilling Y2 is turned ON the drilling starts Start drilling Y2 is turned OFF when Drilling XO is set ON 3 When Start drilling Y2 is turned ON either Drilled correctly X2 or Drilled wrong X3 is set ON after the drill machine has operated for one complete cycle The drill cannot be stopped in the middle of an operation In this simulation one out of three parts is to be a de
63. aazascd 00000000 00000000 00060000 SSS85B58 z2arosc AO ORO amp gg ee ass Ready Device Assignment Type Device No Device name Operation X0 Upper ON when part is detected X1 Middle ON when part is detected X2 Lower ON when part is detected X3 Detect part ON when part is detected in front of pusher X4 Starting point ON when robot is at starting point Input X5 Part on table ON when part is on table X6 en ON when robot operation finished X7 Sensor ON when part is detected on the incline X10 Sensor ON when part is detected at the right end X11 Sensor ON when part is detected at the left end X12 Sensor ON when part is detected at the right end B 72 FX TRN BEG E F Advanced Challenge 6 6 5 3 6 5 4 Type Device No Device name Operation One part is supplied when YO is ON Wooden part 2 Supply command repeats in order L M S M S L Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor forward Conveyor moves forward when Y2 is ON Output Y3 Pusher Extends when Y3 is ON and retracts when Y3 is OFF P The pusher cannot be stopped in the mid stroke YA nload command Robot moves part to tray when Y4 is ON A process cycle begins Y5 Conveyor forward Conveyor moves forward when Y5 is ON Y6 Conveyor reverse Conveyor moves backward
64. and Paste The method to cut copy and paste a program is explained here You can efficiently edit programs using these functions 1 Press the Shift gt keys to select the range to be cut or copied 00 x001 x002 2 Select Edit Cut or Edit gt Copy FX TRN BEG E Operation 3 3 Move the cursor to the position where the selected range is to be pasted then select Edit Paste 4 The paste result is different between the overwrite mode and the insert mode as shown below Overwrite mode Insert mode pm x001 x002 The vertical line is extended 3 2 3 Undo Return to the former status After you write insert delete cut or paste a program you can undo the operation to return to the former status 1 After performing those operations select Edit Undo You can undo up to ten operations However you cannot delete comments by Undo Return to the status after circuit conversion You can delete the programs currently being edited and return to the status immediately after the previous conversion 1 A program is edited Newly created circuit 2 Select Edit Restore after ladder conversion When the confirmation dialog box is displayed click Yes The program edited in 1 is deleted and the screen returns to the status just after the previous conversion FX TRN BEG E Operation 3 3 3
65. arling avin xw Yetcomerur ower Yr UnloaG command xtoretarina poing od Parton table tra B 63 FX TRN BEG E F Advanced Challenge 6 6 1 Automatic Door Operation Category F Advanced Challenge Exercise F 1 Automatic Door Operation Objective Control the door which opens or closes when detecting an object Difficulty Level 8 Geox Score Class 290 Advanced programming 6 1 1 Training Screen Y6 Light Buzzer 7 ee 8 1 I J y PROGRAM e sensor m 7 7 7 z p 7 7 7 1 Booe i JE 7 7 7 7 ZL d4 dJ J 1I EXT p 8 NN N Project Edit Convert View Online Tools wa 31 TEE TEE ds Door operation buttons EE ERES ES DP LEA ees 2 25 onere Ready 33 8000 OW 6 1 2 Device Assignment Type Device No Device name Operation X0 Lower limit ON when door reaches lower limit iret X1 Upper limit ON when door reaches upper limit npu j X2 In gate sensor ON when object approaches the door X3 Out sensor ON when object leaves the door YO Door up Moves up when YO is ON Y1 Door down Moves down when Y1 is ON Output Y6 Light Lit when Y6 is ON Y7 Buzzer Sounds when Y7 is ON Lamp on screen is lit FX TRN BEG E F Advanced Challenge 6 6 1 4
66. ate instructions at the detection of rising or falling edge of a Objective pulse Difficulty Level 2 kx Score Class 110 Basic programming 2 4 1 Training Screen F2SWO D5C FXTRN BEG E Eile Edit Simulation Tools Help Y amp Red amp 2 Ew E 5 E Hm gt EN ooo EN XD Starting point eo 00 B ires CREDE u es 2 4 2 Device Assignment Type Device No Device name Operation ne X0 Starting point ON when robot is at starting point npu P X3 Sensor ON when part is detected YO Supply command One part is supplied when YO is ON A process cycle begins Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor reverse Conveyor moves backward when Y2 is ON Ouiput Y3 Buzzer Sounds when Y3 is ON Lamp on screen is lit Y5 Red Lit when Y5 is ON Y6 Green Lit when Y6 is ON Y7 Yellow Lit when Y7 is ON FX TRN BEG E B Let s Study the Basics 2 2 4 3 Points of training and control specifications 1 Input rising falling edge detection instruction Let s learn programs which operate only when an input is set to ON or OFF The rising falling edge detection instruction captures the alternate status of ON to OFF and OFF to ON It is used for control where the input signal should not be kept either ON or OFF Example 23 mol X024 is an alternate switch which i
67. ber of parts is counted counter CO by the detection sensor X000 d When the number of parts reaches 10 the count up indicator lamp Y006 is lit e The counter is reset by input X001 X002 000 lt a X003 Y001 lt b X000 K10 co H 9 CO YO06 d X001 IRST H lt e Minor Addition Let s stop the supply of parts when the current value of the counter reaches the set value K10 L Add this Include a NC contact for the counter to line Y000 a above Let s supply parts only while the conveyor is moving X002 CO YOO1 Include a NC contact for the conveyor 11 Yo00 operation Y001 to line a above L Add this As you can see the operation is changed when only a minor addition is made in the program In actual machines programs for assuring safety are added to the basic control specifications FX TRN BEG E D Beginner Challenge 4 4 D Beginner Challenge D 1 Paging Unit D 2 Detect Sensor Light B 35 FX TRN BEG E D Beginner Challenge 4 4 1 Paging Unit Category D Beginner Challenge Exercise D 1 Paging Unit Objective Control the paging unit in a restaurant Difficulty Level 1 Score Class 130 Beginner programming 4 1 1 Training Screen ASWODSC FXTRN BEG E Eil
68. component of machines simulated used in each exercise Component List 2 Reference Component name Outline of operation Outline of control chapter Sensor turns ON when it Sensor detects passage and Sensor Sensor detects a part Normally C 2 contact of parts Open contact Person Person supplies parts Part Robot Robot supplies parts Supply command is supplier Hopper Hopper supplies parts given for output drive Hopper Orange Hopper supplies oranges Traffic light Red and green signal lamps two colors light Lamp Traffic light Red green and yellow signal Output must be driven C 4 three colors lamps light Rotating beacon Red green and yellow flashing lights light Conveyor Conveyor carries parts standard type y pars Conveyor Conveyor distributes parts into branch type two directions Lifter Lifter carries parts to upper and lower positions Machine poor Door is opened and closed Output must be driven C 5 vertically Pusher Pusher pushes out parts Drill Drill makes holes in parts Curtains are opened and closed Stage settings horizontally Stage is moved up and down Moving Robot Robot moves parts Output must be driven C 6 device Tray stores parts When a Tray paris ale Control is not required stored person automatically collects them Others Buzzer indicator lamp flickers C 7 Buzzer and buzzer sounds a
69. conds 4 The signal lamp Yellow Y1 is extinguished after it has been lit for 5 seconds The signal lamp Green Y2 is lit for 10 seconds 5 The signal lamp Green Y2 is extinguished after it has been lit for 10 seconds 6 The operations starting from 2 above are repeated B 41 FX TRN BEG E D Beginner Challenge 4 4 4 4 4 1 4 4 2 Part Sorting by Size 1 Category D Beginner Challenge Exercise D 4 Part Sorting by Size 1 Objective Sort different sized parts using sensors Difficulty Level 2 kx Score Class 160 Beginner programming Training Screen SE FXTRN BEG E Eile Edit Simulation Tools Help 0 X1 Middle wu Ry eS Y3 Conveyor forward Y5 Supply command X5 Starting point Project Edit Convert View Online Tools Operation switches saanunso 26 00000000 00000000 00000000 00000000 00000000 00800000 z N85535858 TESTE PES Ready Device Assignment 22 8000 Ow Type Device No Device name Operation Upper ON when part is detected X1 Middle ON when part is detected Input X2 Lower ON when part is detected X4 Sensor ON when part is detected at the right end X5 Starting point ON when robot is at starting point
70. d sequence indicates succession and the order in which they occur The meaning of the term sequence control is derived from the word sequence and indicates the control of operations in accordance with the predetermined order The word control indicates means by which a machine etc is operated or regulated Let s take a look at a familiar example and see how the PLC is used In the picture below a door is opened and closed The person follows the necessary procedure and manipulates the door to allow a car to pass through Opening and closing of the door manual Operation sequence The car approaches the door The person opens the door The car passes through the opening The person closes the door B 5 FX TRN BEG E A Let s Learn the FX Series PLC 1 2 Function ofthe PLC On the previous page the person opens and closes the door manually The door can be automatically opened and closed using the PLC The screen below shows the concept of the sequence predetermined order of work Sequence control indicates let the sequence repeat automatically and correctly as many times as desired By using the PLC the door can be automatically opened and closed Control of automatic opening closing of the door using the PLC Operation Control The car approaching gt The In gate sensor the door is detected turns ON The loading bay door gt The
71. d here for information on the training software Frequently Asked Questions General Question Answer How do I connect the PLC Actual PLC and connection cables are not required When the software is installed the virtual PLC is set up in your computer Where should begin learning You can choose any exercise in the main menu However it is recommended to start from the category Let s Learn the FX Series PLC to understand the structure and operation procedures of the software What do learn using this software You learn how to control various machines using basic PLC instructions Can use the software without installing it to my computer No have finished the exercise Where do I go next If you are a registered user update your score and return to the main menu as instructed on the self judgment page If you are not a registered user click Main on the remote control to return to the main menu What does the good award on an exercise button on the main menu indicate It indicates a completed exercise Awards are only displayed for registered users How do I hide the guidance window to look at the simulation Click the tutor on the remote control to alternately hide and display the guidance window Or select Tool Fix remote control bar and delete the check mark to display the title bar at the top of the remote control By dragging the title bar u
72. d in sequencing operations What are devices Control equipment such as switches and lamps are connected to the PLC and symbols such as X Y M T and C are asssigned as their names Each symbol represents different function and has a serial number to identify it Symbols and numbers handled inside the PLC are device symbols and device numbers most times these are generally called devices Input From X000 Inputs are terminals to receive signals from external equipment such as switches and sensors and their device symbol is represented by X Numbers are assigned starting from 000 Output From Y000 Outputs are terminals to drive external equipment such as lamps and motors and their device symbol is represented by Y Numbers are assigned starting from 000 Auxiliary relay From MO Auxiliary relays which are also called internal relays are provided inside the PLC and their device symbol is represented by M Auxiliary relays are convenient when using dual OUT instructions and two or more contacts at a time Refer to the explanation in Section 3 Timer From TO Timers are provided inside the PLC and their device symbol is represented by T Timers are used provide a set period of delay time before their nominated contacts are either opened or closed depending upon the program instructions Timers will be studied in the exercises in the category Step up Counter From CO Counters are provided insi
73. d to use this starting point signal for interlock of the part moving command Part detection sensor This sensor detects presence absence of a part An input X is assigned to the sensor The sensor turns ON when it detects a part NO contact D 25 FX TRN BEG E C 7 Others Auxiliary operations and parts for the simulation are explained in this section C 7 1 Tray The tray stores parts Appearance side view Operation Control is not required Tray When the specified number of parts are we stored the person automatically appears to collect the parts a y 7 2 Buzzer The buzzer sounds Appearance side view Operation An output Y is assigned Buzzer When the output Y is set ON bing bong sound is intermittently issued In addition the lamp provided in the center of the buzzer flickers in yellow Lamp C 7 3 Person and Car The person and the car appear on the screen Appearance side view Operation Control is not required D Car erson n some exercises buttons are displayed on the 3 D graphic simulation While a button is being pressed the person or the car moves When the person or the car collides with an object or wall it disappears and the screen returns to the initial status wa eps FX TRN BEG E Appendix D Questions amp Answers and D 1 Please refer to the Q amp A liste
74. de the PLC and their device symbol is represented by C Counters are used to increment or decrement in steps of one to a preset value and subsequently open or close their nominated contacts depending on the program instructions Counters will be studied in the exercises in the category C Step up Device number and number of devices Inputs X and outputs Y are expressed in octal X000 to X007 X010 to X017 and so on YOOO to YOO7 YO10 to YO17 and so on Auxiliary relays M timers T and couners C are expressed in decimal MO to M10 M11 M12 and so on The number of devices available varies depending on the PLC For the number of available devices in the virtual PLC refer to the appendix FX TRN BEG E B Let s Study the Basics 2 2 Contact instruction and OUT instruction As you studied in A Let s Learn the FX Series PLC the input output equipment is individually connected to the PLC The operation of individual control equipment is determined by the internal wiring within the PLC This internal wiring work is called programming In this software connection programming can be easily performed using instruction symbols Contact symbols deem NO Is normally open OFF and is closed turned ON when a signal is contact received from the input equipment NC Is normally closed ON and is opened turned OFF when a signal contact is received from the input equipment OUT instruction symbol
75. door motor is is opened driven Passage of the car is gt ON Out sensor turns N In gate sensor confirmed en The loading bay door gt The door motor is Close is closed driven in reverse B 6 FX TRN BEG E A Let s Learn the FX Series PLC 1 3 Control targets and control specifications In the previous automatic door example control targets are sensors detecting the approaching vehicle and motors to open and close the door The PLC can control a variety of equipment Relationship between inputs and outputs Parts of control related equipment are mainly classified into two types as shown in the screen below Devices controlled by the operator gt Such as switches and push buttons In PLC control they are regarded as the ORAS conditions for operation and called inputs Devices which indicate the machine in the PLC status gt Such as sensors Devices which detect the machine status Such as lamps and buzzers In PLC control they are regarded as what operated and called outputs in the Devices perform work Such as pic motors and solenoid valves J Each of the input and output equipment is individually connected to the PLC The operation of each piece of equipment is determined by the sequence program in the PLC Control target classification Example of inputs and outputs in the PLC in the unit of part
76. ds to perform installation If you take the CD out of the CD ROM drive or shut down your computer during installation the software will not install properly Click the Finish button to finish the setup Take out the CD and carefully store it for later use e When installation is completed the window shown on the left is displayed Did you install it properly FX TRN BEG E Outline of the Lesson Plan 2 2 3 2 3 1 2 3 2 Begin to Learn PLC Programming Start the Training Software Let s open the training software Select Start gt Programs gt MELSOFT FX Trainer gt FX TRN BEG E 2 FXTRN BEG E ReadMe tz ie m M o I i z 2 v c Note Do not use this software and MELSOFT GX Developer at the same time User Registration When the software is opened the user registration window is displayed If registered as a user exercises that have been successfully completed will be indicated on the menu and points will be added to the user score Let s begin to study the FX PLC If you do not wish to From the beginning gt Anew user name and the password can be input C From the last session gt Please select the user name and register as a user click Start leaving the boxes Username 32 characters or less blank Password 8 characters or less Fill in the name and password fields to register for the first time Nam
77. e Alphabetic and numeric 32 characters or less Password Numeric 8 characters or less f already registered as a user select the user name on the pull down menu and enter the password If the password does not match an error message will occur and the password must be re entered The main menu is not accessible Register as a new user if the password is forgotten User registrations can be deleted by selecting File Delete user information from the tool menu A 9 FX TRN BEG E Outline of the Lesson Plan 2 2 4 Configuration of Main Menu You can select an exercise from the main menu Main menu screen rswoso rxrunneE 2515 Category tabs Eile Edit Simulation Tools er Let s Learn the FX Series PLC IB Let s Study the Basics OJ StepiUp 10 Beginner Challenge HLEIIntermedistechafffmee 4 J 1 Introduction to the 2 Application Examples for sw good awa rd FX Series PLC the FX Series PLC re pe tos ooo reiese Exercise button to jump e e irm to training screen A 8 Let s play a Little dec Number of times the Let s play a little and start writing a programy exercise has been completed Exercise Outline EEE a Links to the outline of a training software Learning Screen Configuration System Requirements and Notes Your score Basic programming Total points 8 The number of the stars indicates the difficulty leve
78. e Edit Simulation Tools Help Project Edit Convert View Online Tools Lamp display j e e j v20 v21 22 Operation switches 00000000 00000000 5 00000000 00000000 00000000 z NAMDAN MAPUNO AOOROBSBAO Jaunpun o Jie rp up SEES aF7 aF8 cRo F1O aF9 12 8000 4 1 2 Device Assignment Type Device No Device name Operation insu X0 Button 1 Momentary ON OFF mouse click npu X1 Button 2 Momentary ON OFF mouse click YO Lamp 1 Lit when YO is ON Output Y1 Lamp 2 Lit when Y1 is ON FX TRN BEG E D Beginner Challenge 4 4 1 3 Control Objective Control the paging unit in a restaurant using the basic instructions previously studied 4 1 4 Control Specifications 1 When Button 1 on the table is pressed Lamp 1 YO on the wall is lit If Button 1 is released Lamp 1 YO remains lit 2 When Button 2 X1 is pressed Lamp 2 Y1 on the wall is lit If Button 2 X1 is released Lamp 2 Y1 remains lit 3 When both Lamp 1 YO and Lamp 2 Y1 are lit PL4 Y23 on the operation panel lights 4 When PB1 X20 on the operation panel is pressed both Lamp 1 YO and Lamp 2 Y1 on the wa
79. e it is ON FX TRN BEG E C 5 6 Drill The drill makes holes in parts Appearance side view Part detection sensor Part Drill 59 Appearance front view I pril Part Conveyor Operation Drilling start command An output Y is assigned to the drilling start command When the output is set ON the drill starts drilling Drilling signal When the drill starts drilling the input X of the drilling signal turns ON Write the program to turn OFF the drilling start command using this input signal Once the drilling operation is started the drill does not stop until it completes a cycle of operation even if the drilling start command is set OFF Correct wrong signal If a part is located under the drill a hole is drilled in the center of the part and the correct completion Y is set ON If a part is not located under the drill or if multiple holes are drilled on a part the wrong drilling Y is set ON When the wrong drilling is performed the part is crushed In some exercises one out of certain number of parts is to be a defective part Part detection sensor The part detection sensor turns ON when it detects a part is coming close NO contact Use this sensor to take the timing to start drilling or stop the conveyor An input X is assigned to the sensor The sensor is built in the drill and is not displayed on the screen
80. ective Parts Objective Distinguish between defective parts and good parts by their signals Difficulty Level 3 xxx Score Class 290 Advanced programming 6 4 1 Training Screen Y2 Start drilling X1 Part under drill X2 Drilled correctly X3 Drilled wrong Project Edit Convert View Online Tools Se a Y 90000 Operation switches Sei 455 2 35 00000000 00000000 00000000 5 00000000 00000000 00000000 853533538558 iaazoscd SSSP5BNSS asarcsll AO OO Ready 42 8000 ow 6 4 2 Device Assignment Type Device No Device name Operation Drilling ON while drilling X1 Part under drill ON when part on conveyor is detected by drill ON when part is drilled correctly Previous result is x2 Drilled correctly cleared when drilling starts Input Drilled wrong ON when part is not drilled correctly Previous result is cleared when drilling starts X4 Sensor ON when part is detected at the left end X5 Sensor ON when part is detected at the right end X10 Detect part ON when part is detected in front of pusher B 70 FX TRN BEG E F Advanced Challenge 6 6 4 3 6 4 4 Type Device No Device name Operation Yo Supply command One part is supplied when
81. eries PLC Objective Look at the introductory lessons Difficulty Level 1 x Score Class 80 Basic programming 1 21 Training Screen FZ SW0D5C FXTRN BEG E c x Eile Edit Simulation Tools Field Application Example Applications for Mitsubishi PLC The FX Series PLCs are used not only for factory automation FA but in many other industries as well Please look at these application examples j iens Some of them might appear in your everyday life ELLIS Do you Hi gt Click the button on the 4 understand remote control to move on Main Leisure Traffic 1 Agriculture Building Fishery Environmental 1 22 Outline of Operation Click 4 or gt to return to the previous screen or to go to the next screen 1 2 3 Points of learning and control specifications The PLC is used for various purposes in various fields Let s look at various applications on the screen You should have seen the equipment operated by the PLC After confirming the application examples try to find various places in which use of the PLC is expected B 9 FX TRN BEG E A Let s Learn the FX Series PLC 1 1 3 Let s play a Little Category A Let s Learn the FX Series PLC Exercise A 3 Let s play a Little Objective Look at the introductory lessons Difficulty Level 1 Xx Score Class 80 Introductory Basic 1 3 1 Training
82. extinguished when the output is OFF Mechanical interlock is not provided between the three flashing lights The three flashing lights can be lit at the same time FX TRN BEG E C 5 Machine Machine parts such as conveyors and lifters are explained here C 5 1 Conveyor standard The conveyor carries parts Appearance side view Reverse gt Forward Sensor e Indicator for reverse rotation Indicato forward Sensor d r for rotation Operation Conveyor forward reverse command An output Y is assigned to each of forward and reverse movement When the output Y is set to ON the conveyor moves n some exercises an output Y is assigned to either normal or reverse movement The motors for forward rotation and reverse rotation are built in the conveyor and not displayed The mechanical interlock between the motor for forward rotation and the motor for reverse rotation is provided inside the machine simulated Even if both of them are operated at the same time they are not damaged but the conveyor does not move Sensor Sensors are provided according to the exercise C 5 2 Conveyor with sorting wing The conveyor distributes parts large ones and small ones for example in two directions Appearance side view Part carrying direction Sensor i 2 Motor Sensor Sorting wing Sensor Output ON
83. fective part When multiple holes are drilled on a part it is also a defective part 4 When a defective part is detected by Detect part X10 in the pusher the conveyor stops and the pusher pushes it onto the Defective tray Note When the actuating command for the pusher is set ON it extends completely When the actuating command is set OFF the pusher retracts completely 5 A good part is carried on the conveyor to the OK tray located at the right end B 71 FX TRN BEG E F Advanced Challenge 6 6 5 6 5 1 6 5 2 Forward Reverse Rotation Control Category F Advanced Challenge Exercise F 5 Forward Reverse Rotation Control Objective Move the conveyor forward or backward according to the detected size Difficulty Level 3 xxx Score Class 290 Advanced programming Training Screen FXTRN BEG E ile Edit Simulation Tools Help XO Upper X1 Middle X2 Lower Peery YO Supply command ES We Gay Conveyor forward or Project Edit Convert View Online Tools Y4 Unload command X4 Starting point x5 Part on table Xb Robot operation finished 1 I 2 Canveyor forward i 1 nt ca Conveyor EA Y5 Forward Y6 Reverse Operation switches 25 aupunao 36 OFF ON OFF ON 00000000 00000000 5 855532858558 i
84. h auxiliary relay is not used Example in which auxiliary relays are used X000 X001 X002 X003 X000 X001 X002 YOOO T X000 X001 X002 X004 MO X003 Y001 HH Yooo X000 X001 X002 X005 MO X004 EE YO02 HH YOO1 Same set of contacts are used MO X005 Yo02 The same OUT instruction should not be Th is simplifi operated by multiple input contacts but the e program is simplified identical input contact can be used many times for different OUT instructions Instruction words LD load NO contact starting from a bus LDI load inverse NC contact starting from a bus AND and NO contact connected in serial to a contact LD or LDI ANI and inverse NC contact connected in serial to a contact LD or LDI OR or NO contact connected in parallel to a contact LD or LDI ORI or inverse NC contact connected in parallel to a contact LD or LDI OUT out Coil drive instruction For the method to enter instruction words refer to the LADDER PROGRAMS section or to Appendix 1 FX TRN BEG E B Let s Study the Basics 2 2 2 Standard Program Category B Let s Study the Basics Exercise B 2 Standard Program Objective Learn a latched output program and SET RST program Difficulty Level 1 X Score Class 80 Basic programming 2 2 1 Training Screen 54 FXTRN BEG E Edit Simulation Tools Hel
85. he same time the lifter is not damaged but neither does it move FX TRN BEG E Sensor An input X is assigned to the part detection sensor The sensor turns ON when it detects a part and is OFF when it does not detect a part The sensor is not displayed Aninput X is assigned to the lifter position sensor This sensor is used to determine the stop position when the lifter is in motion The sensor is not displayed The ON OF status for part detection and lifter position Example Sensor X000 sensors can be monitored by the red indicator at the left of Displayed in the device numbers in the simulation or on the I O image red while the table in the virtual PLC sensor is ON Lifter rotation An output Y is assigned to the lifter rotation When the output Y is set to ON the lifter rotates clockwise to transfer a part If the setting is incorrect the lifter may rotate to a spot where no conveyor is available The part may fall down or become stuck C 5 4 Door The door is opened and closed vertically Appearance side view Operation Door opening closing Door opening An individual output is assigned to closing motors each of the door opening and the door closing The door opening and closing motors are built in the door and are not displayed When the output Y is set ON the door is opened or closed The mechanical interlock between the opening motor
86. ick Edit Ladder on the remote control The status display is changed from RUN to PROGRAM 2 Click the Ladder Program Area or click Edit Ladder on the remote control to enable operation The title bar will turn blue Key operations are not enabled when the title bar and menu bar are grayed out Project Gonvert View Online Tools ai 24 Ready ite a Program Chi RER Lets write simple program for operating a conveyor CAUTION Click the ladder program area to enable operation The title bar will it enabled when the title bar and menu items END title bar is displayed in blue 2 m Operation enabled while th 81 Eee RETE Ready RUN oe FX TRN BEG E Outline of the Lesson Plan 2 2 6 2 Reading out the Model Answer The model answer for each exercise can be read out as follows 1 Click Edit Ladder on the remote control and confirm that PROGRAM is indicated 2 Select Help Ladder example Example 1 to 5 on the simulation menu bar Up to five model answers are provided for each exercise You cannot select model answers displayed in gray FASWODSC FXTRN BEG E Eile Edit Simulation Tools
87. ile the Conveyor forward Y1 is ON 3 When PB2 X21 on the operation panel is pressed the operations described in 1 and 2 stop The operations should be repeated when the procedure described in 1 is executed B 45 FX TRN BEG E D Beginner Challenge 4 4 6 Conveyor Drive Category D Beginner Challenge Exercise D 6 Conveyor Drive Objective Operate the conveyor according to the sensor data Difficulty Level 2 Score Class 160 Beginner programming 4 6 1 Training Screen Upper conveyor YO Forward Y1 Reverse Y7 Supply command X5 Starting point Y4 Forward Y5 Reverse Broject Edit Convert Online Tools p E 36 TARUNO OFF on 00000000 00000000 00800090 00000000 00000000 00000000 885825899 8855258958 O ORO OG Bo 218 st histo ze SEHR 5 890 OW 4 6 2 Device Assignment Type Device No Device name Operation Sensor ON when part is detected at the left end X1 Sensor ON when part is detected at the left end Input X2 Sensor ON when part is detected at the left end X3 Sensor ON when part is detected at the right end X5 Starting point ON when robot is at starting point B 46 FX TRN BEG E D Beginner Challenge 4 4 6 3 4 6 4
88. ill not be closed after you finish writing a program You can continue writing Enter symbol Type a device The instruction symbol to be written on the screen is displayed NO contact is written After the program is written the background is displayed in gray FX TRN BEG E Operation 3 POINT If you write a program placing a cursor on a program symbol already written the results differ as shown below depending on the mode Overwrite mode Insert mode 0 e Input d CAES ica FX TRN BEG E Operation 3 How to write basic instructions The figure below shows the function keys the device numbers and the set values for basic instructions NO contact OR OUT instruction Timer Counter PLS 1 Type a number for the length after pressing key Function key Characters to type POINT f you double click a contact the instruction symbol and the device entered are displayed in the dialog box Enter symbol The contact data can be changed Example Double click it Mi m MI x000 c iH B mr S Changed to NC contact Press Shift F6 Sj __ You can input basic instructions not only by pressing the function keys but also by typing letters For its method refer to the Appendix 1 2 FX TRN BEG E Operation 3 3 1 2 Writing STL Instruction 1 Place the cursor where the STL instruction is
89. ime 028 Tic funna When X020 is set ON Y005 turns ON as Y005 or t n gt indicated in line py pt gt B 005 X020 a When X020 is set OFF Y005 is latched ELT 1 RM MM BS and timer T1 turns ON as indicated in line B After the set value of timer T1 elapses K30 3 sec C turns OFF and the OUT instruction YOO5 and T1 are turned OFF YOO5 gt gt Set value of T1 3 sec Off delay time za m 2 One shot timer The timer keeps the output ON for a set period of time Even if the input for operating the timer remains ON the output is turned OFF after a set period of time Ada 12 When X021 is set ON Y006 2 turn E N ee 70967 ON as indicated in line A X021 is turned Ban En ee B ON instantaneously by the rising edge TRU Ui 296 detection instruction Even if the input of Ze b M X021 is ON the contact turns OFF er The latched output instruction enables N Y006 and T2 to remain ON as indicated in 1 line After the time of the timer T2 elapses YOOG EE K50 5 sec C turns OFF and then the p OUT instruction Y006 2 turned Set value of T2 5 sec OFF 3 Lighting the lamps using timers X020 u Coat When the switch X020 is set ON the
90. ing Distinguish between defective parts 3 Conveyor supply 64 Defective Parts and good parts by their signals robot and drill F 5 Forward Reverse Move the conveyor forward or backward 3 Conveyor supply 65 Rotation Control according to the detected size robot and drill F 6 Lifter Control Carry parts to three positions using 3 Lifter and 6 6 the lift conveyor F 7 Sorting amp Sort each part to the specified place Conveyor Supply RE 4 robot and 6 7 Distribution Line according to the size unloading robot The number for the difficulty level corresponds to the number of stars displayed on the exercise button on the main menu B 2 FX TRN BEG E A Let s Learn the FX Series PLC 1 1 A Let s Learn the FX Series PLC A 1 Introduction to the FX Series PLC A 2 Application Examples for the FX Series PLC The car approaches the door Food Industry Leisure Health and Medical Traffic Building Environmental Agriculture Fishery B 3 FX TRN BEG E A Let s Learn the FX Series PLC 1 1 1 Introduction to the FX Series PLC Category A Let s Learn the FX Series PLC Exercise A 1 Introduction to the FX Series PLC Objective Study the introductory information Difficulty Level 1 x Score Class 80 Basic programming 1 1 1 Training Screen FASWOD
91. l If you have registered as a user the award is displayed on the exercise buttons that have been completed From which exercise shall we begin today FX TRN BEG E Outline of the Lesson Plan 2 2 5 Configuration of Training Screen When you select an exercise the Ladder Program Area Virtual Manufacturing Cell and the Operation Panel are displayed as shown below 2 5 1 Training Screen Guidance Window Minimizes the Fixes the screen Menu Bar 2 5 5 screen display size Ends the Eile Edit Simulation Tools training Chapter 1 Let s Write a Program AE ch AGER ASTER AGER AER session R em ote o Let s write a simple program for operating a conveyor CAUTION r Click the ladder program area to enable operation The title bar will ntrol 2 5 3 M 3 D Graphic Click Edit Ladder button on the remote control Simulation Only the END symbol is displayed on th j Bon END e Virtual ing ste t 7 er Manufacturing YO Supply command b Ese t xo cell window a gt Project Edit Convert View Online Tools 2 5 2 xo00 Erun 9 oot mx Lamp display 3 000 8181 o o 8 2 8924 j S i 9292 SE E 06 7 END O10 O10 Operation switche
92. le X12 m em ON when robot operation finished B 76 FX TRN BEG E F Advanced Challenge 6 Type Device No Device name Operation YO Supply command part repeats inorder M L S LM Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor forward Conveyor moves forward when Y2 is ON Y3 Sorting wing Moves toward front when Y3 is ON YA Conveyor forward Conveyor moves forward when Y4 is ON Output Y5 Conveyor forward Conveyor moves forward when Y5 is ON v6 Pusher Extends when Y6 is ON and retracts when Y6 is OFF The pusher cannot be stopped in the mid stroke Y7 Unload command Robot moves part to tray when Y7 is ON A process cycle begins Y10 Red Lit when Y10 is ON Y11 Green Lit when Y11 is ON Y12 Yellow Lit when Y12 is ON 6 7 8 Control Objective Detect the part size and sort each part to the specified place according to the size 6 7 4 Control Specifications 1 When PB1 X20 on the operation panel is pressed Supply command YO for the robot is turned ON Supply command YO is turned OFF when the robot has finished moving the part and returned to the starting point When Supply command YO is turned ON the robot supplies a part 2 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop 3 Large medium and small parts o
93. le M8045 All output reset disable OFF Reset enable ON STL monitoring has been enabled M8047 and there SESSION is an active STL state S ON D8040 to D8047 are enabled for active STL step M8047 Enable STL monitoring monitoring ON Annunciator monitoring has been enabled M8049 MBOTE N and there is an active Annunciator flag M8049 Enable Annunciator ON D8049 is enabled monitoring OFF D8049 is not enabled ON Operation error MBOBE Snor OFF No operation error M8068 Operation error latch Hold occurrence of M8067 Selection of XCH operation ON 8 bit conversion M8160 to swap bytes in a single OFF Normal bit data word Selection of 8 bit operations for applied instructions ASC M8161 Mode of 8 bit operation RS ASCI HEX CCD When ON a value in D8164 is used as the M8164 number of FROM TO Transfer points exchange command exchange points Selection of BCD mode for M8168 use with the SMOV Digit shift in 4 bit unit instruction ON C200 functions as a down counter MB200 Up Down Counter Control OFF C200 functions as an up counter ON C201 functions as a down counter me Up Down Counter Control OFF C201 functions as an up counter ON C202 functions as a down counter M8202 Up Down Counter Control OFF C202 functions as an up counter ON C208 functions as a down counter M8203 Up Down Counter Control OFF C203 functions as an up counter ON C204 functions as a down counter M8204 U
94. ll and PL4 Y23 on the operation panel are extinguished B 37 FX TRN BEG E D Beginner Challenge 4 4 2 Detect Sensor Light Category D Beginner Challenge Exercise D 2 Detect Sensor Light Objective Turn the flashing lights ON when an object is detected Difficulty Level 2 Score Class 160 Beginner programming 4 2 1 Training Screen gt FXTRN BEG E Eile Edit Simulation Tools Help BEI Y3 Red Y4 Green 4 Y5 Yellow x iw es a Sx CN Wiese 7 A YO Red w Y1 Green N CN Y2tYellow x _ EN Project Edit Convert View Online Tools Lamp display a b Y 0000 5 E c z Operation switches IIS 36 nupum o 00000000 00000000 00000000 00000000 00000000 00000000 5 BKREONBNNNN SSSSSBSS O OO go Hessel ets ase zs Ready 5800 OW 4 2 2 Device Assignment Type Device No Device name Operation In gate person ON when person is detected X1 Out person ON when person is detected X2 In gate car ON when car is detected X3 Out car ON when car is detected YO Red person Lit when YO is ON Y1 Green person Lit when Y1 is ON Y2 Yellow person Lit when Y2 is ON O
95. lse NO contact 1 scan ON after RUN M8003 Initial pulse NC contact 1 scan OFF after RUN M8004 Error occurrence M8011 10ms clock pulse 5ms 5ms M8012 100ms clock pulse 50ms 50ms M8013 1 sec clock pulse 0 5s 0 55 M8014 1 min clock pulse 30s 30s M8018 RTC available When ON Real Time Clock is installed M8020 Zero Set when the result of an ADD or SUB is 0 M8021 Set when the result of a SUB is less than the min negative number M8022 Carry Set when carry occurs during an ADD FNC 20 or when an overflow occurs as a result of a data shift operation ON Write M8024 BMOV reverse mode OFF Read ON Hold output value MEUSE held ode OFF Reset output value M8029 Instruction execution OFF Executing complete ON Execution complete OFF Hold M8031 Non latch memory all clear ON Clear 25 OFF Hold M8033 Memory hold in stop mode ON Clear OFF Output enable M8034 All outputs disable ON Output disable OFF Transfer enable M8040 STL transfer disable ON Transfer disable ON Stop Magdi OFF Transfer disable M8042 Start pulse ON IST instruction start command M8043 Zero return complete ON IST instruction zero return command T ON Zero point position M8044 q Zero point condition OFF Zero point undecided D 8 FX TRN BEG E Diagnostic Device Name Operation ON Reset disab
96. lue monitor Decimal or Change current value monitor Hexadecimal Then the present values of timers and counters as well as the present values of operand devices of application instructions are displayed in the selected display format MOVP K200 05 MOVP K200 D5 DOCS 1 Decimal Hexadecimal format format The present values are displayed in real numbers if the instructions take real numbers Device test During monitoring you can confirm the program operation by setting devices to ON or OFF and changing the present values 1 Select Online Devece Test 2 When the Device Test dialog box is displayed type the device number to the Device field Bit device Type the device number whose value is to be changed Force the selected device ON Bit device Device X000 X Wd Force the selected device OFF EN Force a change in the status of a ES device Setting value fin the virtual PLC you to ft bit 2 can forcibly set inputs Execution history X ON Or OFF Inthe actual FX Series Force on e 3 PLC however the 5 priority is given to actual i connected equipment so You can also force a change in the device status by you cannot forcibly set placins the cursor on the device and pressing shift 4 U inputs X ON or OFF Enter or shift double click FX TRN BEG E Operation 3 e Word device
97. mp display e232 a Jes afe pr o ze ls et fai ES Ready 2 8000 OW 5 2 2 Device Assignment Type Device No Device name Operation X0 Starting point ON when robot is at starting point X1 Upper ON when part is detected ut X2 Middle ON when part is detected npu p x3 Lower ON when part is detected X4 Sensor ON when part is detected at the right end X5 Sensor ON when part is detected at the right end One part is supplied when YO is ON A process cycle Supply command begins Metal cylinder repeats in order L S S L and S Output Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Conveyor forward Conveyor moves forward when Y2 is ON Y5 Sorting wing Moves toward front when Y5 is ON FX TRN BEG E E Intermediate Challenge 5 5 2 3 5 2 4 Control Objective Distribute each part to its proper destination according to its size Control Specifications 1 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop 2 When PB1 X20 on the operation panel is pressed Supply command YO for the robot is turned ON Supply command YO is turned OFF when the robot has moved from the starting point The robot will complete the part loading cycle 3 The robot supplies large medium or small parts 4 Large parts are led to the rear conveyor and small parts are led to the front conve
98. mproved accordingly If you have an error situation such as the input data from a sensor is not received properly speed adjustment is required The program cannot receive the input data from the sensor A part does not stop where it should Select Tools Options and reduce the simulation speed Something is wrong with the 3 D screen The display is disturbed etc Check whether the video card of your computer supports the direct 3 D Select My computer gt Control panel Screen gt Settings tab Details button Performance troubleshooting tab then decrease the set value of Hardware accelerator to zero If the problem is solved increase the set value one by one up to a highest allowable value Select My computer Control panel gt Screen gt Settings tab then increase Screen color to 24 bits or decrease it to 16 bits Or the problem may be solved if you update the video driver to the latest version provided by the computer manufacturer For details consult with the computer administrator D 31 FX TRN BEG E MEMO D 32 USER S MANUAL FX TRN BEG E MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN MODEL FX TRN BEG U E MODEL CODE 09R909 JY997D02901E Effective June 2015 MEE Specification are subject to change
99. n a contact or a program is set ON it is highlighted in blue What are the numbers under the timers and counters The numbers under the timers and counters are their current values Does the program write in this software run in an actual PLC Yes but this software is not equipped with the function to write a program to an actual PLC The program must be entered in a general release software package such as GX Developer and then transferred to the PLC Ladder example Question Answer How do see the ladder example Click Edit Ladder on the remote control Then select Help Ladder example Example on the simulation menu Should my program be exactly the same as the ladder example No Refer to the ladder example only as examples of one correct control method How do I study the details of the programs of ladder example Device comments are provided to the ladder example Select View gt Comment to study them Can print out the ladder example Yes Select Project Print Can edit the ladder example Yes Select Project Save as on the ladder menu to create another file for editing so that the original model answer is not deleted How do I save a ladder example with a different name Select Project Save as and name the file Can confirm the operation after editing the ladder example Yes Let s see how your program operate
100. n the conveyors are sorted by the input of sensors Upper X1 Middle X2 and Lower X3 and carried to the specified trays Large part Medium part Small part 6 The flashing lights are lit as follows Red Lit while the robot is supplying a part Led to the rear conveyor when Sorting wing Y3 of the branch conveyor is set ON and then carried on the conveyor and dropped from the right end Led to the front conveyor when Sorting wing Y3 of the branch conveyor is set OFF and then moved onto the tray by the robot is set ON Led to the rear conveyor when Sorting wing of the branch conveyor When the sensor for Detect part X6 in the branch conveyor is turned ON the conveyor stops and the part is pushed onto the tray 4 When Part on table X11 is turned ON in the robot Unload command Y7 is set ON When Robot operation finished X12 is turned ON it is ON when a part is placed on the tray Unload command Y7 is set OFF 5 While SW2 X25 on the operation panel is ON a new part is to be automatically supplied at the following time When the robot starts to carry a medium part When a small part is put into the tray or when a large part is dropped from the right end of the conveyor Green Lit while the conveyor is moving Yellow Lit while the conveyor is stopped B 77 FX TRN BEG E F Advanced Challenge 6 MEMO B 78 FX TRN BEG E LADDER PROGRAMS LADDER PROGRA
101. nd Input X11 Right limit ON when part is detected at the right end X12 Stop sensor ON when part is detected Y10 Supply command b is supplied when Y10 is ON A process cycle ap Y11 Conveyor forward Conveyor moves forward when Y11 is ON Y12 Conveyor reverse Conveyor moves backward when Y12 is ON FX TRN BEG E E Intermediate Challenge 5 5 6 3 5 6 4 Control Objective Move the conveyor forward or backward according to the control specifications Control Specifications 1 When PB1 X20 on the operation panel is pressed Supply command Y10 for the hopper is turned ON When PB1 X20 is released Supply command Y10 is turned OFF When Supply command Y10 is turned ON the hopper supplies a part 2 When PB2 X21 on the operation panel is pressed the conveyor is operated in a sequence as described in 3 to 6 below If PB2 X21 is released the sequence of operation continues 3 The conveyor starts moving when Conveyor forward Y11 is set ON and stops when Right limit X11 for the part is turned ON 4 The conveyor moves in reverse when Conveyor reverse Y12 is set ON until Left limit X10 is turned ON 5 The part stays at the left limit for 5 seconds 6 5 seconds later Conveyor forward Y11 is set ON and the conveyor moves until Stop sensor X12 is turned ON B 61 FX TRN BEG E E Intermediate Challenge 5 MEMO B 62 FX TRN BEG E F Advanced Challenge 6 6
102. ned OFF when the robot has moved from the starting point When Supply command YO is turned ON the robot supplies a box Control of oranges 1 When the sensor for Box on conveyor X1 in the orange feeder is turned ON the conveyor stops 2 Five oranges are placed in the box Boxes containing 5 oranges are carried to the tray at right 3 Oranges are supplied when Supply orange command Y2 is set ON and the number of oranges supplied are counted when Orange supplied X2 is set ON B 59 FX TRN BEG E E Intermediate Challenge 5 5 6 Conveyor Control Category E Intermediate Challenge Exercise E 6 Conveyor Control Er Move the conveyor forward or backward according to the control Objective specifications Difficulty Level 8 kw Score Class 240 Intermediate programming 5 6 4 Training Screen Project Edit Convert View Online Ready x12 Stop sensor x10 x11 Left limit Right limit ce SS GS 11 Conveyor forward L7 12 Conveyor reverse Tools Y EES A E NSSRUBNSS NSUBRSBSS 4 00000000 00000000 00000000 9 00000000 00000000 00000000 z 5 6 2 Device Assignment 27 6000 ow Type Device No Device name Operation X10 Left limit ON when part is detected at the left e
103. nputs and Outputs are monitored here F run Green indicates the RUN status Gray indicates the STOP status E E Red indicates the ON status 15 Gray indicates the OFF status 00000000 00000000 00000000 Bo 90000000 00000000 00000000 o Operation Panel The configuration of the operation panel for each exercise differs I O device numbers shown correspond to the ones on the specific virtual manufacturing cell Operation Panel Lamp display n Lamp display Fe Ne Lit by outputs from the PLC Operation switches Pez 21 Pea Operation switches Used to operate the machine in the simulation OFF ON OFF ON PB4 Far hose Hold the ON or OFF status Turn ON and OFF with the mouse Pushbuttons Turns the input ON while the button is pressed FX TRN BEG E Outline of the Lesson Plan 2 2 6 2 6 1 Writing a Program When reading the first two categories A Let s Learn the FX Series PLC and B Let s Study the Basics the procedures to write the program are indicated in the guidance In higher level lessons example programs are provided but not the individual keystrokes Preparation for Ladder Editing The following operations are required in order to start ladder editing The PLC is in RUN mode immediately after the training screen is displayed Ladder editing cannot be performed in RUN mode 1 Cl
104. nstall to a deem folder click Browse and e f you would like to change the folder click select another folder the Browse button to select the folder You can choose not to install FX TRN BEG by clicking Cancel to exit Setup Click Cancel to cancel installation erem Folder 0 Program Fi lesYFX TRN Browse Installation destination folder FX TRN BEG E Outline of the Lesson Plan 2 5 Determine the program folder name Select Program Folder Setup will add program icons to the Program Folder listed below Yg Administrative Tools Common Adobe Adobe Acrobat 4 0 Dell DMI MELSEC F FX Applications MELSOFT Application Microsoft Hardware Microsoft Office Tools Mitsubishi Alpha Controller Sample Network Associates VirusScan NT cie 6 Complete the setup Setup Complete Setup has finished installing FX TRN BEG on your computer Setup can launch the Read Me file and FX TRN BEG Choose the options you want below Click Finish to complete Setup m Eile Edit View Go Favorites Help Ei e _ A m Bact Forward Up Cut a Address n CAWINNTAProfilesXAII Users Start Me 2 objects The training software will be installed in this program folder or another folder name can be entered A folder of the same name would be overwritten if it exists Click Next to start the installation t takes about 10 secon
105. nt the number of oranges This sensor is built in the supplier and is not displayed FX TRN BEG E C 4 Lamp Indicator lamps such as signal lamps and flashing lights are explained C 4 1 Signal two colors Red and green signal lamps come ON Appearance Red Green C 4 2 Signal three colors Red green and yellow signal lamps come ON Appearance Green Yellow Red C 4 3 Flashing Light Red green and yellow flashing lights come ON Appearance Red Green Yellow Operation An individual output Y is assigned to each of red and green lamp Each lamp is lit when the output is ON and extinguished when the output is OFF Mechanical interlock is not provided between the two lamps The two lamps can be lit at the same time Do not specify the Simple graphic mode The 3 D graphic would not be displayed properly Operation An individual output Y is assigned to each of red green and yellow lamp Each lamp is lit when the output is ON and extinguished when the output is OFF Mechanical interlock is not provided between the three lamps The three lamps can be lit at the same time Do not specify the Simple graphic mode The 3 D graphic would not be displayed properly Operation An individual output Y is assigned to each of red green and yellow flashing light Each flashing light is lit when the output is ON and
106. opper is turned ON When PB1 X20 is released Supply command YO is turned OFF When Supply command YO is turned ON the hopper supplies a part 2 When SW1 X24 on the operation panel is turned ON the conveyor moves forward When SW1 X24 is turned OFF the conveyor stops Control of drill 1 When the sensor for Part under drill X1 in the drill is turned ON the conveyor stops 2 When Start drilling Y2 is turned ON the drilling starts Start drilling Y2 is turned OFF when Drilling XO is set ON 3 When Start drilling Y2 is turned ON either Drilled correctly X2 or Drilled wrong X3 is set ON after the drill machine has operated for one complete cycle The drill cannot be stopped in the middle of an operation 4 After Drilled correctly X2 or Drilled wrong X3 is confirmed the work is carried and put on the tray at the right When multiple holes are drilled Drilled wrong X3 is set ON In this exercise no specified control for scrap parts exists B 57 FX TRN BEG E E Intermediate Challenge 5 5 5 Part Supply Control Category E Intermediate Challenge Exercise E 5 Part Supply Control Objective Supply a specified number of parts according to the control specifications Difficulty Level 3 xxx Score Class 240 Intermediate programming 5 5 1 Training Screen Y2 Supply orange command X1 Box on conveyor X2 Orange supplied YO Supply command
107. ormance the operation speed of the machine simulation may be too high to realize the desired control If the message part does not stop in front of a sensor or the input data is not received properly is received select Tools Options on the ladder menu and reduce the speed The adjusted speed is remembered High on the scale bar means high speed Try the operation at medium speed Simulation background Simple graphic mode Cancel Simulation speed adjustment Low Mid High If you choose the Simple graphic mode the background in the 3 D graphic simulation is omitted However troubles may occur in some exercises where the background is necessary In the Simple graphic mode the simulation speed is higher If a problem occurs cancel the Simple graphic mode or reduce the speed of the simulation FX TRN BEG E 2 8 Self judgement If you are a registered user the software will update your score whenever an exercise is successfully completed In the final chapter of each exercise a dialog box requests confirmation that the exercise has been successfully completed The user can judge whether the exercise has been completed successfully or not In the final chapter Self judgement page dr you get it right To main meni Back Next If you are If youare nota registered User registered User click the button on click the button on the remote control Main _ the remote
108. owing time When the robot starts to carry a medium part When a small or large part is put into a tray B 73 FX TRN BEG E F Advanced Challenge 6 6 6 Lifter Control Category F Advanced Challenge Exercise F 6 Lifter Control Objective Carry parts to three positions using the lift Difficulty Level 3 xxx Score Class 290 Advanced programming 6 6 1 Training Screen FXTRN BEG E ile Edit Simulation Tools Help Y2 Lift up command Y3 Lift down command Y4 Lift rotation command X3 Part on lift 2 Xb Upper lift position Xs Middle lift position X4 Lower lift position XO0 Uppen X1 Middle 5 X2 Lower Project Edit Convert View Online Tools Lamp display A 0000 v23 fy22 E Operation switches x20 x21 25 saupun o 36 NnaRun 5 MAPUNO OFF on on 00000000 00000000 00080090 SSS85B8558 00000000 00000000 00000000 8855258958 dadota s e sr 15 as ps elo za Ready 90 8000 ow 6 6 2 Device Assignment Type Device No Device name Operation ON when part is detected X1 Middle ON when part is detected X2 Lower ON when part is detected X3 Part on lift ON when part is on the lift X4 Lower lift position ON when
109. p Project Edit Convert View Online Tools Operating Stop Error E B Operation switches 4 5 35 nupunm o 35 00000000 00000000 00000000 00000000 00000000 00000000 53533538558 iaarogscd SSSRSRSS a2aro6c AO OO ESSE s ES DP EPA Ready 2 2 2 Device Assignment 5 800 OW Type Device No Device name Operation YO Operating lamp Green lamp is lit when YO is ON Output Y1 Stop lamp Yellow lamp is lit when Y1 is ON Y2 Error lamp Red lamp is lit when Y2 is ON FX TRN BEG E B Let s Study the Basics 2 2 2 3 Points of training and control specifications 1 Latched output instruction The latched output instruction is frequently used in PLC programming The Output contact latches On when first energized by an Input s remaining On until forced Off by another programming condition Example of latched output instruction X020 Uhput condition Write the contact of OUT instruction YOOO YOO0 ger in parallel to the input condition X020 Y000 de Operation X020 Yooo e When X020 is set ON YOOO is driven gt turned ON as indicated with the dotted Y000 ur line 1 e Even if X020 is set OFF the ON status of the output YOOO is held as indicated
110. p Down Counter Control OFF C204 functions as an up counter ON C205 functions as a down counter M8205 Up Down Counter Control OFF C205 functions as an up counter ON C206 functions as a down counter M8206 Up Down Counter Control OFF C206 functions as an up counter ON C207 functions as a down counter 207 Up Down Counter Control OFF C207 functions as an up counter ON C208 functions as a down counter MB208 Up Down Counter Control OFF C208 functions as an up counter ON C209 functions as a down counter M8209 Up Down Counter Control OFF C209 functions as an up counter ON C210 functions as a down counter M8210 Up Down Counter Control OFF C210 functions as an up counter ON C211 functions as a down counter MEM UpiDown Counter Control OFF C211 functions as an up counter D 9 FX TRN BEG E Diagnostic Name Operation Device Up Down Counter Contro ONF 0212 unzlons doun counter Counter Contro ORE 0273 neos dom countar Up Down Counter Contro ONF 0279 dom countar M amp S Counter Contro ONF 0215 furcone dem countar Up Down Counter Contro ONF Gate tnos dem countar 12217 Up Down Counter Contro ONF 0217 dem countar Up Down Counter Contro ONF 0278 unzlan
111. r objectives are given for each exercise along with programming tips and examples to aid in the learning process The large number of exercises provide complete beginners and slightly more advanced users with challenges appropriate to each skill level Proceed through the exercises at the speed that is right for you The software setup and the flow of the lessons are explained in Chapter 2 Please read Chapter 2 to improve the effectiveness of the later lessons The 3 D graphic simulations will be controlled by the user program The software package includes the following items ES gt gt SWOD5C FXTRN BEG E FX TRN BEG E um CD ROM for system installation package dd 1 piece lt A Da This manual FAISSE ES Introduction to the software USER S Exercise list which supplements the MANUAL guidance display on your computer Operation of ladder tools Specifications of virtual PLC and virtual machines Please make sure END USER SOFTWARE LICENSE AGREEMENT License Certificate A 3 FX TRN BEG E Introduction 1 MEMO A 4 FX TRN BEG E Outline of the Lesson Plan 2 2 2 1 Outline of the Lesson Plan Follow the Lesson Plan Flowchart below to better understand the setup of the PLC programming lessons Outline The chart below shows the overall flow of the training software Setup of software Startup of software Starting gt Menu display
112. reen differs depending on the mode as shown below Overwrite mode min gt The contact in the cursor position is deleted and the position becomes blank The contact on the left side of the cursor position is deleted and the position becomes blank Insert mode x004 Se The contact in the cursor position is deleted and a horizontal line is displayed The contact on the left side of the cursor position is deleted and a horizontal line is displayed FX TRN BEG E Operation 3 Writing and deleting ines Write ruler lines as follows 1 Press the F10 key first 2 When writing a horizontal line press the Shift gt keys to move the cursor When writing a vertical line press the Shift U keys to move the cursor 02 DO 3 When you release the Shift key a horizontal or vertical line is written Delete lines as follows 1 Press the Alt F9 keys first 2 When deleting a horizontal line press the Shift gt keys to move the cursor When deleting a vertical line press the Shift 4 keys to move the cursor EO 3 When you release the Shift key a horizontal or vertical line is deleted 02 POINT Only horizontal and vertical lines can be deleted using this method Even if you operate the above explained procedure on a contact the contact is not deleted 3 2 2 Cut Copy
113. ring Cell 2 5 3 Remote Control erm ie ei e eer tnde Rod 2 5 4 Ladder Program Area sese 2 5 5 Guidance Window sse 2 5 6 VO Image Table for Virtual PLC 2 5 7 Operation Panel res ees 2 6 Writing a Progra Miepie ee 2 6 1 Preparation for Ladder Editing 2 6 2 Reading out the Model Answer sseeeeee 2 7 Operation Confirmation ssseesssseeeeeneneee 2 7 1 Program 2 7 2 Adjustment of Simulation Speed 2 8 zSel judgement Ee e 2 9 ep caede EIER A 1 FX TRN BEG E INTRODUCTION MEMO A 2 FX TRN BEG E Introduction 1 Introduction The FX TRN BEG PLC Training Software creates a virtual manufacturing cell within in your personal computer that enables the user to study PLC programming any time or place a personal computer is available The manufacturing cell and machines are shown in 3 D graphic simulations that provide an enjoyable visual element to the PLC training Watch the programs that you create control the machines inside the virtual arena The structured lesson plans let the user decide at what level to begin the exercises Clea
114. rn a latched output program and Indicator B 2 Standard Program SET RST program 1 lamp 2 2 B 3 Control Precedence Learn an interlock program which 4 23 controls conflicting operations signal lamps Learn how to initiate instructions at the E an detection of rising falling edge of a 2 Conveyor 2 4 pulse C Easy Does It OE Difficulty Object to Exercise Objective level Control Chapter C 1 Basic Timer Operation Learn the On delay time function 1 Door 3 1 C 2 Application Timer Learn the Off delay time function and 1 Door 3 2 Program 1 the one shot timer ZO m Traffic light C 3 Application Timer Learn a flicker program executed by 2 with two 3 8 Program 2 timers signal lamps Can Basic Counter Learn control methods using counters 2 Conveyor 3 4 Program B 1 FX TRN BEG E EXERCISES D Beginner Challenge Exercise Objective Object to Control Chapter D 1 Paging Unit Control the paging unit in a restaurant 1 Paging unit 4 1 D 2 Detect Sensor Turn the flashing lights turn ON when PEN Light an object is detected 1 Flashing light D 3 Time Control for Control a traffic light where the signals are 4 Traffic light with 43 Traffic Light changed at specified time intervals three signal lamps D 4 Part Sorting by Sort different sized pa
115. rtain position Right curtain position XD nside Bl insid X1 Middle X4 Middle X2 Outside X5 Outside i YN Y2 Stage up command Y3 Stage down command X6 Stage upper limit X7 Stage lower limit Project Edit Convert View Online Tools mo Operation status PP Curtain open Stage up 9 9 2 tene 6 4 lola 10 y Yu v5 2 5 5 Curtain dose Sagedown e7 motion Comp motion Comp 010 12 Y13 YIR Var O11 O11 O12 O12 8 Operation switches T 1 xCurtain gt gt 20 gt gt Curtain dose 21 22 8 2a ES ESESESESES ERES ES E Es Ready 76 8000 OW 6 2 2 Device Assignment Type Device No Device name Operation X0 Inside Left curtain ON when curtain closes completely X1 Middle Left curtain ON when curtain is halfway X2 Outside Left curtain ON when curtain opens completely x3 Inside Right curtain ON when curtain closes completely Input X4 Middle Right curtain ON when curtain is on its half way Outside Right X5 Rig ON when curtain opens completely curtain X6 Stage upper limit ON when stage reaches upper limit X7 Stage lower limit ON when stage reaches lower limit B 66 FX TRN BEG E F Advanced Challenge 6 6 2 3 6 2 4 Type Device No Device name Operation Y Curtain open Curtains open when YO is ON Curtains stop when YO is
116. rts using 4 Conveyor and 4 4 Size 1 sensors supply robot D 5 Conveyor Start Start and stop the conveyor according 2 Conveyor 45 Stop to the predetermined procedure D 6 Conveyor Drive Operate the conveyor according to the 2 Conveyor 46 sensor data E Intermediate Challenge Exercise Objective grid Object to Control Chapter E 1 Pushbutton Switch the traffic signals in response Traffic light with 2 5 1 Signal to a pushbutton three signal lamps E 2 Part Sorting by Distribute each part to its proper 2 Branch conveyor 52 Size Il destination according to its size E 3 Part Separation Give the command to a robot to move 2 Conveyor and 53 a part to a new location unloading robot E 4 Drilling Control the drill and other devices 2 Conveyor supply 5 4 robot and drill E 5 Part Supply Supply a specified number of parts Conveyor and UM 3 5 5 Control according to the control specifications supply robot E 6 Conveyor Move the conveyor forward or backward Conveyor and n 3 5 6 Control according to the control specifications supply robot F Advanced Challenge Exercise Objective Object Control Chapter F 1 Automatic Door Control the door which opens or 3 Door 6 1 Operation closes when detecting an object F 2 Stage Settings Senke plagesetings anna eine 3 Stage settings 6 2 control specifications F 3 Part Distribution Distribute the specified number of 3 Conveyor and 63 parts according to the size pusher F 4 Sort
117. s dem countar Up Down Counter Contro ORE 0279 doun countar 12220 Up Down Counter ONF 0220 umelons countar 1 Up Down Counter Contro ONF 0227 funcions counter Up Down Counter Contro ONF 0222 umelons doun countar 12223 Up Down Counter Contro ONF 0222 umelons dem counter Up Down Counter Contro ONF 0229 cios a countar 12225 Up Down Counter Contro ONF C228 umelons doun counter Up Down Counter Contro Or C228 fanciers counter Up Down Counter Contro ORE 0227 umelons oun countar Up Down Counter Contro ONF 0228 umelons counter 0220 Up Down Counter Contro ONF 0229 nons a oun countar Up Down CounterConto ORE 0290 countar Counter Contro ONF Gast dem countar Counter Contro ONF 0292 umelans dem countar Up Down Counter Connor ON C298 functione as a down counter Up Down Counter Contro OPE 025 doun counter FX TRN BEG E B 2 2 Special data registers Diagnostic Name Operation Device D8000 Watchdog timer 200ms D8001 PLC type and version 24
118. s Can register my program as a ladder example Yes Read out one of the ladder example edit and overwrite it selecting Project Save on the ladder menu You cannot add a new ladder example Virtual PLC Question Answer What is the virtual PLC It is a PLC in which the program you write in your computer is virtually transferred and run Which instructions and devices are available in the virtual PLC Refer to the tables in the appendix in this manual How do 1 know the status in the virtual PLC RUN indicator and ON OFF lamps for I O on the I O image table are lit or extinguished according to the status in the virtual PLC FX TRN BEG E Virtual PLC Question Answer How can switch the RUN mode and STOP mode in the virtual PLC There are several ways to do it No RUN STOP switch Switched to STOP mode when you click Edit Ladder on the remote control Switched to RUN mode when you write your program to the PLC in STOP mode Switched to STOP mode and then to RUN mode when you click Reset on the remote control Switched to STOP mode when you write your program to the PLC in RUN mode When is the program inside the virtual PLC cleared The program is cleared when you go to the main menu or exit the software Simulated Machine Question Answer Can add sensors Can change the device assignment
119. s O11 O11 O12 O12 paa pas O15 015 O16 016 17 9 17 PB2 X21 20 O20 OFF ON OFF ON 82 PBs pez E lt IAE x ane uc ane une 21515 2 oss N amp ss et F9 sr9 ef9 crio sF7 sF8 aF7 ars Hed HS 23 Ready 8 8000 OW Ladder Program Area I O Image Table for Operation Panel 2 5 4 and Ladder Tool Section monitoring RUN status 2 5 7 in the virtual PLC t 2 5 6 Different machines and operation panels for simulation will be displayed automatically depending on the exercise Let s try to operate them correctly following the guidance FX TRN BEG E Outline of the Lesson Plan 2 2 5 2 3 D Virtual Manufacturing Cell A different machine is displayed for each exercise to be simulated You can choose the view the machine by pressing the F T S button on the remote control or selecting the direction on the Tools menu Side view Praec Comer Chine ool ee eh eo T EIN A Front view PZ swobsc FXTRN 8EG E Simulation Tools Help faa Hoect Edi Comet Onine Edit Comet oos E EET HESS E whey The device numbers are assigned to all the inputs and outputs of the machine as seen in the 3 D graphic
120. s E d always either ON or OFF However MO X021 because the PLS instruction is used here even the OUT instruction MO is operated only on 001 the rising edge of input X024 for a single Y006 scan cycle X020 PF MH X020 is a momentary pushbutton switch which turns ON when pressed However M ah Yo00 because the PLF instruction is used here E the OUT instruction M1 is operated on the Y000 falling edge of input X020 for a single scan cycle Even if inputs X024 or X020 are set ON or OFF by the PLS or PLF instruction the latched output instruction program for YOOO YOO1 and 006 can be shut down by the input of X021 2 Contact type rising falling edge detection instruction There is another type of rising falling edge detection instruction which turns a contact only for a moment Example X024 1081 The program shown on the left performs Yoo1 the same operation with the program Y000 shown above in which the PLS and PLF Yo06 instructions are used for rising falling edge X020 X021 detection v Yo00 Y001 rising edge falling edge detection detection gt TLL B 23 FX TRN BEG E B Let s Study the Basics 2 MEMO B 24 FX TRN BEG E C Easy Does It 3 3 Easy Does It C 1 Base of timer circuit C 2 Application of timer circuit 1 qub b Yarcc svelo
121. s cy B E not displayed inst32giex ISDel Setup dll _sysl cab _sysi hdr _userl cab automatically double click the CD ROM drive in My Computer erl hdr autorun DATATAG datal cab datal hdr lang dat layout bin setup setup lid 20 object s My Computer Double click this Setup icon on the window to start installation of the software Three types of Setup icons are displayed Double click the one with a picture of a computer 3 When Setup is executed the window shown below is displayed Welcome x x After reading and understanding the This progran will Install FITREBER on messages click Next your computer It is strongly recomended that you exit all Click Cancel to cancel installation Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this Program or any portion of it may result in severe civil and criminal penalties and will be prosecuted io the maximum extent possible under law Next gt Cancel Choose Destination Location f you wish to install it to the folder al install FX TRN BEG in the following displayed click Next To install to this folder click Next To i
122. s name Score A 20 FX TRN BEG E Outline of the Lesson Plan 2 2 9 Exit You can exit the training software by clicking x in the upper right corner of the screen or selecting File Exit on the simulation menu e f you are editing the ladder program the dialog box below is displayed Ladder Tool Eg 4 Do you wantto save ladder program Cancels the operation Saves the ladder program Exits the software without in a specified folder and saving the ladder program exits the software A 21 FX TRN BEG E Outline of the Lesson Plan 2 MEMO A 22 FX TRN BEG E EXERCISES EXERCISES This section gives details about each exercise the exercise objectives and the device assignments Contents List of Exercises A Learn the FX Series PLC FE Difficulty Object to Exercise Objective level Control Chapter A 1 Introduction to the FX Look at a typical operation sequence 1 Door 14 Series PLC and structure of the training software A 2 Application Examples Look at field application examples for 4 __ 1 2 for the FX Series PLC the FX Series PLC A 3 Let s play a Little Fere playa itie stam 1 Conveyor 1 3 program B Let s Study the Basics m Difficulty Object to Exercise Objective isvel Control Chapter B 1 Basic I O Program Learn input and output programs 1 Deos 2 1 a Lea
123. s OFF The pusher cannot be stopped in the mid stroke Extends when Y7 is ON and retracts when Y7 is OFF Y7 Pusher The pusher cannot be stopped in the mid stroke Control Objective Distribute the specified number of parts according to the size Control Specifications 1 When PB1 X20 on the operation panel is pressed Supply command YO for the robot is turned ON Supply command YO is turned OFF when the robot has finished moving the part and returned to the starting point 2 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop 3 Large medium and small parts on the conveyors are sorted by the input of sensors Upper X1 Middle X2 and Lower X3 and carried to the specified trays 4 When the sensor for Detect part X10 X11 or X12 in the pusher is turned ON the conveyor stops and the part is pushed onto the tray Note When the actuating command for the pusher is set ON it extends completely When the actuating command is set OFF the pusher retracts 5 The following number of parts for each size are to be placed in the trays Excess parts are to pass in front of the pushers and fall from the right end Large 3 parts Medium 2 parts Small 2 parts B 69 FX TRN BEG E F Advanced Challenge 6 6 4 Sorting Defective Parts Category F Advanced Challenge Exercise F 4 Sorting Def
124. s and lamps the guidance does not talk about Yes Such switches are wired to the virtual PLC You can use them as your own operation switches and indicator lamps User registration self judgement Question Answer What is the advantage of being a registered user In the main menu a good award and the number of times the exercise has been completed is displayed on the exercise button and your total score is listed at the bottom D 29 FX TRN BEG E User registration self judgement Question Answer am on the self judgment page What do I do Follow the instructions in the box If you are a registered user you are asked to judge your understanding in a dialog box If you click Yes the score and the number of times the exercise has been completed is updated am a registered user but forgot my password What should I do Register yourself as a new user What is the score gain for finishing each exercise Scores have been set according to the difficulty level of the lesson When an exercise has been completed the score is added to the registered user s overall total What if don t register myself as a user An unregistered user can learn the lessons in the same manner as a registered user Unregistered users do not collect points nor award stickers This makes it more difficult to monitor which lessons have been successfully completed
125. s closed YOO1 B 27 FX TRN BEG E C Easy Does It 3 3 2 Application Timer Program 1 Category C Step Up Exercise C 2 Application Timer Program 1 Objective Learn the Off delay time function and the one shot timer Difficulty Level 1 Score Class 80 Basic programming 3 2 1 Training Screen DDBC FXTRN BEG E Edit Simulation Tools Help o nm Y6 Green YT Yellow E Y1 Door down command XO Lower limit Project Edit Convert View Online Tools E Operation switches NSSRSBSS Saaran a x2 26 OFF on on 00000000 00000000 00000000 00000000 00000000 00000009 z SYYN IAAD O Ready 17 8000 ow 3 2 2 Device Assignment Type Device No Device name Operation TT Lower limit ON when door reaches lower limit X1 Upper limit ON when door reaches upper limit YO Door up command Door moves up when YO is ON Y1 Door down command Door moves down when Y1 is ON Output Y5 Red Lit when Y5 is ON Y6 Green Lit when Y6 is ON Y7 Yellow Lit when Y7 is ON FX TRN BEG E C Easy Does It 3 3 2 3 Points of training and control specifications 1 Off delay timer The timer turns the output OFF after a set period of t
126. sing the mouse you can move the guidance window to an arbitrary position Ladder Program Question Answer Can transfer the program to an actual PLC The program can be transferred only to the virtual PLC inside your computer The ladder program area is internally connected to the virtual PLC How can write a program while the PLC is in RUN mode You cannot write a program while the PLC is in RUN mode Click Write to PLC on the remote control to write a program easily Or select Online Write to PLC on the ladder menu Which instructions are available Basic instructions Application instructions and stepladder instructions For the details refer to the tables in the appendix in this manual Can use the program later You can store the program selecting Project Save as You can read and edit data How can display comments in the ladder program Select View Comment D 27 FX TRN BEG E Ladder Program Question Answer Can type in the instructions in the ladder program Yes Type in the instructions after clicking the ladder program area The instruction list is not available in the software Refer to the table in the appendix in this manual Can change the window size No the display size is fixed Why are some contacts highlighted in blue A feature of the I O monitor display is that whe
127. t Printing is executed according to the device comment display status as shown below Display in ladder program area Printing result Each device comment is displayed in up to 16 characters 20 vooo Starting Supply c point F ommand Each device comment is printed in up to 16 characters Each device comment is displayed in up to 32 characters vooo Starting Supply pointF ommand alling e dge Each device comment is printed in up to 32 characters Device comments are not displayed D8063 D10 Device comments are not printed o bio POINT All the programs are printed f printing is executed during monitoring the contents of the monitor display are also printed FX TRN BEG E Appendix A Instruction List for Virtual PLC A 1 The Instructions available in the training software and their functions are listed Basic instructions Input Mnemonic Function Inpurmethod method Program and target Symbol device Instruction Initial logical operation XYMSTC contact type F5 XO LD XO LoaD normally open LDI Initial logical operation XYMSTC contact type NC Shift F5 gt XO LDI XO LoaD Inverse normally closed LDP Initial logical operation
128. t Up to 32 characters are available The device number for the comment Enter device comment X000 COMMENT Cancel Type a comment up to 32 characters You cannot delete a comment selecting Undo POINT You can type device comments when you are writing an instruction 1 Select Tools Options 2 When the Options dialog box is displayed specify Continues during instruction write Comment input P If you specify it you can type in device comments after writing an Show device comment instruction Show comment letters 16 v Enter an instruction and comment as follows 1 Write an instruction Enter symbol x a 1 NM 2 The Enter device comment dialog box is displayed next Enter device comment X001 COMMENT x ok Cancel FX TRN BEG E Operation 3 3 4 3 4 1 Communication with virtual PLC This chapter explains how to write your programs to the virtual PLC and how to confirm the operation Write to PLC Writing to PLC means to transfer programs to the virtual PLC After writing programs to the virtual PLC you can operate the machines in the simulation as well as the lamps on the operation panel Write to PLC 01 411 o Po Virtual PLC 4 0 6 8 n 1 Write a program and convert it 2 Select Online
129. t same Output must be driven time Person and car ee whem puton Button should be clicked on screen is clicked FX TRN BEG E C 2 Sensor Each sensor detects the passage and contact of a part Appearance side view To rear To left 18 amp right To front Operation sensor is assigned to an input X When an object such as a part passes a sensor the corresponding input turns ON OFF ON ON OFF FX TRN BEG E C 3 Part Supplier The mechanisms to supply parts are explained C 3 1 Person The person supplies parts Appearance front view Operation Supply command Part Person As a supply command a lamp output Y is assigned When the supply command lamp turns ON the person supplies a part If two or more parts are supplied at a time they will be crushed Conveyor C 3 2 Robot The robot arm supplies parts Appearance side view Operation Starting point sensor Supply command Part Nd Supplying robot As a supply command an output Y is assigned When the output Y is set ON the robot starts to supply a part Even if the driving output for the robot is set OFF while it is supplying a part the robot continues the operation until it places the part on the conveyor Conveyor Evenif the next supply command is given to the robot while it is supplying a part the
130. tepladder F8 gt RET RET RETurn _ underline Leave a space here D 3 FX TRN BEG E A 3 Application instructions Execution of Category Number symbol Function instruction 00 CJ Conditional jump v 01 CALL Call Subroutine v 02 SRET Subroutine Return Program flow 06 FEND First End 08 FOR Start of a For Next Loop 09 NEXT End a For Next Loop 10 v v 11 ZCP Zone Compare v v 12 MOV Move v v 13 SMOV Shift Move v Transfer 14 CML Compliment v v Compare 15 BMOV Block Move v 16 FMOV Fill Move v v 17 XCH Exchange v v 18 BCD Binary Coded Decimal v v 19 BIN Binary v v 20 ADD Addition v v 21 SUB Subtraction v v 22 MUL Multiplication v v 23 DIV Division v v Four rules 24 INC Increment v v Logical operation 25 DEC Decrement v v 26 WAND Word AND v v 27 WOR Word OR v v 28 WXOR Word Exclusive OR v v 29 NEG Negation v v 30 ROR Rotation Right v v 31 ROL Rotation Left v v 32 RCR ca Right with v v 33 RCL Rotation Left with Carry v v Rotation shift 34 SFTR Bit Shift Right v 35 SFTL Bit Shift Left v 36 WSFR Shift Register Write v 37 WSFL Word Shift Left v 38 SFWR Shift Register Write v 39 SFRD Shift Register Read v D 4 FX TRN BEG E
131. terlock program The example demonstrates an interlock operation whereby YO and Y1 can never be set ON simultaneously X024 Yooo X025 Gs Y001 A As 000 is set ON by X024 Y001 does not turn ON even if X025 turns ON B When X024 turns OFF 000 is turned OFF Subsequently YOO1 turns ON C As 001 is set ON by X025 000 is not turned ON even if X024 turns ON Interlock program in which precedence is given to the last input In the interlock program in example 1 outlines a precedence to the first input However the precedence can similarly be given to the input condition that has most recently come true Example X020 X021 2 precedence is given to either X020 or Y000 E X021 which is input last and the YOOO or Y000 the YOO1 turns ON accordingly Please note that if either x021 X020 Yoo1 input 20 or 21 be kept ON precedence is vol X given to the first input Interlock program If you want to give the last input precedence in this case use the rising falling edge detection instruction explained in the next exercise CE gt B 21 FX TRN BEG E B Let s Study the Basics 2 2 4 Reading the Input Status Category B Let s Study the Basics Exercise B 4 Reading the Input Status NP Learn how to initi
132. the device numbers in the simulation Buzzer The buzzer is built in the door An output Y is assigned to the buzzer and when the buzzer is set ON bing bong sound is intermittently issued Light An output Y is assigned to the light When the output is set ON the light is lit in yellow D 21 FX TRN BEG E C 5 5 Pusher The pusher extends and moves a part Appearance side view Operation Part pushing out command Part Part An output Y is assigned to the push detection command When the output is set ON the Sensor pusher extends When the output is set OFF the pusher pulls Conveyor f the output is kept ON parts may be stuck Set the output ON for 0 5 to 1 second then set it OFF Even if the push command is set OFF while the pusher is extending the operation is not stopped until the pusher Appearance top view when the pusher is pushing out a part Pusher extends completely Conveyor Part detection sensor The part detection sensor turns ON when it detects a in front of the pusher NO contact Part Use the sensor data to push out a part An input X is assigned to the sensor The sensor is built in the pusher and is not displayed The sensor itself is not displayed on the screen Its ON OFF status is indicated on the side of the I O number and on the I O image table in the virtual PLC Example sensor D isplayed in red whil
133. the lift is at lower position X5 Middle lift position ON when the lift is at middle position Input X6 Upper lift position ON when the lift is at upper position X10 Sensor ON when part is detected at the left end X11 Sensor ON when part is detected at the right end X12 Sensor ON when part is detected at the left end X13 Sensor ON when part is detected at the right end X14 Sensor ON when part is detected at the left end X15 Sensor ON when part is detected at the right end B 74 FX TRN BEG E F Advanced Challenge 6 6 6 3 6 6 4 Type Device No Device name Operation One part is supplied when YO is ON Metal cylinder repeats in order S L M L M S Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 Lift up command Lift moves up when Y2 is ON Lift stops when Y2 is OFF Lift down command Lift moves down when is ON Lift stops when is OFF Yo Supply command vn YA Littrotatiornicoitimand Lift rotates to transfer part to conveyor when Y4 is ON Lifts rotates back to original position when Y4 is OFF Y5 Lower conveyor forward Conveyor moves forward when Y5 is ON Middle conveyor forward Conveyor moves forward when Y6 is ON Y7 Upper conveyor forward Conveyor moves forward when Y7 is ON Control Objective Carry parts to three positions using the lift Control Specifications Overall control 1 When PB1 X2
134. to be written 2 Press the F8 key The Enter symbol dialog box is displayed 3 Type STL SO Type the state number Enter symbol Both capital letters and small letters can be used Click the OK button i m Writing the RET instruction 1 Draw a vertical line from the STL symbol and place the cursor where the RET instruction is to be written 50 x177 STL 000 00 PAB tt Write the RET instruction after drawing a vertical line from the STL instruction 2 Press the F8 key The Enter symbol dialog box is displayed 3 Type RET Enter symbol x Both capital letters and small letters can be used 4 Click the OK button FX TRN BEG E Operation 3 3 1 3 Application instruction The following is how to input application instructions The MOV instruction and the LD instruction are explained up as examples MOV instruction 1 Place the cursor where the MOV instruction is to be written Press the F8 key The Enter symbol dialog box is displayed Type MOV K100 DO Enter symbol 100 00 2 Click the OK button MOV 100 D Write the MOVP instruction and the DMOVP instruction as follows MOVP instruction Enter symbol x ST 1 __ x200 06 DMOVP instruction Enter symbol x SJ xifowove eooo oi kf LD instruction 1 Place the cursor where the LD instruction is
135. utput Y3 Red car Lit when is ON Y4 Green car Lit when Y4 is ON Y5 Yellow car Lit when Y5 is ON Y7 Buzzer Sounds when Y7 is ON Lamp on screen is lit FX TRN BEG E D Beginner Challenge 4 4 2 3 4 2 4 Control Objective Have the flashing lights turn ON when a person or car is detected Use the basic instructions and timers previously studied Control Specifications Human side 1 When the sensor In gate detects a person the flashing light Green Y1 comes ON 2 5 seconds after the sensor Out X1 detects the passage of the person the flashing light Green Y1 is extinguished Car side 1 When the sensor In gate X2 detects a car the flashing light Green 4 is lit 2 5 seconds after the sensor Out X3 detects the passage of the car the flashing light Green Y4 is extinguished 3 If the car does not pass through the area between In gate X2 and Out X3 within 10 seconds the flashing light Red Y3 is lit and Buzzer Y7 sounds 4 As soon as the car has passed the sensor Out X3 the flashing light Red Y3 is extinguished and Buzzer Y7 stops B 39 FX TRN BEG E D Beginner Challenge 4 4 3 4 3 1 4 3 2 Time Control for Traffic Light Category D Beginner Challenge Exercise D 3 Time Control for Traffic Light Objective Control a traffic light where the signals are changed at specified time intervals Difficulty Level
136. when Y6 is ON Control Objective Detect the size of each part and distribute it to the specified place Control Specifications 1 When PB1 X20 on the operation panel is pressed Supply command YO for the hopper is turned ON When PB1 X20 is released Supply command YO is turned OFF When Supply command YO is turned ON the robot supplies a part 2 When SW1 X24 on the operation panel is turned ON the conveyors move forward When SW1 X24 is turned OFF the conveyors stop 3 Large medium and small parts on the conveyors are sorted by the input of sensors Upper X0 Middle X1 and Lower X2 and carried to the specified trays Large part Pushed to the lower conveyor and carried to the right tray Medium part Moved to the tray by the robot Small part Pushed to the lower conveyor and carried to the left tray 4 When the sensor Detect part X3 is turned ON the conveyor stops and a large or small part is pushed to the lower conveyor Note When the actuating command for the pusher is set ON it extends completely When the actuating command is set OFF the pusher retracts completely 5 When Part on table X5 is turned ON in the robot Unload command Y4 is set ON When Robot operation finished X6 is turned ON it is ON when a part is placed on the tray Unload command Y4 is set OFF 6 While SW2 X25 on the operation panel is ON a new part is to be automatically supplied at the foll
137. with the dotted line 2 Example to shut down the latched output instruction x020 x024 Y000 Enter another input condition X24 so that bof the route 1 and 2 are shut down and the Y000 latched output status is not operated Attention X024 is an NC contact and normally ON ON When an input signal is given X024 is AU Dore set OFF and the operation is stopped yooo X024 2 Holding an output status using other methods Another instructions provided in the PLC can be used to easily hold the output status Example of SET Set RST Reset instructions X020 x e i SET Yo00 When X020 is set ON the output YOOO turns ON X024 B Even if the X020 is set OFF the output RST YOOOL status of YOOO remains On When X024 is set ON YOOO is Reset turned Off The operation of this program is the same as the operation described above where the latched output instruction is shut down by another input condition FX TRN BEG E B Let s Study the Basics 2 2 3 Control Precedence Program Category B Let s Study the Basics Exercise B 3 Control Precedence Program Objective Learn a latched output program and SET RST program Difficulty Level 1 x Score Class 80 Basic programming 2 3 1 Training Screen Control Precedence Program Project Edit Convert View Online Tools Operation Panel
138. x Displays or hide the guidance window Control Objective Scroll bar Control the paging unit in a restaurant using the basic instructions previously studied S Control Specifications The following operation should be performed in this unit Study the required specifications and then create the program Jump buttons F and confirm the operation Use them when 1 When Button 1 on the table is pressed Lamp 1 YU on the wall is lit indicated on the page Main 1 CT is released Lamp 1 remains lit ___ 2 Are you ready to write the Hint prograni Yes Go to the next step Example of Example of first page hint page in next chapter 2 H int ee Tips for Writing the Program SE When holding the lamp operation remember the latched output CAUTION program Click the ladder prog Switch en 1 Lamp Lami 1L Click the Edit Ladder button on the remote control B Input a program When both Lamp 1 and Lamp 2 on the wall are lit the two conditions are a Serial AND input condition xz E Press the F4 key to convert the program FX TRN BEG E Outline of the Lesson Plan 2 e Guidance Layout An example of the setup for the guidance pages in an exercise is shown below Chapter 2 Hint page Back
139. yor The part size is detected by the input Upper X1 Middle X2 and Lower X3 on the conveyor B 53 FX TRN BEG E E Intermediate Challenge 5 5 3 Part Separation Category E Intermediate Challenge Exercise E 3 Part Separation Objective Give the command to a robot to move a part to a new location Difficulty Level 2 kx Score Class 210 Intermediate programming 5 3 1 Training Screen Project Edit Convert View Online Y2 Unload command O Starting point X1 Part on table X2 Robot operation finished Tools B Operation switches 459 NSUURUBSS 00000000 00000000 90000008 00000000 00000000 00000000 8855258958 ES Ready 5 3 2 Device Assignment 1 800 ow Type Device No Device name Operation X0 Starting point ON when robot is at starting point Input X1 Part on table ON when part is on table X2 Fonnt OReTAlION ON when robot operation finished finished Indicator on screen is lit when YO is ON Operator Yo Supply command RUM supplies parts while indicator is lit Output Y1 Conveyor forward Conveyor moves forward when Y1 is ON Y2 l piosdaommsand Robot moves part to tray when Y2 is ON A process cycle begins

Download Pdf Manuals

image

Related Search

Related Contents

Peg Perego Gaucho Rock'in User's Manual  CFW701 HVAC-R Variable Frequency Drives  Corolla Wagon 2002-  Installation Instructions  caution: trigger action simulation  Samsung RT53MAEW Kullanıcı Klavuzu  Performance with a Peace of Mind  Newest Perfect Slimming system mechanical roller    Sy ST è ME D  

Copyright © All rights reserved.
Failed to retrieve file