Home
System Design and Configuration
Contents
1. Reserved V37700 xxxx V37701 xxxx V37702 xxxx V37703 xxxx Slave 1 V37704 xxxx or last Y37705 xxxx slave 37706 xxx V37707 Xxxx J J J Slave 7 V37734 0000 slave V37736 0000 V37737 0000 DirectSOFT ai LDA 040000 OUT V37704 LD K16 OUT V37705 DL405 User Manual 4th Edtition Rev A o 5 fef fo 3 Co c g 9 fe 5 UBISSG wa shS 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 DL450 Remote Base Address 1 Choose 1 7 CPU 16 16 16 16 16 Slot Module RAJE DUT Number N
2. 4 6 System Design and Configuration Removing a After a manual configuration the system will automatically retain the new I O Manual addresses through a power cycle You can remove overwrite any manual Configuration configuration changes by simply performing an automatic configuration The following diagram shows how I O addresses change after manually configuring a slot 0 a a 0 A Slot Slot 1 Slot 2 Slot 3 Automato 8pt Input 32pt Output 16pt Input 8pt Input X0 X7 YO Y37 X10 X27 X30 X37 Slot 0 Slot 1 Slot 2 Slot 3 Manual 8pt Input 32pt Output 16pt Input 8pt Input XO X7 YO Y37 X100 X117 X20 X27 Power On I O The DL405 CPUs can also be set to automatically check the I O configuration on Configuration power up By selecting this feature you can detect any changes that may have Check occurred while the power was disconnected For example if someone places an output module in a slot that previously held an input module the configuration check will 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 If the system detects a change in the I O configuration at power up an error code E252 NEW I O CONFIGURATION will be generated You can use AUX 42 to determine the exact base and slot location where the change occurred cS
3. onto the CPU s accumulator stack When RX read the WX or RX instruction executes it uses i NENEK the information on the stack combined with data in the instruction box to completely define the task which goes to oe Ob co the port zje oam 0 P 25 It s possible to use both Port 1 and Port 3 8 4 AD for either MODBUS or DirectNET and to a ES use either or both as masters You must ee Network 1 pO tell the WX and RX instructions the KE a Network 2 ae intended port for each communications transaction To summarize the RLL instructions identify the following items 1 Port number on the master Port 1 or 3 and the slave station address LD instruction 2 Amount of data in bytes you want to transfer LD instruction Area of memory to be used by the master LDA instruction 4 Area of CPU V memory to be used in communication with the slave and whether it is a write or read operation WX or RX instruction 5 Interlocks for communication timing for multiple WX and RX routines a DL405 User Manual 4th Edition Rev A Step 1 Identify Master Port and Slave Step 2 Load Number of Bytes to Transfer System Design and Configuration 4 29 The first Load LD instruction identifies the communications port number on the network master DL450 and the address of the slave station This instruction can address up to 90 MODBUS slaves or 90 DirectNET slaves The format of the word is shown
4. System Design and Configuration In some applications the DL450 CPU asa network master will Communicate only periodically to slaves s on the network However most applications will probably want to make a continuous update of memory areas from a slave to the master This normally means starting the task on each PLC SCAN However a single WX or RX network communication will probably last longer than one PLC scan time And we must wait before executing another RX or WX until the port has finished transmitting the previous WX or RX data Port Communication Error SP113 Y1 SET SP112 LD VA KF101 a LD Port Busy K0003 LDA 040600 RX YO Each port which can be a master has two Special Relay contacts associated with it see Appendix D for comm port special relays One indicates Port busy and the other indicates Port Communication Error The example above shows the use of these contacts for a network master that only reads a device RX The Port Busy contact ensures one network transaction finishes before we begin another Use of the communication error SP relay is optional If used be sure to place it atthe beginning of the communication routines because a comm error relay is always reset turned off whenever an RX or WX instruction using the same port executes If you re using multiple reads and writes in the RLL program you have to interlock the
5. 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 Local Base maximum of 3 expansion bases m and maximum of 320 input O spt iept spt apt apt rept points and 320 output points Al gt Input Input Input Output Output Output includes local base I O X0 X10 X30 YO Y10 Y20 E i bl aalas laaalvaal riya l ouput connection CPU x07 x27 x37 Yoz Y17 Y37 DL450 supports a maximum o of 3 expansion bases and A maximum of 1024 input points z o and 1024 output points Maxi 3 05 ft 1M includes local base I O Expansion Base a EE og Expansion cable O inet ft a aa Ourput losu loku o But 33 input connection 5 o X40 X60 X100 X110 Y40 Y60 Y70 Y100 D Expansion cable e7 x77 lyan7zlyqa7l vs71 vez y77 bye 2o a connection EXP X57 X77 X107 X147 Y57 Y67 Y77 Y107 Q m y Maxi 3 05 ft 1M Expansion Base 18 x 8pt 8pt 16pt 16pt 16pt Expansion cable O Input Input Input Input Input Output input connection o X150 X160 X17
6. e Pin7 Signal GND e o e Pin12 TXD fs o S aul HH 0 i j2 Hi 2 m 13 TXD g ji Tio e RXD e Pin24 RXD 2 PS g 1 e Pin25 RXD i 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 Slave ov i Remote I O Master Remote I O Slave fend of chain 2 Termination T Jumper TD A O Resistor TXD ep ep RXD 4 w A 1 RXD S TXD 2 RxD s TXD RXD 259 NS TXD 5 ia p 7 25 Internal 1 Signal GND 3 330 ohm 13 D D resistor Recommended cable Belden 9842 or equivalent cre nc 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 Add series impedance should match For cable external TPH int
7. Oe gs WARNING You should always correct any I O configuration errors before you mke XJ WZ place the CPU into RUN mode Uncorrected errors can cause unpredictable 1 on machine operation that can result in a risk of personal injury or damage to 25 equipment wn Ge 7 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 AUX 45 to select the new configuration or keep the existing configuration stored in memory WARNING Verify the I O configuration being selected will work properly with X Z the CPU program Always correct any I O configuration errors before placing Lon 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 DL405 User Manual 4th Edition Rev A 4 7 System Design and Configuration Calculating the Power Budget Managing your As you have seen the I O configuration depends on your choice of I O modules Power Resource bases and I O location When determining the types and quantity of I O modules you will be using in the DL405 system it is important to remember there is a limited amount of power available from the power supply to the system We have provided a chart to help you easily see the amount of power you will have with your CPU Expansion Unit or
8. Remote Slave selection 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 If the I O you chose exceeds the maximum power available from the power supply you can resolve the problem by shifting some of the modules to an expansion base which contains another power supply WARNING It is extremely important to calculate the power budget correctly If X Z you exceed the power budget the system may operate in an unpredictable ti manner which may result in a risk of personal injury or equipment damage CPU Power The following chart shows the amount of current available for the two voltages Specifications supplied on the DL405 CPU Expansion unit or Remote Slave unit Use these currents when calculating the power budget for you system The Auxiliary 24V Power Source mentioned in the table is a connection at the base terminal strip allowing you to connect to devices or DL405 modules that require 24VDC Auxiliary 24V Auxiliary 24V 5V Current Power Source 5V Current Power Source CPUs Supplied in Current Ead a A Supplied in Current mA Supplied in p mA Supplied in mA mA D4 430 3700 400 D4 EX 4000 400 gt D4 440 3700 400 D4 EXDC 4000 None aL D4 440DC 1 3700 None D4 EXDC 2 3700 None OF D4
9. User Manual 4th Edtition Rev A 4 10 System Design and Configuration Power Budget You may copy and use the following blank chart for your power budget calculations Calculation Worksheet Base Auxiliary Module Type 5 VDC mA 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 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
10. data types were presented earlier but they have been included again in the following table The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X SP Y CR S T C contacts e Word V Timer current value Counter current value In either case you basically just convert the PLC octal address to decimal and add the appropriate MODBUS address if required The table below shows the exact equation used for each group of data MODBUS QTY PLC Range MODBUS DL450 Memory Type Address Range For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type Inputs X XO X1777 2048 3071 Input Special Relays SP 512 SPO SP137 3072 3167 Input SP320 SP717 3280 3535 Counter Contacts CT S Stage Status Bits C Timer Contacts x T G sed J Qs e J Q Cc seh UBISSG wa shS For Word Data Types Convert PLC Addr to Dec Data Type Timer Current Values V VO V377 0 255 Input Register Counter Current Values V 256 1000 1377 512 767 Input Register V Memory user data V 3072 V1400 V7377 768 3839 Holding Register 12288 V10000 V37777 4096 16383 V Memory system V 320 V700 V777 448 768 Holding Register V7400 V7777 3480 3735 Note The total of GX and GY global I O points cannot exceed 1536
11. station number which makes the DL450 the master Station numbers 1 7 are reserved for remote slaves e 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 e 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 v 5 fef a Cc a O fe wl Then click the button indicated to send the Port 3 configuration to the CPU and click Close DL405 User Manual 4th Edtition Rev A System Design and Configuration The next step is to make the connections between all devices on the Remote 1 O link The location of the Port 3 on the DL450 is Port 3 onthe 25 pin connector as pictured to the right Remember that ports 1 and 3 are logical ports that share the 25 pin A 0 o O o O connector Port 3 is an RS 422 non gE o isolated port The pin assignments are sje 5 Te
12. to the right The F in the upper nibble tells the CPU the port is internal to the CPU and notin aslotin the base The second nibble indicates the port number 1 or 3 The lower byte contains the slave address number in BCD 01 to 90 The second Load LD instruction determines the number of bytes which will be transferred between the master and slave in the subsequent WX or RX instruction The value to be loaded is in BCD format decimal from 1 to 128 bytes F 10 1 fa Slave address BCD Port number BCD Internal port hex LD KF101 1 2 BCD L of bytes to transfer LD K128 The number of bytes specified also depends on the type of data you want to obtain For example the DL405 Input points can be accessed by V memory locations or as X input locations However if you only want XO X27 you ll have to use the X input data type because the V memory locations can only be accessed in 2 byte increments The following table shows the byte ranges for the various types of DirectLOGIC products DL 205 405 Memory Bits per unit Bytes V memory 16 2 T C current value 16 2 Inputs X GX SP 8 1 Outputs 8 1 Y C Stage T C bits Scratch Pad Memory 8 1 Diagnostic Status 8 1 DL305 Memory Bits per unit Bytes Data registers 8 1 T C accumulator 16 2 I O internal relays shift register 1 1 bits T C bits stage bits S
13. 0 X210 X230 Y110 EXP X157 X167 X207 X227 X247 Y127 Ge ie Ia o DL405 User Manual 4th Edtition Rev A System Design and Configuration Remote I O Expansion How to Add Remote I O is useful for a system that has a sufficient number of sensors and other Remote I O field devices located a relative long distance away up to 1000 meters or 3050 feet Channels from the more central location of the CPU The methods of adding remote I O are Vivi Vv e DL430 DL440 CPUs Remote I O requires a remote master module 430 440 450 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 e 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 5e Do 05 mko cE oo BO oO Nc oO DL430 DL440 DL450 Maximum number of Remote Masters supported in 2 2 2 the local CPU base 1 channel per Remote Master 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 base
14. 4 16AD 1 100 100 AC Input Modules F4 16AD 2 75 100 D4 08NA 100 None F4 08THM n 120 50 20 per channel D4 16NA 150 None F4 08RTD 80 None D4 16NA 1 150 None Remote I O AC DC Input Modules D4 ERM 320 None D4 16NE3 150 None D4 ERM F 450 None F4 08NES 90 None D4 RM 300 None DC Output Modules Communications and Networking D4 08TD1 150 35 D4 DCM 500 None F4 08TD1S 295 None H4 ECOM 530 None D4 16TD1 200 125 H4 ECOM F 670 None D4 16TD2 400 None H4 ECOM100 300 None D4 32TD1 250 140 F4 MAS MB 235 None D4 32TD1 1 250 140 5 15VDC CoProcessors D4 32TD2 350 120 4A max F4 CP128 305 None including loads D4 64TD1 800 max None KA raRaIE E None AC Output Modules PRMOPIERY e ee D4 08TA 250 None Specialty Modules D4 16TA 450 None Benes fon iibi Relay Output Modules PATHS or mee D4 08TR 550 None edie an ble F4 08TRS 1 575 None eee a 1 F4 08TRS 2 575 None ce a 2 D4 16TR 1000 None Benne 8 hee Programming D4 HPP 320 None DV 1000 150 None DL405 User Manual 4th Edition Rev A System Design and Configuration 4 9 Power Budget The following example shows how to calculate the power budget for the DL405 Calculation system Example Base a Auxiliary Module Type 5 VDC mA Power Source O S 24 VDC Output mA CPU D4 430 3700 400 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 S
15. 440DC 2 3700 None D4 RS 3700 400 23 D4 450 3100 400 D4 RSDC 3700 None Ro HO D4 450DC 1 3100 None H4 EBC 3470 400 a3 D4 450DC 2 3100 None H4 EBC F 3300 400 Module Power The chart on the next page shows the amount of maximum current required for each Requirements of the DL405 modules Use these currents when calculating the power budget for your system If external 24VDC is required the external 24V from the CPU power supply may be used as long as the power budget is not exceeded DL405 User Manual 4th Edition Rev A o paa 5 2 ja fe c 7 O m 2 pas Nc System Design and Configuration Device EA PE ma Device A RA mA I O Bases Analog Modules D4 04B D4 04BNX 80 None F4 04AD 85 100 D4 04B 1 F4 04ADS 270 120 D4 06B D4 06BNX 80 None D4 06B 1 F4 08AD 75 90 D4 08B D4 08BNX 80 None F4 04DA 120 180 D4 08B 1 F4 04DA 1 70 75 20 per channel DC Input Modules F4 04DA 2 90 75 20 per channel D4 08ND3S 100 None F4 04DAS 1 60 50 per channel D4 16ND2 150 None F4 04DAS 2 60 60 per channel D4 16ND2F 150 None F4 08DA 1 90 100 20 per channel D4 32ND3 1 150 None F4 16DA 1 90 100 20 per channel D4 32ND3 2 150 None F4 16DA 2 80 25 max D4 64ND2 300 max None F
16. 77 44097 MODBUS Function 04 New feature The DL450 will support function 04 read input register Address 30001 To use function 04 put the number 4 into the most significant position 4xxx Four digits must be entered for the instruction to work properly with this mode LD The Maximum constant possible is 4128 K101 This is due to the 128 maximum number of a Bytes that the RX WX instruction can renee allow The value of 4 in the most significant position of the word will cause the RX to LDA use function 04 30001 range 04000 RX YO 1 Refer to the Memory Mapping section of this manual for the correct memory mapping size Some of the addresses shown above might not pertain to your CPU 2 For an automated MODBUS Koyo address conversion utility download the file modbus_conversion xls from our website www automationdirect com Cc ee ao 05 mko cE oo YO Nc oO DL405 User Manual 4th Edition Rev A Example 1 V2100 584 984 Mode Example 2 Y20 584 984 Mode Example 3 T10 Current Value 484 Mode Example 4 C54 584 984 Mode System Design and Configuration Find the MODBUS address for User V PLC Address Dec Mode Address eee Svea V2100 1088 decimal 1 Find V memory in the table 1088 40001 41089 2 Convert V2100 into decimal 1088 3 Addthe MODBUS starting address for the mode 40001 For Word D
17. BUS slave modules in any slot of a DL405 system for connecting it as a slave to a MODBUS network using the RTU protocol TIWAY Network Interface Module Interface to Texas Instruments and Siemens TIWAY networks by using this module as a slave Shared Data Network Module The Shared Data Network Module lets you make peer to peer connections between DL405 PLC systems PEER TO PEER and 6 rr 16 MASTER SLAVE ag S05 COMMUNICATIONS A J Yo System Migration or Expansion DirectNET MODBUS Communication max 3300ft 1000m O Ta i O iC op lt Q D 3 g D a 5 DirectNET Communication max 3300ft 1000m sed or e Co 9 pa je m Te 7 405 o 6 J AE lt a O N Q O 0 MB DCMysTROCM DL405 User Manual 4th Edition Rev A System Design and Configuration Module Placement and Configuration Valid Module Unit The most commonly used I O modules for the DL405 system AC DC AC DC Locations Relay and Analog can be used in any base in your system The table below lists by category the valid locations for all modules units ina DL405 system Remember that the power budget can limit the number of modules in a b
18. Convert C54 into decimal 44 3 Add the starting address for the range 3072 4 Use the MODBUS data type from the table Control Relays CR 2048 CO C8777 3072 5119 Coil DL405 User Manual 4th Edition Rev A System Design and Configuration 4 25 If Your MODBUS Some host software does not allow you to specify the MODBUS data type and Host Software address Instead you specify an address only This method requires another step to Requires an determine the address but it s still fairly simple Basically MODBUS also separates Address ONLY the data types by address ranges as well So this means an address alone can actually describe the type of data and location This is often referred to as adding the offset One important thing to remember here is that two different addressing modes may be available in your host software package These are e 484 Mode e 584 984 Mode We recommend that you use the 584 984 addressing mode if your host software allows you to choose This is because the 584 984 mode allows access to a higher number of memory locations within each data type If your software only supports 484 mode then there may be some PLC memory locations that will be unavailable The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X GX SP Y CR S T contacts C contacts e Word V T
19. PP and select MBUS The dialog below will appear Setup Communication Ports Port 3 xe Protocol Base Timeout M K Sequence 800 ms l DirectNET 800 ms V MODBUS 500 ms 7 Non Sequence 3 Characters Remote I O Time out Base Timeout x 1 Ei RTS on delay time 0 ms RTS off delay time 0 ms Station Number 1 Baud rate 38400 Echo Suppression RS 422 485 4 wire RS 232C 2 wi re Stop bits 1 Parity Odd Port 2 15 Pin e Timeout amount of time the port will wait after it sends a message to get a response before logging an error e RTS on delay time the amount of time the port waits to send a message after it s ready to send For port 1 it activates the RTS line before it begins transmitting assuming CTS is already active The port will not transmit if the CTS input is false e Station Number For making the CPU porta MODBUS master choose 1 The possible range for MODBUS slave numbers is from 1 to 247 but the DL450 network instructions will access only slaves 1 to 90 Each slave must have a unique number At powerup the port is automatically a slave unless and until the DL450 executes ladder logic network instructions which use the port as a master Thereafter the port reverts back to slave mode until ladder logic uses the port again e Baud Rate The available baud rates include 300 600 900 2400 4800 9600 19200 and 38400 baud Choose a higher
20. PUs e Auto configuration the CPU automatically configures the I O It assigns the lowest I O numbers to the module in slot 0 the slot next to the CPU the next set of I O numbers to the next module in the base etc The numbers are assigned only to modules actually in the base not to empty slots in the base This is the default mode of the CPU e Manual configuration DL440 DL450 only allows you assign I O numbers Numbers can be assigned to empty slots or in any order as long as the numbers are assigned in groups of 16 or 32 The DL405 CPUs automatically detect any installed I O modules including specialty modules at powerup and establish the correct I O configuration and addresses For most applications you will never have to change the configuration I O addresses use octal numbering starting at XO and YO in the slot next to the CPU The addresses are assigned in groups of 8 16 32 or 64 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 oj y 3 g eA 0 Slot 0 Slot 1 Slot 2 Slot 3 8pt Input 32pt Output 16pt Input 8pt Input X0 X7 Y0 Y37 X10 X27 X30 X37 Both the Handheld Programmer and DirectSOFT provide AUX functions that allow you to autom
21. System Design and Configuration In This Chapter DL405 System Design Strategies Module Placement and Configuration Calculating the Power Budget Local I O Expansion Remote O Expansion Network Connections to MODBUS and DirectNET Network Slave Operation Network Master Operation System Design and Configuration DL405 System Design Strategies 1 0 System The DL405 PLCs offer the following ways to add networking to the system Configurations e Local I O consists of I O modules located in the same base as the CPU e Expansion I O consists of I O modules in expansion bases located close to the the local base Expansion cables connect them to the local CPU base s serial bus in daisy chain fashion e 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 port 3 on a DL450 CPU A DL405 system can be developed using many different arrangements of these configurations All I O configurations use the standard complement of DL405 I O modules and bases Below is a brief description of each of these configurations Examples of each configuration are discussed in detail later in this chapter Local I O 1000m Total distance 7 Bases per channel Remote I O ee channel DL450 m RS 1 meter
22. 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 5e Do 05 mko cE oo BO oO Nc oO DL405 User Manual 4th Edition Rev A System Design and Configuration Local I O Expansion Viviv The following I O base configurations will assist you in understanding the options 430 440 450 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 2 rs rae O neti er ina le Output Xo x20 x30 Yo Y20 Y30 CPU X17 x27 x67 Y17 Y27 Y47 QOQ Coco Local Expansion Use local expansion when you need more I O points or a greater power budget than Base and I O the local base provides The expansion bases require a Local Expansion Unit in the place of a CPU
23. ame Input Addr No Inputs Output Addr No Outputs Port 3 l l l O O 0 O8ND3S X060 8 1 O8ND3S X070 8 2 O8TD1 Y040 8 X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 V40400 40401 40402 V40500 40501 BBs w030 4 Remote Slave 5 6 D4 RS 7 Slave 8 8 8 8 l l o o Input Bit Start Address X060V Memory Address V_40403 Total Input Points 16 Output Bit Start Address Y040V Memory Address V_ 40502 X60 X67 X70 X77 Y40 Y47 Y50 Y57 Total Output Points _16 40403 40404 40502 40503 Remote I O Using the Remote Slave Worksheet DirectSOFT Setup Program shown above can help organize our SPO system data in preparation for writing our LDA 040403 ladder program a blank full page copy of cS this worksheet is in Appendix A of the our 26 D4 REMIO M manual for your use and 37704 duplication The four key parameters we need to place in our Remote 1 O LD SS configuration table is in the lower right K16 25 corner of the worksheet You can ng determine the address values by using the Tas memory map given at the end of Chapter 3 CPU Specifications and Operation R The program segment required to transfer 040502 our worksheet results to the Remote 1 O configuration table is shown to the right OUT Remember to use the LDA or LD ee instructions appropriately T The next page covers the remainder of the K16 required program to get this remote I O link up and running OUT 37707 DL405 User Manual 4th Edition Rev A Remote I O Test Pr
24. ase discussed later Module Unit Local CPU Base Local Exp Base Remote Base CPUs CPU Slot Only Expansion Units CPU Slot Only 8 16 32pt DC Input Modules a al a 64pt DC Input Modules i Note1 Note 1 2 AC Input Modules in a a AC DC Input Modules in a al 8 16 32pt DC Output Modules a al al 64pt DC Output Modules i Note 1 i Note 1 2 AC Output Modules in in a Relay Output Modules in a a Analog Modules in a a Remote I O Remote Master a Remote Slave Unit CPU Slot Only Communications and Networking i MX Note2 Modules CoProcessor Modules in Specialty Modules Interrupt DL430 Slot 0 Only DL440 Slots 0 amp 1 5 DL450 Slots 0 amp 1 26 High Speed Counter a al fas PID Module in cE SDS y 0O AO 4 Loop Temp Controller a Paro ip S Input Simulator in a a Filler in in al Note 1 When using 64 pt modules you cannot use any specialty modules in slots 5 6 and 7 in the same base Note 2 Specialty modules are allowed in expansion bases only if you are using the DL450 CPU and all bases in the system are the D4 xxB 1 type bases DL405 User Manual 4th Edition Rev A I O Configuration Methods Automatic Configuration Manual Configuration X viv 430 440 450 wee D TANN System Design and Configuration 4 5 There are two methods of I O configuration for the DL405 C
25. ata Types PLC Address Dec Appropriate hiode Address Timer Current Values 4 YO V1 0 127 3001 30007 Input Reg Counter Current Values V 128 1000 1177 512 639 3001 30001 Input Reg Y Memory user data 0A 1024 v2000 3777 1024 2047 4001 40001 Hold Reg Find the MODBUS address for output Y20 PLC Addr Dec Start Address Mode 1 Find Y outputs in the table Y20 16 decimal 2 Convert Y20 into decimal 16 16 2048 1 3 Add the starting address for the range 2048 4 Add the MODBUS address for the mode 1 Control Relays CR CO C377 3072 3551 T tr ead ear Find the MODBUS address to obtain the PLC Address Dec Mode Address current value from Timer T10 TA10 8 decimal 1 Find Timer Current Values in the table 8 3001 2 Convert T10 into decimal 8 3 Addthe MODBUS starting address for the mode 3001 For Word Data Types PLC Address Dec Appropriate hiode Address Counter Current Values v 128 1000 1177 12 639 3001 30001 Input Reg Y Memory user data V 1024 2000 3777 1024 2047 4001 40001 Hold Reg S a n Os 33 aou co 2 Vo O3 Find the MODBUS address for Control Relay PLC Addr Dec Start Address Mode C54 C54 44 decimal 1 Find Control Relays in the table 44 3072 1 3117 2 Convert C54 into decimal 44 3 Add the starting address for the range 3072 4 Add the MODBUS address for
26. atically 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 It may never become necessary but DL440 and DL450 CPUs allow manual I O address assignment for any I O slot s in local or 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 X10 and X200 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 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 DL405 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 DL405 User Manual 4th Edition Rev A S a n Os 33 Qu S o wn Xo oe
27. baud rate initially reverting to lower baud rates if you experience data errors or noise problems on the network Important You must configure the baud rates of all devices on the network to the same value Refer to the appropriate product manual for details e Stop Bits Choose 1 or 2 stop bits for use in the protocol e Parity Choose none even or odd parity for error checking wml Then click the button indicated to send the Port configuration to the CPU and click Close DL405 User Manual 4th Edition Rev A DirectNET Port Configuration Vivi Vv 430 440 450 System Design and Configuration 4 21 In DirectSOFT choose the PLC menu then Setup gt Secondary Comm Port e Port From the port number list box choose Port 1 or 3 DL450 only e Protocol Click the box to the left of DirectNET to select it use AUX 56 on the HPP then select DNET The dialog below will appear Setup Communication Ports Part 2 x Protocol Base Timeout M K Sequence 800 ms V DirectNET 800 ms iM iN S 500 ms 7 Non Sequence 3 Characters Remote I O Time out Base Timeout x 1 x RTS on delay time 0 ms Le Ls RTS off delay time 0 ms Station Number 1 ke Baud rate 38400 Stop bits 1 Parity Le Le Lot Ls Format Port 2 15 Pin e Timeout amount of time the port will wait after it sends a message to get a response before logging an error e RTS
28. communications between just two devices Use RS 422 signals for longer distances 1000 meters max and for multi drop networks from 2 to 248 devices Be sure to use termination resistors at the both ends of RS 422 network wiring matching the impedance rating of the cable between 100 and 500 ohms NOTE If your DL405 is to be used as a MODBUS Master and the distance will be more than 1000 feet you can use the MODBUS Network Master module F4 MAS MB and use the RS 485 port See the module on our website www automationdirect com for more details RXD RXD TXD TXD Signal GND PORT 1 PORT 1 PORT 3 RS 232C RS 422 RS 422 TXD ea an pe RXD 2 DD 14 TXD 12 TXD 3 RXD 16 TXD 13 TXD t 24 RXD o 10 RXD 125 RXD Signal GND A 18 RTS 7 OV g 7 Ov 19 RTS 11 CTS RS 422 23 CTS Network 7 OV Slaves Nee Nl eee DL405 User Manual 4th Edtition Rev A sed J or e J Q seb fe UBISSG wa shS Cc 5e Do 05 mko cE oo BO oO Nc oO System Design and Configuration MODBUS Port Configuration XI XI vo 430 440 450 In DirectSOFT choose the PLC menu then Setup gt Secondary Comm Port e Port From the port number list box at the top choose Port 1 or 3 e Protocol Click the box to the left of MODBUS to select it use AUX 56 on the H
29. cratch Pad Memory 8 2 Diagnostic Status 5 word R W 16 10 DL405 User Manual 4th Edtition Rev A S ag n Os 33 aou co 2 go O3 System Design and Configuration The third instruction in the RX or WX sequence is a Load Address LDA 28 0 8 octal instruction Its purpose is to load the starting address of the memory area to be ia Starting address of transferred Entered as an octal number master transfer area the LDA instruction converts it to hex and places the result in the accumulator 7 Step 3 Specify Master Memory Area For a WX instruction the DL450 CPU eres sends the number of bytes previously specified from its memory area beginning at the LDA address specified For an RX instruction the DL450 CPU reads the number of bytes previously specified from the slave placing the received data into its memory area beginning at the LDA address specified MSB V40600 LSB MSB V40601 LSB 15 0 nat NOTE Since V memory words are always 16 bits you may not always use the whole word For example if you only specify 3 bytes and you are reading Y outputs from the slave you will only get 24 bits of data In this case only the 8 least significant bits of the last word location will be modified The remaining 8 bits are not affected S
30. delay time the amount of time the port waits to send a message after it s ready to send For port 1 it activates the RTS line before it begins transmitting assuming CTS is already active The port will not transmit if the CTS input is false e Station Number For making the CPU port a DirectNET master choose 1 The allowable range for DirectNET slaves is from 1 to 90 each slave must have a unique number At powerup the port is automatically a slave unless and until the DL450 executes ladder logic instructions which attempt to use the port as a master Thereafter the port reverts back to slave mode until ladder logic uses the port again e Baud Rate The available baud rates include 300 600 900 2400 4800 9600 19200 and 38400 baud Choose a higher baud rate initially reverting to lower baud rates if you experience data errors or noise problems on the network Important You must configure the baud rates of all devices on the network to the same value e Stop Bits Choose 1 or 2 stop bits for use in the protocol e Parity Choose none even or odd parity for error checking e Format Choose between hex or ASCII formats sed J or e J Q seb fe J UBISSG wa shS wl Then click the button indicated to send the Port configuration to the CPU and click Close DL405 User Manual 4th Edtition Rev A System Design and Configuration Network Slave Operation This section describes how o
31. emal impedances greater than 330 ohms add a resistor D 330 ohm 5e Do 05 mko cE oo BO oO Nc oO series resistor at the last slave as shown to the resistor 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 3D termination resistance to Belden 9842 use a 120 ohm resistor across terminals 1 and 2 HSD 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 Rev A System Design and Configuration Configure Remote 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 e Set the baud rate DIP switches to match CPU s Port 3 setting e 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 1 0 Slaves Configuring the Remote I O Table 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 a
32. emote Masters and 430 440 450 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 gt Setup Secondary Comm Port e Port From the port number list box at the top choose Port 3 e 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 Setup Communication Ports Port 3 J Close Protocol Base Timeout M K Sequence 800 ms il w DirectNET 800 ms Help MODBUS 500 ms I 3 Characters Station Number Baud rate Memory Address Port 2 15 Pin op lt 2 D 3 g D a e Station Number Choose 0 as the
33. imer current value Counter current value In either case you basically just convert the PLC octal address to decimal and add the appropriate MODBUS addresses as required The table below shows the exact equation used for each group of data PLC Range Address Address 584 984 memary Type Octal 484 Mode Mode Bey ES Global Inputs GX GXO GX1746 1001 1999 10001 10999 Input GX1747 GX3777 11000 12048 Input Inputs X XO X1777 12049 13072 Input Special Relays SP SPO SP777 13073 13584 Input Global Outputs GY GYO GY3777 1 2048 1 2048 Output ag Outputs Y YO Y1777 2049 3072 2049 3072 Output OF Control Relays CR CO C3777 3073 5120 3073 5120 Output 23 Timer Contacts T TO T377 6145 6400 6145 6400 Output A Counter Contacts CT CTO CT377 6401 6656 6401 6656 Output GE Stage Status Bits S SO S1777 5121 6144 5121 6144 Output DL405 User Manual 4th Edtition Rev A System Design and Configuration Registers eee eee V memory Timers VO V377 3001 4001 30001 40001 V memory Counters V1000 V1177 3513 4513 30513 40513 V memory Data Words V1200 V1377 3641 4641 30641 40641 V memory Data Words V1400 V1746 3769 4769 30769 40769 V memory Data Words V1747 V1777 31000 41000 V memory Data Words V2000 V7377 41025 V memory Data Words V10000 V177
34. lot 4 D4 08ND3S 100 0 Slot 5 D4 16TD2 400 0 Slot 6 D4 16TD2 400 0 Slot 7 D4 16TR 1000 0 Other 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 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 59 Q lt n Os 33 aou SO 2 Rio O3 DL405
35. max length each cable o ne a Expansion I O 3 Expansion racks EXP maximum Remote I O 2 DL430 440 up to DL440 430 supports a maximum of Spied net lo 2 channels These channels can 5 o in the local CPU base be any combination of remote I O co A DL450 up to 1024 DL450 supports a maximum of 3 oO EXP input and 1024 outputs channels One remote channel ane A o5 o includes I O in the connects directly to the DL450 AD local CPU base CPU The other channel uses ET Remote Masters in any 2 combination ie E He H EXP DL405 User Manual 4th Edition Rev A Networking Configurations System Design and Configuration 4 3 The DL405 PLCs offer the following four ways to add I O modules to the system DirectNET MODBUS Communication max 3300ft 1000m Data Communications Module connects a DL405 system to devices using the DirectNET protocol or connects as a slave to a MODBUS network DL450 Communications Ports the DL450 CPU has two extra total of four built in comm ports It allow two network connections directly from the CPU See Chapter 3 CPU Specifications and Operation for individual port specifications and the sections at the end of this chapter for network connections MODBUS Master Module You can use MODBUS master modules in any slot of a DL405 system for connecting it as a master to a MODBUS network using the RTU protocol MODBUS Slave Module You can use MOD
36. nds to any desired PLC memory location by using the cross reference table below e A Nae ee s Inputs X 1024 XO X1777 Input 02 26 Global Inputs GX 1536 GXO GX2777 Input 02 Ad Special Relays SP 512 SP0 SP137 Input 02 EE SP320 SP717 pO Outputs Y 1024 Y0O Y1777 Coil 01 ng Global Outputs GY 1536 GYO GY2777 Coil 01 Control Relays CR 2048 CO C3777 Coil 01 Timer Contacts T 256 TO T377 Coil 01 Counter Contacts CT 256 CTO CT377 Coil 01 Stage Status Bits S 1024 SO S1777 Coil 01 Timer Current Values V 256 VO V377 Input Register 03 Counter Current Value V 256 V1000 V1377 Input Register 03 V Memory user data V 3072 V1400 V7377 Holding Register 03 12288 V10000 V37777 V Memory system V 320 V700 V777 Holding Register 03 V7400 V7777 DL405 User Manual 4th Edition Rev A System Design and Configuration Determining the There are typically two ways that most host software conventions allow you to MODBUS Address specify a PLC memory location These are e By specifying the MODBUS data type and address e By specifying a MODBUS address only If Your Host Software Many host software packages allow you to specify the MODBUS data type and the Requires the Data MODBUS address that corresponds to the PLC memory location This is the easiest Type and Address method but not all packages allow you to do it this way The various MODBUS
37. ogram System Design and Configuration When configuring a Remote I O channel for fewer than 7 slaves we must fill the remainder of the table with zeros This is necessary because the CPU will try to interpret any non zero number as slave information We continue our setup program from the previous page by adding a segment which fills the remainder of the table with zeros The easiest way is the use the fill command as shown The example to the right fills zeros for slave numbers 2 7 which do not exist in our example system 6 bases x 4 24 locations 18 hex 4 17 DirectSOFT LD K18 LDA 037710 FILL KO C740 SET On the last rung in the example program above we set a special relay contact C740 This particular contact indicates to the CPU that the ladder program has just finished specifying a remote I O system At that moment the CPU begins remote O communications Be sure to include this contact after any Remote I O setup program Now we can verify the remote I O link and setup program operation A simple quick check can be done with just one rung of ladder shown to the right It connects the first input of the remote base with the first output After placing the PLC in RUN mode we can go to the remote base and activate its first input Then its first output should turn on DirectSOFT X60 Y40 r uD op lt 2 D 3 g D a HO uonenp yuon
38. on port 1 Both the DL450 s Port 1 and Port 3 can operate as master or slave for both MODBUS and DirectNET Port 1 has RS 232 and RS 422 signal levels available on separate pins and Port 3 DL450 uses RS 422 signal levels Ports 1 and Port 3 on the DL450 share the Port 1 Port 3 25 pin D shell connector as shown to the T right Connect one or both ports as shown ol S o TXD ot below Note that you cannot alate oo simultaneously use Port 1 s RS 232 RTS e XO oF signals and its RS 422 signals CTS rts o Piedo e EF o o Port 1 Port 3 ar QIS ov RTS ojoo 0 cS DL430 DirectNET N A ag eee 2 o 2 oS and Ae o o 2 slave only KE RXD o oS DL440 ste GTS e CTS me AD DirectNET or DirectNET or Bas oo TXD o RXD cE DL450 MODBUS MODBUS ie of TxD e 5 BAP fo 8 master slave master slave 2 o H ioe a wn Pa He z399 NOTE The recommended cable for RS 232 or RS 422 is Belden 8102 or equivalent DL405 User Manual 4th Edition Rev A RS 422 Network Master RS 232C Point to point System Design and Configuration You will need to determine whether the network connection is a 3 wire RS 232 type or a 5 wire RS 422 type Normally we use RS 232 signals for shorter distances 15 meters max for
39. points DL405 User Manual 4th Edtition Rev A System Design and Configuration The following examples show how to generate the MODBUS address and data type for hosts which require this format Example 1 V2100 Find the MODBUS address for User V PLC Address Dec Data Type ovanor ene V2100 1088 decimal Te Find Vamemory ihe table 1088 Hold Reg Holding Reg 1088 2 Convert V2100 into decimal 1088 3 Usethe MODBUS data type from the table V Memory user data V 3072 V1400 V7377 768 3839 Holding Register 12288 V10000 V37777 4096 16383 Example 2 Y20 Find the MODBUS address for output Y20 PLC Addr Dec Start Addr Data Type 1 Find Y outputs in the table Y20 16 decimal 2 Convert Y20 into decimal 16 16 2048 Coil Coil 2064 3 Add the starting address for the range 2048 4 Usethe MODBUS data type from the table Onpas M w o Example 3 T10 Find the MODBUS address to obtain the PLC Address Dec Data Type Current Value current value from Timer T10 T10 8 decimal 1 Find Timer Current Values in the table 8 Input Reg Input Reg 8 2 Convert T10 into decimal 8 3 Usethe MODBUS data type from the table sS Timer Current Values V 256 VO V377 0 255 ao 05 mke EE 25 Example 4 C54 Find the MODBUS address for Control Relay PLC Addr Dec Start Addr Data Type De rade C54 44 decimal 1 Find Control Relays in the table 44 3072 Coil Coil 3116 2
40. pue DL405 User Manual 4th Edtition Rev A 4 18 System Design and Configuration Network Connections to MODBUS and DirectNET Configuring This section describes how to configure the CPU s built in networking ports for the CPU s either MODBUS or DirectNET This will allow you to connect the DL405 PLC system Comm Ports directly to MODBUS networks using the RTU protocol or to other devices on a Ji JI Vv DirectNET network MODBUS hosts system on the network must be capable of 430 440 450 issuing the MODBUS commands to read or write the appropriate data For details on the MODBUS protocol please refer to the Gould MODBUS Protocol reference Guide P1 MBUS 300 Rev B In the event a more recent version is available check with your MODBUS supplier before ordering the documentation For more details on DirectNET order our DirectNET manual part number DA DNET M z902 NOTE For information about the MODBUS protocol see the Group Schneider website at www schneiderautomation com At the main menu select Support Services Modbus Technical Manuals PI MBUS 300 Modbus Protocol Reference Guide or search for PIMBUS300 For more information about DirectNET protocol order our DirectNET user manual part number DA DNET M or download it free from our website www automationdirect com Select Manuals Docs gt Online User Manuals gt Misc gt DA DNET M The DL430 and DL440 can be DirectNET slaves
41. routines to make sure all the routines are executed If you don t use the interlocks then the CPU will only execute the first routine This is because each port can only handle one transaction at a time In the example to the right after the RX instruction is executed CO is set When the port has finished the communication task the second routine is executed and CO is reset If youre using RLLPLYS Stage Programing you can just put each routine in a separate program stage to ensure proper execution In most cases RLLPLUS is amuch more efficient way to create an automation program The DirectNET manual provides a master slave example with both RLL and Stage program descriptions they are easily adapted for use with MODBUS Interlocking Relay SP112 C100 VF LD KF101 LD K0003 LDA 040600 RX YO Interlocking Relay C100 Len SP112 C100 Vt LD KF101 LD K0003 LDA 040400 WX YO C100 RST DL405 User Manual 4th Edtition Rev A UBISSG wa shS sed J or e J Q seb fe
42. s per channel 7 7 7 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 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 O channel on port 3 Remote I O 7 Bases per channel 3280 ft 1000m Total distance Expansion 1 O also available CPU Base DL405 User Manual 4th Edition Rev A System Design and Configuration 4 13 Configuring the This section describes how to configure the DL450 s built in remote I O channel CPU s Remote Additional information is in the Remote I O manual D4 REMIO M which you will 1 0 Channel need in configuring the Remote slave units on the network You can use the x S D4 REMIO M manual exclusively when using regular R
43. t V7404 to configure any Remote Master modules 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 Starting address of slave s input data Number of slave s input points Starting address of outputs in slave Number of slave s output points A O D 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 37700 Remote I O data
44. tep 4 The last instruction in our sequence is the SP112 Specify Slave WX or RX instruction itself Use WX to A D oi Memory Area write to the slave and RX to read from the l slave All four of our instructions are D shown to the right In the last instruction K128 you must specify the starting address and a valid data type for the slave The RX instruction reads data from the slave starting at the address specified The WX instruction writes data to the slave is starting at the address specified LDA 040600 e DirectNET slaves specify the same address in the WX and RX instruction as the slave s native I O address e MODBUS DL405 or DL205 slaves specify the same address in the WX and RX instruction as the slave s native I O address e MODBUS 305 slaves use the following table to convert DL305 addresses to MODBUS addresses 5e Do 05 mko cE oo BO oO Nc oO DL305 Series CPU Memory Type to DL405 Series CPU Memory PLC Memory type 305 base 405 base PLC Memory Type 305 base 405 base address addr address addr TMRI CNT Current Values R600 Vo TMR CNT Status Bits CT600 GY600 I O Points 1O 000 GYO Control Relays CR160 GY160 Data Registers R401 V100 Shift Registers SR400 GY400 R400 Stage Status Bits D3 330P only So GY200 DL405 User Manual 4th Edition Rev A Communications froma Ladder Program Multiple Read and Write Interlocks
45. the mode 1 za DL405 User Manual 4th Edtition Rev A 4 28 System Design and Configuration Network Master Operation x x s This section describes how the DL450 can communicate on a MODBUS or DirectNET 430 440 450 network as a master For MODBUS networks it uses the MODBUS RTU protocol which must be interpreted by all the slaves on the network Since MODBUS and DirectNET are master slave networks the master station must initiate requests for network data transfers This section teaches you how to design the required ladder logic for network master operation Master Slave 1 Slave 2 Slave 3 MODBUS RTU Protocol or DirectNET When using the DL450 CPU as the master station you use simple RLL instructions to initiate the requests The WX instruction fapta ol initiates network write operations andthe YF Cn f Slave Master set g ggoaogouuaagEA RX instruction initiates network read j operations Before executing either the fj WX or RX commands we will need to load TA Mi a Hiet data related to the read or write operation V WX write
46. ther devices on a network can communicate with a CPU port that you have configured as a DirectNETslave or MODBUS slave DL450 A MODBUS host must use the MODBUS RTU protocol to communicate with the DL450 as a slave The host software must send a MODBUS function code and MODBUS address to specify a PLC memory location the DL450 comprehends The DirectNET host just uses normal I O addresses to access any DL405 CPU and system No CPU ladder logic is required to support either MODBUS slave or DirectNET slave operation The MODBUS function code determines whether the access is aread or a write and Vivi Vv 430 440 450 MODBUS Function Codes Supported whether to access a single data point or a group of them The DL450 supports the xl Xl MODBUS function codes described below 430 440 450 Function Code Function E 01 Read a group of coils Y CR T CT GY 02 Read a group of inputs X SP GX 05 slave only Set Reset a single coil Y CR T CT 15 Set Reset a group of coils Y CR T CT 03 04 Read a value from one or more registers V 06 slave only Write a value into a single register V 16 Write a value into a group of registers V MODBUS Data Types Supported The memory types in a DL405 system include X input Y output C control relay V memory data registers etc MODBUS uses differently named data types So you will need to determine which MODBUS data type correspo
Download Pdf Manuals
Related Search
Related Contents
Pioneer 2 / PeopleBot Robotics User Manual MANUAL DEL USUARIO - Constructora Manizales Copyright © All rights reserved.
Failed to retrieve file