Home
14 operate the program, via placing the PLC in the RUN mode . 1
Contents
1. The program should satisfy the following conditions The motor should be overload protected The gate should stop in case of pressing stop pushbutton In case of pressing Up pushbutton the gate should move up to max limit limit switch 2 In case of pressing Down pushbutton the gate should move down to max limit limit switch 1 In case any one passed the photocell interrupts the down state and activates the up state The flusher lamp to be operated in the down state Required mechanical and electrical interlocks to be used X1 Stop gt X2 Up z X3 Down gt YO C1 Up z X4 O L PI C Y1 C2 Down a X5 LS1 Y2 Flisher gt oe a X6 LS2 p X7 Photocell gt 24V DC 220V AC 2 Download and operate your program Part 4 Water Pump system 1 Starting a new project in Wpl In the Ladder diagram window sketch a program represents the following control system for a water pump MAX Level NC COM MIN Level Electric float MIN Level MGS Water tank S Electric pump MAX Level NC MAX Level COM tiv O MIN Level NO OLAI dal elall cs gles MIN Level SS SU A LLULL UAU Water well 24 PLC Lab Manual Eng Mohammed F Alkrunz The system consists of one water pump and controlled via two float switches The system should satisfy the following conditions The pump should run if and only if the well is full and the tank is empt
2. 2000 NT ME XP system Insert WPLSoft CD into the CD ROM disk or download installation program from http www delta com tw product em plc plc_main asp If the installation program is downloaded from the website it needs to be saved in the designated directory after uncompressing and then the installation can be started Click START and then click on RUN a New Office Document Open Office Document Tj Set Program Access and Defauits windows Update Designate the location where WPLSoft is to be installed 14 PLC Lab Manual Eng Mohammed F Alkrunz MS lx Type the name of a program folder document or Internet resource and Windows will open it for you Open D wplhsetup exe Cancel Browse The program show the dialog box explaining the WPLSoft copyright Please click Next to proceed with the installation ii WPLSoft 2 09 Beta InstallShield Wizard Welcome to the InstallShield Wizard for WPLSoft 2 09 Beta The InstallShiela R Wizard will install WWPLSoft 2 09 Beta on your computer To continue click Next WARNING This program is protected by copyright law and international treaties ca Enter the user name and the organization then click Next gt ie WPLSoft 2 09 Beta InstallShield Wizard Customer Information Please enter your information User Name fuser Organization ee Install this application for f An
3. 4000 Steps 46000 Steps Project Title Tank Filling Control __ cancel 4 Specify 4000 steps for the DVPI4ESOOR PLC model and write down a suitable project title then click OK In the Ladder diagram window sketch the program shown below using the tools available in the common tools bar Internal Relay R1 Relay Green Lamp Red Lamp 5 Wpl assumes by default that the target PLC is connected to the PC through COMI You may change this default sitting from Option Comm port To download your program click on Communication gt PLC Select Write PLC from the drop menu and click OK 6 To operate the program the PLC is placed in the RUN mode from Communication PLC Run Part 2 DC motor reversing circuit 1 Starting a new project in Wpl In the Ladder diagram window sketch a program represents the following control circuit 22 PLC Lab Manual Eng Mohammed F Alkrunz BSS L STOP tod RI 2 Download your program click on Communication gt PLC Select Write PLC from the drop menu and click OK 3 Operate the program the PLC is placed in the RUN mode from Communication PLC Run Part 3 Sliding Gate system 1 Starting a new project in Wpl In the Ladder diagram window sketch a program represents the following control system for a sliding gate Flusher imi itech 2 LI Limit C Up Deru Stop Up Dow Photocell Limit switch 1 23 PLC Lab Manual Eng Mohammed F Alkrunz
4. Eng Mohammed F Alkrunz 1 4 Data Registers 16 bit variables indicated by D sequence in Decimal numbering mode ranging from DO to D599 and from D1000 to D1143 D1000 and above are special purpose registers Index Registers Two pointers indicated by E and F They are D1028 and D1029 respectively These memory locations are reached easily using their names However one may reach them by means of the PLC device addresses specified by Delta This method is useful when these memory locations are monitored or preset at run time by an external devise such as a personal computer The device addresses table of Delta PLCs is illustrated in Table 2 1 It is not a traditional memory map where each location is byte width However the location size depends on the variable type Table 2 1 Device address table of Delta PLCs OR FF 27 235 138 44 GEOO GEFF 349 344 346 247 249 24 2452 354 0 599 JAk 145 pikk 14FF Ladder logic and mnemonic programming The instructions from a ladder diagram mnemonic or SFC are translated to machine code that can be stored in the PLC memory Each horizontal rung on the ladder in a ladder program represents a line in the program and the entire ladder gives complete program in ladder language There are three basic symbols used in ladder logic The first one is NO NC contacts NO contact is an instruction that tells the processor to look at a specific bit in its RAM memory If the bi
5. PLC Lab Manual Eng Mohammed F Alkrunz Experiment 3 Programming the PLC Via Ladder logic OBJECTIVES After successfully completing this laboratory you should be able to to convert a simple electrical ladder diagram to a PLC program Know the difference between physical components and program components sketch the ladder programs using the tools available in WPLSoft Download the program to the PLC operate the program via placing the PLC in the RUN mode 1 Basic Information 1 1 Introduction PLCs are special computers designed to operate in the industrial environment with wide ranges of ambient temperature and humidity They have a number of different programming languages which include Ladder logic Mnemonic instructions and Sequential Function Charts Ladder logic is the main programming method used for PLCs It is a graphical language which has been developed to mimic relay logic The decision to use the relay logic diagrams was a strategic one By selecting ladder logic as the main programming method the amount of retraining needed for engineers and tradespeople was greatly reduced a software tool called Wpl runs on a personal computer allows users to sketch the ladder diagram and then transfers its compiled code serially to the PLC Such a software tool is more convenient and it supports mnemonic and SFC programming languages as well 1 2 WPLSoft Installation and setup Start up your computer to Windows 95 98
6. ed as follows Rung 1 If we push on button X1 its associated internal bit labeled X1 is logic 1 true Thus when the processor executes this rung via the input instruction it sees the rung s input condition as true Therefore it puts a 1 in the output bit Y1 This ladder program line is converted to mnemonic instruction as LD X1 OUT Y1 Rung 2 The processor works through the inputs from left to right and the output instruction sees a true condition only when it sees a true path via input instructions to the left rail If you push both push buttons connected to terminals X1 and X2 then the processor sees their associated bits logic 1 and hence puts a 1 in the output bit Y2 If none or one push button is pushed the input conditions to the left of the output instruction do not produce a true path This type of program rung is called an AND because both push buttons X1 AND X2 must be pushed to activate the output This rung is converted to mnemonic instruction as LD X1 AND X2 OUT Y2 Rung 3 This type of instruction is an OR gate because there are two pathes that will turn the output either push button X1 OR X2 is pushed It is implemented in mnemonics as LD X1 OR X2 OUT Y3 19 PLC Lab Manual Eng Mohammed F Alkrunz 1 5 Functions on PLCs Counters When the operation result of instructions preceding the CNT instruction has changed from OFF to ON 1 is added to the count value When the counter has counted o
7. find plenty of functions that facilitate data movement arithmetic comparison and other operations similar to instructions provided for traditional microprocessors For example the instruction MOV K14 DO moves the decimal value 14 to data register DO Another example the instruction CMP D7 K23 M0 compares the value of D7 with the decimal number 23 If larger MO will be set else if equal M1 will be set otherwise if smaller then M2 will be set 20 PLC Lab Manual Eng Mohammed F Alkrunz 2 Equipments DVPI14ESOOR 1xl0A mcb 230V coil 50Hz 10A Relay Green and red indicator lamp NO and NC pushbuttons ON OFF switch Flexible wires Single phase power source Control board 3 Procedure Part 1 DC motor set reset circuit 1 Assemble the components of the control circuit on the control board and make the required wiring and connections as shown in the following figure 4 ad Sy el Sd mcb 1x10A co hy Oy To PD 0V 50Hz Ik mZ 24VDC 2 220V 50Hz COIL 220V 50Hz 24GND GREEN 2 Make the required wiring and connections for the power circuit as shown in the 24V R2 R1 Left D1 f GND following figure 3 Starting a new project in Wpl you will be prompt to specify the memory capacity of the target PLC model and a title for the project as shown below 21 PLC Lab Manual Eng Mohammed F Alkrunz Steps Setting a Memory Capacity 2000 Steps
8. t is 1 the instruction is true and if it is 0 the instruction is false The determining factor in choosing which bits in its memory to look at is the address It could be some auxiliary bit M a timer contact T a counter contact C a state bit S or it might be connected to an external input X xO Normally Open Contact NC contact plays the same role as the previous one except that if the bit addressed is 1 the instruction is false and if it is O the instruction is true XO Normally Closed Contact The second symbol is output for outputting to the output module If the instructions to the left on its rung have a true path to the leftmost vertical rail then the PLC will set the bit to which it is referenced via the address to 1 If no complete true path is available it will set the bit to 0 18 PLC Lab Manual Eng Mohammed F Alkrunz YO Device Output The third symbol is special instruction boxes Along with the basic logic instructions addressed in the previous part PLCs are microprocessor based and they facilitate a wide area of useful built in functions like timers counters comparators CNT CO K10 Counter Example Let us assume that we have two inputs buttons and three output devices connected to a PLC terminals X1 X2 Y1 Y2 and Y3 respectively Assume also that the PLC is loaded with the program shown in Figure 2 5 xi KZ l The program has 3 rungs which are explain
9. um special modules can be extended up to 8 units Delta PLC memory map In the previous section we introduced two types of memory variables in Delta PLCs the input relays and the output relays In Delta PLCs there are total of 8 memory location types as described below Input Relays Single bit variables and can be extended to 128 points They are indicated with X sequence in Octal numbering mode Output Relays Single bit variables and can be extended to 128 points They are indicated with Y sequence in Octal numbering mode Internal Auxiliary Relays Single bit variables They are indicated with M sequence in Decimal numbering mode ranging from MO to M1279 M1000 and above are used for system flags and special purpose auxiliary relays Steps Single bit variables indicated by S sequence in Decimal numbering mode ranging from SO to 127 Timers Indicated by T sequence in Decimal numbering mode ranging from TO to T127 Each timer has a 16 bit holding register for its preset value as well as a single bit variable representing its contact Counters Indicated by C sequence in Decimal numbering system Similar to Timers each counter has a holding register and a single bit contact There are 128 16 bit counters ranging from CO to C127 and there are 13 32 bit counters indicated as C235 to C238 C241 C242 C244 C246 C247 C249 C251 C252 and C254 These later counters are referred as high speed counters 17 PLC Lab Manual
10. ut count value set value the state of the counter contacts are toggled In the following example the output YO is activated after entering 5 clock pulses at input When the operation result of the instructions preceding the CNT instruction remain on counting is not performed After the counter has counted out the count value and the status of the contact will not change until the RST instruction is executed A negative number cannot be used as a set value When the set value is 0 the same processing as for is performed The instruction CNT uses 16 bit registers to accumulate counted values in the valid counters domain CO to C127 On the other hand the instruction DCNT uses 32 bit registers for high speed counters Timers When the operation result of instructions preceding the TMR instruction are on the coil of timer turns on and counts up to the set value When the timer times out counted value gt set value the timer contacts are toggled In the following example the output YO is activated 3 seconds after activating the input XO TMR TO K30 Delta PLCs support 128 timers TO to T127 The timer will be reset when the operation result of instructions preceding the TMR instruction change from ON to OFF Moreover The RST instruction may be used to reset the timer values Timers use 16 bit registers and a negative number 32768 to 1 cannot be set as a set value Other useful functions In the User manual you will
11. y The pumps should be protected against o Phase failure o Changing the phase sequence o Under voltage The pump should run after a time delay of 5 seconds The system should be controlled by two float switches see figure 1 Y2 GREEN LAMP 220V AC 2 Download and operate your program 25
12. yone who uses this computer all users Only for me user InstallShield lt Back Cancel Click Next to comtinue or click Change to install to a different folder 15 PLC Lab Manual jis PLSoft 2 09 Beta InstallShield Wizard Destination Folder Click Next to install to this folder or click Change to install to a different folder Click Install to continue WPLSoft 2 09 Beta InstallShield Wizard Ready to Install the Program The wizard is ready to begin installation jes WPLSoft 2 09 Beta InstallShield Wizard Installing WPLSoft 2 09 Beta The program features you selected are being installed Click Finish to complete the installation Eng Mohammed F Alkrunz 16 PLC Lab Manual Eng Mohammed F Alkrunz 1 3 is WPLSoft 2 09 Beta InstallShield Wizard x InstallShield Wizard Completed The InstallShield Wizard has successfully installed Y PLSoft 2 09 Beta Click Finish to exit the wizard DELTA s PLC DVP Series has main processing units and extension units The main processing units offer 14 60 points and the extension units offer 8 32 points The maximum input output can be extended up to 128 points It also can be used on applications according to INPUT OUTPUT points power sources output modules digital analog exchanges A D amp D A converter In addition DVP SS Series has the special modules AD DA PT TC XA used for extending its functions and the maxim
Download Pdf Manuals
Related Search
Related Contents
MODO DE EMPLEO Os 1 User Manual - users.muohio.edu AudioQuest HDMI-A User's Manual DML-4126W/WD/WX DML-4132W/WD/WX USER`S MANUAL - Power Inspired MultiSync LCD1760NX User Manual Starlite Garden PT-TB Instructions / Assembly Pro`sKit PT-0721A Cordless Screwdriver User`s Manual Sony ICF-C212 Marketing Specifications Copyright © All rights reserved.
Failed to retrieve file