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

The text of a manual · part 19 of 61

DL205 PLC User Manual, Volume 1 of 2: Chapter 4: System Design and Configuration, pages 165 to 174

Pages 165 to 174 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 165

SYSTEM DESIGN AND CONFIGURATION

CHAPTER

4

In This Chapter: DL205 System Design Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . .4–2 Module Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4–3 Calculating the Power Budget . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4–7 Local Expansion I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4–11 Expanding DL205 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4–17 Network Connections to Modbus and DirectNet . . . . . . . . . . . . . .4–32 Network Slave Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4–35 Network Modbus RTU Master Operation (DL260 only) . . . . . . . . .4–45 Non–Sequence Protocol (ASCII In/Out and PRINT) . . . . . . . . . . . .4–54

Page 166

Chapter 4: System Design and Configuration

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

DL205 System Design Strategies

4–2

I/O System Configurations The DL205 PLCs offer the following ways to add I/O to the system: • Local I/O – consists of I/O modules located in the same base as the CPU. • Local Expansion I/O – consists of I/O modules in expansion bases located close to the CPU local base. Expansion cables connect the expansion bases and CPU base in daisy–chain format. • Ethernet Remote Master – provides a low-cost, high-speed Ethernet Remote I/O link to Ethernet Remote Slave I/O • Ethernet Base Controller – provides a low-cost, high-speed Ethernet link between a network master to AutomationDirect Ethernet Remote Slave I/O • Remote I/O – consists of I/O modules located in bases which are serially connected to the local CPU base through a Remote Master module, or may connect directly to the bottom port on a DL250–1 or DL260 CPU.

A DL205 system can be developed using many different arrangements of these configurations. All I/O configurations use the standard complement of DL205 I/O modules and bases. Local expansion requires using (–1) bases.

Networking Configurations The DL205 PLCs offers the following way to add networking to the system: • Ethernet Communications Module – connects DL205 systems (DL240, DL250–1 or DL260 CPUs only) and DL405 CPU systems in high–speed peer–to–peer networks. Any PLC can initiate communications with any other PLC when using either the ECOM or ECOM100 modules. • Data Communications Module – connects a DL205 (DL240, DL250–1 and DL260 only) system to devices using the DirectNET protocol, or connects as a slave to a Modbus RTU network. • DL250–1 Communications Port – The DL250–1 CPU has a 15–Pin connector on Port 2 that provides a built–in Modbus RTU or DirectNET master/slave connection. • DL260 Communications Port – The DL260 CPU has a 15–Pin connector on Port 2 that provides a built–in DirectNET master/slave or Modbus RTU master/slave connection with more Modbus function codes than the DL250–1. (The DL260 MRX and MWX instructions allow you to enter native Modbus addressing in your ladder program with no need to perform octal to decimal conversions). Port 2 can also be used for ASCII IN or ASCII OUT communications.

Module/Unit DL240 CPU DL250–1 CPU DL260 CPU ECOM ECOM100 DCM

Master DirectNet ,Modbus RTU DirectNet, Modbus RTU, ASCII Ethernet Ethernet, Modbus TCP DirectNet

DL205 User Manual, 4th Edition, Rev. A

Slave DirectNet, K–Sequence DirectNet, K–Sequence, Modbus RTU DirectNet, K–Sequence, Modbus RTU, ASCII Ethernet Ethernet, Modbus TCP DirectNet, K–Sequence, Modbus RTU

Page 167

Chapter 4: System Design and Configuration

Module Placement Slot Numbering The DL205 bases each provide different numbers of slots for use with the I/O modules. You may notice the bases refer to 3-slot, 4-slot, etc. One of the slots is dedicated to the CPU, so you always have one less I/O slot. For example, you have five I/O slots with a 6-slot base. The I/O slots Power Wiring are numbered 0 – 4. The CPU slot always Connections contains a CPU or a base controller (EBC) or Remote Slave and is not numbered.

Slot 0 Slot 1 Slot 2 Slot 3 Slot 4

