Home

View / the Complete Manual

image

Contents

1. ISG A TI s0000 Wait for start Siart S1 1 JMP 000 SG S10 so001 Move pipe down H mP conveyor Conveyor OUT 020 Pipe Limit 1 001 SG so002 Lock the clamp Clamp SET Pipe Ke Locked s3 JMP 002 SG S0010 Monitor for Stop Stop S0 S5 J RST b10 So JMP The keystrokes on the following page show how to enter stages 1 and 2 Notice we have changed Stage 2 slightly This is an example of how a power flow transition looks A JMP instruction is not required in this example to move from Stage 1 to Stage 2 How do you know when to use a JMP instruction Simple if you re moving from one stage to a single stage you may use a power flow transition If you re moving from one stage to multiple stages you must use the JMP instruction Entering RLL s Programs ad Enter Stage 1 Data display before ENT is pressed SG SHF 1 ENT ADDRESS DATA GND Gib oun GE e eee ae SH ON OFF RUN BATT 3 7 3 7 PWR CPU NOD st CND GEG Enter the output for the conveyor OUT SHF 2 O ENT 5 1 AND ADDRESS DATA AND 2 6 3 7 7 3 PWR CPU NoD RSD EN EG Enter the Pipe Limit contact STR SHF 1 ENT a 4 o 4 E 00 1 TR e ADDRESS DATA Gu Gee Gut GHD a ON OFF RUN BATT PWR CPU ED GND GEG
2. There are two versions of Handheld Programmers available e D3 HP RLL version for all RLL CPUs e D3 HPP BLLPLUS version for all RLLPLYS CPUs RLLPLUS is just like normal RLL but a few instructions have been added that make it much easier to use and understand Programs are usually much shorter and considerably easier to troubleshoot The best thing to do right now is to make sure you have the correct version of Handheld for use with your CPU Trust me it s easier this way This manual will teach you the basic keystrokes used with the Handheld It does not provide an example of every instruction Once you understand the basic keystroke techniques you should use the DL305 User Manual to determine the instruction operation details and keystroke requirements for the individual instructions Since we constantly try to improve our product line we occasionally issue addenda that document new features and changes to the products If there are addenda included with this manual please read through them to see which areas of the manual or product have changed If you understand the DL305 instruction set and system setup requirements this manual will provide all the information you need to get a basic understanding of the Handheld This manual is not intended to be a tutorial on the DL305 instruction set or system operation but rather a user reference manual for the Handheld Programmer Getting Started i
3. CLR SCH 0 4 H 4 7 1 5 1 5 ADDRESS DATA ON OFF RUN BATT STk cht GET AD 7 3 7 EE Press CLR to display the address where the error occurred 0003 e e ADDRESS DATA GD fa ON OFF RUN BATT 3 7 PWR CPU Correct the problem and continue running the Syntax check until the E07 message no longer appears REVA Entering RLLP LYS Programs In This Chapter RLL YS Programming Basics Entering an Initial Stage Entering Jump Instructions Entering Stage Instructions Entering Timers Entering Counters Entering Shift Registers K Entering RLL s Programs Programs RLLPLYS Programming Basics RLLPLYS is a simplified programming method that makes program design and troubleshooting much easier This programming method is similar to Sequential Function Chart programming and only uses a few new instructions Before you continue make sure you have a Handheld Programmer that supports the extra instructions needed with this style of programming part number DL3 HPP This chapter does not provide a complete discussion of these instructions Instead it just provides a quick overview of how to enter the instructions with the DL305 Handheld Programmer The primary benefit from this programming method is the number of logic interlocks is significantly reduced This is because the individual program segments called stages are comp
4. 617 616 615 614 613 612 611 610 627 626 625 624 623 622 621 620 637 636 635 634 633 632 631 630 647 646 645 644 643 642 641 640 657 656 655 654 653 652 651 650 667 666 665 664 663 662 661 660 677 676 675 674 673 672 671 670 Used with Timer Counter Setpoint Unit and or Thumbwheel Interface Module External Registers 674 677 are used in programming for use with the Timer Counter Timer Counter Setpoint Unit and the Thumbwheel Interface Module that are available in some Setpoint Unit compatible product families The registers contain the current time or count There is also a status bit for each register with the same reference number For example the current value for Timer 674 is stored in R674 and the status contact is T674 The presets for these modules are stored in R564 R573 as follows R565 R564 e R564 R565 1st T C preset dooi domm ERR e R566 R567 2nd T C preset e R570 R571 3rd T C preset Wey AN e R572 R573 4th T C preset The example shows how a 4 digit number would be represented in these registers DL305 Memory Map Data Registers The following 8 bit data registers are primarily used with data instructions to store various types of application data For example you could use a register to hold a timer or counter preset value Some data instructions call for two bytes which will correspond to two consecutive 8 bit data registers such a
5. CH 601 ENT ADDRESS DATA GE ON OFF RUN BATT pa GRU AST AEG Enter the preset SHE 5 0 ENT lt Se 050 gn en en 1 ADDRESS DATA a ON OFF RUN BATT 3 PWR CPU NOD GR ST GEG O oa i lt O NYZIO I olal ER j U CO REVA e o SIE Entering RLL Programs Entering Master Control Relays The Master Control Set MCS and Master Control Reset MCR instructions allow you to quickly enable or disable sections of the RLL program This provides program control flexibility See the DL305 User Manual for more details The following example shows how the MCS and MCR instructions operate under the first MCS will be 000 MCS executed 001 re Ou When contact 000 is on logic When contact 002 is on logic under the second MCS will be executed The MCR instructions note the end of the Master Control area They will be entered in adjacent addresses since they are nested Enter the contact Data Display before ENT is pressed STR SHF 0 ENT 5 S o a 1 5 1 5 ADDRESS DATA TMA Bae ON OFF RUN BATT sey Soe 7 3 7 PWR CPU RST REG Enter the first MCS instruction MCS ENT 0 4 0 4 KS MCS 1 5 1 5 ADDRESS DATA 2 6 2 6 ON OFF RUN BATT e 3 7 3 7 PWR CPU NoD GR ST GEG Enter the next contact STR SHF 1 ENT
6. Enter Stage 2 SG SHF 2 ENT o 4 oOo 4 Pe 002 4 1 5 ADDRESS DATA AND 6 SET 7 RST ON OFF RUN BATT TMR QATA 7 PWR CPU e e 3 8 Entering RLL s Programs Entering Timers Programs Timers work differently in RLLPLYS programs because they do not require the entry of a preset value Once the timer input contact has started the timer the timer continues until the input contact is turned off You may recall RLL timers have a timer contact associated with them When the timer reaches the preset it turns on the contact which can then be used as an input contact for other parts of the program As well as not having a preset value RLLP UYS timers also do not have a timer contact Instead of using the timer contact relational contacts are used to examine the timer value The following example shows how a time delay was added when the saw was being raised We wanted to keep the saw motor running for 5 seconds so the saw could clear the pipe before being turned off Note the keystrokes only show how to enter SG 0004 Raise the saw TMR T600 Saw Off T600 50 RST 022 Clamp RST 7 ON 004 Relational Contact the timer and the relational contact not the whole stage 021 S5 JMP Entering RLL s Programs a Enter the Timer Data display before ENT is pr
7. Microphone Red m H Earphone White NOTE Connect the cable to the tape recorder microphone jack when you are writing a program to the cassette Connect the cable to the earphone jack when you are reading a program from the cassette Program Names on Since it is very easy to store multiple programs on a single cassette it is very Cassettes important idea to name each program You can use a four digit number to name the various programs You do not have to use a name but it s a good idea ke elt Ke bah 3 Wa A 9 4 Protecting and Storing Programs Writing a Program If you examine the front of the Handheld to the Cassette Programmer you will notice one of the keyswitch positions is labeled LOAD You must set the keyswitch to this position before you can save a program to a cassette It generally takes about 75 seconds to copy a program from the CPU to a cassette tape PRGLOADTAPE ie O NOTE Remember tape programs are stored sequentially It is very easy to overwrite existing programs if you do not position the tape correctly before beginning this procedure Use the tape counter on the recorder to keep track of program locations If you want to make your life easier its a good idea to make a few notes on the casse
8. Area Sets TZ Keypad i 6 DOE Keyswitch U 4 65 118 mm 1 2 30 mm Cassette Interface Port Connection You can mount the Handheld directly to the CPU or you can use a cable The cable Options part number D3 HPCBL 1 is approximately 4 6 feet 1 5m in length and provides much more flexibility A cassette interface cable supplied with the Handheld Programmer is required to connect a cassette recorder WARNING The CPU will automatically change modes when you connect the Handheld Programmer if the keyswitch is set for a different mode of operation For example if the CPU is in Run mode and the Handheld Programmer keyswitch is set to the PRG Program position the CPU will automatically enter Program mode when the Handheld is connected Specifications The following table provides specifications for the DL305 Handheld Programmer Environmental Operating Temperature Storage Temperature Humidity Environmental Air Vibration Shock Resistance Noise Immunity CPUs Supported DL330 DL330P DL340 Simatic T1315 TI325 TI330 TI335 plus stage versions Texas Instruments TI315 TI325 TI330 TI335 plus stage versions Stage versions require the D3 HPP Cables D3 HPCBL 1 1 5m programmer cable
9. Enter the second contact STR SHF 2 ENT o TC 002 1 ADDRESS DATA ON OFF RUN BATT Gm PWR CPU Enter the third contact OR SHF a ENT 7 D 7 003 ADDRESS DATA OM lt ON OFF RUN BATT fs PWR CPU ASD r Join the elements AND STR ENT 7 7 Ei ES MCS GDR ADDRESS DATA ON OFF RUN BATT ef om SE Entering RLL Programs Bak Combination You can combine the various types of series and parallel branches to solve most any Networks application problem It is doubtful that you will ever exceed them but there are limits when you build complex networks This is because the DL305 CPUs use a stack to evaluate the boolean elements If the stack exceeds eight levels an error code E03 will be displayed on the Handheld when the CPU is switched to Run mode See the DL305 User Manual for additional information The following example shows a simple combination network 000 002 005 050 2 ON out e 001 003 004 a LA P 006 3 d 3 i Start the network Data Display before ENT is pressed STR SHF 0 ENT on Go C 000 ADDRESS DATA GD 1 ve 6 QO zZ el ON OFF RUN BATT em gs 3 3 7 PWR CPU NoD GR st GE OR SHF 1 ENT 1 Se 001 ADDRESS DATA ON OFF RUN BATT O fl O DA len
10. Getting Started A 32 to 140 F 0 to 60 C 4 to 176 F 20 to 80 C 5 to 95 non condensing No corrosive gases MIL STD 810C 514 2 MIL STD 810C 516 2 NEMA ICS3 304 impulse 1KV 10s Obtained through PLC port 60 mA 5 VDC 60 mA 9 VDC 4 3 Lx 4 7 Hx 0 9 D 110mm W x 118mm H x 24mm D 7 5 oz 210 g Programming Operations Read Write or erase programs Insert or delete an instruction Search for a specific instruction Locate a specific address Read or write to cassette tapes Machine Monitoring Operations UO status up to 16 simultaneously On Off status for contacts coils control relays and register locations Timer and counter current values Debugging Operations Forcing one scan only Run and Program Mode display Program syntax check Predefined error codes e e Handheld Basics Status LEDs and Key Groups RLLPLUS vs RLL Units When you enter a program you need to be able to select the instruction enter any parameters for that instruction and move to the next task The Handheld keypad is organized into LED display areas and key areas that make this task easier As you examine the keys you ll notice some of the keys have more than one label The top label describes the key when the Shift SHF key is pressed These keys work just like the number keys on a computer keyboard The keys and LEDs areas are as follows e Instruction identifier and n
11. Enter the DSTR instruction Ve F50 Notice that you did not have to ADDRESS DATA S D T m T d fe Es jab q 3 Ra press the SHF key before ON OFF RUN BATT entering the numbers PWR CPU NoT Enter the constant SHF 1 2 3 4 5 1234 ENT ADDRESS DATA ON OFF RUN BATT PWR CPU w n Enter the DOUT instruction F 6 0 ENT 0 4 0 4 F60 ADDRESS DATA Gp ON OFF RUN BATT PWR CPU w SD r Enter the Register location R 4 0 0 ENT r400 Notice that the R key is used ADDRESS DATA for entering registers and that ON OFF RUN BATT you do not have to press the 5 SHF key before entering the PWR CPU NOT numbers RS gt N Zo ei N 4 H 20 Entering RLL Programs Checking for Program Errors Automatic Error The Handheld automatically checks for some errors during program entry Checking Chapter 6 provides a complete listing of the error codes Syntax Check You can also execute a program syntax check which will identify programming errors This check can be performed in either Program mode or Run mode The following example shows how the syntax check works CNT CT601 K50 Counter Reset Leg is missing Execute the syntax check
12. OS oz No O E O Q eg Elei Ke NE co lt Wd LC QO PWR CPU ADDRESS DATA ON OFF RUN BATT CH Tu 8 kKdlel oT o NJU lt L N Q D oO 0 el Dm 32 ep Wd ke CH 2 EN Te stil OS ZING O g O 2 TR 3 PWR CPU ADDRESS DATA ON OFF RUN BATT Es E All cof TI of El No T 5 Je N 0 H TI COON AY LUI co N ke Ey II EN Le lt lo ojzii ni O OJ Q cy TE IKEA A vel oo lt L N Z PWR CPU ADDRESS DATA ON OFF RUN BATT ENT 6 NOT SHF OR ENT STR AND Add branch 6 ENT SHF OUT C SIE Entering RLL Programs Entering Timers To enter a timer you also have to enter a preset value One important thing to and Counters remember is that with the DL305 the timers and counters share the same memory area The range is from 600 677 but if you use 600 as a timer you cannot use itasa counter TMR CT600 K100 Timer Number Timer Preset Enter the contact STR SHF 1 ENT 1 O 001 ADDRESS DATA CD ON OFF RUN BATT Gm O al O BIN Zio Velo fies o G PWR CPU Enter the Timer TMR SF 6 o o s ai r ui m 600 ao op a ap 5 N ENT ADDRESS DATA GD ON OFF RUN BATT 6 CNT 3 7 PWR CPU NoD GR ST GEG En
13. 400 417 Special None R574 R577 12 R574 R575 used with FAULT Registers R770 R777 R576 R577 Auxiliary Accumulator R770 R777 Communications Setup T C Setpoint Unit Only Can be used as data registers if the Timer Counter Setpoint Unit or Thumbwheel Interface Module is not used R564 R573 contain the preset value used with the Timer Counter Setpoint Unit R674 R677 contain the current values for these timers or counters A DL305 Memory Map Ach I O Point Bit Map These tables provide a listing of the individual Input points associated with each register location for the DI 320 DL330P and DL340 CPUs 007 006 005 004 003 002 001 000 RO 017 016 015 014 013 012 011 010 R1 027 026 025 024 023 022 021 020 R2 037 036 035 034 033 032 031 030 R3 047 046 045 044 043 042 041 040 R4 057 056 055 054 053 052 051 050 R5 067 066 065 064 063 062 061 060 R6 077 076 075 074 073 072 071 070 R7 107 106 105 104 103 102 101 100 R10 117 116 115 114 113 112 111 110 R11 127 126 125 124 123 122 121 120 R12 137 136 135 134 133 132 131 130 R13 147 146 145 144 143 142 141 140 R14 157 156 155 154 153 152 151 150 R15 167 166 165 164 163 162 161 160 n a 177 176 175 174 173 172 171 170 n a 707 706 705 704 703 702 701 700 R70 717 716 715 714 713 712 711 710 R71 727 726 725 724 723 722 721 720 R72 737 736 735 734 733 732 731 730 R73 747 746 745 744 743 742 741 740 R74 757 756 755 754 753 752 751 750 R75 767 766 765 764 763 762 7
14. SS Counter Contact oe our CT600 K20 CT600 R400 Compared to a constant Compared to register value To enter a Timer Counter contact Data Display before ENT is pressed STR CNT SHF 6 0 oF E 00 1 5 1 5 o ENT ADDRESS DATA B ON OFF RUN BATT o GD ao 3 RST 3 7 7 eee To enter a Timer Counter comparative contact with STR SHF 6 0 0 SEENEN C 00 1 5 ENT ADDRESS DATA ON OFF RUN BATT Gm 3 7 PWR CPU a constant value SHF 2 O ENT S a a ee oe 020 4 1 5 ADDRESS DATA 6 7 CSR ON OFF RUN BATT 3 or PWR CPU SR a data register R 4 0 0 ENT a a a ee r400 OUT 1 5 ADDRESS DATA MRA ON OFF RUN BATT 3 7 PWR CPU JE REV A Entering Series Elements Entering RLL Programs iad You must program the first element in a rung with a STR instruction since it is the beginning of the network The rung can contain more than one element joined together in series by AND instruction s The following example shows how to enter two series contacts and a single output coil 001 002 050 LI our Enter the first contact Data Display before ENT is pressed STR SHF 1 ENT a aa o a C 001 1 5 1 5 ADDRESS DATA sweibold WH Enter the second con
15. ADDRESS DATA OD display returns to address 0001 ON OFF RUN BATT PWR CPU CPU Setup Changing the CPU Modes Even if you have years of experience using PLCs with handheld programmers there are a few things you may need to know before you start entering programs This section includes some basic things such as changing the CPU mode and clearing the CPU memory There are two modes available with the DL305 CPUs e RUN executes program and updates I O modules e PGM allows program entry does not execute program or update UO modules You can only change the CPU mode by using the keyswitch on the front of the handheld programmer WARNING The CPU will automatically change modes when you connect the Handheld Programmer if the keyswitch is set for a different mode of operation For example if the CPU is in Run mode and the Handheld Programmer keyswitch is set to the PRG Program position the CPU will automatically enter Program mode when the Handheld is connected The keyswitch also has a third position called LOAD If the keyswitch is in this position you can upload a program from CPU memory to a cassette tape or RUN PRGLOADTAPE o ie OD download a program from cassette tape to CPU memory Getting Started Mk Clearing an Before you enter a new program yo
16. d 007 1 5 1 ADDRESS DATA EE E 3 7 3 7 PWR CPU RoD Protecting and Storing Programs In This Chapter Password Protection Storing Programs on Cassette Tapes ore Protecting and Storing Programs Programs Password Protection The DL305 CPUs provide an extra measure of protection by allowing you to enter a password that prevents unauthorized machine operations The password must bea four character numeric 0 9 code Once you ve entered a password you can remove it by entering all zeros 0000 This is the default from the factory The password is stored in the CPU not in the Handheld Programmer If the battery backup is lost and the power is cycled you could lose the password and the program too You can enter a password in either the Run or Program mode Use the following keystrokes to use the password features Use these keystrokes to enter a password CLR SHF 9 8 7 SE ee 5 1 5 e DEL au X X ADDRESS DATA GD 6 2 6 GE x X ENT NXT PWA eeu 7 3 L X represents the password The display depends on the password entered Once you ve entered the password you can enable it by using the following keystrokes Use these keystrokes to enable the password CLR SHF 1 2 3 1234 1 5 1 5 4 DEL NXT ADDRESS DATA Gp ON OFF RUN BATT ean oor se S 7 3 7 PWR OPU
17. 3 7 PWR CPU Monitor the stage to verify the force optional CLR SG SHF 5 MON 0 4 5 S m S mes 1 5 1 2 ADDRESS DATA O e O Oo ON OFF RUN BATT A A o PWR cu 3 A A 4 To turn a stage off CLR RST SG SHF 5 0 4 4 1 5 1 5 ENT SAPORTA cD 2 6 2 6 ON OFF RUN BATT SET 3 7 3 7 PWR CPU CNT REG Error Codes e 0 12 System Monitoring and Troubleshooting The following table lists the error codes that may appear on the Handheld DL305 Error Code Description E01 Invalid Keystrokes Invalid keystroke or series of keystrokes entered into the handheld programmer Refer to the DL305 Handheld Programmer manual for assistance in the operation you are trying to perform E02 Input Point Programmed as Output An UO point dedicated to an input module has been used as an output in the application program Change the I O reference number in the program which is causing the error E03 Stack Overflow The maximum number of instructions utilizing the internal stack has exceeded eight These instructions can be a combination of AND STRs OR STRs and MCS MCR groups Reduce the number of these instructions which are pushed onto the stack at one time E05 NON Stage Duplicate Coil Reference Two or more output coils have the same data type and number Change the duplicat
18. reference for the remaining instructions The Handheld buffers all keystrokes until you press the ENT key Then it automatically checks the instruction to make sure that is has been entered correctly If the instruction is entered incorrectly an error message will be displayed See Chapter 6 for a complete listing of error messages There are a few basic instructions that you must become familiar with to enter programs with the Handheld 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 STR Joins a group of elements in series with another group of elements OR Joins a one element in parallel with a previous element or group of elements ORSTR Joins parallel branches each branch must begin with a STR instruction OUT Each rung must have at least one output Y C or box instruction NOT used with other instructions to utilize normally closed elements All programs must contain an END statement automatically provided The following diagram shows atypical network and how each of these elements are used 000 001 ORSTR AND 004 050 SA SIR Se a e Sieg 002 AND ha ANDSTR 005 OR END Statement Ge Starting at Address 0 Entering an END Statement Entering RLL Programs Bei If you re entering a complete program you should always start at
19. 270 R27 307 306 305 304 303 302 301 300 R30 317 316 315 314 313 312 311 310 R31 327 326 325 324 323 322 321 320 R32 337 336 335 334 333 332 331 330 R33 347 346 345 344 343 342 341 340 R34 357 356 355 354 353 352 351 350 R35 367 366 365 364 363 362 361 360 R36 373 372 371 370 R37 1007 1006 1005 1004 1003 1002 1001 1000 R100 1017 1016 1015 1014 1013 1012 1011 1010 R101 1027 1026 1025 1024 1023 1022 1021 1020 R102 1037 1036 1035 1034 1033 1032 1031 1030 R103 1047 1046 1045 1044 1043 1042 1041 1040 R104 1057 1056 1055 1054 1053 1052 1051 1050 R105 1067 1066 1065 1064 1063 1062 1061 1060 R106 Control relays 340 373 can be made retentive by setting a CPU dipswitch See the DL305 User Manual for details on setting CPU dipswitches DL305 Memory Map Special Relays The following table shows the Special Relays used with the DL305 CPUs 175 100 ms clock on for 50 ms and off for 50 ms DL330P 176 Disables all outputs except for those entered with the SET OUT instruction 177 Battery voltage is low 374 On for the first scan cycle after the CPU is switched to Run Mode DL330 375 100 ms clock on for 50 ms and off for 50 ms DL340 376 Disables all outputs except for those entered with the SET OUT instruction 377 Battery voltage is low 77
20. 4 Se 001 5 ADDRESS DATA TMR ON OFF RUN BATT QO NYZIO Enter the output Entering RLL Programs Bak Data Display before ENT is pressed OUT SHF 5 0 ENT Enter the next contact STR SHF 2 ENT o a o a 050 5 1 5 ADDRESS DATA oo 2 6 2 3 7 3 PWR CPU RST a 0 4 0 H H T 1 5 1 9 ADDRESS DATA E __ADDRESS DATA RI ON OFF RUN BATT oft z Eo 3 7 3 PWR CPU RST Enter the second MCS instruction MCS ENT Enter the first MCR instruction MCR ENT 0 4 0 4 AND UD CS DR 1 5 1 5 ADDRESS DATA 2 6 2 6 ae 3 7 3 7 PWR CPU RST EG e e e 0 4 AND 1 5 ADDRESS DATA ON OFF RUN BATT en 3 7 PWR CPU I n lt Nj mia WOCHE 3 fH CO J n gt N OPO S Ty ila Enter the second MCR instruction MCR ENT ADDRESS DATA ga ON OFF RUN BATT Soe PWR CPU w A G 0 2 20 Entering RLL Programs Entering Shift The DL305 CPUs allow you to use Control Relays with a Shift Register You can Registers have any number of Shift Registers but there are only 128 Control Relays that can be used 400 577 Also you cannot use these bits as Control Relays and Shift Register bits See the DL305 User Manual for more details The Shift Register has three input contacts e Data used to determine a value 1 or 0 that will be sh
21. AND 005 Starts branch 4 with 005 0007 ORN 006 Joins 006 NOT in parallel with 005 0008 ANDSTR Joins branches 4 and 5 with 1 3 0009 OUT 050 Stores the output and finishes the network 0010 END Ends the program Press SHF and NXT to display the beginning of the program SHF NXT Displays the first address 0 0000 r ADDRESS DATA ON OFF RUN BATT on on GD om 3 7 3 7 PWR CPU NoD SR ST EG 4 Changing Programs e Use PRV or NXT to scroll through the program NXT e 0 4 0 4 FS 0000 5 1 5 In Run Mode ADDRESS DATA On Off status ON OFF RUN BATT is displayed SE NXT 0 3 IT 1 5 ADDRESS DATA IR SHF 2 6 2 6 ON OFF RUN BATT 3 7 3 7 PWR CPU NoD GR STD GE PRV Press CLR or NXT to toggle between the address and instruction display 4 al a ae ee oe 0000 1 1 5 5 ADDRESS DATA TMR MCR SHF uee on aa A E 2 GE 7 3 CSR 3 7 PWR CPU NOD GR ST GEG a Changing Programs Finding a Specific Instruction If you do not want to scroll through the program you can use the Search feature to automatically search for an instruction The following example shows the instructions addresses and corresponding Handheld displays for a small program 000 002 005 050 D out a Vie 001 003 004 Se Se Pa pg Input 005 ka 006 Mnemonic Listin
22. Address 0 The following example shows the keystrokes required to start at address 0000 The remaining examples will not show this step but it is required Start at address 0 Address Display SHF NXT EE ee T 0000 1 5 1 5 _ ADDRESS PATA OR Et MER SHE 2 6 2 6 ONOFF RUN DIR GND GED GAD 3 7 3 7 PWR OPU en Once you re at address 0 you can start entering a program After you start entering the program the Handheld automatically increments to the next address after you enter an instruction You can toggle from the address display to the data display by pressing the NXT key You can toggle from the data display to the address display by pressing the CLR key For example if you start at address 0000 and press NXT the display changes and shows the instruction type located at address 0000 The following example shows what the display would look like Start at address 0 change to data display instead of address display NXT i a ot a gt End 1 5 1 5 2 6 2 6 ONOFF RUN BATT eme GND GED Gad PWR CPU w 7 3 S Se The example keystrokes shown throughout this chapter will indicate which display method is being used This will make the examples easier to follow If you prefer a different display you now have the means to change it All DL305 programs must have an END statement as the last statement in the program Whenever you clear the CPU memory the CPU assumes that all
23. As with any problem you have to find it before you can fix it There are several operations and features that help you quickly find the exact cause of system problems Monitor Discrete UO Points to examine UO power flow for individual UO points Force Discrete UO Points to examine machine sequences or inconsistencies Monitor Register Locations to examine word locations to determine if correct values are being used Change Register Values to force word locations with different values Monitor Timer Counter Values to adjust machine timing elements Understand Error Codes to know where to look first System Monitoring and Troubleshooting 0 3 Monitoring Discrete Points Di Q l l You can monitor up to 16 discrete points at one time The points can be from the Q following data types 5 bau e Inputs S e Output sl Ke e Control relays The status display area is also used to show the status for the points being monitored Here s how the display is organized Indicates I O Reference Number 16 LEDs Total Status Display show on off status Kn n o 1 5 1 5 ADDRESS DATA e e o o 2 6 2 6 ON OFF RUN BATT 6 e g 3 7 3 7 PWR CPU o o o 50 57 60 67 Use the following keystrokes to monitor discrete points To select a different data type use the corresponding reference number instead of the one shown The DL305 memory map is included in Appendix A This wi
24. E NOT AST E ON OFF RUN BATT W PWR CPU Enter the end of the Shift Register SHF 4 1 7 ENT 4 7 7 0 1 ADDRESS DATA 2 3 NOT ON OFF RUN BATT PWR CPU ence Entering RLL Programs Entering Data Instructions In addition to the simple RLL instructions the DL305 CPUs also provide Data Instructions that allow you to manipulate words of data For example you may want to perform simple math operations on register values The following table provides a listing of the various Data Operation Instructions You should see the DL305 User Manual for complete details on how the instructions operate Category Mnemonic Function Description Data Load Instructions DSTR F50 Load a 4 digit constant or 2 bytes of register data into the accumulator DSTR 1 F51 Load 1 byte of register data into the accumulator DSTR 2 F52 Load the upper 4 bits of a register into the lower 4 bits of the accumulator DSTR 3 F53 Load the lower 4 bits of a register into the upper 4 bits of the accumulator DSTR 5 F55 Load the digital value of a 16 point module 2 bytes into the accumulator Data Out Instructions DOUT F60 Write the accumulator to 2 sequential registers DOUT 1 F61 Write the lower byte of the accumulator to a register DOUT 2 F62
25. Ke Changing Programs Changing an Instruction Sometimes you need to change an instruction For example you may want to use a different input or output point than the one originally entered into the program The following example shows the instructions addresses and corresponding Handheld displays for a small program 000 002 005 Pe our Change to 060 001 003 004 006 Ge Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0001 OR 001 Joins 001 in parallel with 000 0006 AND 005 Starts branch 4 with 005 0009 OUT 060 Stores the output and finishes the network 0010 END Ends the program Search for the address ADDRESS DATA TMR SHF 9 NXT n 0009 1 5 1 2 SET PWR CP 3 e 3 U NOD Change the instruction Display before ENT is pressed 4 OUT SHF 6 O ENT 0 0 4 060 1 5 1 5 ADDRESS DATA SHE a 2 6 2 8 GEN 3 7 3 7 PWR OPU ROD 4 Changing Programs ad Inserting an Instruction Use the INSERT feature to add an instruction to the program Insert adds an instruction before the instruction being displayed so make sure you are at the correct program address Once you ve inserted the new instruction the remaining addresses increment The following example shows the instructions addresses and corresponding Handhel
26. Zl Ela ay ky G PWR CPU R Enter branch 2 STR SHF 2 ENT 2 aa O O a E OO GD OD a GD ADDRESS DATA co ON OFF RUN BATT em O O sizio lz Ica 3 ol G 3 PWR CPU SR Entering RLL Programs Start branch 3 add join with branch 2 Es E All o o NJU L O D oO 0 Che alta on O ke Ey 2 TE Te D oS oO Z No O g O Q ofz N N Se QO PWR CPU ADDRESS DATA ON OFF RUN BATT Es 8 oO tO wo o NW lt Q D ny 0 lh Ir CO ajui eo Wd ke Ey II TE Le OS oz No O E O a T o z NIE co E Wa CH Tu 8 G stin o NW lt L N Q D OO oc H elON O Dm op jag K a k x OS oz No O E O 0 AND OD a ADDRESS DATA ON OFF RUN BATT PWR CPU Es E ba 1a o o NW RS Q D OO eg H o O O alt N oc Ey ay IC l Ol S O ZI O E O SR PWR CPU ADDRESS DATA ON OFF RUN BATT ENT SHF STR E Ee SEA lt Nf 6 2 Gbiik i 2 5 1 2 O H Z W L Ka He O Z AND ENT STR WW OR Add branch A ENT 5 SHF AND _ Entering RLL Programs Add branch 5 join with branches 1 4 RLL Programs Es 8 st IO o o NW lt Q D Roi D ke e O Dm belle Wal jag j a j x
27. cycle mode the operator must press the start switch again If it is not in one cycle mode the saw continues the operations sequence The operator can stop the process at any time just by pressing a stop switch The following diagram shows a very simple RLLPLYS program that would control this operation This representation is what you could expect to see if you were using our DirectSOFT programming software You may notice the diagram doesn t appear very different from a normal RLL program However there are significant advantages that aren t obvious at first glance If you want to know more take a few extra minutes to read about this time saving approach in the DL305 User Manual WARNING The example program shown is not suitable for actual applications There are many safety aspects that have not been considered which could result in a risk of personal injury or damage to equipment The instructions used to create this program are very similar to the ones used in normal RLL programs For example you still enter contacts and output coils the same way There are a couple of new instructions and these instructions have keys on the Handheld Programmer You ll notice the Initial Stage ISG instruction begins the program If you examine the Handheld you ll notice a key for the ISG instruction Here s a list of the primary instructions you ll use with RLLPLYS programs e Initial Stage ISG e Stage SG e Jump
28. display is different from the RLL Handheld programmer Enter the initial stage le Only executes logic in stages that are active ISG 1 s0000 Wait for start Start Si JMP 000 SG i S10 CH so001 Move pipe down JMP conveyor Conveyor OUT 020 Pipe Limit s2 JMP 001 SG s0002 Lock the clamp Clamp SET 021 Lockea s3 l JMP 002 Data display before ENT is pressed ISG SHF 0 ENT ES OOO GD GD GD ap ADDRESS DATA D Ge Ow F ON OFF RUN BATT PWR CPU 3 i 3 2 REG Enter the contact STR SHF 0 ENT OOO ADDRESS DATA ON OFF RUN BATT PWR CPU aT Entering RLL s Programs 3 9 Entering Jump Instructions The Jump JMP instruction provides a L Only executes logic in stages that are active way to transition to multiple points in the program If you look at the example LD Wait for start program you ll notice the program branches to two locations after the ER JMP operator presses the start switch The 000 l z SC Jump instruction provides this transition E Move pipe down HMP Since the program is jumping to two conveyor locations you ll use two Jump Conveyor instructions 02
29. for up to 16 points We ll discuss this in more detail in Chapter 6 CPU Status LEDs The CPU LEDs show you the mode of operation battery status power indication and CPU error condition if any exists The ON OFF LED shows the status for the individual instructions as you step through the program during Run mode For example if the instruction was SET 050 and the CPU was in Run mode then the display would appear as follows 0050 Status of the point ADDRESS DATA being displayed EE ee CPU and Status 7 3 7 PWR CPU AOD RST REG In Run mode you can also toggle between the address display and the status display by pressing CLR and NXT Remember the address display would have the periods as shown earlier Getting Started ME Clearing the Sometimes we all make mistakes so it s important to know how to clear the display Display Area and start from the beginning Since the Handheld Programmer buffers the keystrokes until you press ENT you can clear the display at any time up until the ENT button is pressed When you press CLR the Handheld clears the keystrokes you ve entered and remains at the current address At this point you can now enter the correct instruction Consider the following example that starts at address 0001 Keystroke Error should have used SET instead of OUT Sooo 030 ADDRESS DATA GD ON OFF RUN BATT PWR CPU Press CLR E 0007 e
30. same as the I O points Entering RLL Programs ia Entering Normally Normally closed elements are entered by using the STR and NOT instructions The Closed Elements following example shows a simple rung with a normally closed contact 001 050 Ce LA our Enter the contact Data Display before ENT is pressed STR NOT SHF 1 ENT 1 ADDRESSIOATA CD MD GD GD eee eee ON OFF RUN BATT ep GATA 3 7 3 7 e PWR CPU ce RST v Enter the output amp OUT SHF 5 0 ENT ry ry ry SI 05 0 GD Mcs g 1 5 1 5 ADDRESS DATA HCH GHP 2 6 2 6 ON OFF RUN BATT SNT DATA 3 7 3 7 PWR CPU RST REG Entering Timer Counter Contacts T600 050 OUT NS Enter the contact Data Display before ENT is pressed STR TMR SHF 6 0 6 _ _ _ 4 ___ A a a EO 00 do Gp as a 0 0 ENT ADDRESS DATA GD T ON OFF RUN BATT Gm 3 7 3 PWR CPU RST D O MIN O CG gt Enter the output OUT SHF 5 o ENT 3 J 7 050 en vi ADDRESS DATA va GD ON OFF RUN BATT om PWR CPU AST GEG 2 0 Entering RLL Programs You may also need to enter timer and counter contacts or relational contacts based on counter values These types of contacts are entered slightly differently than normal input contacts The following example shows the keystrokes
31. to Stage JMP There are also a few other instructions that are used differently and entered differently in RLLPLYS programs e Timers e Counters e Shift Registers The following pages show you how to enter these instructions Entering RLL s Programs Ba L Only executes logic in stages that are active ISG S0000 Wait for start Start S1 A JMP 000 SG S10 S0001 Move pipe down JMP conveyor Conveyor OUT 020 Pipe Limit E 1 JMP 001 SG 0002 Lock the clamp Clamp SET Pipe pat Locked S3 JMP 002 SG 0003 Cut the pipe Saw On SET 022 Saw Down OUT 023 L 1 t JMP 003 SG S0004 Raise the saw TMR 600 T600 50 Saw Off gt RST 022 7 Lint Clamp RST 004 021 Sp JMP SG F 0005 One cycle or automatic o Cycle so JMP 005 Ed S1 JMP 005 SG S0010 Monitor for Stop Stop S0 S5 l RST 010 So JMP m T O ol Q D 3 n ka Entering RLL s Programs Programs Entering an Initial Stage The Initial Stage identifies a starting point in the program When the CPU enters Run mode this is where the program execution will begin The following keystrokes are used to enter an initial stage Remember the RLLPLUS Handheld programmer keypad layout and
32. will be reset to 0000 Re enter the password if required E25 A mismatch was found when a compare was performed on the program in Tape Program CPU memory and the program stored on tape Mismatch E28 The volume is incorrect on the tape player being used to load the program to Volume Incorrect On the CPU Adjust the volume and retry the operation Refer to the DL305 Tape Device Handheld Programmer manual for details on tape operation E31 The application program required more RAM for execution than is available RAM Limit Exceeded Reduce the length of the program E99 A search was performed and the specified instruction was not found in the Instruction Not Found application program ia J bi om o be Si a gt e e ei Kai DL305 Memory Map In This Chapter DL3830 Memory Map DL3830P Memory Map DL340 Memory Map UO Point Bit Map Control Relay Bit Map Special Relays Timer Counter Registers and Contacts Data Registers Stage Control Status Bit Map Shift Register Bit Map Special Registers A A 2 DL305 Memory Map DL330 Memory Map a o i gt gt fe o gt IS co a Registers Input Output 000 157 ROOO RO15 168 Total 000 010 Points 700 767 R070 R076 Control Re
33. 0 Pipe Limit S2 JMP 001 eae S0002 Lock the clamp Clamp SET Pipe p21 Locked s3 J JMP bop e S0010 Monitor for Stop Stop 0 S5 H RST Ol 010 Q so oi JMP 3 n Enter the first jump Data display before ENT is pressed JMP SHF 1 ENT o ay o ay a 001 1 1 5 ADDRESS DATA AND OD GE 2 6 2 6 ON OFF RUN BATT GATA 3 7 3 7 PWR CPU NoD st CND GEG Enter the second jump JMP SHF 1 0 ENT 5 4 1 5 0 1 oun amp 6 2 6 3 CNT ADDRESS DATA AND ON OFF RUN BATT 3 7 PWR CPU RST e 3 0 Entering RLL s Programs Programs Entering Stage Instructions The Stage SG instruction identifies the starting point of a program segment Unlike an initial stage a regular stage does not automatically activate when the CPU enters Run mode There are three ways to activate a stage e Jump Transition if you jump from a stage to another stage then the destination stage is automatically activated Remember the jump example e Power Flow Transition power can flow through the stages which will activate the next stage e SET just as you can use a SET instruction to turn on an output you can use a SET to turn on a stage With this method the stage will stay on until it is reset RST or until the logic within that stage causes a jump or power flow transition L Only executes logic in stages that are active
34. 0 Changes timers to 0 01 second intervals Timers are normally 0 1 second time intervals 771 The external diagnostics FAULT instruction F20 is in use 772 The data in the accumulator is greater than the comparison value DL330 773 The data in the accumulator is equal to the comparison DL330P value DL340 z z 774 The data in the accumulator is less than the comparison value 775 An accumulator carry or borrow condition has occurred 776 The accumulator value is zero 777 The accumulator has an overflow condition 1074 The RX or WX instruction is active 1075 An error occurred during communications with the RX or WX instructions DL340 1076 Port 2 communications mode on ASCII mode off HEX mode 1077 Port 1 communications mode on ASCII mode off HEX mode Bad DL305 Memory Map Timer Counter Registers and Contacts og1q The following table shows the locations used for programming timer or counters Since timers and counters share the same data area you cannot have timers and counters with duplicate numbers For example if you have Timer 600 you cannot have a Counter 600 Each register contains the current value for the timer or counter Each timer or counter also has a timer or counter contact with the same reference number D e Ss lt D Kei NOTE Counter current values are retentive and retain their state after a power cycle 607 606 605 604 603 7 602 601 600
35. 262 261 260 R26 277 276 275 274 273 272 271 270 R27 307 306 305 304 303 302 301 300 R30 317 316 315 314 313 312 311 310 R31 327 326 325 324 323 322 321 320 R32 337 336 335 334 333 332 331 330 R33 347 346 345 344 343 342 341 340 R34 357 356 355 354 353 352 351 350 R35 367 366 365 364 363 362 361 360 R36 373 372 371 370 R37 Control relays 340 373 can be made retentive by setting a CPU dipswitch See the DL305 User Manual for details on setting CPU dipswitches A DL305 Memory Map Ane 167 166 165 164 163 162 161 160 R16 174 173 172 171 170 R17 207 206 205 204 203 202 201 200 R20 217 216 215 214 213 212 211 210 R21 227 226 225 224 223 222 221 220 R22 237 236 235 234 233 232 231 230 R23 247 246 245 244 243 242 241 240 R24 257 256 255 254 253 252 251 250 R25 267 266 265 264 263 262 261 260 R26 277 276 275 274 273 272 271 270 R27 Control relays 200 277 can be made retentive by setting a CPU dipswitch See the DL305 User Manual for details on setting CPU dipswitches 167 166 165 164 163 162 161 160 R16 177 176 175 174 173 172 171 170 R17 207 206 205 204 203 202 201 200 R20 217 216 215 214 213 212 211 210 R21 227 226 225 224 223 222 221 220 R22 237 236 235 234 233 232 231 230 R23 247 246 245 244 243 242 241 240 R24 257 256 255 254 253 252 251 250 R25 267 266 265 264 263 262 261 260 R26 277 276 275 274 273 272 271
36. 3 432 431 430 R43 447 446 445 444 443 442 441 440 R44 457 456 455 454 453 452 451 450 R45 467 466 465 464 463 462 461 460 R46 477 476 475 474 473 472 471 470 R47 507 506 505 504 503 502 501 500 R50 517 516 515 514 513 512 511 510 R51 527 526 525 524 523 522 521 520 R52 537 536 535 534 533 532 531 530 R53 547 546 545 544 543 542 541 540 R54 557 556 555 554 553 552 551 550 R55 567 566 565 564 563 562 561 560 R56 577 576 575 574 573 572 571 570 R57 With the DL340 CPU these bits can also be used as control relays if they are not used with a Shift Register instruction DL305 Memory Map Special Registers This table provides a listing of the special registers used with the DL305 CPUs DL330 R574 575 Contains the error code used with the FAULT instruction DL330P R576 577 Auxiliary accumulator used with the MUL and DIV DL340 instructions R771 Sets the upper byte of the station address assigned to the bottom communication port Therefore this will contain the 1st and 2nd digits of the address R772 Sets the lower byte of the station address assigned to the bottom communication port This only contains one digit which is the 3rd digit of the address R773 Sets the baud rate for the bottom communication port DL340 Only R774 Sets the leading communications delay time for the bottom communication port R775 Sets the trailing communications delay time f
37. 61 760 R76 NOTE 160 167 can be used as I O in a DL330 or DL330P CPU under certain conditions 160 177 can be used as I O in a DL340 CPU under certain conditions You should consult the DL305 User Manual to determine which configurations allow the use of these points These points are normally used as control relays You cannot use them as both control relays and as UO points Also if you use these points as I O you cannot access these I O points as a Data Register reference aa DL305 Memory Map Control Relay Bit Map The following tables provide a listing of the individual control relays associated with each register location for the DL305 CPUs NOTE 160 167 can be used as I O in a DL330 or DL330P CPU under certain conditions 160 177 can be used as I O in a DL340 CPU under certain conditions You should consult the DL305 User Manual to determine which configurations allow the use of these points You cannot use them as both control relays and as UO points Also if you use these points as I O you cannot access these I O points as a Data Register reference 167 166 165 164 163 162 161 160 R16 177 176 175 174 173 172 171 170 R17 207 206 205 204 203 202 201 200 R20 217 216 215 214 213 212 211 210 R21 227 226 225 224 223 222 221 220 R22 237 236 235 234 233 232 231 230 R23 247 246 245 244 243 242 241 240 R24 257 256 255 254 253 252 251 250 R25 267 266 265 264 263
38. 66 765 764 763 762 761 760 ect DL305 Memory Map Stage Control Status Bit Map This table provides a listing of the individual stages and stage control bits These are only available with the DL330P CPU 007 006 005 004 003 002 001 000 R100 017 016 015 014 013 012 011 010 R101 027 026 025 024 023 022 021 020 R102 037 036 035 034 033 032 031 030 R103 047 046 045 044 043 042 041 040 R104 057 056 055 054 053 052 051 050 R105 067 066 065 064 063 062 061 060 R106 077 076 075 074 073 072 071 070 R107 107 106 105 104 103 102 101 100 R110 117 116 115 114 113 112 111 110 R111 127 126 125 124 123 122 121 120 R112 137 136 135 134 133 132 131 130 R113 147 146 145 144 143 142 141 140 R114 157 156 155 154 153 152 151 150 R115 167 166 165 164 163 162 161 160 R116 177 176 175 174 173 172 171 170 R117 Baak DL305 Memory Map Shift Register Bit Map The shift register bits listed below are used in the shift register instruction These outputs are discrete bits and are not the same locations as the 8 Bit Data Registers These bits are retentive meaning they retain their state after a power cycle NOTE The DL330P does not have Shift Register bits Shift Register instructions in the DL330P use Control Relays memory references 407 406 405 404 403 402 401 400 R40 417 416 415 414 413 412 411 410 R41 427 426 425 424 423 422 421 420 R42 437 436 435 434 43
39. Address Data Display Area Instruction LEDs Getting Started Be The Address Data primarily shows two things e For programs it shows address locations or instruction reference numbers e For monitoring operations it shows the current value of timers counters and registers How do you know which one you re seeing on the display Simple whenever an address is shown there are periods that follow each digit If the periods are missing you re seeing a data value a constant an I O reference etc Data Values or Address Periods indicate an Address 0 a o a OU EE 1 5 1 5 2 6 2 6 3 T 3 7 SE Since the display area can show two types of information you can easily switch between the two types by pressing CLR and NXT The following display shows an example of the display if a SET instruction was loaded at address 0000 and you pressed the CLR key You can then press NXT to return to the address display Shows I O Reference Periods are missing Oo 4 oO A O 005 O Ge dn dh ah 5 1 5 ee ON OFF RUN BATT SET CD TN OBB E The instruction LEDs show you which instruction is used at the address being displayed For example ifa SET instruction is located at address 0000 then the SET LED would be on Shows I O Reference Instruction Type 0050 ADDRESS DATA 3 7 7 PWR OPU RoD These LEDs are also used during monitoring operations to show the On Off status
40. Chapter 5 Protecting and Storing Programs Password Protection asinan oaan EE EE 5 2 Storing Programs on Cassette TapeS 0 cc cece eee e eee ee eens 5 3 Cassette Characteristics faa shad tet Sct eh ate eat cates EE 5 3 Connecting the Cassette Recorder 5 3 Program Names on Cassettes Gorete EE He oe ER EE Sid Ree SE 5 3 Writing a Program to the Cassette 5 4 Verifying the Tape Contents 00 ccc c eee eee teen eae 5 6 Reading a Program from a Cassette 0 c cece ene ees 5 9 Chapter 6 System Monitoring and Troubleshooting Troubleshooting Suggestions c cece cece e eee eee eee eee eee eee eee eens 6 2 Monitoring Discrete Points i is siiiac erected areca dip dre amp arated Bare Waleeediery EEN nae warere eee ware 6 3 Forcing Discrete Points cis jcrees eek ciwita eee eA eae eee eea eae ees 6 4 Monitoring Register Locations ENN ENNEN EE eee cee EE ENER EE EE ENEE NEE KEE ER 6 6 Changing Register Valtt ges oct SA age eee Shh ene teh AA 6 6 Monitoring Timer Counter Current Values 00 ccc ee eee eee eee eee eee eens 6 7 Changing Timer Counter Current Values 6 7 Monitoring Program Stages 6 8 Forcing Program Stages s 2 cscciaodt anne cs ates ck goss eee Wie fae ee ees Cees eee tea ease 6 10 BFE COGS Sis eh aca ek acs han eS ated ear cele ae Se Mt blag radish 6 12 Appendix A DL305 Memory Map DL330 Memory Map ege eee cde Wiad N Eed EE NNN EE eee ee dv ees EEA ee eee A 2 DLS30P Memo
41. DL305 Handheld Programmer Manual Number D3 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 Itis 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 question
42. GEG Display when an error occurs E 2 5 o 4a 0 A ADR ADDRESS DATA om 2 6 2 6 ON OFF RUN BATT BATA R CP 3 7 3 7 PWR CPU mn Ga Gen GEG You can press CLR to remove the error message and start over If you get an error there are several things you can check e Check the tape positioning It is very important to position the tape correctly This is the cause of most errors e Adjust the volume level and or tone controls e Check the cable connections e Clean the tape recorder head Use the documentation that came with your recorder to determine the correct cleaning procedures from a Cassette Protecting and Storing Programs DH Reading a Program The procedure to read a program is almost exactly the same as the one for verifying the tape contents Before you begin the procedure make sure you have positioned the tape just before the first head mark or just before the location of the program you want to read If you position the tape in the head mark an error will occur Set the tape recorder TONE and VOLUME controls to the settings you used when you recorded the program If you don t remember the settings set the controls to the midway position You may have to adjust the volume later Also remember the Handheld Programmer keyswitch has to be in the LOAD position to perform tape operations When you have the cable connected to the earphone jack place the Handheld Programmer keyswitch in the LOAD position Th
43. ISG ADR a 1 5 1 5 Zi ADDRESS DATA AND GHE R 2 6 2 6 3 ON OFF RUN BATT GATA 7 3 7 3 7 PWR CPU RSD CND EG Enter the Shift Register and starting location SET RST SHF 2 0 7 1 0 ENT ADDRESS DATA AND ON OFF RUN BATT PWR CPU Enter the end of the Shift Register SHF 2 1 7 ENT 9 4 DA 1 4 5 ADDRESS DATA AND 6 7 ON OFF RUN BATT 3 PWR CPU RST ND REG Changing Programs In This Chapter Displaying a Program Finding a Specific Instruction Finding a Specific Address Changing an Instruction Inserting an Instruction Inserting an END Statement Deleting an Instruction 4 ane Changing Programs Displaying a Program Since the Handheld displays the mnemonic instructions you can step through the individual program instructions If the CPU is in the RUN mode the status of the instruction is also displayed in the status display area 000 002 005 050 E our D As 001 003 004 Li 006 ve Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0001 OR 001 Joins 001 in parallel with 000 0002 STR 002 Starts branch 2 with 002 0003 STR 003 Starts branch 3 with 003 0004 ANDN 004 Joins 004 NOT with 003 0005 ORSTR Joins branches 2 and 3 0006
44. N OFF RUN BATT GATA 3 7 3 7 PWR CPU NoD GR STD SE ia J bi om es o fa Si D a gt e e ei Si Kai e e 6 0 System Monitoring and Troubleshooting Monitoring Register Locations You can use the Handheld to monitor and change register locations When a register is monitored the handheld programmer will display two register locations eight bits each this means that 4 digits of data will be shown Since data register locations are 8 bit locations two consecutive data registers will be displayed When changing values in data register locations you can also write two consecutive data register locations Select the location to monitor R401 R400 CLR R 4 0 0 7 4 AL o a 5 3 a OD a GD MON ADDRESS DATA _ ON OFF RUN BATT PWR CPU Changing Register Values Select the location to monitor R401 R400 CLR R 4 0 0 14 gt 4 oOo 4 ei 3 GD OD a GD MON ADDRESS DATA CD ON OFF RUN BATT PWR CPU Enter the new value R401 R400 SHF 1 3 5 4 e Z ND a 1354 a cp a ap ENT ADDRESS DATA OD ON OFF RUN BATT PWR CPU System Monitoring and Troubleshooting BI Monitoring Timer Counter Current Values You can also use the Handheld to monitor and or change timer and counter current values There are two ways to do this You can use the register m
45. RoD Once password protection has been enabled you must enter the password before you can make any changes to the program You can still view the program and use the Handheld to monitor machine operations but you cannot make changes Use these keystrokes to access a password protected CPU CLR SHF 5 6 7 0 4 O 4 Q000 a ch 8 DEL SHF X x ADDRESS DATA ON OFF RUN BATT X X ENT S PWR CPU a GEG X represents the password The display depends on the password entered REVA Protecting and Storing Programs DZ Storing Programs on Cassette Tapes Cassette Although the best way to store programs is to use DirectSOFT and computer Characteristics diskettes you can also copy the programs from the CPU to cassette tapes Both forms of media allow you store several programs but the diskette method is much easier to use and it s more reliable due to the differences in various cassette recorders When you select a recorder choose one designed for use with Personal Computers PCs These types of recorders are much more suitable than those used for normal audio recordings However most audio recorders will record or play the digital information accurately if they have both volume and tone controls Connecting the The cassette recorder cable included with the Handheld Programmer connects to Cassette Recorder the small jack on the front of the Handheld Programmer
46. Write the lower 4 bits of the accumulator to the upper 4 bits of a register DOUT 3 F63 Write the lower 4 bits of the accumulator to the lower 4 bits of a register DOUT 5 F65 Write the contents of the accumulator to a 16 point output module 2 bytes Math Instructions CMP F70 Compare a 2 byte BCD reference or a 4 digit BCD constant to the accumulator ADD F71 Add a 2 byte BCD reference or a 4 digit BCD constant to the accumulator SUBTRACT F72 Subtract a 2 byte BCD reference or a 4 digit BCD constant from the accumulator MULTIPLY F73 Multiply a 2 byte BCD reference or a 4 digit BCD constant by the value in the accumulator DIVIDE F74 Divide the accumulator by a 2 byte BCD reference or a 4 digit BCD constant Entering RLL Programs 2 23 Bit Manipulation Instructions DAND F75 Performs a bit AND on a 2 byte reference or a 4 digit BCD constant and the bits in the accumulator DOR F76 Performs a bit OR on a 2 byte reference or a 4 digit BCD constant and the bits in the accumulator SHIFT RIGHT F80 Shifts the contents of the accumulator to the right a specified number of times 1 15 bits can be shifted SHIFT LEFT F81 Shifts the contents of the accumulator to the left a specified number of times 1 15 bits can be shifted Data Conversion Instructions DECODE F82 Decodes the f
47. act comparison register R 4 0 0 ENT Notice you did not have to press the SHF key before entering the numbers 0 4 oO 4 r400 1 5 1 5 _ADDRESSIDATA 6 6 7 ON OFF RUN BATT 3 PWR CPU RST NT REG T O a Q D 3 Ra SI Entering RLL s Programs Entering Shift Registers Shift Registers operate the same in RLLP YS programs as they do in RLL programs However the keystrokes required to enter a Shift Register are different because the SR key is not on the RLLPLUS Handheld Programmer Also you do not have a separate range of bits available for use as shift register bits Instead you have to use the control relays The following page shows the keystrokes used with this type of Handheld 001 eee SR Clock Input 2 eee 200 003 LEE Input 17 Ka E bal De Jeu el oO Entering RLL s Programs Rat Enter the Data input Data Display before ENT is pressed STR SHF 1 ENT 00 1 1 5 1 ADDRESS DATA AND GHP 2 6 2 6 3 7 3 7 PWR CPU RST 0 4 0 4 GTR SG GG pp Enter the Clock input STR SHF 2 ENT 002 a a 4 CH 1 4 0 5 1 _ADDRESS DATA NMD O UD GHP 6 2 7 3 ON OFF RUN BATT 3 PWR CPU RST CNT REG Enter the Reset input STR SHF 3 ENT S o A eS
48. d displays for a small program 000 002 005 007 SS aa WW E ka our 001 003 004 eee Insert 007 006 Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0006 AND 005 Starts branch 4 with 005 Insert AND 007 Adds 007 in series with 005 0007 ORN 006 Joins 006 NOT in parallel with 005 0010 END Ends the program Search for the address SHF 7 NXT o 4 o 4 0007 BEE 1 5 1 ADDRESS DATA TMA Sas a eee 6 2 6 3 7 3 7 PWR CPU en Insert the new instruction Display before NXT is pressed AND SHF 7 INS NXT r 7 S 7 E m 007 1 5 1 5 ADDRESS DATA GE gt 6 2 ON OFF RUN BAT em GND GD Gem 3 7 3 7 PWR CPU RoD Changing Programs Inserting an END Statement There may be times when you need to insert an END statement before an address inthe program This is commonly done when you only want to check a portion of the program during machine startup or troubleshooting You use the INSERT feature but since the Handheld does not have an END key special keystrokes are required 000 002 005 007 050 7 H HD 001 003 004 Insert END 006 Lo aig this 010 051 E our Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0006 AND 005 Sta
49. e 64 T600 Status Bits T674 T677 Data Words None R400 R563 116 None specific used with many instructions Stages SO S177 R100 R117 128 SG Si Soo Special None R574 R577 4 R574 R575 used with FAULT Registers R576 R577 Auxiliary Accumulator T C Setpoint Unit Only Can be used as data registers if the Timer Counter Setpoint Unit or Thumbwheel Interface Module is not used which provides a total of 128 data registers R564 R573 contain the preset value used with the Timer Counter Setpoint Unit R674 R677 contain the current values for these timers or counters bag DL305 Memory Map DL340 Memory Map a o i gt gt fe o gt IS co a Input Output 000 157 ROOO RO15 168 Total 000 010 Points 700 767 R070 R076 Control Relays 160 373 R016 R037 180 Cp Cp 1000 1067 R100 R106 Le Special Relays 374 377 R037 20 772 376 770 777 R077 I TN 1070 1077 R107 dal Timers 600 673 None 64 TMR T600 __ICNT C600 Counters 674 677 K100 vun Timer Counter None R600 R673 64 R600 K100 Current Values R674 R677 gt Timer Counter T600 T673 None 64 T600 Status Bits T674 T677 Data Words None R400 R563 172 None specific used with many R700 R767 instructions Shift Registers 400 577 None 128 eaten
50. e coil to correct the error Duplicate coil references are valid with the SET instruction E05 Stage Duplicate Stage Two or more Stages have the same reference number Change the duplicate Stage number to correct the error Missing CNT or SR Contact Reference E06 The number of MCR instructions do not match the number of MCS MCR MCS Mismatch _ instructions Each MCR must have an accompanying MCS E07 A required input contact is missing from a CNT example RESET input or a SR instruction Refer to the DL305 User Manual for details on these instructions Incomplete Program Rung E08 The required data values for a TMR CNT or SR are missing or incorrect Invalid Data Values Refer to the DL305 User Manual for details on these instructions E09 The rung does not terminate with an output as required Program an output to terminate the rung properly E11 Program Full There is no available program addresses in memory Reduce the size of the program System Monitoring and Troubleshooting 6 13 DL305 Error Code Description E21 Program Memory Parity Error A parity error has occurred in the program memory of the CPU Clear the memory and reload the program If the error reoccurs replace the CPU Electrical noise will cause this problem E22 Password Error The password stored in the CPU is invalid Press the CLR key twice on the handheld programmer and the password
51. e display will go blank and the SHF LED will be turned on Then use the following procedure to copy the program Enter the four digit program name if you used one er STEE TIT ADDRESS DATA GD ON OFF RUN BATT nl O EH ZlolZzlofe a 53 eo G PWR CPU Start the cassette recorder PLAY E 28 GD GD a ap 5 ADDRESS DATA Gp ree ee SD CO PWR CP 3 Z 3 Z LED 5 flashes and the message E28 appears when the headmark is found The message disappears and LED 7 comes on if the procedure is working correctly If the E28 message does not disappear adjust the volume level until it does You have 12 seconds to complete the volume adjustment REVA A fey ol Q D 3 Ra 0 9 10 Protecting and Storing Programs If you entered a file number the system will check the tape to make sure the file numbers match If the file does not match the current file will be passed and the process will continue until the correct file is located The following displays are used Display when the file number does not match 0 4 5 1 5 ADDRESS DATA E TMA SHE 1 a he eS EE 3 7 ON OFF RUN BATT z 3 7 PWR CPU NoD SR st EG Display when the file number is found 0 4 AND UT 1 5 ADDRESS DATA TMA ON OFF RUN BATT oer 3 7 ZARN REG When the program has been loaded the following display will appear Display when the
52. e using but larger programs are much easier to mr design and enter with DirectSOFT CEET Programming Software SIT In addition to entering programs the D rr Handheld is ideal for making on site program or system changes i ais DirectSOFT Handheld Since the Handheld has a built in Macis S cassette tape interface you can also use 001 Set it to store and load programs from 050 a cassette tapes 002 SET 050 En DSTR F50 S K0201 To Monitor Machine Operations Getting Started 1 9 The Handheld is especially useful if you need to quickly look at the status of an I O point timer counter value or register location You can monitor up to 16 I O points at one time For example the following diagram shows how the Handheld display area indicates I O status Indicates UO Reference 16 LEDs Total Status Display Number show on off fe status n000 ADDRESS DATA ON OFF RUN BATT PWR CPU OwlO MO zi o ONJO MO ajaa Oo WI zo OO 410 oi o 00 07 10 17 e Physical Characteristics and Specifications Handheld Layout The Handheld was designed to be more than a program entry tool and includes many different status LEDs that make it easy to understand the machine operations 5 7 Address or een LED Display Data Display
53. ed 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 History If you contact us in reference to this manual remember to include the revision number Title DL805 Handheld Programmers D3 HP amp D3 HPP Manual Number D3 HP M Original 1 94 Cover Copyright Original Issue Contents Manual Revisions 1 15 2 26 3 13 4 9 5 11 6 13 A 14 REVA 3 96 Minor changes throughout Rev B 5 98 Entire Manual Downsized to spiral version 1 15 2 5 and 2 15 Minor changes Table of Contents Chapter 1 Getting Started INTKORUCTION EE EE ie iain Se ae ie eae ewes wa aoe mare 1 2 DL305 Handheld Programmer Ze Segen ENER ine EE AER ANEREN eee A Oe east 1 2 Purpose of this manal s a s2c 0 Aees ee see Seueoe le Sewe see beaeeeeseewe eee sua es 1 2 Who should read this manual 2 cc2cu cai eee EE 1 2 How this manual is organized MEET 1 3 Supplemental Manuals 4454 4 Ale veer ahs RE EE A EE EE Ae Re 1 3 How can I use the Handheld e Ser KEE ENTENTE EEN EE cree ved eee E SSES eas 1 4 AS a Programming OG EE 1 4 To Monitor Machine Operations 1 5 Phys
54. el simple network consisting of series elements joined in parallel 001 002 Entering RLL Programs Kai Enter the first contact Data Display before ENT is pressed STR SHF 1 ENT E L 001 1 5 1 ADDRESS DATA ON OFF RUN BATT e 2 Soe COO a aa ao T S 7 RST 3 7 PWR CPU Enter the second contact J AND SHF 2 ENT S r E MCS ADR H 1 5 Ne ADDRESS DATA GHP ii 2 6 2 6 3 ON OFF RUN BATT CNT GATA D 3 7 3 PWR CPU NoD GR ST GEG Enter the third contact STR SHF 3 ENT o 4 003 0 4 1 5 1 5 ADDRESS DATA SHE ee Ue n E 3 7 RST ON OFF RUN BATT em 3 7 PWR CPU Enter the fourth contact AND SHF 4 ENT e 1 5 ADDRESS DATA S 2 6 2 ON OFF RUN BATT an Soe 3 7 3 7 PWR CPU NOD GR ST GEG Join the branches OR STR ENT ADDRESS DATA ON OFF RUN DATT Cl Entering RLL Programs Joining Parallel The AND STR instruction joins one or more branches in series The following Branches in Series example shows a simple network with parallel and series branches 001 002 003 Enter the first contact Data Display before ENT is pressed STR SHF 1 ENT o See a 001 1 5 1 5 ADDRESS DATA 2 6 2 6 GE 7 7 3 3 PWR CPU NoD GR ST GE o
55. essed TMR SHF 6 0 0 600 A A o a PS GC GD ENT ADDRESS DATA D GE Ow SHF ON OFF RUN BATT co GD GATA 7 PWR CPU ED ED REG Enter the comparative timer contact STR TMR SHF 6 0 4 0 4 1 5 1 z 5 ENT ADDRESS DATA SHF 3 7 3 7 PWR CPU NOD ST REG Enter the compare value T SHF 5 O ENT 0 4 0 4 ei 5 o 1 5 1 5 3 ADDRESS DATA GHF ON OFF RUN BATT om en 7 3 7 PWR CPU NOD st CND GEG 0 3 10 Entering RLL us Programs Entering Counters Counters also work differently in RLLPLUS programs because they do not require either a reset input or a preset LAT enne Raise the saw value Once the stage is active the eum counter input contact controls the value K0050 of the counter Each time the counter input contact has an off to on transition TR pO ast the counter will increment one count n When the stage becomes inactive the Lint lamp counter is disabled and reset to O boa 021 Remember the CPU does not even iM scan the logic contained in an inactive stage 5000s One cycle or automatic You may recall RLL counters have a Soe so counter contact associated with them LV MP When the c
56. f overwrites force to turn off d 010 Q EE i 000 002 005 007 050 p E 001 003 004 Logic is solved Point 010 LA even though previously 010 Forc is overwiitte 051 forced on is turned off Points EE C 050 and 051 are turned off S since conditions are not met Eno os CPU updates the output status 050 with the results obtained from the and 051 A are off logic execution YO and Y1 were q ea turned off V i br NOTE If you use a CR as an input you will not have the one scan problem System Monitoring and Troubleshooting 6 5 The following example shows the keystrokes required to force an I O point 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 To turn a point on Display returns to address display CLR SET SHF 5 0 0 7 0 1 5 1 5 ENT ADDRESS DATA 2 6 2 6 ON OFF RUN BATT 3 7 3 7 PWR CPU NoD GSR RST GEG Monitor the point to verify the force optional CLR SHF 5 0 MON 0 7 0 z m N 5 e e o 1 5 1 5 ADDRESS DATA oO oO oO ON OFF RUN BATT e 5 ge PWR CPU d S To turn a point off Display returns to address display CLR RST SHF 5 0 a o a ei 0000 ot e 1 5 1 5 ENT ADDRESSIDATA 2 6 2 6 O
57. g and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0001 OR 001 Joins 001 in parallel with 000 0006 AND 005 Starts branch 4 with 005 0010 END Ends the program Search for the instruction reference SHF 5 SCH Displays the address where the instruction is located 0006 SS PWR CPU w n s n GES You can also specify how the reference is used All outputs require the additional key to indicate how the point is used OUT SCH SHF 5 0 Displays the address where the instruction is located 0009 PWA GPU NOT AST AEG 4 Changing Programs ad Finding a Specific Address You can also search for a specific address The following example shows the instructions addresses and corresponding Handheld displays for a small program 000 002 005 SEH 1 our 001 003 004 006 S Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 0001 OR 001 Joins 001 in parallel with 000 Find 7 DW e D 0006 AND 005 Starts branch 4 with 005 0010 END Ends the program Search for the address Ce 0006 ADDRESS DATA 5 ON OFF RUN BATT A Im gt Sle r W ll Zlo Vi O O Si O BIN Z lo s a Wl Vi olal ER zl J CO Bge Ilo ss Cl T H n BS m 9 PWR CPU
58. ical Characteristics and Specifications cece ee eee eee eee eens 1 6 Handheld Layout cco2c0nc Eege ee E wise Ee CEOS his ec dtatys E elem 1 6 CONNESCIGN OOUONS ee tate AG panne Genes oa ee in pews bee eG Pa Rene lade oe 1 6 Specifications e SE e Dag A Bala cand a cat et cattle OR nS dnd sh tc tg WR Be ea de sth tne ts 1 7 Handheld eegene iad eet Merion nde ment Casa RE tak Maem SE Re 1 8 Status LEDs and Key Groups ek deg A AE ete a vote eed bb ioie este ee ehh leis ae 1 8 PREP ESS VS ET 1 8 Instruction Identifier and Numeric key 1 10 Editing EE EE 1 10 Address Data Display Alea vac eke hah bn hewn ony aed wae Au aoe ao A ey ae ean 1 11 Instruction LEDS onee ye scarce ta tt es Gua IS aria rum cnet Lats Dhaene oe iets Sh als BA i 1 11 Creu Status LEDS serrar tenke Smee so eea sheet ee Heese ae See bee ea ke Smee 1 12 Clearing he Display Area swe otek cance sed cee wk ds ae bee ome EES eee E aes 1 13 ei ET EE 1 14 Changing the CPU EEN 1 14 Clearing an Existing Program Cass aha Eh Eeer ed We ab Eege 1 15 YOUVE g t the BASICS EE 1 15 H Table of Contents Chapter 2 Entering RLL Programs Entering Simple Ladder Programs cce ee eee eee eee eee eee eee eens Purpose ofthe E le Handheld Key Sequences se 0 c tad hea h nae use EE BEE St rting at Address WEE eltern EE Entering Simple tee CN Entering Normally Closed Elements a constant VAC i ebro RN it la ets E E eee ee eee era ons es Entering Series Ele
59. ifted through the register e Clock on each low to high transition the value that is on the data line will be shifted into the shift register e Reset if the reset contact comes on then the Shift Register is reset and all Control Relays are reset The following diagram shows a brief example of how the Shift Register works 001 peso Data SR SR400 002 Clock SR420 003 Lee Reset Inputs on Successive Scans Shift Register Bits Data___Clock__ Reset 400 417 1 1 o E C indicates ON indicates OFF REV A Entering RLL Programs evel You can use the following keystrokes to enter a Shift Register Enter the Data input Data Display before ENT is pressed STR SHF 1 ENT CEN ADDRESSIDATA D D GH ON OFF RUN BATT GATA 3 7 7 PWR CPU NOD GR ST GEG Enter the Clock input Ke STR SHF 2 ENT z 0 7 z E a 5 1 5 eo ADDRESS DATA TMR SHF Di ON OFF RUN BATT D 7 3 7 PWR CPU RST REG Enter the Reset input STR SHF 3 ENT o a o a Ey AND OUT MCS ADR 1 5 1 5 ADDRESS DATA GHF 7 6 2 6 3 7 3 T PWR CPU NOT RST REG Enter the Shift Register and starting location SHF 4 0 0 400 ENT ADDRESS DATA TMR
60. imit Which is many many CPU scans Force a Stage ON Stop 005 Stage RST all stages 10 Jump to Stage 0 Current Stage Stage 5 forced ON Start Pipe limit Clamped Bottom Top 000 001 002 003 004 ____ ISG Stage Stage Stage Stage 0 I 2 I I 4 1 5 629 B A 29 2 623 Gei Converyor SET SET Saw Saw RST RST Clamp Saw Down Up Saw Clamp On Off Next Scan Stop 005 ae ES RST all stages 0 SCH Jump to Stage 0 Clamp is reset which may cause a saw jam Start Pipe limit Clamped Bottom Top 000 001 002 003 004 ISG Stage Stage 3 Stage Stage 0 1 2 d d A d ea e eo ee Converyor SET SET Saw Saw RST RST Clamp Saw Down Up Saw Clamp On Off System Monitoring and Troubleshooting au Obviously there are times when it s perfectly OK to force a program stage on or off The following example shows the keystrokes required to force an stage WARNING As shown in the example forcing stages may cause unpredictable machine operation that can result in a risk of personal injury or equipment damage To turn a stage on o J bi om e o fa Si a gt e e ei Si Kai CLR SET SG SHF 5 S a a a 005 1 5 ENT ADDRESS DATA ON OFF RUN BATT es
61. ind the program isn t what you expected Before you begin it s important to understand how the information is placed on the tape You ll need to know this when in order to position the tape correctly 5 Sec aR Aproximately 45 Sec Head Mark User Program End Mark File 0001 9999 L The Head and End marks are written with 2kHz signals One signal is at 2kHz and 0 signal is at 1kHz L This can be omitted if program identification by number is not needed Part of the problem with cassette storage is that tape positioning can mean the difference between a successful transfer and a serious headache Before you begin the procedure make sure you have positioned the tape just before the first head mark or just before the location of the program you want to read If you position the tape in the head mark an error will occur Set the tape recorder TONE and VOLUME controls to the settings you used when you recorded the program If you don t remember the settings set the controls to the midway position You may have to adjust the volume later Also remember the Handheld Programmer keyswitch has to be in the LOAD position to perform tape operations Protecting and Storing Programs ad When you have the cable connected to the earphone jack place the Handheld Programmer keyswitch in the LOAD position The display will go blank and the SHF LED will be turned on Then use the following procedure to copy the program Ente
62. irst 4 bits of the accumulator into a decimal number ENCODE F83 Encodes an accumulator bit into a 4 bit code that represents the decimal number 0 15 INV F84 Logically inverts the bit pattern contained in the accumulator 1 to 0 O to 1 BCD BIN F85 Converts the accumulator value from BCD to Binary BIN BCD F86 Converts the accumulator value from Binary to BCD Fault Detection Instructions FAULT F20 Sends a 4 digit BCD number from a 2 byte reference or a constant to the programmer display The following pages show you how to enter these functions with the Handheld Programmer D C Im U x el Ke KI 3 n Cl Entering RLL Programs If you examine the Handheld Programmer keypad you ll notice two keys labeled F and R These keys are used to access the various Data Operation Instructions We ll use the following example to show how the keys are used 001 S _ __ Instruction D S DSTR_F50 Kal ______ Constant K1234 DOUT F60 400 Register The example uses the DSTR and DOUT instructions As you enter the instructions you will use the Function Numbers that were shown in the previous instruction table REVA Entering RLL Programs 2 29 Enter the contact STR SHF 1 ENT OO 1 ADDRESS DATA ON OFF RUN BATT PWR CPU
63. lays 160 373 R016 R037 140 Cp Cp A Special Relays 374 377 R037 12 772 376 770 777 R077 I 17 Timers 600 673 None 64 TMR T600 __ cNT C600 Counters 674 677 K100 K10 Timer Counter None R600 R673 64 R ki Current Values R674 R677 SH a Timer Counter T600 T673 None 64 T600 Status Bits T674 T677 Data Words None R400 R563 116 None specific used with many instructions Shift Registers 400 577 None 128 SC R 400 417 Special None R574 R577 4 R574 R575 used with FAULT R576 R577 Auxiliary Accumulator T C Setpoint Unit Only Can be used as data registers if the Timer Counter Setpoint Unit or Thumbwheel Interface Module is not used R564 R573 contain the preset value used with the Timer Counter Setpoint Unit R674 R677 contain the current values for these timers or counters DL330P Memory Map A DL305 Memory Map A 3 Input Output 000 157 ROOO R015 168 Total 000 010 Points 700 767 R070 R076 Control Relays 160 174 R016 R017 77 Cp Cp 200 277 R020 R027 2 TAN Special Relays 175 177 R017 11 772 176 770 777 R077 W TAN 17 Timers 600 673 None 64 TMR T600 ICNT C600 Counters 674 677 K100 vun Timer Counter None R600 R673 64 R vi Current Values R674 R677 Se gt aa Timer Counter T600 T673 Non
64. letely self contained When a program segment is active the inputs and outputs in that stage will be examined and updated as appropriate If the stage is not active that portion of the program is not even scanned How does this remove the interlocking burden Simple most interlocks are used because you not only have to make something happen but you also have to prevent unwanted actions from happening See the DL305 User Manual for details on RLLPLYS programming We ll use the following cutoff saw example to show the different instructions that are used This example is not intended to show you how to design RLLPLUS programs but is merely used to point out the instructions and the Handheld Programmer keystrokes needed to enter the instructions If you want to know more about this style of programming see the DL305 User Manual for complete details This simple cutoff saw operates in the following manner Cutoff Saw 1 Once the operator presses a start switch the pipe conveyor is started The operator can also press a Stop switch to stop the operation at any time 2 The pipe travels along a conveyor until it reaches a physical stop The stop contains a limit switch that signals the system to stop the conveyor and begin the cutting operation 3 The pipe is clamped in place 4 Thesaw motor is started and the saw cuts the pipe 5 The saw is retracted the motor is turned off and the clamp is released 6 If the saw is in one
65. ll help you determine the appropriate ranges for the various data types Select the reference number to monitor SHF 5 0 no50 ADDRESS DATA ON OFF RUN BATT ovjonje o O e oloa os Oxlerlo oe O O 2 00 04 PWR CPU Use PRV or NXT to scroll through the references 8 point increments e n040 ADDRESS DATA ON OFF RUN BATT oral aio Joe oaioelooelox 0x Or o e0 Ox e o alos PWR CPU e 6 4 System Monitoring and Troubleshooting Forcing Discrete Points You can also force discrete points with the Handheld Programmer Itis important to note that the DL305 CPUs only retain the forced value for one scan if the output point is used in the logic program or if the input point used corresponds to module that is installed in the base The following example shows how the forcing actually works Force I O Points Force 050 ON 000 002 005 007 050 S H CP 001 003 004 1 1 010 Force 010 ON 051 E H On due to 010 G i forced ON Next Scan ne CPU reads the UO status from 010 is off 77 1 Read the modules Sees that point 010 4 a el impute is of
66. memory locations contain an END statement This means that you do not have to enter an END statement Just enter your program starting at address 0 You should be aware that if an END statement precedes your ladder logic the program will not be executed D T m T fe Es jab q 3 n k Entering RLL Programs You use the STR instruction to start rungs that contain both contacts and coils The following example shows how to enter a single contact and a single output coil Remember with the DL305 CPUs you do not have to enter an END statement with the Handheld Programmer In the following example notice that when you enter the output and move to the next address the END statement is already there Entering Simple Rungs 050 our Enter the contact STR SHF 1 ENT Enter the output OUT SHF 5 0 ENT Gs Data display before ENT is pressed o a o oa 5 5 1 1 ADDRESS DATA GHA ON OFF RUN BATT ee om 3 7 3 7 PWR CPU NoD GR ST GEG Check the next address NXT A a E Aa 050 1 5 1 ADDRESS DATA ON OFF RUN BATT F s Nj 4 3 7 PWR CPU R END Statement End 0 4 0 4 MCS _ DR 1 5 1 5 ADDRESS DATA 2 6 2 6 ON OFF RUN BATT GATA PWR CP 3 z 3 z D GH Gs GE The example shows an input contact and an output coil Control relays are entered exactly the
67. ments deg EE EE RER e iid bate eve Bb ge Reie Entering Parallel BIGmeints ees EE dE Joining Series Branches in Parallel Joining Parallel Branches in Series Entering Timers and ee KEE Entering Master Control Relays Entering Rate EE Entering e le Cie Die e e EEN Checking for Program Errors as eet reegen Soe wk Davi ke eet usus A Automatic Error Cnecktng e NEE aa Ae is oie OM ta A hl be Aer E VN CIN ee EE E EE Chapter 3 Entering RLLPTUS Programs RLLPLUS Programming Bagger owe oc V aw danoe we bel needa Dae ieee kee Entering an Initial Stage Ne dE EES EIERE ee dea peeve ida ENEE RE ieee cee Entering Jump Instructions deeg et Ee E N t Wee ace acta Sarat e wana eaxita teeta Entering Stage Instructions e Ne bined Sei SNE be Entering TIMES e ege areata ened mars aes ar ern ard aed das E E E E Entering COUNTGIS sss mi teen wes eee joa bee Sa a AE ened AAEE ene he ee eee Entering Shift Registers 2 cc csc hoods esas NEE EE EELER N E eens EELER EE E Chapter 4 Changing Programs Displaying a Program SE ie eee Rare te ee ea er ee ee oe Rae eee ee Finding a Specific Instruction gu ege EE Sted a EES Ree Finding a Specific Address se e soe IEN See heed e ed NEEN ee ded eee ee Sab eae Changing an Instruction 2 of REEL wre tea EELER aad EELER NEE RE SE Inserting an Instruction EE Inserting an END Statement Deleting an Instruction uaaasssssnnnnnunnnnnnnnnnnnnnnnnuunnnnnnnnnnnnunnnnnn Table of Contents oO M
68. ns How this manual is Ch 1 Getting Started this chapter provides an overview of the Handheld organized Programmer general specifications and the basic things you need to start entering programs Ch 2 Entering RLL Programs discusses all the operations used to enter a program Ch 3 Entering RLLPLUS Programs provides the keystrokes needed to enter RLLPLUS programs Ch 4 Changing Programs shows you how to quickly edit an existing program Ch 5 Protecting and Storing Programs shows you how to store programs on cassette tapes Ch 6 System Monitoring and Troubleshooting provides an overview of the various features used to monitor and troubleshoot the system Appendix A DL305 Memory Map provides a detailed listing of the DL305 memory map for I O timers counters etc Supplemental There is another manual that may occasionally be referenced by this manual This Manuals manual is not absolutely necessary to use the Handheld but it does provide additional details on several related subjects e DL305 User Manual D3 USER M Now you know what material is necessary to quickly understand the DL305 Handheld Programmer So let s get started How can I use the Handheld As a Programming The DL305 Handheld Programmer is m SS Tool ideally suited for entering or changing small programs with instruction mnemonics You can enter programs up wa x to the limits of the CPU you ar
69. onitoring procedure discussed previously which will display the current value with the decimal point implied for timers The second method uses slightly different keystrokes and will show timer current values with the decimal point Using this method also uses the instructions LEDs to indicate the last two digits of the timer counter memory reference o J bi om es o Z Si a gt e e ei Si a Select the location to monitor CLR SHF 6 0 0 0 4 0 4 O O O O 1 5 1 5 MON ADDRESS DATA o o o O 2 6 2 6 E Shows accumulated ON OFF RUN BATT 6 O fe 0 time or count 3 7 3 7 PWR CPU o o o o 00 07 10 17 LEDs show last two digits of the register reference number Changing Timer Counter Current Values Select the timer location to monitor CLR SHF 6 0 0 0 4 0 4 4569 3 8 i 5 i 5 MON ADDRESS DATA o o ON OFF RUN BATT A A 5 a PWR CPU 6 6 O D Enter the new value SHF 1 3 5 4 S S S S 1354 3 i 5 i 5 ENT ADDRESS DATA o 2 6 2 6 ON OFF RUN BATT 6 5 a 3 7 3 7 PWR CPU 6 E d System Monitoring and Troubleshooting Monitoring Program Stages The RLL US CPUs also have stages that can be monitored This is especially useful since it can quickly show you exactly which parts of the program are being executed The procedure is very simila
70. or the bottom communication port R776 Sets the leading communications delay time for the top communication port R777 Sets the trailing communications delay time for the top communication port
71. ounter reaches the preset it ohe turns on the contact which can then be SC JMP used as an input contact for other parts of SCH the program E Monitor for Stop As well as not having the reset input and o preset value the RLL YS counters also Stop en S5 E do not have a counter contact Instead of hab RST K using the counter contact relational so E contacts are used to examine the me counter value SE Automatic shut off Swich CTR 601 DR R400 C601 R400 SO S10 gt RST So JMP Let s say we wanted to use an operator interface to tell the machine how many pipes to cut We ll assume the number is loaded into a register R400 Once the correct number of pipes have been cut the saw should automatically stop The following example shows how you would add an automatic shutoff stage to the cutoff saw example by using a counter and a relational contact Note the keystrokes only show how to enter the counter and the relational contact not the whole program Enter the Counter CNT SHF 6 0 1 Entering RLL s Programs Eau Data display before ENT is pressed ENT Enter the relational contact STR CNT SHF 6 0 ADDRESS DATA D Ge our SHE ON OFF RUN BATT co GD FEF 7 PWR CPU ROD aoe REG Sa 1 ENT 601 ADDRESS DATA AN ON OFF RUN BATT 7 PWR CPU NOT RST Enter the relational cont
72. program has been loaded o 4 0 4 END 1 5 1 5 ADDRESSIDATA 6 6 ON OFF RUN BATT c 7 PWR CPU Gon GSR sD EG You can press CLR to remove the error message and start over If you get an error there are several things you can check e Check the tape positioning It is very important to position the tape correctly This is the cause of most errors e Adjust the volume level and or tone controls e Check the cable connections e Clean the tape recorder head Use the documentation that came with your recorder to determine the correct cleaning procedures Programs Protecting and Storing Programs Ku As you ve seen entering and storing programs with the Handheld is a pretty simple task Once you ve got the program entered and the machine is up and running you can use the Handheld to monitor and change machine operations almost as easily The next chapter shows the details a fey ol Q D 3 n System Monitoring and Troubleshooting In This Chapter Troubleshooting Suggestions Monitoring Discrete Points Forcing Discrete Points Monitoring Register Locations Changing Register Values Monitoring Timer Counter Values Changing Timer Counter Values Monitoring Program Stages Forcing Program Stages Error Codes e 6 2 System Monitoring and Troubleshooting Troubleshooting Suggestions The Handheld is very useful in troubleshooting your machine
73. r the four digit program name if you used one A A A X CHECK Start the cassette recorder PLAY o et Aa 1 5 1 5 ADDRESS DATA 2 6 2 6 ON OFF RUN BATT vers 3 7 3 7 PWR CPU RST EG ee oe dE 1 5 ADDRESS DATA GD pea ae 6 2 6 ON OFF RUN BATT SET DATA PWR CPU lt lt u 3 z LED 5 flashes and the message E28 appears when the head mark is found The message disappears and LED 7 comes on if the procedure is working correctly Ifthe E28 message does not disappear adjust the volume level until it does You have 12 seconds to complete the volume adjustment If you entered a file number the system will check the tape to make sure the file numbers match If the file does not match the current file will be passed and the process will continue until the correct file is located The following displays are used Display when the file number does not match FASS 2 ao Gi ADDRESS DATA ON OFF RUN BATT 3 PWR CPU SR RST Display when the file number is found 0 4 0 AND OUT MCS 1 5 1 ADDRESS DATA 2 6 2 ON OFF RUN BATT 3 7 3 PWR CPU NOT RST T fey ol Q D 3 n e e 9 8 Protecting and Storing Programs OO E bal e ei el Oo When the check is complete one of two displays will appear Display when the programs match End ADDRESS DATA ae ett ON OFF RUN BATT PWR CPU gt
74. r to the one used for monitoring discrete I O points Here s how the display is organized Indicates Stage Number 16 LEDs Total Stage Status Show on off Display status 7 0 4 0 4 S O O O 1 5 1 5 ADDRESS DATA o o o o ON OFF RUN BATT 2 G 2 S O O O O 3 7 3 7 PWR CPU 6 O o 5 10 17 20 27 e System Monitoring and Troubleshooting 6 9 Use the following keystrokes to monitor the stages Select the stage number to monitor SHF 1 0 s010 ADDRESS DATA o Ki o fa fe D Ka E ei Si Co ON OFF RUN BATT ovjonje oo Ox eolOoalos Oxlenrlo o e O l Oa2 Oa 04 PWR CPU Use PRV or NXT to scroll through the references 8 stage increments n020 ADDRESS DATA ON OFF RUN BATT Oxlenrlo o e oOAloeigolos oxlorlo ec Onje ei ajos PWR CPU 0 6 10 System Monitoring and Troubleshooting Forcing Program Stages You can also force Program Stages with the Handheld Programmer However due to the self contained nature of this style of programming you can really cause some problems by forcing stages on and off It is important to note that the DL305 CPUs only retain the forced value for one scan if the logic within the stage or another stage causes the status to be discarded The following example shows how the forcing actually works Assume that the saw takes approximately 10 seconds to reach the bottom l
75. rts branch 4 with 005 Insert END Ends the program 0008 ORN 006 Joins 006 NOT in parallel with 005 0013 END Ends the program Search for the address SHF 8 NXT E C 0008 1 5 1 5 GEN 2 6 2 6 ON OFF RUN BATT 3 7 3 7 PWR CRU Insert the END statement Display before NXT is pressed CLR SHF INS NXT e e D 1 5 1 ADDRESS DATA 2 6 2 6 ON OFF RUN BATT 3 7 3 7 PWR CPU Ba Changing Programs Deleting an Instruction Use the DELETE feature to remove an instruction from the program Delete removes the instruction being displayed so make sure you are at the correct program address Once you ve deleted the instruction the remaining addresses decrement The following example shows the instructions addresses and corresponding Handheld displays for a small program 000 002 005 007 Ee 1 ffe our 001 003 004 WW A Ce Delete 007 Pa 006 Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0000 STR 000 Starts branch 1 with 000 Deletel D AND 005 Starts branch 4 with 005 0007 AND 007 Adds X7 in series with X5 0008 ORN 006 Joins 006 NOT in parallel with 005 0011 END Ends the program Search for the address SHF 7 NXT Delete the instruction DEL PRV 0007 ADDRESS DATA Display before PRV is pressed 4 0 4 AND 5
76. ry Map fiscer ig nrp p a ENEE ec A 3 DL340 Memory Map ee ee om as tite te shes Ae ed Aes na EE EE ENEE A 4 REGER Map Anger carne neta wiki ne ee ated ue A 5 Control Relay BitMap sortai tue Ste ets Le Sate anata Geeta me ans EE BAR A 6 Special Reeg ies SE EELER EE EE ae A 8 Timer Counter Registers and Contacts 0 0 cece eee eee eee nee ene A 9 External Timer Counter Setpoint Unit A 9 Data REGIStGlS sak EE cerita ee eae at ere eat ak A 10 Stage Control Status Bit Map ege eee ee Sih ete ee ee eee ee A 12 Shift Register Bit Map icc etic eesti ei nd tots hed eee ahd eens EEN ee A 13 Special Registers EE EE A 14 Getting Started In This Chapter Introduction How can use the Handheld Physical Characteristics and Specifications Handheld Basics CPU Setup Introduction DL305 Handheld Programmer Purpose of this manual Who should read this manual The DL305 Handheld Programmer is a DL305 Handheld general purpose programming tool for oc use with the DL305 family of automation products JL s The Handheld is well suited for entering small programs or for troubleshooting a re machine operations It is not the ideal choice for entering larger more complex programs For these types of programs o you should consider using DirectSOFT our PC based programming software
77. s R401 and R400 The LSB Least Significant Bit will be in register R400 as bitO and the MSB Most Significant Bit will be in register R401 as bit1 7 NOTE Data Registers are retentive 407 406 405 404 403 402 401 400 417 416 415 414 413 412 411 410 427 426 425 424 423 422 421 420 437 436 435 434 433 432 431 430 447 446 445 444 443 442 441 440 457 456 455 454 453 452 451 450 467 466 465 464 463 462 461 460 477 476 475 474 473 472 471 470 507 506 505 504 503 502 501 500 517 516 515 514 513 512 511 510 527 526 525 524 523 522 521 520 537 536 535 534 533 532 531 530 547 546 545 544 543 542 541 540 557 556 555 554 553 552 551 550 563 562 561 560 A DL305 Memory Map Bai 407 406 405 404 403 402 401 400 417 416 415 414 413 412 411 410 427 426 425 424 423 422 421 420 437 436 435 434 433 432 431 430 447 446 445 444 443 442 441 440 457 456 455 454 453 452 451 450 467 466 465 464 463 462 461 460 477 476 475 474 473 472 471 470 507 506 505 504 503 502 501 500 517 516 515 514 513 512 511 510 527 526 525 524 523 522 521 520 537 536 535 534 533 532 531 530 547 546 545 544 543 542 541 540 557 556 555 554 553 552 551 550 563 562 561 560 707 706 705 704 703 702 701 700 717 716 715 714 713 712 711 710 727 726 725 724 723 722 721 720 737 736 735 734 733 732 731 730 747 746 745 744 743 742 741 740 757 756 755 754 753 752 751 750 767 7
78. s 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 T1305 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 register
79. tact AND SHF 2 ENT 002 ADDRESS DATA 2 6 2 ON OFF RUN BATT STR CNT SET GATA 7 3 3 PWR CPU NOD GR ST GEG Enter the output OUT SHF 5 0 ENT 050 ADDRESS DATA ON OFF RUN BATT en 7 3 PWR CPU e Ki CH Entering RLL Programs Entering Parallel You must program each element with a STR instruction The elements are joined in Elements parallel by OR instruction s The following example shows how to enter two parallel contacts and a single output coil 001 Pile out Entering RLL Programs ia Enter the first contact Data Display before ENT is pressed STR SHF 1 ENT 0 0 Aa 001 5 1 5 1 ADDRESS DATA ON OFF RUN BATT fp sey Soe 3 7 3 7 PWR CPU RST Enter the second contact Op SHF 2 ENT w a a aa 1 ADDRESS DATA 5 TMR D C Im T d fe Ko jab q 3 Ra 2 6 STR CNT PWR CPU w T U RSD REG ON OFF RUN BATT Enter the output OUT SHF 5 0 ENT S z KS 050 _ADORESSONTA CD GH GD GD ON OFF RUN BATT Grn ofa 0 2 10 Entering RLL Programs Joining Series Quite often it is necessary to join several groups of series elements in parallel The Branches in OR STR instruction allows you to do this quite easily The following example shows a Parall
80. ter the Timer preset SHF 1 2 3 SS 1234 ot 1 5 5 4 ADDRESS DATA SHE 2 6 6 ON OFF RUN BATT 3 7 7 GE ve ln alle bel J Je NOTE With timer preset values you must use a decimal point to enter a fourth digit When the timer or counter reaches the preset value a coil is turned on You can use this coil as an contact in other parts of the program See Page 2 5 for the keystrokes required to enter a timer or counter contact REVA Entering RLL Programs al Counters are very similar to timers but they have enable reset legs that allow you to reset the counter The following example shows how to enter the additional input line Notice that you enter both contacts before you complete the counter on CNT CT601 Counter Number 002 en Counter Preset Enter the first contact Data Display before ENT is pressed STR SHF 1 ENT w r a a 1 5 1 5 ADDRESS DATA ON OFF RUN BATT e s n O n ___ _ REG 3 7 PWR CPU RST D C Im T d fe Es jab q 3 Ra wo N D OH Enter the enable reset leg STR SHF 2 ENT gt 4 o 4 002 amp amp D 4 1 5 1 5 ADDRESS DATA TMA SHF a EEN 3 7 ON OFF RUN BATT lt lt 3 7 PWR CPU NoD GR ST GEG Enter the counter CNT SHF 6 0 1
81. tte case e File number if you use one e Tape counter reading helps you position the tape later e Volume and tone control settings helps you read the tape later Programs Protecting and Storing Programs Bic When you have the cable connected to the recorder microphone jack place the Handheld Programmer keyswitch in the LOAD position Once the keyswitch has been placed in the LOAD position the display will go blank and the SHF LED will be turned on Then use the following procedure to copy the program Enter a four digit program name or 0 if you do not want a name x x x x w a eee Se 1 5 ADDRESS DATA ON OFF RUN BATT 3 7 PWR CPU Start the cassette recorder ee o me fo Press Write WRITE 0 4 0 4 Ka 1 5 1 5 ADDRESS DATA OR CMA GC Program takes about 75 ONORE R N bAT 6 2 6 seconds to transfer STR 3 7 3 7 PWR CPU NOD GR ST GEG Display when transfer is complete oO 4 Oo 4 1 5 5 ADDRESS DATA MCA CHF 2 6 2 6 ON OFF RUN BATT GATA 7 3 7 SR 3 PWR CPU NoD GR ST GEG Stop the cassette recorder STOP A fey ol Q D Ra 9 0 Protecting and Storing Programs OO E bal e ei fe Ce D Verifying the Tape Contents It s usually a good idea to verify the tape contents match what is stored in the CPU The last thing you want to do is to reload the program at a later date only to f
82. u should always clear the CPU memory Only a Existing Program few keystrokes are required Use these keystrokes CLR SHF 3 4 8 LR 5 S 1 5 SEN ADDRESS DATA ON OFF RUN BATT 3 7 PWR CPU Press NXT to clear memory or Press CLR to abort the operation NXT 0 4 0 AVATAV AND OUT MCS 1 5 ADDRESS DATA TMR MCR SHF 2 6 6 ON OFF RUN BATT CNT SET GATA PWR CP 3 e 3 Z Soen You ve got the Now that you understand how to use the display and how to perform some basic Basics CPU operations you re ready to enter a program Chapter 2 provides the keystrokes for entering many of the instructions you ll use in any type of program If you plan on using RLLP YS programs you ll also want to look at Chapter 3 for information on the the extra instructions for RLLPLYS Also with RLLPLUS some of the basic instructions like timers and counters are used differently Entering RLL Programs In This Chapter Entering Simple Ladder Programs Checking for Program Errors K Entering RLL Programs Entering Simple Ladder Programs Purpose of the Examples Handheld Key Sequences The Basics This section includes many examples that are intended to help you become familiar with the keystrokes required to enter the most basic DL305 instructions Once you are familiar with the basic keystrokes you should use the DL305 User Manual as a
83. uctions but instead has keys for the extra instructions required for RLL YS programs The following diagram shows the key areas LED areas and differences between the two types of units Getting Started TH RLL Version ADDRESS DATA ADDRESS DATA ON OFF RUN BATT es ON OFF RUN BATT PWR CPU NOD PWR CPU ogoogo ogoogo BESOCO T oun me Oo mesos LA WEN A 5 6 CHECK R ma TMR MCR INS SCH i 9 3 READ SR CNT SET ENT PRV 0 MON WRITE NOT SR RST CLR NXT RLLPLUS Version 0 4 GS 7 5 ADDRESS DATA ONE ON OFF RUN BATT oH GED ADDRESS DATA ON OFF RUN BATT STAGE PWR CPU w n n STAGE PWR CPU ISS WI UU IIe o o o CU i F STR LSG SG DEL SHF Oo poooo 4 5 6 CHECK R AND JMP OUT INS SCH 2 3 READ OR SET TMR ENT PRV 0 MON WRITE NOT RST CNT CLR NXT 0 Instruction The identifier keys are used to specify the Identifier and exact instruction type and the instruction Numeric Keys reference For example if you want to store a contact you have to specif
84. umeric keys used to select the type of instruction Also used to enter numeric values for instruction references and constants by pressing SHF first e Editing keys used during program entry and editing to scroll through addresses insert and delete instructions etc These same keys also have Shift functions that are primarily used during cassette or machine monitoring operations e Address Data Display this 4 character seven segment display shows the address reference number such as the I O point being used with an instruction or data value such as the current value for a timer e Instruction LEDs show the type of instruction used at the address being displayed e CPU Status LEDs show the status for Power CPU mode etc As mentioned earlier there are differences between the two models of DL305 Handheld Programmers This difference is clearly visible if you examine the keypad and display layout shown on the following page This manual uses the DL3 HP RLL version for most of the examples This is because for most instructions the only difference between the two versions is the key location or the location of the display LED The key titles are the same they re just in different locations You may have noticed we said the two versions are the same for most instructions The RLL LUS version does have keys for the Master Control Relay Set MCS Master Control Relay Reset MCR and Shift Register SR instr
85. y the STR instruction and which contact you want to use For example to enter Store I O point001 you would press STR SHF 1 and ENT sei TT A timer instruction would work the same ef TT way In this case you would press TMR SHF 6 0 0 ENT to load the timer To ea WWW enter the constant you would then press o SHF 2 0 ENT This would load a preset OOO of 20 III III D OUT MCS DEL SHF F 4 5 6 CHECK R OF TMR MCR INS SCH 1 2 3 READ JR CNT SET ENT PRV 0 MON WRITE SCH SR RST CLR NXT Editing Keys These keys are used to perform various operations during program entry and editing For example you can use these keys to insert INS delete DEL or search SCH for a specific instruction These keys also have shift functions that are primarily used during cassette tape operations However there is one key mm Monitor MON that is used when you want to monitor the status of an I O point WW timer counter value or register location ope GER o BBB F ES Wee Ke DEL SHF 4 5 6 CHECK R ano fume lour ins scH 1 2 3 READ or ser mmr ent PAV 0 MON WRITE not rst cnt cur nxt

Download Pdf Manuals

image

Related Search

Related Contents

Philips Micro SD cards FM16MD35B  INSTRUCTION MANUAL: YARDGARD REPELLER    Manual  Guide utilisateur uMic  Aiphone GT-VAX User's Manual  

Copyright © All rights reserved.
Failed to retrieve file