The text of a manual · part 8 of 41
DL305 User Manual: Chapter 3: DL330/DL330P/DL340 CPU Specifications, pages 54 to 61
Pages 54 to 61 of 357, from DL305 User Manual
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 54
DL330/DL330P/DL340 CPU Specifications
3--9
Installing the S UVPROM Option in the DL330 / DL330P CPU S S S S S S
Disconnect the power from the base and allow approximately 60 seconds for the capacitor to discharge before removing the CPU. Disconnect the battery wires from the CPU. Remove the RAM chip from IC socket. Align the UVPROM notch with the IC socket notch on the CPU card. Carefully insert the UVPROM in the IC socket. Set dip switch 2 and Jumpers 1 -- 3 for UVPROM (ROM). Reconnect the battery wires to CPU.
Memory Type Switch
RAM
UVPROM (ROM)
JUMPER 1
DL330/DL330P/DL340 Specifications
DL330/DL330P CPU Setup
JUMPER 2 JUMPER 3 DIPSWITCH 2
(on)
(off)
ON 2
Dipswitch 1 (ON selects power failure Dipswitch 2 (ON -- RAM retention) OFF -- UVPROM) BATTERY ROM
Jumper 1
RAM/UVPROM
Jumper 2 RAM
RAM
Jumper 3
Selecting Retentive The DL330 and DL330P have a dipswitch which can be used to turn on or off power failure retention for specific relays and stages. (Some memory types are Memory for the automatically retentive.) The following diagram lists the range of retentive memory DL330 / DL330P for the memory types that are covered by the selection switch.
ON
BATTERY ROM
RAM/UVPROM ROM
DL330/DL330P Networking
RAM
1 2 RAM
Internal relays in the DL330P range from 160 -- 277, only 200 -- 277 can be set retentive or non--retentive. Stages in the DL330P range from SG000 to SG177, only SG000 to SG137 can be set retentive or non--retentive.
Networking for the DL330 and DL330P is accomplished by using a DCU, (Data Communications Unit, RS232C part number D3-232-DCU, RS422 part number D3-422-DCU). DL305 User Manual, Rev. D
DL330/DL330P/DL340 Specifications
Dipswitch 1 Internal relays in the DL330 range from (on selects 160 -- 373, only 340 -- 373 can be set power failure retentive or non--retentive. retention)
DL330/DL330P/DL340 CPU Specifications
ROM
DL330/DL330P/DL340 CPU Specifications
1
Page 55
DL330/DL330P/DL340 Specifications
3--10
DL330/DL330P/DL340 CPU Specifications
DL340 CPU Setup Installing the optional UVPROM or EEPROM in the DL340 CPU
Complete the following steps to install the optional memory. 1. Disconnect the power from the base and allow approximately 60 seconds for the capacitor to discharge before removing the CPU. 2. Disconnect the battery wires from the CPU. 3. Align the UVPROM/EEPROM notch with the IC socket notch on the CPU. 4. Carefully insert the UVPROM/EEPROM into the IC socket. 5. Set dipswitch SW1, bit 1 and the short Jumpers N/C -- 4 for the option you have installed. 6. Reconnect the battery wires to the CPU.
Memory Type Switch
RAM
SHORT PIN JUMPERS
DL330/DL330P/DL340 CPU Specifications
DL330/DL330P/DL340 CPU Specifications
1
DIPSWITCH SW1 -- Bit 1
2
EEPROM 3
4 ...
1
2
3
UVPROM (ROM)
EEPROM
(WRITE PROTECTED)
4 ...
1
2
3
4 ...
1
ON
ON
ON
ON
OFF
OFF
OFF
OFF
N/C 2 3 4
N/C 2 3 4
N/C 2 3 4
DL330/DL330P/DL340 Specifications
3
4 ...
N/C 2 3 4
N/C 2
DL305 User Manual, Rev. D
2
3
4
Page 56
DL330/DL330P/DL340 CPU Specifications
3--11
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
DL305 User Manual, Rev. D
Page 57
DL330/DL330P/DL340 Specifications
3--12
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 CPU Specifications
DL330/DL330P/DL340 CPU Specifications
OFF
DL330/DL330P/DL340 Specifications
DL330/DL330P/DL340 CPU Specifications
R771
OFF
DL340 Network Address Selection
Network Addressing RAM/UVPROM
DL340 PWR
RUN
PORT1 TX/RX
BATT
PORT2 TX/RX
CPU
Fixed Station
Network Address Mode Switch
Selectable
Address
Switch
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.
DL305 User Manual, Rev. D
Page 58
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
DL305 User Manual, Rev. D
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 59
DL330/DL330P/DL340 Specifications
3--14
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.
DL330, DL330P, To replace the CPU battery: 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. DL305 User Manual, Rev. D
Page 60
DL330/DL330P/DL340 CPU Specifications
3--15
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
DL305 User Manual, Rev. D
Page 61
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.
DL330/DL330P/DL340 Specifications
DL330/DL330P/DL340 CPU Specifications
DL330/DL330P/DL340 CPU Specifications
DL330/DL330P/DL340 Specifications
3--16
DL305 User Manual, Rev. D