CPU Slot

I/O Slots

Module Placement Restrictions The following table lists the valid locations for all types of modules in a DL205 system. Module/Unit

Local CPU Base Local Expansion Base

CPUs DC Input Modules AC Input Modules DC Output Modules AC Output Modules Relay Output Modules Analog Input and Output Modules Local Expansion Base Expansion Unit Base Controller Module Serial Remote I/O Remote Master Remote Slave Unit Ethernet Remote Master Ethernet Slave (EBC) CPU Interface Ethernet Base Controller WinPLC DeviceNet Profibus SDS Specialty Modules Counter Interface (CTRINT) Counter I/O (CTRIO) Data Communications Ethernet Communications BASIC CoProcessor Simulator Filler

CPU Slot Only

Remote I/O Base

CPU Slot Only

(not Slot O) CPU Slot Only (not Slot O) CPU Slot Only CPU Slot Only CPU Slot Only CPU Slot Only CPU Slot Only CPU Slot Only Slot 0 Only

(not Slot O) (not Slot O) (not Slot O)

CPU Slot Only*

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

*When used in H2–ERM Ethernet Remote I/O systems.

DL205 User Manual, 4th Edition, Rev. A

4–3

Page 168

Chapter 4: System Design and Configuration

1 2

3 4 5 6 7 8 9 10 11 12

13 14

A B C D 4–4

Automatic I/O Configuration 230 240 250-1 260

230 240 250-1 260

The DL205 CPUs automatically detect any installed I/O modules (including specialty modules) at powerup, and establish the correct I/O configuration and addresses. This applies to modules located in local and local expansion I/O bases. For most applications, you will never have to change the configuration. I/O addresses use octal numbering, starting at X0 and Y0 in the slot next to the CPU. The addresses are assigned in groups of 8 or 16, depending on the number of points for the I/O module. The discrete input and output modules can be mixed in any order, but there may be restrictions placed on some specialty modules. The following diagram shows the I/O numbering convention for an example system. Both the Handheld Programmer and DirectSOFT provide AUX functions that allow you to automatically configure the I/O. For example, with the Handheld Programmer AUX 46 executes an automatic configuration, which allows the CPU to examine the installed modules and determine the I/O configuration and addressing. With DirectSOFT, the PLC Configure I/O menu option would be used.

Automatic

Slot 0 8pt. Input X0-X7

Slot 1 16pt. Output Y0-Y17

Slot 2 16pt. Input X10-X27

Slot 3 8pt. Input X30-X37

Manual

Slot 0 8pt. Input X0-X7

Slot 1 16pt. Output Y0-Y17

Slot 2 16pt. Input X100-X117

Slot 3 8pt. Input X20-X27

Manual I/O Configuration It may never become necessary, but DL250–1 and DL260 CPUs allow manual I/O address assignments for any I/O slot(s) in local or local expansion bases. You can manually modify an auto configuration to match arbitrary I/O numbering. For example, two adjacent input modules can have starting addresses at X20 and X200. Use DirectSOFT PLC Configure I/O menu option to assign manual I/O address. In automatic configuration, the addresses are assigned on 8-point boundaries. Manual configuration, however, assumes that all modules are at least 16 points, so you can only assign addresses that are a multiple of 20 (octal). For example, X30 and Y50 are not valid starting addresses. You can still use 8 point modules, but 16 addresses will be assigned and the upper eight addresses will be unused. WARNING: If you manually configure an I/O slot, the I/O addressing for the other modules may change. This is because the DL250–1 and DL260 CPUs do not allow you to assign duplicate I/O addresses. You must always correct any I/O configuration errors before you place the CPU in RUN mode. Uncorrected errors can cause unpredictable machine operation that can result in a risk of personal injury or damage to equipment.

DL205 User Manual, 4th Edition, Rev. A

Page 169

Chapter 4: System Design and Configuration

Removing a Manual Configuration

