Home
View / the Complete Manual
Contents
1.
2. oun Timer Preset END END Enter the first contact Starting at Address 0 AD NXT STR X IN 0 ENT C 0 STR X0 Enter the timer with a constant TMR TMR 0 K CON 5 0 ENT 1 TMR TO K50 or with a V memory preset TMR TMR 0 1 V 3 5 0 0 ENT TMR TO V3500 Enter the timer contact STR TMR 0 ENT 3 STR TO Enter the output OUT Y OUT 0 ENT 4 OUT YO End the program END ENT e 5 END Entering Programs vats Some timers are accumulating timers and have reset lines Also two there are two types of counters that have multiple input lines The following example shows how to use the Handheld to enter the additional input lines Note that all input line contacts are entered before the actual instruction is entered This is true for both timers and counters X0 TMRA T07 Timer Number 2 K50 Timer Preset TO YO out Enter the timer enable contact AD NXT STR X IN 0 ENT Enter the timer reset contact STR X N 1 ENT Enter the timer TMR SHFT A SHFT TMR 0 m ENT KCON 5 0 T Enter the timer contact STR TMR 0 ENT Enter the output OUT Y OUT 0 ENT a Starting at Address 0
3. Start the network Starting at Address 0 AD NXT STR X N 0 ENT m 0 STR X0 OR X N 1 ENT 1 OR X1 Start branch 2 STR X N 2 ENT 2 STR X2 Start branch 3 join with branch 2 STR X N 3 ENT STR X3 AND NOT X IN 4 ENT Z 4 ANDN X4 OR STR ENT ORSTR Entering Programs ott Add branch 4 AND X N 5 ENT 6 AND X5 Add branch 5 join with branches 1 4 OR NOT X IN 6 ENT ee z 7 ORN X6 AND STR ENT ANDSTR Add the output OUT Y OUT 0 ENT O I 9 OUT YO Enter the END statement END ENT S 12 Entering Programs Entering Timers and Counters To enter a timer or counter you also have to enter a preset value This can be a constant entered with the K CON key or a V memory location entered with the V instruction reference key This example shows how to enter these constants TM D TO Timer Number K50
4. change almost any system setting DirectSOFT Handheld including I O configuration retentive es ee memory settings etc 50 STR X3 ete OR X4 Since the Handheld has a built in x4 SET Y50 memory cartridge port you can also move programs between memory x10 5 cartridges and the CPU K0201 To Monitor The Handheld is especially useful if you need to quickly look at the status of an I O Machine point timer counter value or V memory location Operations Since all DL405 data memory is mapped into V memory you only have to learn afew simple keystrokes to access virtually any type of system information f O O d n c Co co co coe ole dd O ON E OFF ki V 1401 V 1400 TEST a 0112 0346 tat to AA V 1 4 0 0 WDST at oe Saat ai Key Strokes As a Debugging Unfortunately problems can occur with any automation system The DL405 Tool Handheld makes it easier to find problems and perform system maintenance operations in several areas Auxiliary AUX Functions make these tasks easier e Program syntax check duplicate reference check e 1 0 AUX 42 I O Diagnostics shows the exact base and slot location for the problem This System Auxiliary Function will also indicate the nature of the problem such as a loose connector blown fuse etc e Test Modes you can also use the Handheld in several Test modes Test Mode allows you to run a f
5. V 2501 V 2500 V MON 0000 0256 Value is displayed Use the PREV and NXT keys to scroll through additional points NXT V 2502 V 2501 V MON 0000 0000 Changing V Memory Values Select the location to monitor V 2 5 0 1 WDST V 2502 V 2501 V MON 0000 0000 Use the K CON key to load a value K CON 4 3 2 ENT __ v 2502 vV 2501 V MON 0000 0432 Monitoring Timer Counter Values Timer and Counter current values are mapped into V memory locations Use the procedure for displaying V memory to examine these current values Appendix A provides a complete listing of the memory map for the DL405 systems System Monitoring and Troubleshooting Ore Monitoring the CPU Scan Time The DL405 CPUs have a watchdog timer that is used to monitor the scan time The default value set from the factory is 200 ms If the scan time exceeds the watchdog time limit the CPU automatically leaves RUN mode and enters PGM mode The Handheld displays the following message E003 S W TIMEOUT when the scan overrun occurs You can use AUX 53 to view the minimum maximum and current scan time Use AUX 55 to increase or decrease the watchdog timer value Bunooysejqnoi pue Use AUX 53 to view the scan time AUX 5 3 SCAN MAX MIN 0004 0006 0002 The CPU must be in PGM
6. 5 Starting at Address 0 m 0 STR X0 1 AND X1 2 OUT YO 3 END Entering Parallel Elements Entering Programs iad You must start the first rung with a STR instruction since it contains more than one element and since it is also the beginning of the network The OR instruction joins the parallel contacts The following example shows how to enter two parallel contacts and a single output coil Enter the first contact AD NXT STR X IN 0 ENT C C Enter the second contact OR X IN 1 ENT E Enter the output coil OUT Y OUT 0 ENT Enter the END statement END ENT X0 YO n Gu X1 Gs Starting at Address 0 0 STR X0 1 OR X1 2 OUT YO 3 END 2e Entering Programs Joining Series Branches in Parallel Quite often it is necessary to joins one or more branches of serial elements in parallel The OR STR instruction allows you to do this quite easily The following example shows a simple network consisting of series elements joined in parallel Enter the first contact AD NXT STR X IN 0 ENT j Enter the second contact AND X N 1 ENT Start the next rung STR X N 2 ENT
7. Existing configuration selected WARNING Make sure the I O configuration being selected will work properly with the CPU program You should always correct any I O configuration errors before you place the CPU into RUN mode Uncorrected errors can cause unpredictable machine operation that can result in a risk of personal injury or damage to equipment 2 16 System Setup Manual Configuration You will probably never need to use this feature but the DL440 CPU allows you to manually assign I O addresses for any or all I O slots on the local or expansion bases This feature is useful if you have a standard configuration that you must sometimes change slightly to accommodate special requests For example you may require two adjacent input modules to have addresses starting at X10 and X200 respectively In automatic configuration the addresses were assigned on 8 point boundaries Manual configuration assumes that all modules are at least 16 points so you can only assign addresses that are a multiple of 20 octal For example X30 and Y50 would not be valid addresses This does not mean that you can only use 16 or 32 point modules with manual configuration You can use 8 point modules but 16 addresses will be assigned and 8 of them are unused Use AUX 46 to select Manual I O Configuration Use AUX 46 AUX 4 6 ENT ENT eH AUX 46 CFG I O 1 gt AUTO 2 gt MAN Sel
8. Plott tt t 7654321076543210 A B C D E ocr gt EXIT STR NOT ISG SG ADD K CON AD lt WDST BITST AUX F G H l J PNTR TEST ON OFF AND MLS TMR JMP SUB V_ S SG 7 8 9 FIND aes K L M N O Z SPD E H F H DEL OR MLR CNT BIN MUL SPCL TMR 4 5 6 PREV __ P Q R S T Asc BH C A D H INS OUT SET SR BCD DIV cica CNT 1 2 3 NXT C U V W X Y GX GY A H ENT LD RST END CMP Z ay Y OUT CLR SHFT lt Instruction Keys i i A B C D E y The instruction keys are used to select Sta noT i sc se ADD from the various instructions As you examine the keypad you ll notice only the F G H i J basic instructions have dedicated keys AND MLS TMR JMP SUB The remaining instructions are entered by typing the instruction mnemonic with A MR ET an NUL the alphabet keys For example to enter a OUTF instruction P Q R S T you aa press the SHFT key followed out e SS PS p by the O U T and F keys U V W X 7 LD RST END CMP Z Instruction The identifier keys ar
9. START SCAN ENT to confirm the entry of TEST RUN g e System Monitoring and Troubleshooting 9 3 You gain some advantages by using Test Mode e The status displays are more detailed e You can enable the CPU to hold output states Test Mode Displays For some instructions the TEST RUN mode display is more detailed than the status displays shown in RUN mode The following diagram shows an example of a Timer instruction display during TEST RUN mode RUN Mode TEST RUN Mode ov a fa Z og D e2 gt fe 5 a T 000 K0500 Current Value e J 6 10 System Monitoring and Troubleshooting D Cc E fe fe lt 1 a G J gt Oo Cc Holding Output States In normal RUN mode the outputs are turned off when you return to PGM mode In TEST RUN mode you can set each individual output to either turn off or hold its last output state on the transition to TEST PGM mode The ability to hold the output states is especially useful since It allows you to maintain key system I O points for examination The following diagram shows the differences between RUN and TEST RUN modes RUN Mode to PGM Mode Xo X2 YO C x1 X3 X4 Outputs are 1 1 OFF X10 pe A o Status on final scan END XO X2 YO C X1 X3 X4 1 1 X10 Y1 D ED TEST RUN to TEST PGM xo x2 Yo X1 X3 X4
10. Enter the program name SHFT P R E S S _ SHFT AUX 51 MODIFY PGM NAME 1 PRESS1 Press Enter to accept the name or use the arrow keys to change it ENT PROGRAM PRESS1 Press CLR to clear the display The DL440 CPU provides an extra measure of protection by allowing you to enter a password that prevents unauthorized machine operations The password must be an eight digit numeric 0 9 code Once you ve entered a password you can remove it by entering all zeros 00000000 This is the default from the factory Use AUX 81 to enter or modify a password Use AUX 81 to name the CPU program AUX 8 1 ENT ENT f CODE IS 00000000 Enter the new password 1 2 3 4 5 6 7 CODE IS 8 ENT SAU 12345678 Press CLR to clear the display The password is stored in the memory cartridge If you install the memory cartridge in another CPU or Handheld the password protection remains in effect Naming and Storing Programs 9 3 Locking the CPU Once you ve entered a password you can lock the CPU against access There are with the Password two ways to lock the CPU e The CPU is always locked after a power cycle if a password is present e You can use AUX 83 and AUX 84 to lock and unlock the CPU WARNING Make sure you remember the password before you lo
11. Add the next contact AND X N 3 ENT 7 Join the branches OR STR ENT Enter the output coil OUT Y OUT 0 ENT Enter the END statement END ENT Starting at Address 0 0 STR X0 AND X1 END a Entering Programs Joining Parallel The ANDSTR instruction joins one or more parallel branches in series The following Branches in Series example shows a simple network with parallel and series branches XO X1 YO E out X2 END Enter the first contact Starting at Address 0 AD NXT STR X IN 0 ENT z z 0 STR X0 Enter the second contact STR X IN 1 ENT 1 AND X1 Enter the parallel contact OR X IN 2 ENT 2 OR X2 Join the parallel branch AND STR ENT ANDSTR Enter the output coil OUT Y OUT 0 ENT C 4 OUT YO Enter the END statement END ENT 5 END 0 3 10 Entering Programs Combination You can combine the various types of series and parallel branches to solve most any Networks application problem The following example shows a simple combination network X0 X2 X5 YO D O Gun X3 X4 X6 6 O EnD
12. AUX 2 RLL OPERATIONS AUX 24 CLEAR LADDERS Press ENT to clear the ladders CLR ALL LADDERS Press ENT to confirm the operation ENT CLR ALL LADDERS OK You can also use other AUX functions to clear other memory areas e AUX 23 Clear Ladder Range e AUX 31 Clear V Memory e AUX 32 Clear V Range ee System Setup Initializing System The DL405 CPUs maintain system parameters ina memory area often referred to as Memory the scratchpad In some cases you may make changes to the system setup that will be stored in system memory For example if you specify a range of Control Relays CRs as retentive these data values will be stored in scratchpad memory NOTE You may never have to use this feature unless you have made changes that affect system memory Usually you ll only need to initialize the system memory if you are changing programs and the old program required a special system setup You can usually change from program to program without ever initializing system memory AUX 54 resets the system memory to the default values Use AUX 54 AUX 5 4 a AUX 54 INIT SCRATCH PAD CLR XPAD Press ENT to return to the default values Ho OK J 2 10 System Setup Setting the CPU Network Address Since the DL405 CPUs have built in DirectNET ports 25 pin you can use the Handheld to set the network address fo
13. D Te J m 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 3
14. 0 STR X0 1 STR Xl 2 TMRA TO K50 5 STR TO 6 OUT YO 4 S 14 Entering Programs Entering Relational Relational contacts allow you to quickly and easily compare various types of Contacts information For example you may want to compare the current value of a timer with a constant or a value contained in a V memory location Or you could quickly compare two V memory locations There are several types of comparisons that can be made less than greater than etc See the DL405 User Manual for details on relational contacts The following example shows how to enter a relational contact TO K100 Yo gt out V1400 1401 y1 Ps our Timer contact with a constant Address 10 shown as example STR TMR 0 K CON 1 o o 10 ENT STR TO K100 Timer contact compared to a V memory location STR TMR 0 10 vV 1 4 0 0 ENT a aul STR TO V1400 Entering Programs Ra Entering ASCII Some DL405 instructions like the ACON instruction in the DL440 allow you to enter Characters ASCII characters as part of the instruction An overview of the ACON instruction is provided in Chapter 6 Also the DL405 User Manual provides detailed information Here is a simple example that shows how to enter the ASCII portion of the instruction with the Handheld Programmer Gs ACON
15. ASCII Portion ACON ASCII example SHFT A C O N ASC SHFT xx ataddress xx G O ENT 2 ACON AGO 3 10 Entering Programs Entering Octal and Some DL405 instructions require different number formats as part of the instruction Hex Numbers For example the LDA Load Address instruction requires an octal number for the address reference Also you may want to load a hexadecimal value into the accumulator The following example shows you how to enter octal and hex numbers with the Handheld Programmer See the DL405 User Manual for details on the actual instructions LDA 02000 Octal address LD K 12F Hexadecimal number LDA Octal example LD SHFT A OCT 2 0 0 xXx at address xx 0 ENT aa LDA 02000 LD Hexadecimal example LD K CON 1 2 SHFT 5 ENT xXx at address xx SHFT 5 is hex F LD K12F Entering Programs Bat Checking for Program Errors Error Checking The Handheld automatically checks for errors during program entry However there may be occasions when you want to check a program that is already in the CPU There are two types of checks available e Syntax e Duplicate References Syntax Check You can use AUX 21 CHECK PROGRAM to check th
16. 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 222 221 220 217 216 215 214 213 212 211 210 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 417 416 4
17. 07777 3 SYS System memory Non selectable copies all system parameters 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 Naming and Storing Programs ntl Use AUX 78 to copy a program to the cassette AUX 7 8 ENT ENT f AUX 78 MC TO TAPE TAPE NAME Enter the name SHFT S T A T O AUX 78 MC TO TAPE N SHFT 1 ENT 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example AUX 78 MC TO TAPE lst 00000 Select the starting address press ENT to start at 00000 ENT AUX 78 MC TO TAPE END 07679 Select the ending address or press ENT to copy the entire range ENT AUX 78 MC TO TAPE 00000 S 07679 START Confirm the selection ENT AUX 78 MC TO TAPE BUSY Start the cassette recorder OK e is being ee Transfer is complete 1 minute per K Stop the cassette recorder STOP Clear the display by pressing CLR swebold one Naming and Storing Programs Reading Programs Use AUX 77 to read a program from a cassette tape Before you begin the procedure from Cassette Tapes make sure you have positi
18. 1271 1270 1267 1266 1265 1264 1263 1262 1261 1260 1317 1316 1315 1314 1313 1312 1311 1310 1307 1306 1305 1304 1303 1302 1301 1300 1337 1336 1335 1334 1333 1332 1331 1330 1327 1326 1325 1324 1323 1322 1321 1320 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341 1340 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 1417 1416 1415 1414 1413 1412 1411 1410 1407 1406 1405 1404 1403 1402 1401 1400 1437 1436 1435 1434 1433 1432 1431 1430 1427 1426 1425 1424 1423 1422 1421 1420 1457 1456 1455 1454 1453 1452 1451 1450 1447 1446 1445 1444 1443 1442 1441 1440 1477 1476 1475 1474 1473 1472 1471 1470 1467 1466 1465 1464 1463 1462 1461 1460 1517 1516 1515 1514 1513 1512 1511 1510 1507 1506 1505 1504 1503 1502 1501 1500 1537 1536 1535 1534 1533 1532 1531 1530 1527 1526 1525 1524 1523 1522 1521 1520 1557 1556 1555 1554 1553 1552 1551 1550 1547 1546 1545 1544 1543 1542 1541 1540 1577 1576 1575 1574 1573 1572 1571 1570 1567 1566 1565 1564 1563 1562 1561 1560 1617 1616 1615 1614 1613 1612 1611 1610 1607 1606 1605 1604 1603 1602
19. 1340 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 1417 1416 1415 1414 1413 1412 1411 1410 1407 1406 1405 1404 1403 1402 1401 1400 1437 1436 1435 1434 1433 1432 1431 1430 1427 1426 1425 1424 1423 1422 1421 1420 1457 1456 1455 1454 1453 1452 1451 1450 1447 1446 1445 1444 1443 1442 1441 1440 1477 1476 1475 1474 1473 1472 1471 1470 1467 1466 1465 1464 1463 1462 1461 1460 1517 1516 1515 1514 1513 1512 1511 1510 1507 1506 1505 1504 1503 1502 1501 1500 1537 1536 1535 1534 1533 1532 1531 1530 1527 1526 1525 1524 1523 1522 1521 1520 1557 1556 1555 1554 1553 1552 1551 1550 1547 1546 1545 1544 1543 1542 1541 1540 1577 1576 1575 1574 1573 1572 1571 1570 1567 1566 1565 1564 1563 1562 1561 1560 1617 1616 1615 1614 1613 1612 1611 1610 1607 1606 1605 1604 1603 1602 1601 1600 1637 1636 1635 1634 1633 1622 1621 1620 1617 1616 1615 1614 1613 1612 1611 1610 1657 1656 1655 1654 1653 1652 1651 1650 1647 1646 1645 1644 1643 1642 1641 1640 1677 1676 1675 1674 1673 1672 1671 1670 1667 1666 1665 1664 1663 1662 1661 1660 1717 1716 1715 1714 1713 1712 1711
20. Select Online Offline HP HP 41 Show 1 O Configuration O O 65 Run Self Diagnostics HP HP 44 Powerup I O Configuration O O 71 CPU to Memory Cartridge O O Check 72 Memory Cartridge to CPU O O a Select Configuration 2 2 73 Compare Memory Cart to CPU O O 46 Configure I O s 2 74 Memory Cartridge Blank Check HP HP H Intelligent I O 2 2 75 Clear Memory Cartridge HP HP O supported 76 Display Memory Cartridge Type O O x not supported 77 Tape to Memory Cartridge HP HP HP Handheld Programmer function 78 Memory Cartridge to Tape HP HP 79 Compare Memory Cart to Tape HP HP 81 Modify Password x O 82 Unlock CPU x O 83 Lock CPU x O System Setup ad Accessing the AUX Clear the display Functions CLR CLR Select Auxiliary function AUX FUNCTION SELECTION 1 OPERATING MODE Use NXT or PREV to cycle through the menus NXT FUNCTION SELECTION 2 RLL OPERATIONS Press ENT to select sub menus ENT 2 RLL OPERATIONS 21 CHECK PROGRAM You can also enter the exact number of the AUX Function to go straight to the sub menu Enter the AUX number directly AUX 2 1 ENT AUX 2 RLL OPERATIONS AUX 21 CHECK PROGRAM 4 4 System Setup Handheld Setup There are a few basic operations that you should be familiar with before you start using the Handhel
21. These types of recorders are much more suitable than those used for normal audio recordings Most audio recorders will not record or play the digital information accurately The cassette recorder cable connects to the DIN plug receptacle located on the bottom of the Handheld Earphone White Microphone Fii i oe DIN Plug NOTE Some recorders will not operate properly if both the earphone and microphone plugs are connected You can avoid this by disconnecting the earphone plug while recording and disconnecting the microphone plug during playback Since it is very easy to store multiple programs on a single cassette it is very important idea to name each program You may recall you can enter a name for the CPU program The cassette program name does not have to be the same For example the CPU name may be PRESS1 and the tape name may be STATION1 There are three areas of CPU memory that can be transferred PGM V and SYS It is also a good idea to give each of these a separate program name For example you could use three programs STAT1PGM STAT1V and STAT1SYS for Station 1 You can copy different portions of CPU memory to the cassette tape 1 PGM Program 00000 07679 00000 03583 7 5K program memory 00000 015871 15 5K program memory 2 V V memory 00000 37777 00000
22. 1104 1103 1102 1101 1100 1137 1136 1135 1134 1133 1132 1131 1130 1127 1126 1125 1124 1123 1122 1121 1120 1157 1156 1155 1154 1153 1152 1151 1150 1147 1146 1145 1144 1143 1142 1141 1140 1177 1176 1175 1174 1173 1172 1171 1170 1167 1166 1165 1164 1163 1162 1161 1160 1217 1216 1215 1214 1213 1212 1211 1210 1207 1206 1205 1204 1203 1202 1201 1200 1237 1236 1235 1234 1233 1222 1221 1220 1217 1216 1215 1214 1213 1212 1211 1210 1257 1256 1255 1254 1253 1252 1251 1250 1247 1246 1245 1244 1243 1242 1241 1240 1277 1276 1275 1274 1273 1272 1271 1270 1267 1266 1265 1264 1263 1262 1261 1260 1317 1316 1315 1314 1313 1312 1311 1310 1307 1306 1305 1304 1303 1302 1301 1300 1337 1336 1335 1334 1333 1332 1331 1330 1327 1326 1325 1324 1323 1322 1321 1320 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341 1340 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 1417 1416 1415 1414 1413 1412 1411 1410 1407 1406 1405 1404 1403 1402 1401 1400 1437 1436 1435 1434 1433 1432 1431 1430 1427 1426 1425 1424 1423 1422 1421 1420 1457 1456 1455
23. 1601 1600 1637 1636 1635 1634 1633 1622 1621 1620 1617 1616 1615 1614 1613 1612 1611 1610 1657 1656 1655 1654 1653 1652 1651 1650 1647 1646 1645 1644 1643 1642 1641 1640 1677 1676 1675 1674 1673 1672 1671 1670 1667 1666 1665 1664 1663 1662 1661 1660 1717 1716 1715 1714 1713 1712 1711 1710 1707 1706 1705 1704 1703 1702 1701 1700 1737 1736 1735 1734 1733 1732 1731 1730 1727 1726 1725 1724 1723 1722 1721 1720 1757 1756 1755 1754 1753 1752 1751 1750 1747 1746 1745 1744 1743 1742 1741 1740 1777 1776 1775 1774 1773 1772 1771 1770 1767 1766 1765 1764 1763 1762 1761 1760 DL405 Memory Map Control Relay Bit Map This table provides a listing of the individual control relays associated with each V memory address bit a o gt fe D Te J m 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114
24. 165 164 163 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 222 221 220 217 216 215 214 213 212 211 210 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 a DL405 Memory Map Remote I O Bit Map This table provides a listing of the individual remote I O points associated with each V memory address bit a o gt fe D Te J m 017 016 015 014 013 012 011
25. 2 V V memory 00000 37777 00000 07777 3 SYS System memory Non selectable copies all system parameters Use AUX 73 to compare the programs AUX 7 3 ENT ENT e e AUX 73 CMP MC TO CPU 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example ee AUX 73 CMP MC TO CPU lst 00000 Select the starting address or press ENT to start at 00000 ENT AUX 73 CMP MC TO CPU END 07679 Select the ending address or press ENT to compare the entire range ENT AUX 73 CMP MC TO CPU 00000 07679 Confirm the selection ENT This may take a minute or so Ho AUX 73 CMP MC TO CPU CMOSRAM 08K Ox One of two displays will appear The programs are different E640 MISCOMPARE sweibold The programs are the same VERIFICATION OK Clear the display by pressing CLR J 9 10 Naming and Storing Programs Storing Programs on Cassette Tapes Programs Cassette Characteristics Connecting the Cassette Recorder Program Names on Cassettes Writing a Program to the Cassette Although memory cartridges are the preferred method of program storage you can also copy the programs from the CPU to cassette tapes The advantage is you can generally store several programs on a single cassette tape When you select a recorder choose one designed for use with Personal Computers PCs
26. 760 A DL405 Memory Map Ane This portion of the table shows additional Remote I O points available with the DL440 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 1037 1036 1035 1034 1033 1032 1031 1030 1027 1026 1025 1024 1023 1022 1021 1020 1057 1056 1055 1054 1053 1052 1051 1050 1047 1046 1045 1044 1043 1042 1041 1040 dew Aiowey soria 1077 1076 1075 1074 1073 1072 1071 1070 1067 1066 1065 1064 1063 1062 1061 1060 1117 1116 1115 1114 1113 1112 1111 1110 1107 1106 1105 1104 1103 1102 1101 1100 1137 1136 1135 1134 1133 1132 1131 1130 1127 1126 1125 1124 1123 1122 1121 1120 1157 1156 1155 1154 1153 1152 1151 1150 1147 1146 1145 1144 1143 1142 1141 1140 1177 1176 1175 1174 1173 1172 1171 1170 1167 1166 1165 1164 1163 1162 1161 1160 1217 1216 1215 1214 1213 1212 1211 1210 1207 1206 1205 1204 1203 1202 1201 1200 1237 1236 1235 1234 1233 1222 1221 1220 1217 1216 1215 1214 1213 1212 1211 1210 1257 1256 1255 1254 1253 1252 1251 1250 1247 1246 1245 1244 1243 1242 1241 1240 1277 1276 1275 1274 1273 1272
27. D e2 gt fe 5 Co e 0 22 System Monitoring and Troubleshooting D fe i wn x G pa a ke 5 E312 HPP Comm Error 2 A data error was encountered during communications with the CPU Clear the error and retry the request If the error continues check the cabling between the two devices replace the handheld programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E313 HPP Comm Error 3 An address error was encountered during communications with the CPU Clear the error and retry the request If the error continues check the cabling between the two devices replace the handheld programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E316 HPP Comm Error 6 A mode error was encountered during communications with the CPU Clear the error and retry the request If the error continues replace the handheld programmer then if necessary replace the CPU SP46 will be on and the error code will be stored in V7756 E320 HPP Comm Time out The CPU did not respond to the handheld programmer communication request Check to insure cabling is correct and not defective Power cycle the system if the error continues replace the CPU first and then the handheld programmer if necessary HPP Peripheral Port Time out E321 A data error was encountered during communication with th
28. Output 16pt Input 8pt Input X0 X7 Y0 Y37 X100 X117 X10 X17 Removing a Once you have manually configured the addresses for an I O slot the system will Manual automatically retain these values even after a power cycle You can remove any Configuration manual configuration changes by simply performing an automatic configuration AUX 46 executes an automatic configuration which allows the CPU to examine the installed modules and determine the I O configuration and addressing Use AUX 46 AUX 4 6 AUX 46 CFG I O 1 gt AUTO 2 gt MAN Select Automatic Configuration 1 S AUX 46 CFG I O OK ca System Setup Now that you understand the basics of the DL405 Handheld Programmer and howto perform many different types of system setup operations you are ready to enter a program Entering Programs In This Chapter Entering Simple Ladder Programs Checking for Program Errors pore Entering Programs Entering Simple Ladder Programs Purpose of the Examples Handheld Key Sequences The Basics Traversing the Program Accessing Addresses Address Previous Next Functions Previous Next Keys This section includes many examples that are intended to help you become familiar with the keystrokes required to enter the most basic DL405 instructions Once you are familiar with the basic keystrokes you should use the DL405 User Manual as a
29. System None V7400 V7777 256 None specific used with many parameters instructions DL440 Memory Map A DL405 Memory Map A 3 Input Points XO X477 V40400 V40423 320 XO Output Points YO Y477 V40500 40523 320 YO Control Relays CO C1777 V40600 40677 1024 Co Co Special Relays SPO SP137 V41200 41205 352 SPO SP320 SP617 V41215 41230 SP620 SP717 V41231 V41234 Timers TO T377 256 TMR TO K100 Timer Current see status bits V00000 V00377 256 vo K100 Values gt Timer Status Bits TO T377 V41100 V41117 256 TO Counters CTO CT177 128 CNT CTO K10 Counter see status bits V01000 V01177 128 V1000 K100 Current Values a Counter Status CTO CT177 V41040 V41147 128 CTO Bits Data Words None V1400 V7377 3072 None specific used with many V10000 V17777 instructions Stages S0 S1777 V41000 V41077 1024 SG so Soo Remote In Out GX0 GX1777 V40000 V40077 1024 GXo GXO 3 System None V700 V737 288 None specific used with many parameters V7400 V7777 instructions g D a D 3 lt D a DL405 Memory Map X Input Bit Map This table provides a listing of the individual Input points associated with each V memory address bit for the DL430 and DL440 CPUs Q o gt fe
30. The Handheld is well suited for entering small programs or for troubleshooting machine operations It is not the ideal choice for entering larger more complex programs For these types of programs you should consider using DirectSOFT our PC based programming software DL405 Handheld WD 0 I 0 0 0 U0 0 0 TICE O He Tuto Lotto 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 DL405 User Manual to determine the keystrokes required 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 DL405 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 DL405 instruction set or system operation but rather a user reference manual for the Handheld Programmer There is another manual that may occasionally be referenced by this
31. 1 with XO New Reference __ __ 6 AND X10 Starts branch 4 with X5 10 STR X10 Begins a new rung with X5 aes Changing Programs Editing Programs During Run Mode With the DL440 CPU you can edit programs during Run Mode and Test Run Mode See Chapter 6 for more information on Test Modes You use AUX 14 Run Time Edit to modify the program Most of the things you can do in Program Mode also apply For example you can use the same techniques to search for a specific instruction search for a specific address etc However you cannot use Search and Replace during Run Mode The Run Mode Edits are not bumpless Instead the CPU maintains the outputs in their last state while it accepts the new program information If an error is found in the new program then the CPU will turn all the outputs off and enter the Program Mode WARNING Only authorized personnel fully familiar with all aspects of the application should make changes to the program Changes during Run Mode become effective immediately Make sure you thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment Edits during Run Mode are ideally suited to small changes If the program requires major changes it is strongly recommended you switch the system to program mode and take all necessary precautions just as if you were starting the machine for the first time Selecting AUX 14 We ve already shown you how to
32. 1710 1707 1706 1705 1704 1703 1702 1701 1700 1737 1736 1735 1734 1733 1732 1731 1730 1727 1726 1725 1724 1723 1722 1721 1720 1757 1756 1755 1754 1753 1752 1751 1750 1747 1746 1745 1744 1743 1742 1741 1740 1777 1776 1775 1774 1773 1772 1771 1770 1767 1766 1765 1764 1763 1762 1761 1760 a D a D 3 lt D DL405 Memory Map Stage Control Status Bit Map This table provides a listing of the individual stage control bits associated with each V memory address bit a o gt fe D Te J m 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 1
33. 566 565 564 563 562 561 560 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 637 636 635 634 633 622 621 620 617 616 615 614 613 612 611 610 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 737 736 735 734 733 732 731 730 727 726 725 724 723 722 721 720 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 A DL405 Memory Map A 1 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 1037 1036 1035 1034 1033 1032 1031 1030 1027 1026 1025 1024 1023 1022 1021 1020 1057 1056 1055 1054 1053 1052 1051 1050 1047 1046 1045 1044 1043 1042 1041 1040 1077 1076 1075 1074 1073 1072 1071 1070 1067 1066 1065 1064 1063 1062 1061 1060 1117 1116 1115 1114 1113 1112 1111 1110 1107 1106 1105
34. 6 AND X10 ENT New instruction is entered and 7 display moves to next address ORN X 0006 ka Changing Programs Inserting an Instruction Use the INSERT feature to add an instruction to the program INSERT adds an instruction before the instruction that is being displayed so make sure you are atthe correct program address Once you ve inserted the new instruction the remaining addresses increment The following example shows the instructions addresses and corresponding Handheld displays for a small program Ladder Representation XO X2 X5 X7 YO k our x1 X3 X4 Add X7 X6 ie G0 Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO Insert before 6 AND X5 Starts branch 4 with X5 AND X7 Adds X7 in series with X5 7 ORN X6 Joins X6 NOT in parallel 10 END Ends the program FIND the Address OR NOT X IN 6 FIND SEARCHING Insert the New Instruction AND X IN 7 SHFT INS INSERT INST ENT Deleting an Instruction 4 Changing Programs ad Use the DELETE feature to remove an instruction from the program This operation deletes the instruction that is currently being displayed so make sure you are at the correct program address Once you ve deleted the instruction the remaining addresses decr
35. manual This manual is not absolutely necessary to use the Handheld but it does provide additional details on several related subjects e DL405 User Manual D4 USER M Now you have the material necessary to quickly understand the DL405 Handheld Programmer So let s get started After completely reading this manual if you are not successful with implementing the OP 1500 or OP 1510 you may call PLCDirect at 800 633 0405 Monday through Friday from 9 00 A M to 6 00 P M Eastern Standard Time Our technical support group will work with you in answering your application questions If you have a comment or question about our products services or manuals which we provide please fill out and return the suggestions card included with this manual Chapters The main contents of this manual are organized into the following six chapters Getting Started provides an overview of the various uses for the Handheld Programmer and provides general specifications shows you how to use the basic features of the Handheld Programmer System Setup Also provides an overview of the various AUX functions and how they are used to setup the PLC system prior to entering programs Entering Programs discusses all the operations used to enter a program Changing Programs i oF shows you how to quickly edit an existing program O1 AJ OJIN shows you how to use program names and password protec
36. memory cartridge fits in the CPU and inthe handheld programmer It also shows how to open the memory cartridge for selecting write protect for CMOS RAM or for erasing the UVPROM WARNING Do not insert or remove a CPU memory cartridge while the power is connected Your program or password may be corrupted if this occurs A corrupted program can cause unpredictable operation which may result in a risk of injury to personnel or damage to equipment Ifthe password becomes corrupted you cannot access the CPU ny Pull lever to O extract cartridge O Jumper Pins 2 amp 3 D O to Write Protect Jumper Pins 1 amp 2 TS f to Write Enable SS CPU Battery Se SE oe cee 3 gt Cartridge 1 Battery Z lt 5 CMOS Memo Cartridge 5 Ss ae UV Memory Retaining Cartridge Screws with cover removed UVPROM Erasing Instructions 1 Remove cartridge from CPU or HPP 2 Remove cartridge retaining screw 3 Remove cover 4 Place cartridge in UV erasing lamp typical 12 000 w cm lamp 2 5cm for 15 20 minutes 5 Replace cover sweiBold 279 Naming and Storing Programs Clearing the Memory Cartridge There are two AUX Functi
37. not be accepted AD 2 NXT Insert desired address number here AD PREV T7 AD NXT T7 When using only the previous and next keys to toggle through the program addresses it is not necessary to clear the display PREV NXT Entering Programs a3 The following diagram shows a typical network and how each of these elements are used XO x2 ORSTR X5 Yo De STR our Output OR io x3 AND i ANDSTR X6 END Statement 0 Starting at If you re entering a complete program you should always start at Address 0 The Address 0 following example shows the keystrokes required The remaining examples will not show this display but the keystrokes are required Address Start at address 0 AD NXT z Instruction Once you re at address 0 you can start entering a program Entering Simple Rungs 3 4 Entering 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 YO uT Enter the contact AD NXT STR X IN 0 ENT C z Enter the output coil OUT Y OUT 0 ENT Enter the END statement END ENT eI m 0 S Starting at Address 0 0 STR X0 1
38. or TEST PGM mode before you can change the watchdog timer value Use AUX 55 to change the watchdog value AUX 5 5 4 AUX 55 SET WATCHDOG TMR 0200 MSEC current setting Enter the new time value in milliseconds AUX 55 SET WATCHDOG TMR OK D fe fe pos wn x G _ ke System Monitoring and Troubleshooting Test Modes TEST PGM and TEST RUN Test Mode allows the CPU to start in TEST PGM mode enter TEST RUN mode run a fixed number of scans and then return to TEST PGM mode You can select from 1 to 65 535 scans Use the following keystrokes to enter the Test Modes The actual mode entered when you first select Test Mode depends on the mode of operation at the time you make the request If the CPU is in RUN mode then TEST RUN is entered If the mode is PGM then TEST PGM is entered Use AUX 12 to enter Test Mode AUX 1 2 ENT ENT MODE TEST PGM While in TEST PGM mode you can specify the number of scans by entering CLR 1 SHFT TEST NO OF SCANS CPU runs scans and returns to TEST PGM To switch from TEST RUN to TEST PGM mode CLR 2 SHFT TEST STOP SCAN ENT to confirm the return to TEST PGM To switch from TEST PGM to TEST RUN mode CLR 3 SHFT TEST
39. 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 it has been entered correctly Ifthe instruction was entered incorrectly an error message will be displayed See Chapter 6 for a complete listing of error messages There are a few basic instructions you must become familiar with to enter programs with the Handheld e STR Stores a normally open element and indicates the beginning of a rung or network e AND Joins one element such as a contact in series with another element or group of elements e AND STR Joins a group of elements in series with another group of elements e OR Joins one element in parallel with a previous element or group of elements e ORSTR Joins parallel branches each branch must begin with a STR instruction e Output Each rung must have at least one output Y C or box instruction e NOT used with other instructions to utilize normally closed elements e All programs must contain an END statement The instructions and associated data are located at program addresses not the same as rung addresses used in DirectSOFT You may access an instruction by going directly to the instruction address or you may use the next and previous functions to toggle through the program addresses NOTE Before using the first two below methods shown below ensure the display is Clear otherwise the entry will
40. small program Ladder Representation XO X2 X5 YO ED X1 X3 X4 SE 1 1 Find X5 X6 ev GD Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO 6 AND X5 Starts branch 4 with X5 10 END Ends the program FIND the Address AND X IN 5 FIND E SEARCHING 6 AND xX 0005 You can continue searching for other instances of the instruction just by pressing the FIND key again If the instruction is not found the error message E602 INSTRUCTION MISSING is displayed If you think the message is incorrect check your keystrokes to make sure you re entering the instruction correctly and try the operation again 4 Changing Programs 4 9 Changing an Instruction Once you ve found the instruction you can change it very easily The following example shows you how to change the X5 contact to X10 Ladder Representation X0 X2 X5 YO ken X1 X3 X4 1 1 Change X5 X6 a eD Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO 6 AND X5 Starts branch 4 with X5 10 END Ends the program FIND the Address AND X IN 5 FIND SEARCHING Change the Instruction AND X IN 10 L
41. teckaai eee naniid acmanwiee Ga ge be ebaa we 2 12 VO Gonfiguration oseraies ia Sits ie eet ain acs a S a ea A aa E decane E 2 13 Autmati OUI AMOR sre eea or a RAR EEn 9 ules RA DEA A OREN E 2 13 Automatic I O Configuration Check oh u2 24 Much 8 saaana aaee 2 14 Maua CO OOA a ka ed ik a E creat lank tok aM E ENEN 2 16 Removing a Manual Configuration sanaa aaaeei 2 17 LE Table of Contents Chapter 3 Entering Programs Entering Simple Ladder Programs unnnnnssssnnnnrnnnnnnnnunnnnnnnrnnnnnnnnnnn 3 2 P rpose withe EXampleSi rni e ain rath aKa Rakai a Nc Aenea E e ta Mei nee E R 3 2 Handheld Key SSQUeMCGS cui s canes des sb ack guia dean a e a ta Se ded chard Geta J a oa a dads 3 2 WINS BASICS iaaa doa Sta nat aed md dk h it Dial ati act i mak itt Laks cle a A da he A ah E da Rica tm 3 2 TAVEFSINGItNe Progra ois ou ct ddawed oh iweare ga ladde om haw desu deddd oad aaey gan 3 2 PICCOSSING Addresses cute Meh shall ld wh hte coh hated AN Rte Lai k eek iad Al tad Dot al te Melted 3 2 Address Previous Next FUNCIONS 4 sate avid sok ack tsuki orkr agire aubu ciate eke cas 3 2 Previous NeXt GV Sen 25 5 4 ho cote eA a ca ached EA a aA EA E cata de dead dace pled a ced 3 2 Stating at NOMI GOs aan baa E eras EO Bide a wlth ard de O take Mian th wd be doe Pusan aa te Menara ed de Sled 3 3 Enterin Simple RUNS seneesa eae tE RTO Ree E athe cc Rann ea REE RO 3 4 Entering Normally Closed Elements uwcisnkivedecieseadteabiee cere oo we
42. the current address is displayed A Changing Programs Ba Inserting an Inserting an instruction during Run Mode works almost exactly the same as it does Instruction During during Program Mode Remember INSERT adds an instruction before the Run Mode instruction that is being displayed and the remaining addresses increment Ladder Representation XO X2 X5 X7 YO k our x1 X3 X4 Add X7 X6 G0 Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO Insert before 6 AND X5 Starts branch 4 with X5 AND X7 Adds X7 in series with X5 7 ORN X6 Joins X6 NOT in parallel 10 END Ends the program FIND the Address OR NOT X IN 6 FIND SEARCHING Insert the New Instruction AND X IN 7 SHFT INS WANT TO INSERT Press CLR to abort the edit or ENT to accept ENT If you press ENT the change is accepted ORN X 0006 and the next address is displayed If you pressed CLR the current address is displayed 4 4 12 Changing Programs Deleting an Deleting an instruction during Run Mode works almost exactly the same as it does Instruction During during Program Mode Remember this operation deletes the instruction that is Run Mode currently being displayed and the remaining addresses decrement Ladder R
43. you can only enter two ASCII characters per ACON instruction with the Handheld This is not the case with DirectSOFT which allows you to enter up to 8 characters per ACON instruction DirectSOFT also supports other characters not available on the handheld keypad The following program will display the message CHKGUARD on the Handheld when CO is on 3 fault Message GD K1 Data Label and ACON instructions build the message ACON LACON RD NOTE The DL430 CPU also allows you to use the Fault instruction but you cannot create text messages because the DLBL ACON NCON and MOVMC instructions do not exist If you re using a DL430 you can replace the constant K value used with the Fault instruction with a V memory address Then the Handheld will display whatever code is stored in that V memory address For example if you used a Fault message with a reference to V2000 and V2000 held the constant 1234 then the Handheld would display that constant value This is still useful because you can easily build a chart that would show the operator what the various codes mean If you have a DL440 CPU handy enter the program on the next page to see how it actually works Once you ve entered the program put the CPU in RUN mode and force CO on to display the message System Monitoring and Troubleshooting 6 1
44. 1 1030 1027 1026 1025 1024 1023 1022 1021 1020 1057 1056 1055 1054 1053 1052 1051 1050 1047 1046 1045 1044 1043 1042 1041 1040 1077 1076 1075 1074 1073 1072 1071 1070 1067 1066 1065 1064 1063 1062 1061 1060 1117 1116 1115 1114 1113 1112 1111 1110 1107 1106 1105 1104 1103 1102 1101 1100 1137 1136 1135 1134 1133 1132 1131 1130 1127 1126 1125 1124 1123 1122 1121 1120 1157 1156 1155 1154 1153 1152 1151 1150 1147 1146 1145 1144 1143 1142 1141 1140 1177 1176 1175 1174 1173 1172 1171 1170 1167 1166 1165 1164 1163 1162 1161 1160 1217 1216 1215 1214 1213 1212 1211 1210 1207 1206 1205 1204 1203 1202 1201 1200 1237 1236 1235 1234 1233 1222 1221 1220 1217 1216 1215 1214 1213 1212 1211 1210 1257 1256 1255 1254 1253 1252 1251 1250 1247 1246 1245 1244 1243 1242 1241 1240 1277 1276 1275 1274 1273 1272 1271 1270 1267 1266 1265 1264 1263 1262 1261 1260 1317 1316 1315 1314 1313 1312 1311 1310 1307 1306 1305 1304 1303 1302 1301 1300 1337 1336 1335 1334 1333 1332 1331 1330 1327 1326 1325 1324 1323 1322 1321 1320 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341
45. 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 222 221 220 217 216 215 214 213 212 211 210 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 517
46. 1454 1453 1452 1451 1450 1447 1446 1445 1444 1443 1442 1441 1440 1477 1476 1475 1474 1473 1472 1471 1470 1467 1466 1465 1464 1463 1462 1461 1460 1517 1516 1515 1514 1513 1512 1511 1510 1507 1506 1505 1504 1503 1502 1501 1500 1537 1536 1535 1534 1533 1532 1531 1530 1527 1526 1525 1524 1523 1522 1521 1520 1557 1556 1555 1554 1553 1552 1551 1550 1547 1546 1545 1544 1543 1542 1541 1540 1577 1576 1575 1574 1573 1572 1571 1570 1567 1566 1565 1564 1563 1562 1561 1560 1617 1616 1615 1614 1613 1612 1611 1610 1607 1606 1605 1604 1603 1602 1601 1600 1637 1636 1635 1634 1633 1622 1621 1620 1617 1616 1615 1614 1613 1612 1611 1610 1657 1656 1655 1654 1653 1652 1651 1650 1647 1646 1645 1644 1643 1642 1641 1640 1677 1676 1675 1674 1673 1672 1671 1670 1667 1666 1665 1664 1663 1662 1661 1660 1717 1716 1715 1714 1713 1712 1711 1710 1707 1706 1705 1704 1703 1702 1701 1700 1737 1736 1735 1734 1733 1732 1731 1730 1727 1726 1725 1724 1723 1722 1721 1720 1757 1756 1755 1754 1753 1752 1751 1750 1747 1746 1745 1744 1743 1742 1741 1740 1777 1776 1775 1774 1773 1772 1771 1770 1767 1766 1765 1
47. 15 414 413 412 411 410 407 406 405 404 403 402 401 400 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 637 636 635 634 633 622 621 620 617 616 615 614 613 612 611 610 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 737 736 735 734 733 732 731 730 727 726 725 724 723 722 721 720 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761
48. 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 637 636 635 634 633 622 621 620 617 616 615 614 613 612 611 610 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 737 736 735 734 733 732 731 730 727 726 725 724 723 722 721 720 aad DL405 Memory Map This portion of the table shows additional Control Relays points available with the DL440 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 1037 1036 1035 1034 1033 1032 103
49. 63 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 222 221 220 217 216 215 214 213 212 211 210 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 577 576 575 574 573 572 571 570 567
50. 7 Enter the first contact Starting at Address 0 9 STR X O ENT 2 0 3 STR X0 5 D i Enter the Fault instruction 9 SHFT F A U L T K CON a a 1 1 ENT FAULT K1 Enter the END statement END ENT END Enter the DLBL instruction SHFT D L B L K CON 1 a 4 ENT DLBL K1 ya Enter the ACON instruction and the first two letters SHFT _A C O N ASC 6 SHFT C H ENT ACON A CH Enter the next two characters SHFT A C O N ASC 7 SHFT K G ENT ACON A KG Enter the next two characters SHFT A C O N ASC 8 SHFT U A ENT ACON A UA po Enter the last two characters SHFT A C O N ASC 9 SHFT R D ENT ACON A RD D fe fe pos wn x G _ ke System Monitoring and Troubleshooting Checking the Error Message Tables Two Types of Tables The DL440 CPU will automatically log any system error codes and custom messages created with the FAULT instructions The CPU logs the error code the date and the time the error occurred There are two separate tables that store this information e Error Code Table the system logs up to 32 errors in the table W
51. 72 271 270 267 266 265 264 263 262 261 260 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 Ra DL405 Memory Map Counter Status Bit Map This table provides a listing of the individual counter contacts associated with each V memory address bit dew Aiowey sord 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160
52. 73 372 371 370 367 366 365 364 363 362 361 360 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 A DL405 Memory Map A 3 Y Output Bit Map This table provides a listing of the individual output points associated with each V memory address bit for both the DL430 and DL440 CPUs w D a D 3 lt D 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166
53. 764 1763 1762 1761 1760 dew Aioweyw sora D DL405 Memory Map Timer Status Bit Map This table provides a listing of the individual timer contacts associated with each V memory address bit a o gt fe D Te J m 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 237 236 235 234 233 222 221 220 217 216 215 214 213 212 211 210 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 277 276 275 274 273 2
54. 7755 System Monitoring and Troubleshooting 9 23 E405 A FOR instruction does not have the corresponding NEXT instruction SP52 Missing NEXT will be on and the error code will be stored in V7755 DL440 only E406 An interrupt routine in the program does not end with the IRT instruction Missing IRT SP52 will be on and the error code will be stored in V7755 E412 There is greater than 64 SBR LBL or DLBL instructions in the program This SBR LBL gt 64 error is also returned if there is greater than 128 GTS or GOTO instructions DL440 only used in the program SP52 will be on and the error code will be stored in V7755 E413 There is greater than 64 FOR NEXT loops in the application program SP52 FOR NEXT gt 64 will be on and the error code will be stored in V7755 DL440 only E421 Two or more SG or ISG labels exist in the application program with the same Duplicate Stage number A unique number must be allowed for each Stage and Initial Stage Reference SP52 will be on and the error code will be stored in V7755 E422 Two or more SBR or LBL instructions exist in the application program with the Duplicate SBR LBL same number A unique number must be allowed for each Subroutine and Reference Label SP52 will be on and the error code will be stored in V7755 DL440 only E423 Nested loops programming one FOR NEXT loop inside of another is not Nested Loops allowed in the DL440
55. BL I O status Cassette Interface up to 16 simultaneously D4 HPCBL 1 On Off status for contacts coils 1 5m Programmer Cable control relays and bit locations D4 HPCBL 2 Timer and counter contacts 3 0m Programmer Cable current values and preset values Debugging Operations Forcing one scan only Run Test and Program Mode display Program syntax check Duplicate reference check Predefined error codes Message Display Up to 64 23 character messages must be in RLL program e e Keypad Layout Four Groups of When you enter a program you need to be able to select the instruction enter any Keys parameters for that instruction and move to the next task The Handheld keypad is organized into key groups that make this task easier The groups are e Instruction keys used to select the instruction e Instruction identifier keys used to assign a number to the instruction For example each timer must have a unique identifier TMR 0 TMR 1 etc e Numeric keys used to enter values in various formats BCD decimal octal HEX etc e Editing Monitoring keys used to move through the program Find Delete etc 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 SHFT key is pressed These keys work just like the number keys on a computer keyboard S RUN TEST PGM
56. Changing Programs Two Ways to Edit a Program 3 40 exci vawia drew Cees Meee ea eek ee eae Aeon eee 4 2 Program Mode irere Pech nie ect tetas Pe ea alas Rall Oc Ned BRL PHS ee nate ae aed 4 2 RUM MOSHE ITS 0 ation heute Rea elas Gee ek hate ee eaten ets de each al gg Gehl ae Mh Rr a ey 4 2 Displaying a Program so asec ajar die esate crea ages ai oe sv seeds non dapat wpe hig ayaa ode Gage mi piace aca wterese ie 4 3 Finding a Specific Instruction sic ccc0 fecal Sata eee dee teak tanweeaeter eee eee 4 4 Changing an Instruction 2 00 3 ask cine monyeis name nieiinne Rew osc eneeioae Reel ea ee eps 4 5 Inserting an Instruction sicc icasc ke diwdiel eee gee e ie ae eee ee gee 4 6 Deleting an Instruction sai v ie ae wa eee ae wae Rak wa he Se Re ies eee ee eee are 4 7 Using Search and Replace 2 2 225 20s0ce2ieeciwiinev iwi eae eens tee eeeeeiiees ease 4 8 Editing Programs During Run Mode cee cece eee eee eee eee eee eee 4 9 Selecting AAA aa ak ae enna a lie Bite eet Renita Sct a AAD 2 lenis Dehn A in iad He kes a ae 4 9 Changing an Instruction During Run Mode 93 0536 leit bad oe baehadaueddhad odie a ol oe 4 10 Inserting an Instruction During Run Mode 0 2 teens 4 11 Deleting an Instruction During Run Mode suse ackad eek oow rns Vso k EVeKe owns ede bys 4 12 Table of Contents mu Chapter 5 Naming and Storing Programs Program Names and PasswordS 0 0c ce eee eee eee eee e eee eee eens 5 2 Program Names
57. DL405 Handheld Programmer Manual Number D4 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
58. HFT lt System Setup In This Chapter Auxiliary Functions Handheld Setup CPU Setup O Configuration ene System Setup Auxiliary Functions unctions rang are Auxiliary F Many Handheld tasks involve the use of AUX Functions The AUX Functions perform many different operations ranging from simple operating mode changes to copying programs to memory cartridges These functions are discussed in more detail throughout the manual They are divided into categories that affect different system parameters You ll use AUX Functions for the following types of operations Go to Run Mode 51 Modify Program Name Go to Test Mode 52 Display Change Calendar Go to Program Mode 53 Display Scan Time 21 Run Time Edit Check Program x O O O O lO O O 54 Initialize Scratchpad 55 Set Watchdog Timer 56 Set CPU Network Address 22 Change Reference 57 Set Retentive Ranges 23 Clear Ladder Range 58 Test Operations 24 Clear Ladders X O O QO OF OF OF X O QO O 0 0 0 0 0 0 0 QO OO X O QO 0 0 0 5C Display Error History 31 Clear V Memory O O 61 Show Revision Numbers O O 32 Clear V Range O O 62 Beeper On Off HP HP 33 Find V memory Value xX O 63 Backlight On Off HP HP AUX 4 I O Configuration 64
59. Hold YO ON Y1 C2 ED Let Y1 turn Pi OFF System Monitoring and Troubleshooting 9 11 You can use AUX 58 to configure each individual output The following keystrokes show an example Use AUX 58 to configure the output state AUX 5 8 ENT ENT j e AUX 58 TEST OPERATIONS Y0000 OFF Bunooys jqnor pue To hold the last state on mode transition SHFT ON AUX 58 TEST OPERATIONS YO000 ON To turn the output off on mode transition SHFT OFF AUX 58 TEST OPERATIONS YO0000 OFF To select an output for configuration CLR Y OUT 5 o NXT AUX 58 TEST OPERATIONS You can also use PREV and NXT to Y0050 OFF sequentially step through the outputs e 0 12 System Monitoring and Troubleshooting I O Diagnostics D fe fe i 1 O G ke Diagnostic Indicators The DL405 system provides many diagnostic features that normally are not found on much larger more expensive PLCs There are three primary tools that help identify I O errors e CPU status LEDs e 1 O module status LEDs e AUX 42 I O Diagnostics The following diagram shows how these three things can be used to locate the source of the error very quickly EWA BATT Loose terminal block RUN C O LED indicator CPU ml E CO
60. I 1111117654321076 543210 e 6 4 System Monitoring and Troubleshooting Forcing Discrete I O Points e You can also force I O points from the status display by using the ON and OFF keys Q You can display the points first or you can force the points from a clear display 2 a Itis important to note that the DL405 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 p module that is installed in the base The following example shows how the forcing actually works Force I O Points Force YO ON XO X2 x5 X7 Yo H X1 X3 X4 1 1 X10 Force X10 ON Y1 H On due to X10 forced ON Eno Next Scan oi x z CPU reads the I O status from seria the modules Sees that X10 is P X10 is o off overwrites the force H command and turns off X10 0 XO X2 X5 X7 YO H C x1 X3 X4 Logic is solved X10 even though previously forced on X10 Force is ov rwritt n y S turned off YO and Y1 are ssl es turned off since conditions are not met Eno oi x 5 CPU updates the output status with the results obtained from the Les gt Y0 and Y1
61. M 418 MAT Dm gt 7 O F D li m paee l e a mae Bia Loose terminal block AUX 42 I O BASE 0 SLOT3 Internal diagnostics E201 TERMINAL BLOCK OFF V7756 0201 Major Error Code V7760 0003 Error Location Base 00 Slot 03 V7762 0201 Module Error Code SP45 St IO Error System Monitoring and Troubleshooting 9 193 Using AUX 42 When an I O error occurs the Handheld Loose Terminal Block 9 automatically displays a message that gt a indicates an I O error This example 0 O display shows the error message q J l 5 0 9 a E2 DIAG ERROR AUX 42 The display indicates that you should use AUX 42 to pinpoint the location of the error Use AUX 42 AUX 4 2 ENT ENT AUX 42 I O BASEO SLOT1 E201 TERMINAL BLOCK OFF The error codes listing provided later in this chapter shows all of the possible I O error messages A e 6 14 System Monitoring and Troubleshooting Custom Messages The standard diagnostic tools help you identify system problems quickly but what if you need messages that tell the machine operato
62. OUT YO 2 END The example shows an X input contact and a Y output coil If you examine the Handheld keyboard you will notice specific keys for the other available data types C CR SPCL S SG E Control Relay Special Relay Stage Entering Programs ia Entering Normally Normally closed elements are entered with the STRN Store Not instruction The Closed Elements following example shows a simple rung with a normally closed contact XO YO a our no Enter the contact Starting at Address 0 AD NXT STR NOT X IN 0 ENT CT El j 0 STRN X0 Enter the output coil OUT Y OUT 0 ENT C 1 OUT YO Enter the END statement END ENT 2 END 3 0 Entering Programs Entering Series Elements You must start the first rung with a STR instruction since it contains more than one element and since it is also the beginning of the network The AND instruction joins the series contacts The following example shows how to enter two series contacts and a single output coil YO uT Oo Enter the first contact AD NXT STR X IN 0 ENT Enter the second contact AND X N 1 ENT Enter the output coil OUT Y OUT 0 ENT Enter the END statement END ENT
63. Of Range DL440 only E252 This error occurs when the auto configuration check is turned on in the CPU New I O CFG and the actual I O configuration has changed either by moving modules in a base or changing types of modules in a base You can return the modules to the original position types or run AUX45 to accept the new configuration SP47 will be on and the error code will be stored in V7755 E261 Overlapping addresses have been assigned while manually configuring the I O Address Conflict I O Correct the address assignments using AUX46 SP45 will be on and the DL440 only error code will be stored in V7755 E262 An out of range I O address has been encountered in the application I O Out Of Range program Correct the invalid address in the program SP45 will be on and the error code will be stored in V7755 E263 Out of range addresses have been assigned while manually configuring the I O Correct the address assignments using AUX46 SP45 will be on and the error code will be stored in V7755 E264 Duplicate I O Reference DL440 only Duplicate addresses have been assigned while manually configuring the I O Correct the address assignments using AUX46 E311 HPP Comm Error 1 A request from the handheld programmer could not be processed by the CPU Clear the error and retry the request If the error continues replace the CPU SP46 will be on and the error code will be stored in V7756 o 3 a fa oy
64. SG Use the arrow key to select MSG SHFT ENT gt PUMP 3 FAILED The most recent message is displayed You 04 22 93 17 30 00 can also use PREV and NXT to sequentially step through the messages e J 6 20 System Monitoring and Troubleshooting D fe re x wo x Ka pa a ke Error Codes The following table lists the error codes that may appear on the Handheld E001 Software Time out You may possibly clear the error by power cycling the CPU If the error CPU Fatal Error returns replace the CPU E003 If the program scan time exceeds the time allotted to the watchdog timer this error will occur SP51 will be on and the error code will be stored in V7755 To correct this problem add RSTWT instructions in FOR NEXT loops and subroutines or using AUX 55 extend the time allotted to the watchdog timer Invalid Command E004 The application program has changed for some reason SP44 will be on and Invalid Instruction the error code will be stored in V7755 This problem may possibly be due to DL440 only electrical noise Use AUX21 to check the program syntax and correct where necessary or clear the memory and re download the program Correct any grounding problems If the error returns replace the CPU E041 The CPU battery is low and should be replaced SP43 will be on and the error CPU Battery Low c
65. Turning Off the If necessary you can turn off the display backlight You can use Auxiliary AUX Backlight Function 63 to turn off the backlight Use the AUX menu AUX AUX FUNCTION SELECTION AUX 1 OPERATING MODE Enter 63 to select AUX 63 6 3 AUX 6 CFG MIU AUX 63 BACKLIGHT ON OFF Press ENT to turn off the backlight ENT Ho 2 0 System Setup CPU Setup A Few Things to Know 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 but it also includes some things that you may never have to use Here s a brief list of the items that are discussed e Changing the CPU Modes e Clearing the program and other memory areas e How to initialize system memory e Setting the CPU network address e Setting retentive memory ranges e Setting the Clock and Calendar There are three modes available with the DL405 CPUs e RUN executes program and updates I O modules e PGM allows program entry does not execute program or update I O modules e TEST allows you to run a fixed number of scans and enables other TEST features See Chapter 6 for additional information The DL405 User Manual provides additional information concerning the different modes of opera
66. V7755 o 3 a fa oy D e2 gt fe 5 Co e 0 24 System Monitoring and Troubleshooting d CEECEE 4 E438 An IRT must be programmed after the end statement not in the main body of p Invalid IRT Address the program SP52 will be on and the error code will be stored in V7755 2 E440 Either the DLBL instruction has been programmed in the main program area fe Invalid Data Address not after the END statement or the DLBL instruction is on a rung containing D DL440 only input contact s S E441 An ACON or NCON must be programmed after the end statement not in the ACON NCON main body of the program SP52 will be on and the error code will be stored DL440 only in V7755 E451 MLS instructions must be numbered in ascending order from top to bottom Bad MLS MLR E452 An X data type is being used as a coil output X AS Coil E453 A timer or counter contact is being used where the associated timer or Missing T C counter does not exist E454 One of the contacts is missing from a TMRA instruction Bad TMRA E455 One of the contacts is missing from a CNT or UDC instruction Bad CNT E456 One of the contacts is missing from the SR instruction Bad SR E461 More than nine levels of logic have been stored on the stack Check the use Stack Overflow of OR STR and AND STR instructions E462 An unmatched number of logic levels have been stored on th
67. acters in length and contain both text and numeric values The messages are part of the RLL program and are displayed automatically on the Handheld Programmer during RUN mode The DL440 CPU has several instructions that are used to build operator messages Detailed explanations of the following instructions are included in the DL405 User Manual e FAULT the Fault instruction is an output box instruction that lets the program know which message to display e DLBL the Data Label instruction is included after the END statement and notes the beginning of a message e ACON the ASCII Constant instruction is used as an output box for the ASCII portion of the message You can also display the contents of a V memory location instead of ASCII text e NCON the Numeric Constant instruction is used as an output box for any numeric constant portion of the message e MOVMC the Move Data Label to V memory Area instruction is used to embed variables such as timer or counter values into a text message The next two pages show an example and the keystrokes required to enter a very simple text message with the Handheld ov a fa fa oy D op gt 5 a e e 6 16 System Monitoring and Troubleshooting D Cc E fe fe lt 1 a G J gt Oo Cc NOTE It is much easier to enter text message programs with DirectSOFT than itis with the Handheld Programmer This is because
68. aned eee 3 5 Entering Series ENG GIS settee hese ouine te ia E E E id ea medals Rb unseated te Met alec Hew 3 6 Entering Parallel Elements cave wh eas ene eee Oe hee etfs Be ae PAG Oe EE oes 3 7 Joining Series Branches in Parallel ogo sox ioe eda dee ed wh let dell ee th lawns oe each Hatten a 3 8 Joining Parallel Branches in Series n d ce dendah dd cated nd ed chew wd ad hdd ea ao 3 9 COMBINAUOM IWEIWOIKS 6 outa ws idcd natives deten adage ales aaiqrdes detian 4 i a a E A N cients a aeardee d 3 10 Entenng Timers anid COUNTIES aeiia sortii e erack ag dante age ack hid ack hd oe in aok as 3 12 WILDE ee WaIOMIORVADIGSCl canis lacie lia wad AN A EE O dees daa EEO EEEE E anid 3 12 Witi CONSTAN e hk pastel A a a wie Md ahs ah Aleta she tak Lah Mie Aad ait eh tig cae Ole 3 12 Entering Relational Contacts se ceke rots atitsehackid sekaserasohaeksd reka ow seke chet 3 14 Entering AoC ll GhaVaClers steres huser nes ran OE aO NS E RER AUA OE sane 3 15 Entering Octal and Hex Numbers sec be lt ks evouts cuss Robe ota imetie une eee Kemi ants uae des 3 16 Checking for Program Errors ic2iisce Scand eae cor eer bw eared eee eee ees 3 17 Eror Checking Saad sta ree eoe eean DAM dorian oe NS A A ens oe heehee ew Oa Gena ee ee aLe A 3 17 SOURIS KGa mate th helt be Mlb tale cates Nad Mela cae hat Ail Sata dt hides Soe cB ale ated a co ehldt cilne alate hs 3 17 Duplicate Reference Check sucanritvundidahedanandiend sud aiedetmanuse baled ted bedwaanrl 3 18 Chapter 4
69. ate section of this chapter that discusses using the Handheld for editing programs during Run Mode 4 Changing Programs 4 3 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 or TEST RUN mode the upper right corner displays the status for bit instructions X Y C S T CT SP or GX Ladder Representation Xo XO X5 YO out x1 x3 x4 1 1 x6 i D Eno Mnemonic Listing and Addresses ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO 2 STR X2 Starts branch 2 with X2 3 STR X3 Starts branch 3 with X3 4 ANDN X4 Joins X4 NOT with X3 5 ORSTR Joins branches 2 and 3 6 AND X5 Starts branch 4 with X5 7 ORN X6 Joins X6 NOT in parallel with X5 8 ANDSTR Joins branches 4 and 5 with 1 3 9 OUT YO Stores the output and finishes the network 10 END Ends the program Use NXT or PREV to scroll through the addresses AD NXT Black indicates ON NXT S indicates OFF PREV 1 STR X 0000 a Changing Programs Finding a Specific Instruction If you do not want to scroll through the program you can use the FIND feature to automatically search for an instruction The following example shows the instructions addresses and corresponding Handheld displays for a
70. carne redisen E N E E E E Minbuumee OW rindi chee e Gaui 5 2 PASSWORD RIOT CHON 4 cic exe d Keto et i p ea ee i A t E i ei 5 2 Locking the GPU withthe Password circu uiais weakens patna ea O a wate E E 5 3 Storing Programs on Memory Cartridges 0 cece eee eee eee eee eens 5 4 Types of IIS ONY AE TL eee ats 8s ase Robern ee ae etna Barta EEEE 5 4 DEAA0 Memory Cartridge vx 0n viieos gnie epan Wakes Gand E ERE e ER wit 5 5 Clearing the Memory Cartridge tat cn eke Reha ries ood we arse aaltene pee eines Oea eek s 5 6 Copying Programs from the CPU aoaaa aana 5 7 Wriiting Programs tothe GPU atanpi iaa a eaa a a a e e a a te cat g 5 8 Comparing CPU and Handheld Programs 4 10 2 saaan 5 9 Storing Programs on Cassette TapeS 0 cc cece eee eee eee eee eee eens 5 10 Cassete AalacinsCsrs vanes ain mua Une ae ok mana a a a Rae ee Be 5 10 Connecting the Cassette Recorder ans pate mance cm he topo ake Mtoe Sand teacionge Se iotiuae andetucs 5 10 Program Names on Cassettes uu ununue 5 10 Wriitnga Program tothe Cassette futsal siu raon Eroa Yee NEO etl Naa wanted 5 10 Reading Programs from Cassette Tapes cis cid ean cre Gee eee etre ohne Re Pann 5 12 Comparing Cassette and CPU Progranis 01 242 pact ig tee telah Laisa eke oak a 5 13 Chapter 6 System Monitoring and Troubleshooting Troubleshooting Suggestions ce cece cece tence eee eee eee eee eee eens 6 2 Monitoring Discrete I O Points 0 0 cece teen
71. ce Poco a ere de be Roaiegce aa hk deh oe Romig a ase E ards tela Rowena a cane OEE 1 3 How can I use the Handheld c cc cee cece eee eee eee eee eee e eee eens 1 4 AS a Programming TOON esise aiid oor a A Oe Ba i Ae DEP hack doe od Be aes 1 4 To Monitor Machine Operations wir ted cls a Melodie gated G ek thle kk crite Wiles Gales ae ule be gente tl 1 4 PG ao DEDUGGING Tool cath eri e ee eat tana E ha EN eae meh E EE E etre eh eased 1 5 AS Low Cost Message Display aereas i anregen en Siu a de lasp cod tid wh dint aa 1 5 Physical Characteristics and Specifications 0 cece eee eee eee eee eee ees 1 6 Handheldikayout nerona nro omnes nan tm granny ine wet eee te ae Mie ann es men a aie Pe PR eee 1 6 Connection Options serrare tors rut E E E ER Bi Mid olin nuke AO E OEE S 1 6 DUSCIICANONS Jt ad conde E gE A A AE E AE A a a E e A AGE 1 7 Keypad Layout i pats ar pee a erai eaaa anA E jaAa agg bar wd aaea i reed E ja aas a aSK N aeiee m aya al wine aye EEAS E je 1 8 Four Groups oLKEV ane a a aaa ed a ea E a ame a a a 1 8 NERS ERLEG IBIS cette Nt ee ares a n cc et Cas E ces EE IG A E 1 9 LPS PPG HO IAS MUNET INC VS son ba deeded usea guina deta sil a din aaga emia d sh guia dead eae a 1 9 NEMENC KEYS wo Get ooc unt emcee Adc kee alt osens ieee aan Me ORa eee eea nm tere anaes 1 9 Editing Monitoring KEYS eroan en acect yi saad Saeed tek no Ses Joa ayant dn A ed sical phe keen 1 9 Chapter 2 System Setup Auxiliary F un tions i
72. ck the CPU Once the CPU is locked you cannot view change or erase the password You also cannot erase the memory cartridge and start over Use AUX 83 to lock the CPU AUX 8 3 ENT ENT j CPU UNLOCKED LOCK Press ENT to confirm the lock ENT p CPU LOCKED The message NO PASSWORD appears if you attempt to lock a CPU that does not have a password Use AUX 82 to unlock the CPU AUX 8 2 ENT ENT em CPU LOCKED PASSWORD Enter the password to unlock the CPU 1 2 3 4 5 6 7 CPU UNLOCKED 8 ENT ee The error message E541 WRONG PWORD appears if you enter an incorrect password If you press CLR you can attempt to enter the password again NOTE If you attempt to enter a password with less than 8 digits the error message E504 BAD REF VAL will appear You cannot clear this message with the conventional methods CLR and SHFT EXIT You must disconnect the Handheld from the CPU and start over sweiBbold 94 Naming and Storing Programs Storing Programs on Memory Cartridges Programs Types of Memory Cartridge The type of memory storage available for use depends on the CPU you are using The DL430 provides an EEPROM on the CPU for program storage and does not use memory cartridges The DL440 can support three different types of memory cartridges two sizes
73. control to the midway position and turn the volume off Use AUX 79 to compare cassette and CPU programs AUX 7 9 ENT ENT e e AUX 79 CMP MC TO TAPE NAME Enter the name press ENT if a name was not used SHFT S T A T O AUX 79 CMP MC TO N SHFT 1 ENE 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example AUX 79 CMP MC TO lst 00000 Select the starting address press ENT to start at 00000 ENT AUX 79 CMP MC TO 00000 VERIFY Confirm the selection ENT AUX 79 CMP MC TO 00000 BUSY Start the cassette recorder Increase the volume until the asterisk PLAY appears If the volume is too high the asterisk will disappear Adjust the volume in the middle of this range You have 10 x seconds to complete this operation PGM FOUND One of two displays will appear E640 MISCOMPARE sweiBold Stop the cassette recorder VERIFICATION OK STOP 9 14 Naming and Storing Programs 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 System Monitoring and Troubleshooting In This Chapter Troub
74. d The next few pages provide an overview of the most basic Handheld features Clearing the Sometimes we all make mistakes so it s important to know how to clear the display Display and start from the beginning The keystrokes needed depend on what you re trying to do but one of two methods will always work The following example shows two ways to clear the display Use the CLR Key CLR Use the EXIT Key to exit the AUX menus SHFT EXIT STRN X41 AUX FUNCTION SELECTION AUX 1 OPERATING MODE Using the Cursor Once you start an operation a flashing cursor appears On some displays you can move this cursor left or right with the lt or keys If you move the cursor left it acts just like the backspace key on a keyboard Some menus also allow you to toggle between two choices by pressing the arrow keys Cursor STRN X41 STRN X4 Press arrow key to backspace and delete the previous character System Setup ia Turning Off the The Handheld has a beeper that provides confirmation of keystrokes This can be Beeper quite annoying in an office environment You can use Auxiliary AUX Function 62 to turn off the beeper Use the AUX menu AUX AUX FUNCTION SELECTION AUX 1 OPERATING MODE Enter 62 to select AUX 62 6 2 a AUX 6 CFG MIU AUX 62 BEEPER ON OFF Press ENT to turn off the beeper ENT Ho
75. dheld but if you want to keep the CPU running you should use this procedure You can copy different portions of CPU memory to the memory cartridge 1 PGM Program 00000 07679 00000 03583 7 5K program memory 00000 015871 15 5K program memory 2 V V memory 00000 37777 00000 07777 3 SYS System memory Non selectable copies all system parameters Asingle memory cartridge cannot hold an entire system You may have to use more than one cartridge If so put V memory on a cartridge by itself The following displays change slightly if you use UVPROM or EEPROM cartridges Use AUX 71 to copy the program to the MC AUX 7 1 ENT ENT e e AUX 71 CPU TO MC 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example pe AUX 71 CPU TO MC lst 00000 Select the starting address or press ENT to start at 00000 ENT AUX 71 CPU TO MC END 07679 Select the ending address or press ENT to copy the entire range ENT a AUX 71 CPU TO MC 00000 07679 Confirm the selection ENT This may take a minute or so AUX 71 CPU TO MC CMOSRAM 08K Ox OK Clear the display by pressing CLR sweiBbold e e 9 8 Naming and Storing Programs Programs Writing Programs to the CPU AUX 72 MC TO CPU copies information from an Handheld memory cartrid
76. e CPU Check to Comm Error insure cabling is correct and not defective Power cycle the system and if the error continues replace the CPU first and then the handheld programmer if necessary E360 The device connected to the peripheral port did not respond to the handheld programmer communication request Check to insure cabling is correct and not defective The peripheral device or handheld programmer could be defective DL440 only E4 A syntax error exist in the application program The most common is a No Program missing END statement Run AUX21 to determine which one of the E4 series of errors is being flagged SP52 will be on and the error code will be stored in V7755 E401 All application programs must terminate with an END statement Enter the Missing END END statement in appropriate location in your program SP52 will be on and Statement the error code will be stored in V7755 E402 A GOTO GTS MOV MC or LD LBL instruction was used without the Missing LBL appropriate label Refer to the DL405 User Manual for details on these DL440 only instructions SP52 will be on and the error code will be stored in V7755 E403 A subroutine in the program does not end with the RET instruction SP52 will Missing RET be on and the error code will be stored in V7755 DL440 only E404 A NEXT instruction does not have the corresponding FOR instruction SP52 Missing FOR will be on and the error code will be stored in V
77. e program syntax This check will find a wide variety of programming errors The following example shows how to access AUX 21 Use AUX 21 to perform syntax check AUX 2 1 ENT ENT AUX 21 CHECK PROGRAM 1 SYN 2 DUP REF Select syntax check 1 ENT This may take a minute or so BUSY One of two displays will appear Error Display example 8 E401 MISSING END TMRA T 002 K00050 shows location in question Syntax OK display NO SYNTAX ERROR Ifyou get an error see the Error Codes Section for a complete listing of programming error codes Correct the problem and continue running the Syntax check until the NO SYNTAX ERROR message appears eal Entering Programs Duplicate Reference Check You can use AUX 21 CHECK PROGRAM to check for multiple uses of the same output coil The following example shows how to access AUX 21 Use AUX 21 to perform syntax check AUX 2 1 ENT ENT ea AUX 21 CHECK PROGRAM 1 SYN 2 DUP REF Select Duplicate Reference check 2 ENT This may take a minute or so BUSY One of two displays will appear Error Display example 12 E471 DUP COIL REF OUT Y 0000 shows location in question Syntax OK display NO DUP REFS If you get a Duplicate Reference error see Error Codes Section for a complete listing of programming error codes Co
78. e stack Insure Stack Underflow the number of AND STR and OR STR instructions match the number of STR instructions E463 A STR instruction was not used to begin a rung of ladder logic Logic Error E464 A rung of ladder logic is not terminated properly Missing CKT E471 Two or more OUT instructions reference the same O point Duplicate Coil Reference E472 Two or more TMR instructions reference the same number Duplicate TMR Reference E473 Two or more CNT instructions reference the same number Duplicate CNT Reference E480 The CV instruction is used in a subroutine or program interrupt routine The Invalid CV Address CV instruction may only be used in the main program area before the END DL440 only statement System Monitoring and Troubleshooting 9 29 E481 An instruction exists between convergence stages Conflicting Instructions DL440 only E482 Number of CV instructions exceeds 17 Max CV Instructions Exceeded DL440 only E483 CV JMP has been used in a subroutine or a program interrupt routine Invalid CV Jump Address DL440 only E484 CV JMP is not preceded by the CV instruction A CV JMP must immediately Missing CV follow the CV instruction Instruction DL440 only E485 A CV JMP instruction is not placed between the CV and the SG ISG ST Missing required BLK END BLK END instruction instruction DL440 only E486 CALL BLK is used in a subroutine or a program interrupt ro
79. e used to specify the OCT Identifier Keys exact instruction reference For ES 2 example if you want to store a contact PNTR you have to specify which contact you V want to use Z SPD Some DL405 instructions require you SPCL TMR enter some of the instruction parameters m in ASCII or octal You can do this by using ASC the SHFT key Press SHFT followed by Ej amp ASC to enter ASCII characters Press Gx GY SHFT followed by OCT and you can xin Y QUT enter an octal number Numeric Keys These keys are primarily used to enter TEST ON OFF numbers such as the instruction identifiers or constants For hexadecimal EH FP numbers you must use the SHFT key to 4 5 6 access A F The top three keys also have SHFT ak cgo Pg functions and are used for e TEST initiates Test functions a within Test Mode more on this later e ON forces an element to on e OFF forces an element to off Editing These keys are primarily used to help EXIT Monitoring Keys you edit the program monitor specific Wes ats Aux locations or access system AUX functions FIND You can use the AUX functions to DEL perform various types of operations PREV Some of these include I O Diagnostics CPU mode control Memory Cartridge We operations etc ENT CLR S
80. each for program storage You can purchase the memory cartridge with either a RAM a UVPROM or an EEPROM chip The RAM and EEPROM memory cartridges have a write protect jumper located inside the cartridge When the cartridge is opened you can move the jumper to the protect position to prevent someone from accidentally erasing or changing the program The following table provides a brief overview of the types of memory cartridges for the DL440 CPU See the DL405 User Manual for details Program Storage 7 5K 15 5K 7 5K 15 5K 7 5K 15 5K Capacity Cartridge Battery Lithium Lithium None None None None Type Writing Cycle Life N A N A 1000 1000 gt 10 000 gt 10 000 Write Inhibit Internal Internal No No Internal Internal jumper jumper jumper jumper Memory Clear Method Electrical Electrical Ultraviolet Ultraviolet Electrical Electrical light light NOTE When you purchase the UVPROM memory cartridge bear in mind it will be necessary for you to have either a RAM or an EEPROM memory cartridge for your program development Once development is completed you can then use the Handheld Programmer to copy your application program to the UVPROM We recommend the UVPROM memory cartridge option for applications which are mass produced and do not require frequent alterations DL440 Memory Cartridge Naming and Storing Programs 9 3 The diagram below displays a Memory Cartridge for the DL440 It shows how the
81. ect Manual Configuration 2 ENT AUX 46 CFG I O 0 0 X base slot type starting address Use PREV or NXT to scroll to the base and slot you want to change NXT AUX 46 CFG I O OR Press CLR and enter the base and slot number CLR 0 2 NXT AUX 46 CFG I O 0 2 Enter the new starting address X IN 1 0 0 ENT AUX 46 CFG I O The display scrolls to the next slot and 0 3 updates the addresses Exit the AUX function to save the change SHFT EXIT System Setup 2 1 WARNING If you manually configure an I O slot the I O addressing for the other modules will change This is because the DL405 products do not allow you to assign duplicate I O addresses You should always correct any I O configuration errors before you place the CPU into RUN mode Uncorrected errors can cause unpredictable machine operation that can result in a risk of personal injury or damage to equipment The following diagram shows how I O addresses can be affected after a slot has been manually configured a x O 0 e J Slot 0 Slot 1 Slot 2 Slot 3 Automatic 8pt Input 32pt Output 16pt Input 8pt Input X0 X7 YO Y37 X10 X27 X30 X37 Slot 0 Slot 1 Slot 2 Slot 3 Manual 8pt Input 32pt
82. ed to unlock the CPU with AUX82 was incorrect Wrong Password DL440 only System Monitoring and Troubleshooting O 2 E542 The CPU powered up with an invalid password and reset the password to Password Reset 00000000 A password may be re entered using AUX81 DL440 only E601 Attempted to enter an instruction which required more memory than is Memory Full available in the CPU E602 A search function was performed and the instruction was not found Instruction Missing E603 A search function was performed and the data was not found Data Missing DL440 only E604 A search function was performed and the reference was not found Reference Missing E610 The application program has referenced an I O module as the incorrect type Bad I O Type of module E620 An attempt to transfer more data between the CPU and handheld Out Of Memory programmer than the receiving device can hold E621 An attempt to write to a non blank Memory Cartridge was made Erase the MC Not Blank cartridge and then retry the write E622 A data transfer was attempted with no Memory Cartridge or possibly a faulty No HPP MC Memory Cartridge in the handheld programmer E623 A function was requested with a Memory Cartridge which contains system System MC information only E624 A function was requested with a Memory Cartridge which contains V memory V memory only data only E625 A functio
83. 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 Revisions If you contact us in reference to this manual be sure to include the revision number Title DL405 Handheld Programmer Manual Number D4 HP M Original 1 94 Cover Copyright Original Issue Contents Manual Revisions 1 1 1 9 2 1 2 18 3 1 3 18 4 1 4 12 5 3 5 14 6 1 6 28 A 1 A 13 Rev A 5 98 Entire Manual Downsized to spiral Manual Revisions Rev A Table of Contents Chapter 1 Getting Started DERE CUUIC TIO Nira s i save tutta aaa teste cota Meese ein ia ont cea ORA are a ae ada eon nog EAEN Sjina SEAE ja 1 2 DL405 Handheld Programmer 0 ccc cee teen t nent eben ne nees 1 2 MULQO Sec aiSihientall nseri onie a Wee a wnt aah wee annem d Ahn wen eae alii 1 2 Who shoule ead this Manel 2cascs exaceseneck he au ter ore oaia a DEA A O A 1 2 Supplemental WSIS eco Ft rae 8 oe Dae OR Oot E deere Usa tate Ba Da ee usa ea Bale 1 2 Technical Assistant En ct iaaa R E E teed al A A Lia Me od eke tetas OR Sinaia ae tet ad 1 2 Manual yO cere aa
84. eee eee eee eee 6 3 Forcing Discrete I O Points 0 cee cece eee eee eee eee e eee eens 6 4 Monitoring V Memory Locations 00 cece eee eee eee eee eee eee 6 6 Changing V Memory Values 2 00 cece cece e cece eee eee e eee eee eee eee eeeeeee 6 6 Monitoring Timer Counter Values 0 0 eect eee eee eee eee ee eee 6 6 Monitoring the CPU Scan Time 0 cc cece eee eee ee eee e eee e eee eee eens 6 7 Test Mod s neirinne lairar a r AA a a Meee eA ee ie a Seaweed R eee 6 8 TESEPGM and TESFRUN cniri ctcenaiss data Ah EE a a deine ach diya pra yd A G AE GE a 6 8 Test M de Displ ySni tay adh ete elt tare A E E A A E AE E AEA 6 9 Holding Output State Ses eree pri aeaa a oa ga aaea Deuba ded a a Gad 6 10 VO DiaGnosSules ierni r ndi ee aa er erie E a E E E EE E 6 12 Dia MOSUC MOC AIORS sera cretina Pare I EAE E E aa E TOTE E T E Mate 8 6 12 USING WAIN cyan See a T a ee a eee eT A RN ee eee eN E aa e rere E n A E 6 13 Cust m MESSAGES 55555 aac SiS 2 aa e aa Bei 0a a eee Ses See oe he ee e aoa E eee eee 6 14 Enter the ACON instruction and the first two letters 0 00 c eee ees 6 17 Checking the Error Message Tables 0 0c cece eee e eee eee eee eee eens 6 18 IWO Type SON TA DIES mateaki neea E TEA we nal eaaey bie eae Me SoG Poems Mee ate E acai 6 18 Viewing the Error Table te 6 Bask ha bata eld wa Rg eM Ditka h Melted ald ed ate ahh td 6 19 Viewing the Message Table ous cid ravacwnd a
85. eieea trav aout eha ck g Net aE e a A 6 19 Erroi Codis oreesa KE shcew eae ne ete AAEE AE AE teen iane AEA 6 20 Table of Contents Appendix A DL405 Memory Map Memory Map Overview 6 iees seo ee eds cee ates ee epee de ee Sieg ane Slee Mee eae ee A 2 DL4ASO Memory Map a6 kane tk stn dite Bintan le A IS EA A E E castes Mani auntace RCR es A 2 DLA4O MEMOryiMa Pes price vie Ganda hac en Grn ren ian de tse atk focused detain Bleue A 3 X Inp t BIE Map n sisena 16 tee eee eee eek Eee Ree ee A 4 Y Qu tp t Bit Map ecis ae ates emer eee cosines seers cet Se eee ener eset soetames ee A 5 Remote lO Bit Map drana ne i e a a a a a T a cer ies T e a aa A 6 Control Relay Bit Map nnnnnnnssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn A 8 Stage Control Status Bit Map 22 c cece eee eee ener e eens A 10 Timer Status Bit Map iis 22s 2 eea eee beta eee ee eae beeen eee ee eee A 12 Counter Status Bit Map siivicosveniaeciec ani eews tank tees eae eew eta ae tee eeeateeweb gus A 13 Getting Started In This Chapter Introduction How can use the Handheld Physical Characteristics and Specifications Keypad Layout Introduction DL405 Handheld Programmer Purpose of this manual Who should read this manual Supplemental Manuals Technical Assistance The DL405 Handheld Programmer is a general purpose programming tool for use with the DL405 family of automation o products
86. ement The following example shows the instructions addresses and corresponding Handheld displays for a small program Ladder Representation XO X2 X5 X7 YO H our x1 X3 X4 1 1 Delete X7 X6 4 GD Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO Delete 6 AND X5 Starts branch 4 with X5 7 AND X7 Adds X7 in series with X5 11 END Ends the program FIND the Address AND X IN 7 FIND Delete the Instruction SHFT DEL ENT SEARCHING X 0007 7 DELETE INST X 0007 X 0006 Changing Programs Using Search and Replace Search and Replace allows you to quickly change all occurrences of a specific instruction For example you can replace every instance of X5 with X10 Ladder Representation X0 X2 X5 Yo our X1 Replace Use AUX 22 Change Reference AUX 2 2 ENT ENT AUX 22 CHANGE REFERENCE X N 5 ENT e AUX 22 CHANGE REFERENCE TO X IN 1 0 ENT AUX 22 CHANGE REFERENCE X0005 gt x0010 ENT e REFERENCE CHANGE OK OLD SHFT EXIT Clears display New Mnemonic Listing ADDRESS INSTRUCTION DESCRIPTION 0 STR XO Starts branch
87. epresentation Xo X2 X5 X7 YO HH out X1 X3 X4 1 14 Delete X7 X6 Z eD Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO Delete 6 AND X5 Starts branch 4 with X5 7 AND X7 Adds X7 in series with X5 11 END Ends the program FIND the Address AND X IN 7 FIND SEARCHING Delete the Instruction SHFT DEL WANT TO DELETE Press CLR to abort the edit or ENT to accept ENT 7 If you press ENT the change is accepted ORN and the next address is displayed If you pressed CLR the current address is displayed X 0006 Naming and Storing Programs In This Chapter Program Names and Passwords Storing Programs on Memory Cartridges Storing Programs on Cassette Tapes pore Naming and Storing Programs Program Names and Passwords Program Names Password Protection The DL405 products can use program names for memory cartridges or cassette tapes Program names are especially useful with cassette tapes since they can store multiple programs The program name can be up to eight characters in length and can use any of the available characters A Z 0 9 AUX 51 allows you to enter a program name Use AUX 51 to name the CPU program AUX 5 1 ENT ENT AUX 51 MODIFY PGM NAME
88. ge to the CPU If a memory cartridge is not present in the CPU you can just remove the memory cartridge from the Handheld and place it in the CPU You can copy different types of information from the memory cartridge 1 PGM Program 00000 07679 00000 03583 7 5K program memory 00000 015871 15 5K program memory 2 V V memory 00000 37777 00000 07777 3 SYS System memory Non selectable copies all system parameters Use AUX 72 to copy the program to the CPU AUX 7 2 ENT ENT e e AUX 72 MC TO CPU 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example ee AUX 72 MC TO CPU lst 00000 Select the starting address or press ENT to start at 00000 ENT AUX 72 MC TO CPU END 07679 Select the ending address or press ENT to copy the entire range ENT AUX 72 MC TO CPU 00000 07679 Confirm the selection ENT This may take a minute or so AUX 72 MC TO CPU CMOSRAM 08K Ox OK Clear the display by pressing CLR g Naming and Storing Programs ad Comparing CPU and Handheld Programs AUX 73 CMP MC TO CPU compares the Handheld memory cartridge program with the CPU program You can compare different types of information 1 PGM Program 00000 07679 00000 03583 7 5K program memory 00000 015871 15 5K program memory
89. hen an error occurs the errors already on the table are pushed down and the most recent error is loaded into the top slot If the table is full when an error occurs the oldest error is pushed out erased from the table e Message Table the system logs up to 16 messages in this table When a message is triggered the messages already stored in the table are pushed down and the most recent message is loaded into the top slot If the table is full when an error occurs the oldest message is pushed out erased of the table The following diagram shows an example of an error table for messages 1993 05 26 08 41 51 11 Conveyor 2 stopped 1993 04 30 17 01 11 56 Conveyor 1 stopped 1993 04 30 17 01 11 12 Limit SW1 failed 1993 04 28 03 25 14 31 Saw Jam Detect g e System Monitoring and Troubleshooting 6 19 Viewing the Error You can use AUX Function 5C to show the error codes je Tabie Use AUX 5C to view the tables AUX 5 SHFT C ENT fa AUX 5C SHOW ERR MSG ERR OR MSG D je Q Press ENT to select Error Messages 2 ENT E151 BAD COMMAND The most recent error is displayed You can 04 22 93 17 30 00 also use PREV and NXT to sequentially step through the errors Viewing the You use the same AUX function 5C to show the messages Message Table Use AUX 5C to view the tables AUX 5 SHFT C ENT AUX 5C SHOW ERR MSG ERR OR M
90. individual memory type to change Instead you must cycle through the retentive range for each memory type If you do not want to change the starting or ending address for one of the memory types just press ENT to leave the entry as is If you make a mistake you can press SHFT DEL to return the memory type currently displayed to the default settings Use AUX 57 to set the ranges AUX 5 7 ENT ENT AUX 57 SET RET RANGES lst C0600 One of two types of displays will appear Display with existing range AUX 57 SET RET RANGES lst C Display without an existing range Enter the first retentive CR address 6 3 0O ENT AUX 57 SET RET RANGES Except for V Memory all ranges must be END C0737 entered in 8 bit increments Enter the last retentive CR address 6 5 0 ENT a 57 SET RET RANGES v02000 Enter the first retentive V Memory address 3 5 0 0 ENT 57 SET RET RANGES V07777 12 System Setup Setting the Clock and Calendar The DL440 CPU has a clock and calendar feature If you are using this you can use the Handheld and AUX 52 to set the time and date The following format is used e Date Year Month Date Day of week 0 6 Sunday thru Saturday e Time 24 hour format Hours Minutes Seconds You can use the AUX function to change any component
91. ixed number of scans which can be very helpful in isolating machine problems FAVE oan Loose terminal block RUN W O LED indicator CPU E E Son 5 re IT 7 i 7 D Oooo yoo OOS ICS c cei ll ooodoloiaics ll Q olaaa SS oojaa SS P Loose terminal block AUX 42 1 O BASE O SLOT3 E201 TERMINAL BLOCK OFF As a Low Cost If you re using a DL440 PLC there are instructions that allow you to embed Message Display messages in the RLL program These messages can easily be displayed on the Handheld and can be used to provide operator instructions error messages and even corrective actions Program Initiates Message Handheld Displays Message 7 fault Message FAULT O KI END ia m m a a a a a a E olaola aleea Data Label and ACON ao instructions build the message DLBL Y KT a RUN 28 TEST 2 characters per ACON YO PGM YOUR MESSAGE HERE when using with the Handheld
92. leshooting Suggestions Monitoring Discrete I O Points Forcing Discrete O Points Monitoring V Memory Locations Changing V Memory Values Monitoring Timer Counter Values Monitoring the CPU Scan Time Test Modes O Diagnostics Custom Messages Checking the Error Message Tables Error Codes e 6 2 System Monitoring and Troubleshooting Troubleshooting Suggestions The Handheld is very useful in troubleshooting your machine As with most 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 e Monitor Discrete I O Points to examine I O power flow for individual I O points e Force Discrete I O Points to examine machine sequences or inconsistencies e Monitor V Memory Locations to examine word locations to determine if correct values are being used e Change V Memory Values to force word locations with different values e Monitor Timer Counter Values to adjust machine timing elements e Monitor CPU scan time in milliseconds view the maximum minimum and current scan times to adjust scan related problems e Use Test Modes to run a fixed number of scans and examine output status e Use I O Diagnostics to pinpoint I O errors e Understand Error Codes to utilize many automatic error checks D Cc E fe fe lt 1 O G J gt O
93. logic execution YO and Y1 were turn off turned off al NOTE If you use a CR as an input you will not have the one scan problem System Monitoring and Troubleshooting 9 9 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 Select the data type and range to monitor Y OUT 0 BITST C Bunooys jqnor pue 16P MON Select the point and ON or OFF Y OUT 0 SHFT OFF E 16P MON E YO is now off Or from a clear display Y OUT 0 SHFT ON Note that you cannot see the I O status YO with this method e e 6 0 System Monitoring and Troubleshooting Monitoring V Memory Locations You can also use the Handheld to monitor and change V memory locations This is an especially useful feature since almost all DL405 system data is mapped into V memory The following steps show you how to monitor V memory locations Select the location to monitor V 2 5 o 0 WDST D fe fe x wn re a e
94. n was requested with a Memory Cartridge which contains program Program only data only E626 An attempt to transfer data from a tape to a UVPROM Memory Cartridge PROM MC This transfer must be made using a CMOS RAM Cartridge E627 An attempt to write to a write protected or faulty Memory Cartridge was made Bad Write Check the write protect jumper inside the cartridge then replace if necessary E640 A compare between the Memory cartridge and the source data was found to Compare error be in error Erase the Memory Cartridge and retry the operation replace the Memory Cartridge if necessary E641 The volume level of the cassette player is not set properly Adjust the volume Volume Level and retry the operation E642 An error was detected while data was being transferred to the handheld Checksum Error programmer s Memory Cartridge Check cabling and retry the operation E650 A system error has occurred in the handheld programmer Power cycle the HPP System Error handheld programmer If the error returns replace the handheld programmer E651 A ROM error has occurred in the handheld programmer Power cycle the HPP ROM Error handheld programmer If the error returns replace the handheld programmer w 3 a fa oy D e2 gt fe 5 Co System Monitoring and Troubleshooting E652 A RAM error has occurred in the handheld programmer Power cycle the HPP RAM Error handheld programmer If the error return
95. nstruction is not followed by a END BLK instruction Missing END BLK Instruction DL440 only E501 An invalid keystroke or series of keystrokes was entered into the handheld Bad Entry programmer E502 An invalid or out of range address was entered into the handheld Bad Address programmer E503 An invalid instruction was entered into the handheld programmer Bad Command E504 An invalid value or reference number was entered with an instruction Bad Ref VAL E505 An invalid instruction was entered into the handheld programmer Invalid Instruction E506 An invalid operation was attempted by the handheld programmer Invalid Operation E520 An operation which is invalid in the RUN mode was attempted by the Bad Op RUN handheld programmer E521 An operation which is invalid in the TEST RUN mode was attempted by the Bad OP TRUN handheld programmer E523 An operation which is invalid in the TEST PROGRAM mode was attempted Bad OP TPGM by the handheld programmer E524 An operation which is invalid in the PROGRAM mode was attempted by the Bad OP PGM handheld programmer E525 An operation was attempted by the handheld programmer while the CPU Keyswitch keyswitch was in a position other than the TERM position E526 The handheld programmer is in the OFFLINE mode To change to the Off Line ONLINE mode use AUX64 E540 The CPU has been password locked To unlock the CPU use AUX82 with the CPU Locked password DL440 only E541 The password us
96. o Cc System Monitoring and Troubleshooting 9 3 Monitoring Discrete I O Points sed J Q You can monitor up to 16 discrete points at one time The points can be from the Q following data types 2 e X inputs 3 e Y output fe Q e GX remote I O points e C control relays e Stage bits e Timer Counter bits e Special relays If you examine the Handheld Programmer display you will notice several numbers printed at the bottom These numbers help you identify the point that you need 0 aman aaan oam mn a aa cy a a OyCIe oOloldqaaia e I coo icolco cajeaje J O RUN TEST PGM LELIT AIT I7 654321076543210 Bit Positions Use the following keystrokes to monitor discrete points To select a different data type use the corresponding Instruction Reference key instead of the one shown Select the data type and range to monitor X IN 0 BITST 16 points Black indicates ON E Blank indicates OFF Use the PREV and NXT keys to scroll through additional points NXT X 20 xX 10 16P MON HEGRE E 11
97. ode will be stored in V7757 E043 The Memory Cartridge battery is low and should be replaced SP43 will be on Memory Cartridge and the error code will be stored in V7757 Battery low DL440 only E099 If the compiled program length exceeds the amount of available CPU RAM Program Memory this error will occur SP52 will be on and the error code will be stored in Exceeded V7755 Reduce the size of the application program E101 The CPU Memory Cartridge has failed or is missing SP44 will be on and the CPU MC Missing error code will be stored in V7755 Install or replace the Memory Cartridge DL440 only E104 A write to the CPU Memory Cartridge was not successful The Memory Write Failed Cartridge may be write protected Disassemble and check the jumper If the DL440 only error still occurs replace the Memory Cartridge E151 A parity error has occurred in the application program SP44 will be on and the error code will be stored in V7755 This problem may possibly be due to electrical noise Clear the memory and re download the program Correct any grounding problems If the error returns replace the Memory Cartridge or CPU Terminal Block Missing E155 A checksum error has occurred in the system RAM SP44 will be on and the RAM Failure error code will be stored in V7755 This problem may possibly be due to a low battery electrical noise or a CPU RAM failure Clear the memory and re download the program Correct any gr
98. of the date or time However the CPU will not automatically correct any discrepancy between the date and the day of the week For example if you change the date to the 15th of the month and the 15th is on a Thursday you will also have to change the day of the week unless the CPU already shows the date as Thursday Use AUX 52 to set the time and date AUX 5 2 ENT ENT Z AUX 52 CHG CLOCK CAL YMD 94 01 01 6 SAT Enter the new date 9 4 o 1 0 2 0 AUX 52 CHG CLOCK CAL ENT YMD 94 01 02 0 SUN You can also use the arrow keys to move the cursor over the exact part you need to change Or if you don t need to change the date you can just press ENTER without changing any numbers to leave the date as is and change the time Press Enter to accept the new date and display the time ENT _ AUX 52 CHG CLOCK CAL TIME 22 08 17 Enter the new time 2 3 0 8 1 7 ENT pm AUX 52 CHG CLOCK CAL TIME 23 08 17 You can also use the arrow keys to move the cursor over the exact part you need to change Or if you don t need to change the time you can just press ENTER without changing any numbers to leave the time as is Press Enter to accept the changes and display the new date and time ENT 94 01 02 23 08 17 System Setup ents I O Configura
99. oned the tape at the beginning or just before the location of the program you want to read Set the tape recorder TONE control to the midway position and turn the volume off You will adjust the volume later Use AUX 77 to read a program from the cassette AUX 7 7 ENT ENT ee AUX 77 TAPE TO MC TAPE NAME Enter the name press ENT if a name was not used SHFT S T A T O AUX 77 TAPE TO MC N SHFT 1 ENE 1 PGM 2 V 3 SYS Select a memory type 1 ENT PGM for example Ho AUX 77 TAPE TO lst 00000 Select the starting address press ENT to start at 00000 ENT AUX 77 TAPE TO 00000 START Confirm the selection ENT AUX 77 TAPE TO 00000 BUSY Start the cassette recorder Increase the volume until the asterisk PLAY appears If the volume is too high the asterisk will disappear Adjust the volume in the middle of this range You have 10 x seconds to complete this operation PGM FOUND Stop the cassette recorder Transfer is complete STOP Naming and Storing Programs Rat Comparing Use AUX 79 to compare a cassette program to a program stored in the CPU Before Cassette and CPU you begin the procedure make sure you have positioned the tape at the beginning or Programs just before the location of the program you wantto read Set the tape recorder TONE
100. ons used to clear a memory cartridge installed in the Handheld Programmer AUX 74 MC BLANK CHECK allows you to check the cartridge to make sure it is blank AUX 75 CLEAR MC allows you to clear all data from a memory cartridge This is true for the RAM and EEPROM memory cartridges The UVPROM cartridges must be erased with a UV light source Use AUX 74 to see if a memory cartridge is blank AUX 7 4 ENT ENT AUX 74 MC BLANK CHECK MC BLANK CHECK ENT will result in one of two displays E621 MC NOT BLANK OR MC IS BLANK Use AUX 75 to clear a memory cartridge AUX 7 5 ENT ENT f AUX 75 CLEAR MC CLEAR MC ENT may temporarily flash BUSY c MC CLEARED NOTE If you copy data to a memory cartridge which has existing data stored on it the new data could overwrite portions of the existing data and leave other portions as they previously existed resulting in a unreliable copy of your data It is always recommended to clear non blank memory cartridges prior to copying data to ensure you get a clean copy of your new data Naming and Storing Programs pont Copying Programs AUX 71 CPU TO MC copies information from a CPU to a memory cartridge from the CPU installed in the Handheld If amemory cartridge is not present in the Handheld you can just remove the memory cartridge from the CPU and place it in the Han
101. ounding problems If the error returns replace the CPU Eo An I O module has failed Run AUX42 to determine the actual error I O Module Failure E201 A terminal block is loose or missing from an I O module SP45 will be on and the error code will be stored in V7756 System Monitoring and Troubleshooting O 21 E202 Missing I O Module An I O module has failed to communicate with the CPU or is missing from the base SP45 will be on and the error code will be stored in V7756 Run AUX42 to determine the slot and base location of the module reporting the error User 24V Power Supply Failure E203 A fuse has blown in an I O module SP45 will be on and the error code will be Blown Fuse stored in V775 6Run AUX42 to determine the slot and base location of the module reporting the error E206 The 24VDC power supply being used to power output modules has failed SP45 will be on and the error code will be stored in V7756 Run AUX42 to determine the slot and base location of the module reporting the error E250 Communication Failure In The I O Chain A failure has occurred in the local I O system The problem could be in the base expansion cable or I O Expansion Unit power supply Check all cabling between bases and replace faulty hardware if necessary SP45 will be on and the error code will be stored in V7755 Run AUX42 to determine the base location reporting the error Configured I O Address Out
102. r the port and the port communication parameters The default settings are e Station address 1 e Hex mode e Odd parity The DirectNET manual provides additional information about communication settings required for network operation NOTE You will only need to use this procedure if you have the bottom port connected to a network operator interface or personal computer Use AUX 56 to set the network address and communication parameters Use AUX 56 AUX 5 6 ENT ENT AUX 56 CPU N W ADDRESS N W 01 Enter the new station address 0 3 ENT lt _ AUX 56 CPU N W ADDRESS HEX ASCII Use the arrow keys to toggle between the settings ENT ec fe AUX 56 CPU N W ADDRESS NONE ODD ENT e AUX 56 CPU N W ADDRESS OK System Setup J ent Setting Retentive The DL405 CPUs provide certain ranges of retentive memory by default The default Memory Ranges ranges are suitable for many applications but you can change them if your application requires additional retentive ranges or no retentive ranges at all The default settings are e Control Relays C600 C737 e V Memory V2000 V7377 e Timers None by default you can make them retentive though e Counters CTO CT177 e Stages None by default you can make them retentive though Use AUX 57 to change the retentive ranges You cannot select an
103. r to perform a certain task You can purchase an operator interface or you can use the Handheld Programmer which you already have as alow cost message display The Handheld Programmer is not a high performance display due to the amount of time it may take to display the message If you need a fast display time you should probably consider another type of message display The following diagram shows how the message display capability works D fe fe pom wn G a ke Guard is Open PLC Reads X0 Limit Switch XO detects open guard Program Initiates Message X3 Set Message Appears ran XO on Handheld FAOT Ki _ CHKGUARD Fault message CD DLBL Data Label and ACON RKT instructions build the message 1 J 2 characters at a time J j J J ACON ACH J j LJ i Acon AKG ACON System Monitoring and Troubleshooting 9 19 If you have a DL440 CPU you can easily build and display up to 64 custom messages The messages can be upto 23 char
104. rr t ttt tt7654321076543210 ACON R e Physical Characteristics and Specifications Handheld Layout The Handheld was designed to be much more than a simple program entry tool and provides features not found on many handheld programmers The 2x24 character backlit LCD display provides clear easy to read characters and can be adjusted for brightness You can also turn off the backlighting A memory cartridge slot is located on the side of the unit You can use any of the DL405 memory cartridges to e copy CPU memory to a CMOS RAM UVPROM or EEPROM cartridge e compare the contents of CPU memory to data contained on a memory cartridge e copy data from the memory cartridge to the CPU If you prefer you can use common cassette tapes for program storage There s a cassette interface port located on the bottom of the unit LCD Contrast 57 2x24 Character Display Adjustment 145 mm if O a Memory Cartridge Ooi maan n co cays 4 65 co 4 co Cay Coy coj ea e4 118mm Co J ooa fs 1 oloqe Keypad a 30 mm Cassette Interface Port on bottom Connection You can mount the Handheld directly to the CPU or you can
105. rrect the problem and continue running the Duplicate Reference check until the NO DUP REFS message appears NOTE You can use the same coil in more than one location However the last occurrence of the element will take priority Consider the following example XO X5 YO B E Cm v4 Outputs are ON x1 YO YO is turned off UT even though previous conditions are still true Last occurrence has control m O D Changing Programs In This Chapter Two Ways to Edit a Program Displaying a Program Finding a Specific Instruction Changing an Instruction Inserting an Instruction Deleting an Instruction Using Search and Replace Editing Programs During Run Mode 4 ane Changing Programs Two Ways to Edit a Program Program Mode Run Mode Edits You should select Program Mode for the majority of program changes In this mode the CPU does not execute the application program so you do not have to worry about how the program changes can affect the machine operation Obviously you can use Program Mode with either the DL430 or DL440 CPUs The majority of this chapter shows you how to change various aspects of the program during Program Mode With the DL440 CPU you also have the capability to edit the program during Run Mode This is especially helpful if you only have to make minor adjustments such as adding or changing a single input contact or output coil There is a separ
106. 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
107. s replace the handheld programmer E653 The battery in the CMOS RAM cartridge is low and should be replaced MC Battery Low D fe x wn a G J pa H ke DL405 Memory Map In This Appendix Memory Map Overview X Input Bit Map Y Output Bit Map Remote I O Bit Map Control Relay Bit Map Stage Control Status Bit Map Timer Status Bit Map Counter Status Bit Map A Lae DL405 Memory Map Memory Map Overview a o gt fe D Te J m DL430 Memory Map Input Points XO X477 V40400 V40423 320 X0 Output Points YO Y477 V40500 V40523 320 YO Control Relays CO C737 V40600 V40635 512 Co Co Special Relays SPO SP137 V41200 V41205 288 SPO SP320 SP617 V41215 V41230 Timers TO T177 128 TMR TO K100 Timer Current see status bits Vo0000 V00177 128 vo K100 Values gt Timer Status Bits TO T177 V41100 V41107 128 TO Counters CTO CT177 128 __ICNT CTO K10 Counter see status bits V01000 V01177 256 v1000 K100 Current Values gt Counter Status CTO CT177 V41040 V41147 128 CTO Bits Data Words None V1400 V7377 3072 None specific used with many instructions Stages SO S577 V41000 V41027 384 SG so S 001 Remote In Out GX0 GX737 V40000 V40037 512 GX0 GX0 WoA
108. select the various AUX functions but a few things are different with AUX 14 e Once you select AUX 14 the RUN LED starts blinking This indicates the a Run Mode edit is in progress e If you had displayed an address just before selecting AUX 14 that address will automatically appear So you can search for an address or instruction before you select AUX 14 or after you select AUX 14 Select AUX 14 Run Time Edit AUX 1 4 ENT AUX 1 OPERATING MODE AUX 14 RUN TIME EDIT Press ENT to select AUX 14 and display the address ENT ai Changing Programs Changing an Once you ve found the instruction you can change it very easily The following Instruction During example shows you how to change the X5 contact to X10 Run Mode Ladder Representation XO X2 X5 YO Eo x1 X3 X4 oa 1 1 Change X5 X6 GD Identify the Instruction ADDRESS INSTRUCTION DESCRIPTION 0 STR X0 Starts branch 1 with XO 1 OR X1 Joins X1 in parallel with XO 6 AND X5 Starts branch 4 with X5 10 END Ends the program FIND the Address AND X IN 5 FIND SEARCHING Change the Instruction AND X IN 10 ENT WANT TO ALTER Press CLR to abort the edit or ENT to accept ENT _ 7 If you press ENT the change is accepted ORN X 0006 and the next address is displayed If you pressed CLR
109. series SP52 will be on and the error code will be stored DL440 only in V7755 E431 An ISG or SG must not be programmed after the end statement such as in a Invalid ISG SG subroutine SP52 will be on and the error code will be stored in V7755 Address E432 A LBL that corresponds to a GOTO instruction must not be programmed after Invalid Jump GOTO the end statement such as in a subroutine SP52 will be on and the error Address code will be stored in V7755 DL440 only E433 A SBR must be programmed after the end statement not in the main body of Invalid SBR Address the program or in an interrupt routine SP52 will be on and the error code will DL440 only be stored in V7755 E434 A RTC must be programmed after the end statement not in the main body of Invalid RTC Address the program or in an interrupt routine SP52 will be on and the error code will DL440 only be stored in V7755 E440 A RT must be programmed after the end statement not in the main body of Invalid RT Address the program or in an interrupt routine SP52 will be on and the error code will DL440 only be stored in V7755 E436 An INT must be programmed after the end statement not in the main body of Invalid INT Address the program SP52 will be on and the error code will be stored in V7755 E437 An IRTC must be programmed after the end statement not in the main body Invalid IRTC Address of the program SP52 will be on and the error code will be stored in
110. ssi Sacer a Sabre cats ila swt nn saree E ja Stay E ue we jane ey a aps wn a at E ews pale a pee 2 2 What are Auxil ry FUNCIONS 2h25toncee wid vecan i oawea eid eake a ieee Rad eee UANG 2 2 ICE OSSING TNE AUX FUNCIONS 3 vite odi smd wateciiiae awed dine a tate ciate acute adh Ald ated E avieuedy 2 3 Select A xillary FUNCOM a lt 4 6650 cracahs okan seh a eden DA a E E AD aM dnya OC st omens 2 3 Handheld Setup sit eee s 2 chabert cee ee late seas Beebe fate eae ee cea 2 4 Clearing the DIS play aa ante aoe ant acer ak ikos eden eRe fos eens a ues anes 2 4 Using the CSO ces ahi sau ets ceed ocd mee neh a Rats hc tte a Rel ocd T e ae hc E E EEA 2 4 TEM CUO Ie Beeper tan aso cuusene reidi eei odea sata Meu da anei ocketa ea ea a idee bei 2 5 Turning Othe BACKION lt 4 iiclan ee Rah iad hank ene eat Eee idea Ral bie ee ee 2 5 CPU SQUID aria oa eae teen Oi areca a ete er aed nea e a earn 2 6 A Few THINGS to KNOW arenae ra eira Sede PR Aan a Mod a Pa ded Seed Cintas 2 6 Changing the CPU 910 gt ogee er eee mee ae eet ere ee re ne biai ene we er ee er ee ee rae ee se 2 6 Clearing an Existing Progra ot 0 a kde SARs dee eee heh deka x ek i heh ees x etna Sad 2 8 Initializing System Memory essde de whale te iaco ly arenan 2 9 Setting the CPU Network Address ois seah seas eg avudune bioieed eLauuseee hiveewseeekad 2 10 Setting Retentive Memory Ranges gsuck o4 weed dee gswaade seebadeutaaeda ge iaeksace te 2 11 Setting the Clock and Calendar 24 2022 avi
111. tion AUX 11 12 and 13 are used to change the CPU operating mode The CPU must be in PGM mode before you can enter a program There are two ways to change to PGM mode 1 Place the CPU keyswitch in the STOP position 2 Place the CPU keyswitch in the TERM position and use the Handheld to change operating modes AUX 13 System Setup ia Here s an example that shows the keystrokes needed to change the CPU to Program mode Keyswitch in BUN TERM mode TERM for HPP control STOP ol Y N x5 cco MINH nei i oc oc oc oS Ute A 2 TUU0D Ti 0 oO ii co AUX FUNCTION SELECTION AUX 1 OPERATING MODE Use the AUX menu AUX FUNCTION SELECTION 1 OPERATING MODE Enter 13 to select AUX 13 1 3 1 OPERATING MODE 13 GO TO PGM MODE Press ENT to change to PGM mode ENT PGM MODE Press ENT to confirm the change ENT MODE PGM ae System Setup Clearing an Existing Program Before you enter a new program you should always clear ladder memory You can use AUX Function 24 to clear the complete program Use AUX 24 AUX 2 4
112. tion Automatic The DL405 CPUs automatically examine any installed I O modules including Configuration specialty modules and establish the correct I O configuration and addressing on power up For most applications you never have to change or adjust the configuration The I O addresses are assigned using octal numbering starting at XO and YO The addresses are assigned in groups of 8 16 or 32 depending on the number of points for the I O module The discrete input and output modules can be mixed in any order but there may be restrictions placed on some specialty modules See the DL405 User Manual for details The following diagram shows the I O numbering scheme for an example system 0 lt O to 8 j P Slot 0 Slot 1 Slot 2 Slot 3 8pt Input 32pt Output 16pt Input 8pt Input X0 X7 Y0 Y37 X10 X27 X30 X37 Automatically compensates for I O types 4 2 14 System Setup Automatic I O Configuration Check The DL405 CPUs can also be set to automatically check the I O configuration on power up By selecting this feature you can quickly detect any changes that may have occurred while the power was disconnected For example if someone placed an output module in a slot that previously held an input module the configuration check would detect the change and a message would appear on the Handheld Use AUX 44 to enable the configura
113. tion This ag A chapter also shows you how to store programs on memory cartridges and cassette tapes i Appendices A System Monitoring and provides an overview of the various features used to monitor and Troubleshooting troubleshoot the system Additional examples and reference information are in the following appendix DL405 Memory Map provides a detailed listing of the DL405 memory map for I O timers counters etc How can I use the Handheld As a Programming The DL405 Handheld Programmer is Tool ideally suited for entering or changing small programs with instruction mnemonics You can enter programs up to the limits of the CPU you are using but larger programs are much easier to design and enter with DirectSOFT Programming Software In addition to entering programs the Handheld is ideal for making on site program or system changes You can Q t 0 0 NO U WW Ww Lt 0 0
114. tion check Use AUX 44 AUX 4 4 fo AUX 44 POWERUP CFG CHK YES NO Use the arrow key to select the option PWRUP CHK ON If the system detects a change in the I O configuration at power up an error code E252 NEW I O CONFIGURATION will be generated You can use AUX 42 to determine the exact base and slot location where the change occurred Initial Error Display E252 NEW I O CFG Press CLR to clear the display CLR The display suggests that you use AUX E2 DIAG ERROR AUX 42 42 to determine the error location Use AUX 42 CLR AUX 4 2 ENT ENT AUX 42 I O BASEO SLOT1 E252 I O CONFIG ERROR WARNING You should always correct any I O configuration errors before you place the CPU into RUN mode Uncorrected errors can cause unpredictable machine operation that can result in a risk of personal injury or damage to equipment System Setup ets Even though an error was generated you may actually want the new 1I O configuration to be used For example you may have intentionally changed the module to use with a new program You can use AUX 45 to select the new configuration or keep the existing configuration stored in memory Use AUX 45 AUX 4 5 eo AUX 45 SELECT CFG NEW MEM Use the arrow key to select the option CFG NEW
115. use a cable The cable Options part number D4 HPCBL 1 is approximately 9 feet 3m in length and provides much more flexibility A cassette interface cable part number D4 CASCBL is required to connect a cassette recorder Cable Mount HPP Port Retaining Screws Specifications The following table provides specifications for the DL405 Handheld Programmer Environmental Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 14 to 149 F 10 to 65 C Humidity ion cere ee e e 20 to 90 non condensing Environmental Air No corrosive gases MIDFALON oti ce culos Mad ali hie Mee A MIL STD 810C 514 2 Shock Resistance 04 MIL STD 810C 516 2 Noise Immunity 5 NEMA ICS3 304 POWE 65 cietheesncioner cans cheeses obtained through PLC port 200 mA without backlight LCD 320 mA with backlight LCD Dimensions 0 00000 5 7 Lx 4 6 Hx 1 2 D 145mm W x 118mm H x 30mm D Weight S20 0834 cuit eee sew hs wed eee oy 13 4 oz 380 g CPUs Supported Programming Operations DL430 DL440 Read Write or erase programs Simatic T1425 T1435 Insert or delete an instruction Texas Instruments T1425 Search and replace instructions T1435 Locate a specific address Read write or clear Memory Cartridges Read or write to cassette tapes Cables Machine Monitoring Operations D4 CASC
116. utine The Invalid CALL BLK CALL BLK instruction may only be used in the main program area before the address END statement DL440 only E487 The CALL BLK instruction is not followed by a ST BLK instruction Missing ST BLK Instruction DL440 only E488 The ST BLK instruction is used in a subroutine or a program interrupt Invalid ST BLK Another ST BLK instruction is used between the CALL BLK and the END BLK Address instructions DL440 only E489 The control relay used for the ST BLK instruction is being used as an output Duplicated CR elsewhere Reference DL440 only E490 The ST BLK instruction is not immediately followed by the SG instruction Missing SG instruction DL440 only E491 There is an ISG instruction between the ST BLK and END BLK instructions Invalid ISG Instruction Address DL440 only o a 4 fe Z a D o gt fe a 5 a e e 6 26 System Monitoring and Troubleshooting D fe fe x 1 x G pa a ke E492 The END BLK instruction is used in a subroutine or a program interrupt Invalid END BLK routine The END BLK instruction is not followed by a ST BLK instruction Address DL440 only E493 A CV SG ISG ST BLK END instruction must immediately follow the END Missing Required BLK instruction Instruction DL440 only E494 The ST BLK i
Download Pdf Manuals
Related Search
Related Contents
Modelação do Fluxo de Informação no Processo de Construção Asrock B75M-DGS R2.0 Ditec EL20 GUÍADEL USUARIO USER GUIDE Handbuch CD/DVD Multi-target Instruction Manual (Rough Draft) Electrolux MCH 662 User's Manual BD CSampler™ Software User Guide LA BICICLETA HOY Actualmente, el único medio viable de Programmatore TBCTMWP Copyright © All rights reserved.
Failed to retrieve file