The text of a manual ยท part 11 of 11
DL305 Handheld Programmer, pages 101 to 107
Pages 101 to 107 of 107
The original document is the PDF (2.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Koyo D3-HP
Page 101
Appendix A DL305 Memory Map
A--8
DL305 Memory Map
Special Relays The following table shows the Special Relays used with the DL305 CPUs. CPUs
DL330P
DL330 DL340
DL330 DL330P DL340
DL340
Special Relay
Description of Contents
175
100 ms clock, on for 50 ms and off for 50 ms.
176
Disables all outputs except for those entered with the SET OUT instruction.
177
Battery voltage is low.
374
On for the first scan cycle after the CPU is switched to Run Mode.
375
100 ms clock, on for 50 ms and off for 50 ms.
376
Disables all outputs except for those entered with the SET OUT instruction.
377
Battery voltage is low.
770
Changes timers to 0.01 second intervals. Timers are normally 0.1 second time intervals.
771
The external diagnostics FAULT instruction (F20) is in use.
772
The data in the accumulator is greater than the comparison value.
773
The data in the accumulator is equal to the comparison value.
774
The data in the accumulator is less than the comparison value.
775
An accumulator carry or borrow condition has occurred.
776
The accumulator value is zero.
777
The accumulator has an overflow condition.
1074
The RX or WX instruction is active.
1075
An error occurred during communications with the RX or WX instructions.
1076
Port 2 communications mode: on = ASCII mode, off = HEX mode
1077
Port 1 communications mode: on = ASCII mode, off = HEX mode
Page 102
A--9
DL305 Memory Map
The following table shows the locations used for programming timer or counters. Since timers and counters share the same data area, you cannot have timers and counters with duplicate numbers. For example, if you have Timer 600, you cannot have a Counter 600. Each register contains the current value for the timer or counter. Each timer or counter also has a timer or counter contact with the same reference number. NOTE: Counter current values are retentive and retain their state after a power cycle.
607 617 627 637 647 657 667 677*
606 616 626 636 646 656 666 676*
Timer/Counter References/Registers 605 604 603 602 615 614 613 612 625 624 623 622 635 634 633 632 645 644 643 642 655 654 653 652 665 664 663 662 675* 674* 673 672
601 611 621 631 641 651 661 671
600 610 620 630 640 650 660 670
* Used with Timer / Counter Setpoint Unit and /or Thumbwheel Interface Module. External Timer/Counter Setpoint Unit
Registers 674--677 are used in programming for use with the Timer/Counter Setpoint Unit and the Thumbwheel Interface Module that are available in some compatible product families. The registers contain the current time or count. There is also a status bit for each register with the same reference number. For example, the current value for Timer 674 is stored in R674 and the status contact is T674. The presets for these modules are stored in R564 -- R573 as follows. S R564 -- R565, 1st T/C preset S R566 -- R567, 2nd T/C preset S R570 -- R571, 3rd T/C preset S R572 -- R573, 4th T/C preset The example shows how a 4-digit number would be represented in these registers.
R565 0 0 0 1 00 1 1 1
3
R564 0 1 0 0 0 1 0 1 4
5
Appendix A DL305 Memory Map
Timer / Counter Registers and Contacts
Page 103
Appendix A DL305 Memory Map
A--10
DL305 Memory Map
Data Registers The following 8-bit data registers are primarily used with data instructions to store various types of application data. For example, you could use a register to hold a timer or counter preset value. Some data instructions call for two bytes, which will correspond to two consecutive 8-bit data registers such as R401 and R400. The LSB (Least Significant Bit) will be in register R400 as bit0 and the MSB (Most Significant Bit) will be in register R401 as bit17. NOTE: Data Registers are retentive.
407 417 427 437 447 457 467 477 507 517 527 537 547 557
406 416 426 436 446 456 466 476 506 516 526 536 546 556
405 415 425 435 445 455 465 475 505 515 525 535 545 555
DL330 / DL330P 8-Bit Data Registers 404 403 414 413 424 423 434 433 444 443 454 453 464 463 474 473 504 503 514 513 524 523 534 533 544 543 554 553 563
402 412 422 432 442 452 462 472 502 512 522 532 542 552 562
401 411 421 431 441 451 461 471 501 511 521 531 541 551 561
400 410 420 430 440 450 460 470 500 510 520 530 540 550 560
Page 104
DL305 Memory Map
406 416 426 436 446 456 466 476 506 516 526 536 546 556
405 415 425 435 445 455 465 475 505 515 525 535 545 555
707 717 727 737 747 757 767
706 716 726 736 746 756 766
705 715 725 735 745 755 765
402 412 422 432 442 452 462 472 502 512 522 532 542 552 562 702 712 722 732 742 752 762
401 411 421 431 441 451 461 471 501 511 521 531 541 551 561 701 711 721 731 741 751 761
400 410 420 430 440 450 460 470 500 510 520 530 540 550 560 700 710 720 730 740 750 760
Appendix A DL305 Memory Map
407 417 427 437 447 457 467 477 507 517 527 537 547 557
DL340 8-Bit Data Registers 404 403 414 413 424 423 434 433 444 443 454 453 464 463 474 473 504 503 514 513 524 523 534 533 544 543 554 553 563 704 703 714 713 724 723 734 733 744 743 754 753 764 763
A--11
Page 105
Appendix A DL305 Memory Map
A--12
DL305 Memory Map
Stage Control / Status Bit Map This table provides a listing of the individual stages and stage control bits. These are only available with the DL330P CPU. MSB 007 017 027 037 047 057 067 077 107 117 127 137 147 157 167 177
Stage References 006 016 026 036 046 056 066 076 106 116 126 136 146 156 166 176
005 015 025 035 045 055 065 075 105 115 125 135 145 155 165 175
004 014 024 034 044 054 064 074 104 114 124 134 144 154 164 174
003 013 023 033 043 053 063 073 103 113 123 133 143 153 163 173
LSB 002 012 022 032 042 052 062 072 102 112 122 132 142 152 162 172
001 011 021 031 041 051 061 071 101 111 121 131 141 151 161 171
000 010 020 030 040 050 060 070 100 110 120 130 140 150 160 170
Register Number R100 R101 R102 R103 R104 R105 R106 R107 R110 R111 R112 R113 R114 R115 R116 R117
Page 106
DL305 Memory Map
A--13
The shift register bits listed below are used in the shift register instruction. These outputs are discrete bits and are not the same locations as the 8 Bit Data Registers. These bits are retentive meaning they retain their state after a power cycle. NOTE: The DL330P does not have Shift Register bits. Shift Register instructions in the DL330P use Control Relays memory references. MSB 407 417 427 437 447 457 467 477 507 517 527 537 547 557 567 577
406 416 426 436 446 456 466 476 506 516 526 536 546 556 566 576
DL330 / DL340 Shift Register References 405 404 403 402 415 414 413 412 425 424 423 422 435 434 433 432 445 444 443 442 455 454 453 452 465 464 463 462 475 474 473 472 505 504 503 502 515 514 513 512 525 524 523 522 535 534 533 532 545 544 543 542 555 554 553 552 565 564 563 562 575 574 573 572
LSB 401 411 421 431 441 451 461 471 501 511 521 531 541 551 561 571
400 410 420 430 440 450 460 470 500 510 520 530 540 550 560 570
Register Number R40 R41 R42 R43 R44 R45 R46 R47 R50 R51 R52 R53 R54 R55 R56 R57
With the DL340 CPU, these bits can also be used as control relays if they are not used with a Shift Register instruction.
Appendix A DL305 Memory Map
Shift Register Bit Map
Page 107
Appendix A DL305 Memory Map
A--14
DL305 Memory Map
Special Registers This table provides a listing of the special registers used with the DL305 CPUs. CPUs
Special Register
DL330
R574 -- 575 Contains the error code used with the FAULT instruction.
DL330P DL340
R576 -- 577 Auxiliary accumulator used with the MUL and DIV instructions.
DL340 Only
Description of Contents
R771
Sets the upper byte of the station address assigned to the bottom communication port. Therefore, this will contain the 1st and 2nd digits of the address.
R772
Sets the lower byte of the station address assigned to the bottom communication port. This only contains one digit, which is the 3rd digit of the address.
R773
Sets the baud rate for the bottom communication port.
R774
Sets the leading communications delay time for the bottom communication port.
R775
Sets the trailing communications delay time for the bottom communication port.
R776
Sets the leading communications delay time for the top communication port.
R777
Sets the trailing communications delay time for the top communication port.