1 2 Power–On I/O Configuration Check The DL205 CPUs can also be set to automatically check the I/O configuration on power-up. 3 By selecting this feature you can detect any changes that may have occurred while the power was disconnected. For example, if someone places an output module in a slot that previously held an input module, the CPU will not go into RUN mode and the configuration check will 4 detect the change and print a message on the Handheld Programmer or DirectSOFT screen (use AUX 44 on the HPP to enable the configuration check). 5 If the system detects a change in the PLC/Setup/I/O configuration check at power-up, error code E252 will be generated. You can use AUX 42 (HPP) or DirectSOFT I/O diagnostics to 6 determine the exact base and slot location where the change occurred. When a configuration error is generated, you may actually want to use the new I/O configuration. For example, you may have intentionally changed an I/O module to use with a program change. You can use 7 PLC/Diagnostics/I/O Diagnostics in DirectSoft or AUX 45 to select the new configuration, or, keep the existing configuration stored in memory. 8 WARNING: You should always correct any I/O configuration errors before you place the CPU into RUN mode. Uncorrected errors can cause unpredictable machine operation that can result in a risk of 9 personal injury or damage to equipment. WARNING: Verify the I/O configuration being selected will work properly with the CPU program. Always correct any I/O configuration errors before placing the CPU in RUN mode. Uncorrected errors can cause 10 unpredictable machine operation that can result in a risk of personal injury or damage to equipment. 11 12 13 14 A B C D After a manual configuration, the system will automatically retain the new I/O addresses through a power cycle. You can remove (overwrite) any manual configuration changes by changing all of the manually configured addresses back to automatic.

DL205 User Manual, 4th Edition, Rev. A

4–5

Page 170

Chapter 4: System Design and Configuration

I/O Points Required for Each Module

Each type of module requires a certain number of I/O points. This is also true for some specialty modules, such as analog, counter interface, etc.. 1 2 DC Input Modules Number of I/O Pts. Required Specialty Modules, etc. Number of I/O Pts. Required 3 AC Input Modules 4 5 DC Output Modules 6 7 AC Output Modules 8 9 Relay Output Modules 10 11 Combination Modules 12 Analog Modules 13 14 A B C D D2–08ND3 D2–16ND3–2 D2–32ND3(–2)

8 Input 16 Input 32 Input

D2–08NA–1 D2–08NA–2 D2–16NA

8 Input 8 Input 16 Input

D2–04TD1

D2–08TD1 D2–16TD1–2 (2-2) D2–16TD1(2)P D2–32TD1(–2)

8 Output (Only the first four points are used) 8 Output 16 Output 16 Output 32 Output

D2–08TA F2–08TA D2–12TA

8 Output 8 Output 16 Output (See note 1)

D2–04TRS D2–08TR F2–08TRS F2–08TR D2–12TR

8 Output (Only the first four points are used) 8 Output 8 Output 8 Output 16 Output (See note 1)

D2–08CDR

8 In, 8 Out (Only the first four points are used for each type)

F2–04AD–1 & 1L F2–04AD–2 & 2L F2–08AD–1 F2–02DA–1 & 1L F2–02DA–2 & 2L F2–08DA–1 F2–08DA–2 F2–02DAS–1 F2–02DAS–2 F2–4AD2DA F2–8AD4DA-1 F2–8AD4DA-2 F2–04RTD F2–04THM

16 Input 16 Input 16 Input 16 Output 16 Output 16 Output 16 Output 32 Output 32 Output 16 Input & 16 Output 32 Input & 32 Output 32 Input & 32 Output 32 Input 32 Input

H2–ECOM(–F) D2–DCM H2–ERM(–F) H2–EBC(–F) D2–RMSM D2–RSSS F2–CP128 H2–CTRIO

None None None None None None None None

D2–CTRINT

8 Input 8 Output

F2–DEVNETS–1 H2–PBC F2–SDS–1 D2–08SIM D2-EM D2-CM H2-ECOM(100)

None None None 8 Input None None None

