The text of a manual · part 19 of 68
DL405 User Manual: Chapter 4: System Design and Configuration, pages 149 to 156
Pages 149 to 156 of 608, from DL405 User Manual
The original document is the PDF (8.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 AutomationDirect D4-08B-1, AutomationDirect D4-08ND3S, AutomationDirect D4-16TA, PLC Direct D4-16TD2, AutomationDirect D4-32ND3-1, Konnect-It D4-08B-1, Koyo D4-08B-1, Konnect-It D4-08ND3S, and 6 more models
Page 149
4--9
System Design and Configuration Power Budget Calculation Example
The following example shows how to calculate the power budget for the DL405 system. Base # 0
Module Type
Auxiliary Power Source 24 VDC Output (mA)
5 VDC (mA)
CPU/ D4--430 Expansion Unit/ Remote Slave Used Slot 0 D4--16ND2
+ 150
+
0
Slot 1
D4--16ND2
+ 150
+
0
Slot 2
F4--04DA--1
+ 70
+ 155
Slot 3
D4--08ND3S
+ 100
+
0
Slot 4
D4--08ND3S
+ 100
+
0
Slot 5
D4--16TD2
+ 400
+
0
Slot 6
D4--16TD2
+ 400
+
0
Slot 7
D4--16TR
+ 1000
+
0
Base D4--08B--1
+ 80
+
0
Handheld Prog D4--HPP
+ 320
+
0
Maximum power required
2770
155
Remaining Power Available
3700--2950 =930 400 -- 300
= 100
3700
400
Other
DL405 User Manual, 4th Edtition
System Design and Configuration
1. Using the tables at the beginning of the Power Budgeting section of this chapter fill in the information for the CPU/Expansion Unit/Remote Slave, I/O modules, and any other devices that will use system power including devices that use the 24 VDC output. Pay special attention to the current supplied by either the CPU, Expansion Unit, and Remote Slave since they do differ. Devices which fall into the “Other” category are devices such as the Base and the Handheld programmer which also have power requirements but do not directly plug into the base. 2. Add the current columns starting with Slot 0 and put the total in the row labeled “Maximum power required”. 3. Subtract the row labeled “Maximum power required” from the row labeled “CPU/Expansion Unit/Remote Slave Used”. Place the difference in the row labeled “Remaining Power Available”. 4. If “Maximum Power Required” is greater than “CPU/Expansion Unit/Remote Slave Used” in any of the three columns, the power budget will be exceeded. It will be unsafe to used this configuration and you will need to restructure your I/O configuration.
Page 150
4--10
System Design and Configuration
Power Budget Calculation Worksheet
You may copy and use the following blank chart for your power budget calculations. Base # Module Type
5 VDC (mA)
Auxiliary Power Source 24 VDC Output (mA)
CPU/ Expansion Unit/ Remote Slave Used Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Other
Maximum Power Required System Design and Configuration
Remaining Power Available 1. Using the tables at the beginning of the Power Budgeting section of this chapter fill in the information for the CPU/Expansion Unit/Remote Slave, I/O modules, and any other devices that will use system power including devices that use the 24 VDC output. Pay special attention to the current supplied by either the CPU, Expansion Unit, and Remote Slave since they do differ. Devices which fall into the “Other” category are devices such as the Base and the Handheld programmer which also have power requirements but do not directly plug into the base. 2. Add the current columns starting with Slot 0 and put the total in the row labeled “Maximum power required”. 3. Subtract the row labeled “Maximum power required” from the row labeled “CPU/Expansion Unit/Remote Slave Used”. Place the difference in the row labeled “Remaining Power Available”. 4. If “Maximum Power Required” is greater than “CPU/Expansion Unit/Remote Slave Used” in any of the three columns, the power budget will be exceeded. It will be unsafe to used this configuration and you will need to restructure your I/O configuration.
DL405 User Manual, 4th Edition
Page 151
System Design and Configuration
4--11
Local I/O Expansion
430 440 450
The following I/O base configurations will assist you in understanding the options available in the DL405 series. Local and expanded bases are the most common and cost effective way of installing I/O. With local and expanded I/O the CPU can automatically configure the I/O for you. Use Remote I/O when it is necessary to locate I/O at distances away from the CPU. Remote I/O will require additional ladder programming to operate.
Local Base and I/O The local base is the base in which the CPU resides. Local I/O modules reside in the same base as the CPU. For example, placing 32 point modules in all eight slots in an 8-slot base will use 256 I/O points . The status of each I/O point is updated each I/O scan of the CPU. Local Expansion Base and I/O
16pt Input
8pt Input
32pt 16pt 8pt 16pt Input Output Output Output
X0 X20 X30 Y0 Y20 Y30 ------X17 X27 X67 Y17 Y27 Y47
CPU
Use local expansion when you need more I/O points or a greater power budget than the local base provides. The expansion bases require a Local Expansion Unit (in the place of a CPU), and a cable (either D4--EXCBL--1 or D4--EXCBL--2) to connect to the local CPU base. The CPU base is always the first base in the expansion chain. The following figure shows one CPU base, two expansion bases and examples of I/O numbering.
DL430/440: supports a maximum of 3 expansion bases, and maximum of 320 input points and 320 output points (includes local base I/O)
8pt Input
Expansion cable output connection
CPU
16pt Input
8pt Input
8pt 8pt Output Output
16pt Output
X0 X10 X30 Y0 Y10 Y20 ------X07 X27 X37 Y07 Y17 Y37
Maxi. 3.05 ft (1M)
Expansion Base 16pt Input
Expansion cable input connection Expansion cable output connection
Maxi. 3.05 ft (1M)
EXP
16pt Input
8pt Input
32pt Input
16pt 8pt Output Output
8pt Output
8pt Output
X40 X60 X100 X110 Y40 Y60 Y70 Y100 --------X57 X77 X107 X147 Y57 Y67 Y77 Y107
Expansion Base 8pt Input
Expansion cable input connection
EXP
8pt Input
16pt Input
16pt Input
16pt Input
16pt Output
X150 X160 X170 X210 X230 Y110 ------X157 X167 X207 X227 X247 Y127
DL405 User Manual, 4th Edtition
System Design and Configuration
DL450: supports a maximum of 3 expansion bases, and maximum of 1024 input points and 1024 output points (includes local base I/O)
Local Base
Page 152
4--12
System Design and Configuration
Remote I/O Expansion How to Add Remote I/O Channels
430 440 450
Remote I/O is useful for a system that has a sufficient number of sensors and other field devices located a relative long distance away (up to 1000 meters, or 3050 feet) from the more central location of the CPU. The methods of adding remote I/O are: S DL430 / DL440 CPUs: Remote I/O requires a remote master module (D4--RM) to be installed in the local CPU base. The CPU updates the remote master, then the remote master handles all communication to and from the remote I/O base by communicating to the remote slave module (D4--RS) installed in each remote base. S DL450 CPU: The CPU’s comm port 3 features a built-in Remote I/O channel. You may also use one or two D4--RM remote masters in the local base as described above (can use either or both methods). DL430
DL440
DL450
2
2
2
CPU built-in Remote I/O channels none none
1
Maximum I/O points supported by each channel
512
512
512
Maximum Remote I/O points supported
512
1024
1536
Maximum number of remote I/O bases per channel
7
7
7
System Design and Configuration
Maximum number of Remote Masters supported in the local CPU base (1 channel per Remote Master)
The use of Remote I/O does not limit the use of local expansion I/O discussed in the previous section. In fact, Remote I/O point numbering is assignable. Depending on the CPU scan time, remote I/O updates may be slower than local and expansion I/O, due to the serial communications involved. Remote I/O points map into different CPU memory locations than local/local expansion I/O. So, the addition of remote I/O does not reduce the number of local I/O points. Refer to the DL405 Remote I/O manual for details on remote I/O configuration and numbering. The following figure shows 1 CPU base, and one remote I/O channel with seven remote bases. If the CPU is a DL450, adding the first remote I/O channel does not require installing a remote master module (we use the CPU’s built-in remote I/O channel on port 3). Remote I/O -- 7 Bases per channel -- 3280 ft. (1000m) Total distance
Expansion I/O also available CPU Base R M
DL405 User Manual, 4th Edition
Page 153
System Design and Configuration Configuring the CPU’s Remote I/O Channel
430 440 450
4--13
This section describes how to configure the DL450’s built-in remote I/O channel. Additional information is in the Remote I/O manual, D4--REMIO--M, which you will need in configuring the Remote slave units on the network. You can use the D4--REMIO--M manual exclusively when using regular Remote Masters and Remote Slaves for remote I/O in any DL405 system. The DL450 CPU’s built-in remote I/O channel has the same capability as a Remote Master module, the D4--RM. Specifically, it can communicate with up to seven remote bases containing a maximum of 512 I/O points, at a maximum distance of 1000 meters. If required, you can still use Remote Master modules in the local CPU base (512 I/O points on each channel), for a total of three channels providing 1536 total remote I/O points. First, we’ll need to set up the Remote I/O communications. You may recall from the CPU specifications in Chapter 3 that the DL450’s Port 3 is capable of several protocols. To configure the port using the Handheld Programmer, use AUX 56 and follow the prompts, making the same choices as indicated below on this page. To configure the port in DirectSOFT, choose the PLC menu, then Setup > Setup Secondary Comm Port. S S
Port: From the port number list box at the top, choose “Port 3”. Protocol: Click the box to the left of “Remote I/O” to select it (called “M--NET” on the HPP). The dialog shown below will appear. 3
S
S
Station Number: Choose “0” as the station number, which makes the DL450 the master. Station numbers 1--7 are reserved for remote slaves. Baud Rate: The baud rates 19200 and 38400 baud are available. Choose 38400 initially as the remote I/O baud rate, and revert to 19200 baud if you experience data errors or noise problems on the link. Important: You must configure the baud rate on the Remote Slaves (via DIP switches) to match the baud rate selection for the CPU’s Port 3. Memory Address: Choose a V-memory address to use as the starting location of a Remote I/O configuration table (V37700 is the default). This table is separate and independent from the table for any Remote Master(s) in the system. Then click the button indicated to send the Port 3 configuration to the CPU, and click Close.
DL405 User Manual, 4th Edtition
System Design and Configuration
S
Page 154
4--14
System Design and Configuration The next step is to make the connections between all devices on the Remote I/O link. The location of the Port 3 on the DL450 is on the 25-pin connector , as pictured to the right. Remember that ports 1 and 3 are “logical” ports that share the 25-pin connector. Port 3 is an RS--422 nonisolated port. The pin assignments are: Signal GND S Pin 7 S Pin 12 TXD+ S Pin 13 TXD-S Pin 24 RXD+ S Pin 25 RXD--
Port 3 1
14
0V
TXD+ TXD--
13
25
RXD+ RXD--
Now we are ready to discuss wiring the DL450 to the remote slaves on the remote base(s). The remote I/O link is a 3-wire, half-duplex type. Since Port 3 of the DL450 CPU is a 5-wire full duplex--capable port, we must jumper its transmit and receive lines together as shown below (converts it to 3-wire, half-duplex). DL450 CPU Port 3 Remote I/O Master
0V 7
Termination Resistor RXD+ RXD--
TXD+ TXD--
13
25
System Design and Configuration
Recommended cable: Belden 9841 or equivalent.
Remote I/O Slave
T
Remote I/O Slave (end of chain)
Jumper
T
TXD+ / RXD+
1
1
TXD-- / RXD--
2
2
Signal GND
3
3
G
G
Connect shield to signal ground
Internal 330 ohm resistor
The twisted/shielded pair connects to the DL450 Port 3 as shown. Be sure to connect the cable shield wire to the signal ground connection. A termination resistor must be added externally to the CPU, as close as possible to the connector pins. Its purpose is to minimize electrical reflections that occur over long cables. Be sure to add the jumper at the last slave to connect the required internal termination resistor. Ideally, the two termination resistors at the cables opposite ends and the cable’s rated impedance should match. For cable impedances greater than 330 ohms, add a series resistor at the last slave as shown to the right. If less than 330 ohms, just parallel a matching resistance across the slave’s pins 1 and 2 instead. For example, to match the termination resistance to Belden 9841, use a 120 ohm resistor across terminals 1 and 2. Remember to size the termination resistor at Port 3 to match. The resistance values should be between 100 and 500 ohms.
DL405 User Manual, 4th Edition
Add series external resistor
T 1 2 3 G
Internal 330 ohm resistor
Page 155
System Design and Configuration Configure Remote I/O Slaves
4--15
After configuring the DL450 CPU’s Port 3 and wiring it to the remote slave(s), use the following checklist to complete the configuration of the remote slaves. Full instructions for these steps are in the Remote I/O manual. S Set the baud rate DIP switches to match CPU’s Port 3 setting. S Select a station address for each slave, from 1 to 7. Each device on the remote link must have a unique station address. There can be only one master (address 0) on the remote link. If you’re familiar with configuring remote bases, then you’ll recall the fixed table location in V-memory (V7404--V7477) to configure up to two remote I/O channels. However, we use a separate table for configuring the DL450 CPU’s built-in remote I/O channel. You will still need the table at V7404 to configure any Remote Master modules.
Configuring the Remote I/O Table
The beginning of the configuration table for the built-in remote I/O channel is the memory address we selected in the Port 3 setup. The table consists of blocks of four words which correspond to each slave in the system, as shown to the right. The first four table locations are reserved. The CPU reads data from the table just after powerup, interpreting the four data words in each block with these meanings: 1. Starting address of slave’s input data 2. Number of slave’s input points 3. Starting address of outputs in slave 4. Number of slave’s output points
37700
Remote I/O data Reserved V37700 V37701 V37702 V37703 xxxx xxxx xxxx xxxx
Slave 1 V37704 (or last V37705 slave) V37706 V37707 xxxx xxxx xxxx xxxx
V37734 V37735 V37736 V37737
0000 0000 0000 0000
Slave 7 (or last slave)
DirectSOFT SP0
LDA O40000 OUT V37704 LD K16 OUT V37705
DL405 User Manual, 4th Edtition
System Design and Configuration
The table is 32 words long. If your system has fewer than seven remote slave bases, then the remainder of the table must be filled with zeros. For example, a 3--slave system will have a remote configuration table containing 4 reserved words,12 words of data and 16 words of “0000”. A portion of the ladder program must configure this table (just once) at powerup. Use the LDA instruction as shown to the right, to load an address to place in the table. Use the regular LD constant to load the number of the slave’s input or output points. The D4--REMIO--M manual contains thorough examples for configuring the table at V7404, which you can adapt for this table as well. The following page give a shorter program example for one slave.
Memory Addr. Pointer
Page 156
4--16
System Design and Configuration Consider the simple system featuring Remote I/O shown below. The DL450’s built-in Remote I/O channel connects to one slave base, which we will assign a station address=1. The baud rates on the master and slave will be 38400 kB. We can map the remote I/O points as any type of I/O point, simply by choosing the appropriate range of V-memory. Remember that on the DL450, you have both GX and GY data types available. Since we have plenty of standard I/O addresses available (X and Y), we will have the remote I/O points start at the next X and Y addresses after the main base points (X60 and Y40, respectively). Main Base with CPU as Master
Remote Slave Worksheet 1
Remote Base Address_________(Choose 1--7)
DL450 CPU
16
16
I
Port 3
16
I
X0-X17 V40400
16
I
16
O
O
X20-X37 X40-X57 Y0-Y17 V40401 V40402 V40500
Y20-Y37 V40501
Remote Slave
0
INPUT Module Name Input Addr. No. Inputs 08ND3S X060 8
1
08ND3S
2
08TD1
Y040
8
3
08TD1
Y050
8
Slot Number
X070
OUTPUT Output Addr.
No. Outputs
8
4 5 6
D4--RS Slave
8
8
8
8
I
I
O
O
7 X060 Input Bit Start Address:________V-Memory Address:V_______ 40403 16 Total Input Points_____ Y040 40502 Output Bit Start Address:________V-Memory Address:V_______
X60-X67 X70-X77 Y40-Y47 Y50-Y57 V40403 V40404 V40502 V40503
System Design and Configuration
Remote I/O Setup Program
Using the Remote Slave Worksheet shown above can help organize our system data in preparation for writing our ladder program (a blank full-page copy of this worksheet is in Appendix A of the D4--REMIO--M manual for your use and duplication). The four key parameters we need to place in our Remote I/O configuration table is in the lower right corner of the worksheet. You can determine the address values by using the memory map given at the end of Chapter 3, CPU Specifications and Operation. The program segment required to transfer our worksheet results to the Remote I/O configuration table is shown to the right. Remember to use the LDA or LD instructions appropriately. The next page covers the remainder of the required program to get this remote I/O link up and running.
DL405 User Manual, 4th Edition
16 Total Output Points_____
DirectSOFT SP0
LDA O40403 OUT V37704 LD K16 OUT V37705 LDA O40502 OUT V37706 LD K16 OUT V37707