Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 35 of 36

DL305 User Manual, pages 337 to 346

Pages 337 to 346 of 356

The original document is the PDF (3.2 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 GE DL330 / D3-330, Fanuc DL330 / D3-330 and GE Fanuc DL330 / D3-330

Page 337

A–7 Quick Start Example

Apply power to the system and ensure the CPU PWR indicator is on. If the indicator is not on, disconnect the system power and check the wiring connections. If the wiring connections are correct, refer to Chapter 13 for additional assistance. WARNING: To minimize the risk of electrical shock, make sure the power source is disconnected before you check the power wiring.

The switch wired to the input module and status indicator (LED) on the face of the output module will be the two I/O points used in the simple rung of ladder logic you will enter. The following diagram shows the ladder logic representation of the the program which will be entered on the handheld programmer. output 010 input 000

Enter the key sequences on the handheld programmer as shown below. CLR

SHF

3

4

STR

SHF

0

ENT

OUT

SHF

1

0

8

ENT

DEL

NXT

(Clears the CPU memory) (Stores input 000) (Outputs an on or off state to address 010)

With the programmer’s key switch in the PRG position, open and close the field input switch and observe that only the 0 LED on the input module turns on and off. This indicates the input signal is being received. Now put the programmers key switch in the run position. The RUN LED on the programer’s display will turn on. Open and close the field input switch and observe the 0 LED on the face of the input module and the 0 LED on the face of the output module both turn on and off. This indicates the program is accurately reflecting the signals which it is receiving from the field device.

Appendix B DL405 Product Cross Ref.

Step 10: Enter the Example Program

Appendix A Quick Start Example

Step 9: Connect the Power Source

Page 338

This page is a scan with no text; see it in the PDF.

Page 339

DL305 Error Codes

In This Appendix. . . .

Ċ Error Code Table

1B

Page 340

B–2

Appendix B DL305 Error Codes

Appendix A DL305 Error Codes

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.

Page 341

Instruction Execution Times In This Appendix. . . .

Ċ Introduction Ċ DL330 Instruction Execution Times Ċ DL330P Instruction Execution Times Ċ DL340 Instruction Execution Times

1C

Page 342

C–2 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

Instruction Execution Times

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.

Page 343

C–3 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. Two Locations Available X0

X1

S10 – S17 SET

Appendix A DL405 Error Codes

How to Read the Tables

C0

Stage Instruction

Stage Instruction not activated by a Jump instruction (ex. power flow)

SET SG

26.3 + 13.1ms x (n–1)

18.8 ms

Does not apply

RST SG

26.3 + 13.1ms x (n–1)

18.8 ms

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

Page 344

C–4 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

Instruction Execution Times

Output Type Instructions

Instruction

Execute

Disabled by MCR

STR

6.6 ms

N/A

STR NOT

9.1 ms

N/A

AND

5.3 ms

N/A

AND NOT

8.4 ms

N/A

OR

6.6 ms

N/A

OR NOT

9.1 ms

N/A

STR T/C

10.3 ms

N/A

STR NOT T/C

12.8 ms

N/A

AND T/C

5.3 ms

N/A

AND NOT T/C

8.4 ms

N/A

OR T/C

6.6 ms

N/A

OR NOT T/C

9.1 ms

N/A

STR (Comparative Contact)

50.9 ms

N/A

STR NOT (Comparative Contact)

61.5 ms

N/A

AND (Comparative Contact)

59.1 ms

6.2 ms

AND NOT (Comparative Contact)

60.3 ms

6.2 ms

OR (Comparative Contact)

60.3 ms

6.2 ms

OR NOT (Comparative Contact)

62.5 ms

6.2 ms

AND STR

3.8 ms

N/A

OR STR

3.8 ms

N/A

MCR

5.0 ms

N/A

MCS

3.0 ms

N/A

Instruction

Execute

Not Executed

OUT

7.5 ms

7.5 ms

SET OUT

10.0 ms

10.0 ms

SET

17.5 ms

17.5 ms

RST

9.3 ms

9.3 ms

SET OUT RST

19.3 ms

19.3 ms

Page 345

C–5 Instruction Execution Times

Instruction

Execute w/ Constant

Execute w/ Data Register

Execute w/ I/O Register

Not Executed

TMR

90.9 ms

458.8 ms

700.0 ms

27.1 ms

CNT

92.9 ms

465.6 ms

706.8 ms

27.1 ms

SR

64.1 ms+16.6 ms times ( # of shifts)

Data Operations

Instruction

Execute w/ Data Register

Execute w/ I/O Register

53.1 ms

Execute w/ Constant

Appendix A DL405 Error Codes

Timer, Counters, and Shift Registers

Not Executed

321.9 ms

14.3 ms

6.3 ms

DSTR1

F51

63.8 ms

140.9 ms

N/A

6.3 ms

DSTR2

F52

95.0 ms

172.2 ms

N/A

6.3 ms

DSTR3

F53

96.6 ms

173.8 ms

N/A

6.3 ms

DSTR5

F55

N/A

326.2 ms

N/A

6.3 ms

DOUT

F60

52.6 ms

329.4 ms

N/A

6.3 ms

DOUT1

F61

39.1 ms

160.1 ms

N/A

6.3 ms

DOUT2

F62

39.8 ms

116.0 ms

N/A

6.3 ms

DOUT3

F63

55.0 ms

108.1 ms

N/A

6.3 ms

DOUT5

F65

N/A

358.3 ms

N/A

6.3 ms

CMP<=>

F70

112.8 ms

354.0 ms

57.0 ms

6.3 ms

ADD

F71

456.8 ms

698.0 ms

262.0 ms

6.3 ms

SUB

F72

315.8 ms

557.0 ms

275.0 ms

6.3 ms

MUL

F73

290–2664 ms

497–2851 ms

223–2576 ms

6.3 ms

DIV

F74

742–2645 ms

1218–2851ms

720–2557 ms

6.3 ms

DAND

F75

103.7 ms

345.0 ms

55.6 ms

6.3 ms

DOR

F76

103.7 ms

345.0 ms

55.6 ms

6.3 ms

SHFR

F80

216 ms+13.4 ms times ( # of shifts)

6.3 ms

SHFL

F81

220 ms+13.4 ms times ( # of shifts)

6.3 ms

DECO

F82

56.3 ms

N/A

N/A

6.3 ms

ENCO

F83

282.0 ms

N/A

N/A

6.3 ms

INV

F84

30.0 ms

N/A

N/A

6.3 ms

BIN

F85

412.2 ms

N/A

N/A

6.3 ms

BCD

F86

746.0 ms

N/A

N/A

6.3 ms

FAULT

F20

114.0 ms

355.3 ms

72.2 ms

6.3 ms

Appendix D Inst. Execution Times

80.7 ms

Appendix C Inst. Execution Times

F50

Appendix B DL405 Error Codes

DSTR

Page 346

C–6 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

Instruction Execution Times

**

Timer, Counters, and Shift Registers

Not Executed *

Not Executed

Executed

**

*

Timer / Counter

**

*

Executed

**

*

Not Executed

**

*

STR

28.4 / 31.4ms

21.3 ms

25.6 / 30.9ms

22.2 ms

121.3/117.8ms

28.4 ms

STR NOT

28.4 / 31.4ms

21.3 ms

25.6 / 30.9ms

22.2 ms

121.3/117.8ms

28.4 ms

AND

13.4 / 20.0ms

13.4 / 20.0ms

13.4 / 20.0ms

13.4 / 20.0ms

123.1/119.6ms

20.3 ms

AND NOT

18.1 / 21.6ms

10.3 ms

18.1 / 21.6ms

10.3 ms

123.1/119.6ms

20.3 ms

OR

21.8 / 25.3ms

14.7 ms

21.8 / 25.3ms

14.7 ms

123.1/119.6ms

20.3 ms

OR NOT

20.6 / 24.1ms

14.7 ms

20.6 / 24.1ms

14.7 ms

123.1/119.6ms

20.3 ms

*

Execution time when data type is ON. For example, STR 000 takes 28.4 ms if point 000 is on.

**

Execution time when data type is OFF. For example, STR 000 takes 31.4 ms if point 000 is off. Instruction

Output Type Instructions

Stage

Executed

Not Executed

AND STR

25.9 ms

22.8 ms

OR STR

25.9 ms

22.8 ms

Instruction

Execute

Not Executed

OUT

20.6 ms

20.6 ms

SET OUT

24.3 ms

16.6 ms

SET

24.3 ms

16.6 ms

RST

24.3 ms

16.6 ms

SET OUT RST

33.8 ms

29.4 ms

Instruction

Execute

Not Executed

TMR

92.8 ms

50.9 ms

CNT

97.5 ms

46.3 ms

RST CNT

25.9 ms

16.6 ms

SR

75.9 +11.5ms x (# of shifts)

41.9 ms

**