NOTE 1: –12pt. modules consume 16 points. The first 6 points are assigned, two are skipped, and then the next 6 points are assigned. For example, a D2–12TA installed in slot 0 would use Y0–Y5, and Y-10-Y15. Y6–Y7 and Y16–Y17 would be unused.

4–6

DL205 User Manual, 4th Edition, Rev. A

Page 171

Chapter 4: System Design and Configuration

Calculating the Power Budget

1 Managing your Power Resource When you determine the types and quantity of I/O modules you will be using in the DL205 2 system it is important to remember there is a limited amount of power available from the power supply. We have provided a chart to help you easily see the amount of power available 3 with each base. The following chart will help you calculate the amount of power you need with your I/O selections. At the end of this section you will also find an example of power budgeting and a worksheet for your own calculations. 4 If the I/O you choose exceeds the maximum power available from the power supply, you may need to use local expansion bases or remote I/O bases. 5 WARNING: It is extremely important to calculate the power budget. If you exceed the power budget, the system may operate in an unpredictable manner which may result in a risk of personal injury or 6 equipment damage. 7 CPU Power Specifications The following chart shows the amount of current available for the two voltages supplied from the DL205 base. Use these currents when calculating the power budget for your system. The 8 Auxiliary 24V Power Source mentioned in the table is a connection at the base terminal strip allowing you to connect to devices or DL205 modules that require 24VDC. 9 Bases 5V Current Supplied Auxiliary 24VDC Current Supplied 10 11 12 13 14 Module Power Requirements Use the power requirements shown on the next page to calculate the power budget for your A system. If an External 24VDC power supply is required, the external 24VDC from the base power supply may be used as long as the power budget is not exceeded. B C D

D2–03B–1 D2–04B–1 D2–06B–1 D2–09B–1 D2–03BDC1–1 D2–04BDC1–1 D2–06BDC1–1 D2–09BDC1–1 D2–06BDC2–1 D2–09BDC2–1

2600 mA 2600 mA 2600 mA 2600 mA 2600 mA 2600 mA 2600 mA 2600 mA 2600 mA 2600 mA

300 mA 300 mA 300 mA 300 mA None None None None 300 mA 300 mA

DL205 User Manual, 4th Edition, Rev. A

4–7

Page 172

Chapter 4: System Design and Configuration Power Consumed

1 Device 5V (mA) 2 CPUs 3 4 DC Input Modules 5 AC Input Modules 6 7 DC Output Modules 8 9 AC Output Modules 10 11 Relay Output Modules 12 13 Analog Modules 14 A B C D

Power Consumed 24V Auxilliary (mA)

120 120 330 330

0 0 0 0

D2–08ND3 D2–16ND3–2 D2–32ND3(–2)

50 100 25

0 0 0

D2–08NA–1 D2–08NA–2 D2–16NA

50 100 100

0 0 0

D2–04TD1 D2–08TD1(–2) D2–16TD1–2 D2–16TD2–2 D2–32TD1(–2)

60 100 200 200 350

20 0 80 0 0

D2–08TA F2–08TA D2–12TA

250 250 350

0 0 0

D2–04TRS D2–08TR F2–08TRS F2–08TR D2–12TR

250 250 670 670 450

0 0 0 0 0

4–8

24V Auxilliary (mA)

5V (mA)

Combination Modules

D2–230 D2–240 D2–250–1 D2–260

F2–04AD–1 50 F2–04AD–1L 100 F2–04AD–2 110 F2–04AD–2L 60 F2–08AD–1 100 F2–08AD–2 100 F2–02DA–1 40 F2–02DA–1L 40 F2–02DA–2 40 F2–02DA–2L 40 F2–08DA–1 30 F2–08DA–2 60 *requires external 5VDC for outputs **add an additional 20mA per loop

Device

80 5mA @ 10-30V 5mA @ 10-30V 90mA @ 12V** 5mA @ 10-30V 5mA @ 10-30V 60** 70mA @ 12V** 60 70mA @ 12V** 50mA** 140

D2–08CDR

