Home

View / the Complete Manual

image

Contents

1. co FAULT K1 displayed here ED SW3436 JAM END DLBL Data Label and ACON El COW Ol H Ki instructions build the message BlIOOLIOIOIO B OON Bl OOOOO B Z TEE 2 Characters per ACON when using With the Handheld BIOOIOOIO B CON Tas El KOIOIOIO O I8 E OOOO B ACON FL OlOMIOlO 1 ACON AAM e Physical Characteristics and Specifications Handheld Programmer Layout Connection to the CPU The Handheld programmer is designed for versatility It provides features commonly not found on other handheld programmers The figure below shows the basic physical characteristics of the Handheld programmer Phone Jack Style connector Lope ee RJ12 located on top of HPP ud E Me RUN TEST PGM OFFLINE CT 4 a Fs A a t Sooo PLCM RUN TEST PGM OFFLINE Direct p upp 7654321076543210 DL205 HANDHELD PROGRAMMER with RLi 5by KOyO 6 57 167mm 2 line x 16 character backlit LCD display Q Ol AUX MODE CPU STAT SAVE SP GX eY SG STR STRN OUT CNT Keypad retracts to reveal EEPROM Zero Force Insertion Socket U Ww x ISG AND ANDN SET MLS P Q R S T cv OR
2. Press these keystrokes D2 HPP Display Results Begin Program To enter Input contact entry heres S TART OF PROGRAM 1 5 5 e STR x0 STR 0 Enter Ouput coil 2 x wa STR X0 NOP To type END instruction 3 se us Pass ENT STR x0 OUT Y1 OUT Y1 Equivalent Ladder Logic NOP Xo Y1 ow OUT Y1 END END END NOP In the example above you may press the PREV NEXT keys after the right arrow key to scroll the different element types available While displaying the desired element type enter the element address then press ENT enter Now that you have completed your first mnemonic instruction network please continue through each of the following program examples Append each of the remaining examples to the first network To continue adding the examples begin each new networks at the last instruction programmed END command NOTE Always ensure the last instruction of your program is the END command If the END command is missing the Handheld programmer will not allow you to change modes or run the program Error 4 No Program may be displayed Entering Programs EJ Entering Normally To enter a network which contains a normally closed contact begin with the STRN Closed Elements Entering Series Elements Store Not instruction The following example using the STRN instruction Press these keystrokes demonstrates how to enter a ne
3. X10 Press these Keystrokes D2 HPP Display Results 1 Clear complete display screen CLR CLR CLR 2 Use AUX 22 to change memory references AUX 2 RLL OPERA e i AUX ENT 2 2 AUX 22 CHNGE REF 3 Enter beginning address for the change or press ENT to accept the default ER AUX 22 CHNGE REF 1st 00000 4 Enter ending address for the change or press ENT to accept the default s le lur AUX 22 CHNGE REF Ee END 16 5B Enter old memory reference X ENT B AUX 22 CHNGE REF 6 Enter new memory reference OLD X5 Pa Mea J ENT 7 _Press ENT to confirm change AUX 22 CHNGE REF ENT ENT TO X10 Use CLR key to exit AUX 22 function AUX 22 CHNGE REF X0005 X0010 REFERENCE CHANGE OLD X Equivalent Ladder Logic Mnemonic Example Program X0 x2 X5 YO 00000 STR X0 eD S x1 00006 AND X10 Replace m with X10 00010 STR X10 X5 uli Changing Programs Editing Programs During Run Mode The DL205 CPU s allow you to edit programs during Run mode To modify a program in RUN mode use MODE key to select RUN TIME EDITS The operations you are able to perform in Program mode also apply inthe Run Time mode For example you can use the same techniques to search for a specific instruction search for a specific address etc However you cannot use Search and Replace during Run Mode The Run Time Edits are not bumpless Instead the CPU maintains the outputs in their last state while itaccepts the
4. 5 UseON OFF keys to command the override on or off then press ENT to confirm OFF ENT AUX 59 BIT OVRID Y0010 0020 OFF SHFT e Press the CLR key to exit Bit Override WARNING Once again depending on your application forcing I O points may cause unpredictable machine operation that can result in a risk of personal injury or enupmens damage Please take notice how PLC will respond prior to using the force unction e e System Monitoring and Troubleshooting Ed Monitoring V Memory Locations iu Q l You may use the Handheld programmer to monitor and change V memory locations 9 This is an especially useful feature since almost all DL105 and DL205 system data e is mapped into V memory The following steps show you how to monitor V memory 2 locations 8 Press these Keystrokes D2 HPP Display Results 1 Select the location to monitor V 2001 V 2000 sur Map 2 o o o 97 4552 4F50 2 Usethe PREV and NEXT keys to scroll through adjacent memory locations V 2001 V 2000 ee 4552 4F50 Changing V Memory Values Press these Keystrokes D2 HPP Display Results 1 Select the location to monitor V 2001 V 2000 SEFT p E o o FE S 45 52 4F50 2 UseK constant to load a new value in me
5. The last example display demonstrates status of Timers T20 and T17 The Timer and Counter status displays both maintain typical formats Timer Counter status bits are indicated with the box symbols If the box shows solid I this indicates the timer counter has attained the preset value Getting Started Be Bit Status STR X1 Bit Status for a Range of bits C 10 C 0 E E Word Status HEX V 2011 V 2010 0041 0042 Word Status Octal V 2011 V 2010 0001010 0001020 Word Status ASCII V 2011 V 2010 AA BA Word Status Decimal V 2011 V 2010 00065D 00066D Timer Counter Status B r 20 T 17 0120 0000 AUX Displays The Handheld programmer allows Example Auxiliary Display access to various Auxiliary functions by AUX 6 CFG HPP pressing the AUX key All Auxiliary AUX 65 RUN DIAG function have a unique display format The example display shown to the right is the AUX 65 Diagnostic display TEST RUN Display Some CPUS such as the DL240 support the Test Run mode With the Test Run DL205 Only mode various groups of information are available The different groups of information are labeled and described below More details concerning Test Run mode are provided in Chapter 6 i ec it ali qa 3 rae
6. 765432107 10 DL205 HANDHELJ AMMER with RLLP 5 py Koyo Bit Positions ONO 7 e 6 4 System Monitoring and Troubleshooting Forcing Discrete I O Points The DL105 and DL205 supports two methods which may be used to force I O points Both systems will allow you to use the Status Monitor mode and change individual bit conditions by pressing the ON and OFF keys With certain DL205 CPU s you can also force I O using AUX 59 the Bit Override function The following paragraphs describe the two forcing methods available Please refer to the DL105 and DL205 User Manuals for detailed description of how the CPU processes each type of forcing request Regular Forcing This type of forcing can temporarily change the status of a discrete bit For example you may want to force an input on even though it is really off This allows you to change point status which is in the image register for one scan This value will be valid until the image register location is written to during the next scan This is primarily useful during testing situations when you just need to force a bit on to trigger another event An example of regular forcing is on the next page Bit Override DL240 Only Bit override can be enabled ona point by point basis by using AUX 59 You can use Bit Override with X Y C T CT and S data types Bit override basically disables any changes to th
7. DL105 DL205 Memory Map Timer Status Bit Map This table provides a listing of the individual timer contacts associated with each V memory address bit MSB DL130 DL230 DL240 Timer T Contacts LSB dy WW Ws 14 13 12 11 10 7 6 5 4 3 2 1 0 Address 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V41100 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V41101 X fed gt O Q oO i gt gt tes e E 9 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V41102 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V41103 MSB Additional DL240 Timer T Contacts LSB Address 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 117 116 115 114 118 112 111 110 107 106 105 104 103 102 101 100 V41104 137 136 135 134 183 132 131 130 127 126 125 124 123 122 121 120 V41105 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V41106 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V41107 Counter Status Bit Map This table provides a listing of the individual counter contacts as
8. eeueeeeeeen I Ih hh hm DL240 Memory Map Overview seeeeeeee RII HH hh hm nnn X Input BIUM D x ose aana Ro Sek DER aaa aa Dje in Ux BOE sica P Pale eters anneal S sop i ae ROM dca RUM eri UR pgela ig ro E PE ERE Control Relay Bit Map es 2ccidecs ism xp nescence aad ERRARE AREE RF T RRA TAE Stage Control Status Bit Map uuuu euueeeeeeeeeeeeeee nnn nn Timer Status Bit Map mee doctri a e ce eredi acie edite a aa iai tee aa id ere Counter Status Bit Map eve eer toes oed sated RE ede oi thee wo EN eee MEME ERES DL130 DL230 System V memory eeseeeeeeeeee nnn nnn nnne DL240 System V memory eueeerueerre rrr mnn rh rnnt Appendix B Special Relays DL130 DL230 CPU Special Relays 2 22 2 remi RI Riera xr xu meet DE240 CPU Special Relays 1 nce ocer bee feet Doce Sc reu iio ede Dose de Getting Started In This Chapter Introduction How can use the Handheld Physical Characteristics and Specifications Keypad Layout Mode Indicators Display Panel Introduction D2 HPP Handheld Programmer Purpose of this manual Who should read this manual Supplemental Manuals Technical Support The D2 HPP Handheld Portable Programmer is a general purpose tool for use with the DL105 or DL205 PLC products It is well suited for performing basic PLC maintenance and troubleshooting of Jem Im machine automation equipme
9. a R Reference duplicate reference check 3 16 S Saving program to EEPROM 5 4 Search Replace memory address 4 9 Searching end of program 3 3 instruction addresses 3 3 instruction elements 3 3 specific address 4 4 start of program 3 3 4 4 Special Relays B 2 B 8 Special Relays SPxxx DL130 DL230 B 2 DL240 B 4 Specifications cable 1 7 CPU 1 7 display screen 1 7 enviromental 1 7 physical 1 7 Stage control status bit map A 7 Status bit force 6 6 displays information 1 11 Status Monitor displays 6 2 Syntax program syntax check 3 15 System Memory DL130 system V memory A 9 DL230 system V memory A 9 DL240 system V memory A 11 T Test output conditions 6 14 test PGM mode 6 12 test run display 6 13 test Run mode 6 12 Test Operation how to use 6 15 indicators 6 15 INGEX 4 Timer accumulating timers 3 10 timer status bit map A 8 Trap function 6 16 Trapping address 6 16 word 6 16 Troubleshooting using the monitor options 6 2 V V Memory monitoring 6 9 Viewing messages 6 22 W Watchdog monitor 6 11
10. 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40506 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40507 Address DL105 DL205 Memory Map Control Relay Bit Map ES t fed gt O Q oO gt gt tes e E 9 This table provides a listing of the individual control relays associated with each V memory address bit MSB DL130 DL230 DL240 Control Relays C LSB IIS dP ES EESTI eased es 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40600 037 036 035 034 033 O32 031 030 027 026 025 024 023 022 021 020 V40601 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40602 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V40603 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 V40604 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V40605 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40606 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40607 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V40610 237 236 235 234 233 232
11. 231 230 227 226 225 224 223 222 221 220 V40611 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 V40612 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V40613 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 V40614 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40615 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40616 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V40617 A DL105 DL205 Memory Map Ant 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V41000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V41001 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V41002 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V41003 117 116 115 114 118 112 111 110 107 106 105 104 103 102 101 100 V41004 137 136 135 134 183 132 131 130 127 126 125 124 123 122 121 120 V41005 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V41006 177 176 175 174 173 172 171 170 167
12. 455 454 453 452 451 450 447 446 445 444 443 442 441 440 V41022 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 V41023 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 V41024 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 V41025 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 V41026 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 V41027 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 V41030 637 636 635 634 633 632 631 630 627 626 625 624 623 622 621 620 V41031 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 V41032 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 V41033 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 V41034 737 736 735 734 783 732 731 730 727 726 725 724 728 722 721 720 V41035 757 756 755 754 753 752 751 750 747 746 745 744 748 742 741 740 V41036 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 V41037 Address
13. Input to Timer Example TEST RUN Mode m 0043 MR yx Power flow to rail Current Value TO Contact S is off B is on Q 4 x e en fey D 2 9 9 oy mr co e 0 14 System Monitoring and Troubleshooting Holding Output States The ability to hold output states allows you to maintain key system I O points In some cases you may need to modify the program but you don t want certain operations to stop In normal Run Mode the outputs are turned off when you return to Program Mode In TEST RUN mode individual outputs can be set to hold the last output state on the transition to TEST PGM mode This is done with AUX 58 on the Handheld programmer The following diagram shows the differences between RUN and TEST RUN modes RUN Mode to PGM Mode Xo x2 Yo C X1 X3 X4 Outputs are l OFF Status on final scan X10 PA Xo x2 YO amp C2 AN xi X3 X4 c 1 Eno I7 X10 ay TEST RUN to TEST PGM x xo x2 Yo aD X x1 X3 Z4 Hold YO ON X10 n qu Let Y1 turn OFF 3 Before you decide that Test Mode is the perfect choice remember that the DL205 CPUs also allow you to edit the program during Run Mode The primary difference between the Test Modes and the Run Time Edit feature is that you do not have to configure each individual I O point to hold the output status
14. 072 071 070 067 066 065 064 063 062 061 060 V40403 117 116 115 114 118 112 111 110 107 106 105 104 103 102 101 100 V40404 137 136 135 134 183 132 131 130 127 126 125 124 123 122 121 120 V40405 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40406 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40407 Address z 6 E e lt ky cO Q lt D E4 6 Y Output Bit Map This table provides a listing of the individual output points associated with each V memory address bit for both the DL130 DL230 and DL240 CPUs MSB DL130 DL230 DL240 Output Y Points LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40500 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V40501 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40502 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V40503 117 116 115 114 118 112 111 110 107 106 105 104 103 102 101 100 V40504 137 136 135 134 183 132 131 130 127 126 125 124 123 122 121 120 V40505 157 156
15. C H zd odd DN ACON AKG 8 Enter the ACON instruction and the next two letters NOP A C o N SHET 0 2 INST TMR 5 se 5s Ie ACON AUA NOP 9 Enter the ACON instruction and the next two letters A C o N SEET 2 inste TMR ACON ARD gt sHFT oe uu NOP e System Monitoring and Troubleshooting a Checking the Error Message Tables Two Types of Tables The DL240 CPU will automatically log any system error codes and custom messages created with the FAULT instructions The CPU logs the error code the date and the time the error occurred There are two separate tables that store this information e Error Code Table the system logs up to 32 errors in the table When an error occurs the errors already on the table are pushed down and the most recent error is loaded into the top slot If the table is full when an error occurs the oldest error is pushed out erased from the table e Message Table the system logs up to 16 messages in this table When a message is triggered the messages already stored in the table are pushed down and the most recent message is loaded into the top slot If the table is full when an error occurs the oldest message is pushed out erased of the table The following diagram shows an example of an error table for messages Date Time Message 1996 01 26 08 41 51 11 Conveyor 2 stopped 1996 02 30 17 01 11 56 Conveyor 1 stopped 1996 02
16. WARNING Make sure you remember the password before you lock the CPU Once the CPU is locked you cannot view change or erase the password You also cannot erase the EEPROM and start over The following example uses the AUX 83 function to lock a CPU with password protection Press these Keystrokes D2 HPP Display Results 1 Call AUX 83 to Lock the CPU password AUX 8 PASSWORD he os je AUX 83 LOCK CP U 2 To select Lock CPU display ENT CPU LOCK 3 Confirm Lock operation LOCK ENT CPU LOCKED Press ENT to accept the password or use the arrow keys to change it Press CLR to exit CPU Lock operation The message CPU UNLOCKED appears if you attempt to lock a CPU that does not have a password Unlocking the CPU Use the AUX 82 function to unlock CPU s which have been enabled with the Lock Password protection The Unlock function works similar to the Lock function but will require Protection you to enter the password which has been programmed The following example demonstrates how to unlock a password protected CPU Press these Keystrokes D2 HPP Display Results 1 Use AUX 83 to Unlock the CPU password AUX 8 PASSWORD a 2 J u AUX 82 UNLOCK CP 2 To select Unlock CPU display ENT CPU LOCKED 3 Enter password to authorize Unlock PASSWD B C D E F G 1 2 3 4
17. When you use Run Time Edits the CPU automatically maintains all outputs in their current states while the program is being updated Run Time Edits should only be performed by trained personnel e System Monitoring and Troubleshooting e 19 The following is an example of using AUX 58 to configure the output state for Y15 to 2 Select AREA to test AUX 58 TEST OPER Y25 when the CPU transitions from TEST RUN to TEST PGM Using the Test Press these Keystrokes D2 HPP Display Results 3 Operation 1 Select AUX 58 Test Operation AUX 5 8 TEST OPER 5 Ea tg J AX ENT PT AREA H 9 Q Pj co lad lst Y 3 Enter the first address Pa is LEN AUX 58 TEST OPER 4 Enter the ending address lst Y 15 Sae e ENT AUX 58 TEST OPER 5 Use ON OFF keys to command the overrideonoroff END Y 25 Then press ENT to confirm ENT AUX 58 TEST OPER Y0015 0025 ON e Press the CLR key to leave AUX 58 Test Operation The Test Operation indicators may be displayed on the Handheld programmer Indicators during Status Monitor mode Below are the keystrokes to call the status display for Y10 Y20 1 Keystrokes to display the status of Y10 Y20 stat ENT next B ENT Y 20 Y 10
18. a E E E E E E E E E uu 7 6 4 32 07 675 4 3 2 100 Status Test Operations have been set for Y15 Y25 Override ll E Test NOTE Take care not to confuse the Test Operation marker with the marker used for Bit Override The Test marker is a small box indicated on the right side below the Status point e e 6 16 System Monitoring and Troubleshooting Point or Word of Data DL240 Only Trapping a Discrete With the DL240 CPU you may use the TEST mode to trap the status of a point or word during normal program execution To use this feature you must select the memory location and address in the program where you wish to check the contents of the memory location For example you may read X5 three times during a program scan at address 0000 0090 and 0200 and you want to know what the status of X5 is at address 0090 0000 Trap the status of X5 at address C 0090 0090 0200 X5 X2 Y20 f E x1 X3 X4 1 4 X10 Y25 C X5 Y30 oe X5 x23 Y22 C x9 This example only works in the TEST RUN Mode DL240 Only Press these Keystrokes 1 _Use the STAT key to trap the status STAT NEXT NEXT ENT 2 Enterthe program address to trap on J A 9 0 ENT 3 Enter the memory location to trap F 5 ENT e PREV NEXT keys can be used to scroll through the valid data
19. 6 10 Changing Timer Counter Current Values seeeeeeeeee n n n nn 6 10 Monitoring the CPU Scan Time scissa ko hme 3 REGE RO clears E SER RODRRGUER E XR 6 11 To Change Watchdog Timer sonia e teure Det dq evt eeu loft di sl 6 11 Table of Contents Test DIS LAY Sno Sits dae Se alas Real ahs Dau Pataca qus adita d dave DEA ee AU ers TEST RUN Displays 2d haw het alt tlle okie bo RN RUP S RAS debeo a EEE cta Holding Output States soos eS E tee ute Fe Een wee prelo te i ee erret Using the Test Operation x eecrep REESE EET CURPDETerbuerE ener ta e eer cedes Trapping a Discrete Point or Word of Data DL240 Only ssiuuseesssserseees VO Diagnostics ees oreet PapRR Ema mE xU DR RM NEN RARO ome eR Diagnostics DL205 ONLY ences xw eR REIS CREME IM e Ei Ee IEEE Custom Messages ors roe Raih a3 ERG LIB NIU PRIGIURCUEMGE RESET RAS INI NR Eas Message Instructioris i ever RR REI eR A REPRE TER E i ee E S ERE ES Message Program Example 2 ite REED Ones det ad Pebioetee thee ERE LEE E e LE Checking the Error Message Tables s sees I n nn Two Types or Tables s iore Lt RES eG ERARLS DOO bere th Ce EDU EE Viewing the Error Table re Fee CI ESTEE EE RETE ee Pe E E Pe ei Viewing the Message Table 5 costes o xb RR XE x e REA RR dae EE jj gee ll me CT E Appendix A DL105 DL205 Memory Map DL130 Memory Map Overview eeseeeeeeene I Ihn hh hh mnn DL230 Memory Map Overview
20. 7 encountered a communication error Equal Relays for Multi step Presets with Up Down Counter 1 for use with a Counter Interface Module oa Special Relays SP540 Current target value on when the counter current value equals the value in V3640 SP541 Current target value on when the counter current value equals the value in V3642 SP542 Current target value on when the counter current value equals the value in V3644 SP543 Current target value on when the counter current value equals the value in V3646 SP544 Current target value on when the counter current value equals the value in V3650 SP545 Current target value on when the counter current value equals the value in V3652 SP546 Current target value on when the counter current value equals the value in V3654 SP547 Current target value on when the counter current value equals the value in V3656 SP550 Current target value on when the counter current value equals the value in V3660 SP551 Current target value on when the counter current value equals the value in V3662 SP552 Current target value on when the counter current value equals the value in V3664 SP553 Current target value on when the counter current value equals the value in V3666 SP554 Current target value on when the counter current value equals the value in
21. Battery installation is covered in appropriate DL105 and DL205 User Manuals Factory defaults for Retentive memory ranges are suitable for most applications To change Retentive memory range use AUX 57 to select and set the desired range The table below lists the Retentive memory factory defaults for the DL105 and DL205 CPU s DL130 Memory Area Default Range Available Range Control Relays C300 C377 CO C377 V Memory V2000 V2377 VO V7777 Timers None by default TO T77 Counters CTO CT77 CTO CT77 Stages None by default SO S377 DL230 Memory Area Default Range BENE Control Relays C300 C377 CO C377 V Memory V2000 V2377 VO V7777 Timers None by default TO T77 Counters CTO CT77 CTO CT77 Stages None by default SO S377 DL240 Memory Area Default Range Available Range Control Relays C300 C377 CO C377 V Memory V2000 V7777 VO V7777 Timers None by default TO T177 Counters CTO CT177 CTO CT177 Stages None by default SO S777 Changing Retentive Memory Ranges System Setup EU The AUX 57 function may be used to change the Retentive memory ranges When changing Retentive Memory ranges keep in mind all memory ranges are defined with Octal addresses 8 bit boundaries except for V memory For example the Retentive memory factory default for CRs control relays are C300 thru C377 and c
22. Begin the Bit Status Monitor mode MONITOR SELECT SET 16 P STATUS 2 To select 16 Point status 76543210765432 10 ENT 16P STATUS BIT REF X Else you may select different Status type 3g 9 Data type using the PREV and NEXT keys NEXT 16P STATUS While displaying 16P Status beginning at YO Bele REE YO 4 ENT Y 10 Y 0 5 Position cursor and Force Y2 OFF H n c srior Y 10 Y _ 0 e Press CLR to exit Bit Forcing function E Y 10 xy _ 0 With Y2 forced and the CPU in the Run mode the executed instructions and result of logic will overwrite the Force command In other words if the program logic solves Y2 true then the output coil Y2 will be turned ON at the end of the scan Regular Bit Force Press these Keystrokes D2 HPP Display Results with Direct Access 4 To perform the direct Bit Force ON BIT FORCE SHEEP rai ie c pee ESETI RS Y10 ry 2 To perform the direct Bit Force OFF ST ws i o LS Joe BIT FORCE Y10 Press CLR to exit Direct F
23. CO a 1 3 How can I use the Handheld seeeeeeeeeeeee e nnn nn nnn 1 4 As a Programming TOO s ent oete es Ere senie tse E M DER bats Cio ERR GG E EE COE 1 4 To Monitor Machine Operations 00 ccc eee nnn 1 4 Asa Debugging TOOl 4 5 voe distr gt abled er rate PRESS ege epe Bas Hee 1 5 As a Low Cost Message Log ner tC RR OE ER xam Eee be rep EE rela d 1 5 Physical Characteristics and Specifications cece eee eee eee eens 1 6 Handheld Programmer Layout occur semen OC BE HER EN ORK Cea eRe Nee EHE Rs 1 6 Connmectormio the CPI ue a osea arkate tuta mo eo ed aao uc dum a oie ena emn tu acre ge wren aS 1 6 Specifications Cscppe oh PS REC IXDU DATE CDU Leet tai ese eS ARV PUR DICES tp BOR 1 7 Keypad Layout ont casei ame whe Gate Ra a a Date maken ciate ORE mie EC ERE 1 8 Four Groups Of Keys 1 te pLC CRT S RARDL ES Eee aiee SU ES eed Shah EOS 1 8 Operation Keys ctr eaters nh nn pere IX EE De uy ve E Tree Leer ep SAVE it 1 9 Instruction Data Type KeyS x cand dc e dm bet doce t nts dee an eres pe il e Pd ed 1 9 NUMEGHG BUS cu ces TE acce eee EE pclae ahs Ce BC Aaa Ea Fio Sidus eos 1 9 Editing Monitoring Keys iode besser e ee e bauecied o peccet da spat pes ieteu eaten 1 9 M de INGICALONS eR iE 1 10 Display Panel 41125332 ck chain Oa wate QE KGRCRTE nk wae ae CREE lee ane ae eee ee 1 10 Viewing a Program jvc ess see eee nie E CHOC WE Pelee ee ee See ORS RO Seabees ESI x 1 10 etatis DISD
24. E ENT S TR X0 4 Tojoin branch STR X1 E ENT ANDST STR X1 5 Enter Ouput coil OR X2 GX P ENT OUT 3 6 _END instruction OR X 2 SHFT E Na P 3 ENT ANDSTR ANDSTR Equivalent Ladder Logic OUT Y3 XO xi va OUT OUT Y3 x2 END END NOP Combination Networks Ns Entering Programs For combination networks you may combine both the series elements and parallel branches Combination logic allows you to solve almost any application problem The following example is a ladder network which is marked with MNEMONIC instructions and lists the order which the instructions may be entered Xo x2 ORSTR X5 YO STR 4 end Cour utpat OR ie x3 AND ANDSTR X6 NOT e END Example Mnemonic Listing END ADDRESS INSTRUCTION DESCRIPTION 00000 00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 STR XO OR X1 STR X2 STR X3 ANDN X4 ORSTR AND X5 ORN X6 ANDSTR OUT YO END Starts branch 1 with XO Joins X1 in parallel with XO Starts branch 2 with X2 Starts branch 3 with X3 Joins X4 NOT with X3 Joins branches 2 and 3 Starts branch 4 with X5 Joins X6 NOT in parallel with X5 Joins branches 4 and 5 with 1 3 Stores the output and finishes the network Ends the program There are limits on how many boolean logic instructions can be combined in one network The DirectLOGIC CPU s use an 8 level
25. END address to prepare copy VERIFY PGM or press enter to select entire range DL130 DL230 default 02047 END 02047 ENT VERIFY PGM SYS DIS T 00000 Press CLR key to exit from Copy function This Auxiliary function may take a few minutes depending on type and amount of data copied V BR LEY PIG M 5 8 00000 02047 lt gt VERIFY PGM EEPROM 08K 01 VERIFICATION OK E Fes 9 e Js am Naming and Storing Programs 9 Verification Errors While runningthe Verification function the Handheld programmer may display one of the following verification errors The first display example occurs if the EEPROM System is different than the CPU If the Handheld programmer and the CPU programs are different the display message will show the first address number which differs Example D2 HPP Display e This display appears if the System VERIFY PGM SsyYs programs are different between the HPP and CPU SYS VERIFY ER Example D2 HPP Display e Ifa Verification error occurs the 00021VERIFY ERR display informs which address and STR SP1 instruction are different in the CPU HINT Running the Verification program is helpful to ensure PLC backups stored on EEPROM are exact copies of those running in your PLC system s Saving Offline If you have been programming off line you may temporarily save your program in Generated RAM memory on
26. Handheld programmers To save a program being generated in the Programs Handheld programmer press the SAVE key As you ve seen entering and storing programs with the Handheld programmer is a pretty simple task Once you ve entered a program and the machine is running you can use the Handheld programmer to monitor and change machine operations Al fe te Q RS 3 System Monitoring and Troubleshooting In This Chapter Troubleshooting Suggestions Monitoring Discrete I O Points Forcing Discrete O Points Monitoring V Memory Locations Changing V Memory Values Monitoring Timer Counter Values Monitoring the CPU Scan Time Test Modes O Diagnostics Custom Messages Checking the Error Message Tables Error Codes e 6 2 System Monitoring and Troubleshooting Troubleshooting Suggestions The Handheld programmer is useful for monitoring and troubleshooting your PLC and machine operation There are several operations and features which help debug and isolate potential PLC problems Below are some troubleshooting and maintenance features commonly used e Monitor Discrete I O Points to examine I O power flow for individual I O points e Force Discrete I O Points to examine machine sequences or inconsistencies e Monitor V Memory Locations to examine word locations to determine if correct values are being used Change V Memory Values to force word l
27. Insert or delete an instruction Search and replace instructions Locate a specific address Read write or clear EEPROM Run time edit Password protection D2 DSCBL 6 6ft 2m Programmer Cable Cables Machine Monitoring Operations I O status up to 16 simultaneously On Off status for contacts coils control relays and bit locations Timer and counter contacts current values and preset values Displays values in either HEX BCD Octal or ASCII Up to 64 23 character messages may be programmed must be in RLL program Maximum of 16 messages stored in each log history and fault Message Display Debugging Operations Forcing one scan only Override forcing multiple scans Run Program Mode and Test Mode DL240 only Program syntax check Duplicate reference check Predefined error codes Environmental Operating Temperature Storage Temperature Humidity cc RERO PRU Environmental Air Lss Vibration de Ap Riu eR aa Shock Resistance Noise Immunity PoWeL sicud qwe TA nets due 32 to 122 F 0 to 50 C 4 to 158 F 20 to 70 C 30 to 95 non condensing No corrosive gases MIL STD 810C 514 2 MIL STD 810C 516 2 NEMA ICS3 304 200 mA obtained through PLC port 5 7 Lx 4 6 Hx 1 2 D 145mm W x 118mm H x 30mm D 1 7 oz 48 2 g e e Keypad Layout Four Groups of The Handhe
28. Memory Type DL240 DL130 DL230 Default Range Default Range 1 PGM Program 00000 02559 00000 02047 00000 4777 00000 04777 2 V V memory 3 SYS System 4 etc ALL Program System and non volatile V memory only Non selectable copies system parameters Non selectable Non selectable Depending on the size of your program a single EEPROM may not store your entire application If this is the case use more than one EEPROM and save only V memory on a EEPROM by itself Some copying options require a blank EEPROM before they will execute If you receive the error message E621 EEPROM NOT BLANK use AUX 75 to erase the EEPROM Then retry the copy function WARNING Do not try to store more than one of the above options in a single EEPROM portions of data can be overwritten yielding an unreliable copy swelbold e e 9 8 Naming and Storing Programs Selecting Memory The AUX 71 function may be used copy data from the CPU gt HPP and save to 5 oO pes 9 e am to copy from CPU EEPROM EEPROM memory You may select different portions of CPU data to copy Three data types may be selected program system and V memory The following figure demonstrates how to use the AUX 71 operation to copy the PGM program data into the Handheld programmer EEPROM Press these Keystrokes D2 HPP Display Results 1 Use AUX 71 to copy memory
29. Read totae tcc Ia Sparc Mad Ih 3 3 Entering END command er era serenor o us Ros e auti age ew eG RAN d Reges ER atus 3 3 Program Mod cu E RRRLRRISUEReDERE KP REP A UR DEP S RAE C CDL UE DER EE Ca 3 4 Entering a Simple Network oseesetrelbeR eel RECERCOE E ag dur edd ue ER RW 3 4 Selecting Different Element Types sseeussessseeseseeeeee teens 3 4 Entering Normally Closed Elements ssssssseeseee ee 3 5 Entering Series Elements ara ects lee eh ta aeta esu tnde uda ann eater al tuerunt i at a cfe 3 5 Entering Parallel Elements xus eek cid Sem acces Sele ka aco ian c did s 3 6 Joining Series Elements in Parallel 20 0 0c c eee e eee eens 3 7 Joining Parallel Branches in Series 00 0 c eee cee eee eae 3 8 Combination Networks ix as eaten uae ated GaN a TEN ERE Eat e Et AE eub de i e 3 9 Entering Timers and Counters 0 cece eee eens 3 10 Timer Example Using Discrete Status Bits 0 0 0 c ec eee 3 10 Accumulating Timers amp Counters 2a ga ech it ened vee Ret cR EINE ERE RR RS Ghost aed 3 10 Entering Accumulating Timers Two Inputs 00 anaana 3 11 Entering Relational Contacts 0 cece eens 3 12 Entering ASCII Char aelels resme ecd mierda m xtti nen rele o a dead m a i banaue 3 13 Using the INS T JE Key t a erae OPERI HO ates SERE ToC ee oe we NES qs 3 13 Entering Octal and Hex Numbers 0 00 cece eee ren 3 14 Checking for Program Errors dee
30. V3670 SP555 Current target value on when the counter current value equals the value in V3672 SP556 Current target value on when the counter current value equals the value in V3674 SP557 Current target value on when the counter current value equals the value in V3676 SP560 Current target value on when the counter current value equals the value in V3700 SP561 Current target value on when the counter current value equals the value in V3702 SP562 Current target value on when the counter current value equals the value in V3704 SP563 Current target value on when the counter current value equals the value in V3706 SP564 Current target value on when the counter current value equals the value in V3710 SP565 Current target value on when the counter current value equals the value in V3712 SP566 Current target value on when the counter current value equals the value in V3714 SP567 Current target value on when the counter current value equals the value in V3716 ie Ke o O p D D D lt o wn gt amp oj a iss s D Q 09 Special Relays Equal Relays for Multi step Presets with Up Down Counter 2 for use with a Counter Interface Module SP570 Current target value on when the counter current value equals the value in V3720 SP571 Curre
31. be displayed END Naming and Storing Programs In This Chapter Program Names and Passwords Saving Programs on EEPROM one Naming and Storing Programs Program Names and Passwords E Fes 9 e put am Program Names Password Protection Both the DL105 and DL205 PLC s allow you to name your application programs This feature is helpfulto store your program in the Handheld programmer EEPROM memory The program name can be up to eight characters in length and allows all alphanumeric characters A Z 0 9 for valid entry Press these Keystrokes D2 HPP Display Results 4 To call AUX 51 function AUX 5 CPU CFG Fe ax AUX 51 MODIFY PG 5 1 Press ENT to get the Modify P displ E asc Na AUX 51 MODIFY PG OOOOOOOO 3 Enter program name P R E S S SHEL CV ORN 4 RST RST AUX 51 SHFT P PRESSI 1 MODIFY PG 4 Press ENT to accept the name ENT PROGRAM PRESS100 Press CLR to exit the Modify Program display You may also position cursor with arrow keys to change the name and then press ENT The DL105 and DL205 PLC s provide an extra measure of protection by allowing Password protection You may enter a password that prevents unauthorized personnel from performing program operations A password must consist of eight digits The first digit of the passwo
32. copied EEPROM 08K 01 OK a Al fe te Q RS 3 J 9 10 Naming and Storing Programs Comparing CPU The AUX 73 function compares the CPU and HPP programs You may choose which and Handheld areas of the program to compare such as program instruction PGM V memory Programs contents V and System SYS memory The figure below demonstrates how to compare a program in the HPP to the CPU You can compare different types of information Option and Memory Type DL240 DL130 DL230 Default Range Default Range 1 PGM Program 00000 02559 00000 02047 2 V V memory 00000 4777 00000 04777 3 SYS System Non selectable copies system parameters 4 etc ALL Program Non selectable Non selectable System and non volatile V memory only Press these Keystrokes D2 HPP Display Results 1 Use AUX 73 to copy memory from CPU to HPP J eg AUX 7 EEPROM AUX 73 HPP lt gt CPU 2 To select HPP lt gt CPU compare operation ENT AUX 73 HPP lt gt CPU 3 To select PGM press enter PGM V SYS etc ENT 4 Use the arrow keys to position cursor AUX 73 HPP lt gt CPU to other area type desired then press ENT PGM PGM SYS gt ENT p Enter the starting address area to copy VERIFY PGM SYS ter for default 600000 or press enter for default Ist 00000 ENT 6 Enter
33. in a subroutine or a program interrupt Another INVALID BLK BLK instruction is used between the BCALL and the BEND instructions ADDRESS E489 The control relay used for the BLK instruction is being used as an output DUPLICATED CR REFERENCE elsewhere ES a fet o c a D j fe RJ e System Monitoring and Troubleshooting DL105 DL205 Description Error Code E490 The BLK instruction is not immediately followed by the SG instruction MISSING SG INSTRUCTION E491 There is an ISG instruction between the BLK and BEND instructions INVALID ISG INSTRUCTION ADDRESS E492 The BEND instruction is used in a subroutine or a program interrupt routine INVALID BEND The BEND instruction is not followed by a BLK instruction ADDRESS E493 A CV SG ISG BLK BEND instruction must immediately follow the BEND MISSING REQUIRED instruction INSTRUCTION E494 The BLK instruction is not followed by a BEND instruction MISSING BEND INSTRUCTION E501 An invalid keystroke or series of keystrokes were entered into the Handheld BAD ENTRY programmer E502 An invalid or out of range address was entered into the Handheld BAD ADDRESS programmer E503 An invalid instruction was entered into the Handheld programmer BAD COMMAND E504 An invalid value or reference number was entered with an instruction BAD REF VAL E505 An invalid instruction was ent
34. mnemonic instructions in your program It is not necessary to clear the display before using these keys When creating a new program you should always begin the first program instruction at address zero 00000 If you are in the Program mode the START OF PROGRAM message will appear when positioned at the beginning address of your program Use the left arrow lt key to display the instruction addresses To search the first address of your program follow the example figure below Press these keystrokes D2 HPP Display Results 41 Clear entire display screen CLR CLR CLR 2 ToSearch first address 00000 START OF PROGRAM SHFT Qm NEXT STR X1 3 To view instruction address c START OF PROGRAM 00000 STR X1 Starting Instruction Element Type Address and Reference You may search for and display instructions in your program by entering the specific addresses number The following examples below demonstrate how to search and find different program items The entire display screen must be cleared before performing the following examples Press these keystrokes 1 TP Search specific address C STR 2 D2 HPP Display Results 00001 OUT Y1 EM 00002 STR X2 SHET Enter desired address number to search To search for the END command follow the example below Press these keystrokes D2 HPP Display Results 1 T
35. new program information If an error is found in the new program then the CPU will turn all the outputs off and change to Program Mode WARNING Only authorized personnel fully familiar with all aspects of the PLC application should make changes to the program Changes during Run Mode become effective immediately Make sure you thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment Edits during Run Mode are ideally suited to small changes If the program requires major changes it is strongly recommended you switch the system to program mode and take all necessary precautions just as if you were starting the machine for the first time There are some important operation sequence changes during Run Time Edits 1 If there is a syntax error in the new instruction the CPU will not enter the Run Mode 2 If you delete an output coil reference and the output was on at the time the output will remain on until it is forced off with a programming device 3 Input point changes are not acknowledged during Run Time Edits So if you re using a high speed operation and a critical input comes on the CPU may not see the change Selecting Runtime The figu Edits 4 Changing Programs act re below demonstrates how to select the Runtime edit feature Note the following are some conditions which pertain during Run Time Edit mode Once you select RUNTIME EDITS the RUN LED starts blinking Thi
36. not see the change Test Displays TEST RUN Displays e System Monitoring and Troubleshooting 6 13 With the Handheld Programmer you also have a more detailed display when you use TEST Mode The areas which are active are dependant on the instruction being displayed For most instructions the TEST RUN mode display is more detailed than the status displays shown in RUN mode With the Handheld programmer in the Test Run mode and the instruction addresses displayed various groups of information are available The different groups of information are labeled and described below bum ay ee a Displays the power flow through the instruction just after the instruction is executed ll indicates power flow and Y indicates no power flow Displays the power flow of the power rail ll indicates power flow and M indicates no power flow Displays the contents of the following where applicable to the instruction the accumulator the timer current value the counter current value If the operand is a data register this field displays the contents of the data register If the operand is a bit this field displays the bit status ll indicates ON and S indicates OFF Displays the instruction address Displays the mnemonic instruction and reference number TO Contact S is OFF Example RUN Mode Display B is ON B TMR TO K1000
37. of the timer Press these keystrokes HPP Display Results Conti 1 To enter the first Input contact uet hore UT Y3 gt 8 i ENT END 2 Enterthe timer reference and preset value STR X1 wr gt l gt Pa fe TMR T2 K30 3 Begin new network and Timer status element Sem gt ST lua 2 ENT TMR T2 K30 4 To enter Output coil TMR T2 V2300 our gt o STR T2 5 _END instruction OUT Y0 sHFT E e ENT Equivalent Ladder Logic OUT Y O xi END TMR T2 K30 END T2 YO N O P Beer END The Accumulating Timer which has additional lines connected to the timer instruction can allow separate start and reset elements All input element contacts are entered before the timer or counter instruction The timer inputs may be of various types e g timer status T control relays CR etc To scroll through the different operand data types while programming the example below press the NEXT key after the arrow key is pressed Although the Handheld programmer may allow you to select various data types please refer to the DL105 or DL205 User Manual according to which CPU you are programming For example the DL240 will allow V Memory registers for timer presets where as the DL130 and DL230 will only allow K Memory to be loaded as presets Entering Accumu
38. or DL205 User Manual concerning the different CPU modes supported e RUN executes the program and updates I O modules e PGM allows program entry does not execute program or update I O modules TEST allows CPU to maintain outputs CRs and Timer Counter values when the CPU is changed from TEST RUN to TEST PGM mode See Chapter 6 for additional information RUNTIME EDIT allows for program editing while the CPU is in RUN mode These edits are not bumpless Instead the CPU scan is momentarily interrupted and the outputs are maintained in their current state until the program change is complete NOTE If your CPU has an external mode switch it must be placed in the TERM position to change modes This switch does not exist on the DL130 and DL230 CPU s a pwr E E nuN BAT EZ El cpu DL240 p C P CH S Ci RUN TERM Switch em CH 5 O CH4 O PORT 1 PORT2 ae i 4 Lu System Setup Changing the The Handheld programmer MODE key may be used to change the CPU mode CPU Mode Pressing the MODE key will begin the process of changing modes The keystrokes below will change the CPU mode from Run to Program Press these keys HPP Display Results 1 To begin Mode Change MODE CHANGE MODE GO TO PGM MODE 2 To select displayed mode ENT MODE CHANGE 3 To accept mode change PGM MO
39. stack to evaluate the various logic elements The stack is a temporary storage area used to help evaluate the various logic combinations Each time you enter a STR instruction the instruction is placed on the top of the stack All other instructions on the stack are pushed down one level The And Store ANDSTR and Or Store ORSTR instruction combine levels of the stack when processed Since the stack storage is eight levels an error will occur if the CPU encounters a network that uses more than eight combined levels per network For more details on the 8 level stack please refer to section titled Programming Basics in the DL105 or DL205 User Manuals J 5 10 Entering Programs Entering Timers and Counters Timer Example Using Discrete Status Bits Accumulating Timers amp Counters To enter a timer or counter you also must prepare operand and enter preset values This can be a constant value K memory or a V memory location in the case of the DL240 CPU There are two methods of programming timers You can have the timer with discrete timer control and status bits or use comparative contacts which enable at different time intervals during the control and status The following timer example uses discrete status with a preset of 3 seconds If the timer is enabled for 3 seconds the status bit T2 will turn ON The timer will reset if X1 turns off which in turn will resets the status bit T2 off and the accumulative value
40. the CPU mode located in Chapter 2 ON RUN TEST PGM OFFLINE Mode LED LED LED LED Run L Program J Test Run J DL240 Only Test Pgm J J DL240 Only Handheld in J Offline Runtime Edit Flashing L1 Display Panel Viewing a Program RUN TEST PGM OFFLINE L3 L3 L3 c DL205 HANDHELD PROGRAMMER with RLL by Koyo INE H Direct 5 upp 7654321076543210 AUX MODE CPU STAT SAVE z sP ex eY SG STR STRN OUT CNT Do lt As mentioned the Handheld programmer contains a two line 16 character per line LCD display screen The user information and display format will change depending on the mode selected and the function being performed The different mode display formats are discussed in later sections of this manual While in Run mode the Handheld programmer will display instruction and bit status The example display on the right shows a Run Mode screen During the Program mode the display screen allows viewing two instructions in your program as shown in the second example Some instruction as with the Accumulative Timer TMRA will allow up to eight digits for a reference number To view instructions or messages greater than 16 characters in length press the right arrow key to move viewing display You may use the left arr
41. types D2 HPP Display Results MONITOR SELECT TRAP 16PT STATUS TRAP 16PT STATUS PGM ADDR 90 TRAP 16PT STATUS BIT REF X5 X 10 X 0 E E 765 43 2 07 654 32 10 Totrap a word of memory instead of a discrete point use the status monitoring option of TRAP WORD STATUS and enter the parameters the same way as in the example above e System Monitoring and Troubleshooting 6 17 I O Diagnostics Diagnostics The DL205 system provides diagnostic features to that help identify I O errors DL205 ONLY AUX 42 will report missing modules and new I O configuration For the DL240 CPU I O communication errors will also be reported The error codes are listed later in this chapter and shows all of the possible I O error messages This function is only possible with the DL205 If present the error display will automatically be displayed when Handheld programmer is connected to the CPU If an I O error occurs use the follow example figure below to determine which base and slot has failed ES a fet fe c a D j fe lt RJ e Press these Keystrokes Example Error Display 1 Select the AUX 42 I O Diagnostics E252 Fy S x NEW I O CFG 2 Torun the diagnostics ENT D2 HPP Display Results 3 Use arrow keys to see more information AUX 4 I O CFG gt AUX 42 I O
42. 05 144 SPO SP540 SP617 V41226 V41230 ps Timers TO T177 128 SE x 4 K100 Timer Current None VO V177 128 VO K100 Values gt Timer Status Bits TO T177 V41100 V41107 128 TO Counters CTO CT177 128 CNT CTO K10 Counter None V1000 V1177 128 V1000 K100 Current Values gt Counter Status CTO CT177 V41140 V41147 128 CTO Bits Data Words None V2000 V3777 1024 None specific used with many instructions Data Words None V4000 V4377 256 None specific used with many Non volatile instructions Stages SO S777 V41000 V41037 512 Se so 001 System None V7620 V7737 106 None specific used for various V memory V7746 V7777 purposes 1 The DL205 systems are limited to 128 discrete I O points total with the present system hardware available These can be mixed between input and output points as necessary A DL105 DL205 Memory Map AWS X Input Bit Map This table provides a listing of the individual Input points associated with each V memory address bit for the DL130 230 and DL240 CPUs MSB DL130 DL230 DL240 Input X Points LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40400 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V40401 057 056 055 054 053 052 051 050 047 046 045 044 043 042 O41 040 V40402 077 076 075 074 073
43. 166 165 164 163 162 161 160 V41007 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V41010 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 V41011 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 V41012 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V41013 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 V41014 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V41015 Stage Control Status Bit Map z d This table provides a listing of the individual stage control bits associated with each V memory address bit ps ie MSB DL130 DL230 DL240 Stage S Control Bits LSB 2 Address o lt 6 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V41016 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V41017 MSB DL240 Additional Stage S Control Bits LSB iz 16 iS ie VW a 10 7 6 5 4 3 2 1 0 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 V41020 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 V41021 457 456
44. 30 17 01 11 12 Limit SW1 failed 1996 02 28 03 25 14 31 Saw Jam Detect ES rot 4 o c a D j fe lt RJ e e o ec System Monitoring and Troubleshooting Viewing the Error The Handheld programmer maintains a history of Errors and Messages You may Table display the Errors and Messages on the Handheld programmer by using the AUX 5C function The figure below demonstrates how to use the AUX 5C function Press these Keystrokes D2 HPP Display Results 4 Use AUX 5C to view Errors AUX 5C HISTORY D Fg Msat C Aux ent ERROR MESAGE 2 Press ENT to select Error Messages ENT E252NEW I O CFG 94 01 14 13 18 44 The most recent error is displayed You can also use the PREV and NXT keys to sequentially step through the errors The arrow keys can be used to scroll the display for more detail Viewing the The AUX 5C function is used to view messages on the Handheld programmer Message Table Press these Keystrokes D2 HPP Display Results 1 Use AUX 5C to view FAULT messages AUX 5C HISTORY D on SHFT Ves AUX ENT ERROR MESAGE 2 Use the arrow key to select MESSAGE CHKGUARD ENT 94 01 14 13 35 2 The most recent message is displayed You can also use the PREV and NXT keys to sequentially step through the messages The arrow keys can be used to scroll the display for mo
45. 5 6 H CPU LOCKED 7 PASSWD 12345678 y 4 _Confirm Unlock operation i ENT D CPU UNLOCKED 5 e Press CLR to exit CPU Unlock operation The error message EBO4BAD REF VAL appears if you enter an incorrect password If you press CLR you can attempt to enter the password again 94 Naming and Storing Programs Saving Programs to EEPROM E Fes 9 e put am Types of EEPROMs DL205 ONLY As you develop your program with the Handheld programmer pressing the ENT key saves the entry to the PLC CPU memory The DL105 and DL205 use different types of CPU memory The DL205 series PLC s use a EEPROM IC chip for program and data storage You may use the Handheld programmer AUX71 function to program this EEPROM The DL105 Micro PLC s use a non volatile Flash ROM memory for program information storage The DL105 does not require any EEPROM handling therefore the following EEPROM functions are not normally used Before you attempt to save your program to EEPROM you must first install a EEPROM inside the Handheld programmer The following table indicates which EEPROM to use in the different DL205 CPU s The DL230 CPU uses a 2K EEPROM and the DL240 CPU uses a 3K EEPROM for program storage Either size of EEPROM may be used inthe Handheld programmer for offline programming You may electrically erase already programed EEPROM s as explained later in this chapter CPU type EEPROM Part Number Capa
46. A NEXT instruction does not have the corresponding FOR instruction SP52 MISSING FOR will be on and the error code will be stored in V7755 DL240 ONLY e System Monitoring and Troubleshooting 6 29 DL105 DL205 Description Error Code E405 A FOR instruction does not have the corresponding NEXT instruction SP52 MISSING NEXT will be on and the error code will be stored in V7755 DL240 ONLY E406 An interrupt routine in the program does not end with the IRT instruction MISSING IRT SP52 will be ON and the error code will be stored in V7755 E412 There is greater than 64 SBR LBL or DLBL instructions in the program This SBR LBL gt 64 error is also returned if there is greater than 128 GTS or GOTO instructions DL240 ONLY used in the program SP52 will be on and the error code will be stored in V7755 E413 There is greater than 64 FOR NEXT loops in the application program SP52 FOR NEXT gt 64 will be on and the error code will be stored in V7755 DL240 ONLY E421 Two or more SG or ISG labels exist in the application program with the same DUPLICATE STAGE number A unique number must be reserved for each Stage and Initial Stage REFERENCE SP52 will be on and the error code will be stored in V7755 E422 Two or more SBR or LBL instructions exist in the application program with the DUPLICATE same number A unique number must be allowed for each Subroutine and SBR LBL Label SP52 wi
47. A rung of ladder logic is not terminated properly MISSING CKT E471 Two or more OUT instructions reference the same I O point DUPLICATE COIL REFERENCE E472 Two or more TMR instructions reference the same number DUPLICATE TMR REFERENCE e System Monitoring and Troubleshooting e 2er DL105 DL205 Description Error Code E473 Two or more CNT instructions reference the same number DUPLICATE CNT REFERENCE E480 The CV instruction is used in a subroutine or program interrupt routine The INVALID CV CV instruction may only be used in the main program area before the END ADDRESS statement E481 An instruction exists between convergence stages CONFLICTING INSTRUCTIONS E482 Number of CV instructions exceeds 17 MAX CV INSTRUCTIONS EXCEEDED E483 CVJMP has been used in a subroutine or a program interrupt routine INVALID CVJMP ADDRESS E484 CVJMP is not preceded by the CV instruction A CVJMP must immediately MISSING CV follow the CV instruction INSTRUCTION E485 A CVJMP instruction is not placed between the CV and the SG ISG BLK NO CVJMP BEND END instruction E486 A BCALL is used in a subroutine or a program interrupt routine The INVALID BCALL BCALL instruction may only be used in the main program area before the ADDRESS END statement E487 The BCALL instruction is not followed by a BLK instruction MISSING BLK INSTRUCTION E488 The BLK instruction is used
48. CD CHECK installed in the handheld programmer NEXT AUX 65 RUN DIAG 4 EEPROM CHECK e Press ENT to execute Diagnostic operation being displayed e Press CLR to exit the diagnostic operation being displayed Beeper ON OFF The Handheld programmer contains a beeper which sounds to confirm the operator keystrokes This beeper may be toggled ON and OFF with the AUX 62 function Press these keystrokes D2 HPP display results 1 Clear complete display screen CLR CLR CLR 2 _To toggle beeper ON OFF G C 6 2 AUX 6 CFG HPP AUX 62 BEEPER ON AUX ENT Ln System Setup Clearing an Existing Program Initializing System Memory Important note using this function will delete the PLC ladder program With the CPU in Program mode use the AUX 24 function to clear the entire PLC application program Press these keystrokes D2 HPP Display Results 1 Clear complete display screen CLR CLR CLR 2 Select AUX 24 Clear Ladders display Sac ie cay ax AUX 2 RLL OPERA 3 To select Clear Ladders operation AUX 24 CLR LAD A ENT x 4 To clear all ladders SHAB Doe B ADDE RE e ENT OK e The PLC must be in Program mode To clear specified range of ladder program or V memory use the following Auxiliary functions e AUX 23 Clear Ladder Range e AUX 31 Clear V Memory Range The CPU set
49. D NET Displays the power flow through the instruction just after the instruction is executed ll indicates power flow and Y indicates no power flow Displays the power flow of the power rail ll indicates power flow and M indicates no power flow Displays the contents of the following where applicable to the instruction the accumulator the timer current value the counter current value If the operand is a data register this field displays the contents of the data register If the operand is a bit this field displays the bit status Bl indicates ON and S indicates OFF Displays the instruction address Displays the mnemonic instruction and reference number D2 HPP Setup In This Chapter Handheld Programmer Setup CPU Setup O Configuration Auxiliary Functions ene System Setup Handheld Programmer Setup Clearing the Display Using the Cursor 2 To move cursor position right This section provides information on some basic Handheld programmer features and characteristics Regardless of which DL105 or DL205 PLC system you are using the following operations will apply To begin a new function it may be necessary to clear the Handheld programmer entry buffer and display screen Pressing the CLR clear key will clear the buffer and display You must press the CLR key several times to prepa
50. D2 HPP Handheld Programmer Manual Number D2 HP M WARNING Thank you for purchasing automation equipment from PLCDirect We want your new DirectLOGIC automation equipment to operate safely Anyone who installs or uses this equipment should read this publication and any other relevant publications before installing or operating the equipment To minimize the risk of potential safety problems you should follow all applicable local and national codes that regulate the installation and operation of your equipment These codes vary from area to area and usually change with time It is your responsibility to determine which codes should be followed and to verify that the equipment installation and operation is in compliance with the latest revision of these codes At a minimum you should follow all applicable sections of the National Fire Code National Electrical Code and the codes of the National Electrical Manufacturer s Association NEMA There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards We do not guarantee the products described in this publication are suitable for your particular application nor do we assume any responsibility for your product design installation or operation If you have any questi
51. DE ENT MODE CHANGE e Use the NEXT PREV keys to scroll available modes C PU PGM Selecting Different You may use the PREV and NEXT key while performing a Mode Change to choose CPU Mode a different mode Always examine the Handheld programmer LED indicators to insure proper mode change and desired CPU mode is selected WARNING Only authorized personnel familiar with all equipment concerning the PLC should make mode and program changes Changes during the RUN mode become effective immediately Make sure to consider the impact of any mode change or program changes to minimize the risk of personal injury or equipment damage System Setup EJ I O Configuration Automatic I O Configuration DL205 Only Checking I O Configuration Slot 0 16pt Input The DL205 PLC system s are designed to automatically examine installed I O modules including specialty modules and establish the correct configuration and addressing when power is applied to the CPU The I O addresses are assigned using octal numbering meaning the I O numbering always starts at zero and does not include 8 or 9 For example a 16 point input module located in slot zero the first slot next to the CPU would be labeled X0 X7 for the first 8 points and X10 X17 for the second 8 points never using the number 8 or 9 The addresses are assigned in groups of 8 or 16 depending on the number of points for the I O module Please refer to the D
52. DIAGN AUX 42 I O BASE E252 I O CONF O BASE 0 SLOT3 I O CONFIG Error If the PLC system detects a change in the I O configuration at power up or an I O fault and error message will be displayed To get more detail on the location of the error internal diagnostic locations also exist which specify the module type module location and an error code The following figure shows a example of the failure indicators The table on the left lists the module codes which may be displayed in the failure indicators Code Component Type GR N S Hex 04 CPU 03 I O Base 20 8 pt Output 21 8 pt Input 24 4input output combination 28 12 pt Output 16 pt Output Program Control Information 2B 16 pt Input V7752 0020 Desired module ID code 36 Analog input V7753 10021 Current module ID code ARI 3 a V7754 10002 Location of conflict E252 Bf nalog Output V7755 0252 Fatal error code NEW I O CFG 4A Counter Interface SP47 IO configuration Error 7F Abnormal FF No module detected System Monitoring and Troubleshooting Custom Messages The FAULT message instruction may be used to log messages which can be view with AUX 5C on the Handheld programmer The Fault messages must be triggered with a positive differ
53. HPP gt CPU EEPROM program has been loaded Bv je Q o 3 e EN Naming and Storing Programs E Fes 9 e Js am Checking the EEPROM Type Checking for a Blank EEPROM The AUX 76 function may be used to check the EEPROM size installed in the DL205 CPU or the D2 HPP programmer The display will indicate both the CPU EEPROM size and the Handheld programmer EEPROM size if installed If the EEPROM is not installed in the Handheld programer then dashes will be displayed below the HPP header Press these Keystrokes D2 HPP Display Results 1 Use AUX 76 to Check EEPROM Type AUX 7 EEPROM H G LIMINE ONT sd AUX 76 SHOW TYPE 2 To select EEPROM checking AUA CPU HPP 3 If HPP has a EEPROM installed use the arrow rigt EEPROM 03K EEPR key to scroll the display x HPP D 2 240 Press CLR key to exit EEPROM check function 03K EEPROM 03K Before copying your program to a EEPROM make sure the EEPROM does not contain any information which will be overwritten You can check for a blank EEPROM by using AUX function 74 BLANK CHK Press these Keystrokes D2 HPP Display Results 4 Use AUX 74 to Check for a blank EEPROM AUX 7 EEPROM H JE xi AUX 74 BLANK CHK T 4 2 To select EEPROM blank check ENT AUX 74 BLANK CHK EEPROM BLANK CHK 3 To execute EEPROM blank check ENT EEPROM IS BLA
54. ISUSe ceto tt uta cat rcd use ua anode td s er atu tek seta it dicia cs 1 11 AUXDISDIAVS 4t darse dte stel m s UNES DM dar AM HL Mu uer Aer HU ME 1 12 TEST RUN Display DL205 Only ceurcccee tere in Sie ee eee exe X ex x RR Y s 1 12 Chapter 2 D2 HPP Setup Handheld Programmer Setup 0 0 cece eee eee ee eee eee nnn nnn nnn 2 2 Clearing the Display kssr gegrens eniai s CU been Cee ene dati x pude 2 2 Using ie ITS OU ceca to et ac in diio eda ilte er mateo eave d en ea ap eaa Keri dei td var gg cgee 2 2 GPU Set p omine e IR eR EN PRXRYed i mor CILE ANE RI EIE EEbwdd ic Ed I 2 3 A Few Things to KNOW ed bene Fono mp Sen este Fee tmu repas Fox vetus pan es 2 3 CPUMSdeS aioe oe tae stu E ee ocn v eae Hehehe Gee eae Hemet e dtes 2 3 Changing the CPU MOG ui sen aca ccn tae oe ca han ead cin eR ep et QUK Ed t ed 2 4 Selecting Different CPU Mode 2 4x ode Males ALN at mace a d xn Roe ORA bes Saute dee Ae 2 4 VO Configuratio seisine Re V DER WRRE EE EEERARA RIA USE UR MAYA Ah Kai E RR 2 5 Automatic I O Configuration DL205 Only issessssseseeeeneeII 2 5 Checking I O Configuration sissseesssssseeeee III 2 5 Auxiliary FUNCHONS ssa viuo ce RON pter RACIO use RU RT NOE POR IDA ON BUE RA aca a GU RON base aie Rt jo 2 6 What are Auxiliary Functions 5 teo ga fete alta tits qtd t eres Rte tont vrl 2 6 LN Table of Contents Handheld Programmer Diagnostics lssslesseeseeeeeee 2 7 Beeper ON OFF xcueetncex i p ERE QU
55. L 205 User Manual for details on automatic addressing The following diagram shows a DL205 example I O scheme Slot 1 8pt Input Slot 2 Analog Input Slot 3 8pt Output Slot 4 8pt Relay Output Press these keystrokes Clear complete display screen CLR CLR CLR To display I O configuration display E B 4 1 AUX To check I O information ENT gt gt NEXT PREV keys to view next and previous slots NEXT Use arrow T to display additional text NEXT slot NEXT NEXT slot NEXT NEXT etc SlotO Slot1 Slot2 Slot3 Slot 4 The Handheld programmer may be used to view the current I O configuration by using the AUX 41 function While connected to your PLC use the following example to display your I O configuration D2 HPP Display Results AUX AUX 4 I O CFG 41 SHOW CFG AUX D2 41 I O BASE 240 I O BAS 0 I BASE O BASE 0 SLOTB O0 P BASE S 0 SLOTP O C BASE 0 SLOTC PU V 0 8 P BASE 0 SLOTO T Input MDL e EI System Setup Auxiliary Functions What are Auxiliary Handheld programmer keypad contains a key labeled AUX which allows you to Functions perform various Auxiliary Functions Auxiliary Functions are divided into several different categories Some AUX functions are for the Handheld progr
56. Lower Byte Range Range 0 None 10 Up 40 Interrupt 50 Pulse Catch 60 Filtered discrete In Upper Byte Range Bits 8 11 14 15 Unused Bit 12 With Without Batt Bit 13 Power up in Run pulse train output and input filter for X3 when D2 CNTINT is installed V7634 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train output and input filter for XO when D2 CNTINT is installed V7635 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train output and input filter for X1 when D2 CNTINT is installed V7636 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train output and input filter for X2 when D2 CNTINT is installed V7637 Contains set up information for high speed counter interrupt pulse catch Default 0000 E D 3 fe lt D o O z o lt D ES t fed gt O Q oO gt gt tes e E fob i gt DL105 DL205 Memory Map System Description of Contents Default Values Ranges V memory V7640 V7647 Not used N A V7751 Fault Message Error Code stores the 4 digit code used with the FAULT N A instruction when the instruction is executed V7752 I O Configuration Error stores the module ID code for the module that does N A not match the current confi
57. NK 4 The Handheld programer will respond wit one of these three display messages lt E621 Press CLR to exit EEPROM blank check EEPROM NOT BLANK E622 NO HPP EEPROM NOTE If you copy data to an EEPROM which has existing data stored on it the new data could overwrite portions of the existing data and leave other portions as they previously existed resulting in a unreliable copy of your data It is always recommended to clear non blank memory cartridges prior to copying data to ensure you get a clean copy of your new data Naming and Storing Programs EA Erasing a The AUX 75 function will allow you to erase a EEPROM Use the following example EEPROM to erase clear a EEPROM which is installed in the Handheld programmer Press these Keystrokes D2 HPP Display Results 1 Use AUX 75 to Erase EEPROM AUX 7 EEPROM H F 2 ie ES AUX 75 ERASE 2 To select Erase function ET AUX 75 ERASE 3 To execute Erase operation CLEAR EEPROM ENT AUX 75 BUSY ERASE Press CLR to exit Erase EEPROM function EEPROM CLEARED Copying Programs from the CPU To save System V memory not system parameters you will need to modify the memory range to include the upper memory locations for the DL230 or DL240 CPUs for option 2 V V memory All System V memory is not saved when you select either the System or Program System options Option and
58. O Control Relays CO C377 V40600 V40617 256 CO CO 3 N 7 Special Relays SPO SP117 V41200 V41204 112 SPO SP540 SP577 V41226 V41227 E Timers TO T77 64 SE x al K100 Timer Current None VO V77 64 VO K100 Values gt Timer Status Bits TO T77 V41100 V41103 64 TO Counters CTO CT77 64 CNT CTO K10 Counter None V1000 V1077 64 V1000 K100 Current Values gt Counter Status CTO CT77 V41140 V41143 64 CTO Bits Data Words None V2000 V2377 256 None specific used with many instructions Data Words None V4000 V4177 128 None specific used with many Non volatile instructions Stages SO S377 V41000 V41017 256 Se so p S 001 System None V7620 V7647 48 None specific used for various V memory V7750 V7777 purposes 1 The DL105 systems are limited to 10 discrete Inputs and 8 descrete outputs There are 8 different DL105 models whcih are configured with various voltage level capabilities Please refer to the Product Catalog or DL105 User Manual for specific models and specifications DL230 Memory Map Overview Memory Type Discrete Memory Word Memory Qty Symbol Reference Reference Decimal octal octal Input Points XO X177 V40400 V40407 128 XO Output Points YO Y177 V40500 V40507 128 YO Control Relays CO C377 V40600 V40617 256 CO CO N 7 Special Relay
59. ORCR RD do oap SC Nn 4 8 Using Search and Replace acri RR GR RPXXRRP WR DIR ERR EE ERERXERES ERE 4 9 Editing Programs During Run Mode sseeeeeeeeee n nnn 4 10 Selecting Runtime Edits x03 oat bed oA ee Bs duda materi e nr iom Geers Ale dL 4 11 Changing Constant Values During Run Mode ssuussssseeese eee 4 11 Chapter 5 Naming and Storing Programs Program Names and Passwords i esos a swear Rae eee wre ee CR DC S Ka ee re 5 2 Progr m Names cio de Ate xo erase die eee eS Oe mee tice fe dence eter gebe dies 5 2 Password Protection Jus os tite tote tlie etu a et Sau d he Srt S Rea his Rr uU deca aa 5 2 Locking the CPU with Password Protection 00 00 c cece eee eet 5 3 Unlocking the CPU Password Protection 0 00 cece eects 5 3 Saving Programs on EEPROM ss clu lll rr rrr rrr rm eee rr rmn nnmis 5 4 Type ol EEPHOMS DL205 ONLY oceans 4 p MID Ru rae TIER PERPE E ES 5 4 Inserting a EEPROM in the Handheld Programmer 00 cece eee eee tees 5 5 Using HPP EEPROM functions with the DL105 0 0 eee eee eee 5 5 Checking the EEPROM Type ire eee eet ee eR ee ee Se and 5 6 Checking for a Blank EEPROM 5 2 29 11 rm Pe Ee oq e n totem anand any wins aie ad ee etd 5 6 Erasing a EEPROM oen es detenta pedo uk e Ed amat S 5 7 Copying Programs from the CPU 0 cece ene 5 7 Selecting Memory to copy from CPU EEPROM 0 cece eee eee ee 5 8 Writing Progr
60. ORN RST MLR K k M N o JMP ANDST ORST TMR INST FDREF FIND OFF DEL Cable for HHP CPU connection 6 6 ft 2m 1 2 3 PnEv ON EUICEEACITEELETDEEDEETCTENEECHEDIENELTTI O CLR SHFT NEXT ENT em AAT The Handheld programmer has a two line 16 character per line LCD display which makes it easy to view the program examine status and accesss other PLC data The Handheld programmer contains aEEPROM socket which is located underneath the keypad The EEPROM socket may be accessed by firmly holding the programmer and sliding the front keypad bezel down The EEPROM programming feature may be used to e Store DL105 and DL205 CPU data to EEPROM non volatile memory Compare the contents of a CPU to data stored on EEPROM Copy data from EEPROM to a CPU The Handheld programmer is provided with a 6 6ft 2m programming cable part number D2 DSCBL The cable is manufactured with RJ12 connectors at both ends Connect the cable between the Handheld programmer and CPU programming port When power is applied to the CPU the Handheld programmer LED indicator s and LCD display should become active Specifications Getting Started d The D2 HPP Handheld Programmer Specifications DL130 DL230 DL240 CPUs Supported Programming Operations Read write or erase programs
61. STR Joins a group of elements in series with another group of elements not available with DL 105 e OR Joins one element in parallel with a previous element or group of elements e OR STR Joins parallel branches not available with DL 105 e Output Each rung must have at least one output Y C or box instruction NOT used with other instructions to utilize normally closed elements END All programs must contain an END statement All networks must begin with the STR store or STRN Store Not instruction and are then combined with other instruction entries Networks must conclude with at least one output instruction Y coil C coil or Box instruction Below is a ladder network showing how various mnemonics instructions are combined in a single network XO x2 ORSTR X5 YO STR 4 m cour Output OR ul x3 AND pu ANDSTR X6 NOT d END END Navigating the Program Previous Next Keys Starting at Address 0 Searching for Addresses Searching for END Instruction Entering END Instruction Entering Programs EA The Handheld programmer display screen allows program instructions and their associated data to be viewed by the operator All instructions are stored with a instruction addresses not the same as rung addresses used in DirectSOFT Newly entered instructions may be saved by pressing the ENT enter key Pressing the NEXT or PREV keys allow scrolling through the
62. ULE eek Uic ceder Sd e pe Pee EE ex 2 7 Clearing an Existing Program eeu Ee eR Ehe exe e e Fn eee m ed 2 8 Initializing System Mero aret bte ptem Cre ne mom mede Ras aede qe sl dec dd 2 8 Setting the CPU Network Address 0 00 c cece eect een 2 9 Retentive Memory Ranges lt 2 2 sees ee ise hee eee phe x ee bees ER EE ee a oponen 2 10 Changing Retentive Memory Ranges ssssssssssese een 2 11 Press these keystrokes oia s mto ree x MER ete Bo RR RR amp eq aeo Se ra a eR aes 2 11 Setting the Clock and Calendar ssussessseeseseeeeeee enn 2 12 Press these keystr keS 1scovevo ets Ga aii eee ee nA Se a TU ert as eae ROC S E 2 12 Chapter 3 Entering Programs Entering Ladder Programs odd cher Eget oa d cate ea ite etos dr IR e a ae Det Er ar 3 2 Purpase or Section usce iere cS Cu a deb dpud ene dioere ecd eae see eens 3 2 Handheld Programmer Key Sequences 0 0 ce een ee ete eee eee eee 3 2 Instruction OVENEW cc eecccstecpbech tex Ee rEPSCERESREES DLP RE CUP e Pe LECHE e pd 3 2 Navigating the Program i235 ets IR a eld es ads Bers EXIck WIRE REIR IA YR IER RR E 3 3 Previous Net KEYS Leib diee tere tnr areis Dre tee iacu wand vad nye d Reg cub wn Pte e Mae ted 3 3 Starting at Address O 1e Aas asta te bt evade kao RN Ae RR COE hebt ot 3 3 Searching Addresses j 2 05 2 Seeing eee sakes epo tece IB okebeRee seein te pk lets a uidens 3 3 Searching Tie END cl Ht hte arte dcl bte caper
63. VE Z SP GX GY SG STR STRN OUT CNT U V Ww X Y ISG AND ANDN SET MLS P Q R S T CV OR ORN RST MLR K L M N e JMP ANDST ORST TMR INST LILILILILILILIUJLTILTLILTILTILTILILT H l J rn nmr r f Changing Programs Ead Displaying a Program The Handheld programmer display screen allows viewing your program in the mnemonic instruction format You may scroll through the individual instructions which are programmed using the NEXT PREV keys Depending on which mode you have selected the display will maintain different screen formats You may view the instruction address by pressing the left arrow key The different display modes and characteristics are discussed in Chapters 1 and 6 Combination Mnemonic Example ADDRESS INSTRUCTION DESCRIPTION 00000 STR X0 Starts branch 1 with XO 00001 OR X1 Joins X1 in parallel with XO 00002 STR X2 Starts branch 2 with X2 00003 STR X3 Starts branch 3 with X3 00004 ANDN X4 Joins X4 NOT with X3 00005 ORSTR Joins branches 2 and 3 00006 AND X5 Starts branch 4 with X5 00007 ORN X6 Joins X6 NOT in parallel with X5 00008 ANDSTR Joins branche
64. X7 00007 ORN X6 eD us 00010 END Changing Programs Deleting an Instruction Use the delete feature to remove an instruction from your program The DEL key deletes the instruction that is currently being displayed Note to make sure you are at the desired location within program prior to the Delete operation Once you ve deleted the instruction the remaining addresses will automatically decrement The following example demonstrates using the Delete function Press these Keystrokes D2 HPP Display Results 1 Locate X7 contact SEARCHING V gt H FD REF AND 7 FIND 2 To Delete instruction OFF 00006 AND X10 00007 AND X7 3 Press ENT to confirm or CLR to reject ENT DELETE INST 00007 AND X7 00007 AND X7 00008 AND X7 Equivalent Ladder Logic Mnemonic Example Program Delete X7 00000 STR XO XO X2 X5 XT YO 00001 OR X1 i our 1 1 I VC m nb x1 x3 XA Location to search oe AND X5 X6 AND X7 00007 ORN X6 GD 00010 END Using Search and Replace Bad Changing Programs The AUX 22 function allows you to Search and Replace all occurrences of a specific instruction The example below demonstrates replacing every instance of X5 with
65. ammer itself and others for the PLC system If an error occurs while performing a auxiliary function the CPU may bein the wrong mode or invalid data may have been entered Throughout this manual step by step procedures for using Auxiliary functions are provided Please refer to the DL105 or DL205 User Manual for details on AUX functions which may not be covered in this manual AUX Function and Description DL130 DL240 AUX Function and Description DL130 DL240 DL230 DL230 AUX 2 RLL Operations AUX 6 Handheld Programmer Configuration 21 Check Program O O 61 Show Revision Numbers O O 22 Change Reference O O 62 Beeper On Off HP HP 23 Clear Ladder Range O O 65 Run Self Diagnostics HP HP 24 Clear All Ladders O O AUX 7 EEPROM Operations AUX 3 V Memory Operations 71 Copy CPU memory to HP HP 31 Clear V Memory O O ae EEPROM AUX 4 1 0 Configuration DL205 CPU s Only to ge ere a ME 41 Show I O Configuration O O 73 Compare CPU to HP HP 42 O Diagnostics O O HPP EEPROM 44 Power up I O Configuration O O 74 Blank Check HPP EE HP HP Check PROM 45 Select Configuration O O 75 Erase HPP EEPROM HP HP AUX 5 CPU Configuration 76 Show EEPROM Type HP HP CPU and HPP 51 Modify Program Name O O AUX 8 Password Operations 52 Display Chang
66. ams to the CPU cceli rere yu x wx E ex x CX E ER FRE 5 9 Comparing CPU and Handheld Programs 00 ccc eee eee teen eee 5 10 Verification ET TOES acere e eate tede a po Rn v s Det des Unde ati pide wa Eure raft Sd 5 11 Saving Offline Generated Programs 00 cece ene een 5 11 Chapter 6 System Monitoring and Troubleshooting Troubleshooting Suggestions 0 2 cece cee eee nnn nnn nn 6 2 Understanding the Status Monitor Options 00 cece eee 6 2 Monitoring Discrete I O Points seeeeeeeee RII III 6 3 Bit Stat s MONIO eii teesattemegetegterdant A a enna andl i aoe etx a e do cM tain eg 6 3 Forcing Discrete I O Points 2 2 sc ce eee err Rer xe kr Ka eee eed cae ee eas 6 4 Using Force during Bit Override 0 ccc teens 6 5 Regular Bit Force using the Status Monitor 0 0 00 cece eens 6 6 Regular Bit Force with Direct Access 0 cece raaa 6 6 Bit Override Indicators ecce ire I9 SES ive Seba ee T RE Ix ARE KE 6 7 Direct bit Forcing DL240 ONLY nev seit cnet Fre Petre gm eto be det mede pente tel ate etd 6 7 Bit Override DL240 Only 525i ette dened oeesded des CHOSE Teu eese ees 6 8 Monitoring V Memory Locations 0 cece cee eee eee eee eee nnn nnn nn 6 9 Changing V Memory Values 9x tb ieee oe ee ee eee 6 9 Monitoring Pointer Locations icici eine parma ware R4 ee ee ee ee 6 10 Monitoring Timer Counter Values 00ce eee e eee eee eee eee eee ees
67. ation error SP130 Module busy on when the communication module in slot 4 of the local base is busy Slot 4 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP131 Com error on when the communication module in slot 4 of the local base has Slot 4 encountered a communication error SP132 Module busy on when the communication module in slot 5 of the local base is busy Slot 5 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP133 Com error on when the communication module in slot 5 of the local base has Slot 5 encountered a communication error SP134 Module busy on when the communication module in slot 6 of the local base is busy Slot 6 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP135 Com error on when the communication module in slot 6 of the local base has Slot 6 encountered a communication error SP136 Module busy on when the communication module in slot 7 of the local base is busy Slot 7 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP137 Com error on when the communication module in slot 7 of the local base has Slot
68. before using the store STR STRN instruction for first element then continue the parallel branch with the to create and second element data You join the two parallel rungs using the coil OUT command Follow the example below to create the most simple form of a parallel branch network Press these keystrokes D2 HPP Display Results 1 Enter first puc contact iuis here scil OUT Y2 Sem gt 4 ENT END 2 Tostart second branch and element ex lo fe lev STR X1 NOP 3 _Tojoin parallel branch and enter Ouput coil our gt E JEN STR X1 4 END instruction OR X2 SHE Er ug P a ENT OR X2 OUT Y2 Equivalent Ladder Logic x1 Y2 Bie OUT Y2 NOP x2 END NOP END Later in this section various examples using parallel element programming are provided Branch programming examples require close observation of which order the mnemonic instructions are entered If the instruction or data are not properly entered the Handheld programmer display will response with a error message Please take care and caution that the result of entering parallel logic does not present logical result problems Joining Series Elements in Parallel Entering Programs 3 6 Often it is necessary to program networks which contain parallel branches and series elements together to accomplish desired control The ORST or store key allows you
69. city DL230 Hitachi HN58C65P 25 2K words DL240 Hitachi HN58C256P 20 3K words NOTE Small programs using common instructions supported by both CPUs is possible as long as the program size is within the DL230 capacity under 2K These programs may be used between both of the CPU models However the EEPROM installed in the Handheld Programmer must be the same size or larger than the CPU being used For example you could not install a DL240 EEPROM in the Handheld Programmer and download the program to a DL230 unless the program size limits are that of a DL230 capacity LLL RUN TEST PGM OFFLINE H Direct 52 pp Remove power from the Handheld programmer EEPROM key notch must be on the right side DL205 HANDHELD PROGRAMMER with RLL 5by Koyo If the EEPROM you are using is smaller than the socket it should be mEmEENEENENMEENEENE C Raise socket aligned to the left edge Pat to of the socket Aux MODE cpu STAT SA EEPRIONE Use Keypad retracts to Ih se em Gran Pour Cnr lever to lock EEPROM in reveal EEPROM Zero Force Insertion Socket place once properly seated Inserting a EEPROM in the Handheld Programmer Using EEPROM functions with the DL105 Naming and Storing Programs 979 The Handheld programmer should not be powered during EEPROM installation EEPROM chips can be damaged if not properly handled and or proper electrical grounding
70. critical error such as a low battery has occurred SP43 Battery low on when the CPU battery voltage is low SP44 Program on when a memory error such as a memory parity error has occurred memory error SP45 O error on when an l O error occurs For example an I O module is withdrawn from the base or an I O bus error is detected SP46 Communications on when a communications error has occurred on any of the CPU error ports SP47 1 O configuration on if an I O configuration error has occurred The CPU power up I O error configuration check must be enabled before this relay will be functional SP50 Fault instruction on when a Fault Instruction is executed SP51 Watch Dog on if the CPU Watch Dog timer times out timeout SP52 Grammatical on if a grammatical error has occurred either while the CPU is running error or if the syntax check is run V7755 contains the exact error code SP53 Solve logic error on if CPU cannot solve the logic SP54 Intelligent I O on when communications with an intelligent module has occurred error Accumulator Status Relays Counter Interface Module Relays Bd Special Relays SP60 Value less than on when the accumulator value is less than the instruction value SP61 Value equal to on when the accumulator value is equal to the instruction value SP62 Greater than on when the accumulator value is great
71. cters per ACON instruction with the Handheld programmer This is not the case with DirectSOFT which allows you to enter several per ACON instruction DirectSOFT also supports other characters not available on the handheld keypad ov el fa fa fe D e2 j tel 2i e 6 6 20 System Monitoring and Troubleshooting Example Message Program The following example figure demonstrates how to program a message using the Handheld Programmer Once you ve entered the program put the CPU in RUN mode and force X1 ON to log the message Press these Keystrokes D2 HPP Display Results q _ Enter the first contact STR X1 B STR gt 1 ENT NOP 2 Enter the PD always use the one shot when generating FAULT messages PD co P D SHFT oy SHFT a NOP A 2 ENT 3 Enter the control relay STR c 0 e gt Next Next ENT NOP 4 _Enter the FAULT instruction ES T FAULT Kl 5 0 ISG ANDST MLR gt 15 F ENT E he END EN nter the statement 5 Li rales NOP SHFT TB 3 ENT 6 Enter the DLBL instruction DLBL K 1 D L B L SHET 3 lanpsTti 1 ANDST NOP JP 7 ENT 7 Enter the ACON instruction and the first two letters ACON ACH A c o N NOP SHET 0 2 INST TMR
72. d program logic The following figure demonstrates how to access the Syntax check operation Press these keystrokes D2 HPP Display Results AUX 2 RLL OPERA Clear complete display screen AUX 21 CHECK PRO 4 CLR e cun To begin syntax check AUX 21 CHECK PRO 2 C P aux ENT 1 SYN 2 DUP REF Press ENT to select syntax check This operation may take a few minutes 00029 E401 depending on the size of your program MISSING END When syntax check is complete one of two displays will appear NO SYNTAX ERROR Each error is labeled with an Error Code when displayed Please refer to Chapter 6 for a complete listing of Error Code numbers Upon receiving an error message attempt correcting the problem and continue running the Syntax check until the message NO SYNTAX ERROR appears e 3 16 Entering Programs Duplicate Reference Check coil The following example below demonstrat a Duplicate Reference check Press these keystrokes You may also use Check Program Option 2 for multiple uses of the same output es howto access AUX 21 and perform D2 HPP Display Results 1 Clear complete display screen AUX 2 RLL OPERA CLR CLR CLR AUX 21 CHECK PRO 2 lobegin syntax check Aux 21 CHECK PRO SV IA AUX ENT 1 SYN 2 DUP REF 3 Position cursor on number 2 for DUP REF ch
73. d to PASSWORD RESET 00000000 A password may be re entered using AUX81 E601 Attempted to enter an instruction which required more memory than is MEMORY FULL available in the CPU E602 A search function was performed and the instruction was not found INSTRUCTION MISSING E604 A search function was performed and the reference was not found REFERENCE MISSING E610 The application program has referenced an I O module as the incorrect type BAD I O TYPE of module E620 An attempt to transfer more data between the CPU and Handheld OUT OF MEMORY programmer than the receiving device can hold E621 An attempt to write to a non blank EEPROM was made Erase the EEPROM EEPROM NOT and then retry the write BLANK E622 A data transfer was attempted with no EEPROM or possibly a faulty NO HPP EEPROM EEPROM installed in the Handheld programmer E623 A function was requested with an EEPROM which contains system SYSTEM EEPROM information only E624 A function was requested with an EEPROM which contains V memory data V MEMORY ONLY only E625 A function was requested with an EEPROM which contains program data PROGRAM ONLY only e 2 o pm o Z fo gt o Oo e a e 8 6 30 System Monitoring and Troubleshooting DL105 DL205 Description Error Code E627 An attempt to write to a write protected or faulty EEPROM was made Check BAD WRITE the write protect jumper and replace th
74. e you may switch between TEST RUN and TEST PGM modes The LED on the Handheld programmer is on while in the Test Mode The following figure shows how to select the Test Mode while in the Run mode Press these Keystrokes D2 HPP Display Results 1 Togo to Test Run mode MODE CHANGE MODE NEXT ENT GO TO PGM MODE 2 Press ENT to confirm TEST RUN Mode ENT MODE CHANGE GO TO T RUN MODE The TEST LED on the Handheld MODE CHANGE F programmer indicates that the CPU is in TEST Mode cpu T RUN Begin this example in PROGRAM Mode 1 You can return to Run Mode enter Program Mode or enter TEST PGM Mode by using the Mode Key MODE CHANGE CLR MODE NEXT NEXT ENT GO TO RUN MODE 2 Press ENT to confirm TEST PGM Mode MODE CHANGE ENT CPU T PGM Note the TEST LED on the Handheld indicates that the CPU is in TEST Mode Press the CLR key to exit Mode change WARNING The following items should be considered during Run Time Edits 1 If he program has any instruction syntax errors the CPU will not enter the Run Mode 2 If you delete an output reference while the output is ON the output will remain ON until it is forced OFF with a programming device 3 Input point changes are not acknowledged during Run Time Edits So if you re using a high speed operation and a critical input comes on the CPU may
75. e Calendar O O 81 Modify Password O O 53 Display Scan Time O O 82 Unlock CPU O O 54 Initialize Scratchpad O O 83 Lock CPU O O 55 Set Watchdog Timer O O 56 Set CPU Network Address X O 57 Set Retentive Ranges x O 58 Test Operations x O 59 Bit Override X O 5B Counter Interface Configu x O ration 5C Display Error Message X O History O supported x not supported HP Handheld Programmer function System Setup ELA Handheld The Handheld programmer has built in self checking diagnostics You can select Programmer the HPP Diagnostics with the AUX 65 function When the diagnostic operation is Diagnostics finished the main HPP diagnostic menu will be displayed You may execute any of the Diagnostics by pressing the ENT key The following example demonstrates using the D2 HPP Diagnotic operations Press these keystrokes D2 HPP display results 1 Clearcomplete display screen CLR CLR CLR 2 Selectthe Diagnostic operation G F AUX 6 5 AUX 6 HPP 3 Run Diagnostic operation AUX 65 RUN DIAG ENT 4 Tocontinue with next Diagnostic operation AUX 65 RUN DIAG NEAT 1 KEYPAD CHECK 5 Torun Diagnostic operation ENT AUX 65 RUN DIAG 6 This diagnostic will flash the LCD 2 DISPLAY CHECK display and all the LEDs NEA AUX 65 RUN DIAG T The EEPROM check willtestthe EEPROM 3 LED amp L
76. e EEPROM if necessary E628 The wrong size EEPROM is being used The DL230 and DL240 CPUs use EEPROM TYPE different size EEPROMs ERROR E640 A compare between the EEPROM and the CPU was found to be in error COMPARE ERROR E650 A system error has occurred in the Handheld programmer Power cycle the HPP SYSTEM Handheld programmer If the error returns replace the Handheld ERROR programmer E651 A ROM error has occurred in the Handheld programmer Power cycle the HPP ROM ERROR Handheld programmer If the error returns replace the Handheld programmer E652 HPP RAM ERROR A RAM error has occurred in the Handheld programmer Power cycle the Handheld programmer If the error returns replace the Handheld programmer DL105 DL205 Memory Map In This Chapter DL130 Memory Map Overview DL230 Memory Map Overview DL240 Memory Map Overview X Input Bit Map Y Output Bit Map Control Relay Bit Map Stage Control Status Bit Map Timer Status Bit Map Counter Status Bit Map DL130 DL230 System Memory DL240 System Memory A Ane DL105 DL205 Memory Map DL130 Memory Map Overview Memory Type Discrete Memory Word Memory Qty Symbol Reference Reference Decimal octal octal Input Points XO X177 V40400 V40407 128 XO Output Points YO Y177 V40500 V40507 128 Y
77. e discrete point by the CPU For example if you enable Bit Override for input X1 and X1 is OFF at the time then the CPU will not change the state of X1 This means that even if input X1 turns ON the CPU will not acknowledge the change So if you used X1 in the program it would always be evaluated as OFF in this case Of course if X1 was on when the bit override was enabled then X1 point would always be evaluated as ON WARNING Depending on your application forcing I O points may cause unpredictable machine operation that can result in a risk of personal injury or equipment damage The Force function is usually performed during troubleshooting only Be sure all I O is unforced when operation testing is done Bit Override e System Monitoring and Troubleshooting BL Using Force during As mention the Bit Override feature is not supported by all PLC models When using the Bit Override this does not disable using Regular forcing For example if you enabled the Bit Override for YO and it was off at the time then the CPU would not change the state of YO However you can still use a programming device to change the bit status Now if you use the programming device to force YO ON it will remain forced and the CPU program will not change the state of the YO output If you then force YO OFF the CPU will maintain YO in the OFF condition The CPU will never update the point with the results from the application program or from the I O update un
78. eck gt LE BUSY When Program Check is complete one of these two displays will appear 00012 E471 _ DP corn REF Error Display example No Duplicate Reference display NO DUP REFS 2 If a Duplicate Reference error occurs pleaser eferto Chapter 6 for a complete listing of Error Code numbers You should correct the problem and continue running the Duplicate Reference check until the message NO DUP REFS appears NOTE You can use the same coil in more than one location However the last occurrence of the element will take priority Consider the following example YO Ib Y1 YO ur ED Output previou Last occurrence has control Outputs are ON YO is turned off even though s conditions are still true Changing Programs In This Chapter Two Ways to Edit a Program Displaying a Program Finding a Specific Instruction Changing an Instruction Inserting an Instruction Deleting an Instruction Using Search and Replace Editing Programs During Run Mode 4 ane Changing Programs Two Ways to Edit a Program Editing Modes Program Mode Run Time Edit Mode DL205 Only To edit a program you may select either PROGRAM or RUN TIME EDIT mode The Program Mode is most commonly used for editing programs The Run Time Edit mode is helpful for very minor program changes or adjustments The Handheld programmer will
79. ential one shot instruction otherwise the message log buffer will repeat storing the same message over and over The following figure shows how the message display capability works Guard is Open PLC Reads CO eed Limit Switch X1 detects open guard Program Initiates Message FAULT Message Handheld programer displays the message co mi FAULT K1 2o00 eum HKGUARD Your CHKGU END 94 01 12 09 08 38 L message displayed here DLBL Data Label and ACON K1 instructions build the message 2 characters at a time ACON ACH ACON AKG pey ACON A UA ANONAN ANNONA lt lt AAA O AAA QOOJQO O OJODOO O O O O O O O O O Q O O O O O O O O O O O OQ OQ OCIOWOOMOOOO ACON ARD Message Instructions g e System Monitoring and Troubleshooting e 1y Atotal of 64 Message instructions may be programmed The messages can be upto 23 characters in length and contain both text and numeric values These messages are part of the RLL program and are displayed aut
80. er than the instruction value SP63 Zero on when the result of the instruction is zero in the accumulator SP64 Half borrow on when the 16 bit subtraction instruction results in a borrow SP65 Borrow on when the 32 bit subtraction instruction results in a borrow SP66 Half carry on when the 16 bit addition instruction results in a carry SP67 Carry when the 32 bit addition instruction results in a carry SP70 Sign on anytime the value in the accumulator is negative SP71 Invalid octal on when an Invalid octal number was entered This also occurs when number the V memory specified by a pointer P is not valid SP73 Overflow on if overflow occurs in the accumulator when a signed addition or subtraction results in a incorrect sign bit SP75 Data error on if a BCD number is expected and a non BCD number is encountered SP76 Load zero on when any instruction loads a value of zero into the accumulator SP100 XO is on X0 on when corresponding input is on SP101 X1 is on X1 on when corresponding input is on SP102 X2 is on X2 on when corresponding input is on SP103 X3 is on X3 on when corresponding input is on ie Ke D Q p D D D lt o Special Relays Communications Monitoring Relays wn gt amp oc iss s D Q 09 SP116 CPU on when the CPU is communicating with another device com
81. ered into the Handheld programmer INVALID INSTRUCTION E506 An invalid operation was attempted by the Handheld programmer INVALID OPERATION E520 An operation which is invalid in the RUN mode was attempted by the BAD OP RUN Handheld programmer E521 An operation which is invalid in the TEST RUN mode was attempted by the BAD OP TRUN Handheld programmer E523 An operation which is invalid in the TEST PROGRAM mode was attempted BAD OP TPGM by the Handheld programmer E524 An operation which is invalid in the PROGRAM mode was attempted by the BAD OP PGM Handheld programmer g e System Monitoring and Troubleshooting 6 29 DL105 DL205 Description Error Code E525 An operation was attempted by the Handheld programmer while the CPU MODE SWITCH mode switch was in a position other than the TERM position DL240 ONLY E526 The Handheld programmer is in the OFFLINE mode To change to the OFF LINE ONLINE mode use the MODE the key E527 The Handheld programmer is in the ON LINE mode To change to the OFF ON LINE LINE mode use the MODE the key E528 The operation attempted is not allowed during a Run Time Edit CPU MODE E540 The CPU has been password locked To unlock the CPU use AUX82 with the CPU LOCKED password E541 The password used to unlock the CPU with AUX82 was incorrect WRONG PASSWORD E542 The CPU powered up with an invalid password and reset the passwor
82. ered trademarks of Microsoft Corporation Windows and Windows NT are trademarks of Microsoft Corporation OPTOMUX and PAMUX are trademarks of OPTO 22 Copyright 1998 PLCDirect Incorporated All Rights Reserved No part of this manual shall be copied reproduced or transmitted in any way without the prior written consent of PLCDirect Incorporated PLCDirect retains the exclusive rights to all information included in this document Manual Revisions DEE If you contact us in reference to this manual be sure and include the revision number Title D2 HPP Handheld Programmer Manual Number D2 HP M Issue Date Effective Pages Description of Changes Complete User Manual Original Issue 2nd Edition Upgraded Firmware for DL105 amp DL205 Rev A 5 98 Manual Revisions Pages 2 10 3 7 4 7 Made minor corrections before reprinting Table of Contents Chapter 1 Getting Started Lpiigere e1 0c eret sete tekst Se iru tee oso TP T ETT T 1 2 D2 HPP Handheld Programmer cc isn cad pasate nae beeen weeEeE DUE LATER NE 1 2 Pulrpose or this mH Tas sooo and teer pra tto ego epe to erede Pee dtd vta artus 1 2 Who should read this manual 323 5 tous tER SERERE HR REMECIN EO ee HERECIE ER dE 1 2 Supplemental Manuals 000 cece ee ehh 1 2 Technctal SU ON 2 624 heh aot sett m ata an ane pM cO BI erat aaa at ieee piatto dd 1 2 Mea DES MEI 1 3 ADPCNGICES oir She eee tote KE E EPCCOU HS UE RD EP esx debate tad eet E
83. ers to be entered if selected Numeric Keys The numeric keys can be used to enter pr instruction identifiers and numbers for or constants Some instructions require E F 2 Hexadecimal numbers by pressing the SHFT key to access the alphabetic P p P characters A F Editing These keys are used to navigate edit Monitoring Keys create and search through the PLC program and data Gs The PREV and NEXT keys not only allow you to scroll through your program they REV ON also provide scrolling list of valid NS mnemonics data types while the cursor is positioned in the appropriate field location with the INST key While in status displays PREV and NEXT can be used to show the status of adjacent memory locations The CLR key can be used to exit entry operations and clear the display It may be necessary to press this key multiple times to clear the entire display The SHFT key will allow use of the secondary property located in the top left corner of the keys When the shift key is activated the character is displayed in the top right corner of the display screen FD REF FIND V7 CLR SHFT NEXT ENT J Mode Indicators The Mode LED s are located near the top of the Handheld programmer and indicate the CPU mode The figure below shows all possible LED status depending on the PLC mode selected For additional information see the section titled Changing
84. from CPU to HPP AUX 7 EEPROM HE Be AUX AUX 71 CPU HPP 2 To select CPU HPP ENT AUX 71 CPU HPP PGM V SYS etc 3 Io select PGM program press enter ENT AUX 71 CPU gt HPP 4 Else use the arrow key to choose other PGM V SYS etc area types then press ENT gt ENT AUX 71 CPU HPP 5 Enter the starting address to copy or press enter for default 00000 PGM PGM SYS ENT 6 Enter END program address C P U E E FROM RGM of press ENT to select the entire range lst 00000 e g DL130 DL230 default 02047 ENT CPU gt EEPROM PGM 7 Enter the destination EEPROM address END 02047 or press enter for default 00000 ENT CPU gt EEPROM PGM DIST 00000 Press CLR to exit AUX 71 Copy operation CPU gt EEPROM PGM 00000 02047 gt S8 This operation may take a few minutes depending on type and amount of data transferred CPU gt EEPROM PGM EEPROM 08K 01 This value will A increment OK If you are copying to an EEPROM which is not erased you will receive CPU gt EEPROM PGM this message EEPROM NOT BLANK WARNING Use extreme caution to prevent overwriting information during copy procedure Writing Programs to the CPU e Naming and Storing Programs NA The AUX 72 function allows data to be transferred from the Ha
85. function SCAN MAX MIN Fg Pa Aux ENT 0004 0030 0002 The CPU must be in PGM TEST PGM or Test Run mode before you can change the watchdog timer value Press these Keystrokes D2 HPP Display Results 4 Use AUX 55 to change the watchdog timer value AUX 55 WATCHDOG F amp s AUX ENT 0200 mSEC Current setting Entry location 2 Enter the new time value in milliseconds Bee ME Iis SENE AUX 55 WATCHDOG OK e 0 12 System Monitoring and Troubleshooting TEST RUN and TEST PGM Modes DL240 Only Test Mode allows you to maintain output status while you switch between TEST PGM and TEST RUN Modes and it allows you to trap a value in the middle of program execution You can select this operation by using the MODE key The primary benefit of using the TEST mode is to maintain certain outputs and other parameters when the CPU transitions back to Test Program mode For example you can use AUX 58 to configure the individual outputs CRs etc to hold their output state Also the CPU will maintain timer and counter current values when it switches to TEST PGM mode Different Test modes are available depending on the mode of operation you are in when make the selection request If the CPU is in Run Mode mode then TEST RUN is available If the mode is Program then TEST PGM is available Once you ve selected the TEST Mod
86. guration V7753 1 O Configuration Error stores the correct module ID code V7754 1 0 Configuration Error identifies the base and slot number V7755 Error code stores the fatal error code V7756 Error code stores the major error code V7757 Error code stores the minor error code V7760 V7764 Module Error stores the slot number and error code where an I O error occurs V7765 Scan stores the total number of scan cycles that have occurred since the last Program Mode to Run Mode transition V7666 V7774 Not used N A V7775 Scan stores the current scan time milliseconds N A V7776 Scan stores the minimum scan time that has occurred since the last N A Program Mode to Run Mode transition milliseconds V7777 Scan stores the maximum scan time that has occurred since the last N A Program Mode to Run Mode transition milliseconds A DL105 DL205 Memory Map AAT DL240 System V memory The DL205 CPUs reserve several V memory locations for storing system parameters or certain types of system data These memory locations store things like the clock calendar information analog potentiometer current values error codes and other types of system setup information System Description of Contents Default Values Ranges V memory V3630 V3707 The default location for multiple preset values for UP DWN and UP counter 1 N A or pulse catch function V3710 V3767 The default l
87. h and replace 4 9 timer counter 3 10 K Keypad keys 1 9 layout 1 8 L LED indicator status 1 10 Memory changing rententive range 2 11 initializing 2 8 retentive ranges 2 10 scratchpad 2 8 Message error code table 6 21 error codes 6 23 error history 6 22 error table 6 22 instructions 6 19 overview 6 18 program example 6 20 Mode program mode 3 4 selecting Run time Edit 4 11 selecting Run time Edit mode 4 10 selection 3 4 Monitor bit status 6 3 Monitoring CPU scan 6 11 pointer locations 6 10 timer counter values 6 10 V memory 6 9 N Networks combination example 3 9 combination logic 3 9 limitations 3 9 O Output bit map A 5 P Program ACON ASCII instructions 3 13 changing an instruction 4 6 clearing 2 8 comparision 5 10 display screen 4 3 duplicate reference check 3 16 editing a program 4 2 EEPROM backups 5 4 element types 3 4 entering a network 3 4 error checking 3 15 finding an instruction 4 5 Instructions 3 2 mnemonic instructions 3 2 naming a program 5 2 navigation 3 3 networks 3 2 password protection 5 2 run time edit 4 2 saving offline programs 5 11 searching start of program 4 4 storage 5 4 storage to EEPROM 5 4 syntax check 3 15 transfering from EEPROM to CPU 5 9 using instruction numbers 3 13 Programming counters 3 10 parallel branches in series 3 8 relational contacts 3 12 timers 3 10 two input timers 3 11
88. he date and the day of the week For example if you change the date to the 15th of the month and the 15th is on a Thursday you will also have to change the day of the week unless the CPU already shows the date as Thursday Use the following example to change any component of the date or time settings NOTE Verify the clock and calender is supported by your CPU before attempting to use this Auxiliary function Press these keystrokes 1 Clear complete display screen CLR CLR D2 HPP Display Results 2 Select AUX 57 F c CPU CFG CALENDER E AUX 5 AUX 52 5 2 3 Select date and clock display ENT AUX 52 CALENDAR 96 01 01 6 SAT 4 Enter new date if required gt l gt e e gt a Ul 5 To accept press ENT twice AUX 52 CALENDAR J6 01 02 7 SUN ENT ENT 6 Enter new time if required B C D A 1 2 3 0 AUX 52 CALENDAR TIME 00 06 00 T To accept new entry press ENT twice ENT ENT AUX 52 CALENDAR TIME 12 30 00 e The shaded area indicates cursor position 96 01 02 12 30 15 id Press the CLR key to exit date and clock function NOTE If the CPU is without power for an extended period of time a battery is required to maintain the proper date and time Entering Programs In This Chapter Entering Simple Ladder Programs C
89. hecking for Program Errors pone Entering Programs Entering Ladder Programs Purpose of Section Handheld Programmer Key Sequences Instruction Overview This section will demonstrate how to use the Handheld programmer for mnemonic programming The D2 HPP is commonly used for program changes and creating simple RLL programs Again for larger more complex PLC applications we recommend DirectSOFT our PC based programming software Basic knowledge of boolean logic and PLC programming is helpful to better understand the examples provided For more programming examples you should reference the appropriate DL105 or DL205 User Manuals for details on specific instructions The Handheld programmer will buffers all keystrokes until the ENT enter key is pressed The instruction syntax is checked for validity when the enter key is pressed If an instruction or data type is invalid an error message will be displayed For a complete listing of error messages please refer to Chapter 6 The Handheld programmer only allows mnemonic instruction programming A brief description ofthe most common used instructions are given below The combination in which the mnemonics are entered will determine the Relay Ladder Logic RLL network structure and result STR Stores a normally open element and indicates the beginning of a rung or network AND Joins one element such as a contact in series with another element or group of elements AND
90. ic Mnemonic Example Program XO X2 X5 YO ADDRESS INSTRUCTION our M x1 X3 X4 ER 00000 STR X0 7 n Change X5 element 00001 OR X1 X6 m EnD 00006 AND X5 00010 END f Changing Programs ane Inserting an Instruction You may insert mnemonic instructions by using the INS insert key Pressing the INS key places the instruction after the instruction that is being displayed You should first consider the desired location where to insert The insert function duplicates the instruction displayed and increments all remaining addresses You should then enter a the desired instruction and reference Use the following example to search and insert a new mnemonic instruction Press these Keystrokes D2 HPP Display Results E SEARCHING To Find insert location 1 Locate NOT X6 contact TR gt lfe FD REF AND 5 FIND 00006 ORSTR 2 Press INS key to begin insert operation 00007 AND X5 INS 3 Press ENT to confirm or CLR to exit INSERT INST ENT 00007 AND X5 4 Enter NEW instruction and element Vno gt ent 00007 AND X5 00008 AND X5 AND X5 AND X7 Equivalent Ladder Logic Mnemonic Example Program Add X7 00000 STR X0 X X2 X X7 Y o eis Location to 00001 OR XI Mire cd M search X x3 x erre e RR i i 00006 AND X5 X6 AND
91. in V3756 SP610 Current target value on when the counter current value equals the value in V3760 SP611 Current target value on when the counter current value equals the value in V3762 SP612 Current target value on when the counter current value equals the value in V3764 SP613 Current target value on when the counter current value equals the value in V3766 SP614 Current target value on when the counter current value equals the value in V3770 SP615 Current target value on when the counter current value equals the value in V3772 SP616 Current target value on when the counter current value equals the value in V3774 SP617 Current target value on when the counter current value equals the value in V3776 Index A Address searching 3 3 Auxiliary diagnostics 2 7 AUXiliary Function overview 2 6 B Beeper on off control 2 7 Bit Override display indicators 6 7 forcing 6 5 set reset 6 8 C Changing timer counter current values 6 10 V Memory 6 9 watchdog timer 6 11 Control Relay bit map A 6 Counter accumulating counters 3 10 counter status bit map A 8 CPU hardware clock 2 12 locking unlocking 5 3 mode change 2 4 mode description 2 3 network address 2 9 password protection 5 3 D Delete instruction 4 8 Display auxiliary displays 1 12 clearing 2 2 cursor control 2 2 scree
92. information System Description of Contents Default Values Ranges V memory V2320 V2377 The default location for multiple preset values for the UP counter N A V7620 V7627 Locations for DV 1000 operator interface parameters V7620 Sets the V memory location that contains the value VO V2377 V7621 Sets the V memory location that contains the message VO V2377 V7622 Sets the total number 1 16 of V memory locations to be displayed 1 16 V7623 Sets the V memory location that contains the numbers to be displayed VO V2377 V7624 Sets the V memory location that contains the character code to be displayed VO V2377 V7625 Contains the function number that can be assigned to each key V memory location for X Y or C points used V7626 Reserved for future use V7627 Reserved for future use V7630 Starting location for the multi step presets for channel 1 The default value is 2320 which indicates the first value should be obtained from V2320 Since there are 24 presets available the default range is V2320 V2377 You can change the starting point if necessary Default V2320 Range VO V2320 V7631 V7632 Not used N A V7633 Sets the desired function code for the high speed counter interrupt pulse catch pulse train and input filter Location is also used for setting the with without battery option enable disable CPU mode change and power up in Run Mode option Default 0000
93. ion system appears to have a problem you may use the Tool Handheld programmer to quickly debug both hardware and software Auxiliary functions when executed provide information to help diagnose PLC problems Here are a few examples of commonly used diagnostics available Program Diagnostics help locate instruction syntax errors and potential duplicate output referencing e I O Diagnostics displays I O errors and allows examination of special V memory locations This information may be viewed to help determine exact base and slot number having a problem Test Mode allows program logic to be verified without output status While changing between Test Program and Test Run modes the digital output conditions are controlled hes NEW I O CFG As a Low Cost The DL105 and DL205 CPU s allow embedded message instructions to be Message Log programmed in your control program The Handheld programmer displays the messages saved within the CPU message log If properly programmed the fault messages are automatically displayed when the Handheld programmer is connected to the CPU Please refer to the proper DL105 or DL205 User Manuals for examples on how to program these fault messages in your PLC system Program Initiates Message Handheld Displays Message FAULT Message Your message
94. itoring Relays SPO First scan on for the first scan after a power cycle or program to run transition only The relay is reset to off on the second scan It is useful where a function needs to be performed only on program startup SP1 Always ON provides a contact to insure an instruction is executed every scan SP3 1 minute clock on for 30 seconds and off for 30 seconds SP4 1 second clock on for 0 5 second and off for 0 5 second SP5 100 ms clock on for 50 ms and off for 50 ms SP6 50 ms clock on for 25 ms and off for 25 ms SP7 Alternate scan on every other scan SP11 Forced run mode on anytime the CPU switch is in the RUN position SP12 Terminal on when the CPU switch is in the TERM position and the CPU is in run mode the RUN mode SP13 Test run mode on when the CPU switch is in the TERM position and the CPU is in the test RUN mode SP15 Test program on when the CPU is in the TERM position and the CPU is in the TEST mode PROGRAM MODE SP16 Terminal on when the CPU switch is in the TERM position and the CPU is in program mode the PROGRAM MODE SP20 Forced on when the STOP instruction is executed stop mode SP22 Interrupt enabled on when interrupts have been enabled using the ENI instruction SP40 Critical error on when a critical error such as I O communication loss has occurred SP41 Warning on when a non
95. lating Timers two Inputs Entering Programs E This example demonstrates how to program a Accumulating Timer with a preset of 5 seconds The timer discrete status bit TO contact will energize when the timer has timed for 5 seconds The timer will reset when input X1 turns on turning the timer discrete status bit off and resetting the timer current timed value to zero Press these keystrokes HPP Display Results Continue program 1 To enter timer start Input conact entry here OUT YO sull ls END T ter th tl t t 2 enter the reset Input conac oUT YO STR gt B1 ENT STR xO 3 Select Timer type and reference number ime SFT o xs STR XO 4 Enter Timer preset STR X1 utes ENT STR X1 B Begin new network with Timer status bit contact TMRA TO K50 T A sm 997 mur 0 ENG 6 Enter Output Coil YO STR TO SUR gt A ENT OUT Y 0 7 Enter END OUT YO sur 4 ma P 3 ENT END Equivalent Ladder Logic END xo NOP TMRA TO K50 xi TO Yo OUT 47 END S 12 Entering Programs Entering Relational Relational contacts may be used to compare various types of information For Contacts example you may want to compare the current value of a timer with a constant value K Me
96. lay Results 00000 STR X0 D2 HPP Display Results 00010 OUT Y6 S indicates OFF When in RUN or TEST RUN mode 00011 STR X6 Z Solid fill indicates ON When in RUN or TEST RUN mode f Changing Programs 479 Finding Instructions The Handheld programmer may search instruction or reference numbers using the Find function Use the FIND key to search an instruction or specific reference number To select different instruction types press the NEXT PREV keys during operand entry After completing the entry press the FIND key to begin search You may search any instruction type used within your PLC program The following figure demonstrates how to search the instruction STR X1 using the Find function Finding Specific Press these keystrokes HPP Display Results Reference 1 Clear complete display screen CLR CLR CLR 2 To find a instruction type and reference D STR gt 3 i FIND STR X1 Press the NEXT PREV key after the right arrow key to select different references 00002 STR X0 00003 STR X1 To Search Specific Reference Clear complete display screen 1 cir cir CLR To find specific reference number X F FD REF SET 5 SHIFT FIND 2 SHFT X5 00005 ORS TR 00006 AND X5 If the memory reference or instruction i
97. ld programmer keypad is organized into four key groups as defined Keys below Operation keys used to call AUX functions change programmer CPU modes monitor status and save program changes Instruction Data type keys used to select the instruction and data type Numeric keys used to enter values in various formats BCD decimal octal HEX Editing Monitoring keys used to move through the program search delete etc RUN TEST PGM OFFLINE F Direct D2 HPP 7654321076543210 DL205 HANDHELD PROGRAMMER with RLL 5 by Koyo Operation Keys AUX MODE CPU STAT SAVE se ern tpn our cnr Instruction and Data Type Keys Alpha Numeric Keys EN Editing or monitoring E F G oF Keys 1 2 3 PREV ON E a A S E B A B B A B G B E B B G B A G E B y B y B A B N B a B G B E B G B G B A B E B E M 0 CLR SHFT NEXT ENT A As you examine the keys you ll notice some of the keys have more than one label The top label describe
98. ll be on and the error code will be stored in V7755 REFERENCE E423 Nested loops programming one FOR NEXT loop inside of another is not NESTED LOOPS allowed in the DL240 series SP52 will be on and the error code will be DL240 ONLY stored in V7755 E431 An ISG or SG must not be programmed after the end statement such as in a INVALID ISG SG subroutine SP52 will be on and the error code will be stored in V7755 ADDRESS E432 A LBL that corresponds to a GOTO instruction must not be programmed after INVALID JUMP the end statement such as in a subroutine SP52 will be on and the error GOTO ADDRESS code will be stored in V7755 DL240 ONLY E433 A SBR must be programmed after the end statement not in the main body of INVALID SBR the program or in an interrupt routine SP52 will be on and the error code will ADDRESS be stored in V7755 DL240 ONLY E435 A RT must be programmed after the end statement not in the main body of INVALID RT the program or in an interrupt routine SP52 will be on and the error code will ADDRESS be stored in V7755 DL240 ONLY e 2 o pm o eX I gt el Oo e a e e 0 20 System Monitoring and Troubleshooting DL105 DL205 Description Error Code E436 An INT must be programmed after the end statement not in the main body of INVALID INT the program SP52 will be on and the error code will be sto
99. monics program using the Handheld programmer Both methods of programming have advantages and can easily be used together or independently to support your PLC application Once again if you are creating a large program it is recommended that you use DirectSOFT which is better suited for the development environment Handheld Programmer CT un n n nn N TEST Mirectpo upp LOGIC 7654321076543210 DL205 HANDHELD PROGRAMMER with RLL by Koyo MODE CPU STAT SAVE SP ex GY STR STRN OUT CNT w x AND ANDN SET MLS R OR ORN RST MLR K M N o ANDST ORST TMR INST D J ANOAANAANN ANNAN AAA lt lt DODE eno E 4 F 5 Pe gt or Py P2 um PREV p fo CLR SHFT NEXT ENT DirectSOFT Handheld RLL Mnemonics s 50 STR X3 OR X4 SET Y50 The Handheld programmer may be used to monitor memory status of the PLC system The memory locations such as V memory I O information timer counter values and system data may be selectively examined The monitor status functions are performed in either Test Run and Run modes These monitoring modes help confirm all PLC conditions Details on how to use the Handheld programmer to monitor your PLC system are described in later chapters Getting Started 1 5 As a Debugging If your PLC automat
100. mory location V2000 V 2001 V 2000 suT up o a 2 s Ja K1234 3 Press ENT to enter new value zm V 2001 V 2000 4552 1234 U 6 10 System Monitoring and Troubleshooting Monitoring Pointer Locations Data in V memory locations may be used to indirectly reference other memory locations this is also known as using pointers You may monitor Pointer Memory locations on the Handheld programmer by accessing the P data type when using the STAT key In our example V2000 has the value of 0 and V 2001 has the value of 100 both values are in octal At address VO the value is 1111 and at V100 the value is 2222 When the status display is called with the pointer P2000 the values stored in memory locations VO and V100 will be displayed since the addresses stored in V2000 and V2001 point to these respective locations Press these Keystrokes D2 HPP Display Results 1 To display the status P2000 and P2001 P2001 P2000 Ser i esee ae ag Ieo srr 2222 1111 For Pointers containing an invalid address the value displayed on the screen will be Monitoring Timer Counter Values Timer and Counter current values are mapped into V memory locations and may be displayed the same as any V memory location the Handheld programmer also provides specialized displays to monitor the status of the Timer and Counter current values and associated status bits Appendix A provides a c
101. mory or a V memory register value There are several types of compare operations that can be programmed such as less than greater than etc See the DL105 or DL205 User Manual for more details on all relational contact instructions The following example demonstrates how to program a greater than or equal to relational contact Press these keystrokes D2 HPP Display Results Continue entry OUT YO q Enter first compare reference nees i ern Z SHT NT A 0 ENIR 2 Select constant reference to compare OUT YO se ee LeNS STR TO K100 3 Enter Ouput coil YO GX A ENT S T R T 0 K 1 0 0 our gt 0 OUT Y0 4 Begin second Compare network and reference e gt SHFT din ae OUT YO STR TO V2000 B Enter compare V Memory reference V C A A A gt SHFT AND 2 0 0 0 STR TO V2000 ENT 6 Enter Output Coil Y1 cote ieee Iie a odd STR TO K100 OUT YO Equivalent Ladder Logic YO TO K100 E xd our TO Hr YI OUT gt END 605 X Entering ASCII Characters Using the INST key Entering Programs 9 13 The DL105 and DL205 allow you to enter ASCII characters as part of the ACON instruction used for messages An overview of the ACON instruction is provided in Chapter 6 of this manual The example below show
102. mory chips Appendices A System Monitoring and Troubleshooting DL105 DL205 Memory Map provides an overview of the various features used to monitor and troubleshoot your PLC system Additional reference information is in the following two appendices Appendix A provides a detailed listing of the DL105 DL205 memory map for I O timers counters etc Special Relays Appendix B lists the special relay contacts which are available to the ladder program to indicate system status error condi tions instruction execution results etc How can I use the Handheld As a Programming Tool To Monitor Machine Operations The D2 HPP handheld programming unit is convenient for on site setup maintenance and minor PLC program changes With the Handheld programer you can change almost any system setting within the PLC These settings include l O configuration retentive memory range selection clock and calender setup and many more The Handheld programmer may be used to program the complete DL105 and DL205 PLC systems The unit only allows programming the PLC with instruction mnemonics Mnemonics are commands and operand data which will be processed by the CPU Both on line and off line features will be described in detail within this manual The diagram to the right shows ladder logic which was programmed using the PC based DirectSOFT programming software and the equivalent mne
103. munication SP120 Module busy on when the communication module in slot 0 is busy transmitting or Slot 0 receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP121 Com error on when the communication module in slot 0 of the local base has Slot 0 encountered a communication error SP122 Module busy on when the communication module in slot 1 of the local base is busy Slot 1 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP123 Com error on when the communication module in slot 1 of the local base has Slot 1 encountered a communication error SP124 Module busy on when the communication module in slot 2 of the local base is busy Slot 2 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP125 Com error on when the communication module in slot 2 of the local base has Slot 2 encountered a communication error SP126 Module busy on when the communication module in slot 3 of the local base is busy Slot 3 transmitting or receiving You must use this relay with the RX or WX instructions to prevent attempting to execute a RX or WX while the module is busy SP127 Com error on when the communication module in slot 3 of the local base has Slot 3 encountered a communic
104. n format 1 10 test run display 1 12 Displaying program 4 3 DL130 memory map overview A 2 DL230 memory map overview A 3 DL240 memory map overview A 4 E Editing in the Run mode 4 11 modes 4 2 programs during Run mode 4 10 EEPROM checking EEPROM size 5 6 compare to CPU 5 10 EEPROM blank check 5 6 erasing EEPROM 5 7 installation 5 5 location 5 4 program backups 5 7 program upload 5 9 saving programs 5 4 selecting memory to copy 5 8 verification 5 11 operations with a DL105 5 5 Element compare 3 12 parallel branch 3 6 series parallel 3 7 Entering combination logic 3 9 elements in parrallel 3 6 elements in series 3 5 normally closed elements 3 5 octal hex numbers 3 14 parallel branches 3 8 parallel elements 3 6 series elements in parallel 3 7 Error Code message list 6 23 F Find instruction type 4 5 specific reference 4 5 Force bit force with direct access 6 6 bit force with status 6 6 bit status 6 4 direct bit forcing 6 7 discrete I O points 6 4 during bit override 6 5 Forcing decrete bit 6 4 I O configuration 2 5 diagnostics 6 17 monitoring 6 3 Input bit map A 5 Insert inserting instruction 4 7 Instruction ASCII character 3 13 changing an instruction 4 6 delete 4 8 element type 3 3 insert key 4 7 load address LD LDA 3 14 message instruction 6 18 number 7 3 13 octal hexadecimal 3 14 Overview 3 2 search 3 3 searc
105. n the front of this manual Quick Guide to Contents chapter summary listing on the following page Appendices reference material for key topics Index alphabetical listing of key words at the end of this manual You can also check our online resources for the latest product support information Internet the address of our Web site is http www plcdirect com Bulletin Board Service BBS call 770 844 4209 If you still need assistance please call us at 800 633 0405 Our technical support group is glad to work with you in answering your questions They are available Monday through Friday from 9 00 A M to 6 00 P M Eastern Standard Time If you have a comment or question about any of our products services or manuals please fill out and return the Suggestions card that was shipped with this manual Chapters The main contents of this manual are organized into the following six chapters Getting Started Getting Started 1 5 provides an overview of the Handheld Programmer and provides general specifications D2 HPP Setup provides as overview on general Handheld Programmer features and how to use them Entering Programs discusses all the operations used to enter a program Changing Programs shows you how to edit an existing program Naming and Storing Programs discusses using program names password protection and how to store programs on EEPROM me
106. n use AUX 56 from the Default 2 9600 baud Handheld Programmer or use DirectSOFT to set the port parameters if Range 0 300 9600 baud is unacceptable 1 1200 2 9600 3 19 2K V7633 Sets the desired function code for the high speed counter interrupt pulse Default 0000 catch pulse train and input filter Location is also used for setting the Lower Byte Range with without battery option enable disable CPU mode change and power up Range 0 None in Run Mode option 10 Up 20 Up Dwn 30 Pulse Out 40 Interrupt 50 Pulse Catch 60 Filtered Dis Upper Byte Range Bits 8 11 13 15 Unused Bit 12 With Without Batt Bit 14 Mode chg enable V7634 Contains set up information for high speed counter interrupt pulse catch Default 0000 E D 3 fe lt D o lt lt D DL105 DL205 Memory Map ES t fed gt O Q s gt tes e E fod i gt System Description of Contents Default Values Ranges V memory V7635 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train output and input filter for X1 when D2 CNTINT is installed V7636 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train output and input filter for X2 when D2 CNTINT is installed V7637 Contains set up information for high speed counter interrupt pulse catch Default 0000 pulse train outpu
107. ndheld programmer EEPROM to the CPU memory The table below shows the different types of information which may be copied Option and Memory Type DL240 Default Range DL130 DL230 Default Range 1 PGM Program 00000 02559 00000 02047 2 V V memory 00000 4777 00000 04777 3 SYS System Non selectable copies a Il system parameters 4 etc ALL Program System and non volatile V memory only Non selectable Non selectable Press these Keystrokes D2 HPP Display Results 1 Use AUX 72 to copy memory from HPP to CPU AUX 7 EEPROM H e aux AUX 72 HPP gt CPU 2 To select HPP CPU copy function w AUX 72 HPP gt CPU PGM V SYS etc 3 To select PGM press enter ENT AUX 72 HPP gt CPU _ Else use the arrow key to position cursor i and select area desired by pressing ENT PGM PGM SYS gt ENT EccL CET i EEPROM gt CPU PGM nter the starting address area to copy 5 or press enter for default 00000 1st 00000 ENT 6 Enter END address to copy EEPROM gt CPU PGM or press enter to select entire range END 02047 DL130 DL230 default 02047 ENT EEPROM gt CPU PGM 0 0000 0204 7 2 Press CLR key to exit AUX 72 function e This operation may take a few minutes depending EEPROM gt CPU PGM on amount and type of data
108. not allow changing from Program Mode to Run Modes if no program exists or program is missing the END command This section begins with explaining the Program Mode and later discusses how to use the Run Time Edit mode In the Program Mode you can insert edit change and delete mnemonic instructions To enter a new network you must carefully place the new instructions at the END or between the existing networks after an OUT During the Program edit mode the DL105 and DL205 CPU does not execute the application program preventing unexpected machine control while editing the PLC program The DL240 CPU will allow you to edit programs during Run Time Edits mode While in the Run Time Edits mode most of the Handheld programmer functions operate the same as Program mode For example you can use the same techniques to search for a specific instruction search for a specific address etc However you cannot use Search and Replace during Run Mode More details Run Time Edit mode are discussed later in this chapter The figure below shows the LED indicator status for the Program and Run Time Edit modes Run Time Edit Program Mode LED FLASHES and all other This LED is ON and all other LED s are OFF LED s are OFF aT RUN TEST PGM OFFLINE F Direct D2 HPP 7654321076543210 DL205 HANDHELD PROGRAMMER with RLL Sby Koyo E E AUX MODE CPU STAT SA
109. nt target value on when the counter current value equals the value in V3722 SP572 Current target value on when the counter current value equals the value in V3724 SP573 Current target value on when the counter current value equals the value in V3726 SP574 Current target value on when the counter current value equals the value in V3730 SP575 Current target value on when the counter current value equals the value in V3732 SP576 Current target value on when the counter current value equals the value in V3734 SP577 Current target value on when the counter current value equals the value in V3736 SP600 Current target value on when the counter current value equals the value in V3740 SP601 Current target value on when the counter current value equals the value in V3742 SP602 Current target value on when the counter current value equals the value in V3744 SP603 Current target value on when the counter current value equals the value in V3746 SP604 Current target value on when the counter current value equals the value in V3750 SP605 Current target value on when the counter current value equals the value in V3752 SP606 Current target value on when the counter current value equals the value in V3754 SP607 Current target value on when the counter current value equals the value
110. nt The SORE Handheld programmer is not ideal for entering large complex PLC programs In this case please consider using 7 DirectSOFT our PC based programming software P E AOO NONOONNONNNNNNANANNAANANANAAA goa 3s 2518 P 31 a 6 8 2 gs cs 93 3 25 29 EBENE 2 zo 82138 ESIE IEI 2 ee BR ER SK GS 2 8 This manual provides information on the D2 HPP capabilities and how to operate the Handheld programmer Although this manual does not cover all instructions possible with the Handheld programmer it should detail all key features and how they should be used This manual is a reference manual for the D2 HPP Handheld programmer not a tutorial on the DL105 DL205 instruction set or system operations It is intended for new user to become familiar with using the D2 HPP features and functions The DL105 and DL205 User Manuals may occasionally be referenced by this manual As you become more efficient with the Handheld Programmer this manual may not be absolutely necessary but it may useful as a reference on procedures and related subjects We realize that even though we strive to be the best we may have arranged our information in such a way you cannot find what you are looking for First checkthese resources for help in locating the information Table of Contents chapter and section listing of contents i
111. o Search END instruction 00067 MOV V1000 Ea Mma P s EST ena 00069 END SHFT All programs require a END command To enter the END instruction press the following keys Press these keystrokes To program END instruction E N D 4 TMR 3 1 SHFT ENT SoA Entering Programs Program Mode Entering a Simple Network Selecting Different Element Types The Program Mode is most commonly used to enter program instructions After entering instructions the changes are not executed until the CPU is placed in the Run mode This will prevent unexpected machine operation which may be caused by changes which are performed With the Handheld programmer connected to the CPU press the MODE key to selectthe Mode Change display You may access the various modes by pressing the NEXT and PREV keys while viewing the Mode Change display To change to program mode follow the example below Press these keystrokes D2 HPP Display Results 1 To change modes MODE CHANGE MODE NEXT PREV ENT ENT Mode to GO TO PGM MODE Select All programs begin starting at instruction address 00000 Use the STR store key to start programming your first network which contains a normally open contact element and output coil The following will create a simple Store network
112. o eie ere ae ote ieee eas ae lee eee 3 15 Error TNS CU MN aaa A moth teer ast tee ce AR Re Restate has Su tue ear eth d cta d RE ate 3 15 Syntax Check eto bL eS REC E OCURRE RULES CODO IECUR eU LL E RE 3 15 Duplicate Reference Check 0 00 cece een en 3 16 Chapter 4 Changing Programs Two Ways to Edit a Program iuter o kem wae de ce o gene on aca Vi ba aci RC t OR ere are 4 2 Editing MOUSS c5 edocti ti eee ete been eer cine e eda ate ce ete he tine 4 2 Program Mode sa toit cs ca E eter Sr eet audi ac e ak RR etuer ata an deu 4 2 Run Time Edit Mode s exin ex ru Hp Ro tuor ov Hos d ADR OR OA ORB Raitt dows i a 4 2 Displaying Program cba no iR OR RACER A RR RR RUE FRA WR eR he uis QUE ROCA COE Gea Aa o ACER a 4 3 Searching a Program Address ues be IR irene te Sake ES DAT E ERE Sa epe 4 4 Searching Start OF Program oos ena poets Qe EE uet ape bd Gee eee 4 4 Table of Contents BL Finding Instructions iios ree oe De eee i Ud leat etd e Va eri dA d tic ale weer dace 4 5 Finding Specific Reference con uo Desde Bero Mes Debe oA ete eec doi Mesa a 4 5 Changing an Instruction sivi s vende EORR ELERXR EX RR Ghee Due a ek EXTA RERUDE REI 4 6 Preparing Mode for Changes i sco reete ber E RE REPERE RU E EE RI EUER EDU EER 4 6 Inserting am Instruction scio acid aceite races ace ict es o RO RC Ora n ior aCe ws bo RU ice aacra ac nn 4 7 Deleting an Instr ctlOh 5 n oma o inca a C NOE jR RR x RR nan tates mee REOR BER OR RE 8
113. ocation for multiple preset values for UP DWN and UP counter 2 N A V3770 V3773 Not used N A V3774 V3777 Default locations for analog potentiometer data channels 1 4 respectively Range 0 9999 V7620 V7627 Locations for DV 1000 operator interface parameters pulse train output and input filter for XO when D2 CNTINT is installed V7620 Sets the V memory location that contains the value VO V3760 V7621 Sets the V memory location that contains the message VO V3760 V7622 Sets the total number 1 16 of V memory locations to be displayed 1 16 V7623 Sets the V memory location that contains the numbers to be displayed VO V3760 V7624 Sets the V memory location that contains the character code to be displayed VO V3760 V7625 Contains the function number that can be assigned to each key V memory location for X V7626 Reserved for future use Y or C points used V7627 Reserved for future use V7630 Starting location for the multi step presets for channel 1 Since there are 24 Default V3630 presets available the default range is V3630 V3707 You can change the Range VO V3710 starting point if necessary V7631 Starting location for the multi step presets for channel 1 Since there are 24 Default V3710 presets available the default range is V3710 3767 You can change the Range VO V3710 starting point if necessary V7632 Contains the baud rate setting for Port 2 You ca
114. ocations with different values Monitor Timer Counter Values to adjust machine timing elements e Monitor CPU scan time in milliseconds view the maximum minimum and current scan times to adjust scan related problems Use Test Modes to examine output status e Use I O Diagnostics to pinpoint I O errors Understand Error Codes to utilize many automatic error checks Understanding the The Monitor Status display may be selected by pressing the STAT key You may Status Monitor scroll status options using the NEXT PREV keys Some options may require the Options Handheld programmer to be on line The displays may change format depending on the CPU mode selected when the Status display operation is performed Example displays for Monitor Status options MONITOR SELECT MONITOR SELECT 16P STATUS TRAP WORD STATUS 7 654 32 1076543210 7 654 32 1076543210 Test Run Mode Only MONITOR SELECT MONITOR SELECT WORD STATUS T c CUR STATUS 7 654 32 1076543210 7 654 32 1076543210 MONITOR SELECT MON Future ELECT TRAP 16PT STATUS INTELLIGENT I O 7 654 32 1076543210 7 654 32 1076543210 Test Run Mode Only HINT The Handheld programmer will buffer up to 5 Status displays which may be scrolled by just pressing the STAT key You can also scroll the display to adjacent memory locations by pressing the PREV and NEXT keys e System Monitoring and Trouble
115. ode V7756 Error code stores the major error code V7757 Error code stores the minor error code V7760 V7764 Module Error stores the slot number and error code where an I O error occurs V7765 Scan stores the total number of scan cycles that have occurred since the last Program Mode to Run Mode transition V7766 Contains the number of seconds on the clock 00 to 59 V7767 Contains the number of minutes on the clock 00 to 59 V7770 Contains the number of hours on the clock 00 to 23 v7771 Contains the day of the week Mon Tue etc V7772 Contains the day of the month 1st 2nd etc V7773 Contains the month 01 to 12 V7774 Contains the year 00 to 99 V7775 Scan stores the current scan time milliseconds V7776 Scan stores the minimum scan time that has occurred since the last Program Mode to Run Mode transition milliseconds V7777 Scan stores the maximum scan time that has occurred since the last Program Mode to Run Mode transition milliseconds Special Relays In This Chapter DL130 DL230 CPU Special Relays DL240 CPU Special Relays d Special Relays DL130 DL230 CPU Special Relays Startup and Real Time Relays CPU Status Relays wn gt amp oj a iss si D Q 09 System Monitoring SPO Fir
116. omatically on the Handheld Programmer during RUN mode There are several instructions that are used to build operator messages Detailed explanations of the following instructions are included in the DL105 and DL205 User Manual e FAULT the Fault instruction is an output box instruction that lets the program know which message to display e DLBL the Data Label instruction is included after the END statement and notes the beginning of a message e ACON the ASCII Constant instruction is used as an output box for the ASCII portion of the message You can also display the contents of a V memory location instead of ASCII text e NCON the Numeric Constant instruction is used as an output box for any numeric constant portion of the message e MOVMC DL240 only the Move Data Label to V memory Area instruction is used to embed variables such as timer or counter values into a text message This Example message program will log message CHKGAURD on the Handheld programmer wehn X1 input i X1 CO CPD C0 FAULT KT FAULT Message END DLBL _ Data Label and ACON KT instructions build the message NOTE Itis much easier to enter text message programs with DirectSOFT than itis with the Handheld Programmer This is because you can only enter two ASCII chara
117. ommunication parameter settings The following example demonstrates how to use the AUX 56 function Press these keystrokes D2 HPP Display Results 1 Clear complete display CLR CLR CLR 2 To select the diagnostic operation j G AUX AUX 5 CPU CFG 5 6 AUX 56 CPU N W A 3 _To change the network address ENT AUX 56 CPU N W A 4 Type new address number N W 01 1 90 5 _To save the newly entered address AUX 56 CPU N W A aul N W 01 02 6 To select communications mode use arrow keys to move cursor position Kz T To save communications mode AUX 56 CPU N W A HEX ASCII ENT AUX 56 CPU N W A 8 _To select communications parity NONE ODD E 9 To save communications parity AUX 56 CPU N W A ENT 9600 19 2 10 To select communications parity gt AUX 56 CPU N W A OK e Press the CLR key to exit the AUX 56 function Shaded box indicates cursor position J 2 10 System Setup Retentive Memory Ranges The DL105 and DL205 CPU s all contain Retentive memory Retentive memory is memory ranges which may store information in case of power loss A super capacitor will maintain latest register values in case of short period CPU power loss or failure If retentive memory ranges are important in your application make sure to install a optional backup battery
118. omplete listing of the memory map for the DL105 and DL205 PLC s The display for the timer is similar in form to the one shown for the counter Press these Keystrokes D2 HPP Display Results q To display the status of CT16 CT17 CT 17 CT 16 stat PREV PREV PREV ENT 0005 0050 NEXT B G ENT 1 6 Counter bit is OFF A Counter bit is ON Changing Timer Counter Current Values To change Timer and Counter current values is much the same as changing V memory Press these Keystrokes D2 HPP Display Results 1 To enter a new counter current value CT 17 CT 16 suere 9 ENT 0005 0000 Monitoring the CPU Scan Time To Change Watchdog Timer e System Monitoring and Troubleshooting 6 11 The DL105 and DL205 CPU s have a Watchdog Timer that is used to monitor the scan time The default value set from the factory is 200 ms If the scan time exceeds the watchdog time limit the CPU automatically leaves RUN mode and enters the PGM mode The Handheld programmer displays the following message E003 S W TIMEOUT when the scan overrun occurs You can use AUX 53 to view the minimum maximum and current scan time Use AUX 55 to increase or decrease the Watchdog timer value e 2 o p i o Z c I 2 o Oo e a Press these Keystrokes D2 HPP Display Results 1 To call AUX 53
119. ons concerning the installation or operation of this equipment or if you need additional information please call us at 1 800 633 0405 This publication is based on information that was available at the time it was printed At PLCDirect we constantly strive to improve our products and services so we reserve the right to make changes to the products and or publications at any time without notice and without any obligation This publication may also discuss features that may not be available in certain revisions of the product Trademarks This publication may contain references to products produced and or offered by other companies The product and company names may be trademarked and are the sole property of their respective owners PLCDirect disclaims any proprietary interest in the marks and names of others Stage is a trademark of Koyo Electronics Industries Co LTD Think amp Do Software is a trademark of Think amp Do Software Inc Texas Instruments is a registered trademark of Texas Instruments Inc TI TIWAY Series 305 Series 405 TI305 and T1405 are trademarks of Texas Instruments Inc Siemens and SIMATIC are registered trademarks of Siemens AG GE is a registered trademark of General Electric Corporation Series One is a registered trademark of GE Fanuc Automation North America Inc MODBUS is a registered trademark of Gould Inc IBM is a registered trademark of International Business Machines MS DOS and Microsoft are regist
120. or example the LDA Load Address instruction requires an octal number for the address reference Also you may want to load a hexadecimal value into the accumulator The following example demonstrates how to enter octal and hexadecimal numbers using the Handheld programmer For specific instruction information and optional number formats please refer to the DL 105 and DL205 User Manuals Press these keystrokes D2 HPP Display Results To enter LDA instruction 1 SH T anost s o gt LDA 02000 Type Octal number c A A A LDA 02000 2 2 0 0 0 Save entry g ENT Press these keystrokes D2 HPP Display Results To enter LD instruction 1 SFT lanost s gt _ PREV LD K12F Type Hexadecimal number 2 P ea Isher Ig LD K12F Save entry NOP 3 ENT Equivalent Ladder Logic LDA LA Octal Address 02000 LD Hexadecimal Address KIF END Entering Programs 9 19 Checking for Program Errors Error Checking Syntax Check 3 ENT BUSY The Handheld programmer may also check your program for errors You may choose two different types of program error checking e Syntax errors check e Duplicate References check Use the AUX 21 function to select the CHECK PROGRAM operation Operation 1 performs a syntax check on the entere
121. orce Y10 ON BIT FORCE ser gt J o SH T ms SET Y10 E 2 Set Bit Override OFF and Force Y10 ON This marker indicates Override Bit is ON x B A OFF SET gt 1 0 SHE DEL BIT F O R C E 3 To Reset Bit Override OFF and turn Y10 ON SET Y10 AST s 1 9 SHET NS BIT FORCE 4 To Reset Bit Override OFF and turn Y10 OFF RST Y10 u ast 2 dos o SHT bet BIT FORCE e Inthe example above use the NEXT and RST Y10 PREV keys to move to adjacent memory locations System Monitoring and Troubleshooting Bit Override The AUX 59 function may be used to Set or Reset either a single point or a group of DL240 Only data points The default is the entire data range for the specified data type To change the default enter a data type and address The figure below shows how to set the override bit on for Y10 to Y20 Press these Keystrokes D2 HPP Display Results 1 _To Select Aux 59 Bit Override Function AUX 59 BIT OVRID s Jo Ax J ENT PT AREA 2 To Select Area option gt ENT 3 Enter Data type and Starting Reference Address or Press ENT to accept displayed defaults B A ERT aux 59 BIT OVRID Y BEEN 1st X0000 Y10 AUX 59 BIT OVRID PT AREA SHFT 4 Enter Ending Reference Address or Press ENT to accept displayed default Sisi re ae do ENT AUX 59 BIT OVRID END YO477 Y20
122. orcing function e System Monitoring and Troubleshooting ert Bit Override Override bit indicators are also shown on the Handheld programmer status a Indicators display Below are the keystrokes to call the status display for Y10 Y20 Press these Keystrokes D2 HPP Example Display 3 1 Todisplay the status of Y10 Y20 Y 20 Y 10 H STAT ENT next B 2 ENT E I o 8 4 6 5 4 73 2 07 6 s 2 10 E Override bit is ON Point is ON NOTE Take care not to confuse the Override Bit marker with the marker used when Test Operations have been set for a point The Override Bit marker is on the left side below the status bit Direct bit Forcing The following figures demonstrate how to use Direct Bit Forcing The Bit force DL240 ONLY function is helpful to determine if your PLC I O is responding according to the ON OFF condition NOTE This example uses Y10 for demonstration purpose Please insure to use a memory reference which may be forced safely in your PLC Forcing I O Bits may change your control program outputs which can cause personal injury or equipment damage on your PLC system Press these Keystrokes D2 HPP Display Results 1 _To Set Bit Override ON and F
123. ould be reduced to C177 thru C300 You should always enter desired memory ranges in Octal numbers e g xxx0 xxx7 The following figure demonstrates changing the Retentive memory range as described Press these keystrokes 1 Clear entire display screen CLR CLR CLR 2 Select AUX 57 function H F 5 7 AUX 3 To change memory range ENT 4 Enter new start address B H H 1 7 7 5 Accept entry ENT 6 Enter new end address D A A 3 0 0 T Accept entry ENT s Press ENT to continue with other memory types Press CLR to exit AUX 57 function D2 HPP Display Results AUX 5 CPU CFG AUX 57 RET RANGE AUX 57 RET RANGE Ist C 03 00 AUX 57 RET RANGE lst CO0300 177 AUX 57 RET RANGE END C0377 300 AUX 57 RET RANGE 1ST V02000 7 d Cursor position 12 System Setup Setting the Clock and Calendar The AUX 52 function allows you to set the Real time clock and calender Not all DirectLogic PLC s support the hardware clock and calender feature For the CPU s which feature a clock and calendar the following format is used e Date Year Month Date Day of week 0 6 Sunday thru Saturday e Time 24 hour format Hours Minutes Seconds If you change the date without updating the day of week 0 6 the CPU will not automatically correct any discrepancy between t
124. ow key to move the display to include viewing the instruction address Run Mode example Bit Status STR X1 N E Shift Activated Program Mode example STR X0 TMRA Tl K5555559 7 654 32 1076543210 Element Reference Fnstiucion Type Number Operand co T1 K55555598 Status Displays If the Handheld programmer is placed in Run or Test Run modes different memory status options are available The Status displays will indicate if instruction or bit status is ON or OFF The display will contain the W symbol which indicates ON and the S character to indicate status is OFF The first example demonstrates Bit status of input contact X1 which is ON The STAT key will allow viewing status of a 16 bit range The display for a range of bits are shown to the right Note the underscore at the C2 position which indicates the current cursor position The cursor may be moved left and right by pressing the corresponding arrow keys Inthis mode W indicates ON and indicates OFF The remaining example displays are Word Status for register addresses V2011 and V2010 The examples are showing the same registers in four different data formats The keystrokes used to switch between display formats are K SHFT yap ENT To select HEX o SHFT Ner ENT To select Octal sHFT A ENT To select ASCII suet P ENT To select Decimal
125. precautions used While installing a EEPROM ensure not to bend any of the electrical pins Align the EEPROM with the left side of the pin socket and the key notch to the right Align the EEPROM to EEPROM key the left edge of the notch must be socket nl LECCE on the right side NE EEENEEHHENHENHNEENENENNH oc FREE Raise socket lever prior to inserting ie EEPROM Keypad retracts to JL reveal EEPROM Zero Force Insertion Socket With EEPROM in socket close lever 1 Disconnect power from the Handheld programmer 2 Slide keypad door down The keypad door only slides partially open Do not force 3 Lift socket lever to clear socket pin openings 4 Insert EEPROM in socket The key notch must be on the right and the EEPROM must be aligned with the left side of the socket 5 Once EEPROM is inserted press socket lever down 6 Slide keypad closed 7 Reconnect power to the Handheld programmer WARNING EEPROMs can be damaged by static electricity therefore you should take precautions to ground yourself before handling the EEPROM All work performed should be made on a conductive and grounded surface The DL105 Micro PLC s use Flash ROM memory for program and system information storage The Handheld programmer may still be used for storing and uploading DL105 programs The DL105 may require the Initialize Scratchpad operation to be performed before changing to Run mode after
126. rd most left position may be an alphanumeric number A F 0 9 and the remaining seven digits may be numeric characters 0 9 To remove a entered password enter all zeros 00000000 which defaults the CPU having no password protection This is the default from the factory Press these Keystrokes D2 HPP Display Results 1 Use AUX 81 to name the CPU program AUX 8 PASSWORD he Ea f AUX AUX 81 MODIFY PA 2 Press ENT to get the Password display ENT PASSWORD 00000000 3 Enter password B C D E F G 1 2 3 4 5 6 H l 7 8 PASSWORD 12345678 4 Press ENT to accept the password or use the arrow keys to change it This position will accept ENT A F 0 9 for valid entry PROGRAM PRESSI Press CLR to exit from Password display The password is stored in the program memory If you install the program or EEPROM in another CPU or Handheld the password protection remains in effect Naming and Storing Programs 9 Locking the CPU Once you ve entered a password you may use the AUX 83 to lock the CPU against with Password program access This function will prevent users from changing CPU setups and Protection modifying the PLC program There are two ways to lock the CPU e The CPU is always locked after a power cycle if a password is present e You can use AUX 83 and AUX 82 to lock and unlock the CPU
127. re detail Error Codes e System Monitoring and Troubleshooting 6 2 The following table lists the error codes that may appear on the D2 HPP Handheld programmer DL105 DL205 Description Error Code E003 If the program scan time exceeds the time allotted to the watchdog timer this SOFTWARE error will occur SP51 will be on and the error code will be stored in V7755 TIME OUT To correct this problem add RSTWT instructions in FOR NEXT loops and subroutines or use AUX 55 to extend the time allotted to the watchdog timer 041 The CPU battery is low and needs replacement SP43 will be on and the CPU BATTERY LOW error code will be stored in V7757 EE099 If the compiled program length exceeds the amount of available CPU RAM PROGRAM this error will occur SP52 will be on and the error code will be stored in MEMORY V7755 Reduce the size of the application program EXCEEDED E104 A write to the CPU was not successful Disconnect the power remove the WRITE FAILED CPU and make sure the EEPROM is not write protected If the EEPROM is not write protected make sure the EEPROM is installed correctly If both conditions are OK replace the CPU E151 A parity error has occurred in the application program SP44 will be on and BAD COMMAND the error code will be stored in V7755 This problem may possibly be due to electrical noise Clear the memory and download the program again Correct any grounding p
128. re for new entries The CLR key does not delete instructions or data Press these keystrokes D2 HPP Display Example 1 To clear entry buffer and display screen START OF PROGRAM CLR CLR ARE S TR X 1 e Repeat pressing CLR until display screen is blank The always flashing W symbol indicates the current cursor position You can move the cursor position by using the left or right arrow keys The arrow left key performs just like the backspace key on a PC keyboard deleting the character position contents The figure below is a example how the display changes by pressing the left arrow key Press these keystrokes Cursor position 1 Todelete the previous character lt STRN X41 gt STRN X49 System Setup E CPU Setup A Few Things to Below is a brief list of CPU operations discussed in this section Know e Changing the CPU Modes e Clearing the program and other memory areas e Howto initialize system memory e Setting the CPU Network address e Setting Retentive memory ranges e Setting the Clock and Calendar CPU Modes With the Handheld Programmer connected to the CPU you should examine the four mode LED s located near the top of the programming unit The LED s will show the current mode status Below is a definition for each of the Mode LED s Test mode is not supported by all Direct LOGIC PLC systems Please refer to the appropriate DL105
129. red in V7755 ADDRESS E438 An IRT must be programmed after the end statement not in the main body of INVALID IRT the program SP52 will be on and the error code will be stored in V7755 ADDRESS E440 Either the DLBL instruction has been programmed in the main program area INVALID DATA not after the END statement or the DLBL instruction is on a rung containing ADDRESS input contact s E441 An ACON or NCON must be programmed after the end statement not in the ACON NCON main body of the program SP52 will be on and the error code will be stored DL240 ONLY in V7755 E451 MLS instructions must be numbered in ascending order from top to bottom BAD MLS MLR E452 An X data type is being used as a coil output X AS COIL E453 A timer or counter contact is being used where the associated timer or MISSING T C counter does not exist E454 One of the contacts is missing from a TMRA instruction BAD TMRA E455 One of the contacts is missing from a CNT or UDC instruction BAD CNT E456 One of the contacts is missing from the SR instruction BAD SR E461 More than nine levels of logic have been stored on the stack Check the use STACK OVERFLOW of OR STR and AND STR instructions E462 An unmatched number of logic levels have been stored on the stack Ensure STACK the number of AND STR and OR STR instructions match the number of STR UNDERFLOW instructions E463 A STR instruction was not used to begin a rung of ladder logic LOGIC ERROR E464
130. roblems If the error returns replace the EEPROM or the CPU E155 A checksum error has occurred in the system RAM SP44 will be on and the RAM FAILURE error code will be stored in V7755 This problem may possibly be due to a low battery electrical noise or a CPU RAM failure Clear the memory and download the program again Correct any grounding problems If the error returns replace the CPU E202 An I O module has failed to communicate with the CPU or is missing from the MISSING 1 O base SP45 will be on and the error code will be stored in V7756 Run AUX42 MODULE to determine the slot and base location of the module reporting the error E210 A short duration power drop out occurred on the main power line supplying POWER FAULT power to the base E250 A failure has occurred in the local I O system The problem could be in the COMMUNICATION base I O bus or the base power supply SP45 will be on and the error code FAILURE IN THE I O will be stored in V7755 Run AUX42 to determine the base location reporting CHAIN the error E252 This error occurs when the auto configuration check is turned on in the CPU NEW I O CFG and the actual I O configuration has changed either by moving modules in a base or changing types of modules in a base You can return the modules to the original position types or run AUX45 to accept the new configuration SP47 will be on and the error code will be stored in V7755 E262 An out of range I O address has been encoun
131. rror functional SP50 Fault instruction on when a Fault Instruction is executed SP51 Watch Dog on if the CPU Watch Dog timer times out timeout SP52 Grammatical on if a grammatical error has occurred either while the CPU is error running or if the syntax check is run V7755 will hold the exact error code SP53 Solve logic error on if CPU cannot solve the logic aed Special Relays Accumulator SP60 Value less than on when the accumulator value is less than the instruction value Status SP61 Value equal to on when the accumulator value is equal to the instruction value SP62 Greater than on when the accumulator value is greater than the instruction value SP63 Zero on when the result of the instruction is zero in the accumulator SP64 Half borrow on when the 16 bit subtraction instruction results in a borrow SP65 Borrow on when the 32 bit subtraction instruction results in a borrow SP66 Half carry on when the 16 bit addition instruction results in a carry SP67 Carry when the 32 bit addition instruction results in a carry SP70 Sign on anytime the value in the accumulator is negative SP71 Invalid octal on when an Invalid octal number was entered This also occurs when o number the V memory specified by a pointer P is not valid 2 SP73 Overflow on if overflow occurs in the accumulator when a signed addition or m subtrac
132. s indicates a edit may be performed while in the Run mode If you had displayed an address just before selecting Run Time Edit mode you may immediately jump to the same address by pressing the NEXT key This allows you to search for an address or instruction before you change the mode Press these Keystrokes While in the Run Mode select RUNTIME EDIT mode D2 HPP Display Results MODE CHANGE MODE GO TO PGM MODE NEXT ENT 2 Confir m mode change MODE CHANGE ENT RUNTIME EDITS 3 Confir m_mode change CLR NEXT MODE CHANGE Changing Constant Changin Values During Run as it doe Mode program RUNTIME EDITS g the value of a constant in an instruction during Run Mode works the same s during Program Mode The following example is not reflected in the short we have been working with since it does not contain any instructions with a constant value This example shows how to modify the preset value of an Up Down Counter Press these Keystrokes q Locate and display the instruction with the constant you want to change 2 Position cursor on constant value and enter new value D2 HPP Display Results UDC CT16 K50 ENT 2 sse en e Thechange in value is not saved until you press the ENT key e After pressing the ENT key the next instruction programmed will automatically
133. s 4 and 5 with 1 3 00009 OUT YO Stores the output and finishes the network 00010 END Ends the program Equivalent Ladder Logic D2 HPP Example Display XO x2 X5 YO START OF PROGRAM He STR X1 X1 x3 X4 1 1 START OF PROGRAM 00000 STR X0 j 4 4 3 ED Starting Instruction Element Type Address and Reference haw Changing Programs The Handheld programmer allows you to search and view your mnemonic instruction program Once again the display screen may have a different format depending on the mode selected The figures below are display examples during the Run mode The bit status of the instruction is indicated in the top right corner the display screen If the W symbol appears the instructions bit status is true or ON If the S character appears the bit status is false or OFF To search the starting instruction or find a specific instruction address in your program follow the examples Searching a Program Address Searching Start of Program below Press these keystrokes 1 Clear complete display screen CLR CLR CLR 2 To search start of program address 00000 SHFT on NEXT 3 To display instruction address lt Searching Specific Address 1 Clear complete display screen CLR CLR CLR 2 To search specific instruction address 00010 B A SHFT aca 4 NEXT 3 Todisplay NEXT instruction NEXT D2 HPP Disp
134. s SPO SP117 V41200 V41204 112 SPO SP540 SP577 V41226 V41227 E Timers TO T77 64 SE 3 al K100 Timer Current None VO V77 64 VO K100 Values gt Timer Status Bits TO T77 V41100 V41103 64 TO Counters CTO CT77 64 CNT CTO K10 Counter None V1000 V1077 64 V1000 K100 Current Values gt Counter Status CTO CT77 V41140 V41143 64 CTO Bits Data Words None V2000 V2377 256 None specific used with many instructions Data Words None V4000 V4177 128 None specific used with many Non volatile instructions Stages SO S377 V41000 V41017 256 Se so p S 001 System None V7620 V7647 48 None specific used for various V memory V7750 V7777 purposes 1 The DL205 systems are limited to 128 discrete I O points total with the present system hardware available These can be mixed between input and output points as necessary A DL105 DL205 Memory Map abad ka oO 3 e lt ky cO lt 6 S 6 A f A 4 DL105 DL205 Memory Map DL240 Memory Map Overview Memory Type Discrete Memory Word Memory Qty Symbol Reference Reference Decimal octal octal Input Points X0 X177 V40400 V40407 1587 XO Output Points YO Y177 V40500 V40507 128 YO Control Relays CO C377 V40600 V40617 256 CO CO sy v 4 Special Relays SPO SP137 V41200 V412
135. s not found one of the following error messages E604 REF MISSING or E6021NST MISSING are displayed If you think the message is incorrect re enter your keystrokes and try the operation again bud Changing Programs Changing an Instruction Preparing Mode for Changes The Handheld programmer allows you to change the Mnemonic instructions If possible program changes should be performed in Program Mode When switch from Run Mode to Program Mode the display screen will display your first instruction programmed You should consider which mode the Handheld programmer is in prior to attempting a search function The Handheld programmer must be in one of the following modes to perform program changes e Program Mode e Run Time Edit Mode e Test Program Mode The following figures and examples should be performed in the Program Mode This example demonstrates how to find and change the X5 contact to X10 Press these Keystrokes HPP Display Results SEARCHING To Find instruction Clear complete display screen 1 CLR CLR CLR 00005 ORSTR Enter the reference to search 00006 AND X5 2 SHFT x E surr FD REF SET 5 FIND ORSTR To Change the instruction AND X10 Cursor to reference number 3 Lez Eee o AND X10 ORN X6 Enter new instruction and display next 4 ENT Equivalent Ladder Log
136. s the key when the SHFT Shift key is pressed These keys work just like the number keys on a computer keyboard e Getting Started 1 39 Operation Keys These keys are used to select the following operations and perform various tasks with the Handheld programmer AUX MODE CPU STAT SAVE AUX key is used to perform various types of operations Some of these include program management I O Configuration Diagnostics CPU configuration EEPROM operations and password protection MODE key is used to select the different modes available with your PLC RUN TEST PGM and RUNTIME EDITS CPU key is used to select the Handheld programmer programming mode You may choose on line or off line communications to the PLC STAT key is used to select status monitoring operations SAVE key is used to store offline generated programs to the Handheld programmer s EEPROM Instruction Data These instruction keys allow you to z SP lex Gy Type Keys select corresponding instructions when SG ASTR ke dl board CNT pressed When closely examining the U V w x T keypad notice only some instructions ISG AND ANDN SET MLS have dedicated keys All other 5 T 5 z 3 instructions are entered by typing the cv OR ORN RST MLR instruction characters mnemonics using the secondary alphabet keys The A e eR An INST key will allow for instruction numb
137. s the keystrokes used to enter the ASCII portion of the instruction with the Handheld programmer Press these keystrokes D2 HPP Display Results 1 Type ACON instruction END SHEE 6 ur INSTH TMR gt ACON AON 2 Enter ASCII instruction suet O N ACON AON INST TMR NOP 3 X Enter instruction ENT Equivalent Ladder Logic END ASCII Portion Pea NOTE More detailed information on the ACON instruction may be referenced in the DL105 and DL205 User Manuals Some mnemonic instructions may be entered by using a instruction number The instruction number may also be referred to as function number Use the Handheld programmer INST key to begin the function number entry If known you may enter the specific instruction number or scroll through available function numbers by pressing the PREV NEXT keys The following example demonstrates using the instruction number function Press these keystrokes D2 HPP Display Results q Enter function number pe ud E ENT F 0 3 6 OUT 2 _To scroll previous function number PREV F035 OROUT e Press ENT key to except function number Press the CLR key to exit S 14 Entering Programs Entering Octal and For some instructions entries special number formats are used for reference data Hex Numbers F
138. shooting 6 9 Monitoring Discrete I O Points i Q The Handheld programming unit will allow Status Monitoring on the following data S types You may monitor 16 data points at one time e2 X inputs T Timer Counter bits 8 Y output S SP Special relays co C control relays GX remote I O points Stage bits future Bit Status Monitor The Status Monitor may be displayed using the STAT menu or by directly typing in the memory reference The following figure shows both methods of selecting Status monitor Press these Keystrokes D2 HPP Display Results 1 To select Bit Status Monitor mode MONITOR SELECT eens 16 P STATUS 2 To select Status type and enter reference NEXT Next ENT 16P STATUS BIT REF co To call Bit Status directly 1 To directly call specific Status with reference Bit Status for a Range of bits SHFT s d A o STAT C 10 C o0 E Press CLR to exit Status function 7654 2107654321 Solid fill indicates ON Blank indicates OFF If you examine the Handheld programmer you will notice several numbers printed on the case below the LCD display screen These numbers help you identify which data points you are monitoring RUN TEST PGM OFFLINE Fi Direct p pp
139. sociated with each V memory address bit MSB DL130 DL230 DL240 Counter CT Contacts LSB Address 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V41140 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V41141 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V41142 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V41143 MSB Additional DL240 Counter CT Contacts LSB Address 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 117 116 115 114 118 112 111 110 107 106 105 104 103 102 101 100 V41144 137 186 135 134 183 132 131 130 127 126 125 124 123 122 121 120 V41145 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V41146 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V41147 End DL105 DL205 Memory Map DL130 DL230 System V memory The DL205 CPUs reserve several V memory locations for storing system parameters or certain types of system data These memory locations store things like the error codes counter interface module data and other types of system setup
140. st scan on for the first scan after a power cycle or program to run transition only The relay is reset to off on the second scan It is useful where a function needs to be performed only on program startup SP1 Always ON provides a contact to insure an instruction is executed every scan SP3 1 minute clock on for 30 seconds and off for 30 seconds SP4 1 second clock on for 0 5 second and off for 0 5 second SP5 100 ms clock on for 50 ms and off for 50 ms SP6 50 ms clock on for 25 ms and off for 25 ms SP7 Alternate scan on every other scan SP12 Terminal on when the CPU is in the run mode run mode SP16 Terminal on when the CPU is in the program mode program mode SP20 Forced on when the STOP instruction is executed stop mode SP22 Interrupt enabled on when interrupts have been enabled using the ENI instruction SP40 Critical error on when a critical error such as I O communication loss has occurred SP41 Warning on when a non critical error such as a low battery has occurred SP43 Battery low on when the CPU battery voltage is low SP44 Program on when a memory error such as a memory parity error has memory error occurred SP45 O error on when an l O error occurs For example an I O module is withdrawn from the base or an I O bus error is detected SP47 l O on if an I O configuration error has occurred The CPU power up I O configuration configuration check must be enabled before this relay will be e
141. t and input filter for X3 when D2 CNTINT is installed V7640 V7641 Default 0000 Range 0 9999 Location for setting the lower and upper limits for the CH1 analog pot V7642 V7643 Default 0000 Range 0 9999 Location for setting the lower and upper limits for the CH2 analog pot V7644 V7645 Default 0000 Range 0 9999 Location for setting the lower and upper limits for the CH3 analog pot V7646 V7647 Default 0000 Range 0 9999 Location for setting the lower and upper limits for the CH4 analog pot V7650 V7737 Locations reserved for set up information used with future options such as remote I O and data communications V7746 Location contains the battery voltage accurate to 0 1V For example a value of 32 indicates 3 2 volts V7747 Location contains a 10ms counter This location increments once every 10ms V7751 Fault Message Error Code stores the 4 digit code used with the FAULT instruction when the instruction is executed If you ve used ASCII messages DL240 only then the data label DLBL reference number for that message is stored here V7752 I O configuration Error stores the module ID code for the module that does not match the current configuration V7753 I O Configuration Error stores the correct module ID code V7754 I O Configuration Error identifies the base and slot number V7755 Error code stores the fatal error c
142. tem if the error continues replace the CPU first and then the Handheld programmer if necessary E321 A data error was encountered during communication with the CPU Check to COMM ERROR ensure cabling is correct and not defective Power cycle the system and if the error continues replace the CPU first and then the Handheld programmer if necessary E352 Communications error between CPU and intelligent module Incorrect slot BACKGROUND reference while attempting to use the READ WRITE commands e g DCM COMM ERROR module interface The slot number of module which I O error occured is stored in V7760 V7764 E4 A syntax error exists in the application program The most common is a NO PROGRAM missing END statement Run AUX21 to determine which one of the E4 series of errors is being flagged SP52 will be on and the error code will be stored in V7755 E401 All application programs must terminate with an END statement Enter the MISSING END END statement in appropriate location in your program SP52 will be on and STATEMENT the error code will be stored in V7755 E402 A GOTO GTS MOVMC or LDLBL instruction was used without the MISSING LBL appropriate label Refer to the programming manual for details on these instructions SP52 will be on and the error code will be stored in V7755 E403 A subroutine in the program does not end with the RET instruction SP52 will MISSING RET be on and the error code will be stored in V7755 DL240 ONLY E404
143. tered in the application I O OUT OF RANGE program Correct the invalid address in the program SP45 will be on and the error code will be stored in V7755 Q 4 x e en fey D 2 9 e oy mr e e 0 24 System Monitoring and Troubleshooting DL105 DL205 Description Error Code E312 A data error was encountered during communications with the CPU Clear HP COMM the error and retry the request If the error continues check the cabling ERROR 2 between the two devices replace the Handheld programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E313 An address error was encountered during communications with the CPU HP COMM Clear the error and retry the request If the error continues check the cabling ERROR 3 between the two devices replace the Handheld programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E316 A mode error was encountered during communications with the CPU Clear HP COMM the error and retry the request If the error continues replace the Handheld ERROR 6 programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E320 The CPU did not respond to the Handheld programmer communication HP COMM request Check to ensure cabling is correct and not defective Power cycle TIME OUT the sys
144. til the bit override is removed from the point Forced I O Example XO X2 X5 X7 BHunooysejqnos pue Force Y0 ON X1 X3 X4 1 1 X10__ Force X10 ON Yo 5 3 a Y1 la Output ON due to C X10 force 1 The CPU first reads the I O status from the modules If discrete input point X10 is off the CPU overwrites the force command and turns off X10 2 While X10 is off even though previously forced on YO wvill remain turned off The CPU will scan and process all program instructions 3 At the end of the program scan the CPU updates the output status with the results obtained from the logic execution YO and Y1 were turned off ED CPU Process Update X10 is o 4r turn off XO X2 X5 X7 YO P V X1 X3 X4 1 4 X10_ Force is overwritten oe XQ eD e e 6 0 System Monitoring and Troubleshooting Regular Bit Force The Force Bit operation will allow controlling a specific bit ON and OFF within using the Status memory tables The force function does not overrule the regular execution of your Monitor program logic Even when a bit has been forced your program will control the bit through executed program instruction Press these Keystrokes D2 HPP Display Results 1
145. tion results in an incorrect sign bit a SP75 Data error on if a BCD number is expected and a non BCD number is RU encountered pP SP76 Load zero on when any instruction loads a value of zero into the accumulator Counter Interface SP100 X0 is on X0 on when corresponding input is on Module Relays Equal Relays for SP540 Current target value on when the counter current value equals the value in V3640 Multi step Presets SP541 Current target value on when the counter current value equals the value in V3642 with Up Down Counter 1 for use with a Counter Interface Module SP544 Current target value on when the counter current value equals the value in V3650 SP542 Current target value on when the counter current value equals the value in V3644 SP543 Current target value on when the counter current value equals the value in V3646 SP545 Current target value on when the counter current value equals the value in V3652 SP546 Current target value on when the counter current value equals the value in V3654 SP547 Current target value on when the counter current value equals the value in V3656 SP550 Current target value on when the counter current value equals the value in V3660 SP551 Current target value on when the counter current value equals the value in V3662 SP552 Current target value on when the counter current value equals the
146. to program parallel branches with serial elements The following example shows a simple network using the ORSTR instruction Press these keystrokes D2 HPP Display Results 1 To enter Input conact XO pee aaa OUT Y2 3 A TEND sm gt 0 ENT 2 _To enter second series conact 7 s ENS OUT Y2 AND STR X0 3 To begin parallel branch and contact X2 ustr gt 2 ENI STR X0 4 _To enter second parallel contact AND jx Aw IPs ee AND X1 5 _To OR parallel branches STR X2 orst gt 2 EN 6 _Ouput coil STR X2 ex gt So ENT AND X3 7 END instruction AND X 3 sar pea Ra P 3 ENT ORSTR ORSTR Equivalent Ladder Logic XO X1 Y2 9v onum Ivi2 X2 X3 END END END NOP dl Entering Programs Joining Parallel The ANDSTR instruction joins one or more parallel branches which may be in Branches in Series series The following example shows a simple network with parallel and series branches Press these keystrokes HPP Display Results Continue progam QUT Y2 1 Enter first Input conact entry here Sore gt 0 ENT ENID 2 Enter second Input contact STR X0 gt B ENT STR 1 NOP 3 Create branch and parallel contact or gt
147. twork HPP Display Results Continue program 1 To enter normally closed input entry here 3 M Y1 UN gt 2 ENT 2 Enter Ouput E mm m or pa LoT STRN X2 3 END instruction sHET E 4 g oy ENT STRN X2 OUT Y2 Equivalent Ladder Logic Sul tule 2 NOP yt out END eno NOP Some networks require more than one element on a branch this is referred to as contacts in series To program elements in series you begin the network as before using the store STR STRN instruction The AND instruction is used to join two elements in series The following example demonstrates how to enter two series contacts and a single output coil Press these keystrokes HPP Display Results Continue program 1 To enter first Input contact entry heren O UT Y2 gt B ENT END STR 1 2 To enter second Input contact gt C ENT STR X1 STR 2 NOP 3 _To enter Ouput coil our gt j EN STR X1 4 _END instruction STR X2 sur mal a ET STR X2 NOP Equivalent Ladder Logic i OUT Y2 our m L NOP END END NOP e aser Entering Programs Entering Parallel Elements To program a network with parallel elements more than one branch per network you will use the OR instruction Once again you begin the network as
148. up and configuration data are stored in memory which is called Scratchpad Memory The Scratchpad memory may require initializing if major changes are introduced to your PLC system configuration or setup For example if you specify a range of Control Relays CRs as retentive this setup data will be stored in scratchpad memory Basic program changes or loading new programs do not always demand that the Initialize Scratchpad function be executed If required you may default Scratchpad memory with the AUX 54 function NOTE This function may change PLC setup and configuration data in your system Press these keystrokes D2 HPP Display Results 1 Clear complete display screen CLR CLR CLR 2 Select AUX 54 Initialize Scratchpad Fg Fa4 AUX AUX 5 CPU CFG 3 To select YES NO option AUX 54 INIT SCRA E AUX 54 INIT SCRA 4 To begin initialization CLR XPAD YES NO ENT e Select NO option to exit without initializing OK Setting the CPU Network Address Bd System Setup Some CPU s such as the DL240 contain a built in DirectNET port PORT2 The Handheld programmer may be used to set the Port 2 network address and parameters The default parameter settings are e Station address 1 HEX mode the handheld programmer will only support HEX mode e Odd parity e 9600 baud rate The DirectNET User Manual provides additional information about network and c
149. value in V3664 SP553 Current target value on when the counter current value equals the value in V3666 SP554 Current target value on when the counter current value equals the value in V3670 SP555 Current target value on when the counter current value equals the value in V3672 SP556 Current target value on when the counter current value equals the value in V3674 SP557 Current target value on when the counter current value equals the value in V3676 SP560 Current target value on when the counter current value equals the value in V3700 SP561 Current target value on when the counter current value equals the value in V3702 SP562 Current target value on when the counter current value equals the value in V3704 SP563 Current target value on when the counter current value equals the value in V3706 SP564 Current target value on when the counter current value equals the value in V3710 SP565 Current target value on when the counter current value equals the value in V3712 SP566 Current target value on when the counter current value equals the value in V3714 SP567 Current target value on when the counter current value equals the value in V3716 Special Relays DL240 CPU Special Relays Startup and Real Time Relays CPU Status Relays wn gt amp oj a iss si D Q 09 System Mon

Download Pdf Manuals

image

Related Search

Related Contents

weber.tec imper G - Weber iggam : Morteros  Models 175, 177 & 179  Barclay Products TKATR67-WCP10 Installation Guide  MDV10U-014HW(202000171547)User`s manual(MDV  Comment Response Document (CRD)  - Progetto Snaps  Estro Barista  Bedienungs- anleitung  Alliance Laundry Systems HCN020HCF Instruction manual  Kenroy Home 16289BRZ Installation Guide  

Copyright © All rights reserved.
Failed to retrieve file