The text of a manual · part 40 of 41
DL305 User Manual, pages 340 to 351
Pages 340 to 351 of 357: Appendix B: DL305 Error Codes; Appendix C: Instruction Execution Times
The original document is the PDF (3.4 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 PLC Direct D3-08TD1, PLC Direct D3-16NA, Koyo D3-08TD1 and Koyo D3-16NA
Page 340
DL305 Error Codes
In This Appendix. . . ., Error Code Table
1B
Page 341
Appendix B DL305 Error Codes
Appendix A DL305 Error Codes
B--2
DL305 Error Codes
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 An I/O point dedicated to an input module has been used as an output in the Input Point Programmed application program. Change the I/O reference number in the program which is as Output 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 will be generated at the address of the second duplicated output.
E05 (Stage) Duplicate Stage Reference
Two or more Stages have the same reference number. Change the duplicate Stage number to correct the error. E05 will be generated at the address of the second duplicated stage number.
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.
E08 Invalid Data Values
The required data values for a TMR, CNT or SR are missing or incorrect. Refer to the DL305 Programming Manual Set 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.
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. Severe 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 A mismatch was found when a compare was performed on the program in CPU Tape/Program Mismatch 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.
E377 EEPROM Write Error
Write of EEPROM failed because EEPROM is write protected (remove write protect jumper), the EEPROM is bad (replace EEPROM), or UVPROM is installed instead of EEPROM (install EEPROM).
E99 Instruction Not Found
A search was performed and the specified instruction was not found in the application program.
DL305 User Manual, Rev. D
Page 342
Instruction Execution Times In This Appendix. . . ., Introduction, DL330 Instruction Execution Times, DL330P Instruction Execution Times, DL340 Instruction Execution Times
1C
Page 343
Instruction Execution Times
Introduction This appendix contains several tables that provide the instruction execution times for the DL330, DL330P, and DL340 CPUs. One thing you will notice is that many of the execution times depend on the type of data being used with the instruction. For example, some of the instructions have different execution times if you use a regular data register instead of a constant. You’ll also notice that some of the data instructions (such as DSTR) require differing amounts of execution time depending on the type of data. There are generally three options. S Data Registers S I/O Data Registers S Constants The following paragraphs may help you understand the differences between the register types. Data Registers
Appendix D Inst. Execution Times
Appendix C Inst. Execution Times
Appendix B DL405 Error Codes
Appendix A DL405 Error Codes
C--2
Some data registers are primarily used to hold variable data and are considered true data registers. For example, the registers that store the timer or counter current values, or just regular variable data would be considered as a data register. Don’t think that you cannot load a bit pattern into these types of registers, you can. It’s just that their primary use is as a data register. The following locations are considered as data registers. Type of Data
I/O Data Registers
DL330
DL330P
DL340
Timer / Counter Current Values
R600 -- R677
R600 -- R677
R600 -- R677
User Data Words
R400 -- R563
R400 -- R563
R400 -- R563 R700 -- R767
You may recall that the I/O points are automatically mapped into data register locations. The following locations that contain this data are considered I/O registers and will take longer to execute with most instructions. Type of Data I/O Points
DL330 R000 -- R016* R070 -- R 076
DL330P R000 -- R016* R070 -- R076
DL340 R000 -- R017* R070 -- R076
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 Chapter 4 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.
DL305 User Manual, Rev. D
Page 344
Instruction Execution Times
Some of the instructions can have more than one parameter so the table shows execution times that depend on the amount and type of parameters. For example, the when you use the SET instruction to set a range of stages in a DL330P CPU, the execution time depends on how many stages are being set by the instruction.
X0
X1
Two Locations Available
S10 -- S17 SET
Appendix A DL405 Error Codes
How to Read the Tables
C--3
C0
Stage Instruction
Stage Instruction not activated by a Jump instruction (ex. power flow)
SET SG
26.3 + 13.1μs x (n--1)
18.8 μs
Does not apply
RST SG
26.3 + 13.1μs x (n--1)
18.8 μs
Does not apply
Appendix C Inst. Execution Times
Execution depends on numbers of locations and types of data used
Appendix B DL405 Error Codes
Instruction
Appendix D Inst. Execution Times
DL305 User Manual, Rev. D
Page 345
Instruction Execution Times
DL330 Instruction Execution Times Basic Input Instructions
Appendix D Inst. Execution Times
Appendix C Inst. Execution Times
Appendix B DL405 Error Codes
Appendix A DL405 Error Codes
C--4
Output Type Instructions
Instruction
Execute
Disabled by MCR
STR
6.6 μs
N/A
STR NOT
9.1 μs
N/A
AND
5.3 μs
N/A
AND NOT
8.4 μs
N/A
OR
6.6 μs
N/A
OR NOT
9.1 μs
N/A
STR T/C
10.3 μs
N/A
STR NOT T/C
12.8 μs
N/A
AND T/C
5.3 μs
N/A
AND NOT T/C
8.4 μs
N/A
OR T/C
6.6 μs
N/A
OR NOT T/C
9.1 μs
N/A
STR (Comparative Contact)
50.9 μs
N/A
STR NOT (Comparative Contact)
61.5 μs
N/A
AND (Comparative Contact)
59.1 μs
6.2 μs
AND NOT (Comparative Contact)
60.3 μs
6.2 μs
OR (Comparative Contact)
60.3 μs
6.2 μs
OR NOT (Comparative Contact)
62.5 μs
6.2 μs
AND STR
3.8 μs
N/A
OR STR
3.8 μs
N/A
MCR
5.0 μs
N/A
MCS
3.0 μs
N/A
Instruction
Execute
Not Executed
OUT
7.5 μs
7.5 μs
SET OUT
10.0 μs
10.0 μs
SET
17.5 μs
17.5 μs
RST
9.3 μs
9.3 μs
SET OUT RST
19.3 μs
19.3 μs
DL305 User Manual, Rev. D
Page 346
Instruction Execution Times
Execute w/ Constant
Instruction
Execute w/ Data Register
Execute w/ I/O Register
Not Executed
TMR
90.9 μs
458.8 μs
700.0 μs
27.1 μs
CNT
92.9 μs
465.6 μs
706.8 μs
27.1 μs
SR
64.1 μs+16.6 μs times ( # of shifts)
Data Operations
Execute w/ Data Register
Instruction
53.1 μs
Execute w/ I/O Register
Execute w/ Constant
Appendix A DL405 Error Codes
Timer, Counters, and Shift Registers
C--5
Not Executed
321.9 μs
14.3 μs
6.3 μs
DSTR1
F51
63.8 μs
140.9 μs
N/A
6.3 μs
DSTR2
F52
95.0 μs
172.2 μs
N/A
6.3 μs
DSTR3
F53
96.6 μs
173.8 μs
N/A
6.3 μs
DSTR5
F55
N/A
326.2 μs
N/A
6.3 μs
DOUT
F60
52.6 μs
329.4 μs
N/A
6.3 μs
DOUT1
F61
39.1 μs
160.1 μs
N/A
6.3 μs
DOUT2
F62
39.8 μs
116.0 μs
N/A
6.3 μs
DOUT3
F63
55.0 μs
108.1 μs
N/A
6.3 μs
DOUT5
F65
N/A
358.3 μs
N/A
6.3 μs
CMP<=>
F70
112.8 μs
354.0 μs
57.0 μs
6.3 μs
ADD
F71
456.8 μs
698.0 μs
262.0 μs
6.3 μs
SUB
F72
315.8 μs
557.0 μs
275.0 μs
6.3 μs
MUL
F73
290--2664 μs
497--2851 μs
223--2576 μs
6.3 μs
DIV
F74
742--2645 μs
1218--2851μs
720--2557 μs
6.3 μs
DAND
F75
103.7 μs
345.0 μs
55.6 μs
6.3 μs
DOR
F76
103.7 μs
345.0 μs
55.6 μs
6.3 μs
SHFR
F80
216 μs+13.4 μs times ( # of shifts)
6.3 μs
SHFL
F81
220 μs+13.4 μs times ( # of shifts)
6.3 μs
DECO
F82
56.3 μs
N/A
N/A
6.3 μs
ENCO
F83
282.0 μs
N/A
N/A
6.3 μs
INV
F84
30.0 μs
N/A
N/A
6.3 μs
BIN
F85
412.2 μs
N/A
N/A
6.3 μs
BCD
F86
746.0 μs
N/A
N/A
6.3 μs
FAULT
F20
114.0 μs
355.3 μs
72.2 μs
6.3 μs
DL305 User Manual, Rev. D
Appendix D Inst. Execution Times
80.7 μs
Appendix C Inst. Execution Times
F50
Appendix B DL405 Error Codes
DSTR
Page 347
Instruction Execution Times
DL330P Instruction Execution Times Basic Input Instructions
Appendix C Inst. Execution Times Appendix D Inst. Execution Times
I/O, Control Relay
Instruction
Executed *
Appendix B DL405 Error Codes
Appendix A DL405 Error Codes
C--6
**
Timer, Counters, and Shift Registers
Not Executed *
Not Executed
Executed
**
*
Timer / Counter
**
*
Not Executed
Executed
**
*
**
*
STR
28.4 / 31.4μs
21.3 μs
25.6 / 30.9μs
22.2 μs
121.3/117.8μs
28.4 μs
STR NOT
28.4 / 31.4μs
21.3 μs
25.6 / 30.9μs
22.2 μs
121.3/117.8μs
28.4 μs
AND
13.4 / 20.0μs
13.4 / 20.0μs
13.4 / 20.0μs
13.4 / 20.0μs
123.1/119.6μs
20.3 μs
AND NOT
18.1 / 21.6μs
10.3 μs
18.1 / 21.6μs
10.3 μs
123.1/119.6μs
20.3 μs
OR
21.8 / 25.3μs
14.7 μs
21.8 / 25.3μs
14.7 μs
123.1/119.6μs
20.3 μs
OR NOT
20.6 / 24.1μs
14.7 μs
20.6 / 24.1μs
14.7 μs
123.1/119.6μs
20.3 μs
*
Execution time when data type is ON. For example, STR 000 takes 28.4 μs if point 000 is on.
**
Execution time when data type is OFF. For example, STR 000 takes 31.4 μs if point 000 is off. Instruction
Output Type Instructions
Stage
Executed
Not Executed
AND STR
25.9 μs
22.8 μs
OR STR
25.9 μs
22.8 μs
Instruction
Execute
Not Executed
OUT
20.6 μs
20.6 μs
SET OUT
24.3 μs
16.6 μs
SET
24.3 μs
16.6 μs
RST
24.3 μs
16.6 μs
SET OUT RST
33.8 μs
29.4 μs
Instruction
Execute
Not Executed
TMR
92.8 μs
50.9 μs
CNT
97.5 μs
46.3 μs
RST CNT
25.9 μs
16.6 μs
SR
75.9 +11.5μs x (# of shifts)
41.9 μs
DL305 User Manual, Rev. D
**
Page 348
Instruction Execution Times
Stage Instruction not activated by a Jump instruction (ex. power flow)
Stage Instruction
Instruction
Executed
Not Executed
Executed
Not Executed
35.3 μs
20.0 μs
50.9 μs
30.6 μs
SG
35.3 μs
20.0 μs
50.9 μs
30.6 μs
JMP
28.4 μs
16.6 μs
Does not apply
NJMP
40.3 μs
28.4 μs
Does not apply
SET SG
26.3 + 13.1μs x (n--1)
18.8 μs
Does not apply
RST SG
26.3 + 13.1μs x (n--1)
18.8 μs
Does not apply
Data Operation Instructions
Execute w/ Data Register
Instruction
Execute w/ I/O Register
Execute w/ Constant
Not Executed
80.7 μs
321.9 μs
14.3 μs
6.3 μs
DSTR1
F51
63.8 μs
140.9 μs
N/A
6.3 μs
DSTR2
F52
95.0 μs
172.2 μs
N/A
6.3 μs
DSTR3
F53
96.6 μs
173.8 μs
N/A
6.3 μs
DSTR5
F55
N/A
326.2 μs
N/A
6.3 μs
DOUT
F60
52.6 μs
329.4 μs
N/A
6.3 μs
DOUT1
F61
39.1 μs
160.1 μs
N/A
6.3 μs
DOUT2
F62
39.8 μs
116.0 μs
N/A
6.3 μs
DOUT3
F63
55.0 μs
108.1 μs
N/A
6.3 μs
DOUT5
F65
N/A
358.3 μs
N/A
6.3 μs
CMP<=>
F70
112.8 μs
354.0 μs
57.0 μs
6.3 μs
ADD
F71
456.8 μs
698.0 μs
262.0 μs
6.3 μs
SUB
F72
315.8 μs
557.0 μs
275.0 μs
6.3 μs
MUL
F73
290--2664 μs
497--2851 μs
223--2576 μs
6.3 μs
DIV
F74
742--2645 μs
1218--2851μs
720--2557 μs
6.3 μs
DAND
F75
103.7 μs
345.0 μs
55.6 μs
6.3 μs
DOR
F76
103.7 μs
345.0 μs
55.6 μs
6.3 μs
SHFR
F80
216 μs+13.4 μs times ( # of shifts)
6.3 μs
SHFL
F81
220 μs+13.4 μs times ( # of shifts)
6.3 μs
DECO
F82
56.3 μs
N/A
N/A
6.3 μs
ENCO
F83
282.0 μs
N/A
N/A
6.3 μs
INV
F84
30.0 μs
N/A
N/A
6.3 μs
BIN
F85
412.2 μs
N/A
N/A
6.3 μs
BCD
F86
746.0 μs
N/A
N/A
6.3 μs
FAULT
F20
114.0 μs
355.3 μs
72.2 μs
6.3 μs
DL305 User Manual, Rev. D
Appendix D Inst. Execution Times
F50
Appendix C Inst. Execution Times
DSTR
Appendix B DL405 Error Codes
ISG
Appendix A DL405 Error Codes
Stage Instructions
C--7
Page 349
Instruction Execution Times
DL340 Instruction Execution Times Basic Input Instructions
Appendix D Inst. Execution Times
Appendix C Inst. Execution Times
Appendix B DL405 Error Codes
Appendix A DL405 Error Codes
C--8
Instruction
Disabled by MCR
STR
0.875 μs
N/A
STR NOT
1.750 μs
N/A
AND
0.625 μs
N/A
AND NOT
1.5 μs
N/A
OR
1.125 μs
N/A
OR NOT
1.75 μs
N/A
STR T/C
0.875 μs
N/A
STR NOT T/C
1.75 μs
N/A
AND T/C
0.625 μs
N/A
AND NOT T/C
1.5 μs
N/A
OR T/C
1.125 μs
N/A
OR NOT T/C
1.75 μs
N/A
AND STR
0.75 μs
N/A
OR STR
0.75 μs
N/A
MCR
0.75 μs
N/A
MCS
1.125 μs
N/A
Comparative Contacts
Output Type Instructions
Execute
Instructions
Execute w/ Data Register
Execute w/ I/O Register
Execute w/ Constant RAM
EE / UV
Not Executed
STR
56.8 μs
95.0 μs
15.6 μs
15.6 μs
N/ A
STR NOT
56.8 μs
96.5 μs
15.6 μs
15.6 μs
N/A
AND
56.8 μs
95.0 μs
15.0 μs
15.0 μs
1.4 μs
AND NOT
56.8 μs
96.5 μs
15.6 μs
15.6 μs
1.4 μs
OR
56.8 μs
94.0 μs
15.6 μs
15.6 μs
1.4 μs
OR NOT
56.8 μs
94.0 μs
16.2 μs
16.2 μs
1.4 μs
Instruction
Execute
Not Executed
OUT
1.188 μs
1.188 μs
SET OUT
1.563 μs
1.563 μs
SET
1.625 μs
1.4 μs
RST
1.625 μs
1.4 μs
SET OUT RST
7.5 μs
7.125 μs
DL305 User Manual, Rev. D
Page 350
Instruction Execution Times
Execute w/ Data Register
Instructions
Execute w/ I/O Register
Execute w/ Constant RAM
EE / UV
Not Executed
TMR
68.1 μs
113.8 μs
22.5 μs
22.5 μs
15.7 μs
CNT
67.3 μs
97.9 μs
22.5 μs
22.5 μs
25.6 μs
SR
21.8 μs+3.8 μs times ( # of shifts)
Data Operation Instructions
Execute w/ Data Register
Instruction
Execute w/ I/O Register
8.3 μs
Execute w/ Constant
Appendix A DL405 Error Codes
Timer, Counters, and Shift Registers
C--9
Not Executed
60.6 μs
10.6 μs
1.4 μs
DSTR1
F51
24.3 μs
39.4 μs
N/A
1.4 μs
DSTR2
F52
25.0 μs
40.6 μs
N/A
1.4 μs
DSTR3
F53
96.6 μs
39.4 μs
N/A
1.4 μs
DSTR5
F55
N/A
76.8 μs
N/A
1.4 μs
DOUT
F60
18.8 μs
53.8 μs
N/A
1.4 μs
DOUT1
F61
13.1 μs
33.1 μs
N/A
1.4 μs
DOUT2
F62
16.3 μs
23.1 μs
N/A
1.4 μs
DOUT3
F63
15.6 μs
23.1 μs
N/A
1.4 μs
DOUT5
F65
N/A
59.3 μs
N/A
1.4 μs
CMP<=>
F70
30.0 μs
61.8 μs
15.6 μs
1.4 μs
ADD
F71
77.5 μs
108.0 μs
63.0 μs
1.4 μs
SUB
F72
70.6 μs
101.8 μs
57.0 μs
1.4 μs
MUL
F73
71.8 -- 540.0 μs
102.5 -- 571.2 μs
58.7 -- 526.8 μs
1.4 μs
DIV
F74
73.7 -- 568.1 μs
104.3 -- 598.7 μs
58.7 -- 553.1 μs
1.4 μs
DAND
F75
29.3 μs
60.0 μs
15.6 μs
1.4 μs
DOR
F76
31.2 μs
62.5 μs
15.6 μs
1.4 μs
SHFR
F80
18.1 μs+2.5 μs times ( # of shifts)
SHFL
F81
18.1 μs+2.5 μs times ( # of shifts)
DECO
F82
ENCO
F83
INV BIN BCD FAULT
1.4 μs 1.4 μs
15.6 μs
N/A
N/A
1.4 μs
47.5 μs
N/A
N/A
1.4 μs
F84
6.8 μs
N/A
N/A
1.4 μs
F85
48.1 μs
N/A
N/A
1.4 μs
F86
88.7 -- 326.0 μs
N/A
N/A
1.4 μs
F20
28.8 μs
60.1 μs
15.0 μs
1.4 μs
DL305 User Manual, Rev. D
Appendix D Inst. Execution Times
29.4 μs
Appendix C Inst. Execution Times
F50
Appendix B DL405 Error Codes
DSTR