Home
View / the Complete Manual
Contents
1. RLL Program Go to remote e D ber of 5 number of input points T ets 1 0 subroutine Si K16 RSE Main Program Body a ee ef OUT yg Store in temporary memory i emote Inpu END from bottom of previous column and Output oe number of output points SBR ki Remote I O Subroutine Ranges 0T pe Store in temporary memory i SPO first scan relay eae number of input points ae LD Bits 0 1 2 7 initiates setup OUT Initiate Setup K87__ Bit 7 1 sets Auto Return to Network Set up 3rd k 2007 Store in temporary memory tl u OUT v2000 Store in temporary memory Remote Input eae number of output points Store to Rack Slot Address of Master a care _ OUT Store in temporary memory LD Memory t L_k1___ Number of bytes to write Store to tP Rack Slot Address of Master LDA 0176 Address From Table below Shared E oes Number of bytes to write Memor Tp oe Write Address Config data see 4 me Address From Table Below SPO ge total number of input points Le ie Write slave range data i SPO Set up Channel KET Store in temporary memory LD C1 means store settings Input and Out 5 A Set up Com KCI total number of output points T out put Ranges K112 put p plete Code 2013
2. a n a D mE ae ee 3 o RUN RUN is off RUN 1 Master PLC power is 1 Check the PLC power biaa nac disconnected source vo Li vo T 2 Remote Master is defective 2 Replace the Remote a Master LINK LINK RUN D RUN is on run LINK is on 1 Switch setting on master or 1 Check the DIP switches on DIAG DAG slave station is incorrect Remote Master and slaves a inati inai to ensure their baud rate 2 Communications wiring is 4 vo JL 1 0 incorrect and protocol settings LINK 1 LINK am match 2 Check the communications wiring and termination resistors RUN RUN is run L_ 1 Setup program is not correct 1 Check the setup program to flashing 2 1 0t ensure pointer values and DIAG DIAG otals do not match values 1 0 is on in D2 RMSM shared memory configuration constants are o D vo _ 124 and 126 correct LINK LINK _ 2 Check the I O totals against the sum of the individual slave ranges in the setup program RUN ILI LINK is on Run 1 0 is 1 I O module failure at slave 1 Check the I O modules in biae eas flashing 2 Slave module is missing the slave unit for failures 24VDC power 3 Sl b budget Slave base pwer budge Lin l si overloaded RUN JZ Lights run Lights 1 Module
3. Completing the We have filled in the following remote slave worksheet to match the first remote I O Remote Slave base of the example system Worksheet for Slave 1 Main Base with Master a aa Remote Slave Worksheet PS CPU 16 16 16 16 Remote Base Address 1 Choose 1 7 for RM NET or 1 31 for SM NET l l 0 O Module L_____INPUT _ Output ToO VRS RR a Po z 1st Remote S o Fs 16 16 16 16 t6 J I lolo o fa al gt X40 X57 X60 X77 Y40 Y57 Y60 Y77 Y100 Y117 SS Z siave V40402 V40403 40502 40503 V40504 Vi Module Ooo La o 2nd Remote Q Input Bit Start Address X040V Memory Address V__ 40402 PS 8 8 8 16 8 Total Input Points 32 l l O O O Output Bit Start Address Yo40_ V Memory Address V_40502 Total Output Points 48 Slave The D2 RMSM automatically assigns I O addresses in sequence based on Module Slave 1 s starting addresses The DL250 DL350 port setup program requires 3rd Remote these addresses for each slave PS 16 16 16 12 12 l l l oilo Slave Module Starting Addresses From Appendix B V40402 40502 Input utput In this example the CPU base has 64 points allocated to its input and output modules which the CPU automatically configures as points XO thru X37 and YO thru Y37 Thus the starting address for the first remote base inputs can start at X040 or higher and the startin
4. 3 8 Installation and Wiring Step Four Connecting the Wiring General Wiring Consider the following wiring guidelines when wiring the communication cabling in Guidelines your system 1 Che 0 6 7 Always use a continuous length of cable Do not combine cables to attain a needed length Use the shortest possible cable length Where possible use conduit for cable routing Avoid running cable near high energy wiring Where possible avoid running communications cabling in close proximity to AC wiring Avoid creating sharp bends in the cables Label all wires Cable The recommended cable for connecting the master and slaves is a single twisted Recommendation pair cable Belden 9841 or equivalent This cable meets the RS 485 standard for communications Its impedance specification is 120 ohms per thousand feet Cabling Between The diagram shown below depicts the cabling between the D2 RMSM master and the D2 RMSM its slaves The two inner wires are connected to terminals 1 and 2 of each module Master and Slaves The shield wire is connected to terminal 3 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 Ka e Ka e Je e4 e Se i Soo Ea Installation and Wiring Termination At eac
5. to top of next column RLL Program SPO SPO g K1 LDD Load 32 bit accumulator ars Go to remote I O iI o with o subroutine Clear Unused oum Clear all unused V Main Program Body from bottom of previous column Memory ee memory locations B2501 15 B2601 0 Lv37716 out B2601 0 refers to bit 0 of V2601 _ ouTD X15 B2501 15 refers to bit 15 of V2501 V37720 OUTD example of logic using Bit of Word instructions to reference V37722 input and output status from remote I O channel OUTD i 37724 Hz END __ OUTD V37730 ser K Remote I O Subroutine SPO ee V37732 first scan relay Clear Unused OUTS PrO To set port data follow previous Memory examples eee Set port data 37736 SPO C740 Tell CPU that setup i pis Oi Inputaddress SET completed Remote 1 Vav704 reserved Vymemory e Inpu iD CRT K48 total inputs TERR reserved V memory 62601 Output address DL250 DL350 Reserved Memory Table mote 1 utput v37706 reserved V memory Port Setup Word V7656 LD K32 total outputs Setup Complete Flag C740 OUT Slave Input Number of Output Number of V37707 reserved V memory Address Input Pts Address Output Pts SP en Input address 1 V37704 V37705 V37706 V37707 a
6. The RD instruction reads a block of data 1 128 bytes max from an intelligent I O module into the CPU s V memory The function parameters module base slot RD address number of bytes and the intelligent I O module A aaa memory address are loaded into the first and second level of the accumulator stack and the accumulator by three additional instructions In the RD instruction Aaaa specifies the starting V memory address where the intelligent module stores the data in the CPU Listed below are the steps to program the RD instruction P LD K04 Load the base number 0 into the first byte and the slot number 1 7 1 into the second byte of the second level of the accumulator stack LD Load the number of bytes to be transferred into the first level of the bess K2 accumulator stack __ LDA Load the intelligent module address from which the data will be read 0122 into the accumulator The parameter must be a HEX value __ RD Insert the RD instruction which specifies the starting V memory loca V2020 tion where the data will be stored 0 12 Diagnostics and Troubleshooting Errors Example 1 Reading Diagnostic network either during installation or for a previously operating system During The diagnostic error information can assist you in locating errors on a remote I O installation we might expect configuration errors caused by incorre
7. Appendix A Remote I O Worksheets A A Remote I O Worksheets Remote Slave Worksheet O Worksheets Remote Base Address Choose 1 7 for RM NET or 1 31 for SM NET INPUT OUTPUT Slot Module Number Name Input Address No of Inputs Output Address No of Outputs ae ee ee ee ee ee a es ee ee ee S S E e ee ee ie a ee ee ea e es eee A A ee ee ee ee 2 ee ee ee eee Input Bit Start Address V Memory Address V Total Input Points Output Bit Start Address V Memory Address V Total Output Points The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave A Remote I O Worksheets AWS Channel Configuration Worksheet D2 RMSM Remote Master Module Master Slot Address 1 7 Protocol Selected RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown Configuration Parameter RM NET SM NET Baud Rate in KBaud determined by required 19 2 38 4 192 384 153 6 distance to last slave 307 2 614 4 je Al 2 J 0 oO 2 Operator Interface YES Auto Return to Network YES NO YES Starting Input V Memory Address V Starting Output V Memory Address V Total Inputs Total Outputs NIN OJN Mh Dd Pp NI OO 22 EEN EA C2 za p N O Worksheets Remote I O Worksheets Channel Configuration Worksheet
8. J Remote Slave D2 RSSS Features 2 S D RUN Turns ON when the module Remote Slave is operating correctly a DIAG Turns ON when there Oe y 7 is a hardware failure ET a A mj the slave LINK Turns ON when there is a SON ot communications error 1 O Turns ON when there is an I O failure at e I COM Communication Port in SM NET mode can be used for programmer or operator interface T Terminating point that is connected to Terminal 1 with a jumper at the final slave base unit UNIT ADDRS Rotary switches ES TH l on rear of module for setting the 5 eB 1 1st wire of twisted pair Txd Rxd module to be a slave maximium T _ base address dependent on pro 3 Fall M 2 2nd wire of twisted pair Txd Rxd tocol selected I3 Y 3 Shield connection DIP SWITCH On rear of module for setting baud rate and other parameters Functional Slaves per channel RM NET SM NET Specifications 7 31 Maximum Slave Points per CPU No remote I O for DL230 DL240 DL250 and DL350 support a maximum of 512 points per channel The actual I O avail able is limited by total available references The DL240 has a total of 320 X inputs and 320 Y outputs available to share between local and remote I O and the DL250 has a total of 51
9. which sets up the total input and output ranges Main Base with Master ae tenement p aes Master Module SPO 5 1 L Sea Tae Stupne LP l l IO 7 v2000 mote Input D X0 X17 X20 X37 X40 X57 YO Y17 and Output K16 V40400 V40401 40402 V40500 Ran g es OUT These points are automat SPO V2001 ically assigned to memory LD by the CPU for the local n a a C base LD 1st Remote Store to K Slave 16 8 8 Shared DA Module o o Memory _fwr V2000 X60 X77 Y20 Y27 Y30 Y37 V40403 V40501 Next available starting input address is X60 Next available starting output address is Y20 There are 16 inputs and 16 outputs in the remote base We refer to the number of points as the range How the CPU Updates Remote I O Points etting Started CPU Scan image register Asynchronous to CPU scan 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 occuring 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
10. Assigning the Remote Input and Output Addresses etting Started Assign the Addresses Remote I O Data Types If you ve used a DL205 CPU and I O before then you probably know that the CPU will automatically assign the local input and output addresses That is the CPU automatically assigns input points starting at XO and output points starting at YO In a remote I O system your program must assign the starting addresses and ranges to the remote input and output points To make the address and range assignments requires setup logic in your control program The D2 RMSM has specific memory locations called shared memory that tell it how to assign the remote I O addresses First you must use the tables in Appendix B to look up the next available starting address for the data type you want to use Then you must calculate the number range of input and output points used per slave You use acombination of LDA LD OUT and WT instructions to store this information in the shared memory There are additional setup parameters which the setup program must write to the shared memory of the D2 RMSM these are discussed in detail in Chapter 4 In a local system the CPU assigns input addresses starting at XO and output addresses starting at YO In aremote 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 the
11. Subroutine will go down here 4 ka DL250 DL350 CPU Setup and Programming Step 2 The setup program to use the D2 250 or D3 350 bottom port as master is different Write the Setup from the program for the D2 RMSM as master These are the things you must do for Logic for the this channel of remote I O Channel e Tell the CPU the station number of the port 0 for master communication V memory address start of pointer table and the baud rate setting e Tell the CPU for each slave the starting V memory addresses for the inputs and outputs and the total number of each You do this with address pointers and constant data e Tell the CPU that setup is complete To write the setup logic we use the CPU instructions described below If you are not familiar with these instructions you may want to refer to the DL205 or DL305 User Manual for more details and examples The Load instruction is a 16 bit instruction that loads the value LD Aaaa which is either a V memory location or a 4 digit constant into the lower 16 bits of the accumulator The upper A aaa 16 bits of the accumulator are set to 0 The Load Address instruction is a 16 bit instruction It converts LDA any octal value or address to the HEX equivalent value and A 6 nea loads the HEX value into the accumulator The OUT instruction is a 16 bit instruction that copies the OUT values in the lower 16 bits of
12. 8 10 Installation and Wiring Cabling Between The standard remote 1 O link is a 3 wire half duplex type Since Port 2 of the DL250 the D2 250 CPU CPU is a 5 wire full duplex capable port we must jumper its transmit and receive bottom port and lines together as shown below converts it to 3 wire half duplex The diagram also slaves depicts the port pinout for the D2 250 CPU bottom port Port 2 Pin Descriptions DL250 CPU 6 1 5V 5VDC C a 2 TXD _ Transmit Data RS232C le o 3 RXD Receive Data RS232C o 4 RTS Ready to Send RS 232C e 5 CTS Clear to Send RS 232C eo 6 RXD2 Receive Data RS 422 e 7 OV Logic Ground e 8 OV Logic Ground o 9 TXD2 Transmit Data RS 422 10 10 TXD2 Transmit Data RS 422 1 See 11 RTS2 Request to Send RS 422 Send RS 422 15 pin Female 13 RXD2 Receive Data RS 422 D Connector 14 CTS2 Clear to Send RS422 15 CTS2 Clear to Send RS 422 S gt lt RXD DL250 CPU Port 2 e i Remote I O Master Remote I O Slave Remote I O Slave O a O end of chain 7 T Jumper T O O O Termination E Resistor RXD O I TXD RXD 1 1 es ee i D j A D k O O TXD RXD a E J a Internal TAB O QW 150 ohm eee Signal GND 3 aa 3 D resistor Connect shield Ko to signal ground The twi
13. A V377 to top of next column a Go to remote 1 O subroutine from bottom of previous column Remote I O Subroutine Port setup data Write to port setup word Port setup data Write to port setup word Port setup data Write to port setup word Input address reserved V memory total inputs reserved V memory Output address reserved V memory total outputs reserved V memory Input address reserved V memory total inputs reserved V memory Output address reserved V memory total outputs reserved V memory LD SPO LDD 0 Clear Unused OUTD V37714 Memory OUTD V37716 OUTD V37720 OUTD V37722 OUTD V37724 OUTD V37726 OUTD V37730 SPO OUTD V37732 Clear Unused OUTD V37734 Memory OUTD V37736 C740 SET CHD Load 32 bit accumulator with 0 Clear all unused V memory locations Tell CPU that setup is completed DL250 DL350 Reserved Memory Table Port Setup Word V7656 Setup Complete Flag C740 Number of Input Pts Input Address Slave Output Address Number of Output Pts V37704 V37705 V37706 V37707 V37710 V37711 V37712 V37713 V37714 V37715 V37716 V37717 V37720 V37721 V37722 V37723 V37724 V37725 V37726 V37727 V37730 V37731 V37732 V37733
14. BitO Entire channel Slave 16 stops when any slave fails Slave 1 Slave 17 Slave 2 Slave 18 Slave 3 Slave 19 Slave 4 Slave 20 Slave 5 Slave 21 Slave 6 Slave 22 Slave 7 Slave 23 Slave 8 Slave 24 Slave 9 Slave 25 Slave 10 Slave 26 Slave 11 Slave 27 Slave 12 Slave 28 Slave 13 Slave 29 Slave 14 Slave 30 Slave 15 Slave 31 4 D2 RMSM Setup Programming 4 1 OCTAL FUNCTION DETAIL ADDRESS 132 133 Slave removal mode selection commu In slave removal mode the master stops nication stops to only the slave s with a updating only the slave s with a communication error communication error It continues updating the I O for the other slaves on the channel To select this mode for each slave turn ON the corresponding bit of the shared memory shown below Address 132 Address 133 BitO Not used Slave 16 Bit1 Slave 1 Slave 17 Bit2 Slave 2 Slave 18 Bit3 Slave3 Slave 19 Bit4 Slave 4 Slave 20 Bit5 Slave5 Slave 21 Bit6 Slave 6 Slave 22 Bit7 Slave7 Slave 23 Bit8 Slave 8 Slave 24 Bit9 Slave9 Slave 25 Bit10 Slave 10 Slave 26 Bit11 Slave 11 Slave 27 Bit 12 Slave 12 Slave 28 Bit 13 Slave 13 Slave 29 Bit 14 Slave 14 Slave 30 Bit 15 Slave 15 Slave 31 134 Communication hold or resume mode The program can cause the communications on a channel to stop by setting the first bit in this byte ON After communication stops only a mode transition of the CPU from STOP to RUN will restart the communications The bit is not cleared
15. N OO or RB O N V37734 V37735 V37736 V37737 J 9 10 DL250 DL350 CPU Setup and Programming Example 2 In certain applications you may need to address remote I O as a memory type other Using Control than real inputs X type and or real outputs Y type To conserve X Y addresses Relays as a Remote use the control relay C type memory as the references for inputs outputs or both I O Memory Type on a per slave basis To illustrate the setup program with this option we will use the DL250 system from Example 1 except that we have assigned the C memory type to Slave 2 s inputs and outputs To define the input and outputs as control relays choose the correct V memory addresses from the Control Relay C Addresses table in Appendix B DL250 CPU in Main Base Remote Slave Worksheet 250 16 16 16 16 16 Remote Base Address 1 Choose 1 7 for RM NET or 1 31 for SM NET CPU l l l O O Slot Module INPUT OUTPUT bottom X0 X17 X20 X37 X40 X57 Y0 Y17 Y20 Y37 ND3 2 aw port of CPU 40400 V40401 40402 40500 V40501 o fonos x20 16 is remote 1c Remote ens x20 ie 16 1 8 16 16 e pome vo w 16101 2 o v e aer Eolo o vwa w nt ee a ees ae X200 X217 X220 X237 X240 X247 Y200 Y217 Y220 Y237 a eee ee V40410 40411 40412 40510 40511 m 7 Oooo S S PS Slave 2nd Remote Input Bit S
16. UT V2011 Input and Out put Ranges K112 OUT V2012 LD K4 Store to T Shared K4 LDA Memory 0124 WT vzo LDA 040600 OUT V2001 LDA 040610 OUT V2002 LD K4 LD oe pee LDA Memory So _ JwT V2001 SPO l LD a K32 Set up 1st act Remote Input v2003 ED and Output ae Ranges __four V2004 Store in temporary memory SPO LD 1 K16 Set up 2nd OUT Remote Input 2008 LD and Output K32 Ranges four V2006 SPO 5 _K48 OUT Set up 3rd 2007 Remote Input _ i and Output a Ranges v2010 LD Store to K4 Shared _ LD M K12 emory R O4 L IWT V2003 SPO 1 LD a KC1 Set up Com OUT plete Code V2013 LD K4 LD Store to K1 Shared S77 Memory _ wr V2013 a number of input points Store in temporary memory number of output points Store in temporary memory number of input points Store in temporary memory number of output points Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write slave range data C1 means store settings Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write Setup Complete Byte memory addresses for control relays as inputs and outputs eed Quick Reference Table of Shared Memory Address
17. V37736 v377 7 Channel Configuration Worksheet DL250 DL350 CPU Bottom Port Circle one selection or fill in blank for each parameter Configuration Parameter SELECTION Baud Rate in KBaud determined by required distance to last slave Remote I O Configuration table Starting address V37700 is default N OO O NM INPUT OUTPUT Slave Station Input Address No of Inputs Output Address No of Outputs LDA o2501_ Input address __ OUT V37704 reserved VFmemofy LD K48 total inpyts OUT V37705 LDA 02601 OUT V37706 memory LD K32 OUT v37707 reserved V memory reserv d V memory Remote 1 Output LDA Q2504 Input address Remote 2 Va7710 reserved V memory Input ip K16_ total inputs PRA 1 reserved V memory 00603 Output address Remote 2 Output v37712 reserved V memory LD K16 total outputs OUT y37713 reserved V memory Since the rest of the logic is identical to Example 1 we will now show the completed setup program DL250 DL350 CPU Setup and Programming oats Completed Setup Program for DL250 DL350 as Remote Master using V memory type
18. e DV 1000CBL 2m cable to connect DV 1000 Operator Interface However there may be an occasion where you need to quickly make your own programming cable for use with your laptop or personal computer In this case use the following cable pinout diagrams Personal Computer Slave Unit Personal Computer Slave Unit Se 10V fpr ke 10V RS232C 2 5V RS232C 2 5V 3 RXD 3 RXD 2 TXD 3 RXD 2 TXD 4 TXD 3 RXD 4 TXD 5 GND 55V 7 GND 55V 1 DCD 6 ov 4 RTS 6 ov 4 DTR L 5 cTS L 6 DSR 6 DSR es ATS 6 pin Connector eae 6 pin Connector 8 CTS L 20 DTR 9 pin DCE Connector 25 pin DTE Connector Pin labeling conforms to the IBM DTE and DCE standards D2 RMSM Setup Programming In This Chapter Getting Started with Your Programming Writing Your Remote I O Setup Examples for Typical Configurations Changing Configurations Shared Memory Table for D2 RMSM a 2 D2 RMSM Setup Programming Getting Started with Your Programming You can write your program using either a handheld programmer or a PC loaded with software such as DirectSOFT The examples that follow will show you how to do it using DirectSOFT To get started enter DirectSOFT and carry out the normal DirectSOFT setup procedures for communicating with your DL205 CPU If you do not know how to do this refer to your DirectSOFT Manual Your DL205 User s Manual
19. 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 Appendices reference material for key topics near the end of this manual 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 Chapters The main contents of this manual are organized into the following six chapters Getting Started Getting Started pees introduces the basic components of the remote I O system an explanation of who needs such a system and an overview of the steps necessary to develop a working system Designing Your Remote O System shows you how to design your system by using worksheets to keep track of system parameters and the address and range assignments for remote I O needed for programming and hardware setup It also gives you guidelines for calculating a power budget to make sure your system does not draw more than the allowable base current Installation and Communication Wiring Guidelines shows you how to install your modules This chapter includes
20. 107 106 105 104 103 102 101 100 V40604 137 136 135 134 133 182 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 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
21. 134 133 182 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 310 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
22. 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 Vv40624 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 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 676 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 726 725 724 723 722 721 720 V40635 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 V40636 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 V40637 BD Reserved Memory Tables for Remote I O B 93 MSB LSB A
23. 465 464 463 462 461 460 V40423 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 V40424 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 V40425 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 V40426 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 V40427 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 V40430 637 636 635 634 633 632 631 630 627 626 625 624 623 622 621 620 V40431 657 656 655 654 653 652 651 650 647 646 645 644 643 642 641 640 V40432 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 V40433 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 V40434 737 736 735 734 733 732 731 730 727 726 725 724 723 722 721 720 V40435 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 V40436 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 V40437 BD Reserved Memory Tables for Remote I O Bs Standard Output Y Addresses This table provides a listing of the individual output po
24. Slave 16 8 l O 8 0 0405 X120 X137 Y60 Y67 V4 V405 Y70 Y77 03 Ai Slave Worksheet Remote Base Address___Y_ Choose 1 7 for RM NET or 1 31 for SM NET Number o f xo e omn 2 Z p vo i ES gea E YOTO put Bit Start Address Y040 V Memory Address V__40502 edt Too T T e e T S T i e D2 RMSM automatically assigns I O addresses in sequence based on Fee ie e E Fe E af ve 1 s starting addresses The DL250 DL350 CPU port setup program ee Fe a t o C O Note Input Bit Start Address __X120_v Memory Address v_ 40405 Total Input Points __16_ oo Slave Worksheet Remote Base Address____ _ Choose 1 7 for RM NET or 1 31 for SM NET Slot Module Po p vom e i cee el aa Input Bit Start Address X060V Memory Address V_ 40403 Total Input Points 16_ Output Bit Start Address Y020 V Memory Address V_40501_ Total Output Points 16 _ The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave jag Slave Worksheet Choose 1 7 for RM net or 1 31 for SM NET Slot Module INPUT OUTPUT Remote Base Address Slot Module TESIR OUTPUT Name input Address No of Inputs Output Address No of Outputs put Bit Start Address X100 V Memory Address V__ 40404 Total Input Points 16 Total Output Points_
25. control relay memory type up to the maximum address available In theory this could give you 896 I O for the DL240 and 2048 I O for the D250 For the DL350 CPU the bottom port can have the maximum of 512 remote points Combined with the maximum local expansion configuration of 368 points this could give you 880 total I O for a DL350 system Q What if want to add remote I O after have programmed the system A Your setup program can allot unused slots to I O ina remote slave base or a block of I O at the end of a channel which you can install at a later date If the local base has blank slots you can install a D2 RMSM to add a new channel Q Can I use this remote I O with other DL series products A Yes the D2 RSSS slave units can be attached to the DL350 and DL450 CPU bottom ports as well as the D4 RM Remote Master or D4 SM Slice Master The D2 RMSM remote master can communicate to D4 RS remote slaves or D4 SS slice slaves This manual covers DL350 setup programming in Chapter 5 refer to the DL405 User Manual D4 RM Remote Master manual or DL405 Slice I O manual to configure and program a DL405 system that includes D2 RSSS slave units Q Can I use a programmer or operator interface on the remote I O link A Yes in the SM NET protocol mode the communications port on the D2 RSSS remote slave supports a handheld programmer DirectSoft or an operator interface such as the DV 1000 Note that since the bottom port of th
26. s Diagnostic DIP switch 1 Check the Diagnostic DIP niae ae blink in blinkin is ON switch on Master or slave j sequence RSG sequence to ensure that it is off vo then all vo then all LINK lights turn LINK lights turn on on RUN D RUN is on run I O is on 1 Rotary switches setting for 1 Check rotary switches on DIAG DIAG slave ID exceeds valid address slave for valid unit number o L for chosen protocol must be 31 or less vo L_ vo Du for SM NET LINK LINK L__1 must be 7 or less a for RM NET Diagnostics and Troubleshooting 60 9 Master Switch Settings and Terminal Wiring SW3 SM NET 4 1 RM NET 2 En 3 Baud Rate 4 Set to OFF 5 Set to OFF 6 Set to OFF 7 Set to OFF 8 Diagnostic OFF ON me pe c Switch Positions Baud 2 3 4 19 2K OFF OFF OFF 38 4K ON OFF OFF 153 6K OFF ON OFF 307 2K ON ON OFF 614 4K OFF OFF ON T Terminating point that is connected to point 1 with a jumper at the master and final slave base units 1 1st wire of twisted pair Txd Rxd 2 2nd wire of twisted pair Txd Rxd Sales 3 Shield connection Slave Switch Settings and Terminal Wiring SW1 a SM NET Outputs Clear Set to OFF OFF ON 1 RM NET 2 3 B
27. 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 points that must be monitored on every CPU scan it s a good idea to place these critical I O points in the local base The CPU reads the status of any input points associated with remote O and stores Remote Scan the status in the input J a Mapped into memory using your RLL Read Inputs ea ra The Remote Master obtains octal 0004 0008 bed the I O status from the Remote Slaves Read Inputs from Remote I O c2 ci co 00101100 ON OFF OFF Remote Master Input Image Register Starting Address Service Peripherals Remote Master Buffer CPU Bus Communication O OFF lt CO Remote Slave 1 Q OFF lt _ C1 oa E Update clock Special Relays 1 ON lt C2 o 1 ON lt C3 E Solve the Application Program O OFF lt C4 co y 1 ON lt C5 I O OFF lt C6 The status of the input image register OFF lt Input Module is used to solve the application C7 program I Write Outputs In this example we have 8 inputs using the control relay C data type in Slave 1 Write Outputs to Remote I O Diagnostics m NOTE In some cases i
28. your DL205 User Manual for instructions on how to compute the 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 To insert the module into the base align the circuit board with the grooves on the top and bottom of the base Push the module straight into the base until it is firmly seated in the backplane connector Once the module is inserted into the base push in the retaining clips located at the top and bottom of the module to firmly secure the module to the base CFR N Sy Hilal 0 ails sl Mea D2 RMSM can go into any a oo slot in the local base ex g 3H cept the slot adjacent to the _ oT gt E CPU Si E Align module to slots in base and slide inward Once the module is seated in the base push the retaining clips in to secure the module to the DL205 base i wig o000 0000 N il il oraaa 5 D2 RSSS must be in the CPU slot of the remote base
29. 16 The Remote Slave Worksheet is located 16 in Appendix A Output Bit Start Address ___ Y060_V Memory Address v_ 40503 Total Output Points _ 16 The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave Getting Started 1 14 Step 2 Set the Hardware Dip Switches Set for SM NET mode Master 307 2 KBaud 5 1 0FF GEL D2 Mi oi clear on Kam 7 2 0ON 7 lt 10 RS 32OFF Channel Configuration Worksheet ee EOF D2 RMSM Remote Master Module K28 gt ofc 6 OFF Master Slot Address __4 _ 1 7 _ X1 ely stern 7 OFF Protocol Selected SM NET_ RM NET or SM NET eL 5 eb et SUS m 8 OFF Circle one selection for each parameter selections for each protocol are shown Configuration Parameter RM NET SM NET Baud Rate in KBaud determined by required j 1st Remote distance to last slave Operator Interface Ke 3 gt o w01 1 0FF Auto Return to Network either protocol C NO X10 oC F eet aan Starting Input V Memory Address V40403 Starting Output V Memory Address V40501 2S 4 OFF Total Inputs 48 Total Outputs 48 X1 Os of 2 OEF Slave Slave sd geL Station St
30. 2K or 614 4Kbaud 3900 feet 1 2Km 3900 feet 1 2Km 19 2K or 38 4Kbaud 1968 feet 600m 153 6Kbaud 984 feet 300m 307 2Kbaud 328 feet 100m 614 4Kbaud Remote I O Capacity see note DL240 DL250 Total Remote 1 O 896 2048 Max points per channel 512 512 Module Type Intelligent Digital I O Consumed None Communication Method Asynchronous half duplex NOTE Remote I O Capacity Total remote I O available is actually limited by the total references available The DL240 CPU supports 320 X inputs and 320 Y outputs so 640 points is the limit for I O references It is possible to map remote I O into other types of memory such as control relay points to achieve 896 points The DL250 has more X Y and C points and thus could use 2048 points without local I O g Getting Started 3 The following specifications define the operating characteristics of the D2 RMSM module Physical Installation Requirements CPU base only any slot except adjacent to CPU Specitications Internal Power Consumption 200 mA maximum Communication Cabling RS 485 twisted pair Belden 9841 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
31. CPU with Remote Master s to rack based DL205 and rack based DL405 Remote I O DL205 CPU with Remote Master s to rack based DL205 Remote I O and or DL405 Slice I O units DL405 CPU with Slice I O Master s to rack based DL205 Remote I O and or DL405 Slice I O units DL350 CPU with built in bottom port as remote master to rack based DL205 and or rack based DL405 Remote I O Uses RM NET mode efficient way to ex pand I O for DL205 the remote I O racks may be located with the CPU base You can use the bottom port of the DL250 CPU as the first master for a cost savings Uses RM NET mode this gives you remote I O which is smaller and less expensive than the DL405 I O as long as the DL205 I O selection meets your needs Uses SM NET mode this gives you a way to distribute small amounts of I O to many locations as well as locating operator interfaces at any of those locations Also allows higher baud rates Slice I O unit addresses are limited to 1 to 15 only Uses SM NET mode this can distribute small amounts of less expensive I O to many locations as well as locating operator interfaces at any of those locations The DL405 CPU gives you the most advanced programming instruction set for more complex applications as long as the DL205 I O selection for remote I O meets your needs Uses RM NET mode this gives you remote I O expansion for a DL350 system to extend the amount and distance of I O Which Modules c
32. High byte is rack 0 low byte is slot 4 K1 Number of bytes to write to shared memory 1 byte LDA 0176 Shared memory address of configuration byte T 72900 Write value in lower byte of V2000 to Master memory ep D D Z 5 a fa e D 3 5 Co e 4 6 D2 RMSM Setup Programming This block of logic tells the remote master the starting V memory addresses for the inputs and outputs and the total number of each for the channel Use the LD LDA and OUT commands to load the starting addresses and point totals into temporary memory then write the values to the master s shared memory The Quick Reference Table shows the correct shared memory addresses in octal The LDA instruction SPO LDA j i uses octal numbers Input V memory Write Input and Output Pointers and des naed by he eh 040402 Input and Output Ranges for Channel capital Or ront of tl OUT 2001 V memory buffer LDA 040502 Output V memory OUT Channel Configuration Worksheet M V2002 v memory buffer D2 RMSM Remote Master Module D Master Slot Addy ss 4 1 7 _ KO4 Master module address Protocol Select d _RM NET RM NET or SM NET Circle one selection for each parameter selegtions for each protocol are shown LD N umber of byt Configuration Parameter mner e E Ae Baud Rate i
33. I E 2 ho fence i a Se an a a E ie a S se Input Bit Start Address X100V Memory Address V___ 40404 Total Input Points 16 Output Bit Start Address Y120 V Memory Address V_40505 Total Output Points 32 The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave O Sl e Based on the V memory addresses we chose the D2 RMSM allocated points X040 to X077 to Remote Slave 1 s inputs and Y040 to Y117 to its outputs This means the starting address for the second remote base inputs is X100 assigned automatically by the remote master and the starting address for outputs is Y120 assigned automatically This remote slave has an empty slot to which we have allotted 8 future output points The output points total on the worksheet includes the empty slot g D Co gt 5 Co gt D lt n 2 D 3 0 A9 Designing the System wn gt 09 0b E p e D wn jo m Completing the Remote Slave Worksheet for Slave 3 Main Base with Master Now let s do the same thing for the third remote I O base We have filled in the following remote slave worksheet to match the third remote I O base of the examp
34. K16 total inputs ae ee 1 reserved V memory 0406 4 Output address Remote 2 aut Output v37712 reserved V memory LD K16 total outputs OUT V37713 reserved V memory Since the rest of the logic is identical to Example 1 we will now show the completed setup program on Te DL250 DL350 CPU Setup and Programming Completed Setup Program for DL250 DL350 as Remote Master using C memory type RLL Program 1 GTS Go to remote ae LDD Load 32 bit accumulator I O subroutine Pi KO with 0 Main Program Body from bottom of previous column Clear Unused VEN ees eng END Memory __ oum V37716 SBR K1 Remote I O Subroutine ouTD V37720 first scan relay SUID SPO iD V37722 Kbfco Port setup data Joo Set port data SUT V37724 Write to port setup word OUTD a M _V37726 K Port setup data __fouTD 50T V37730 v7655 Write to port setup word SPO Sunn LD V37732 K500 _ Port setup data Clear Unused __ outo OUT V37734 v7e57 Write to port setup word Memory SUID SPO DA V37736 Input address SET Tell CPU that setup is Remote 1 37704 reserved V memory completed Input To K48 total inputs
35. Store in temporary memory OUT v2012_ Store in temporary memory lPk Rack Slot Address of Master JD LD F Sirsi K4 Rack Slot Address of Master Store to Kt Number of bytes to write LD j Shared feel a NEP SOT tSS o wre Shared 177 Address From Table Below LDA Memor Memory 0124 Address From Table Below y eee Write Setup Complete Byte WT Write total range data Spo RT n A Starting input address X040 F j l Quick Reference Table 2 Set up Input 2001 Store in temporary memory of Shared Memory Addresses 5 and Output SA00 Starting output address Y040 D27RMSM F Pointers OUT Setup Initiation Byte 176 Q v2002 Store in temporary memory D Setup Complete Byte 177 3 LK Rack Slot Address of Master Slave Input Output Number of Number of 3 Store to I t0 Number of bytes to write Address Address Input Pts Output Pts a Shared SA een Bal ALL 000 002 124 126 ress From Table Below Memory 1 NA NA 004 006 es y2001 Write input and output pointers 2 N A N A 010 012 Eeg Number of input points 3 N A N A 014 016 Set up 4st Sur 4 N A N A 020 022 Remote input 2003 Store in temporary memory 5 N A N A 024 026 and Output a number of output points 6 N A N A 030 032 Ranges Lour 7 N A N A 034 036 v2004 Store in temporary memory to top of next column 4 J 4 10 D2 RMSM Setup Programming Example 2 In certain applications you may need to address remote I O as a memory type other Address
36. a trademark 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 to include the revision number Title DL205 Remote Master Remote Slave D2 RMSM and D2 RSSS Manual Number D2 REMIO M Effective Pages Description of Changes Original 9 97 Cover Copyright Original Issue Contents 1 1 1 19 2 1 2 14 3 1 3 12 4 1 4 21 5 1 5 18 6 1 6 14 A 1 A 5 B 1 B 5 C 1 C 6 5 9 2 4 Rev A 5 98 5 12 and 5 15 Setup programs 6 Added possible causes to Link is on Getting Started Introduction What is Remote O Remote Master D2 RMSM Features Remote Slave D2 RSSS 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 Frequently Asked Questions etting Started Introduction The Purpose of this Manual Where to Begin Supplemental Manuals Technical Support Thank you for purchasing the remote I O system for the DL205 This manual shows you how to install program and maintain the equipment It also
37. of Shared Memory Addresses D2 RMSM Configuration Byte 176 Setup Complete Byte 177 Slave Input Output Number of Number of Address Address Nnput Pts _ Output Pts ALL 000 002 124 126 1 NA NA 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 RM NET SM NET ep 2 ToT v je Q o z 3 J Q D2 RMSM Setup Programming Write Setup Complete store channel parameters to EEPROM SPO KCI OUT V2013 L K04 L ki LDA 0177 WT V2013 Constant that commands master to store parameters to EEPROM V memory buffer Master module address Number of bytes Shared Memory address of Setup Complete Byte Write Master memory We can now complete the setup program This last block of logic tells the remote master to save the parameters in EEPROM setup is complete The setup complete logic structure is the same for any channel using a D2 RMSM as a master The completed setup program for this example is shown on the next page A e D2 RMSM Setup Programming 4 9 Completed Setup Program for X and Y Addressing
38. protocol to operate at a higher baud then read the bus scan data to check performance On the first scan load the desired bus scan overlimit parameter value into V memory SPO J LD K75 OUT 72030 Load the overlimit value in msec into V memory Store the overlimit value to the D2 RMSM shared memory SP1 J LD K04 LD K2 PA 0162 WT V2030 Load master address rack 0 slot 4 Load the number of bytes to read Load the shared memory address location of the overlimit parameter Write the overlimit value to the master from V memory On every scan read all bus scan diagnostic information from the master into V memory LD K04 LD k12 PA 0160 RD V2031 Load master address rack 0 slot 4 Load the number of bytes to read Load the starting location of the bus scan information Read the bus scan information from the master into V memory You can then use the retrieved data in logic or display it in a Dataview in DirectSOFT shown on the next page to monitor bus performance The Bus Scan Status Table describes the definitions of the status values 4 e 0 14 Diagnostics and Troubleshooting Bus scan performance data displayed in a Dataview il wide Vin e SP0 f Dated Curent_Scan Scan _Upr Lima Shar_Scan Long_Soan Scan_Cnir Scean_OvrLim_Ctr
39. the accumulator to a specified ia A aaa V memory location Aaaa Use your worksheets to assist you in creating the setup logic DL250 DL350 CPU Setup and Programming a Examples for Typical Configurations Example 1 A typical system uses X and Y memory types for the inputs and outputs on the Using X and Y remote I O channel addresses as the To illustrate the setup program for this configuration we will use the remote I O remote I O memory system below shown with the completed Channel Configuration Worksheet types yP The first block of logic tells the CPU the station number of the port communication V memory address and the baud rate setting Define the constant value based on these selections see DL250 DL350 Reserved Memory Table at the end of this chapter and then write the value to the reserved V memory address in the CPU You can also perform this function interactively with DirectSOFT see Configuring the Bottom Port of the CPU later in this chapter Write Port Setup Word DL350 CPU in Main Base 1 base addressing DL250 CPU in Main Base 16 16 16 16 350 O IO l I CPU 250 16 16 16 16 16 Y60 Y77 Y40 Y57 X20 X37 X0 X17 CPU l l l O O V40503 V40502 V40401 V40400 bottom port of X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 CPU is remote botto CP V40400 V40401 V40402 40500 V40501 to thoroughly understand addressing master port of CPU convention
40. 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 specifications 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 you can use 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 t
41. the next page ep D i ToT v je Q o z 3 J Q 4 12 D2 RMSM Setup Programming Completed Setup Program for Control Relay Addressing RLL Program SPO K1 is GTS Main Program Body SBR K1 first scan relay END Go to remote 1 O subroutine from bottom of previous column Remote I O Subroutine Bits 0 1 2 7 initiates setup Bit 7 1 sets Auto Return to Network Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table below Write Address Config data total number of input points Store in temporary memory total number of output points Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below e data Starting input address CO Store in temporary memory Starting output address C200 Store in temporary mem Ye to top of next column Rack Slot Address of Master Number of bytes to write Address From Table Below Write input and output pointers number of input points Store in temporary memory number of output points SE 1 Wen K87 Initiate Setup ut V2000 Store to ee Shared 5 Memory M LK LDA 0176 L IWT V2000 SPO LD s K96 Set up Channel _
42. the normal DirectSOFT setup procedures for communicating with your DL250 or DL350 CPU If you do not know how to do this refer to your DirectSOFT Manual Your DL205 or DL305 User Manual have very good coverage of the basic commands available and examples of using the commands to write 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 DL250 system with three remote bases yo 22 DL350 system with two remote bases DL250 DL350 CPU Setup and Programming ors Writing Your Remote I O Setup for a DL250 DL350 CPU Step 1 Your setup logic can be in the main program body or in a subroutine A subroutine for Decide How You remote I O setup has an advantage over writing the code into the program s main Are Going to Call body Some remote I O setup logic becomes quite lengthy By putting the setup ina the Program subroutine you dont have to scroll through extra logic during routine troubleshooting procedures We advise you to use a subroutine for your remote I O initialization by following the example below Using the GTS Command for the Setup Logic ars SPO 1 DirectSOFT Display Main program body goes here END SBR Ki
43. typically suffer no harm if the system were shut down all at once In a way it is the equivalent of an E STOP On the other hand for a continuous process such as waste water treatment holding the last state would allow the current state of the process to continue until the operator can intervene manually wn gt 09 E am pz D p jo m WARNING Selecting HOLD LAST STATE as the default mode means that outputs in the remote bases will not be under program control in the event ofa communications failure Consider the consequences to process operation carefully before selecting this mode Auto Return to The remote master queries the channel to detect which slaves are present in three Network Option instances e on power up e on transition from CPU Program Mode to Run Mode e when user logic commands the remote master to log its parameters to EEPROM If an offline slave comes on after the master powers up the master may never know that a slave has returned to the network If you select the Auto Return to Network mode the master can detect reinstated slaves at any time Designing the System iad Completing the The top half of the following Channel Configuration Worksheet shows the parameter Channel choices for the single master in our example system This helps determine the Configuration hardware settings and the setup program data We chose RM NET for illustration Wo
44. we have assigned the V memory type to all slave inputs and outputs To reference the individual input and output status in the application program use the Bit of Word instructions detailed in the DL205 or DL305 User Manual DL250 CPU in Main Base Remote Slave Worksheet Remote Base Address 1 Choose 1 7 for RM NET or 1 31 for SM NET 2 16 16 16 16 16 50 Slot Module INPUT OUTPUT cuj 1 1 1 O A Nan No of Opa TEEI X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 jenna 2 vaso port of CPU V40400 V40401 V40402 V40500 V40501 4 f6ND3 2 v2502 i slag 1st Remote 2 te eused o feoral vaso ps sme 18 16 8 16 16 herd vae 1 1 1 fo fo Jal ened V2501 2502 V2503 2601 V2602 O S 2nd Remote Input Bit Start Address V Memory Address V_ 2501 Total Input Points 48 PS Slave 8 i 5 Output Bit Start Address V Memory Address V_ 2601 Channel Configuration Worksheet 2504 V2603 DL250 DL350 CPU Bottom Port Remote Base Address 2 Choose 1 7 for RM net or 1 31 for SM NET ate in KBaud determined by required Slot Number Station EN Input Bit Start Address V Memory Address Output Bit Start Address V Memory Address V_ 2603 bit 0 15 bit 0 15 Remote Slave Worksheet ine selection or fill in blank for each parameter SELECTION e to last slave Module INPUT OUTPUT I O Configuration table Starting addr
45. 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 Texas Instruments is a registered trademark of Texas Instruments Inc TI TIWAY Series 305 Series 405 TI305 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 DOS and Microsoft are registered trademarks of Microsoft Corporation Windows is
46. 0 CPU Setup and Programming ont This block of logic tells the CPU for each slave the starting V memory addresses for the inputs and outputs and the total number of each Use the values from the Remote Slave Worksheets or Channel Configuration Worksheet and the pointer addresses from the DL250 DL350 Reserved Memory Table to complete the logic Write Input and Output Pointers and Ranges for each remote base DL250 DL350 Reserved Memory Table Port Setup Word V7656 Setup Complete Flag C740 Slave Input Number of Output Number of Address Input Pts Address Output Pts Channel Configuration Worksheet 1 V37704 V37705 V37706 V37707 DL250 DL350 CPU Bottom Port 2 77 V37712 V37713 Circle one selection or fill in blank for each parameter 3 V37714 S V37717 _Configuration Parameter 4 V37720 V37723 BAe eae determined by required C 38 4 5 37724 37727 Remote I O Configuration table Starting address Q 377002 V37700 is default 6 V37730 V37731 7 V37734 V37735 Slave Staton Pi vano s vaos a2_ SPO ee e DA 040410 Remote 1 oat V37704 Input fo K48 ie emor V37705 y LDA 040510 ddregs TA reserved V memory LD K32 OUT v37707 reserved VEmemory LDA My 040610 Remote 2 74 Vay710 Input Input address reserv d V memory D
47. 01 and Output JIDA Pointers 220804 OUT V2002 LD K4 Store to Hepe Shared DA Memory 00 L wT SPO V2001 1k Tkie Set up 1st OUT Remote Input and Output TL ki6 Ranges _ OUT V2004 to top of next column en Go to remote 1 O subroutine from bottom of previous column Remote I O Subroutine Bits 0 1 2 7 initiates setup Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table below Write Address Config data total number of input points Store in temporary memory total number of output points Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write total range data Starting input address X060 Store in temporary memory Starting output address Y020 Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write input and output pointers number of input points Store in temporary memory number of output points Store in temporary memory SPO LD iI K16 Set up 2nd OUT Remote Input and Output K416 Ranges _ four V2006 SPO 1 LD VI K16 OUT Set up 3rd v2007 Remote Input LD and Output 16 JOUT Ranges v2010 LD Store to K4 Shared __ LD M K12 emory Benes 04 LWT V2003 SPO Il LD I KC1 Set up Com par plete Code v2013 LD m
48. 04BDC 2 1550 200 D2 09BDC 2 2600 300 Designing the System Eat Module Power This chart shows the amount of maximum current required for each of the DL205 Requirements 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 base if available as long as you do not exceed the power budget CPUs Analog Modules D2 230 120 None F2 04AD 1 50 80 D2 240 120 None F2 04AD 1L 60 90 12VDC S D2 250 330 None F2 04AD 2 60 80 Dc input Moduies Foma o vevo D2 08ND3 50 None F2 08AD 1 50 80 D D2 16ND3 2 100 None F2 02DA 1 40 100 AC Input Modules F2 02DA 2 40 60 g D2 08NA 1 50 None F2 04AD2DA 60 100 D2 16NA 100 None F2 04THM 110 None D2 02NA 2 100 None F2 04RTD 90 None DC Output Modules Remote I O D2 04TD1 60 20 D2 RMSM 200 None D2 08TD1 100 None D2 RSSS 150 None D2 16TD1 2 200 80 Communications D2 16TD2 2 200 None FA UNICON External 24V or 5V 100mA AC Output Modules F2 UNICON Internal 5V 100mA bottom port of CPU D2 08TA 250 None FA ISONET Internal 5V bottom port of CPU or external 24V 100mA D2 12TA 350 None Specialty Modules Relay Output Modules F2 08SIM 50 None D2 04TRS 250 None D2 CTRINT 50 None D2 08TR
49. 1261 1260 V40653 1317 1316 1315 1314 1313 1312 1311 1310 1307 1306 1305 1304 1303 1302 1301 1300 V40654 1337 1336 1335 1334 1333 1332 1331 1330 1327 1326 1325 1324 1323 1322 1321 1320 V40665 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341 1340 V40656 pu D no D lt rot Ea D 3 Q lt Dl g D n 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 V40657 1417 1416 1415 1414 1413 1412 1411 1410 1407 1406 1405 1404 1403 1402 1401 1400 V40660 1437 1436 1435 1434 1433 1432 1431 1430 1427 1426 1425 1424 1423 1422 1421 1420 V40661 1457 1456 1455 1454 1453 1452 1451 1450 1447 1446 1445 1444 1443 1442 1441 1440 v40662 1477 1476 1475 1474 1473 1472 1471 1470 1467 1466 1465 1464 1463 1462 1461 1460 40663 1517 1516 1515 1514 1513 1512 1511 1510 1507 1506 1505 1504 1503 1502 1501 1500 Vv40664 1537 1536 1535 1534 1533 1532 1531 1530 1527 1526 1525 1524 1523 1522 1521 1520 V40665 1557 1556 1555 1554 1553 1552 1551 1550 1547 1546 1545 1544 1543 1542 1541 1540 V40666 1577 1576 1575 1574 1573 1572 1571 1570 1567 1566 1
50. 2 X inputs and 512 Y outputs Mapping remote I O into other types of memory could allow 896 points for the DL240 or 2048 points for the DL250 The DL350 CPU has a maximum config uration of 368 local expansion I O and 512 re mote I O Module Type Non intelligent slave Digital 1 O Consumed Consumes remote I O points at a rate equal to the number of I O points configured in each base Communication Baud Rates RM NET SM NET Selectable Selectable 19 2K or 38 4K baud 19 2K 38 4K 153 6K 307 2K or 614 4K baud Communication Failure Response Selectable to clear or hold last state of outputs Physical Specifications module Getting Started in The following specifications define the operating characteristics of the D2 RSSS Installation Requirements CPU slot in any 3 4 6 or 9 slot base Base Power Requirement 200 mA maximum Communication Cabling for remote I O RS 485 twisted pair Belden 9841 or equivalent Communications Port active in SM NET mode only RS232C 9600 Baud Odd Parity 8 Data Bits 1 stop bit Same as top port on DL205 CPUs K sequence 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
51. 2007 and V2010 If removing I O remember to reduce the total I O range values also 3 After you have modified the setup program cycle CPU power or transition from the STOP to RUN mode to execute the new setup logic This is necessary if the setup logic executes on the first CPU scan D 2 Z T J fe ol Q D 3 5 a 4 4 14 D2 RMSM Setup Programming Shared Memory Table for D2 RMSM Remote Master OCTAL FUNCTION FUNCTION COE Slaves 1 15 Slaves 16 31 Bytes For memory addresses 000 to 077 the user s setup program must store the correct values into these locations Starting V memory address for inputs on Number of input points for Slave 16 2 the channel in octal 002 Starting V memory address for outputs on Number of output points for Slave 16 the channel in octal 04 ____ Nuberofinpit ports Tor Seve t Number ot input ponis tor Sve 7 i nae om ps Sane E E o10____ Nuberofinput points for Save 2 Number ofmputpontsforSiave t8 2 or Number of ouput pos or Slave z Number of output points or Seve 8 2 ora Number ofinput points for Slve3 Number of input points tor Seve 9 2 ors Number or ouput pos or Slave 3 Number of output points Tor Seve 8 2 a Nbr pt por Save Nab rt ari Save 29 gt o2 Number of ouput pos or Stave Number of ouput points Tor Seve20 2 oza ____ Nurberofinput ports for Save S Number of input points tor Savez 2 oas Number of output pos or Slaves Numbe
52. 250 None D2 DCM 300 None D2 08TRS 670 None Programming D2 12TR 450 None D2 HPP 200 None Combination In Out Modules Operator Interface D2 08CDR 200 None DV 1000 150 None requires external 5VDC for outputs NOTE Not all of the modules shown in the above table can be used in a remote base Check page 2 3 for module placement restrictions E Designing the System Power Budget The following example shows how to calculate the power budget for the first slave Calculation unit of a remote I O system Example Base Used CPU Slot D2 RSSS D2 08ND3 D2 08ND3 D2 08TD1 wn gt ep 0b E p e D wn jo m Maximum power required 350 0 Remaining Power Available 1550 350 1200 200 0 200 1 Using the tables at the beginning of 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 Devices which fall into the Other category are devices such as the handheld programmer which also have power requirements but do not directly plug into a slot in the base 2 Add the current columns starting with the CPU SLot and put the total in the row labeled Maximum power required 3 Subtractthe row labeled Maximum power required from the row labeled Base Used P
53. 54 653 652 651 650 647 646 645 644 643 642 641 640 V40532 677 676 675 674 673 672 671 670 667 666 665 664 663 662 661 660 V40533 717 716 715 714 713 712 711 710 707 706 705 704 703 702 701 700 V40534 737 736 735 734 733 732 731 730 727 726 725 724 723 722 721 720 V40535 757 756 755 754 753 752 751 750 747 746 745 744 743 742 741 740 V40536 777 776 775 774 773 772 771 770 767 766 765 764 763 762 761 760 V40537 Reserved Memory Tables for Remote O Control Relay C Addresses This table provides a listing of the individual control relays associated with each V memory address bit for the DL240 and DL250 CPUs The DL240 CPU control relay addresses end at 377 additional DL250 addresses extend to 1777 MSB LSB Address 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
54. 565 1564 1563 1562 1561 1560 V40667 1617 1616 1615 1614 1613 1612 1611 1610 1607 1606 1605 1604 1603 1602 1601 1600 V40670 1637 1636 1635 1634 1633 1632 1631 1630 1627 1626 1625 1624 1623 1622 1621 1620 40671 1657 1656 1655 1654 1653 1652 1651 1650 1647 1646 1645 1644 1643 1642 1641 1640 V40672 1677 1676 1675 1674 1673 1672 1671 1670 1667 1666 1665 1664 1663 1662 1661 1660 V40673 1717 1716 1715 1714 1713 1712 1711 1710 1707 1706 1705 1704 1703 1702 1701 1700 V40674 1737 1736 1735 1734 1733 1732 1731 1730 1727 1726 1725 1724 1723 1722 1721 1720 V40675 1757 1756 1755 1754 1753 1752 1751 1750 1747 1746 1745 1744 1743 1742 1741 1740 V40676 1777 1776 1775 1774 1773 1772 1771 1770 1767 1766 1765 1764 1763 1762 1761 1760 V40677 Appendix C Determining I O Update Time Overview Remote O Update Table Calculating Total Delay for the System S Determining I O Update Time 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
55. 6 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 V40521 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 Address pu D no D lt rot Ea D 3 Q lt Dl 2 D n 517 516 515 514 513 512 511 510 507 506 505 504 503 502 501 500 V40524 537 536 535 534 533 532 531 530 527 526 525 524 523 522 521 520 V40525 557 556 555 554 553 552 551 550 547 546 545 544 543 542 541 540 V40526 577 576 575 574 573 572 571 570 567 566 565 564 563 562 561 560 V40527 617 616 615 614 613 612 611 610 607 606 605 604 603 602 601 600 V40530 637 636 635 634 633 632 631 630 627 626 625 624 623 622 621 620 V40531 657 656 655 6
56. 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 existing remote bases For example if you had a D2 240 local remote system that required a large amount of input and output modules you could use the entire limit of 320 X input or 320 Y output points 640 total I O points Now if you added a channel in the remote I O system there may not be any additional X input or Y output addresses available for these 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 some remote points Getting Started I ts Please consider the following example Although it hasn t been discussed yet address 124 in the RMSM shared memory is the memory location for the input range and 126 is the memory location for the output range for the channel You must load temporary V memory with the totals then store the data to the shared memory Later in this manual we will show all the shared memory addresses in a convenient table and we ll go into greater detail with complete examples Remote I O Address and Range Assignment The following is the section of the setup logic
57. Ce T SS a U E N ie ee f OOo i sd Remote Slave Worksheet pete a Remote Base Address 3 Choose 1 7 for RM NET or 1 31 for SM NET Module INPUT ON OUTPUT aa u Number Name Input Address No of inputs aytpugdaress No ot Output o hena x2 16 t fonos xno s 2 fomi wa y e bew vaN e Ts fa 4 sac f vso VV Pps To T T VA Input Bit Start Address __X100 v Memory Address V Input Bit Start Address __X120 V Memory Address V__ 40405 Total Input Point Total Input Points Output Bit Start Address _Y120 v Memory Address V P Y160 z ke 40507 Total Output Point Output Bit Start Address V Memory Address v The D2 RMSM automatically assigns I O addresses in sequence Total Output Point based on Slave 1 s starting addresses The DL250 DL350 port setup The D2 RMSM automatically assigns I O addresses in sequence program requires these addresses for each slave based on Slave 1 s starting addresses The DL250 DL350 port setup program requires these addresses for each slave Add the input and output ranges for the slaves to find the total input and output ranges for the channel Enter the totals as shown on the Configuration Worksheet w D amp gt 5 Co gt D lt n o D 3 P Designing the System Calculating the Power Budget Managing your When determining the types and quantit
58. D2 RMSM D2 RSSS Remote Master Remote Slave Manual Number D2 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 If
59. DL250 DL350 CPU Bottom Port Circle one selection or fill in blank for each parameter Configuration Parameter SELECTION Baud Rate in KBaud determined by required 19 2 38 4 distance to last slave Remote I O configuration table starting ad V V37700 is default dress OUTPUT A Remote I O Worksheets AWS Power Budget Worksheet je gt 1 J 10 oO 2 Base Used CPU Slot Maximum power required Remaining Power Available Appendix B Reserved Memory Tables gt B 2 Reserved Memory Tables for Remote O Standard Input X Addresses This table provides a listing of the individual input points associated with each V memory address bit for the DL240 and DL250 CPUs The DL240 CPU input addresses end at 477 additional DL250 addresses extend to 777 MSB LSB A 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 Coreas 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
60. FF Not Used x1 EAD a LED ON Hold Outputs Slave eyo gt O OFF Normal Mode Module 2nd Remote 23 sO F ON ENN NET mode pe 16 16 16 16 X10 ES Z ON 38 4 Kbaud l l Oo O eL opm O OFF Not Used 23 o OFF Not Used j X1 SA aQ E ON Hold Outputs eye omm O OFF Normal Mode Slave Module 3rd Remote ate 00 ON RM NET mode X10 ey F oE ON 38 4 Kbaud 8 3 8 r eL oD O OFF Not Used PS 23 00 OFF Not Used l IO O X1 ope aW ON Hold Outputs ose gt O OFF Normal Mode Slave Module Chart for DIP Switch Settings DIP Position Master Mode Baud Rate Always OFF Always OFF Always OFF Diagnostics RMSM OFF SM NET Switch Position OFF Normal ON RM NET Baud Rate 2 3 19 2K 00 ON Diagnostic 38 4K xX O 153 6K O X 307 2K xX X 614 4K OO where X ON O OFF Note Baud rates above 38 4 K for SM NET only Baud Rate Output Default Diagnostics Same as Master OFF Clear OFF Normal ON Hold ON Diagnostic Installation and Wiring ad Step Three Inserting the Module in the Base The D2 RMSM can occupy any slot in the CPU base except the slot adjacent to the CPU that slot accomodates the counter interface module and its memory The D2 RSSS must reside in the CPU slot of the remote base s NOTE Don t forget to check your total power budget and make sure the total current drawn by the remote modules and other I O modules does not exceed the total amount allowable for the CPU you are using See Chapter 2 of this manual or
61. K4 LD Store to LK Shared 177 Memory _fwr V2013 Cm number of input points Store in temporary memory number of output points Store in temporary memory number of input points Store in temporary memory number of output points Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write slave range data C1 means store settings Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write Setup Complete Byte Quick Reference Table of Shared Memory Addresses D2 RMSM Setup Initiation Byte 176 Setup Complete Byte 177 Slave Input Output Number of Number of Address Address Input Pts Output Pts ALL 000 002 124 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 g Getting Started 1 19 Frequently Asked Questions Q How much remote I O can I have A The physical limitation depends on the CPU and the protocol you select i e number of channels and number of slaves per channel In terms of addressing the remote I O you can use up to the maximum input and output addresses allowed for the CPU chosen 640 for the DL240 1024 for the DL250 if you have no local I O If you need more you can define inputs and or outputs to use the C
62. PO iD i Slave 3 Input points OU LD OU LD K04 Master module address z N Number of byte Shared Memory address O O X WT 2003 Write Master memory The last four instructions write the slaves range data to the Master s shared memory Address 004 is the start of the slave data the byte length of 12 writes 6 consecutive words of data 4 D2 RMSM Setup Programming 4r This block of logic tells the remote master how many input and output points are located in each base Each group of four instructions loads the I O ranges for aslave into temporary memory the values for which are retrieved from the Remote Slave Worksheets The WT instruction stores the entire buffer area to the master s shared memory The Quick Reference Table shows the correct shared memory addresses Channel Configuration Worksheet D2 RMSM Remote Master Module Master Slot Address __4 __ 1 7 Protocol Selected RM NET RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown Configuration Parameter Baud Rate in KBaud determined by required 38 4 19 2 38 4 distance to last slave 307 2 614 4 Ogerator Interface C NAD Return to Network either protocol q YES NO Total Outputs Save sare P Station No of Inputs No of Outputs Station No of Inputs ro Wa NA i Ee Soe ae ei a a S a Ee L Jael J Quick Reference Table
63. RT __ OUT V37705 reserved V memory GA0atO Output address Remote 1 SOT Output v37706 reserved V memory LD M K32 total outputs EE Umino DL250 DL350 Reserved Memory Table SPO Port Setup Word O40610 Input addres p V7656 Setup Complete Flag C740 OUT v37710 reserved V memory Slave Input Number of Output Number of Address Input Pts Address Output Pts V37704 V37705 V37706 V37707 V37710 V37711 V37712 V37713 V37714 V37715 V37716 V37717 V37720 V37721 V37722 V37723 V37724 V37725 V37726 V37727 V37730 V37731 V37732 V37733 V37734 V37735 V37736 V37737 _ LD K16_ total inputs reserved V memory 040614 Output address Remote 2 OUT Output v37712 reserved V memory LD K16 total outputs OUT y37713 reserved V m NN Ojo oO N _ totop of next column Slave 2 uses C memory type as inputs and outputs DL250 DL350 CPU Setup and Programming oats Example 3 To assign I O references to other than the X Y and C addresses you can use the Using V memory as V memory as the references for inputs outputs or both on a per slave basis Note Remote I O type that this option is not available for the D2 RMSM channels To illustrate the setup program with this option we will use our DL250 sample system except that
64. Slave 15 Number of input points for Savest 2 ors Naber of ouput points for Stave 15 Number of ouput poins for Savest 2 EEREREREEREREREERERE NINININI POT POT POT POT N 4 D2 RMSM Setup Programming 4 19 OCTAL FUNCTION DETAIL ADDRESS 122 Status of Rotary Switches on module Data is 00 to 1F hex representing the ad Read Only dress of the module set by the rotary switches Status of DIP Switches on module Read Bit status represents the setting of each switch on the module s DIP Switch which sets configuration parameters O OFF 1 ON BitO SW 1 status Bit1 SW2 status Bit2 SWS status Bit3 SW4 status Bit4 SW5status BitS SW 6 status Bit6 SW7 status Bit7 SW 8 status 124 Number of input points committed to the User s setup program stores the correct entire channel BCD value to this memory location 126 Number of output points committed to the User s setup program stores the correct entire channel BCD value to this memory location Burmwesbolg dnjes 4 e 4 10 D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS Bytes 130 131 Communication stop mode selection com In communication stop mode the master munication stops when any specified slave stops updating the entire channel when a fails communication error occurs with any spe cified slave station To select this mode for each slave turn ON the corresponding bit of the shared memory shown below Address 130 Address 131
65. Stave Workshost Remote Stave Workstvest 16 16 16 16 Bean me an aain 1 iveste ee RENE oe Ont sey Sey Domeni Rate Adios 2 dadas tnd ko OUT cr 1108 ha AMEE l l l O Si m mPuT outPuT Det make Pur oureuT tert ten a simn ara ae Nahe 6 ropa masea mme lena uuel Ao Cte ome Aim Me eee pd w ore 16 8 8 1 O0 O fi Slave1 lt Ept BR Start Adde yon WMemory Adie Veny hpt Bt Stat Adinin OOO Viewary Adine Yio 16 16 16 etat input Peinte 1i tatal put Paints 1 LIO Oat Bi Stet adime vex Vinay Adisioni Opd Git Start Adiesk yee Memory Adiresi Yate Output Pomts 15 Total Output Poets __ Slave 2 Aaaa arene Mahonie niae bance oe im LD it K48 __ OUT Set up Input 2000 and Output TD Ranges K32 L OUT V2001 SPO D 1 K4 LD Store to Ka Shared LDA M 0124 emory w V2000 partial example etting Started Getting Started EXAMPLE 307 2 kBaud D2 240 SM Main Base with Master Step 1 Design the Remote I O System NET Master Module CPU 16 16 l l 16 16 IJO X0 X17 X20 X37 X40 X57 YO Y17 V40402 V40500 V40400 V40401 1st Remote Slave 16 8 l O 8 0 X60 X77 Y20 Y27 Y30 Y37 V40403 V40501 2nd Remote Slave 8 8 l l 16 O V40404 3rd Remote X100 X107 X110 X117 Y40 Y57 V40502
66. T or 1 31 for SM NET Slot Module INPUT OUTPUT Number Name No of Inputs Output Address 6ND3 2 X200 EN ped ea ae a 16 16 8 16 16 I l I 1O JO PS Slave X200 X217 X220 X237 X240 X247 Y200 Y21 7 Y220 Y237 V40410 V40411 V40412 V40510 V40511 2nd Remote PS Slave 8 8 16 l l 0 X260 X267 X270 X277 Y240 Y257 V40413 V40512 o D a HEF i N Configuration Parameter Baud R KBaud d d by y denes o taae En Fos asd 7 2y Remote Slave Worksheet Remote I O Configuration table Staying address 4 A 7700 is d 9 9 377009 2 eae Remote Base Address 2 Choose 1 7 for RM net or 1 31 for SM NET ef eh Slot Module INPUT OUTPUT Slave Sy INPUT puteur Number Name Input Address No of Inputs Output Address No of Outputs Station 260 Pt vamo vaso 32 X70 Y240 2 vons 1e f v 16 Fa a T a Toa ae a a A pie oe ee ae a ee a Sees a ee ee ee ee Ooo Ooo BTE ool a a i es A oe E Input Bit Start Address X260 V Memory Address V_ 40413 Total Input Points 16 Output Bit Start Address Y240 V Memory Address V_40512 Total Output Points_ 16 The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave NOTE Configuring remote I O for t
67. Verify you ve selected the proper cable configuration and check the cable making sure it is wired correctly Also check the cable routing to ensure that the installation guidelines in Chapter 3 were followed 2 Incorrect Baud Rate Make sure you ve set all D2 RSSS units to match the communication parameters set on the master station D2 RMSM D2 250 or D3 350 bottom port D4 RM D4 SM 3 Incorrect protocol Make sure you ve set all D2 RSSS units to match the protocol setting on the master station D2 RMSM D2 250 or D3 350 bottom port D4 RM D4 SM 4 Setup program Check the setup program for errors such as incorrect pointers or constants or writing to the wrong module address Be sure that the total inputs and outputs values match the sum of the individual slave input and output ranges otherwise the D2 RMSM will not accept the setup data NOTE If you need more in depth troubleshooting see the chart on the next page It provides several different indicator patterns that may help identify your exact problem 4 e 6 4 Diagnostics and Troubleshooting Troubleshooting Chart The following chart identifies the indicator status possible cause and corrective off on flash action for a variety of commonly found problems
68. a different baud rate if necessary Output Default DIP switch Position 5 on the slave determines the outputs response to a communications failure If DIP switch 5 is ON the outputs in that slave unit will hold their last state upon a communication error If OFF the outputs in that slave unit will turn off in response to an error Diagnostics DIP switch Position 8 on the master and Position 6 on the slave select the factory diagnostic mode and should always be OFF If the diagnostic mode is active the module will not operate correctly 9 0 Installation and Wiring Example Showing Here s the way Steps 1 and 2 would be carried out for the system shown below if we Proper Setting of decided to operate RM NET at 38 4 kBaud and holding outputs upon a Switches communication error Main Base with Master Rotary Switches Dip Switch Master fo Om ON RM NET mode ps cpu 16 16 16 16 a KESA somn ON 38 4 Kbaud I lo x10 REL LD OFF Not Used eL gt O OFF Not Used 23 o T OFF Not Used x1 e os o mT OFF Not Used D CT OFF Not Used 1st Remote eL I OFF Normal Mode PS S SS ESS ao ON RM NET mode i tliolo X10 REO F onm ON 38 4 Kbaud eg L fp OFF Not Used Ke 00 O
69. an go in the Remote Bases Designing the System ons The remote I O bases accept the most commonly used I O modules for the DL205 system AC DC AC DC Relay and Analog The table below lists by category those modules that you may use in a remote I O base CPUs No DC Input Modules Yes AC Input Modules Yes AC DC Input Modules Yes DC Output Modules Yes AC Output Modules Yes 2 Relay Output Modules Yes El Analog Modules Yes a Thermocouple Module Yes D RTD Module Yes Remote I O 3 Remote Master No Remote Slave Unit CPU Slot Only Communications and No Networking Modules Specialty Modules High Speed Counter 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 installed in local 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 Take this into account in applications where the timing is critical A Designing the System Determine I O Once you choose the hard
70. an time There are several variables used in the formulas The following descriptions will help you understand them e Tes 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 DL205 User Manual e Trs Remote Master scan time Use the table and formula shown previously to determine this time e Tin and Tour Module response delay time You can find this information from the module specifications tables which you will find in the DL205 User Manual Remote Input to Remote Output Trs Tes Trs Tes remote remote Input CPU output 7 os Tin 6 Tcs Tout Tin 4 Trs 6 Tcs Tout O OO J 2 Q Local Input to Remote Output 3 local remote 5 Input CPU output O o o Cy 5 rol D 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 T 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 howto calculate the total time required for reading Example a remote input solving the CPU logic then changing an output at the remote base We have used the following configuration which features 3 remote slaves 1 master and 208 r
71. assigned automatically NOTE The 12 point modules actually consume 16 points each since the memory allottment for a module must be on an 8 bit boundary Designing the System Ea Completing the To complete the Channel Configuration Worksheet we retrieve information from the Channel Remote Slave Worksheets Transfer the V memory addresses for the inputs and Configuration outputs of Remote Slave 1 and the input and output range for each slave to the Worksheet Channel Worksheet to prepare to write the setup program If using the DL250 DL350 bottom half CPU version of the configuration worksheet transfer both the starting addresses and quantities from each slave sheet onto the chart Channel Configuration Worksheet Remote Slave Worksheet D2 RMSM Remote Master Module ote Base Address 1 Choose 1 7 for RM NET or 1 31 for SM NET Master Slot Address 4 __ 1 7 j Protocol Selected RM NET RM NET or SM NET module INPUT Circle one selection for each parameter selections for each protocol are shown mber Name jInput Address No of Inputs Output Address No of Outputs y D 2 Baud Rate in KBaud determined by required 84 F 38 4 153 6 Jo m L 16 Operator Interface p C e ST vou B hsm SK vooo Starting Input V Memory Address V40402 Starting Output V Memory Address V 40502 eee e a e Total Inputs __96 Total Outputs __112 16tD12 16 i 8 NN Station No of inputs No of Outputs Station No of inputs ed
72. ation No of Inputs No of Outputs Po NA NA 16 1 6 2nd Remote a aL at oe 3 ae 2 F Ps 16 X10 ea Esn 2 ON a Zs C57 1 3 ON i ss S men SOFE K23 gt TEC 5 OFF 1 EEE xt GSB i EE an a eL mY 10 23 o o 1 OFF i x10 esa Fete 2N a o es 2 m 3 ON 12 O 4 OFF 2 E55 oaa OFE B foo x1 EDN eml 6 oFF oa o ooo eLa Ois Module Master Baud Rate Always OFF Always OFF Always OFF Diagnostics RMSM OFF SM NET Switch Position OFF Normal ON RM NET Baud Rate 2 3 4 19 2K O ON Diagnostic 38 4K 307 2K 614 4K O O where X ON O OFF Note Baud rates above 38 4K for SM NET only Slave Baud Rate Output Default Diagnostics RSSS Same as Master OFF Clear OFF Normal ON Hold ON Diagnostic O 153 6K O O X e e etting Started Step 3 Write the Setup Program RLL Program K1 I ats Main Program Body END SBR K1 first scan relay ri D 1 a K7 Initiate Setup ain V2000 Store to pa Shared 5 Memory M _ki LDA 0176 L wT SPO V2000 LD 1 K48 Set up Channel ee Input and Out 5 put Ranges K48 OUT V2012 ka Store to T Shared K4 Memory i24 WT SPO V2011 1 LDA MT 040403 OUT Set up Input V20
73. aud Rate 4 5 Outputs Hold 6 Diagnostic Switch Positions Baud 2 3 4 19 2K OFF OFF OFF 38 4K ON OFF OFF 153 6K OFF ON OFF 307 2K ON ON OFF 614 4K OFF OFF ON Le e wih a hinper atthe medal afd final slave base units 1 1st wire of twisted pair Txd Rxd 2 2nd wire of twisted pair Txd Rxd 3 Shield connection kal 6 0 Diagnostics and Troubleshooting Special CPU Memory for Diagnostics Communication This table provides a listing of the individual flags in V memory for communication Status Flags in status The corresponding bit of V memory turns ON when the slave is V memory communicating Station O represents the master its bit turns on when communication begins with its slaves You may use DirectSOFT or the application program to monitor these flags If there is acommunications error this memory may not show the correct data Master in Slot No 0 1 2 3 4 5 6 7 Station N A V7661 V7662 V7663 V7664 V7665 V7666 V7667 0 Bit O 1 Bit 1 2 Bit 2 3 Bit 3 4 Bit 4 5 Bit 5 6 Bit 6 7 Bit 7 8 Bit 8 9 Bit 9 10 Bit 10 11 Bit 11 12 Bit 12 13 Bit 13 14 Bit 14 15 Bit 15 Error Flags in V memory Diagnostics and Troubleshooting 6 This table provides a listing of the individual flags in V memory for slave errors The corresponding bit of V memory turns ON when the slave has an erro
74. aud rates based on the protocol selected and number of I O points used What is Remote 1 0 etting Started 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 aremote slave 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 with baud rates ranging between 19 2 to 614 4 kBaud depending on the configuration Up to 2048 remote I O points can be supported by the DL250 896 points for the DL240 The DL230 does not support remote O One Master in CPU Base one channel Remote Master Local Base O0 cove Twisted Pair Cable Remote Slave Remote Bases es When Do You Need For the DL205 series the main advantage of remote I O is that it expands the I O Remote I O capability beyond the local CPU base Remote I O can also offer tremendous savings on wiring materials and labor costs for larger systems in which the field devices are in clusters at various 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 ba
75. automatically so if using this mode the user program should clear this byte on the first scan 140 Network Error Flags Read Only Bit status represents network errors detected by the D2 RMSM 0 0K 1 ERROR BitO Configuration Error see Address 142 for details Bit1 Communication Error see Address 144 for details Bit2 Diagnostics Error see Address 150 for details Burmwes6olg dnjas 4 4 18 D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS 142 Configuration Error Code Read Only Error code in BCD Total inputs exceeds 512 Total outputs exceeds 512 I O address out of I O range I O address allocated to bad range A slave has more than 512 points Discrepancy between current configuration and old one A module is in the wrong slot Slave configuration is different from old one Different slave is there Error code in BCD 01 slave does not respond 02 wrong I O information 145 Station Number of Communication Error Code Read Only 146 Communication Error Counter Read 150 Diagnostics Error Code Error code in BCD 0201 Terminal block removed 0202 module not present 0203 Blown fuse 0206 Low battery voltage 0226 Power capacity exceeded SS fe LU 153 Station number of Diagnostics error Station number in BCD 1 Read Only A D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS Current bus scan time Read Only BCD value of current bus scan in msec Bus scan time upper limit Use
76. chart below lists these advantages in practical terms Reasons to Choose RM NET vs SM NET RM NET Advantages SM NET Advantages Cost savings for D2 250 system if first Supplies high speed I O expansion only channel is attached to CPU Port 2 When Remote I O must be highly Can use D2 RSSS Remote Slave units distributed need more slaves per with DL405 Remote Master for cost amp channel can use Slice I O if needed space savings over DL405 Remote I O Desire programming port or operator interface port at remote base location s g D Co gt 5 Co gt D lt n A D 3 29 Designing the System Choosing the The hardware selection for the output default mode determines the outputs Output Default response to a communications failure A DIP switch setting on the slave modules Mode Hold Last defines the default mode for each slave Hold Last State causes the outputs in that State vs Clear slave unit to remain in their last state upon a communication error Clear Outputs sets the outputs in that slave unit to OFF 0 NOTE The Output Default mode does not have to be the same for all slaves ona channel The selection of the output default mode will depend on your application You must consider the consequences of turning off all the devices in one or all slaves at the same time vs letting the system run steady state while unresponsive to input changes For example a conveyor system would
77. ct switch settings or an invalid setup program For a previously operating system the diagnostics can help locate such faults as a slave not responding an I O module not present or a loose terminal block In this example we read the network error flags each scan and if there is a configuration error present we read the error details Each scan read the network error flags SP1 D KO4_ Load master address rack 0 slot 4 _ 4D a Load the number of bytes to read __ LDA Load the shared memory address location of the 0140 network errors RD Read the network error flags from the master V2020 into V memory Move the network error flags to C relays to use as flags for testing SP1 _ _____ 5p V2020 Load the network error flags into accumulator OUT 100 Store the lower byte to C relays C100 107 If there is a configuration error C100 is ON read the configuration error code C100 D K04 Load master address rack 0 slot 4 _ k41 Load the number of bytes to read aa 0142 Load the location of the configuration error code RD Read the configuration error code from the V2021 master into V memory Read the station number where the configuration error occurred C100 D KO4 Load master address rack 0 slot 4 D K1 Load the number of bytes to read _ LDA Load the loca
78. d Slave units This means that the DL205 series can take advantage of the Slice I O features by using a D2 RMSM Master connected to D2 RSSS and or Slice Slave units up to the maximum allowed number of remote units and I O points as well as operate at a higher baud rate Also the DL405 Slice Master can use DL205 remote bases as slaves This protocol supports the built in RS 232 communications port on the D2 RSSS Aremote master resides in the CPU base Depending on the protocol selected this master D2 RMSM controls up to 7 remote slaves RM NET or up to 31 remote slaves SM NET Remote Master The D2 RMSM is mounted in the CPU base Up to two master modules can be used with the DL240 up to seven master modules can be used with the DL250 Remote Slave The D2 RSSS modules are placed in remote base units Each slave has the I O circuitry required to be linked to the master module via twisted pair cable One D2 RSSS is required for each remote base e Number of Masters In its simplest form you may wantto use only one master in your CPU base and then and Slaves attach from one to seven remote I O bases However in addition to the simple Allowed RM NET configuration more than one master can be used in the CPU base Th
79. d worksheets for designing the remote I O system and defining its parameters We suggest that you photocopy these sheets and use them to map out the details of your system Assuming this will be your procedure this chapter will walk you through the process using the example system The Channel Configuration Sheet defines the operating parameters for a channel The Remote Slave Worksheet records the amount and addresses of the I O for each slave First select the Channel Configuration Worksheet to determine the characteristics for each channel master in the system The most important decision you must make is to choose the protocol mode for each master in the system The two protocols RM NET and SM NET each have features which may be of importance to your configuration The system layout affects this choice since there is a difference in the number of slaves allowed the possible baud rates and the total I O link distance First let s review the specifications for the two protocol modes Specification RM NET SM NET Maximum of Slaves per channel 31 Maximum of I O per channel 512 Baud Rates 19 2K or 38 4K baud 19 2K 38 4K 153 6K 307 2K or 614 4K baud Transmission Distance 3900 ft 1 2Km 3900 ft 1 2Km 19 2K or 38 4K baud 1968 ft 600m 153 6K baud 984 ft 300m 307 2K baud 328 ft 100m 614 4K baud Based on system layout there may be advantages in choosing one protocol over the other The comparison
80. ddress 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0 Address 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 V40640 1037 1036 1035 1034 1033 1032 1031 1030 1027 1026 1025 1024 1023 1022 1021 1020 V40641 1057 1056 1055 1054 1053 1052 1051 1050 1047 1046 1045 1044 1043 1042 1041 1040 V40642 1077 1076 1075 1074 1073 1072 1071 1070 1067 1066 1065 1064 1063 1062 1061 1060 V40643 1117 1116 1115 1114 1113 1112 1111 1110 1107 1106 1105 1104 1103 1102 1101 1100 V40644 1137 1136 1135 1134 1133 1132 1131 1130 1127 1126 1125 1124 1123 1122 1121 1120 V40645 1157 1156 1155 1154 1153 1152 1151 1150 1147 1146 1145 1144 1143 1142 1141 1140 V40646 1177 1176 1175 1174 1173 1172 1171 1170 1167 1166 1165 1164 1163 1162 1161 1160 V40647 1217 1216 1215 1214 1213 1212 1211 1210 1207 1206 1205 1204 1203 1202 1201 1200 V40650 1237 1236 1235 1234 1233 1232 1231 1230 1227 1226 1225 1224 1223 1222 1221 1220 V40651 1257 1256 1255 1254 1253 1252 1251 1250 1247 1246 1245 1244 1243 1242 1241 1240 V40652 1277 1276 1275 1274 1273 1272 1271 1270 1267 1266 1265 1264 1263 1262
81. e DL240 CPU can handle two masters maximum The DL250 CPU can operate seven D2 RMSM masters using a 9 slot rack and the bottom port of the DL250 can serve as an eighth master Here is an example where we have used two masters in the CPU base one of which is the bottom port on the DL250 CPU and then attached a total of six remote I O racks etting Started Two Masters in the Same Base two channels RM NET CH 1 Remote Masters CH 2 Maximum of Masters can go in any slot except next to CPU 2 per CPU base DL240 2 Tereny 7 per CPU base DL250 pew for DL250 the bottom port of g the CPU can serve as an eighth master M gt Bh Remote Slaves Maximum of o 3900ft 7 remote bases FS 1200m per channel ww Max i A ee hHalalat i al Allowable distance is from furthest slave to the remote master Distance Between Each slave belonging to the same master is connected in a daisy chain using a Slaves and Master shielded twisted pair cable The last slave unit in the daisy chain cannot be further Baud Rates than 3900 feet from the CPU base You must set rotary switches that designate the RM NET slaves as No 1 No 2 etc There is a DIP switch on each unit to set the baud rate for communication You have a choice of either 19 2 kB or 38 4 kB The slaves and master must be set to the same baud rate Getting Started int N
82. e DL250 or DL350 CPU supports the RM NET mode only you cannot use the remote communications port on slaves which are attached to the CPU Q What if my cable routing causes the channel communication cable to exceed the maximum allowed distance A You may need to reconsider the physical layout of your system For example you could split one large channel into two channels whose individual cable lengths would be acceptable Or you could locate the local rack that contains the master modules in the center of the system and radiate multiple channel communications cables in many directions Designing a Remote I O System In This Chapter Determining the System Layout Calculating the Power Budget Lene Designing the System Determining the System Layout Determine the Hardware Configuration The first step in putting any system together is to establish a picture of the system components The DL205 remote I O gives you the flexibility to build a system which takes advantage of the features you need The possibilities are endless but the table below shows some combinations that will fit the majority of applications And if you need a combination of features remember that you can configure each remote master in a system differently fab io rp gt op fod E a gt cp o Q DL205 CPU with Remote Master s to rack based DL205 Remote I O and or DL405 remote I O DL405
83. e correct shared memory addresses in octal SPO LDA Write Input and Output Pointers and L 040600 Input V memory Input and Output Ranges for Channel L OUT 2001 V memory buffer LDA 040610 Output V memory OUT limes V2002 V memory buffer LO O04 Master module address Le ED K4 Number of bytes 19 2 38 4 DA 307 2 614 4 OO N Shared Memory address T2001 rite Master memory SPO 1D A ji K96 Inp t points total ho Le ee eS OUT V memory buffer Station No of IMputs No of Outputs Station No of inputs s of Outputs v2011 y Ee Ss E eS I K112 Output points total o t e R a Po fe NN ee OT 9 V mertory butter 3 4 af LD K004 Master module address a a Y 6 K4 Numbef of bytes o o LDA i 0124 d Memory address ES hae fF 9 WT Master memory owo weet hn a Quick Referenc le SE Es of Shared Memory esses 4 sen 15 Setup Initiation Byte 176 Setup Complete By 177 Slave Input Number of Number of Address Input Pts Output Pts ALL 002 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 Since the logic for the slave range data and setup complete is identical to Example 1 we will now show the completed setup program on
84. e details of the CPU and Remote Master interaction Inputs from slot 1 of 2nd Inputs from slot 1 of 2nd Remote Scan remote slave in CPU remote slave in CPU Scan Image Area Remote Master Buffer read read Remote Slave 2 10 iy X110 E t X111 e X111 4 4 4 X112 lt X112 X113 e X113 X114 lt X114 X115 lt X115 X116 lt X116 Part of program X117 Ee X117 that is executed L INPUT X110 Y123 utputs for slot 2 of 2nd Outputs for slot 2 of 2nd remote slave in CPU remote slave in Remote Image Area Master Buffer y write write Remote Slave 2 Y120 gt Y120 el Y121 gt Y121 Y122 gt Y122 gt Y123 gt Y123 Y124 gt Y124 Y120 Y127 Y125 gt Y125 Y126 gt Y126 Y123 Y127 gt Y127 a OUTPUT The table on the adjacent page 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 the 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 sc
85. emote I O points communicating at 38 4 kBaud EXAMPLE 38 4 kBaud D2 240 X110 causing a change in Y123 Main Base with Master PS cpu 16 16 16 16 1 O O X0 X17 X20 X37 YO Y17 Y20 Y37 V40400 V40401 V40500 V40501 1st Remote PS BS NAGS 6 ABO 80 I O points l I O JO O X40 X57 X60 X77 Y40 Y57 Y60 Y77 Y100 Y117 V40402 V40403 V40502 V40503 V40504 Slave Module 2nd Remote PS 8 8 8 16 8 I I O 1O O 48 I O points X100 X107 X110 X117 Y120 Y127 Y130 Y147 SPACE V40404 V40505 V40505 06 Slave Module 3rd Remote PS 16 16 16 12 12 80 I O points l l l O O X120 X137 X140 X157 X160 X177 Y160 Y177 Y200 Y217 Slave V40405 V40406 40407 V40507 V40510 7 cds Total 208 remote I O points Given that the CPU scan Tcs is estimated to be 25 ms the results of the calculations are Tin Maximum response input module time 16ND3 2 9 ms Tout Maximum response output module time 16TD1 2 5 ms Trs 15 34 ms 2ms x3 21 34ms Tes Total Delay for Configuration T n 6 Tcs Tout 9ms 6 25 ms 5 ms 159 5 ms
86. er and slave have two small rotary switches to set the unit address On the remote master D2 RMSM they are on the face of the module with the label UNIT ADRS beside it On the remote slave D2 RSSS they are on the printed circuit board of the module and are labeled SW2 and SW3 Adjust the switches by rotating them with a small flathead screwdriver Remote Master Remote Slave Cr Ch N gt Li RUN DIAG vO N peraman Address lees Selection 9S1 Switches L 19 Go x o gt Cc zZ a fo i gt iw D n o x g ale ay REE One switch is marked X1 and the other X10 Don t confuse these with the conventional data type labeling these do not refer to inputs X1 and X10 Instead these set the address in decimal for each unit X1 is the one s position and X10 is the ten s position For example set address 13 by turning the X10 switch to 1 and the X1 switch to 3 10 3 13 Align the arrows on the switches to 0 to use the module as a master D2 RMSM only Setthem to any number 1 7 for RM NET mode or 1 31 for SM NET mode if it will be a slave D2 RSSS Two s
87. es D2 RMSM Setup Initiation Byte 176 Setup Complete Byte 177 Slave Input Output jNumber of Number of Address Address Input Pts Output Pts ALL 000 002 124 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 4 D2 RMSM Setup Programming 4 13 Changing Configurations If you have stored a configuration to the D2 RMSM via the setup program and need to change it follow these guidelines to ensure the module accepts the new configuration 1 Change the constants in the setup program that are affected by the new system configuration For example if you add an I O module to a remote slave unit you must change the input or output range for that slave as well as the range total for the channel If the new range totals do not match the sum of the individual slave ranges the D2 RMSM will not accept the new configuration It will retain the old configuration and give you an I O error 2 Ifyou are removing a slave from the channel you must change the logic of the setup program to clear that slave s range data in the D2 RMSM shared memory Otherwise it will still see the old data from the previous configuration For example if you remove the third slave from our example system you would load a constant of zero into the slave s input and output range data located at buffer memory addresses V
88. ess Name Input Address No of Inputs Output Address No of Outputs V37700 is default 1 v as vzo 32 ep V2004 16 2603 16 Ced Sy Too S ael Sy S S es es 7 ee ee ee el yY S S a AA e a __e Total Input Poin Total Output Points_16 The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 CPU port setup program requires these addresses for each slave NOTE Do not use V memory words reserved for other functions The logic to write the port setup word is identical to Example 1 so we will proceed to the second block of logic 4 9 14 DL250 DL350 CPU Setup and Programming This block of logic tells the CPU for each slave the starting V memory addresses for the inputs and outputs and the total number of each Use the values from the Remote Slave Worksheets or Channel Configuration Worksheet and the pointer addresses from the DL250 DL350 Reserved Memory Table to complete the logic Write Input and Output Pointers and DL250 DL350 Reserved Memory Table Ranges for each remote base Port Setup Word V7656 Setup Complete Flag C740 Slave Input Number of Output Number of Address Input Pts Address Output Pts 37704 va7705 V3770 W37700 V37710 V37711 V37712 V3771 V37714 V37715 V37716 X37717 V37720 V37721 V37722 V37723 V37724 V37725 V37726 V327 V37730 V37731 V37732 V37433 V37734 V37735
89. g 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 X040 you look for 040 on the chart There you find the cross referenced register address 40402 On the output chart you cross reference Y040 with 40502 Enter enter these numbers on the worksheet as you will use them later in your setup logic Completing the Remote Slave Worksheet for Designing the System 2 3 Now let s do the same thing for the second remote I O base We have filled in the following remote slave worksheet to match the second remote I O base of the example system Slave 2 Main Base with Master PS cpu 16 16 16 16 l l O O X0 X17 X20 X37 YO Y17 Y20 Y37 V40400 V40401 V40500 V40501 1st Remote PS 16 16 16 16 16 l l O O O X40 X57 X60 X77 Y40 Y57 Y60 Y77 Y100 Y117 V40402 V40403 40502 40503 V40504 Slave Module 2nd Remote PS 8 8 8 16 8 l l O O Oo X100 X107 X110 X117 Y120 Y127 Y130 Y147 SPACE V40404 V40505 V40505 6 Slave Module 3rd Remote PS 16 16 16 12 12 l l l O O Slave Module Remote Slave Worksheet 2 Remote Base Address Choose 1 7 for RM NET or 1 31 for SM NET Slot a 3
90. h end of a master slave system it is necessary to have atermination resistor Resistors to prevent signal reflections from interfering with the communications Although the modules have a 150 ohm resistor built in for this purpose there are three options to consider Option 1 Use Internal Resistor Only With this configuration you use the qo Internal S 150 ohm fD 1 internal resistor of the module to provide resistor all the terminating resistance necessary 2 Wire Place a jumper wire between the a5 terminating terminal and terminal 1 D Internal Wiring Jumper Option 2 F Use Internal Resistor and Balance 1 Resistor Internal 1 v S 150 ohm To better match the impedance of the x resistor ED cabling you can elect notuse the internal 2 resistor and instead use a resistor of an your choice externally Connect this resistor between terminals 1 and 2 You 3 do not use the jumper wire in this case a You add your own re sistor using a resistor between 100 and 500 ohms Option 3 External Resistor in Series gt a With this option you use an external S Paa 1 resisor in series with the internal resistor g resistor D The sum resistance should match the 2 2 cabling impedance T a a You use an external resistor in series with the internal resistor
91. has a very good coverage of the basic commands available and examples of using the commands to write 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 Ee Edt Seach View Iode PIC Debug Window Hap tehieat ON Ce a Pe Tae aria eel 0 712 fil Ladder View 1 i _ pi bent 2 a 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 initialization program 4 D2 RMSM Setup Programming 4 3 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 in a Decide How You subroutine Are Going to Call A subroutine for your remote I O setup has an advantage over writing the code into Your Program 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 We advise you to use a subroutine for your remote I O initialization Here s how Us
92. he DL250 or DL350 CPU port requires both the starting addresses and the number of input and output points for each slave The starting addresses for each slave must be on a 16 point boundary In this example this means that X250 X257 in Slave 1 are unused DL250 DL350 CPU Setup and Programming Bd The second block of logic tells the CPU for each slave the starting V memory addresses for the inputs and outputs and the total number of each The CPU has reserved memory locations called pointers that accomplish this task Use the values from the Remote Slave Worksheets or the Channel Configuration Sheet and the pointer addresses from the DL250 DL350 Reserved Memory Table to complete this logic Write Input and Output Pointers and DL250 DL350 Reserved Memory Table Ranges for each remote base Port Setup Word V7656 Setup Complete Flag C740 Channel Configuration Worksheet Slave Input Number of Output Number of DL250 DL350 CPU Bottom Port Address Input Pts Address Output Pts 1 Circle one selection or fill in blank for each parameter V37707 Configuration Parameter 2 v37710 V 11 V37713 Baud Rate in KBaud determined by required C 38 4 3 V37714 V3771 V37717 distance to last slave 4 Remote I O Configuration table Starting address Q377002_ V37700 is default V37720 V37721 V37723 a ore ora BU B 730 V37731 V377 2 7733 ave Station Input Address No of Inputs C
93. he ad 1 Read Only dress of the module set by the Rotary Switches 123 Status of DIP Switches on module Read Bit status represents the setting of each 1 Bus Scan Status This table lists the status words that provide information on bus performance The user can implement logic to read the status as well as set the bus scan upper limit parameter OCTAL FUNCTION DETAIL ADDRESS Bytes 160 Current bus scan time Read Only BCD value of current bus scan in msec 2 162 Bus scan time upper limit User can store BCD value of bus scan up 2 per limit in msec Default is 100 msec 164 Shortest bus scan time Read Only BCD value of shortest bus scan detected 2 since CPU went into RUN mode in msec 166 Longest bus scan time Read Only BCD value of longest bus scan detected 2 since CPU went into RUN mode in msec 170 Bus scan counter Read Only BCD value of number of bus scans de 2 tected since CPU went into RUN mode 172 Overlimit Bus scan counter Read Only BCD value of number of bus scans which 2 have exceeded the scan time upper limit Network Errors e Diagnostics and Troubleshooting 6 9 This table lists the shared memory addresses that report network errors and their locations The user can read these errors to assist in troubleshooting OCTAL FUNCTION DETAIL ADDRESS Bytes 140 Network Error Flags Read Only Bit status represents network errors 2 de
94. helps you understand the system operation characteristics This manual contains important information for personnel who will install remote I O and for the PLC programmer If you understand PLC systems our manuals will provide all the information you need to get and keep your system up and running Since we constantly try to improve our product line we occasionally issue addenda that document new features and changes to the products If an addendum is included with this manual please read it to see which areas of the manual or product have changed If you already understand the basics of remote I O systems you may only want to skim this chapter and move on to Chapter 2 Designing the System Be sure to keep this manual handy for reference when you run into questions If you are a new DL205 customer we suggest you read this manual completely so you can understand the remote modules configurations and procedures used We believe you will be pleasantly surprised with how much you can accomplish with PLCDirect products Depending on the products you have purchased there may be other manuals necessary for you application You will need to supplement this manual with the manuals that are written for those products We realize that even though we strive to be the best we may have arranged our information in such a way you cannot find what you are looking for First check these resources for help in locating the information
95. impedance The resistance values should be between 100 and 500 ohms Add series external resistor mel 3 ve J Internal 150 ohm resistor 3 12 Installation and Wiring Using the Slave Unit Communications Port Port Specifications Each D2 RSSS slave module has an RJ 12 phone plug type communications port Port Pinout Port Cabling It operates at 9600 baud 8 data bits one stop bit and odd parity It is active only when the channel is configured for SM NET protocol You can program or monitor the CPU through this port with DirectSOFT or the handheld programmer You can also connect the DV 1000 Operator Interface to this port Note if you are using the handheld programmer or the DV 1000 remember to add the power requirement for the device when you calculate your power budget You may use multiple slave communication ports simultaneously on one channel The port pinout is shown below RJ12 plug on cable RJ12 socket on D2 RSSS Port Pinout Pin Signal Definition OV 5V RS232C Data In RS232C Data Out 5V OV 9S pect 123456 oak WN Since the handheld programmer and the DV 1000 obtain their operating power from the Slave unit we strongly suggest you use the standard cables for these devices You can order the necessary cables with the following part numbers e D2 DSCBL DirectSOFT Programming cable for the DL205 CPUs
96. ing Troubleshooting Remote I O Module Indicators Check the indicators on the Remote Master and Slave units to verify that the network is operating correctly The following diagram shows the proper indicator conditions RUN Turns ON when the module Remote Master is operating correctly Ore DIAG Turns ON when there is a hardware failure 1 O Turns ON when the as a setup program is wrong DU Um OOOO ea LINK Turns ON when there is a ie communications error SDAN ESR N RUN Turns ON when the module Remote Slave is operating correctly DIAG Turns ON when there e is a hardware failure LI 1 O Turns ON when there is an I O failure at o T LAA the slave or rotary switch setting exceeds valid number DO im Dono a Q O LINK Turns ON when there is a communications error a eee Troubleshooting Quick Steps Diagnostics and Troubleshooting 0 3 If the remote I O channel does not seem to be working correctly check the following items These items represent the problems found most often 1 Cable and connections Incorrectly wired cables and loose terminations cause the majority of problems
97. ing the GTS Command for the Setup Logic Note SPO is a special relay contact which energizes only on the first scan of the program SPO j lI DirectSOFT Displa i P Main program body goes here END SBR Ki Subroutine will go down here D 2 Z T J fe ol D 3 5 a A A D2 RMSM Setup Programming Step 2 Whether you choose to write the remote I O setup program as a subroutine or as a Write the Setup part of the main program the procedure is still the same You have several things Logic for Each you must do for each channel of remote 1 0 Channel e Tell the remote master to initiate setup and define the auto return to network option e Tell the remote master the starting V memory address for inputs and outputs and the total number of each for the channel You do this with address pointers and constant data e Tell the remote master how many input and output points are located in each base e Tell the remote master to save the parameters in EEPROM setup is complete To write the setup logic we use the CPU instructions described below If you are not familiar with these instructions you may want to refer to the DL205 User Manual for more details and examples The Load instruction is a 16 bit instruction that loads the value LD Aaaa which is either a V memory location or a 4 digit Aaaa constant into the lower 16 bits of the accumulator The u
98. ing using than real inputs X type and or real outputs Y type If you have used all available Control Relay I O references in the system and need to add remote I O you can use the control Memory relay C type memory as the I O references You may allocate C memory for inputs outputs or both To write a setup program with this option we will use the system from Example 1 This example illustrates the difference in defining the pointer addresses we have assigned both inputs and outputs to control relay references Retrieve the V memory addresses for the input and output control relays from the Reserved Memory Table in Appendix B The rest of the setup logic is identical to Example 1 Write Configuration Byte Channel Configuration Worksheet D2 RMSM Remote Master Module Main Base with Master Master Slot Address 4 _ 1 7 _ Protocol Selected RM NET RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown PS CPU 16 16 16 16 Configuration Parameter RM NET SM NET l l O O Baud Rate in KBaud determined by required 19 2 38 4 19 2 38 4 153 6 distance to last slave 307 2 614 4 X0 X17 X20 X37 YO Y17Y20 Y3 oparaiorinie NA YES Ne V40400 V40401 V40500 V 1 Auto Return to Network eT protocol YES NO YES NO Starting Input V Memory Addres amp V40600 3tarting Output V Memory Address 40610 1stR ote Total Inputs__ 96 Tota
99. ints associated with each V memory address bit for the DL240 and DL250 CPUs The DL240 CPU output addresses end at 477 additional DL250 addresses extend to 777 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 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 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 30
100. l Outputs 112 _ Slave Slave 16 6 16 16 16 Station No of Inputs No of Outputs Station No of Inputs No of Output PS 0 N A N A 16 I l O O O 1 32 48 17 2 16 32 18 C0 C20 C37 C200 217 C220 237 C240 257 40600 740601 CV40610 V40611 V40612 2 a 32 19 2nd Remote 1 8 8 8 16 8 6 22 i 1 1 lo jo jo 8 24 C40 C47 50 C57 6260 267 270 307 SPACE 9 25 40602 V40613 V40613 14 10 26 3rd Remote i 27 12 28 PS 16 16 16 12 12 13 29 l l l O O 14 30 15 31 C60 C77 C100 117 C120 137 C320 337 C340 357 V40603 V40604 V40605 40615 V40616 SPO LD K87 Bits 0 1 2 ON initiates setup E Bit 7 defines Auto Return to Network ON Yes oU 2000 Choose a word of available V memory to use as a buffer LD K04 Master address High byte is rack 0 low byte is slot 4 LD K1 Number of bytes to write to shared memory 1 byte 0176 Shared memory address of configuration byte V2000 Write value in lower byte of V2000 to Master memory 4 D2 RMSM Setup Programming 4 17 This block of logic tells the remote master the starting V memory addresses for the inputs and outputs and the total number of each for the channel The V memory addresses correspond to CO for inputs and C200 for outputs Load the starting addresses and point totals into temporary memory then write the values to the master s shared memory The Quick Reference Table shows th
101. lace the difference in the row labeled Remaining Power Available 4 If Maximum Power Required is greater than Base Used in either of the two columns the power budget will be exceeded It will be unsafe to use this configuration and you will need to restructure your I O configuration Installation amp Field Wiring Guidelines In This Chapter Introduction Setting the Rotary Switches Setting the Rear DIP Switches Inserting the Module in the Base Connecting the Wiring Using the Slave Unit Communications Port 9 2 Installation and Wiring Introduction 4 Easy Steps There are four easy steps to install either a D2 RMSM or D2 RSSS module 1 Set the address on the front or rear rotary switches 2 Setthe protocol mode baud rate and output default on the rear DIP switch 3 With no power applied insert the module into the base 4 With no power applied connect the wiring The text that follows will cover each of these steps in detail NOTE We advise you to 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 Installation and Wiring Ea Step One Setting the Rotary Switches Both the remote mast
102. laves 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 Toward the rear of each module you will find a DIP switch mounted on the circuit board The remote master D2 RMSM has an 8 position switch labeled SW3 while the remote slave D2 RSSS has a6 position switch labeled SW1 Set these switches to configure the protocol mode the baud rate and the output response on communication failure Remote Master Remote Slave o o P J 0m e 000 OAE m E F o o O T CJN TD gt O T gt i oft of o E_T o 1 SOO M MT DIP C Switches A Har Chart for DIP Switch Settings DIP Position Baud Rate Always OFF Always OFF Always OFF Diagnostics aan NET Switch Position OFF Normal ON RM NET Baud Rate 2 3 i i 19 2K 00 ON Diagnostic 38 4K xo 153 6K O X 307 2K X X 614 4K Ooo where X ON O OFF Note Baud rates above 38 4K for SM NET only Baud Rate Output Default Diagnostics Same as Master OFF Clear OFF Normal ON Hold ON Diagnostic For the D2 RMSM the word ON is visible on the switch beside Positi
103. le system Remote Slave Worksheet Remote Base Address _3 Choose 1 7 for RM NET or 1 31 for SM NET Ps jcpu 6 16 16 16 Slot Module Number Name Input Address No of Outputs I O 0 x120 V40400 V40401 V40500 V40501 X0 X17 X20 X37 YO Y17 Y20 Y37 1 16NA X140 2 16NA X160 16 ist Remote i a Pa nel E E si V40402 V40403 V40502 V40503 V40504 ave Module Input Bit Start Address X120V Memory Address V__40405 2nd Remote inet ee Total Input Points 48 PS 8 8 8 16 8 Output Bit Start Address ___Y160 _V Memory Address V_ 40507 l l O O O Total Output Points__32 X100 X107 X110 X117 120 Y127 130 Y147 SPACE The D2 RMSM automatically assigns I O addresses in sequence based on if F E z Slave 1 s starting addresses The DL250 DL350 CPU port setup program Slave a 40909 M4050946 requires these addresses for each slave Module 3rd Remote PS 16 16 16 12 12 l l l olio X120 X137 X140 X157 X160 X177 Y160 Y177 Y200 Y217 V40405 V40406 40407 40507 40510 Slave Module orrara The D2 RMSM allocated X100 to X117 to Remote Slave 2 s inputs and Y120 to Y157 to its outputs This means the starting address for the third base inputs is X120 assigned automatically and the starting address for outputs is Y160
104. m from Chapter 2 shown here with a Xand Y memory completed Channel Configuration Worksheet The first block of logic tells the remote master to initiate the setup and to enable the Auto Return to Network option To find the D2 RMSM shared memory addresses used in the setup program refer to the Shared Memory Table at the end of this chapter Write Configuration Byte Channel Configuration Sheet Main Base with Master D2 RMSM Remote ne Module I lo o K a E Baud Rate in KBaud a ed C384 192 38 4 153 6 distance to last slave 307 2 614 4 X0 X17 X20 X37 YO Y17 Y20 Y37 Operator Interface V40400 V40401 V40500 V40501 auo Rane Nepwork einer protooo CYES Starting Input VMemory Address V 40402_ Starting Output V oe Address V 40502 _ 1st Remote Ton Slave PS 16 16 16 16 16 i re e Fa No inputs l I O IO O coe X40 X57 X60 X77 Y40 Y57 Y60 Y77 Y100 Y117 V40402 V40403 V40502 V40503 V40504 2nd Remote pg 8 s 8 16 8 l I O IO JO X100 107 X110 117 Y120 127 Y130 147 SPACE V40404 V40505 V40505 6 3rd Remote 16 16 16 12 12 PS l l l O JO X120 137 X140 157 X160 177 Y160 177Y200 217 V40405 V40406 V40407 V40507 V40510 SPO t K87 Bits 0 1 2 ON initiates the setup Bit 7 defines Auto Return to Network ON Yes mw V2000 Choose a word of available V memory to use as a buffer K04 Master address
105. n KBaud determined by required 38 4 19 2 38 4 153 6 LDA distance to last slave i 307 2 614 4 000 Shared Memory address Operator Interface C nad YES no L w rite Master memory Auto Return to Network either protocol I NO v2001 LD Kg6 Input points total Slave Slave Ee V melmory buffer Ss Fear S a aera hae 20n OO XN LD K112 Output points total OUT 2012 V memory buffer LD K04 Master module address P K4 Number of bytes k P 0124 Shared Memory address T2011 Write Master memory Quick Reference Table of Shared Memory Addresses D2 RMSM Setup Initiation Byte 176 Setup Complete Byte 177 Slave Input p Number of Number of Address Address Input Pts Output Pts ALL 002 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 in octal Write Input and Output Ranges for each Slave SPO S K32 SlavetTnput poin V memory buffer lt N ie LD K4g Slave 1 Output points OU memory buffer LI Ke Slave 2 Input points V2005 V memorwouffer V2006 V memory buffer v2007 V memory buffer Slave 3 Output points v2004 T K32 Slave 2 Output poi 2 v2006 K48 32 7 V2010 V memory buffer LD OU LD OU S
106. o Access Diagnostics Information To access diagnostics information we exchange data with the D2 RMSM module The remote master unit is an intelligent module which means it operates asyncronously from the CPU and it has its own memory We use the CPU instructions described below to communicate with an intelligent module The WT instruction writes a block of data 1 128 bytes max to an intelligent I O module from a block of V memory in the CPU The function parameters module WT base slot address number of bytes and the intelligent I O A aaa module memory address are loaded into the first and second level of the accumulator stack and the accumulator by three additional instructions In the WT instruction Aaaa specifies the starting V memory address where the data will be written from in the CPU Listed below are the steps to program the WT instruction SPR LD K04 Load the base number 0 into the first byte and the slot number 1 7 i into the second byte of the second level of the accumulator stack Load the number of bytes to be transferred into the first level of the accumulator stack _ LD K2 LDA Load the intelligent module address which will receive the data into m 0162 the accumulator We use the LDA to convert the octal address into its HEX equivalent L__ WT Insert the WT instruction which specifies the starting V memory V2015 location where the data will be written from in the CPU
107. o update its I O data to its internal buffers Remember from earlier reading in this appendix 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 store new data This chart shows the maximum amount of delay based on the number of I O points on the channel of Remote Update Time Required in ms VO Points 92KB 384KB 1536KB 907208 6445 Te B2 e4 Cose a osa re f Ce ae e0 eae a Remote Scan Time Use the following formula to calculate the amount of time required for the remote I O Formula scan update Trs Time from Above Table 2 ms x No of Slaves w D D D 5 Co Cc 3 fo v D 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 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 of a remote input changing a remote output Example of a Remote Input Changing a Remote Output This example can be simplified schematically to look like this Remote Remote Input CPU Output X110 Y123 The drawing below shows th
108. on 1 to indicate which side is the ON position For the D2 RSSS the word OFP is visible on the switch beside Position 1 to indicate which side is the OFF position Installation and Wiring Bed Mode DIP switch Position 1 on both the master and slave unit selects the protocol mode for the remote I O link The DL205 remote I O can use one of two protocols RM NET or SM NET Chapters 1 and 2 discussed the features of these protocols and the considerations for using each Position 1 of the master and all slaves linked to it must be set to the same setting in order to communicate If there are multiple masters in the system each can use a different protocol if necessary Baud Rate DIP switch Positions 2 3 and 4 on both the master and slave unit select the baud rate for the remote I O link If you have selected the RM NET protocol mode only Switch 2 selects the baud rate either 19 2K or 38 4K baud In this mode be sure to set switches 3 and 4 OFF If you have selected the SM NET protocol mode you set switches 2 3 and 4 to select among five baud rates ranging from 19 2K to 614 4K baud The higher the baud rate the less distance is allowed between the master and the end slave See the Functional Specifications in Chapter 1 for the allowable distance at each baud rate All stations on a remote I O link must have the same baud rate before the communications will operate properly If there are multiple masters in the system each can use
109. onfiguration table V37700 is the default This table is separate and independent from the table for any Remote Master s in the system e Station Number Choose 0 as the station number which makes the DL250 or DL350 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 2 Then click the button indicated to send the Port 2 configuration to the CPU and click Close DL250 DL350 CPU Setup and Programming Ba DL250 DL350 Reserved Memory for 2nd Port as Remote Master When you configure the bottom port of the DL250 or DL350 CPU via DirectSoft or the Handheld Programmer you are actually loading areserved V memory adddress V7656 with configuration data The following chart defines the meaning of the bits in this register The examples include logic in the setup program to set these parameters so they are not lost or accidentally changed Remote I O Communication V7656 15 8 7 0 kikik ae ae ae ae ae A Station number setting 0 Master station number Communication V memory address hex equivalent of octal adddress default 37700 is sta
110. pper 16 bits of the accumulator are set to 0 The Load Address instruction is a 16 bit instruction It converts LDA any octal value or address to the HEX equivalent value and Cans loads the HEX value into the accumulator The OUT instruction is a 16 bit instruction that copies the OUT values in the lower 16 bits of the accumulator to a specified al ere V memory location Aaaa The WT instruction writes a block of data 1 128 bytes max to an intelligent I O module from a block of V memory in the CPU The function parameters module ae base slot address number of bytes and the intelligent I O A aaa module memory address are loaded into the first and second level of the accumulator stack and the accumulator by three additional instructions In the WT instruction Aaaa specifies the starting V memory address where the data will be written from in the CPU You use these instructions to set up the configuration data in a block of V memory which serves as a buffer Use WT instructions to store the data to various shared memory locations in the Remote Master module Use your worksheets to assist you in creating the setup logic 4 D2 RMSM Setup Programming 4 9 Examples for Typical Configurations Example 1 To illustrate the setup program for a system using X s as remote inputs and Y s as Addressing using emote outputs we will use the example syste
111. r Station 0 represents the master its bit turns on when an error occurs with any slave You may use DirectSOFT or the application program to monitor these flags If there is a communications error this memory may not show the correct data Masster in Slot No 0 1 2 3 4 5 6 7 Station N A V7671 V7672 V7673 V7674 V7675 V7676 V7677 0 Bit O 1 Bit 1 2 Bit 2 3 Bit 3 4 Bit 4 5 Bit 5 6 Bit 6 7 Bit 7 8 Bit 8 9 Bit 9 10 Bit 10 11 Bit 11 12 Bit 12 13 Bit 13 14 Bit 14 15 Bit 15 Diagnostics and Troubleshooting Hardware Status D2 RMSM Memory for Diagnostics The following tables describe the shared memory locations in the D2 RMSM Remote Master which provide status and error information about the module and its attached remote I O network This table lists the status bytes available in the D2 RMSM shared memory which report the hardware settings You can implement logic to read these bytes to check your configuration without having to remove the module Only switch on the module s DIP Switch which sets configuration parameters O OFF 1 ON BitO SW 1 status Bit1 SW2 status Bit2 SWS status Bit3 SW4 status Bit4 SW5status Bit5 SW 6 status Bit6 SW7 status Bit7 SW8 status OCTAL FUNCTION DETAIL ADDRESS Bytes 122 Status of Rotary Switches on module Data is 00 to 1F hex representing t
112. r can store BCD value of bus scan upper limit in msec Default is 100 msec Shortest bus scan time Read Only BCD value of shortest bus scan detected since CPU went into RUN mode in msec 160 162 164 166 170 172 77 g lt o Longest bus scan time Read Only BCD value of longest bus scan detected since CPU went into RUN mode in msec Bus scan counter Read Only BCD value of number of bus scans de tected since CPU went into RUN mode Overlimit Bus scan counter Read Only BCD value of number of bus scans which have exceeded the scan time upper limit 176 Setup Initiation Byte includes Auto Return User s setup program stores the correct bit to Network pattern to this memory location to configure the following modes Bits 0 1 and 2 must be ON to initiate setup of remote slave addressing Bit7 ON Specifies that offline slaves can return to the network without cycling CPU 1 Copy Configuration to EEPROM Setup User s setup program stores a BCD value Complete to this location to log the parameters stored by the setup program to the Master s EEPROM C1 Signifies that setup is complete Hint This should be the last function of your setup program 4 2 2 2 2 2 2 2 1 Burmwes6olg dnjas 4 0 4 20 D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS Bytes Slave Page Selection User s setup program stores a BCD value to this location to select the page of slave parameters for set
113. r of output points Tor Seve z1 2 030 Number o input points forSave 6 Number of input points tor Savez 2 032 Number or output points for Stave Number of output points or Seve 22 2 osa Number ofinput points for Sve 7 Number of input points tor Saves 2 oss Number or output pos or Slave 7 Number of output points Tor Seve 2 oao Number otinput points for Save 8 Number of input points tor Saveza oaa Number or output points or Slave8 Number of output points Tor Save 24 2 oa Number ofinput points for Seve 9 Number of input points tor Saves 2 oas Number or output pos or Slave 9 Number of output points Tor Saves 2 050 Number ofinput points for Slave 19 Number of input points tor Sveze 2 ose Number or output points for Slave 10 Number of output points Tor Seve28 2 osa Number ofinput points for Sve T1 Number of input points tor Sever 2 oss Number or output points or Slave Ti Number of output points Tor Sever 2 80____ Nurberofinput points for Slave 12 Number of input points tor Seve z8 2 ose Number of output points for Slave 12 Number of output points Tor Save 28 2 osa Number ofinput points for Slave 13 Number of input points tor Saves 2 oss Number of output pos for Slave 13 Number of output points Tor Savez 2 07o Number o input points for Save 14 Number of input points tor Seveso 2 fore Number of output points for Slave 14 Number of output points Tor Saves0 2 ors Number oFinput points for
114. right e Pin7 Signal GND e Pin12 TXD e Pin1i3 TXD e Pin24 RXD e Pin25 RXD DL350 CPU Port 2 Remote I O Master Remote I O Slave ov TXD TXD J P eeooo0o0 oo00000 oe er M or e eoo0000g00g0000 Port 2 RXD RXD Remote I O Slave Slaves ov 7 O O Q O O O O O TXD oo TXD Los 13 end of chain e e Te RXD i _ TXD RXD A S 3 D x TXD RXD 2 aoe 72 2 D ai Signal GND 3 AD 3 150 ohm Connect shield ep f ay resistor to signal ground The twisted shielded pair connects to the DL350 s Port 2 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 cable s opposite ends and the cable s rated impedance will all three match For cable impedances greater than 150 ohms add a series resistor at the last slave as shown to the right If less than 150 ohms parallel a matching resistance across the slave s pins 1 and 2 instead Remember to size the termination resistor at Port 2 to match the cable s rated
115. rksheet purposes top half Main Base with Master Channel Config D2 RMSM Remote Waster Module ps cpu 16 16 16 16 Master Slot Address 4 _ 1 7 _ l l O oO Protocol Selected RM NET RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown iw _ Configuration Parameter D X0 X17 X20 X37 YO Y17 Y20 Y37 Baud Rate in KBaud determined by required 19 2 384 153 6 E V40400 40401 V40500 V40501 distance to last slave 307 2 614 4 5 Operator Interface 5 1 st Remote Auto Return to Network either protocol Q Starting Input V Memory Address V Starting Output V Memory Address V F PS 16 16 16 16 16 Total Inputs Total Outputs Sayo S S lt l I O 0 O Station Station a Ooo S ee Slave Ooo S ef f jie 2nd Remote E E Ooo S of f ee eTe e eTe l I O O O A lt J es af ee Ooo S daf S Slave wf o dea Modul odite 3rd Remote Ooo S za e 2f 14 30 l l l ojo B 0 Ta l T Slave Module NOTE The slot number of the master is important because the setup program uses it to address the master module Now that we have determined the hardware layout and the channel parameters we can fill in the details for the three remote bases iai Designing the System
116. rting address of pointer table Communication baud rate setting 0 19 2 kBaud 1 38 3 kBaud This table provides a listing of the reserved memory addresses in the DL250 or DL350 CPU to program the pointer addresses and ranges for slaves attached to the bottom port of the CPU DL250 DL350 Reserved Memory Table Port Setup Word Setup Complete Flag Input Number of Output Number of naese oupas masres ouput C a veroa vero vero veror C2 vero vern verme vore C s vera vorms verie vorr C a vera vora vera vora C s vora vora vera vorar C e vera vorai vere vora e e 9 19 DL250 DL350 CPU Setup and Programming This table provides a listing of the control relay flags available for the setup and monitoring of remote I O attached to the bottom port of the DL250 or DL350 CPU FLAG FUNCTION DETAIL ADDRESS C740 Setup Complete Flag Set ON to command CPU to read and check parameters loaded into setup memory C741 Communications Error Response Flag This flag determines the CPU s response if there is a communications error Set ON to hold last state of received inputs set OFF to clear the status of the received inputs Diagnostics and Troubleshooting In This Chapter Troubleshooting Remote O Special CPU Memory for Diagnostics D2 RMSM Memory for Diagnostics How to Access Diagnostics Information e 6 2 Diagnostics and Troubleshoot
117. ructions load and store double to clear two consecutive memory locations at a time The following logic shows how to finish the setup program for this example First scan relay contact SPO LDD r pe are Ko Load 32 bit accumulator with O OUTD There are 20 v37714_ Where the unused memory starts unused reserved memory locations OUTD Clear all unused V memory locations 2 V37716_ locations at a time OUTD V37720 OUTD V37722 OUTD V37724 OUTD V37726 OUTD V37730 OUTD I V37732 OUTD V37734 OUTD V37736 C740 __ set Tell CPU that setup is completed g DL250 DL350 CPU Setup and Programming Bed Completed Setup Program for DL250 DL350 as Remote Master RLL Program K1 GTS Main Program Body END SB R KI first scan relay SPO ri LD VT KbfcO Set port data 50T V7656 CD K8 OUT V7655 LD K500 OUT V7657 LDA It 040410 OUT V37704 Remote 1 Input K48 OUT V37705 LDA 040510 Remote 1 out V37706 Output LD K32 OUT V37707 ei LDA it 040413 OUT Remote 2 Y37710 Input E EF K16 OUT V37711 LDA 040512 OUT V377 Remote 2 Output JF K16 OUT
118. s and restrictions for the is remote DL350 refer to the DL305 User master Manual the setup program will be identical a for either a DL250 or DL350 CPU i Channel Configuration Worksheet f DL250 DL350 CPU Bottom Port 1st Remote Circle one selection or fill in blank for each parameter 16 16 8 16 16 _ Configuration Parameter PS Slave Baud Rate in KBaud determined by required C 38 4 l l l O O distance to last slave Remote I O Configuration table Starting address 37700 V37700 is default X200 X217 X220 X237 X240 X247 Y200 Y217 Y220 Y237 V40410 V40411 40412 40510 V40511 2nd Remote Slave Station vaosio as yaosio 32 PS Slave 8 8 16 l l O X260 X267 X270 X277 Y240 Y257 V40413 V40512 SPO Constant defines station as master LD Kbfco V memory table at V37700 and baud rate of 38 4 kBaud OUT 47656 V memory address of setup word 29 DL250 DL350 CPU Setup and Programming To calculate the input and output addresses and ranges complete the Remote Slave Worksheets and fill in the V memory addresses for each slave not just the first one You can transfer this data to the Channel Configuration Worksheet to condense it or fill in the Channel Worksheet directly if you choose not to use the Remote Slave Worksheets Calculate input and output addresses and ranges for each remote base 1st Remote SS Slave Worksheet Remote Base Address Choose 1 7 for RM NE
119. s as No 1 No 2 etc There is a DIP switch on each unit to set the baud rate for communication You have a choice of 19 2 kB 38 4 kB 153 6 kB 307 2kB or 614 4 kB The 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 e e Remote Master D2 RMSM Features etting Started RUN Turns ON when the module is operating correctly DIAG Turns ON when there Swe is a hardware failure 1 O Turns ON when the wee setup program is wrong LINK Turns ON when there is a communications error DIP SWITCH On rear of module for setting baud rate and other parameters Functional Specifications Remote Master UNIT ADDRS Rotary switches for setting the module to be the master always set to 0 T Terminating point that is connected to point 1 with a jumper at the master 24 i and final slave base units SEH S 1 1st wire of twisted pair Txd Rxd 2 2nd wire of twisted pair Txd Rxd 3 Shield connection of Masters channels per CPU 2 max for DL240 7 1 max for DL250 built in RM NET master feature in DL250 bottom port can be the eighth master Channel Specifications Maximum of Slaves Baud Rates Transmission Distance RM NET SM NET 7 31 Selectable Selectable 19 2K or 38 4K baud 19 2K 38 4K 153 6K 307
120. se This avoids the use of alarge number of field wires over greatly separated distances to all the various field devices 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 DL205 Support Remote I O Getting Started 1 3 With the DL205 system up to 896 DL240 or 2048 DL250 remote I O points can be supported depending on the configuration This is accomplished with the D2 RMSM Remote Master module and D2 RSSS Remote Slave modules The DL230 does not support remote I O The D2 RMSM remote master supports two different remote I O communications protocols e The Remote Master protocol RM NET is the same protocol used by the D4 RM and D4 RS DL405 Remote Master and Slave and the built in ports on the DL250 DL350 and DL450 CPUs This means that the remote I O bases connected to aD2 RMSM ina DL205 CPU base can be a combination of D2 RSSS and D4 RS DL405 Remote Slave modules Also the DL405 series CPUs can use DL205 remote bases as remote I O for cost and space savings RM NET does not support the use of the built in communications port on the slave unit e The Slice Master protocol SM NET is the same protocol used by the D4 SM and D4 SS DL405 Slice Master an
121. sted shielded pair connects to the DL250 s Port 2 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 T the cable s opposite ends and the Ae aa cable s rated impedance will all three aan match For cable impedances greater 16 Internal than 150 ohms adda series resistor at the 150 ohm last slave as shown to the right If less than 2a resistor 150 ohms parallel a matching resistance across the slave s pins 1 and 2 instead Sa Remember to size the termination resistor at Port 2 to match the cable s rated impedance The resistance values should be between 100 and 500 ohms Cabling Between the D3 350 CPU bottom port and Installation and Wiring a The remote I O link is a 3 wire half duplex type Since Port 2 of the DL850 CPU isa 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 The diagram depicts the port pinout for the D3 350 CPU bottom port The location of Port 2 on the DL350 is on the 25 pin connector as pictured to the
122. t 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 I O 1 O System 2 gt Install the Components 3D Write the Setup Program Figure out how much remote I O you will need This will in turn tell you which CPU and the number of remote masters and slaves you will need In Chapter 2 we will Design the Remote show you 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 as well as how to choose other remote O system parameters Main Base with Master Getting Started I Ts 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 CPU can identify the master and slave units This also will set the baud rate for data transfer protocol selection and other parameters Installation is covered in Chapter 3 Write the RLL setup program Complete examples are covered in Chapter 4 The next two pages provide a complete overview of the entire process for an example remote I O system Of course to learn all of the details you should read each chapter carefully Romete
123. tart Address X200V Memory Address V __40410 Total Input Points 48 PS Slave 8 8 16 P l O Output Bit Start Address Y200 V Memory Address V _40510 Total Output Points__32 C200 207 C210 217 C300 317 The D2 RMSM automatically assigns I O addresses in sequence based on V40610 V40614 Slave 1 s starting addresses The DL250 DL350 CPU port setup program 7 requires these addresses for each slave Channel Configuration Worksheet DL250 DL350 CPU Bottom Port Remote Slave Worksheet 2 Circle one selection or fill in blank for each parameter pte Base Address Choose 1 7 for RM net or 1 31 for SM NET Configuration Parameter SELECTION Module INPUT OUTPUT Baud Rate in KBaud determined by required C 38 4 Name Input Address No Inputs Output Address No Outputs distance to last slave Remote I O Configuration table Starting address 99 esnsal c20 80 ooo fS nos caos TT Sare mna E Station Input Address Neco Inputs Output Address No of Outputs Ne tle ee i Ne a e e a B E Si ee ee oe ed eg e ToO 0 T Se eee sae o e a a sd So ST S el So ST ST ei E E a ee Total Output Points_ 16 2 RMSM automatically assigns I O addresses in sequence based on 1 s starting addresses The DL250 DL350 CPU port setup program p these addresses for each slave The logic to write the port setup word is identical to Example 1 so we will proceed to the second block of logic DL250 DL35
124. tected by the D2 RMSM 0 OK 1 ERROR BitO Configuration Error see Address 142 for details Bit1 Communication Error see Address 144 for details Bit2 Diagnostics Error see Address 150 for details 142 Configuration Error Code Read Only Error code in BCD 1 20 Total inputs exceeds 512 21 Total outputs exceeds 512 24 I O address out of I O range 25 I O address allocated to bad range 29 A slave has more than 512 points 70 Discrepancy between current configuration and old one 71 A module is in the wrong slot 72 Slave configuration is different from old one 73 Different slave is there 143 Station Number of Configuration Error Station number in BCD 1 Read Only 144 Communication Error Code Read Only Error code in BCD 1 01 slave does not respond 02 wrong I O information 03 1 O update error CRC check error 145 Station Number of Communication Error Station number in BCD 1 Code Read Only 146 Communication Error Counter Read Number of communication errors detected 2 Only since CPU went into RUN mode in BCD a Diagnostics and Troubleshooting OCTAL FUNCTION DETAIL ADDRESS Bytes 150 Diagnostics Error Code Error code in BCD 2 0201 Terminal block removed 0202 Module not present 0203 Blown fuse 0206 Low battery voltage 0226 Power capacity exceeded 153 Station number of Diagnostics error station number in BCD 1 Read Only Diagnostics and Troubleshooting 6 11 How t
125. 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 devices 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 DIP switch 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 DL205 Handheld Programmer or use the Diagnostics option under the PLC menu in our DirectSOFT Programming Software You can also use the DL205 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 the number of I O points in the local base 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
126. tion of the configuration error station 0143 number R D Read the configuration error station number V2022 from the master into V memory To read communication errors C101 ON and diagnostic errors C102 ON implement similar logic to check the flag and read the error details You can then use the retrieved data in logic or display it in a Dataview in DirectSOFT to determine the nature and location of the error The Network Error Table describes the error codes and Reading Bus Scan Status rate Bus scan performance data includes current bus scan time the longest and shortest scans detected a scan counter and a scan overlimit counter The overlimit counter records the number of times the scan has exceeded the overlimit value The overlimit value in msec can be set by the user s logic the default is 100 msec In this example we demonstrate how to set the bus scan overlimit parameter and Diagnostics and Troubleshooting 6 13 Example 2 Writing In certain applications the scan time of the remote I O bus can be an important factor Bus Scan Overlimit in the response time of the system Factors which affect the scan time include number of slaves on the bus and the baud rate Required bus performance may dictate your system layout For example you may want to increase the number of remote channels in the system to decrease the number of slaves on each channel Or you may need to choose SM NET as the
127. umber of Masters Inthe SM NET mode one master in your CPU base will allow you to attach from one and Slaves to 31 remote I O units You may use a maximum of two with DL240 or seven with Allowed SM NET DL250 masters per CPU base all of which have to be the D2 RMSM module Here is an example where we have placed two masters in the CPU base and then attached a total of eight remote I O units which can be a combination of rack and Slice I O Slice I O units can have unit addresses of 1 to 15 only Two Masters in the Same Base two channels SM NET CH 1 CH2 Remote Masters Masters can go in any slot except next to the CPU Maximum of seven per CPU base with DL250 a E oO Bc re eey amp 2 a 4 oO o el nln Remote Slaves d Maximum of 3900ft thirty one remote units cS 1200m er channel Max p o a lo C 9 ors Jel iz ee Re Ste g Allowable distance is from furthest slave to the remote master Eca Distance Between Each slave belonging to the same master is hooked together in a daisy chain usinga Slaves and Master shielded twisted pair cable At the lowest baud rate the last slave unit in the daisy Baud Rates chain cannot be further than 3900 feet from the CPU base You set rotary switches SM NET that designate the slave
128. up programming 81 Slaves 1 15 82 Slaves 16 31 4 D2 RMSM Setup Programming 4 2 Quick Reference Table of Shared Memory Addresses Input Output Mumiar of Number of 004 006 2nd page of slave range data ep D 2 Z 5 a fe ol Q D 3 3 5 Co oe O A OOA NE a a EONA a ae eee ee A a a ee ee a es a ee a J Ne a e o o a E N a S NE A a T ii ee NA ee T E ee a a a Se E ee ee ee a E NA eS oer a Re ee Oe pst va na o4 oe DL250 DL350 CPU Setup amp Programming In This Chapter DL250 D350 CPU Bottom Port as Remote Master Writing Your Remote I O Setup for a DL250 DL350 CPU Examples for Typical Configurations Configuring the bottom port of the DL250 DL350 CPU DL250 DL350 Reserved Memory for 2nd port as Remote Master one DL250 DL350 CPU Setup and Programming DL250 DL350 CPU Bottom Port as Remote Master For the D2 250 or D3 350 CPU the most cost effective way to add remote I O is to use the bottom port of the CPU as a remote master The restriction is that it operates inthe RM NET addressing mode only which means a maximum of seven slaves at a baud rate of 38 4 kBaud This configuration requires some setup programming for the CPU You can write your program using either a handheld programmer or PC loaded with software such as DirectSOFT The examples that follow will show you how to do this using DirectSOFT To get started enter DirectSOFT and carry out
129. ur 2 V37710 V37711 V37712 V37713 Remote 2 v37710 reserved V memory 3 Vv37714 V37715 V37716 V37717 nput JD l 4 V37720 V37721 V37722 V37723 K16_ total inputs Our 5 V37724 V37725 V37726 V37727 v37711 feserved V memon 6 V37730 V37731 V37732 V37733 52603 Output address 7 V37734 V37735 V37736 V37737 Remote 2 Outp t v37712 reserved V mefnory JLD K16 total outpu to top of next colusan eee 3 reserved V memory Slaves use V memory type as inputs and outputs 9 16 DL250 DL350 CPU Setup and Programming Configuring the bottom port of the DL250 or DL350 CPU 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 then Setup Secondary Comm Port e Port From the port number list box at the top choose Port 2 e Protocol Click the check box to the left of Remote I O called M NET on the HPP and then you ll see the dialog box shown below Setup Communication Ports Port Port 2 Close Protocol K sequence j uI DirectNET MODBUS Help Non sequence Remote I O MOOOO Memory Address V37700 Station Number A Baud Rate 38400 iy e Memory Address Choose a V memory address to use as the starting location of a Remote I O c
130. utput Address No of Outputs V37735 V3773 v 7737 LDA 040410 Npuf address Remote 1 N 9 35794 res rved V memory Input _ ILD K48 t tal inputs H Our reserved V memor V37705 y O10510 Output address Remote 1 OUT Output v37706 reserved V memory LD K32 total outputs OUT v37707 reserved V memory i LDA iI 040413 Remote 2 7710 reserved V memory Input Input address K16 total inputs OUT V37711 oe 2 Output address reserved V memory Remote 2 UT Output v37712 reserved V memory LD K16 total outputs OUT y37713 reserved V memory e Ee DL250 DL350 CPU Setup and Programming Once you have written all of the logic to map the starting addresses and point totals for each remote base you have to zero out all of the reserved memory locations you are not going to use and then tell the CPU that you are finished with the setup If you don t insert zeros in the unused areas the CPU will assume that every pointer address V37714 through V37736 is pointing to a read or write start address This could cause problems you may have garbage in these locations At the very least it will take up unnecessary scan time The most efficient method for zeroing out the unused memory is to use LDD and OUTD inst
131. ware configuration you need create a diagram of the Needed and How system I O to help determine the amount and locations of remote bases Below is a Many Masters amp drawing of a typical system with Slaves e one master module in the main base e main base has two input modules and two output modules each with 16 points e first remote base has two input and three output modules each with 16 points e second remote base has two 8 point input modules one 8 point output module and one 16 point output module It also contains space for a E future output module S e third remote base has three 16 point input modules and two 12 point is output modules e amp Main Base with Master D Master 8 PS cPu 16 16 16 16 aea Module l l O O Can go in any slot except next to CPU X0 X17 X20 X37 YO Y17 Y20 Y37 V40400 40401 V40500 V40501 1st Remote PS 16 16 16 16 16 l l O O 0 Slave Module 2nd Remote PS 8 8 8 16 8 l l O O O empty slot for future Slave mpane 3rd Remote PS 16 16 16 12 12 l l l olo Slave Module This layout might be typical of a system which requires additional I O at the CPU location beyond the local rack capacity as well as a remote location or two Define the System Details By Using Worksheets Choosing the Protocol Mode RM NET vs SM NET Designing the System ia In Appendix A of this manual you will fin
132. wiring information shows you how to set the rotary dials and DIP switch on each module how to daisy chain the remote units and how to size and use termination resistors Programming shows you how to use DirectSoft to write the remote I O setup program when using the D2 RMSM This chapter takes the information developed from your worksheets and helps you write a working setup program DL250 DL350 Setup Programming 4 D2 RMSM Setup 5 shows you how to use DirectSoft to write the setup program when using the DL250 or DL350 CPU bottom port as a remote master The examples take the information from your worksheets and help you write a working setup program Diagnostics and Troubleshooting shows you how to interpret the status lights on the modules use certain internal relays to monitor communications status and monitor diagnostics information Appendices Additional reference information on remote I O is in the following three appendices Remote I O Worksheets included are blank worksheets that you can copy and use to design your system Reserved Memory Tables shows the reserved memory locations for the transfer of remote I O data It is cross referenced by data type Determining I O Update Time 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 all b
133. y of I O modules you will be using in the Power Resource DL205 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 base selection At the end of this section you will also find an example of power budgeting and a worksheet showing sample calculations Appendix A contains a blank worksheet If the I O you chose exceeds the maximum power available from the power supply you can resolve the problem by adding another remote base WARNING It is extremely important to calculate the power budget correctly If you o exceed the power budget the system may operate in an unpredictable manner which may result in a risk of personal injury or equipment damage 2 Base Power The following chart shows the amount of current supplied by the DL205 base units D Specifications Use this to calculate the power budget for your system The Auxiliary 24V Power m Source mentioned in the table can be used to power field devices or DL205 modules that require an external 24VDC Check the DL205 User Manual for the location of these terminals D2 03B 1550 200 D2 06B 1550 200 D2 03BDC 1 1550 None D2 06BDC 1 1550 None D2 03BDC 2 1550 200 D2 06BDC 2 1550 200 D2 04B 1550 200 D2 09B 2600 300 D2 04BDC 1 1550 None D2 09BDC 1 2600 None D2
Download Pdf Manuals
Related Search
Related Contents
Mpman MP162/4GB ZyXEL ES-2024 Series User's Manual Golf Car Storage Cover Información adicional 1 Notice DN Ro Vo4 取扱説明書 - M Progress Lighting P5484-108 Instructions / Assembly Silla p/visitante Holden Modelo # GC-2 カフェ山本山手でティブレイクしませんか?ランチも出来ます。 Copyright © All rights reserved.
Failed to retrieve file