The text of a manual · part 20 of 61
DL205 PLC User Manual, Volume 1 of 2: Chapter 4: System Design and Configuration, pages 175 to 184
Pages 175 to 184 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 175
Chapter 4: System Design and Configuration
Local Expansion I/O Use local expansion when you need more I/O points, a greater power budget than the local CPU base provides or when placing an I/O base at a location away from the CPU base, but within the expansion cable limits. Each local expansion base requires the D2–CM controller module in the CPU slot. The local CPU base requires the D2–EM expansion module, as well as each expansion base. All bases in the system must be the new (–1) bases. These bases have a connector on the right side of the base to which the D2–EM expansion module attaches. All local and local expansion I/O points are updated on every CPU scan. Use DirectSOFT PLC Configure I/O menu option to view the local expansion system automatic I/O addressing configuration. This menu also allows manual addresses to be assigned if necessary. DL230 Total number of local / expansion bases per system Maximum number of expansion bases Total I/O (includes CPU base and expansion bases) Maximum inputs Maximum outputs Maximum expansion system cable length
DL240
DL250
DL250-1
These CPUs do not support local expansion systems
DL260
3 5 2 4 768 1280 512 1024 512 1024 30m (98ft.)
D2–CM Local Expansion Module The D2–CM module is placed in the CPU slot of each expansion base. The rotary switch is used to select the expansion base number. The expansion base I/O addressing (Xs and Ys) is based on the numerical order of the rotary switch selection and is recognized by the CPU on power–up. Duplicate expansion base numbers will not be recognized by the CPU. The status indicator LEDs on the D2–CM front panels have specific functions which can help in programming and troubleshooting. D2–CM Indicators PWR (Green) RUN (Green) DIAG (Red)
Status ON OFF ON OFF ON ON/OFF OFF
Expansion Controller
Meaning Power good Power failure D2–CM has established communication with PLC D2–CM has not established communication with PLC Hardware watch–dog failure I/O module failure (ON 500ms / OFF 500ms) No D2–CM error
DL205 User Manual, 4th Edition, Rev. A
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
4–11
Page 176
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–12
D2–EM Local Expansion Module The D2–EM expansion unit is attached to the right side of each base in the expansion system, including the local CPU base. (All bases in the local expansion system must be the new (–1) bases). The D2–EMs on each end of the expansion system should have the TERM (termination) switch placed in the ON position. The expansion units between the endmost bases should have the TERM switch placed in the OFF position. The CPU base can be located at any base position in the expansion system. The bases are connected in a daisy–chain fashion using the D2–EXCBL–1 (category 5 straight–through cable with RJ45 connectors). Either of the RJ45 ports (labelled A and B) can be used to connect one expansion base to another.
The status indicator LEDs on the D2–EM front panels have specific functions which can help in programming and troubleshooting. D2–EM Indicator
Status
Meaning
ON OFF
ACTIVE (Green)
D2–EM is communicating with other D2–EM D2–EM is not communicating with other D2–EM
WARNING: Connect/disconnect the expansion cables with the PLC power turned OFF in order for the ACTIVE indicator to function normally.
D2–EXCBL–1 Local Expansion Cable The category 5 straight–through D2–EXCBL–1 (1m) is used to connect the D2–EM expansion modules together. If longer cable lengths are required, we recommend that you purchase a commercially manufactured cable with RJ45 connectors already attached. The maximum total expansion system cable length is 30m (98ft.). Do not use Ethernet hubs to connect the local expansion network together. D2–EXCBL–1 Cable
1 2 3 4 5 6 78
8-pin RJ45 Connector (8P8C)
1 2 3 4 5 6 7 8
RJ45
GRN/WHT
GRN
1 2 3 4 5 GRN 6 7 8
GRN/WHT
RJ45
NOTE: Commercially available Patch (Straight–through) Category 5, UTP cables will work in place of the D2–EXCBL–1. The D2–EM modules only use the wires connected to pins 3 and 6 as shown above.
DL205 User Manual, 4th Edition, Rev. A
Page 177
Chapter 4: System Design and Configuration
DL260 Local Expansion System
1 2 3 4 5 NOTE: Do not use Ethernet hubs to connect the local expansion system together 6 7 8 NOTE: Use D2-EXCBL-1 (1m) 9 (Category 5 straight-through cable) to connect the D2-EMs together 10 11 12 • The CPU base can be located at any base position in the expansion system. • All discrete and analog modules are supported in the expansion bases. Specialty modules are 13 not supported in the expansion bases. • The D2–CMs do not have to be in successive numerical order, however, the numerical 14 rotary selection determines the X and Y addressing order. The CPU will recognize the local and expansion I/O on power–up. Do not duplicate numerical selections. A • The TERM (termination) switch on the two endmost D2–EMs must be in the ON position. The other D2–EMs in between should be in the OFF position. B • Use the D2–EXCBL–1 or equivalent cable to connect the D2–EMs together. Either of the RJ45 ports (labelled A and B) on the D2–EM can be used to connect one base to another. C D The D2–260 supports local expansion up to five total bases ( one CPU base + four local expansion bases) and up to a maximum of 1280 total I/O points. An example local expansion system is shown below. All local and expansion I/O points are updated on every CPU scan. No specialty modules can be located in the expansion bases (refer to the Module Placement Table earlier in this chapter for restrictions).
D2–CM Expansion Base Number Selection
D2–EM Termination Switch Settings
I/O addressing #5
I/O addressing #4
D2–260 CPU
30m (98ft.) max. cable length
I/O addressing #1
I/O addressing #2
I/O addressing #3
DL205 User Manual, 4th Edition, Rev. A
4–13
Page 178
Chapter 4: System Design and Configuration
NOTE: When applying power to the CPU (DL250–1/260) and local expansion bases, make sure the expansion bases power up at the same time or before the CPU base. Expansion bases that power up after 1 the CPU base will not be recognized by the CPU. (See chapter 3 Initialization Process timing specifications). 2 DL250–1 Local Expansion System The D2–250–1 supports local expansion up to three total bases ( one CPU base + two local 3 expansion bases) and up to a maximum of 768 total I/O points. An example local expansion system is shown below. All local and expansion I/O points are updated on every CPU scan. 4 No specialty modules can be located in the expansion bases (refer to the Module Placement Table earlier in this chapter for restrictions). 5 Expansion D2–EM Termination 6 D2–CM Base Number Selection Switch Settings 7 Use D2–EXCBL–1 (1m) (Category 5 straight– through cable) to connec 8 the D2-EMs together. . D2–250–1 9 CPU 30m (98ft.) max. cable length 10 11 Note: Do not use Ethernet hubs to connect the local 12 expansion system together. 13 14 • The CPU base can be located at any base position in the expansion system. • All discrete and analog modules are supported in the expansion bases. Specialty modules are A not supported in the expansion bases. • The D2–CMs do not have to be in successive numerical order, however, the numerical rotary selection determines the X and Y addressing order. The CPU will recognize the local B and expansion I/O on power–up. Do not duplicate numerical selections. • The TERM (termination) switch on the two endmost D2–EMs must be in the ON C position. The other D2–EMs in between should be in the OFF position. • Use the D2–EXCBL–1 or equivalent cable to connect the D2–EMs together. Either of the D RJ45 ports (labelled A and B) on the D2–EM can be used to connect one base to another. I/O addressing #3
I/O addressing #1
I/O addressing #2
4–14
DL205 User Manual, 4th Edition, Rev. A
Page 179
Chapter 4: System Design and Configuration
Expansion Base Output Hold Option
1 2 3 4 5 6 7 Bit = 1 Output Hold 8 D2–CM Expansion Base Hold Output 9 Expansion V–memory Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Base No. Register 10 11 WARNING: Selecting “HOLD LAST STATE” means that outputs on the expansion bases will not be under 12 program control in the event of a communications failure. Consider the consequences to process operation carefully before selecting this mode. 13 14 A B C D The bit settings in V–memory registers V7741 and V7742 determine the expansion bases’ outputs response to a communications failure. The CPU will exit the RUN mode to the STOP mode when an expansion base communications failure occurs. If the Output Hold bit is ON, the outputs on the corresponding module will hold their last state when a communication error occurs. If OFF (default), the outputs on the module unit will turn off in response to an error. The setting does not have to be the same for all the modules on an expansion base. The selection of the output mode will depend on your application. You must consider the consequences of turning off all the devices in one or all expansion bases at the same time vs. letting the system run “steady state” while unresponsive to input changes. For example, a conveyor system would typically suffer no harm if the system were shut down all at once. In a way, it is the equivalent of an “E–STOP”. On the other hand, for a continuous process such as waste water treatment, holding the last state would allow the current state of the process to continue until the operator can intervene manually. V7741 and V7742 are reserved for the expansion base Output Hold option. The bit definitions are as follows: Bit = 0 Output Off (Default)
Exp. Base 1 Exp. Base 2 Exp. Base 3 Exp. Base 4
V7741
Bit
V7742
Bit
0 8 0 8
1 9 1 9
2 10 2 10
3 11 3 11
4 12 4 12
5 13 5 13
6 14 6 14
DL205 User Manual, 4th Edition, Rev. A
7 15 7 15
4–15
Page 180
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–16
Enabling I/O Configuration Check using DirectSOFT Enabling the I/O Config Check will force the CPU, at power up, to examine the local and expansion I/O configuration before entering the RUN mode. If there is a change in the I/O configuration, the CPU will not enter the RUN mode. For example, if local expansion base #1 does not power up with the CPU and the other expansion bases, the I/O Configuration Check will prevent the CPU from entering the RUN mode. If the I/O Configuration check is disabled and automatic addressing is used, the CPU would assign addresses from expansion base #1 to base #2 and possibly enter the RUN mode. This is not desirable, and can be prevented by enabling the I/O Configuration check. Manual addressing can be used to manually assign addresses to the I/O modules. This will prevent any automatic addressing re–assignments by the CPU. The I/O Configuration Check can also be used with manual addressing. To display the I/O Config Check window, use DirectSOFT>PLC menu>Setup>I/O Config Check.
Select “Yes”, then save to disk or to PLC, if connected to the PLC.
DL205 User Manual, 4th Edition, Rev. A
Page 181
Chapter 4: System Design and Configuration
Expanding DL205 I/O
1 I/O Expansion Overview Expanding I/O beyond the local chassis is useful for a system which has a sufficient number 2 of sensors and other field devices located a relatively long distance from the CPU. There are two forms of communication which can be used to add remote I/O to your system; either a 3 Ethernet or a serial communication network. A discussion of each method follows. Ethernet Remote Master, H2-ERM(-F) 4 The Ethernet Remote Master, H2-ERM(-F), is a module that provides a low-cost, high-speed Ethernet Remote I/O link to connect either a DL240, a DL250-1 or a DL260 CPU to slave
5 I/O over a high-speed Ethernet link.
Each H2-ERM module can support up to 16 additional H2-EBC systems, 16 Terminator
6 I/O EBC systems, or 16 fully expanded H4-EBC systems.
The H2-ERM connects to your control network using 7 Specifications H2-ERM H2-ERM-F Category 5 UTP cables for Communications distances up to 100 meters Data Transfer Rate 8 (328 ft.). Repeaters are used Link Distance to extend the distances and Ethernet Port to expand the number of 9 Ethernet Protocols nodes. The fiber optic Power Consumption version, H2-ERM-F, uses 10 industry standard 62.5/125 ST-style fiber optic cables and can be run up to 2,000 meters (6560 ft.). 11 The PLC, ERM and EBC slave modules work together to update the remote I/O points. These three scan cycles are occurring at the same time, but asynchronously. We recommend that critical I/O points that must be monitored every scan be placed in the CPU base. 12 13 14 A B C D 230 240
250-1 260
10BaseT Ethernet
10BaseFL Ethernet
10Mbps
100 meters (328 ft)
2000 meters (6560 ft)
RJ45
ST-style fiber optic
TCP/IP, IPX
320mA @ 5VDC
450mA @ 5VDC
DL205 User Manual, 4th Edition, Rev. A
4–17
Page 182
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–18
Ethernet Remote Master Hardware Configuration Use a PC equipped with a 10BaseT or a 10BaseFL network adapter card and the Ethernet Remote Master (ERM) Workbench software configuration utility (included with the ERM manual, H24-ERM-M) to configure the ERM module and its slaves over the Ethernet remote I/O network. PC running ERM WorkBench to configure the ERM network DirectLogic PLC
Dedicated Hub(s) for ERM Network
ERM Module DirectLogic DL205 I/O with EBC Module
GS–EDRV or HA–EDRV2
DirectLogic DL405 I/O with EBC Module
AC Drive
Terminator I/O with EBC Module
When networking ERMs with other Ethernet devices, we recommend that a dedicated Ethernet remote I/O network be used for the ERM and its slaves. While Ethernet networks can handle an extremely large number of data transactions, and normally very quickly, heavy Ethernet traffic can adversely affect the reliability of the slave I/O and the speed of the I/O network. Keep ERM networks, multiple ERM networks and ECOM/office networks isolated from one another. Once the ERM remote I/O network is configured and running, the PC can be removed from the network. DirectLogic PLC
Dedicated Hub(s) for ERM Network
ERM Module DirectLogic DL205 I/O with EBC Module
GS–EDRV or HA–EDRV2
AC Drive
DL205 User Manual, 4th Edition, Rev. A
DirectLogic DL405 I/O with EBC Module
Terminator I/O with EBC Module
Page 183
Chapter 4: System Design and Configuration
Installing the ERM Module
1 2 3 4 5 6 7 • Use the DIP switches on the module (1-63). 8 • Use the configuration tools in NetEdit Use the DIP switch to install and change slave modules without using a PC to set the Module 9 ID. Set the module’s DIP switch, insert the module in the base, and connect the network 10 11 12 13 14 H2-ERM A cable. The Module ID is set on powerup, and it is ready to communicate on the network. The Module IDs can also be set or changed on the network from a single PC by using the B tools in NetEdit. The Module ID equals the sum of the binary values of the slide switches set in the ON C position. For example, if slide switches 1, 2 and 3 are set to the ON position, the Module ID will be 14. This is found by adding 8+4+2=14. The maximum value which can be set on the DIP switch is 32+16+8+4+2=63. This is achieved by setting switches 0 through 5 to the ON D position. The 6 and 7 switch positions are inactive. This section will briefly describe the installation of the ERM module. More detailed information is available in the Ethernet Remote Master Module manual, H24-ERM-M, which will be needed to configure the communication link to the remote I/O. In addition to the manual, configuration software will be needed. The ERM Workbench software utility must be used to cofigure the ERM and its slave modules. The utility is provided on a CD which comes with the ERM manual. The ERM module can be identified by two different methods, either by Module ID (dip switch) or by Ethernet address, which ever method is used, the ERM Workbench is all that is needed to cofigure the network modules. NetEdit software utility (included with the ERM Workbench utility) will be needed in addition to the ERM Workbench if IP addressing (UDP/IP) is necessary or if the Module ID is set with software. ERM Module ID Set the ERM Module ID before installing the module in the DL205 base. Always set the module ID to 0. A Module ID can be set in one of two ways:
ON
7
Not Used
6
5 4 3 2 1 0 . . . . . . 25 24 23 22 21 20 . . . . . . (32)(16) (8) (4) (2) (1)
Binary Value
DL205 User Manual, 4th Edition, Rev. A
4–19
Page 184
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–20
Insert the ERM Module The DL205 system only supports the placement of the ERM module in the CPU base. It does not support installation of the ERM module in either local expansion or remote I/O bases. The number of useable slots depends on how many slots the base has. All of the DL205 CPUs support the ERM module, except the D2-230. DL205
CPU
Slot 0
Slot 1 Slot 2
Slot 3
Slot 4
Do not install the ERM in Slot 0.
NOTE: The module will not work in slot 0 of the DL205 series PLCs, the slot next to the CPU.
Network Cabling Of the two types of ERM modules available, one supports the 10BaseT standard and the other one supports the 10BaseFL standard. The 10BaseT standard uses twisted pairs of copper wire conductors and the 10BaseFL standard is used with fiber optic cabling. 10BaseT
10BaseFL
Unshielded Twisted-Pair cable with RJ45 connectors
62.5/125 MMF fiber optics cable with ST-style connectors
DL205 User Manual, 4th Edition, Rev. A