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

The text of a manual · part 7 of 36

DL305 User Manual, pages 57 to 66

Pages 57 to 66 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 57

3–11 DL330/DL330P/DL340 CPU Specifications

Retentive Memory

Switch ON

DIPSWITCH SW1 - Bit 2

OFF

1 2 3 4 5 6 7 8

Non–Retentive Memory ON

1 2 3 4 5 6 7 8

DL330/DL330P/DL340 Specifications

Selecting Retentive The DL340 uses the same dipswitch for selecting memory retention as was used for memory type selection. Dipswitch SW1, bit 2 is used to set memory retention for the Memory for the ranges of internal relays shown in the following diagram. DL340

OFF

Internal relays in the DL340 range from 160 to 373 and 1000 to 1067, only 340 - 373 can be set retentive or non-retentive.

DL330/DL330P/DL340 CPU Specifications DL330/DL330P/DL340 CPU Specifications DL330/DL330P/DL340 Specifications

Page 58

3–12 DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

DL340 Port Setup DL340 Baud Rate Selection

The following chart shows how to configure the baud rate for Port 1 (RS232C) of the DL340 using dipswitch SW1, switches 3, 4 and 5. Port 2 baud rate is set by using a programming device to enter the baud rate in address R773 (in BCD or HEX). Port 2 Port 1 Sample Setup Ladder Logic Port 1 300 Baud Port 1 4800 Baud ON 1 2 3 4 5 6 7 8 ON 1 2 3 4 5 6 7 8 Baud R773 C374 DSTR 300 1 OFF OFF K006 Port 1 600 Baud Port 1 9600 Baud 600 2 1st scan only. ON 1 2 3 4 5 6 7 8 ON 1 2 3 4 5 6 7 8 Set baud rate to 9600 1200 3 DOUT1 SW1 2400 4 OFF OFF R773 Port 1 1200 Baud Port 1 19200 Baud 4800 5 1st scan only. ON 1 2 3 4 5 6 7 8 ON 1 2 3 4 5 6 7 8 C374 9600 6 DSTR K500 19200 7 OFF OFF Port 1 2400 Baud Port 1 38400 Baud Set network address to 5 38400 8 ON 1 2 3 4 5 6 7 8 ON 1 2 3 4 5 6 7 8 9600 0, 9 to FF DOUT

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 CPU Specifications

OFF

R771

OFF

DL340 Network Address Selection

Network Addressing RAM/UVPROM

DL340 PWR

RUN

PORT1 TX/RX

BATT

PORT2 TX/RX

CPU

Fixed Station

Switch

Network Address Mode Switch

Selectable

Address

Station Address

FIXED

FIXED

USER

USER

(Network Address (Network Address set to is set to 01) 3 by rotary switches)

SW4

SW3

Most Significant Digit

Least Significant Digit

Port 1

Port 2

Port 1 (RS232C): Network address selection is accomplished with the Network Address Mode Switch and the two rotary switches 3 and 4. The address is set in BCD. Network Address Mode Switch sets fixed or selectable network address. Rotary Switch 3 sets the least significant decimal digit of the network address. Rotary Switch 4 sets the most significant decimal digit of the network address. In the example above, when the Network mode switch is set to FIXED the network address will default to 01, when the Network mode switch is set to USER the network address (set with the rotary switches) is 03. Note, if the rotary switches are set to 00, the network address will default to 01. Port 2 (RS232C): Network address selection is set by using a programming device to enter the value for the most significant digit and least significant digit in addresses R771 and R772 respectively. The address is set in BCD. If you’re using MODBUS RTU protocol on Port 2, the MODBUS address is set in decimal, not BCD. Load the lower two digits in R771 and the upper two digit(s) in R772.

Page 59

3–13 DL330/DL330P/DL340 CPU Specifications

PIN NumberSignal 1 RXD 2 TXD 3 RTS 4 GND

RS232C Communication Port Specifications Connector Network Address Baud Rate Parity Transfer Mode

GND

Data bits Start bits Stop bits Turn Around Delay

CTS RTS TXD RXD

DL340 Station Type Selection and Address Ranges

RJ11 (handset connector) 01 to 90 38400, 19200, 9600, 4800, 2400, 1200, 600, 300 None / Odd Hex / ASCII HalfĆduplex Asynchronous 8 1 1 0 to 1980 in 20 ms intervals (preset with R777)

The station type for Port 1 is fixed as a Slave and cannot be changed. The station type for Port 2 can be selected by setting the appropriate switch positions (6 and 7) on the SW1 switch bank. Bit 6

Bit 7

Protocol

Address Range

1

N/A

N/A

Slave

1 – 90

2

Off Off On On

Off On Off On

Slave/DirectNET 1 – 90 Master/DirectNET 1 – 90 Peer/DirectNET 1 – 90 Modbus/RTU 1 – 247

