The text of a manual · part 10 of 11
DL305 Handheld Programmer, pages 91 to 100
Pages 91 to 100 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 91
6--11
System Monitoring and Troubleshooting
WARNING: As shown in the example, forcing stages may cause unpredictable machine operation that can result in a risk of personal injury or equipment damage. To turn a stage on CLR
SET
SG
SHF
5
005 ADDRESS/DATA
ENT
ON/OFF
RUN BATT PWR CPU
0 STR 1 AND 2 OR 3 NOT
4 ISG 5 JMP 6 SET 7 RST
0 SG 1 OUT 2 TMR 3 CNT
4 ADR 5 SHF 6 DATA 7 REG
0
4
0
4
1
5
1
5
2
6
2
6
3
7
3
7
0 STR 1 AND 2 OR 3 NOT
4 ISG 5 JMP 6 SET 7 RST
0 SG 1 OUT 2 TMR 3 CNT
4 ADR 5 SHF 6 DATA 7 REG
Monitor the stage to verify the force (optional) CLR
SG
SHF
5
MON s000 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
To turn a stage off CLR ENT
RST
SG
SHF
5
005 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
System Monitoring and Troubleshooting
Obviously, there are times when it’s perfectly OK to force a program stage on or off. The following example shows the keystrokes required to force an stage.
Page 92
System Monitoring and Troubleshooting
6--12
System Monitoring and Troubleshooting
Error Codes The following table lists the error codes that may appear on the Handheld. DL305 Error Code
Description
E01 Invalid Keystrokes
Invalid keystroke or series of keystrokes entered into the handheld programmer. Refer to the DL305 Handheld Programmer manual for assistance in the operation you are trying to perform.
E02 Input Point Programmed as Output
An I/O point dedicated to an input module has been used as an output in the application program. Change the I/O reference number in the program which is causing the error.
E03 Stack Overflow
The maximum number of instructions utilizing the internal stack has exceeded eight. These instructions can be a combination of AND STRs, OR STRs and MCS/MCR groups. Reduce the number of these instructions which are pushed onto the stack at one time.
E05 (NON Stage) Duplicate Coil Reference
Two or more output coils have the same data type and number. Change the duplicate coil to correct the error. Duplicate coil references are valid with the SET instruction.
E05 (Stage) Duplicate Stage Reference
Two or more Stages have the same reference number. Change the duplicate Stage number to correct the error.
E06 MCR/MCS Mismatch
The number of MCR instructions do not match the number of MCS instructions. Each MCR must have an accompanying MCS.
E07 Missing CNT or SR Contact
A required input contact is missing from a CNT (example, RESET input) or a SR instruction. Refer to the DL305 User Manual for details on these instructions.
E08 Invalid Data Values
The required data values for a TMR, CNT or SR are missing or incorrect. Refer to the DL305 User Manual for details on these instructions.
E09 Incomplete Program Rung
The rung does not terminate with an output as required. Program an output to terminate the rung properly.
E11 Program Full
There is no available program addresses in memory. Reduce the size of the program.
Page 93
System Monitoring and Troubleshooting
6--13
Description
E21 Program Memory Parity Error
A parity error has occurred in the program memory of the CPU. Clear the memory and reload the program. If the error reoccurs replace the CPU. Electrical noise will cause this problem.
E22 Password Error
The password stored in the CPU is invalid. Press the “CLR” key twice on the handheld programmer and the password will be reset to 0000. Re-enter the password if required.
E25 Tape/Program Mismatch
A mismatch was found when a compare was performed on the program in CPU memory and the program stored on tape.
E28 Volume Incorrect On Tape Device.
The volume is incorrect on the tape player being used to load the program to the CPU. Adjust the volume and retry the operation. Refer to the DL305 Handheld Programmer manual for details on tape operation.
E31 RAM Limit Exceeded
The application program required more RAM for execution than is available. Reduce the length of the program.
E99 A search was performed and the specified instruction was not found in the Instruction Not Found application program.
System Monitoring and Troubleshooting
DL305 Error Code
Page 94
DL305 Memory Map
In This Chapter. . . ., DL330 Memory Map, DL330P Memory Map, DL340 Memory Map, I/O Point Bit Map, Control Relay Bit Map, Special Relays, Timer / Counter Registers and Contacts, Data Registers, Stage Control / Status Bit Map, Shift Register Bit Map, Special Registers
1A
Page 95
Appendix A DL305 Memory Map
A--2
DL305 Memory Map
DL330 Memory Map Memory Type
Discrete Memory Reference (octal)
Register Memory Reference (octal)
Qty. Decimal
Symbol
Input / Output Points
000 -- 157 700 -- 767
R000 -- R015 R070 -- R076
168 Total
Control Relays
160 -- 373
R016 -- R037
140
C0
C0
Special Relays
374 -- 377 770 -- 777
R037 R077
12
772
376
Timers / Counters
600 -- 673 674 -- 677*
None
64
Timer / Counter Current Values
None
R600 -- R673 R674 -- R677*
64
Timer / Counter Status Bits
T600 -- T673 T674 -- T677*
None
64
Data Words
None
R400 -- R563
116
Shift Registers
400 -- 577
None
128
Special Registers
None
R574 -- R577
4
010
000
TMR T600 K100
R600
CNT C600 K10
K100
T600
None specific, used with many instructions SR 400 417
R574 -- R575 used with FAULT R576 -- R577 Auxiliary Accumulator
* T/ C Setpoint Unit Only. Can be used as data registers if the Timer/Counter Setpoint Unit or Thumbwheel Interface Module is not used. R564 -- R573 contain the preset value used with the Timer / Counter Setpoint Unit. R674 -- R677 contain the current values for these timers or counters.
Page 96
A--3
DL305 Memory Map
Appendix A DL305 Memory Map
DL330P Memory Map Memory Type
Discrete Memory Reference (octal)
Register Memory Reference (octal)
Qty. Decimal
Input / Output Points
000 -- 157 700 -- 767
R000 -- R015 R070 -- R076
168 Total
Control Relays
160 -- 174 200 -- 277
R016 -- R017 R020 -- R027
77
C0
C0
Special Relays
175 -- 177 770 -- 777
R017 R077
11
772
176
Timers / Counters
600 -- 673 674 -- 677*
None
64
Timer / Counter Current Values
None
R600 -- R673 R674 -- R677*
64
Timer / Counter Status Bits
T600 -- T673 T674 -- T677*
None
64
Data Words
None
R400 -- R563
116
Stages
S0 -- S177
R100 -- R117
128
Special Registers
None
R574 -- R577
4
Symbol
010
000
TMR T600 K100
R600
CNT C600 K10
K100
T600
None specific, used with many instructions SG
S1 S 001
R574 -- R575 used with FAULT R576 -- R577 Auxiliary Accumulator
* T/ C Setpoint Unit Only. Can be used as data registers if the Timer/Counter Setpoint Unit or Thumbwheel Interface Module is not used, which provides a total of 128 data registers. R564 -- R573 contain the preset value used with the Timer / Counter Setpoint Unit. R674 -- R677 contain the current values for these timers or counters.
Page 97
Appendix A DL305 Memory Map
A--4
DL305 Memory Map
DL340 Memory Map Memory Type
Discrete Memory Reference (octal)
Register Memory Reference (octal)
Qty. Decimal
Symbol
Input / Output Points
000 -- 157 700 -- 767
R000 -- R015 R070 -- R076
168 Total
Control Relays
160 -- 373 1000 -- 1067
R016 -- R037 R100 -- R106
180
C0
C0
Special Relays
374 -- 377 770 -- 777 1070 -- 1077
R037 R077 R107
20
772
376
Timers / Counters
600 -- 673 674 -- 677*
None
64
Timer / Counter Current Values
None
R600 -- R673 R674 -- R677*
64
Timer / Counter Status Bits
T600 -- T673 T674 -- T677*
None
64
Data Words
None
R400 -- R563 R700 -- R767
172
Shift Registers
400 -- 577
None
128
Special Registers
None
R574 -- R577 R770 -- R777
12
010
000
TMR T600 K100
R600
CNT C600 K10
K100
T600
None specific, used with many instructions SR 400 417
R574--R575 used with FAULT R576--R577 Auxiliary Accumulator R770--R777 Communications Setup
* T/ C Setpoint Unit Only. Can be used as data registers if the Timer/Counter Setpoint Unit or Thumbwheel Interface Module is not used. R564 -- R573 contain the preset value used with the Timer / Counter Setpoint Unit. R674 -- R677 contain the current values for these timers or counters.
Page 98
DL305 Memory Map
A--5
These tables provide a listing of the individual Input points associated with each register location for the DL330, DL330P, and DL340 CPUs. MSB 007 017 027 037 047 057 067 077 107 117 127 137 147 157 167 177 707 717 727 737 747 757 767
I/O References 006 016 026 036 046 056 066 076 106 116 126 136 146 156 166 176 706 716 726 736 746 756 766
005 015 025 035 045 055 065 075 105 115 125 135 145 155 165 175 705 715 725 735 745 755 765
004 014 024 034 044 054 064 074 104 114 124 134 144 154 164 174 704 714 724 734 744 754 764
003 013 023 033 043 053 063 073 103 113 123 133 143 153 163 173 703 713 723 733 743 753 763
LSB 002 012 022 032 042 052 062 072 102 112 122 132 142 152 162 172 702 712 722 732 742 752 762
001 011 021 031 041 051 061 071 101 111 121 131 141 151 161 171 701 711 721 731 741 751 761
000 010 020 030 040 050 060 070 100 110 120 130 140 150 160 170 700 710 720 730 740 750 760
Register Number R0 R1 R2 R3 R4 R5 R6 R7 R10 R11 R12 R13 R14 R15 n/a n/a R70 R71 R72 R73 R74 R75 R76
NOTE: 160 -- 167 can be used as I/O in a DL330 or DL330P CPU under certain conditions. 160 -- 177 can be used as I/O in a DL340 CPU under certain conditions. You should consult the DL305 User Manual to determine which configurations allow the use of these points. These points are normally used as control relays. You cannot use them as both control relays and as I/O points. Also, if you use these points as I/O, you cannot access these I/O points as a Data Register reference.
Appendix A DL305 Memory Map
I/O Point Bit Map
Page 99
Appendix A DL305 Memory Map
A--6
DL305 Memory Map
Control Relay Bit Map The following tables provide a listing of the individual control relays associated with each register location for the DL305 CPUs. NOTE: 160 -- 167 can be used as I/O in a DL330 or DL330P CPU under certain conditions. 160 -- 177 can be used as I/O in a DL340 CPU under certain conditions. You should consult the DL305 User Manual to determine which configurations allow the use of these points. You cannot use them as both control relays and as I/O points. Also, if you use these points as I/O, you cannot access these I/O points as a Data Register reference. MSB 167 177 207 217 227 237 247 257 267 277 307 317 327 337 347 357 367
166 176 206 216 226 236 246 256 266 276 306 316 326 336 346 356 366
DL330 Control Relay References 165 164 163 162 175 174 173 172 205 204 203 202 215 214 213 212 225 224 223 222 235 234 233 232 245 244 243 242 255 254 253 252 265 264 263 262 275 274 273 272 305 304 303 302 315 314 313 312 325 324 323 322 335 334 333 332 345 344 343 342 355 354 353 352 365 364 363 362 373 372
LSB 161 171 201 211 221 231 241 251 261 271 301 311 321 331 341 351 361 371
160 170 200 210 220 230 240 250 260 270 300 310 320 330 340 350 360 370
Register Number R16 R17 R20 R21 R22 R23 R24 R25 R26 R27 R30 R31 R32 R33 R34 R35 R36 R37
* Control relays 340 -- 373 can be made retentive by setting a CPU dipswitch. See the DL305 User Manual for details on setting CPU dipswitches.
Page 100
DL305 Memory Map
167
166
207 217 227 237 247 257 267 277*
206 216 226 236 246 256 266 276
DL330P Control Relay References 165 164 163 162 174 173 172 205 204 203 202 215 214 213 212 225 224 223 222 235 234 233 232 245 244 243 242 255 254 253 252 265 264 263 262 275 274 273 272
LSB 161 171 201 211 221 231 241 251 261 271
160 170 200* 210 220 230 240 250 260 270
Register Number R16 R17 R20 R21 R22 R23 R24 R25 R26 R27
* Control relays 200 -- 277 can be made retentive by setting a CPU dipswitch. See the DL305 User Manual for details on setting CPU dipswitches.
MSB 167 177 207 217 227 237 247 257 267 277 307 317 327 337 347 357 367
166 176 206 216 226 236 246 256 266 276 306 316 326 336 346 356 366
1007 1017 1027 1037 1047 1057 1067
1006 1016 1026 1036 1046 1056 1066
DL340 Control Relay References 165 164 163 162 175 174 173 172 205 204 203 202 215 214 213 212 225 224 223 222 235 234 233 232 245 244 243 242 255 254 253 252 265 264 263 262 275 274 273 272 305 304 303 302 315 314 313 312 325 324 323 322 335 334 333 332 345 344 343 342 355 354 353 352 365 364 363 362 373* 372 1005 1004 1003 1002 1015 1014 1013 1012 1025 1024 1023 1022 1035 1034 1033 1032 1045 1044 1043 1042 1055 1054 1053 1052 1065 1064 1063 1062
LSB 161 171 201 211 221 231 241 251 261 271 301 311 321 331 341 351 361 371 1001 1011 1021 1031 1041 1051 1061
160 170 200 210 220 230 240 250 260 270 300 310 320 330 340* 350 360 370 1000 1010 1020 1030 1040 1050 1060
Register Number R16 R17 R20 R21 R22 R23 R24 R25 R26 R27 R30 R31 R32 R33 R34 R35 R36 R37 R100 R101 R102 R103 R104 R105 R106
* Control relays 340 -- 373 can be made retentive by setting a CPU dipswitch. See the DL305 User Manual for details on setting CPU dipswitches.
Appendix A DL305 Memory Map
MSB
A--7