The text of a manual · part 12 of 61
DL205 PLC User Manual, Volume 1 of 2: Chapter 3: CPU Specifications and Operations, pages 95 to 104
Pages 95 to 104 of 592, from DL205 PLC User Manual, Volume 1 of 2
The original document is the PDF (13 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 D2-08ND3 and Koyo D2-08ND3
Page 95
CPU SPECIFICATIONS AND OPERATIONS In This Chapter
CHAPTER
3
CPU Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–2 CPU General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–4 CPU Base Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . .3–5 CPU Hardware Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–6 Selecting the Program Storage Media . . . . . . . . . . . . . . . . . . . . . . .3–9 Using Battery Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–14 CPU Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–21 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–27 CPU Scan Time Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . .3–29 PLC Numbering Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–35 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–37 DL230 System V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–41 DL240 System V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–43 DL250–1 System V-memory (DL250 also) . . . . . . . . . . . . . . . . . . .3–46 DL260 System V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–49 DL205 Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–52 DL230 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–53 DL240 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–54 DL250–1 Memory Map (DL250 also) . . . . . . . . . . . . . . . . . . . . . . .3–55 DL260 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–56 X Input/Y Output Bit Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–57 Control Relay Bit Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–59 Stage Control/Status Bit Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–63 Timer and Counter Status Bit Maps . . . . . . . . . . . . . . . . . . . . . . . .3–65 Remote I/O Bit Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3–66
Page 96
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
CPU Overview
3–2
The Central Processing Unit is the heart of the PLC. Almost all system operations are controlled by the CPU, so it is important that it is set-up and installed correctly. This chapter provides the information needed to understand: • The differences between the various models of CPUs • The steps required to setup and install the CPU
General CPU Features The DL230, DL240, DL250–1 and D2–260 are modular CPUs which can be installed in 3, 4, 6, or 9 slot bases. All I/O modules in the DL205 family will work with any of the CPUs. The DL205 CPUs offer a wide range of processing power and program instructions. All offer RLL and Stage program instructions (See Chapter 5). They also provide extensive internal diagnostics that can be monitored from the application program or from an operator interface.
DL230 CPU Features The DL230 has 2.4K words of memory comprised of 2.0K of ladder memory and approximately 400 words of V-memory (data registers). It has 92 different instructions available for programming, and supports a maximum of 256 I/O points. Program storage is in the factory-installed EEPROM. In addition to the EEPROM there is also RAM on the CPU which will store system parameters, V-memory, and other data which is not in the application program. The DL230 provides one built-in RS-232 communication port, so you can easily connect a handheld programmer or a personal computer without needing any additional hardware.
DL240 CPU Features The DL240 has a maximum of 3.8K of memory comprised of 2.5K of ladder memory and approximately 1.3K of V-memory (data registers). There are 129 instructions available for program development and a maximum of 256 points local I/O and 896 points with remote I/O are supported. Program storage is in the factory-installed EEPROM. In addition to the EEPROM there is also RAM on the CPU which will store system parameters, V-memory and other data which is not in the application program. The DL240 has two communication ports. The top port is the same port configuration as the DL230. The bottom port also supports the DirectNET protocol, so you can use the DL240 in a DirectNET network. Since the port is RS-232, you must use an RS-232/RS-422 converter for multi-drop connections.
DL205 User Manual, 4th Edition, Rev. A
Page 97
Chapter 3: CPU Specifications and Operations
DL250–1 CPU Features
1 2 3 4 5 6 DL260 CPU Features 7 The DL260 offers all the DL250–1 features, plus ASCII IN/OUT and expanded Modbus instructions. It also supports up to 1280 local I/O points by using up to four local expansion 8 bases. It has a maximum of 30.4K of program memory comprised of 15.8K of ladder memory (saved on flash memory) and 14.6K of V-memory (data registers). It also includes an 9 internal RISC–based microprocessor for greater processing power. The DL260 has 297 instructions. In addition to those in the DL250–1 instruction set, the DL260 instruction set includes table instructions, trigonometric instructions and support for 16 PID loops. 10 The DL260 has a total of two built–in communications ports. The top port is identical to the top port of the DL250–1. The bottom port is a 15–pin RS-232/RS-422/RS-485 port. It will 11 interface with DirectSOFT (version 4.0 or later), operator interfaces, and provides DirectNet, Modbus RTU Master/Slave connections. Port 2 also supports ASCII IN/OUT instructions. 12 13 14 A B C D The DL250–1 replaces the DL250 CPU. It offers all the DL240 features, plus more program instructions and a built–in Remote I/O Master port. It offers all the features of the DL250 CPU with the addition of supporting Local expansion I/O. It has a maximum of 14.8K of program memory comprised of 7.6K of ladder memory and 7.2K of V-memory (data registers). It supports a maximum of 256 points of local I/O and a maximum of 768 I/O points (max. of two local expansion bases). In addition, port 2 supports up to 2048 points if you use the DL250–1 as a Remote master. It includes an internal RISC–based microprocessor for greater processing power. The DL250–1 has 240 instructions. The instructions are in addition to the DL240 instruction set which include drum timers, a print function, floating point math, PID loop control for 4 loops and the Intelligent Box (IBox) instructions. The DL250–1 has a total of two built–in communications ports. The top port is identical to the top port of the DL240, with the exception of the DirectNet slave feature. The bottom port is a 15–pin RS-232/RS-422 port. It will interface with DirectSOFT and operator interfaces, and provides DirectNet and Modbus RTU Master/Slave connections.
DL205 User Manual, 4th Edition, Rev. A
3–3
Page 98
Chapter 3: CPU Specifications and Operations
CPU General Specifications
1 Feature Total Program memory (words) 2 Ladder memory (words) V-memory (words) V Memory (words) 3 Non-volatile Boolean execution /K and RLL Programming 4 RLL Handheld programmer 5 DirectSOFT programming for Windows. 6 Built-in communication ports EEPROM 7 Total CPU memory I/O points available Local I/O points available 8 Local Expansion I/O points (including local I/O and expansion I/O points) Remote I/O points (including 9 Serial local I/O and expansion I/O points) Remote I/O Channels 10 Serial Max Number of Serial Remote Slaves 11 Ethernet Remote I/O Discrete points Ethernet Remote I/O Analog I/O 12 channels Ethernet Remote I/O channels Number of Ethernet slaves per 13 Max channel 14 I/O points per Remote channel A Module Point Density B I/O Slots per Base C D PLUS
3–4
DL230
DL240
DL250–1
DL260
2.4K 2048 256 128 4–6 ms Yes Yes
3.8K 2560 1024 256 10–12 ms Yes Yes
14.8K 7680 (Flash) 7168 No 1.9ms Yes Yes
Yes
Yes
Yes
One RS–232
Two RS–232
Standard on CPU
Standard on CPU
One RS–232 One RS–232 or RS–422 Flash
256 (X,Y,CR)
896 (X,Y,CR)
2048 (X,Y,CR)
256
256
256
30.4K 15872 (Flash) 14592 No 1.9ms Yes Yes Yes (requires version 4.0 or higher) One RS–232 One RS–232, RS–422 or RS–485 Flash 8192 (X,Y,CR,GX,GY) 256
N/A
N/A
768 (2 exp. bases max.)
1280 (4 exp. bases max.)
N/A
896
2048
8192
N/A
2
8
8
N/A
7 Remote / 31 Slice 7 Remote / 31 Slice 7 Remote / 31 Slice
N/A
896
N/A
Map into V–memory Map into V–memory Map into V–memory
N/A limited by power budget limited by power budget limited by power budget
N/A
16
16
16
N/A
16,384 (limited to 896 by CPU)
16,384 (16 fully expanded H4–EBC slaves using V–memory and bit–of–word instructions)
16,384 (16 fully expanded H4–EBC slaves using V–memory and bit–of–word instructions
4/8/12/16/32 3/4/6/9
4/8/12/16/32 3/4/6/9
4/8/12/16/32 3/4/6/9
4/8/12/16/32 3/4/6/9
DL205 User Manual, 4th Edition, Rev. A
2048
8192
Page 99
Chapter 3: CPU Specifications and Operations Feature
DL230
DL240
DL250–1
DL260
1 2 3 4 5 6 Math 7 ASCII 8 PID Loop Control, Built In Time of Day Clock/Calendar Run Time Edits 9 Supports Overrides Internal diagnostics 10 Password security System error log User error log 11 Battery backup 12 CPU Base Electrical Specifications 13 Specification AC Powered Bases 24 VDC Powered Bases 125 VDC Powered Bases 14 Part Numbers A Input Voltage Range Maximum Inrush Current B Maximum Power Voltage Withstand (dielectric) C Insulation Resistance Auxiliary 24 VDC Output D Fusing (internal to base Number of instructions available (see Chapter 5 for details) Control relays Special relays (system defined) Stages in RLLPLUS Timers Counters Immediate I/O Interrupt input (hardware / timed) Subroutines Drum Timers Table Instructions For/Next Loops
92
129
240
297
256 112 256 64 64 Yes Yes / No No No No No
256 144 512 128 128 Yes Yes / Yes Yes No No Yes
1024 144 1024 256 128 Yes Yes / Yes Yes Yes No Yes
2048 144 1024 256 256 Yes Yes / Yes Yes Yes Yes Yes
Integer
Integer
Integer, Floating Point
Integer, Floating Point, Trigonometric
No No No Yes No Yes Yes No No Yes (optional)
No No Yes Yes Yes Yes Yes Yes Yes Yes (optional)
Yes, OUT Yes, 4 Loops Yes Yes Yes Yes Yes Yes Yes Yes (optional)
Yes, IN/OUT Yes, 16 Loops Yes Yes Yes Yes Yes Yes Yes Yes (optional)
D2–03B–1 D2–04B–1 D2–06B–1 D2–09B–1 power supply)
D2–03BDC1–1 D2–06BDC2–1 D2–04BDC1–1 D2–09BDC2–1 D2–06BDC1–1 D2–09BDC1–1 10.2–28.8 VDC (24 VDC) 100–240 VAC +10% –15% 104–240 VDC +10% –15% with less than 10% ripple 30 A 10 A 20 A 80 VA 25 W 30 W 1 minute @ 1500 VAC between primary, secondary, field ground, and run relay > 10 M⏲ at 500 VDC 20–28 VDC, less than 1V p-p None 20–28 VDC, less than 1V p-p 300 mA max. 300 mA max. non–replaceable 2 A @ 250 V non–replaceable 3.15 A @ non–replaceable 2 A @ 250 V slow blow fuse; 250 V slow blow fuse; slow blow fuse; external fusing recommended external fusing recommended external fusing recommended
DL205 User Manual, 4th Edition, Rev. A
3–5
Page 100
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
CPU Hardware Setup Communication Port Pinout Diagrams Cables are available that allow you to quickly and easily connect a Handheld Programmer or a personal computer to the DL205 CPUs. However, if you need to build a cable(s), use the pinout descriptions shown on the following pages. You can also use the Tech Support/Cable Wiring diagrams located on our website. The DL240, DL250–1 and DL260 CPUs have two ports while the DL230 has only one. All of the CPUs require at least one RJ-12 connector. The DL250-1 and DL260 require one 15 pin D-shell connector.
Port 1 DL250–1 and DL260 RJ12 Phone Jack RS-232, 9600 baud Communication Port –K-sequence –DirectNET slave –Modbus RTU slave –easily connect DirectSOFT, handhelds, operator interfaces, any DirectNet master
3–6
RUN CPU
PWR BATT
DL230 CPU
DL260 Port 2 DL250–1 and DL260 15-pin HD Connector RS-232/RS-422, up to 38.4K baud Communication Port –K-sequence –DirectNET Master/Slave –Modbus RTU Master/Slave –easily connect DirectSOFT, handhelds, operator interfaces, any DirectNet or Modbus master or slave
Port 1 RJ12 Phone Jack RS-232, 9600 baud Communication Port –K-sequence –easily connect DirectSOFT, handhelds, operator interfaces, etc. Port 2
PORT ?1
Port 2 Additional DL260 Features –ASCII IN/OUT Instructions –Extended Modbus Instructions –RS-485 support
RJ12 Phone Jack RS-232, up to 19.2K baud Communication Port –K-sequence –DirectNET slave –easily connect DirectSOFT, handhelds, operator interfaces, or any DirectNet master
DL205 User Manual, 4th Edition, Rev. A
PWR BATT
RUN CPU
DL240 CPU
RUN TERM CH1 CH2 CH3 CH4
PORT1
PORT2
Page 101
Chapter 3: CPU Specifications and Operations
Port 1 Specifications
230 The operating parameters for Port 1 on the DL230 and DL240 CPUs are fixed. • 6-pin female modular (RJ12 phone jack) type connector 240 250-1 • K–sequence protocol (slave only) • RS-232, 9600 baud 260 • Connect to DirectSOFT, D2–HPP, DV–1000, HMI panels
• Fixed station address of 1 • 8 data bits, one stop • Asynchronous, Half–duplex, DTE • Odd parity
Port 1 Pin Descriptions (DL230 and DL240) 1 6
6-pin Female Modular Connector
1 2 3 4 5 6
0V 5V RXD TXD 5V 0V
Power (–) connection (GND) Power (+) connection Receive Data (RS-232) Transmit Data (RS-232) Power (+) connection Power (–) connection (GND)
Port 1 Specifications
230 240 250-1 260
The operating parameters for Port 1 on the DL250–1 and DL260 CPU are fixed. This applies to the DL250 as well. • 6-pin female modular (RJ12 phone jack) type connector • K–sequence protocol (slave only) • DirectNET (slave only) • Modbus RTU (slave only) • RS-232, 9600 baud • Connect to DirectSOFT, D2–HPP, DV1000 or DirectNET master • 8 data bits, one start, one stop • Asynchronous, Half–duplex, DTE • Odd parity
Port 1 Pin Descriptions (DL250-1 and DL260) 1 6
6-pin Female Modular Connector
1 2 3 4 5 6
0V 5V RXD TXD 5V 0V
Power (–) connection (GND) Power (+) connection Receive Data (RS-232C) Transmit Data (RS-232C Power (+) connection Power (–) connection (GND)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
NOTE: The 5V pins are rated at 200mA maximum, primarily for use with some operator interface units.
DL205 User Manual, 4th Edition, Rev. A
3–7
Page 102
Chapter 3: CPU Specifications and Operations
Port 2 Specifications operating parameters for Port 2 on the DL240 CPU are configurable using Aux 1 The functions on a programming device.
• 6-Pin female modular (RJ12 phone jack) 2 type connector
• K–sequence protocol, DirectNET (slave), 3 • RS-232, Up to 19.2K baud 6-pin Female Modular Connector • Address selectable (1–90) 4 Port 2 Pin Descriptions (DL240 only) • Connect to DirectSOFT, D2–HPP, DV-1000, HMI, or DirectNET master 5 • 8 data bits, one start, one stop • Asynchronous, Half–duplex, DTE 6 • Odd or no parity 2 Specifications 7 Port Port 2 on the DL250-1 and DL260 CPUs is located on the 15-pin D-shell connector. It is configurable using AUX functions on a programming device. This applies to the DL250 as well. 8
• 15-Pin female D type connector • Protocol: K-sequence, DirectNET 9 Master/Slave, Modbus RTU Master/Slave, Remote I/O, (ASCII IN/OUT DL260 only) 10 • RS-232, non-isolated, distance within 15 m (approx. 50 feet) 11 • RS-422, non-isolated, distance within 1000 m • RS-485, non–isolated, distance within 12 1000m (DL260 only) Port 2 Pin Descriptions (DL250–1 / DL260) • Up to 38.4K baud 13 • Address selectable (1–90) • Connects to DirectSOFT, D2–HPP, operator 14 interfaces, any DirectNET or Modbus master/slave, (ASCII devices-DL260 only) A • 8 data bits, one start, one stop • Asynchronous, Half–duplex, DTE Remote I/O B • Odd/even/none parity C D 230 240
1
250-1
6
260
1 2 3 4 5 6
0V 5V RXD TXD RTS 0V
Power (–) connection (GND) Power (+) connection Receive Data (RS-232) Transmit Data (RS-232) Request to Send Power (–) connection (GND)
230 240
6
250-1
11
1
260
10
5
15
15-pin Female D Connector
1 5V 5 VDC 2 TXD2 Transmit Data (RS-232) 3 RXD2 Receive Data (RS-232) 4 RTS2 Ready to Send (RS–232) 5 CTS2 Clear to Send (RS–232) 6 RXD2 – Receive Data – (RS–422) (RS–485 DL260) 7 0V Logic Ground 8 0V Logic Ground 9 TXD2 + Transmit Data + (RS–422) (RS–485 DL260) 10 TXD2 – Transmit Data – (RS–422) (RS–485 DL260) 11 RTS2 + Request to Send + (RS–422) (RS–485 DL260) 12 RTS2 – Request to Send – (RS–422)(RS–485 DL260) 13 RXD2 + Receive Data + (RS–422) (RS–485 DL260) 14 CTS2 + Clear to Send + (RS422) (RS–485 DL260) 15 CTS2 – Clear to Send – (RS–422) (RS–485 DL260)
3–8
DL205 User Manual, 4th Edition, Rev. A
Page 103
Chapter 3: CPU Specifications and Operations
Selecting the Program Storage Media Built-in EEPROM DL230 and DL240 CPUs provide built-in EEPROM storage. This type of memory is 230 The non-volatile and is not dependent on battery backup to retain the program. The EEPROM 240 can be electrically reprogrammed without being removed from the CPU. You can also set 250-1 Jumper 3, which will write protect the EEPROM. The jumper is set at the factory to allow 260 changes to EEPROM. If you select write protection by changing the jumper position, you cannot make changes to the program.
WARNING: Do NOT change Jumper 2. This is for factory test operations. If you change Jumper 2, the CPU will not operate properly.
1 2 3 4 5
Jumper in position shown selects write protect for EEPROM
6 7 8 9
EEPROM
10 11 12 13 EEPROM Operations There are many AUX functions specifically for use with an EEPROM in the Handheld 14 Programmer. This enables you to quickly and easily copy programs between a program developed offline in the Handheld and the CPU. Also, you can erase EEPROMs, compare A them, etc. See the DL205 Handheld Programmer Manual for details on using these AUX functions with the Handheld Programmer. B NOTE: If the instructions are supported in both CPUs and the program size is within the limits of the DL230, you can move a program between the two CPUs. However, the EEPROM installed in the Handheld C Programmer must be the same size (or larger) than the CPU being used. For example, you could not install a DL240 EEPROM in the Handheld Programmer and download the program to a DL230. Instead, if the program is within the size limits of the DL230, use a DL230 chip in the Handheld when you obtain the D program from the DL240. EEPROM Sizes
The DL230 and DL240 CPUs use different sizes of EEPROMs. The CPUs come from the factory with EEPROMs already installed. However, if you need extra EEPROMs, select one that is compatible with the following part numbers. CPU Type EEPROM Part Number Capacity DL230 DL240
Hitachi HN58C65P–25 Hitachi HN58C256P–20
8K byte (2Kw) 32K byte (3Kw)
DL205 User Manual, 4th Edition, Rev. A
3–9
Page 104
Chapter 3: CPU Specifications and Operations
Installing the CPU
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
CPU must be installed in the first slot in the base (closest to the power supply). You 230 The cannot install the CPU in any other slot. When inserting the CPU into the base, align the 240
PC board with the grooves on the top and bottom of the base. Push the CPU straight into 250-1 the base until it is firmly seated in the backplane connector. Use the retaining clips to secure 260 the CPU to the base.
3–10
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.
Retaining Clips CPU must reside in first slot!
Connecting the Programming Devices The Handheld programmer is connected to the CPU with a handheld programmer cable. (You can connect the Handheld to either port on a DL240 CPU). The handheld programmer is shipped with a cable. The cable is approximately 6.5 feet (200 cm).
Connect Handheld to either Port
If you are using a Personal Computer with the DirectSOFT programming package, you can use either the top or bottom port.
Connect PC to either Port
DL205 User Manual, 4th Edition, Rev. A