RS232C Request to Send

Port

On Delay

Off Delay

Port 1

R776

R777

Port 2

R774

R775

400 ms

100 ms

On delay Off delay

RS232C Transmit Data

R776 = 20, 20 x 20ms intervals = 400ms on delay R777 = 5, 5 x 20ms intervals = 100ms off delay

A special propose control relay is used to select between ASCII and HEX transmission modes on the DirectNET network. When this relay is off, HEX mode is used. When this relay is turned on, ASCII mode is used. Off is the default state. S Port 1 C1077 S Port 2 C1076

DL340 Selecting Parity for Port 2

DL340 CPUs with firmware V2.7 or later allow you to select the parity for Port 2. The default setting is none. A special propose control relay (C1072) is used to select between odd parity (relay is on) and no parity (relay is off). S Port 2 C1072

DL330/DL330P/DL340 Specifications

DL340 Selecting Data Format (ASCII/HEX)

DL330/DL330P/DL340 CPU Specifications

You can use the Handheld Programmer or DirectSOFT to select an on and off response delay time of up to 1980 ms. The time delay is calculated based on a preset number that is loaded into two memory locations. These presets indicate the number of 20 ms intervals that will be used as the delay. For example, an entry of 2 would result in a 40 ms response delay time.

DL330/DL330P/DL340 CPU Specifications

Port

SW1

DL340 Selecting the Response Delay Time

DL330/DL330P/DL340 Specifications

DL340 RS232C Port (1 and 2) Pin Outs

Page 60

3–14 DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

Battery Backup Memory Battery Backup

The DL305 CPUs have a lithium battery to retain the application program and retentive memory when the system is not receiving power from the power supply. Typical battery life is five years. This time period includes PLC runtime and normal shutdown periods such as preventative maintenance and power outages. The CPU has indicators which tell when it is necessary to change the battery. However, if your battery has been in your system for an extended period of time, you may wish to take added precautions to ensure that the system memory will be retained by installing a new battery when shutting the system down for a period of more than ten days.

DL330/DL330P/DL340 CPU Specifications DL330/DL330P/DL340 Specifications

WARNING: If the battery connector is not connected to the PC board or the battery is not installed, the indicator will not notify you of the error. Be sure the battery is in place and the connector is firmly seated before you install the CPU into the base. 2) Unplug connector

1) Push back retaining clip 2) Unplug connector

1) Push back retaining clip DL330

3) Remove battery Part #D3–04–BATT

3) Remove battery Part #D3–04–BATT

RAM/UVPROM

DL330/DL330P/DL340 CPU Specifications

NOTE: Before replacing your CPU battery, you should back-up your application program. This can be done by saving the program to hard/floppy disk on a personal computer or using the handheld programmer along with a cassette tape recorder. The CPU has a built-in capacitor to retain the memory for several minutes while the battery is being replaced.

To replace the CPU battery: DL330, DL330P, DL340 CPU Battery 1. Turn power off to the system. Replacement 2. Wait 60 seconds then remove the CPU. Do not short any connectors or components on the CPU since it may alter the program memory. 3. Unlatch and tilt the clip covering the battery. 4. Pull the two wire battery connector from the PC board and remove the battery. WARNING: Do not attempt to recharge the battery or dispose of it by fire. The battery may explode or release hazardous materials. To install the CPU battery: 1. Plug the (keyed) two wire battery connector on the battery into the connector on the PC board. 2. Push gently till the connector snaps closed 3. Slide the battery under the battery retaining clip till the battery is positioned in the socket. 4. Push the retaining clip down over the battery snapping the clip over the edge of the PC board. 5. Note the date the battery was changed.

Page 61

3–15 DL330/DL330P/DL340 CPU Specifications

Before you complete these steps, make sure you have set the dipswitches and/or jumpers needed to support your application. WARNING: To minimize the risk of electrical shock, personal injury, or equipment damage, always disconnect the system power before installing or removing any system component.

DL330/DL330P/DL340 Specifications

Installing the CPU

When inserting the CPU into the base, align the PC board with the grooves on the top and bottom of the base. Push the CPU straight into the base until it is firmly seated in the backplane connector.

DL330/DL330P/DL340 CPU Specifications

Align module to slots in base and slide in

DL330/DL330P/DL340 CPU Specifications DL330/DL330P/DL340 Specifications

Page 62

3–16

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

CPU Setup and System Functions A Few Things to Know

Even if you have years of experience using PLCs, there are a few things you need to do before you can start entering programs. This section includes some basic things, such as changing the CPU mode and connecting a programming device. Here is a list of the items that are discussed. S Auxiliary Functions S Connecting a Programming Device S Changing the CPU Modes S Clearing the CPU memory The following paragraphs provide the setup information necessary to get the CPU ready for programming. The actual setup information depends on the type of programming device you are using. For example, the DL305 Handheld Programmer manual provides the Handheld keystrokes required to perform all of these operations. The DirectSOFT manual provides a description of the menus and keystrokes required to perform the setup procedures via DirectSOFT.