200

0

H2–PBC H2–ECOM H2–ECOM100 H2–ECOM-F H2–ERM H2–ERM–F H2–EBC H2–EBC–F H2–CTRIO D2–DCM D2–RMSM D2–RSSS D2–CTRINT D2–08SIM D2–CM D2–EM F2–CP128 F2–DEVNETS–1 F2–SDS–1

530 450 300 640 320 450 320 450 400 300 200 150 50* 50 100 130 235 160 160

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

F2–02DAS–1 F2–02DAS–2 F2–4AD2DA F2–8AD4DA-1 F2–8AD4DA-2 F2–04RTD F2–04THM

100 100 90 35 35 90 110

50mA per channel 60mA per channel 80mA** 100 80 0 60

Specialty Modules

DL205 User Manual, 4th Edition, Rev. A

Page 173

Chapter 4: System Design and Configuration

Power Budget Calculation Example

1 Auxiliary Base # 2 Module Type 5 VDC (mA) Power Source 0 24 VDC Output (mA) Available Base Power D2–09B–1 2600 300 3 4 5 6 7 8 Total Power Required 1520 140 9 Remaining Power Available 2600–1520 = 1080 300 – 140 = 160 1. Use the power budget table to fill in the power requirements for all the system components. First, enter the amount of power supplied by the base. Next, list the 10 requirements for the CPU, any I/O modules, and any other devices, such as the Handheld Programmer, C-more HMI or the DV–1000 operator interface. Remember, even though 11 the Handheld or the DV–1000 are not installed in the base, they still obtain their power from the system. Also, make sure you obtain any external power requirements, such as the 12 24VDC power required by the analog modules. 2. Add the current columns starting with CPU slot and put the total in the row labeled “Total power required” 13 3. Subtract the row labeled “Total power required” from the row labeled “Available Base Power”. Place the difference in the row labeled “Remaining Power Available”. 14 4. If “Total Power Required” is greater than the power available from the base, the power budget will be exceeded. It will be unsafe to use this configuration and you will need to A restructure your I/O configuration. WARNING: It is extremely important to calculate the power budget. If you exceed the power budget, the B system may operate in an unpredictable manner which may result in a risk of personal injury or equipment damage. C D The following example shows how to calculate the power budget for the DL205 system.

CPU Slot Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Other Handheld Programmer

D2–260 D2–16ND3–2 D2–16NA D2–16NA F2–04AD–1 F2–02DA–1 D2–08TA D2–08TD1 D2–08TR

+ 330 + 100 + 100 + 100 + 50 + 40 + 250 + 100 + 250

+0 +0 +0 + 80 + 60 +0 +0 +0

D2–HPP

+ 200

+0

DL205 User Manual, 4th Edition, Rev. A

4–9

Page 174

Chapter 4: System Design and Configuration

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

Power Budget Calculation Worksheet This blank chart is provided for you to copy and use in your power budget calculations. Base # 0

Module Type

5 VDC (mA)

Auxiliary Power Source 24 VDC Output (mA)

Available Base Power CPU Slot Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Other

4–10

Total Power Required Remaining Power Available

1. Use the power budget table to fill in the power requirements for all the system components. This includes the CPU, any I/O modules, and any other devices, such as the Handheld Programmer, C-more HMI or the DV–1000 operator interface. Also, make sure you obtain any external power requirements, such as the 24VDC power required by the analog modules. 2. Add the current columns starting with CPU slot and put the total in the row labeled “Total power required”. 3. Subtract the row labeled “Total power required” from the row labeled “Available Base Power”. Place the difference in the row labeled “Remaining Power Available”. 4. If “Total Power Required” is greater than the power available from the base, the power budget will be exceeded. It will be unsafe to use this configuration and you will need to restructure your I/O configuration. WARNING: It is extremely important to calculate the power budget. If you exceed the power budget, the system may operate in an unpredictable manner which may result in a risk of personal injury or equipment damage.

DL205 User Manual, 4th Edition, Rev. A