Home
View / the Complete Manual
Contents
1. w 1st Remote E E gt E co ae aan E ek E oe al 40403 40502 Slave Oooo cy 2nd Remote 3 Input Bit Start Address X140_V Memory Address V 40406 iS 18 19 bi Total Input Points C itted 16 otal Input Points Committe l IOO A xtoo xn7 x120 x137 Y60 Y77 Y100 Y117 Output Bit Start Address __Y120 _V Memory Address V_40505 V40404 V40405 V40503 V40504 Slave Module Total Output Points Committed__ 6 3rd Remote 6 Y 8 8 8 8 5 l l olom X140 X147 X150 X157 Y120 Y127_ Y130 Y137 V40406 v40505 Slave Module Starting Addresses From Appe O X140 X147 X150 X157 Y120 Y127 Y130 Y137 ololoJojO ndix B V40406 V40505 Input Output Remote Slave 2 has points X100 to X137 allocated to its inputs and points Y100 to Y117 allocated to its outputs This means the starting address for the third base inputs is X140 or higher and the starting address for outputs is Y120 or higher Turning to Appendix B you look up the V memory addresses for these points in their respective input and output memory address charts you find the starting address for the inputs to be V40406 On the output chart you find cross reference 120 with V40505 These numbers are filled in at the bottom of the worksheet 2 0 Designing the System Calculating the Power Budget Managing your When determining the typ
2. C710 to C717 are assigned to the 1st Master C730 to C737 are assigned to the 2nd Master The last digit of these relays refers to the base unit number Remember that the CPU base is always Base Unit 0 The remote bases can be any number 1 through 7 For example C715 refers to the 1st Master 5th Remote Base These flags indicate that a particular slave unit is ready for communcating data over its twisted pair cable Example C715 Y27 Y27 could be turning on an indicator our light when the 5th Remote Base con nected to the 1st Remote Master is ready for communications Example of RLL Using All the Special Relays LD C701 K9999 OUT V7411 C673 0 Y14 our Y27 our SBR END LDA 040403 OUT V7404 LD K16 OUT V7405 LDA 040502 OUT V7406 LD K16 OUT V7407 LDA __ OUT _ LD L_ OUT 040404 V7410 K32 V7411 LDA LD L OUT 040503 OUT V7412 K32 V7413 C670 SET RT N Setup Programming Go to remote I O subroutine After power up anytime a remote 1 O error occurs with the 1st master the status will be saved The number 9999 loaded in the pointer ad dress for Slave 2 of the 1st ma
3. Module c i See Ba Remote Base Address Choose 1 7 CPU 16 16 16 16 16 SA Module INPUT OUTPUT ria Ea o Number Name vouraoross no imputs oun aacess nooutpus Fanja sarp oa e X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 O8ND3S X070 E ee ae v40400 40401 40402 40500 40501 1st Remote T s s8al lsajls ed So T S i Uaa Eai a ee e E Soe 40403 40502 Slave Module Input Bit Start Address x060 V Memory Address V_ 40403 2nd Remote Total Input Points 16 i Y x 40502 16 16 16 16 Output Bit Start Address 040 V Memory Address V l l O O Total Output Points 16 X100 X117 X120 X137 Y60 Y77 Y100 Y117 V40404 V40405 V40503 V40504 Slave Module Remote Slave Worksheet 3rd Remote Remote Base Address______ Choose 1 7 8s 8 8 8 I OJO i X140 X147 X150 X157 Y120 Y127_ Y130 Y137 40406 40505 Slot Module TEROA OUTPUT Number Name Input Address No Inputs Output Address No Outputs o renoe xo oe BELJEN Slave Module ARAR Slave Worksheet Remote Base Address____ gt Choose 1 7 Slot ees Number Weta input Address No Inputs Output Address _ No Outputs but Bit Start Address _ _ v Memory Address V_40404 o fosos xo e t fosnoas so e TT a e form o f ve f put Bit Start Address __ 10 _V Memory Address V _s0509 e em ww To
4. NOTE In some cases it may be helpful to understand the update time required for a Remote I O system Appendix C shows example calculations 3 Easy Steps for Setting Up Remote O Step One Design the System remote masters and remote slaves you will need In Chapter 2 we will show you Step Two Install the Components Step Three Write the Setup Program Figure out how much remote I O you will need This will in turn tell you how many how to use worksheets to plan and keep track of your data type assignments We ll also show you how to determine the correct addresses for reading and writing remote I O data Main Base Remote Slave Worksheet Remote Slave Worksheet 16 16 16 1G senne sasear 1 sorose1 7 Banoa Baso aatras 2 hose 1 2 Number Name InputAdchess No inpus OutputAddress No Outputs Number Name nputAdaress Wowinputs Output Address No Outpus M t o O8ND3S X060 8 0 OBND3S X100 8 as er 1 O8ND3S X070 8 1 16701 Yo80 16 2 cer oso 3 2 ism vioo 16 a m vos 8 3 8 8 8 8 z A I 1 ojo 6 6 7 7 Slave 1 A 3 Input Bit Start Address 2050 V Memory Address 40402 Input Bit Start Address X100 V Memory Address V _40404 Total Input Points E Total Input Points ba Output Bit Start Address 7040 V
5. Slave Module 2nd Remote 16 16 16 16 X100 X117 X120 X137 Y60 Y77 Y100 Y117 V40404 V40405 V40503 V40504 Slave Module 3rd Remote 8 8 8 8 J X140 X147 X150 X157 Y120 Y127_ Y130 Y137 V40406 V40505 Slave Module Better Define Your In Appendix A of this manual you will find a worksheet for planning the design of each Idea By Using of your remote I O bases We suggest that you photocopy this sheet and use it to Worksheets map out the details of your system Assuming this will be your procedure this chapter will walk you through the process using the example visualized above You will need the details from these worksheets when you set the switches on your hardware and you write the configuration code inside your ladder logic program Designing the System ens Filling Out the The following remote slave worksheet has been filled in to match the first remote I O Remote Slave base of the example system Worksheet for Slave 1 Main Base with Master Master Module Can go in any slot CPU Remote Slave Worksheet 16 16 16 16 16 and j PS l l l O O Remote Base Address Choose 1 7 EN INPUT OUTPUT X0 X17 X20 X37 X40 X57 Y0 Y17 Y20 Y37 Name SaGdb Naoi N A0i0a VAE Van Number Input Address Output Address No Outputs tet Remote ms oo fe g onos xoro
6. 0 cece eee eee eee eee eee eee ee eens C670 C674 Setup Complete Mandatory 0 c cece eee C700 to C707 andC720 to C727 Locate Communications Error Optional C671 0675 I O Status On Error Optional ssena onc Meda aba dteia ete Wee yr ath ta C673 C677 Error Restart But Ignore Problem Area Optional 00 eee eens C710 to C717 andC730 to C737 Communications OK Status Optional Example of RLL Using All the Special Relays 0 cece eects Appendix A Remote I O Worksheet Appendix B Reserved Memory Tables Remote Input Output GX Addresses 0 0 c cece eee eee eee eens Standard Input X Addresses cee eee eect eee eee eee e eee eens Standard Output Y Addresses 2 acc ents tie eee ies eee eee ee ee ee ee ee Control Relay C AdGGreSSeS 5 isis ede Sie Sates ee ees whee re ea ee Appendix C Determining I O Update Time OV GEVIGW sasa staal Mia s Ge hte 2 eee nag c eats aoa eet E ai Sat se eas eb ee ote Remote I O Update Table a lt 2 oi ccccese neat setscead eeu dence peiamnas eoureeed ceeameae ese Calculating Total Delay for the System cece eee eee eee eee eee ee eens Total Delay Time Formulas 2315 t a3 ssecre ghee aoe eae See see a cade were esa wae ke gees Delay Time Example yn it cit ad ei ana E a ei adn arate bea me Ie Badge S 3 2 Getting Started In This Chapter Introduction What is Re
7. Line Voltage Line Neutral D4 RS D4 RSDC p D4 RS 110 220VAC REMOTE I O A p D4 RS 110 220VAC REMOTE I O A ee 405RS ae airertANbRS SE oyo ee Koyo oo TE zde lo RUN o RUN k i i cr or 1 ele l Earth TA i PEE E FEN D 20 28VDC all ll 2 3A a llz 2 s 2 e y le A le y j n D S e Z 3 m Q 3 8 e Installation and Wiring Cabling Between The diagram shown below depicts the cabling between the master and its slaves the Master and This is twisted pair cable The two inner wires are connected to terminals 1 and 2 of Slaves each module The shield wire is connected to terminal 3 Do not connect the shield wire to the Ground terminal Make sure the the connections between master and all slaves are always 1 to 1 2 to 2 and 3 to 3 Master Slave 1 Slave 2 Slave 3 1 1 SPH HHS Si eo S amp S KEYS Termination At each end of a master slave system it is necessary to have a termination resistor Resistors to prevent signal reflections from interferring with the communications Although the modules have a 330 ohm resistor built in for this purpose there are three options to be co
8. If you have any questions concerning the installation or operation of this equipment or if you need additional information please call us at 1 800 633 0405 This publication is based on information that was available at the time it was printed At PLCDirect we constantly strive to improve our products and services so we reserve the right to make changes to the products and or publications at any time without notice and without any obligation This publication may also discuss features that may not be available in certain revisions of the product Trademarks This publication may contain references to products produced and or offered by other companies The product and company names may be trademarked and are the sole property of their respective owners PLCDirect disclaims any proprietary interest in the marks and names of others Stage is a trademark of Koyo Electronics Industries Co LTD Think amp Do Software is a trademark of Think amp Do Software Inc Texas Instruments is a registered trademark of Texas Instruments Inc TI TIWAY Series 305 Series 405 T1305 and T1405 are trademarks of Texas Instruments Inc Siemens and SIMATIC are registered trademarks of Siemens AG GE is a registered trademark of General Electric Corporation Series One is a registered trademark of GE Fanuc Automation North America Inc MODBUS is a registered trademark of Gould Inc IBM is a registered trademark of International Business Machines MS D
9. Module response delay time You can find this information from the module specifications tables which are usually found in the DL405 User Manual Remote Input to Remote Output Trs Tes Trs Tes remote remote Input CPU output TAN os Tin 6 Tes Tout T n 4 TRs 6 Tcs Tout O oO 2 Local Input to Remote Output local remote 5 Input CPU output ve o o ro v D Tins 4 T T 2 4 T Remote Input to Local Output In 4 Tcs Tout IN 2 TRs 4 Tcs Tout remote local Input CPU output O o z The following page will show you how to use one of the formulas to calculate the delay time for our example system S Determining I O Update Time Delay Time The following example shows you how to calculate the total time it takes for a remote Example input to be read and later updated by the CPU scan and then aremote output taking place at the remote base We have used the same configuration as shown throughout this text which features 3 remote slaves 1 master and 128 remote I O points communicating at 38 4 kBaud EXAMPLE 38 4 kBaud D4 440 X60 causing a response by Y43 Main Base with Master Master Module Can go in any slo CPU aad 16 16 16 16 16 PS l l IIOIO X0
10. 022 021 020 V40001 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40002 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V40003 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 V40004 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V40005 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40006 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40007 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V40010 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 V40011 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 V40012 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V40013 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 V40014 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40015 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40016 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V40017 417 416 415 414 413 412 411 410
11. 407 406 405 404 403 402 401 400 V40020 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 V40021 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 V40022 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 V40023 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 V40024 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 V40025 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 V40026 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 V40027 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 V40030 637 636 635 634 633 632 631 630 627 626 625 624 623 622 621 620 V40031 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 V40032 677 76 675 674 673 672 671 670 667 666 665 664 663 662 661 660 V40033 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 V40034 737 736 735 734 733 732 731 730 727 727 742 724 723 722 721 720 V40035 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 V40036 777 776 775
12. 243 242 241 240 V40612 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V40613 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 V40614 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40615 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40616 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V40617 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 V40620 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 V40621 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 V40622 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 V40623 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 V40624 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 V40625 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 V40626 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 V40627 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 V40630 637 636 635 634 633 632 631
13. 25s eee ee ec ener hee SSeS ae ee a le Sk a ce See 4 Easy SIGNS nosh ional nin cents ets Mie ene ey MaMa cies MOR dis Ras Naa a Ret ame e ney Bama ned te Step One Setting the Front Rotary Switch cece eee eee eee eee Step Two Setting the Rear DIP Switches 0 cece eee eee eee eee eee Step Three Inserting the Module in the Base cece cece eee eee eee eens Step Four Connecting the Wiring 02c cece cece eee eee ee eee eee eee eeeeeee General Wiring Guidelines 0 00 c cee eee teens Power Connections for the D4 RS or D4 RSDC 0 0 ccc teenies Cabling Between the Master and Slaves 00 c cece cece e eee e teen eens Termination Resistors oser e o aea nia a ha dea ad ae eet enn ene eens Connecting the Run Output Circuit nnana aaaeeeaa Chapter 4 Writing the Setup Program Getting Started with Your Programming 000 cee eee eee eee eee eee eens Writing Your Remote I O Setup 0 cee eee ee eee eee ee eee ee ee eee eee e ee eeeeeee Step 1 Decide How You Are Going to Call Your Program 0 0 0 cee eee eee Step 2 Write the Setup Logic For Each Remote Base 0c cece cence eee Tell the CPU That You Are Finished With the Setup 0 0 c cece eee eee A Completed Example e 2 6 05 cio eer ek ae ed ohio Pees eine eee ate eae Special Relays Used for Remote I O 0c cece cece eee eens How to Use the Special Relays
14. 630 627 626 625 624 623 622 621 620 V40631 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 V40632 677 76 675 674 673 672 671 670 667 666 665 664 663 662 661 660 V40633 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 V40634 737 736 735 734 733 732 731 730 727 727 742 724 723 722 721 720 V40635 Address psj D no D lt a z D 3 Q lt D 2 D n Appendix C Determining I O Update Time S Determining I O Update Time f D ne 2 D D D D m Overview Since the Remote Master and the CPU operate asynchronously from one another it is possible that the remote I O points may not be updated on every CPU scan Therefore in some applications it may helpful to understand the amount of time required to update the remote I O points Depending on the number of I O points used in your remote configuration and the baud rate you have selected for communication your update time requirements will vary This Appendix will show you how to estimate the total delay time for your system NOTE In most situations this delay will be so small that either it makes no difference to the particular application or the mechanical speeds of the field dev
15. 774 773 772 771 770 767 766 765 764 763 762 761 760 V40037 BD Reserved Memory Tables for Remote I O Bs Standard Input X Addresses MSB LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40400 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V40401 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40402 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V40403 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 V40404 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V40405 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40406 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40407 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V40410 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 V40411 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 V40412 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V40413 317 316 315 314 313 312 311 3
16. Y060_V Memory Address V_40503 eae Cs o o e Total Output Points D D fe a 2 5 oO Note The Remote Slave Worksheet is Input Bit Start Address 40_ V Memory Address V_40406 found in Appendix A Total Input Points 16 Output Bit Start Address Y120_V Memory Address V_40505 Total Output Points 6 Setup Programming Step 2 Set the Hardware Table for setting DIP switch Step 3 Write the Setup Program RLL Program eee SP00 K1 Position 1 2 3 4 1 ats Go to remote I O subroutine Mast Always ON ON7984B Aways OFF Always OFF Maln Program Body ways ways ways aster y OFF 19 2kB YY y eno SBR K1 ON 38 4kB Remote I O Subroutine Remote Always OFF OFF 19 2kB Always OFF Always OFF Note Write as subroutine only if using D4 440 CP
17. made between the master and its slaves Each module has its own LED indicator G that glows when successful as communication has been accomplished Internal relay ae RUN OUTPUT The Run Output relay can be wired to a 24 VDC sinking input module so that 3l ladder logic can be written to monitor the a RUN COMMON communications link The bottom two terminals for the terminal block are where the wires are connected from the input module gt n D S e Z Q Ifthe RUN relay in the master goes OFF then the RUN relay in all of the slaves will be taken off line also If you choose to wire an input say X10 from the Run Output it is very easy to include a rung of logic to sound an alarm or to stop a process when communication problem occurs X10 Y23 K our Alarm Output Writing the Setup Program In This Chapter Getting Started with Your Programming Writing Your Remote I O Setup Special Relays used for Remote I O How to Use the Special Relays 4 ane Setup Programming D E ban D fe a 2 5 Getting Started with Your Programming You can write your program using either a handheld programmer or PC loaded software such as DirectSOFT The examples that follow will show you how this is done using DirectSOFT To get started enter DirectSOFT and carry out the normal DirectSOFT setup procedures for communicating
18. oe z sj e e s re o fe E 1 jijofjo w o E X60 X67 X70 X77 Y40 Y47 Y50 Y57 gt 40403 40502 oO Slave Module F aid C E 5 o a g 16 16 16 16 Input Bit Start Address x060_V Memory Address V 40403 I I O O Total Input Points Committed 1 X100 X117 X120 X137 Y60 Y77 Y100 Y117 sara Oe Output Bit Start Address Y040 V Memory Address V_40502 Module Total Output Points Committed __16 3rd Remote X 8 8 8 8 l l ojo i X140 X147 X150 X157 Y120 Y127_ Y130 Y137 40406 40505 Slave Module X60 X67 X70 X77 Y40 X47 Y50 Y57 Cc olallai 9 Lt Starting Addresses From Appendix B V40403 40502 Input Output In this example the CPU base has 80 points allocated to its input and output modules which are automatically configured as points XO thru X57 and YO thru Y37 Thus the starting address for the first remote base inputs can start at X060 or higher and the starting address for outputs can be Y040 or higher Turning to Appendix B you look up the V memory addresses for these points in their respective input and output memory address charts The far right hand column of each of these charts shows the bit start address For example for the bit start address for input X060 you look for 060 on the far left hand portion of the chart There you find the cross referenced register address 40403 On the out
19. 3700 None D4 RSDC 3700 None Module Power The chart on the next page shows the amount of maximum current required for each Requirements of the DL405 modules Use this information to calculate the power budget for your system If an external 24VDC power source is required you can use the built in 24VDC auxiliary supply from the CPU or the Remote Slave as long as the power budget is not exceeded NOTE Not all of the modules shown in the following table can be used ina Remote base Check page 2 9 for module placement restrictions Designing the System a4 I O Bases Analog Modules D4 04B 80 None D4 04AD 200 200 D4 04BNX 80 None F4 04ADS 270 120 D4 06B 80 None F4 08AD 75 90 D4 06BNX 80 None D4 02DA 250 300 D4 08B 80 None F4 04DA 120 180 D4 08BNX 80 None F4 O08THM N 75 40 DC Input Modules Remote I O D4 08ND3S 100 None D4 RM 300 None D4 16ND2 150 None D4 SM 300 None D4 16ND2F 150 None D4 SS 88 None 100 250 with HPP D4 32ND3 1 150 None D4 SS 106 None 100 250 with HPP D4 32ND3 2 150 None D4 SS 16T None 100 250 with HPP D4 64ND2 300 max None D4 SS 16N None 100 250 with HPP AC Input Modules F4 SDS 110 None D4 08NA 100 None Communications and Networking D4 16NA 150 None D4 DCM 500 N
20. Input Modules Yes g AC Input Modules Yes E AC DC Input Modules Yes z DC Output Modules Yes E AC Output Modules Yes 3 Relay Output Modules Yes lt Analog Modules Yes Oo Remote I O Remote Master No Remote Slave Unit CPU Slot Only Slice Master No Communications and Networking No Modules CoProcessor Modules No Specialty Modules Interrupt No High Speed Counter No PID No I O Simulator Yes Filler Yes NOTE The User Manual for Analog I O Modules discusses scan times for updating analog I O data for modules that have been installed in local or expansion bases Please be aware that the scan times for updating are different for remote I O modules installed in remote bases The CPU scan is asynchronous with the remote scan by the master module Thus an analog input module installed in a remote base for example may not have its data updated by the CPU once every scan per channel as stated in the user manual The CPU scan may in fact cycle several times while the remote scan is taking place You should take this into account in applications where the timing is critical Installation amp Field Wiring Guidelines In This Chapter Introduction Setting the Front Rotary Switch Setting the Rear DIP Switches Inserting the Module in the Base Connecting the Wiring ore Installation and Wiring gt Cc e fe 5 oO E p Cc Introduction 4 Easy Steps N
21. O or the rotary switch is set to 0 8 or 9 ora slave module controlled by the D4 RM causes an error e RUN Turns ON when the module is operating correctly PAR Turns ON when there is a lt parity error in your communications LINK Turns ON when there is a communications error UNIT ADRS Rotary switch for setting the module to be the master or a slave bases 0 through 7 MSTR Turns ON to indicate T Terminating point that is connected that it is configured as a to point 1 with a jumper at the master master and final slave base units 1 1st wire of twisted pair 2 2nd wire of twisted pair 3 Shield of twisted pair RUN RELAY Internal relay G Ground connection that is closed as long as there is a communications link present Specifications Number of Masters per CPU 2 max for DL430 or DL440 Maximum No Slaves Supported 7 Number of Remote I O Points per CPU 512 Module Type Intelligent Installation Requirements Any slot CPU base only Internal Power Consumption 300 mA maximum Digital I O Consumed None Run Output Relay Rating 250 VAC at 1A 30 VDC at 1A Communication Baud Rates 19 2 kB or 38 4 kB Switch Selectable Communication Method Asynchronous half duplex Communication Cabling RS 485 twisted pair Belden 9271 or equiva
22. T Terminating point that is connected to point 1 with a jumper at the final slave base unit 1 1st wire of twisted pair 2 2nd wire of twisted pair 3 Shield of twisted pair G Ground connection 1Depends on model D4 RS AC D4 RSDC DC Slaves per channel 7 Module Type Non intelligent slave Installation Requirements CPU slot in any 4 6 or 8 slot base Power Required 110 VAC 220 VAC D4 RS 24 VDC D4 RSDC Digital I O Consumed None Note Consumes remote I O points at a rate equal to the number of I O points in each base Run Output Relay Rating 250 VAC at 1A 30 VDC at 1A Communication Baud Rates 19 2 kB or 38 4 kB Switch Selectable Communication Cabling RS 485 twisted pair Belden 9271 or equivalent Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 5 to 95 non condensing Environmental air No corrosive gases permitted Vibration MIL STD 810C 514 2 Shock MIL STD 810C 516 2 Noise Immunity NEMA ICS3 304 Assigning the Remote Input and Output Addresses You Assign the If you ve used a DL405 CPU and local or expansion I O before then you probably Addresses know that the CPU will automatically assign the input and output addresses That is input points are automatically assigned starting at XO and output points are
23. Y60 Y77 Y100 Y117 OS Oooo Starting Addresses From Appendix B i as V40503 Input Output Remote Slave 1 has points X060 to X077 allocated to its inputs and points Y040 to Y057 allocated to its outputs This means the starting address for the second remote base inputs is X100 or higher and the starting address for outputs is YO60 or higher Turning to Appendix B you look up the V memory addresses for these points in their respective input and output memory address charts you find the starting address for the inputs to be V40404 On the output chart you find cross reference 060 with V40502 These numbers are filled in at the bottom of the worksheet Now let s do the same thing for third remote I O base Designing the System 2 9 The following remote slave worksheet has been filled in to match the third remote I O base of the example system Filling Out the Remote Slave Worksheet for No Inputs Slave 3 Master Main Base with Master Module Can go in any slot Remote Slave Worksheet CPU 16 16 16 16 16 3 and Remote Base Address ________ Choose 1 7 PS l l IIOJO Siot Module INPUT Input Address Fo onos xio X0 X17 X20 X37 _X40 X57 YO0 Y17 Y20 Y37 V40400 V40401 V40402 V40500 V40501 Output Address
24. ays gt w A oN N A Chart for DIP Switch Settings Always ON ON 38 4 kBaud Always OFF Always OFF OFF 19 2 kBaud Remote Always OFF ON 38 4 kBaud Always OFF Always OFF OFF 19 2 kBaud 3 6 Installation and Wiring Step Three Inserting the Module in the Base The D4 RM can go into any slot in the CPU base The D4 RS or D4 RSDC must be inserted in the CPU slot of the remote base s NOTE Don t forget to check your total power budget and make sure your total current drawn by the remote modules and other I O modules do not exceed the total amount allowable for the CPU you are using See Chapter 2 of this manual or your DL405 User Manual for instructions on how to compute your power budget WARNING To minimize the risk of electrical shock personal injury or equipment damage always disconnect the system power before installing or removing any system component D4 RS or D4 RSDC must be inserted in the CPU slot of the remote base D fe L O S D D4 RM can go into any slot in the local base ex cept the CPU slot Notice the modules have plastic tabs at the bottom and a screw at the top With the module tilted slightly forward hook the plastic tab on the module into the notch on the base Next gently push the top of the module back toward the base until it is firmly seated into the base Now tighten the screw at
25. be placed in the CPU base You may usea maximum of two masters per CPU base Here is an example where we have placed two masters in the CPU base and then attached a total of six remote I O racks Two Masters in the Same Base 2 Channel CH Remote Masters CH2 Maximum of gt 2 per CPU base Masters can go in any slot Remote Slaves le j Maximum of Ip 7 remote bases D per channel 3300ft 1000m Max Allowable distance is from furthest slave to the remote master Each slave belonging to the same master is hooked together in a daisy chain usinga Slaves and Master shielded twisted pair cable The last slave unit in the daisy chain cannot be further Baud Rates than 3300 feet from the CPU base You set switches that designate the slaves as No 1 No 2 etc There is an additional switch on each unit to set the baud rate for communication You have your choice of either 19 2 kB or 38 4 kB Slaves and Master must be set to the same baud rate Let s now take a closer look at each of the remote I O modules Remote Master D4 RM Features PWR Turns ON at power up DIAG Turns ON when there ee eee Master is a hardware failure 1 O Turns ON when ladder setup does not match the actual I
26. be zeroed Example C675 After power up anytime a remote SET 1 0 error occurs for the 2nd Mas ter the status will be saved eS Setup Programming D E ban D fe a 2 5 C673 C677 Error Restart But Ignore Problem Area Optional C710 to C717 and C730 to C737 Communications OK Status Optional When a relay with C700 to C707 or C720 to C727 is set to indicate a communications error you can use either or both C673 for I O belonging to the 1st master and C677 for I O belonging to the 2nd master as a method for having the CPU skip the scanning of the I O register associated with a particular slave unit Look in the Reserved Memory Table below to find the appropriate V74xx pointer address to match up with the approriate C7 relay Both the relay and the pointers are specifically assigned to unique slave units Example pile LD The number 9999 loaded in the pointer ad 1 K9999 dress for Slave 2 of the 1st master will tell OUT the CPU to ignore this slave unit during re M V7411 start after an error See previous page for proper use of C700 to C707 and C720 to C673 C727 o 1st Master 2nd Master Slave Relay Address Relay Address Pointer Pointer 1 c701 7405 c721 V7445 2 C702 V7411 C722 V7451 3 C703 V7415 C723 V7455 4 C704 V7421 C724 V7461 5 C705 V7425 C725 V7465 6 C706 v7431 C726 v7471 7 C707 V7435 C727 V7475
27. the Power Budgeting section of this chapter fill in the information for the CPU 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 Add the current columns starting with Slot O and put the total in the row labeled Maximum power required 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 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 Designing the System 2 3 Which Modules Can Go In the Remote Bases The most commonly used I O modules for the DL405 system AC DC AC DC Relay and Analog can be used in the remote I O bases The table below lists by category those modules that can be used in the remote I O base CPUs No Expansion Units No DC
28. with your DL405 CPU If you do not know how to do this refer to your DirectSOFT Manual Chapter 11 of your DL405 User Manual also has a very good coverage of the basic commands available and examples of how the commands are used for writing general ladder logic We will be showing you in this chapter only those commands that pertain to setting up your remote I O initialization and its successful utilization First open DirectSOFT from Windows and establish a link with your CPU Then enter the Edit Mode for programming You should now be looking at a screen similar to the one shown below Lirks DirectSOFT Programming REMOTEIO Open Da RLLPLU File Edit Search View Tools PLC Debug Window Help ALL RLLEXMY gt DOE SrA bE Eee Ladder View Program Saved to Disk The DirectSOFT window shown above depicts a program that has already been written Your window of course will be empty when you first enter it The pages that follow will show you how to write each part of your initilization program 4 Setup Programming Rad Writing Your Remote I O Setup Step 1 Is your setup logic going to be in the main program body or is it going to be ina Decide Ho
29. 0 Y37 Remote 1 LD 40401 40402 40500 40501 ey Input K16 UT ist Remote eae Slave 8 8 8 8 Remote I O points are not SP00 Module assigned automatically LDA l l O O You have to map them J 040502 into memory with RLL OUT V7406 X60 X67 X70 X77 Y40 Y47 Y50 Y57 Remote 1 LD V40403 V40502 O utput K16 Next available starting input address is X60 Next avail p able starting output address is Y40 There are 16 inputs 1 L OUT and 16 outputs in the remote base V7407 J ke D c S dp D E o How the CPU Updates Remote I O Points The CPU and remote master work together to update the remote I O points Below is an example showing how scanning and updating takes place Notice that there are two independent scan cycles going on at the same time but asynchronously The CPU module is doing its scan which includes looking at the information that the remote master is writing to its internal buffers During every CPU scan the CPU examines the internal buffers of the remote master and updates input and output data from the remote I O It is very possible for the CPU to be scanning faster than the remote master can do its scan It is largely dependent on the size of the application program the baud rate you have selected for the data transfer between the slaves and master as well as the number of I O points being monitored Therefore if you have I O ppoints that must be monitored on every CPU scan
30. 0521 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 V40522 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 V40523 BD Reserved Memory Tables for Remote I O B 93 Control Relay C Addresses MSB LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40600 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V40601 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40602 077 076 075 074 073 072 071 070 067 066 065 064 063 062 061 060 V40603 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 V40604 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V40605 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40606 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40607 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V40610 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 V40611 257 256 255 254 253 252 251 250 247 246 245 244
31. 073 072 071 070 067 066 065 064 063 062 061 060 V40503 117 116 115 114 113 112 111 110 107 106 105 104 103 102 101 100 V40504 137 136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V40505 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V40506 177 176 175 174 173 172 171 170 167 166 165 164 163 162 161 160 V40507 217 216 215 214 213 212 211 210 207 206 205 204 203 202 201 200 V40510 237 236 235 234 233 232 231 230 227 226 225 224 223 222 221 220 V40511 257 256 255 254 253 252 251 250 247 246 245 244 243 242 241 240 V40512 277 276 275 274 273 272 271 270 267 266 265 264 263 262 261 260 V40513 317 316 315 314 313 312 311 310 307 306 305 304 303 302 301 300 V40514 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40515 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40516 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V40517 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 V40520 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 V4
32. 10 307 306 305 304 303 302 301 300 V40414 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40415 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40416 377 376 375 374 373 372 371 370 367 366 365 364 363 362 361 360 V40417 417 416 415 414 413 412 411 410 407 406 405 404 403 402 401 400 V40420 437 436 435 434 433 432 431 430 427 426 425 424 423 422 421 420 V40421 457 456 455 454 453 452 451 450 447 446 445 444 443 442 441 440 V40422 477 476 475 474 473 472 471 470 467 466 465 464 463 462 461 460 V40423 Address psj D no D lt a z D 3 Q lt D 2 D n N KO T gt je fob LO o gt t fb N o oc Reserved Memory Tables for Remote O Standard Output Y Addresses MSB LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 ges 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40500 037 036 035 034 033 032 031 030 027 026 025 024 023 022 021 020 V40501 057 056 055 054 053 052 051 050 047 046 045 044 043 042 041 040 V40502 077 076 075 074
33. 411 SP00 DA z H 040503 Starting Address __ OUT Remote 2 V7412 Pointer Address gt fe Output HP kgo No of 1 0 Points a o aay AS Pointer Address 1 2 SP00 E iI 040406 Remote 3 00 Table of Reserved Memory for Remote I O Setup 7414 Input AOD as First Master Module Second Master Module L TOUT V7415 Slave Input Number of Output Number of Input Number of Output Number of SP00 LDA Address Input Pts Address Output Pts Address Input Pts Address Output Pts ex 040505 1 v7404 7405 V7406 V7407 V7444 v7445 V7446 V7447 __ OUT Remote 3 V7416 2 v74i0 v74it v7412 7450 v7451_ Vv7452 V7453 Output LD Rie 3 v7414 Vv7415 V7416 7454 7455 V7456 7457 L_Jour 4 7420 1 V7422 V7460 v7461 V7462 V7463 tiii 5 V7424 V7425 V7426 v7427 v7464 v7465 V7466 7467 6 V7430 V7431 V7432 V7433 v7470 v7471 V7472 V7473 V7435 V7436 V7437 V7474 V7475 V7476 V7477 4 Setup Programming a Tell the CPU That Once you have decided on the starting addresses and the reserved memory You Are Finished locations for each remote base you have to zero out all of the reserved memory With the Setup locations you are not going to use and then tell the CPU that you are finished with the setup If you don t use the FILL command to insert zero s in the unused areas the CPU will assume that every pointer address V7404 through V7477 is pointing to a read or write start add
34. 5 Starting Address 2 V7410 V7411 V7412 V7413 V7450 v7451_ V7452 V7453 com table Below P vais Remote 3 3 v7414 V7415 V7416 V7417 7454 v7455 V7456 7457 POM Tape Dew O TTD utput 4 v7420 V7421 V7422 V7423 V7460 v7461 V7462 V7463 K16 5 v7424 v74235 v7426 v7427 vzas4 v74es v7466 v7467 Se ees ho Oe 6 v7430 V7431 7432 V7433 v7470 V7471 v7472 v7473 een 7 V7434 7435 V7436 v7437 v7474 v7475 v7476 V7477 L_ SET Tell CPU that setup is completed unused memory for this example et Return to main program Setup Programming Special Relays Used for Remote I O The remote I O system has several relays that are used with your system On the previous pages you saw how C670 is used to tell the CPU that all of the mapping has taken place Below is a complete list of all of these relays fede First Master Second Master Description O RY Relay s Relay s Setup Complete C670 C674 These two relays are used to tell the CPU that your program has Mandatory finished doing all of its remote I O mapping When finished the CPU continues the rest of its scan cycle Locate Error C700 C707 C720 C727 These relays are flags to let you know that a communication error has occurred If set there has been an error This method of error detection helps locate the error The last digit of the relay number indicates base unit For example C723 refers to the third slave unit of the second master If it were C705 it woul
35. D4 RM D4 RS amp D4 RSDC Remote Master Remote Slave Manual Number D4 REMIO M WARNING Thank you for purchasing automation equipment from PLCDirect We want your new DirectLOGIC automation equipment to operate safely Anyone who installs or uses this equipment should read this publication and any other relevant publications before installing or operating the equipment To minimize the risk of potential safety problems you should follow all applicable local and national codes that regulate the installation and operation of your equipment These codes vary from area to area and usually change with time Itis your responsibility to determine which codes should be followed and to verify that the equipment installation and operation is in compliance with the latest revision of these codes At a minimum you should follow all applicable sections of the National Fire Code National Electrical Code and the codes of the National Electrical Manufacturer s Association NEMA There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards We do not guarantee the products described in this publication are suitable for your particular application nor do we assume any responsibility for your product design installation or operation
36. MantialS s 2e aesiecwaees Suk eee Crewe eels e eee s aes eeeas rs ape eee os Sees 1 2 How this Manual is Organized s cs0oe dn ijtat ies gee tsa Geratee og te dst jaay ates oe 1 3 Technical ASSIStaNCE s a Maii a tid i Sara writin at Sasa PE are Bear atin Dare ricer A a Ad g 1 3 What is Remote VO wick ercie ost eee ed eee ee Eaten Mee eee ee eth eet 1 4 When Do You Need Remote WO si ois ik th eae Moke eile mike Ee 5 eto lela ho hag ahead 1 4 Number of Masters and Slaves Allowed 000 cece eee eens 1 5 How Does the DL405 Support Remote 1 0 0 0 c cece tenets 1 5 Distance Between Slaves and Master Baud Rates 0 cc cece eee ee eae 1 6 Remote Master D4 RM Features 00 cece eee eee eee eee eee eee eens 1 7 SpecificationS 50 Gente atte a tail a attra Me chat De EE tah aE tas haga a 1 7 Remote Slave D4 RS or D4 RSDC Features 2 cece eee eee eee eee eee eens 1 8 Specifications sretnu eel ash ees EA OT ia eat ie eG ash EE anal N a 1 8 Assigning the Remote Input and Output Addresses 00 cece eee eee eee eens 1 9 YOu Assign the Addr SSeS i creant hanna ae ead wean oes Coens bw ea ee eee see 1 9 Remote I O Data Types csi x cis cle ta ae ehhh Baas lol hed CE Me Sic lady Math cia tak A Cee as toll 3 1 9 Specify Addresses with Setup Logic 0 0 cece tenet eee 1 9 How the CPU Updates Remote I O Points 0 ccc ee cece eee eee eee eens 1 10 3 Easy Steps for Setting Up
37. Memory Address Y40502 Output Bit Start Address Y060 V Memory Address V 40503 8 16 16 2 l O O E Total Output Points_ Total Output Points_22 m S Slave 2 Install the bases and insert the master s and the remote slaves Wire all of your I O to match your information in Step 1 Set the hardware switches so that the p A Direct405R ao Kayo oo Ho CPU can identify the master and slave Te units This also will set the baud rate for a S data transfer and designate how the Ie slave units are numbered i e No 1 No a e 2 and so on Covered in Chapter 3 2 5 el Y O Write the RLL setup program that will tell SP00 RA the CPU which address you want to use lil 040403 for the remote input and output points Soe ion OUT Covered in Chapter 4 vraoa LD The next two pages provide a complete nes 2 overview of the entire process for an SNAS example remote I O system Of course aA to learn all of the details you should read tal 040502 each chapter carefully Output g r V7406 Total Output LD Points K16 3 D S dp D E o Getting Started EXAMPLE 38 4 kBaud D4 440 Step 1 Design the Remote I O System Master Main Base with Master SPOR Slave Worksheet
38. OS and Microsoft are registered trademarks of Microsoft Corporation Windows and Windows NT are trademarks of Microsoft Corporation OPTOMUX and PAMUX are trademarks of OPTO 22 Copyright 1997 PLCDirect Incorporated All Rights Reserved No part of this manual shall be copied reproduced or transmitted in any way without the prior written consent of PLCDirect Incorporated PLCDirect retains the exclusive rights to all information included in this document Manual Revisions If you contact us in reference to this manual be sure and include the revision number Title DL405 Remote Master Remote Slave D4 RM D4 RS and D4 RSDC Rev C Manual Number D4 REMIO M Effective Pages Description of Changes Original 11 94 Cover Copyright Original Issue Contents 1 1 1 13 2 3 ae A B C Rev A 1 95 Adds FILL instruction in several RLL examples Rev B 4 95 Corrects LDA instruction in several RLL examples Re C_ ee8 Yin conection Table of Contents Chapter 1 Getting Started Introduction srie ea ei cea pecan Yin to wt eat dace epee Sintec esata ajna ava sate ndw a EE neon Sai aa aja 1 2 The Purpose of IISA Wal lt 2 Pa Scsietadeats co tcc Rod etan a teantodn ere rat Sean Ge auete lasren dee taaliata nied ede reas 1 2 Who Should Read this Manual sics sien spoken bok oe eeee Ee one aS ee A ie SEE we 1 2 Where to BEGIN sy ceticeinwr tetera cotytareie ieee EE EE E ve ee tes eee EKE 1 2 Supplemental
39. OTE It is advised that you read the previous chapter on Defining Your I O System before you install your remote master and slave units The decision making process explained in that chapter will help you understand the rotary switches and dip switches covered in this chapter It will also help you with writing your ladder logic in the next chapter There are four easy steps to install either a D4 RM D4 RS or D4 RSDC module Step1 Set the address on the front rotary switch i e 1 through 7 Step2 Set the function code and baud rate on the rear DIP switch Step3 With no power applied insert the module into the base Step 1 With no power applied connect the wiring The text that follows will cover each of these steps in detail Installation and Wiring a Step One Setting the Front Rotary Switch Both the remote master and slave have a small rotary switch on the front of their enclosure It has the label UNIT ADRS beside it To access it you must remove the protective cover This switch is easily rotated using a flathead screwdriver oe REMOTE I O MASTER Le PWR J C RUN Dae O CPA D4 RS 110 220VAC REMOTE 1 0 ise i
40. Remote I O 00 cece eee eee 1 11 Step One Design the System 26 deeded a tet sak aeen edule rites enka ieee ecules Qetse kas 1 11 Step Two Install the Components eeen cece eee eee eens 1 11 Step Three Write the Setup Program 0 cece eee eens 1 11 Example Setup Diagram 2502 csessbeenees eriidwieenecucet oe cieneseneataet are iamas ess 1 12 Chapter 2 Designing a Remote I O System Designing Your System iccoidssss cote eon oa eae Dec tan caiteae eda eee Sees 2 2 Determine I O Needed and How Many Masters amp Slaves 00 cece eee 2 2 Define Your Idea By Using Worksheets 0 00 c cee tenes 2 2 Filling Out the Remote Slave Worksheet for Slave 1 2 0 0 cece eee 2 3 Filling Out the Remote Slave Worksheet for Slave 2 0 00 cece 2 4 Filling Out the Remote Slave Worksheet for Slave 3 0 0 c eects 2 5 Calculating the Power Budget 0 ccc ce eee eee eee eee eee eee eens 2 6 Managing your Power Resource 2 0 6 c0rtntnteciine dear eenemaaebewes vaee eins aaa 2 6 CPU Power Specifications nannan eeaeee 2 6 Module Power Requirements 2 o 4 sees acees oo ei de ha cee BEd Oe de Ee eee De 2 6 Power Budget Calculation Example 000 cece eee eee eens 2 8 Which Modules Can Go In the Remote Bases 00ecceee cee eee eeeeweeewneewnnees 2 9 LE Table of Contents Chapter 3 Installation amp Field Wiring Guidelines INTFOCGUCEI OM
41. U Biti SP1 For D4 430 this must be in main program Hi LD Number of V memory I K38 locations in table There are 56 LDA Where the reserved reserved locations 07404 memory starts Master 56 decimal 38 hex _ FILL icar Tabie SP1 1 0N 4 LDA 2 ON 1 I 040403 Starting Address 3 OFF OUT 4 OFF From Table Below v7404_ Remote 1 _JLD kie_ Input pa L OUT Ba SP1 From Table Below V7405 Ja g oi LDA f 1 OFF Hel i 040502 Starting Address 2 ON JS fo 3 OFF From Table Below 7 i 4 OFF fe a Remote 1 le ILD ae kie_ Output 2nd Remote L JOUT a From Table Below _V7407 ne SP1 18 ae Starting Add gt ped Ta 1 040404 arting ress Lo o Te OUT 3 OFF fe fo Ss sad N 4 OFF E From Table Below v74io_ Remote 2 J g LD fEl k2 _ Input a is g ate L_ OUT From Table Below V7411 SP1 1 LDA Ba 040503 Starting Address 1 OFF Je S Our 2 ON tel 3 OFF a S From Table Below V7412 Remote 2 4 OFF Je LD J BI k2 Output n g O OUT a 7413 SP4 From Table Below L VT Starting Address Table of Reserved Memory for Remote I O Setup 040406 3 OnT Remote 3 First Master Module Second Master Module Brom lable Below MAA D Input K16 Slave Input Number of Output Number of Input Number of Output Number of LOUT Address Input Pts Address Output Pts Address Input Pts Address Output Pts From Table Below _V7415 SP1 1 v7404 7405 V7406 7407 v7444 v7445 v7446 7447 ie LDA k 04050
42. X17 X20 X37 X40 X57 YO Y17 Y20 Y37 v40400 V40401 V40402 V40500 V40501 1st Remote 8 8a 88 lle 32 I O points l l ollo X60 X67 X70 X77 Y40 Y47 Y50 Y57 V40403 V40502 Slave 2 Module Ei 2nd Remote z5 Q 16 16 16 16 64 I O points D l IIO O amp S X100 X117 X120 X137 Y60 Y77 Y100 Y117 E Sie 40405 40503 40504 S Module oO Q 3rd Remote 8 8 8 8 32 I O points l l oilo X140 X147 X150 X157 Y120 Y127 Y130 Y137 lt i eee ay Total 128 I O points ave Module Given that CPU scan Tcs is estimated to be 50 ms Tin Maximum response input module time 08ND3S 12 ms Tout Maximum response output module time 08TD1 1 ms Trs 9 10 ms 2ms x3 15 10ms Tes Total Delay for Configuration Tiy 6 Tcs Tout 12 ms 6 50 ms 1 ms 313 ms
43. addresses for the points in each remote base from the tables in Appendix B are mapped with the proper reserved memory pointers The chart at the bottom of the page shows the pointer addresses Notice that the number of points goes in the address immediately following the pointer for the start address A combination of LDA and OUT commands are used to load and map the V40xxx address into the proper V74xx address The LD and OUT commands are used to load the number of remote points for each remote base by placing the number in the address immediately following its pointer The chart at the bottom also shows the memory locations for storing the number of I O points for each remote base i LDA it 0404034 OUT Remote 1 V7404 iD Remote lave Worksheet Input kie 1 OUT Note Remote Base Attdress Chodse 1 7 non V7405 The LDA instruction is Slot Module opur OUTPUT i Ny K E l S Number Name Input Address No Inputs PQutput Adaress_ No Outputs is placed in front of the OUT N umoo e fems xeo Ne KX Remote 1 _ ws vero X 1 Output gt o fest Noe rai pe a ee ee ee SP00 a y i LDA SS Ry 040404 OUT Remote 2 V7410 TLD Input K32 L_ OUT D V7
44. automatically assigned starting at YO Ina Remote I O system the input and output points in the remote bases are not automatically assigned in this manner Instead you have to add some setup logic to your control program that tells the CPU how to assign the addresses to the remote input and output points Remote I O In a local expansion system inputs are assigned starting at XO and outputs are Data Types assigned starting at YO Ina Remote I O system you can choose this conventional method or you can choose to assign the inputs and outputs to other data types For example you could assign the remote inputs and outputs as GX global data type or as the C control relay data type This provides flexibility and becomes especially useful if you have already used all of the available X input and Y output addresses in your local and expansion bases For example if you had a local expansion system that used several 32 point input and output modules you could easily use the entire limit of 320 X input or 320 Y output points 640 total max I O points Now if you added modules in a Remote I O system there may not be any additional X input or Y output addresses available for the remote inputs and outputs In the vast majority of remote I O systems you will be able to use the X input and Y output addresses but you can see that there may be occasions when you need a different data type for the remote points Specify Addresses The DL405 CPUs have s
45. d be indicating that the fifth slave unit of the first master module is not communicating 1 0 Status On Error C671 C675 These two relays are for determining whether you want the remote Save or Clear I O points to be set to zero when an error occurs or whether you want to save the current I O settings Restart But Ignore Part of C673 C677 You may want to continue updating I O data from remote I O bases System Causing Error i re even if one of them has caused a communications error These two relays allow you to take the bad base off line and to restart the sys tem before the error is cleared Communications OK C710 C717 C730 C737 These flags tell you if a particular base unit is ready for communica tion The last digit of the relay number indicates the base unit For example C711 refers to the first slave unit of the first master If it were C735 it would be indicating the communications status of the fifth slave unit of the second master module D E ban D fe a 2 5 o How to Use the Special Relays ad Setup Programming Here are some example uses of these relays and an added explanation for each of the relays discussed on the previous page C670 C674 These are setup flags for marking the end of your ladder logic that sets up your Setup Complete remote O configuration It should be the last rung of your setup It should Mandatory always follow your FILL command that zero s out all of t
46. d what you are looking for First check these resources for help in locating the information e Table of Contents chapter and section listing of contents in the front of this manual e Quick Guide to Contents chapter summary listing on the next page e Appendix reference material for commonly used networking terms e Index alphabetical listing of key words at the end of this manual You can also check our online resources for the latest product support information e Internet the address of our Web site is http www plcdirect com e Bulletin Board Service BBS call 770 844 4209 If you still need assistance please call us at 800 633 0405 Our technical support group is glad to work with you in answering your questions They are available Monday through Friday from 9 00 A M to 6 00 P M Eastern Standard Time If you have acommentor question about any of our products services or manuals please fill out and return the Suggestions card that was shipped with this manual Key Topics for The beginning of each chapter will list the aon Each Chapter key topics that can be found in that chapter Chapters Below is a table showing a summary of contents provided within each section of this manual The manual is organized into the following four chapters contains information you need to know to get started It includes a brief description of a remote I O system the basic Getting S
47. e DIP switch for the D4 RS and D4 RSDC is always set to the OFF position Remember only the D4 RM can be used as a master Position 2 is ON if you want the faster baud rate 38 4 kBaud It is OFF if you want the slower 19 2 kBaud Of course Position 2 of the master and slaves have to be set to the same setting in order to communicate Positions 3 and 4 are not used and are always set in the OFF position Installation and Wiring 3 9 Example Showing Here s the way Steps 1 and 2 would be carried out for the example system we Proper Setting of established in Chapter 2 if we decided to operate at 38 4 kBaud Switches Master Main Base with Master Rotary Switch Dip Switch Module Can go in any slo CPU ON and 16 16 16 16 16 AE ON Master PS I O 0 oao rs ON 38 4 kBaud ATA A OFF Not Used A OFF Not Used 1st Remote OFF Remote ON 38 4 kBaud OFF Not Used OFF Not Used 8 8 8 8 l l oilo IR l ro Ol Cn Slave Module 2nd Remote OFF Remote ON 38 4 kBaud OFF Not Used OFF Not Used amp Slave Module 3rd Remote OFF Remote ON 38 4 kBaud OFF Not Used OFF Not Used j yy gt n D S e Z Q E ange 8 8 l l O O 30 ON Slave Module a a N w A 16 16 16 16 rag ys 1 1 0 jo
48. ee PORT Update Time Required o of Remote I O Points 38 4 kBaud e 22 e4 Remote Scan Time You can figure out the amount of time required for the remote I O scan update with Formula the following formula Trs Time from Above Table 2 ms x No of Slaves Example Given a 38 4 kB system with a total of 128 remote points and 3 slaves Trs 9 10 ms 2 ms x 3 15 10 ms g oO D oO 5 fe Cc To Q w 0 4 S A Determining I O Update Time Calculating Total Delay for the System Now that you have calculated the time required for the Remote Master to go through its scan cycle and update its internal buffer area we need to add this time to other delay times inherent in the overall system Below is an example where a remote input changes a remote output Example Where A Remote Input Changes a Remote Output Inputs rom slot 1 A Inputs from slot 1 of 1st remote slave In j CPU Scan Image Area par oe a me Remote Scan read read Remote Slave 1 y X60 lt X60 5 X61 lt X61 o X62 l lt xe2 X63 lt X63 a Par of program X64 lt X64 that is executed X65 he X65 X66 lt X66 X60 X60 Y43 X67 X67 INPUT H c o T Output
49. es and quantity of I O modules you will be using in the Power Resource 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 Remote Slave selection At the end of this section you will also find an example of power budgeting and a worksheet showing sample calculations If the I O you chose exceeds the maximum power available from the power supply you can resolve the problem by adding another base either remote or expansion 2 WARNING It is extremely important to calculate the power budget correctly If you exceed the power budget the system may operate in an unpredictable manner which may result in a risk of personal injury or equipment damage E CPU Power The following chart shows the amount of current supplied by the the DL405 CPU m Specifications Expansion unit or Remote Slave unit Use this to calculate the power budget for your a system The Auxiliary 24V Power Source mentioned in the table can be used to power field devices or DL405 modules that require an external 24VDC Check the terminal strip wiring diagrams shown in Chapter 3 for the location of these terminals D4 430 3700 400 D4 EX 4000 400 D4 440 3700 400 D4 EXDC 4000 None D4 440DC 1 3700 None D4 RS 3700 400 D4 440DC 2
50. he unused pointer addresses Example i There are 44 unused reserved memory locations 44 dec 2C hex 670 L_ SET cue Last setup rung Tell CPU that setup is completed Return to main program C700 to C707 and C700 to C707 are assigned to the 1st Master C720 to C727 are assigned to C720 to C727 the 2nd Master The last digit of these relays indicates the base unit number Locate Remember that the CPU base is always Base Unit 0 The remote bases can Communications be any number 1 through 7 For example C721 refers to the 2nd Master 1st Error Optional Remote Base These relays will be set when there is a communications error between the respective master and slave assigned to the relay number Example Gia gas Y14 could be an output that 1 out turns on an indicator light or an alarm that indicates the 1st Remote Base of the 2nd Master is not communicating C671 C675 C671 is assigned to the 1st Master C675 is assigned to the 2nd Master When I O Status On Error any master can t talk to one or more of its slaves the link LED will illuminate on Optional the affected module and the system will stop updating the remote I O status in the CPU You have several options at that point One such option is either to save the last known I O status that is in the CPU s memory image area or to write a zero to each point If these flags are OFF when the error occurs all current I O will
51. ices By locating the remote bases and their respective I O modules close to the field devices wiring costs are reduced significantly Another inherent advantage of remote I O is the ability to add or remove slave bases or temporarily take a base off line without disrupting the operation of the remaining system How Does the With the DL405 system up to 512 remote I O points can be supported by the DL440 DL405 Support CPU or the DL430 CPU Remote I O The remote master is placed inthe CPU base This master D4 RM controls up to 7 remote slaves D4 RS or D4 RSDC Remote Master The D4 RM can link up to 7 remote slaves It is mounted in the CPU base Up to 2 masters can be used Remote Slave The D4 RS and D4 RSDC are placed in remote base units Each slave has a built in power supply and and the I O circuitry required to be linked to the master module via twisted pair cable Only one D4 RS or D4 RSDC is required for each remote base D4 RS Accepts AC power D4 RSDC Accepts DC power e and Slaves Allowed 3 D o aw dp D E o 0 Distance Between Number of Masters In its simplist form you may want to use only one master in your CPU base and then attach from one to seven remote I O bases However in addition to the simple configuration more than one master can
52. ices are slower than the delay itself If you have an application that requires a thorough understanding of the time delay you can use the following information in order to calculate the delay e Baud Rate this is the communication baud rate that you selected with the dipswitch settings on the remote master and remote slaves e CPU Scan Time this is the total CPU scan time The easiest way is to use AUX53 from a DL405 Handheld Programmer or use the Diagnostics option under the PLC menu in our DirectSOFT Programming Software This Use the respective specifications in the User s Manual You can also use the DL405 User Manual to calculate the scan time but this is often very time consuming If you use the User Manual you will have to estimate this time because it is dependent on the main program length and number of I O points in the local and expansion bases as well e Remote Master Scan this is the time required for the Remote Master to scan the individual Slave stations to update the status of the I O modules Use the formula and table shown on the following page e Module ON to OFF OFF to ON Response Time this is the amount of time that the module requires to see a transition in status For example when a switch connected to an input module closes it can take a few milliseconds 1 12 typical before the module actually makes the transition from OFF to ON The easiest way to find this information is from the module s
53. lent Maximum Transimission Distance 3300 ft 1000 meters Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 5 to 95 non condensing Environmental air No corrosive gases permitted Vibration MIL STD 810C 514 2 Shock MIL STD 810C 516 2 Noise Immunity NEMA ICS3 304 e e 3 D o ne dp D E o 0 Specifications PWR Turns ON at power up RUN Turns ON when the module Remote Slave Remote Slave D4 RS or D4 RSDC Features 1 O Turns ON when the communications link is set up wrong or the rotary switch is set to 0 8 or 9 ora is operating correctly DIAG Turns ON when there is a hardware failure slave module controlled by the D4 RM causes an error BLINKS when module RUN RELAY a 24 VOLT AUXILLARY POWER LOGIC GROUND CHASSIS GROUND POWERI UNIT ADRS Rotary switch for setting the module to be a E slave bases 1 through 7 O O DIP SWITCH On rear of module for setting baud rate user power supply fails e g analog module with no 24VDC connected PAR Turns ON when there is a parity error in your setup LINK Turns ON when there is a com munications error
54. locations Divs memory starts asie i FILL a 56 decimal 38 hex I Ko Clear Table 1 0N LDA 2 ON 040403 Starting Address 3 OFF SUT 4 0FF From Table Below v7404_ Remote 1 _JLD kie_ Input ST _ OUT Se From Table Below _V7405 z SP1 T j LDA i 1 0FF Te 1 f 040502 Starting Address 2 ON JS lol 3 OFF J From Table B I yea J le rom lable Below 4 OFF J aas Remote 1 8 __ CEP kie__ Output 2nd Remote JOUT ET V7407 P SP1 From Table Below 1 0FF Sor H Starting Address 2 ON J 040404 g 3 OFF e Ol JOUT 4 0FF From Table Below v74io_ Remote 2 F JLD F lt o_ Input S Si ele L OUT From Table Below V7411 SP1 EA ew Starting Address oo in res 1 OFF Je T E 2 ON Hel __ 3 0FF 8 g From Table ese v7ai2_ Remote 2 4 OFF e TLD B B k2 Output eI B 3 L Tout e V7413 SP4 From Table Below 7 Table of Reserved Memory for Remote I O Setup a 040406 Starting Address OUT First Master Module Second Master Module From Table Below V7414 Remote 3 fD Input K16 Slave Input Number of Output Number of Input Number of Output Number of L__ OUT Address Input Pts Address Output Pts Address Input Pts Address Output Pts From Table Below V7415 1 v7404 7405 V7406 V7407 v7444 v7445 v7446 7447 ae LDA 2 Ia 040505 Starting Address V7410 V7411 V7412 V7413 7450 v7451_ V7452 V7453 Hs Remote 3 3 v7414 V7415 V7416 V7417 V7454 v7455 V7456 V7457 From Table Below TTD Output 4
55. mote O Remote Master D4 RM Features Remote Slave D4 RS or D4 RSDC Features Assigning the Remote Input and Output Addresses How the CPU Updates Remote I O Points 3 Easy Steps for Setting Up Remote I O Manual Introduction 3 D Re dp D E o 0 The Purpose of this Manual Who Should Read this Manual Supplemental Manuals Technical Support This manual shows you how to install program and maintain the equipment It also helps you understand the system operation characteristics ipee405RS Koyo PIREISRS E If you understand PLC systems our manuals will provide all the information you need to get and keep your remote I O system up and running We will use examples and explanations to clarify our meaning and perhaps help you brush up on specific features used in the DL405 system This manual is not intended to be a generic PLC training manual but rather a user reference manual for the DL405 remote I O system Depending on the products you have purchased there may be other manuals necessary for your application You will want to supplement this manual with any other manuals written for other products We suggest e D4 USER M the D4 405 User Manual e DA DSOFT M the DirectSOFT User Manual We realize that even though we strive to be the best the information may be arranged in such a way you cannot fin
56. nsidered Option 1 a Use Internal Resistor Only 2 aS T i Internal D With this configuration you use the Z 330 ohm ace internal resistor of the module to provide resistor all the terminating resistance necessary 2 vi eros ro A jumper wire is placed between the ay E terminating terminal andterminal1 22222222L a 3 p i ap Option 2 rep se Ste a as Use Internal Resistor and Balance 2 gat Resistor Internal J amp S 330 ohm a5 To better match the impedance of the J resistor cabling you can elect notusethe internal 2 resistor and instead use a resistor of a your choice externally This is connected between terminals 1 and 2 You do not 3 use the jumper wire in this case o You add your own re sistor using a resistor between 100 and 500 ohms o 3 3 Installation and Wiring ap Internal 1 330 ohm Option 3 External Resistor in Series With this option you use an external resisor in series with the internal resistor The sum resistance should match the cabling impedance eS resistor pT Internal Wiring You use an external resistor in series with the internal resistor Connecting the D4 RM D4 RS and D4 RSDC modules Run Output Circuit have a normally open relay that closes when communication is successfully a
57. on number of I O points used Determining I O Update Time What is Remote 1 0 3 D o ne dp D E o 0 A remote I O system allows you to locate I O modules in bases at some remote distance from the CPU base but still under its control These remote bases have no CPU of their own and are completely controlled by the CPU in the main base viaa special module called a remote master Each remote base unit has a remote slave consisting of an internal power supply and I O adapter circuitry that allows the exchange of data with the CPU in the main base via the master module The communications link between the master and its slaves is provided by twisted pair cable Up to 512 remote I O points can be supported by either the DL430 or DL440 CPU s with baud rates of 19 2 and 38 4 kBaud One Master in CPU Base 1 Channel Remote Master SS Remote Slaves ine J When Do You Need Remote I O offers tremendous savings on wiring materials and labor costs for larger Remote I O systems in which the field devices are in clusters at various spread out locations With the CPU in a main control room or some other central area only the remote I O cable is brought back to the CPU base This avoids the use of a large number of field wires over greatly separated distances to all the various field dev
58. one AC DC Input Modules F4 MAS MB 235 None D4 16NE3 150 None F4 SLV MB 235 None F4 08NE3S 90 None F4 SLV MBR 350 None DC Output Modules F4 SLV TW 250 None D4 08TD1 150 35 F4 SDN 235 None D4 16TD1 200 125 FA UNICON None 65 D4 16TD2 400 None CoProcessors D4 32TD1 250 140 F4 CP128 305 None D4 32TD1 1 250 140 15V F4 CP512 235 None D4 32TD2 350 120 4A max F4 CP128 T 350 None including loads D4 64TD1 800 max None F4 CP128 R 350 None AC Output Modules Specialty Modules D4 08TA 250 None D4 INT 100 None D4 16TA 450 None D4 HSC 300 None Relay Output Modules F4 16PID 160 None D4 08TR 550 None F4 08MPI 225 170 D4 16SIM 150 None F4 08TRS 1 575 None F4 4LTC 160 None Programming F4 08TRS 2 575 None D4 HPP 320 None Operator Interface D4 16TR 1000 None DV 1000 150 None waishs y Bulubiseq e e 2 6 Designing the System D D gt do c Z a ma O Power Budget Calculation Example The following example shows how to calculate the power budget for the first slave unit of a remote I O system Used Remote Slave D4 RS D4 08ND3S Slot 1 D4 08ND3S 100 Slot 2 D4 08TD1 150 Slot 3 oO OO CO D4 08TD1 150 Slot 4 Slot 5 Slot 6 Slot 7 Other Base D4 08B Maximum power required 580 0 Remaining Power Available 3700 580 3120 400 0 400 1 Using the tables at the beginning of
59. pecific memory locations called pointers that tell the CPU with Setup Logic howto assign the remote I O addresses First you use the tables in Appendix B to look up the next available starting address for the data type you want to use Next you use a combination of LDA LD and OUT store this information in the pointers Consider the following example Although it hasn t been discussed yet we know that V7404 is the pointer for the 1st Remote base belonging to the 1st Remote Master If your starting address for the I O points belonging to the 1st Remote are going to be X60 then you would look in Appendix B to find that the starting memory location for X60 is V40403 Then you would use LDA and OUT commands to map the address into that pointer V7404 Next you would tell the CPU how many input points are in the Remote base Then you repeat the steps for the output points Later in this manual you will be shown all the pointer addresses in a convenient table and we ll go into greater detail with additional examples Remote I O Address Assignement Hai Main Base with Master Below is the RLL that maps the remote I O for unit 1 into memory 1 These points are automatically CPU 16 16 16 16 16 assigned to memory by the SP00 and CPU for the local base LDA l Vl 040403 PS olo V7404 X0 X17 X20 X37 X40 X57 YO Y17 Y2
60. pecifications in the respective User Manuals This basic information is also available in the specifications of the Sales Catalog e Total Delay Time this is the total delay time that takes all of the above factors into consideration There are several formulas that can be used to calculate this delay time See the formulas on Page C5 of this Appendix Once you have selected the formula applicable to your system you will use the information you have gathered for the above items to calculate the total system delay time Since each application is different we cannot possibly show all of the options for the CPU scan time or the possible module response delays You can easily find this information in other publications However the next few pages will show you how to calculate the delay time for the Remote Master Scan Also we show the total delay time for our example system that was used earlier in this manual Determining I O Update Time a3 Remote I O Update Table The table shown below shows you how much time is required for the Remote Master Module to update its I O data to its internal buffers Remember from earlier reading in this chapter that the remote I O scan and CPU scan are asynchronous The CPU may be looking at the master module s internal buffers several times before the master actually has enough time to write new data there This chart shows the maximum amount of delay based on the number of I O points being used g
61. put chart you find cross reference Y040 with 40502 These numbers are filled in at the bottom of the worksheet They will be used later in your ladder logic Now let s do the same thing for your second remote I O base 4 2 4 Designing the System Filling Out the Remote Slave Worksheet for Slave 2 Master Main Base with Master Module Can go in any slot CPU 16 16 16 16 16 and PS l l 1 O0 0O X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 V40400 40401 40402 40500 40501 1st Remote 8 8 8 8 l l oilo eo aoa FA a T Slave Module 2nd Remote 16 16 16 16 l l O o X100 X117 X120 X137 Y60 Y77 Y100 Y117 V40404 V40405 V40503 V40504 Slave Module 3rd Remote 8 8 8 8 l l oilo X140 X147 X150 X157 Y120 Y127 Y130 Y137 V40406 V40505 Slave Module The following remote slave worksheet has been filled in to match the second remote I O base of the example system Remote Slave Worksheet Remote Base Address ______ Choose 1 7 Slot Module mee OUTPUT Number Name input Address Address No Inputs Output Address No Outputs 16ND2 X100 Input Bit Start Address X100_V Memory Address V 40404 Total Input Points Committed___32 Output Bit Start Address Y60__V Memory Address V_40503 Total Output Points Committed__ 2 x O X100 X117 X120 X137
62. rectA05RS PWR E 5 vo LOGIC RUN PAR Koyo DIAG LINK aa O E mn EH RUN bees q amp Rotary Ie D Switch 2AVDC on wi T D Tl D 11 1 8 mr 1 21 e 41 7 5 n 3 asta D D 1 o c IA EMO Ly 7 a RUN p Shs A D 3 30VDC 1A D P R os4 CLASS2 vac D G D 3 D4 RM O g wora Align the arrow on the switch to 0 if you plan to use the module as a master D4 RM only Set it to any number 1 7 if you plan for it to be a slave D4 RS or D4 RSDC Two slaves cannot have the same number if they are linked to the same master Always use consecutive numbers for slaves starting with Address 1 don t skip numbers 3 4 Installation and Wiring Step Two Setting the Rear DIP Switches On the rear of each module is an opening with a 4 position DIP switch These switches must be set to indicate whether the module is a slave or a master and to specify the proper baud rate either 38 4 kBaud or 19 2 kBaud e pee x a ON L p c DP pe Switches D f fe L O S D Chart for DIP Switch Settings Always ON ON 38 4 kBaud Always OFF Always OFF OFF 19 2 kBaud Remote Always OFF ON 38 4 kBaud Always OFF Always OFF OFF 19 2 kBaud An arrow showing the ON position is visible on the switch beside Position 1 Position 1 is in the ON position for the DM4 RM Postion 1 of th
63. ress This could cause problems You may have garbage in these locations at the very least its going to take up unnecessary scan time The easiest way to fill the unused memory locations with zeros is to do it first before loading your table setup Then you overwrite those memory locations used during your table setup and everything else is zeros as required The example below approaches the problem this way LD Number of V memory 38 locations in table There are 56 LDA Where the reserved reserved locations Ome memory starts 56 decimal 38 hex I Be Clear Table SP j LDA 040403 OUT v7404_ Remote 1 ks _ Input OUT V7405 LDA I 040502 OUT E wee Remote 1 r L_xis__ Output OUT v7407 LDA LJ 040404 __ OUT v7aio_ Remote 2 2k _ Input OUT V7411 SP1 l LDA 040503 _ OUT v42 Remote 2 P Output OUT V7413 SP1 1 LDA Led 040406 OUT aia Sid ai 3 _ nput a K16 pu L OUT V7415 LDA 040505 OUT v46 Remote 3 LD P a Input JOUT V7417 C670 SET Tell CPU that setup is completed deka Setup Programming EXAMPLE 38 4 kBaud D4 440 Step 1 Design the Remote I O System Master Main Base with Master Remote Slave Workshee
64. s for slot 3 of 1st Outputs for slot 3 of 1st xe remote slave in remote slave in Q CPU Image Area Remote Master Buffer 2 write write Remote Slave 1 yaso _ yao cain D Y41 gt Y41 a T Y42 gt Y42 8 8 8 8 E Y43 gt Y43 8 1 HOO a Fl Rar Danae Y44 gj Y44 Y40 Y47 a Y45 gt Y45 Y46 gt Y46 Y43 Y47 gt Y47 1 OUTPUT The above drawing could be simplified schematically to look like this Remote Remote Input CPU Output X60 Y43 O O The table on the adjacent page gives you a table that shows the formula for calculating the overall system delay for this scenario It also shows you formulae for two other possible scenarios Determining I O Update Time amp 9 Total Delay Time The following table provides delay formulas for three different configuration Formulas scenarios Notice that that there are two sets of formulas for each scenario The formula chosen depends on whether the CPU scan time is greater than or less than the Remote Master scan time There are several variables used in the formulas The following descriptions will help you understand them e Tcs CPU scan time You can use DirectSOFT or a Handheld Programmer to determine this time or you can estimate the time required by using the DL405 User Manual e Trs Remote Master scan time Use the table and formula shown previously to determine this time e Tin and Tour
65. ster will tell the CPU to ignore this slave unit during re start after an error Y14 could be an output that turns on an indicator light or an alarm that indicates the 1st Remote Base of the 1st Master is not communicating Y27 could be turning on an indicator light when the 2nd Remote Base con nected to the 1st Remote Master is ready for communications Remote I O Subroutine Remote 1 Input Remote 1 Output Remote 2 Input Remote 2 Output Tell CPU that setup is completed Return to main program a fe Co o 3 5 Co Appendix A Remote I O Worksheet A A Introduction to Motor Drives and Encoders Remote Slave Worksheet Remote Base Address Choose 1 7 e e OUTPUT Name Input Address No inputs Output Address Input Bit Start Address V Memory Address V Total Input Points Output Bit Start Address V Memory Address V Total Output Points Appendix B Reserved Memory Tables gt B 2 Reserved Memory Tables for Remote O Remote Input Output Global GX Addresses N a T gt je fob LO o gt t fb N o oc MSB LSB 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 peices 017 016 015 014 013 012 011 010 007 006 005 004 003 002 001 000 V40000 037 036 035 034 033 032 031 030 027 026 025 024 023
66. t Module Can go in any slo 1 Remote Base Address Choose 1 7 CPU INPUT OUTPUT 16 16 16 16 16 Slot Modul St ale eee anner name ice ne mio oupaadions No Oui i Pe foes oo fe XO X17 X20 X37 X40 X57 YO Y17 Y20 Y37 O8ND3S x070 E ee ae vaoao0 V40401 V40402 40500 V40501 1st Remote T e om o S v o e s lsaslsls e To To o o SU tees aee e a oes er YAON ee ae ae 40403 40502 Slave Module Input Bit Start Address x060 V Memory Address V_ 40403 2nd Remote Total Input Points 16 16 16 16 16 Output Bit Start Address Yo40 _V Memory Address V_ 40502 l l O O Total Output Points 16 X100 X117 X120 X137 Y60 Y77 Y100 Y117 V40404 V40405 V40503 V40504 Slave Module Remote Slave Worksheet 3rd Remote Remote Base Address______ Choose 1 7 8s 8 8 8 I OJO i X140 X147 X150 X157 Y120 Y127_ Y130 Y137 40406 40505 Slot Module TEROA OUTPUT Number Name Input Address No Inputs Output Address No Outputs o renoe xo oe BELJEN Slave Module ARAR Slave Worksheet Remote Base Address____ gt Choose 1 7 i E Numsen iiem input Address No Inputs Output Adaress_ No Outputs but Bit Start Address _ _ v Memory Address V_40404 o fownoes xo s TT tenant hona 1 Joos xo s TT pm 2 foro v put Bit Start Address
67. tal Output Points_ Note The Remote Slave Worksheet is Input Bit Start Address __X 40 _V Memory Address V_40406 found in Appendix A Total Input Points 16 Output Bit Start Address Y120_V Memory Address V_40505 Total Output Points 6 Getting Started Step 2 Set the Hardware Table for setting DIP switch Step 3 Write the Setup Program RLL Program SP00 K1 ae j Go to remote I O Position 1 2 3 4 ats subroutine Main Program Bod ON 38 4kB g y Always ON Always OFF Always OFF Master y OFF 19 2kB y y END SBR K ONEA Remote I O Subroutine ees Note Write as subroutine only if using D4 440 CPU Remote Always OFF Always OFF Always OFF For D4 430 this must be in main program OFF 19 2kB SP LD Number of V memory K38 locations in table There are 56 LDA Where the reserved r reserved
68. tarted components of the system and an overview of the steps necessary to develop a working system shows you how to design your system It includes a tutorial wae on how to use worksheets to keep track of all the remote I O sa e and the address assignments for remote I O It provides the y framework for developing the necessary information you will need for programming and hardware setup shows you how to install your modules This chapter t Installation and includes wiring information shows you how to set the rotary 3 Communication Wiring dial and dip switch on each module how to daisy chain the Guidelines remote units how to size and use termination resistors and how to connect the Run Output circuit ae shows you how to use DirectSOFT to write the remote I O Writing the Setup setup program This chapter takes the information developed Program from your worksheets and helps you develop a working program Appendices Additional information is available in the following appendices included is a blank worksheet that can be copied and used Remote I O Worksheet for designing your system X Reserved Memor shows the reserved memory locations for the transfer of B Tables y remote I O data It is cross referenced by data type shows you how to calculate the amount of delay inherent with the transfer of data back and forth between the master and its remote slaves Provides tables for both 19 2 kB and 38 4 kB based
69. the top of the module to secure the module to the base Installation and Wiring 24 Step Four Connecting the Wiring General Wiring Guidelines Power Connections for the D4 RS or D4 RSDC Earth Ground _ You should consider the following wiring guidelines when wiring your system Step1 There is a limit to the size of wire the modules can accept 16 AWG to 24 AWG is recommended Smaller AWG is acceptable Step2 Always use a continuous length of wire do not combine wires to attain a needed length Step3 Use the shortest possible cable length Step4 Where possible use wire trays for routing Stepd5 Avoid running wires near high energy wiring Step6 Avoid running input wiring in close proximity to output wiring where possible Step7 To minimize voltage drops when wires must run along distance consider using multiple wires for the return line Steps Where possible avoid running DC wiring or communication cabling in close proximity to AC wiring Step9 Avoid creating sharp bends in the wires Step 1 Label all wires To access the power terminals of the D4 RS or D RSDC modules you must first remove the large protective cover from the front of the enclosure Without power being applied connect the line voltage or DC power supply wires to the appropriate terminals Also connect the safety earth ground
70. v7420 V7421 v7422 7423 v7460 v7461 v7462 V7463 K16 5 v7424 7425 7426 7427 v7464 v7465 V7466 7467 From Table Below are 6 v7430 V7431 7432 V7433 v7470 V7471 v7472 v7473 C670 7 v7434 v7435 v7436 v7437_ v7a7a v7475 v7476 7477 L_ SET eae setup unused memory for this example pr Return to main program Designing a Remote I O System In This Chapter Designing Your System Calculating the Power Budget What Modules Can Go In the Remote Bases ene Designing the System Designing Your System Determine I O The first step in putting any system together is to at least establish a mental picture of Needed and How the system components You may even want to draw a diagram Below is a drawing Many Masters amp of a typical system with Slaves one master module in the main base main base has three input modules and two output modules each with 16 points first remote base has two input and two output modules each with 8 points second remote base has four 16 point modules two input and two output third remote base is identical to the first Main Base with Master Master Module Can go in any slo CPU and 16 16 16 16 16 PS l l IIO O X0 X17 X20 X37 X40 X57 Y0 Y17 Y20 Y37 v40400 V40401 V40402 V40500 V40501 1st Remote 8 8 8 8 1 o oO X60 X67 X70 X77 Y40 Y47 _ Y50 Y57 V40403 V40502
71. w You subroutine If you have a DL430 the decision is made for you The DL430 cannot Are Going to Call handle the GTS command for calling a subroutine and so you have to write the Your Program code in the main body The DL440 on the other hand does include the GTS command A subroutine for your remote I O setup has an advantage over writing the code into the program s main body Some remote I O setup logic becomes quite lengthy By putting the setup in a subroutine you don t have to scroll through extra logic during routine troubleshooting procedures If you are using the DL440 we advise you to use a Subroutine for your remote I O initialization Here s how Using the GTS Command for the DL440 SP00 a I DirectSOFT Display 1 Main Program Body Goes Here END Subroutine Will Go Down Here NOTE Set Retentive Ranges so that C670 C737 and V7404 V7477 are not retentive aad Setup Programming Step 2 Whether you choose to write the remote I O setup program as a subroutine or asa Write the Setup part of the main program the procedure is still the same You have two things you Logic for Each have to do Remote Base e Tell the CPU where to read and write the remote I O points in memory This is done with the use of address pointers e Tell the CPU how many points are located in each base You can use your worksheets to assist you In the diagram below you see how the starting
72. you should place these critical I O points in the local or expansion bases The CPU reads the status of any input points associated with remote I O and stores the status in the input Remote Scan y CPU Scan image register Asynchronous to CPU scan S Mapped into memory using your RLL Read Inputs The Remote Master obtains the I O V7404 40000 octal status from the Remote Slaves V7405 0008 bed Read Inputs from Remote I O GX2 GX1 GXO 00101100 ON OFF OFF Input Image Register Starting Address Remote Master Service Peripherals Force O Remote Master Buffer Remote Slave 1 CPU Bus Communication O OFF lt GXO 5 OL orr lt Gxt oO Update clock Special Relays 1 ON lt GX2 1 ON lt GX3 o l Solve the Application Program O OFF lt GX4 GXO yi Tis N lt GX5 1 P OFF lt GX6 Input Module The status of the input ister i used to solve the application program OFF Se GX7 Write Outputs In this example we have 8 inputs using global GX data types in Slave Write Outputs to Remote I O 1 We have designated 40000 octal as the starting address for writing the input data Output data if Diagnostics there were output points is handled y in a similar fashion
Download Pdf Manuals
Related Search
Related Contents
VIBE Audio LANZAR X8 User's Manual Samsung G608 ナルシィ NA 取扱説明書 MX U6 MX U8 MX U10 MX U12 manual Art.p65 Conair CS32XR Infiniti CRT-603-CZ1 Contactless Card Reader Module User Manual 14.仕上げ 13.リモコン Cisco Upgrade License Kit Copyright © All rights reserved.
Failed to retrieve file