Page 63

3–17 DL330/DL330P/DL340 CPU Specifications

Many CPU tasks involve the use of predefined functions. These are often called Auxiliary (AUX) Functions. The AUX Functions perform many different operations, ranging from simple operating mode changes to determining the firmware revision number. You can access all of the AUX Functions from DirectSOFT menu options, but not from the DL305 Handheld Programmer. You can still perform some of the operations with the Handheld Programmer, but they are accomplished by using a certain series of keystrokes rather than by entering a specific AUX function.

DL330/DL330P/DL340 Specifications

What are Auxiliary Functions?

NOTE: Neither DirectSOFT or the Handheld Programmer utilize the numbers shown for the AUX functions. These numbers have been included because many of you may already have existing software packages that can be used with these CPUs. If you do already have an existing software package, remember that any additional features (such as added I/O, CRs, etc. available with the DL340 CPU) may not be accessible. AUX Function and Description

DL330, DL330P, DL340

AUX 1*, Diagnostics and PLC Modes

Software

HP

Program Syntax Check (Grammar check)

11

Compare PLC to Disk

12

PLC Operational Mode

13

Revision Number

Software

HP

AUX 3*, Clear PLC Memory 31

Ladders

32

Data Registers

33

Timer / Counter Accumulators

Software

HP

AUX 6*, Save Data from PLC Ladders

62

Data Registers

AUX 9*, Load Data to PLC 91

Ladders

92

Data Registers

Password Operations None

Password, Function or keystrokes available X, Not available

DL330/DL330P/DL340 CPU Specifications

61

DL330/DL330P/DL340 CPU Specifications

10

DL330/DL330P/DL340 Specifications

Page 64

3–18

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

Connecting the Programming Devices

You can mount the Handheld directly to the port of the CPU, or you can use a cable. The cable, part number D3–HPCBL, is approximately 4.5 feet (1.5m) in length and provides more flexibility. There are two different handheld programmers for the DL305 CPUs. The D3–HP can be used with either the DL330 or the DL340. The D3–HPP can only be used with the DL330P. The D3–HPP supports the RLL PLUS features. If you’re using a Personal Computer with the DirectSOFT programming package, a Data Communications Unit (either RS232C or RS422) must be used to interface to the DL330/DL330P CPUs. DCUs may also be used to establish a connection between the DL305 and an operator interface or a network. The DL340 CPU provides two built-in RS232C ports which can be used to directly connect to a personal computer, operator interface or network. The DCU may also be used with the DL340 if the built-in ports are otherwise occupied.

Page 65

3–19 DL330/DL330P/DL340 CPU Specifications

Handheld Programmer

DL340 CPU with 2 Built-in RS232C Communication Ports

DL330/DL330P/DL340 Specifications

Programming the DL340 CPU with either the Handheld programmer or the PC

RS232C Connect to either port

DL330 or DL330P

DCU RS232C or RS422 Handheld Programmer

DL330/DL330P/DL340 CPU Specifications

RS232C or RS422

DL330/DL330P/DL340 CPU Specifications

Programming the DL330 CPU with either the Handheld programmer or the PC (using a Data Communication Unit)

DL330/DL330P/DL340 Specifications

Page 66

3–20

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 CPU Specifications

DL330/DL330P/DL340 Specifications

DL330/DL330P/DL340 CPU Specifications

Changing the CPU There are two modes of operation for the DL305 CPUs: Mode of Operation S RUN, executes the application program and updates I/O modules S PGM, allows program entry, does not execute the application program or update I/O modules The CPU modes for all DL305 CPUs can be changed by using either a Handheld Programmer or DirectSOFT. The DL330 and DL330P require a Data Communications Unit when using DirectSOFT. This is discussed later in this chapter. Since the DL340 has the possibility of being accessed through multiple ports at the same time, the Handheld Programmer and DCU have priority over the built-in RS232C ports during mode change operations. If no Handheld Programmer or DCU is online, DirectSOFT can perform mode changes through either of the built-in ports. When the Handheld Programmer or DCU is online and a mode change is attempted with DirectSOFT, the Handheld Programmer or DCU will immediately change the mode back to the original mode. This forces the CPU mode to always correspond with the keyswitch position on the Handheld Programmer. WARNING: The CPU will automatically change modes when you connect the Handheld Programmer if the keyswitch is set for a different mode of operation. For example, if the CPU is in Run mode and the Handheld Programmer keyswitch is set to the PRG (Program) position, the CPU will automatically enter Program mode when the Handheld is connected.

RUN PRG LOAD TAPE

The LOAD position is used for uploading a program from CPU memory to a cassette tape, or downloading a program from cassette tape to CPU memory.