Home

DL250 / DL350 / DL450 CPU With T1K–RSSS

image

Contents

1. RLL Program SPO K1 Pi ats Go to remote x LDD Load 32 bit accumulator hs 1 0 subroutine a KO with 0 Main Program Body from bottom of previous column Clear Unused EN eati ae END Memory __ OUTD V37716 SBR Ki Remote I O Subroutine OUTD Constant defines port as master V37720 first scan relay V memory table at V37700 and air SPO D baud rate of 38 4 kBaud V37722 1 Kbfc0 _ OUTD Set port data Sut V37724 Z v7ese V777 for DL450 HOUD s port setup word KB Data selects remote I O __fouTD Lan V776 for DL450 SPO V7655 or D OUTD LD iI V37732 L_K500_ K5000 for DL450 register setting Clear Unused OuTD OUT Provided v37734 Memor v7657_ V767 for DL450 y For SPO TDA V37736 4 ma aaa SET Tell CPU that setup is Remote 1 Vav704 reserved V memory 4 completed Input o K288 total inputs RT OUT V37705 reserved V memory rer 09 Output address Remote 1 oa 7 Analog Programming example Output dang eee ee continued on next page LD zO _K272_ total outputs OF L_Jout og v37707 reserved V memory Tone SPO NE LDA Input address DL250 DL350 DL450 Reserved Memory Table Or Sa Remote 2 H 2 reserved V memory Port Setup Word V7656 Bee LO od Input Setup Co
2. pan EI E ain Terminator I O BATT B 2 cru MM DL250 TER Address TK B88s Selection cee a Switches Ouk aips Set Port 2 DIABLE gt Port 3 DL450 e Address to 0 Klx 020 using SE 22 DirectSoft or s rom L ladder logic code 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 7 by turning the X10 switch to 0 and the X1 switch to 7 Set them to any number 1 7 for RM NET Two slaves cannot have the same number if they are linked to the same master Always use consecutive numbers for slaves starting with Address 1 don t skip numbers z5 a0 O fd or one TE o Qr op LO op Ga act gt DX Ne m 4 7 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Setting the T1K RSSS DIP Switches The remote slave has an 8 position DIP switch labeled SW1 that is located on the side of the module under a hinged cover Set these switches to configure the protocol mode the baud rate the output response on communication failure The slave serial port is not active in RM NET mode The word ON appears beside the switch to indicate the ON position Remote
3. e Memory Address Choose a V memory address to use as the starting location of a Remote I O configuration table V37700 is the default This table is separate and independent from the table for any Remote Master s in the system e Station Number Choose 0 as the station number which makes the DL250 DL350 or DL 450 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 DL450 port 3 gt m Then click the button indicated to send the Port 2 or Port 3 configuration to the CPU and click Close es T D a D O D Oo S 0 do 0S710 0SE10 0S21d0 46 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Setting the T1K RSSS Rotary Switches The slave has two small rotary switches to set the unit address They are on the face of the module with the label UNIT ADRS beside it Adjust the switches by rotating them with a small flathead screwdriver Remote Master Remote Slave DL250 350 or 450 E
4. 19 2k baud and address 0 A OUT V7656 V777 for DL450 Station number setting 0 Master station number Communication V memory address hex equivalent of octal adddress default 37700 is starting address of pointer table Communication baud rate setting 0 19 2 kBaud 1 38 4 kBaud Port 2 Protocol Setup DL250 DL350 V7655 Port 3 Protocol Setup DL450 V776 15 8 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LD K8 Remote I O OUT V7655 V776 for DL450 aS N TS VOU 1 Selects Remote JR nS not used for Remote I O DS D EEN og Register Set Code DL250 DL350 V7657 DL450 V767 59 DL250 DL350 15 8 7 LD K500 Port settings provided by user program E a 0 0 010 0 0 010 our vss DL450 4 LD K5000 Port settings provided by user program OUT V767 DL250 DL350 Port 2 register set code 0101 5 register setting provided by user program DL450 Port 2 register set code 0101 5 register setting provided by user program 4 20 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Connecting the Wiring Cabling Between The standard remote I 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 Slaves recommended cabling for connecting the master
5. Slave Serial Communications Port not active in RM NET mode Operating Temperature 32 to 131 F 0 to 55 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 5 to 95 non condensing Environmental air No corrosive gases pollution level 2 UL 840 Vibration MIL STD 810C 514 2 Shock MIL STD 810C 516 2 Noise Immunity NEMA ICS3 304 Impulse noise 1us 1000V FCC class A RFI 144MHz 430MHz 10W 10cm DL250 DL350 DL450 CPU with T1K RSSS Remote I O System 45 Configuring the Bottom Port of the DL250 DL350 DL450 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 The port can also be configured using ladder logic code e Port From the port number list box at the top choose Port 2 for the DL250 and DL350 Choose Port 3 for the DL450 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 M Close Protocol 4 K sequence TE a O DirectNET T T O MODBUS elp O Non sequence Remote I O Choose Memory Address V37700 Port 3 for DL 450 Station Number 0 A Baud Rate 38400 M
6. at Port 2 Port 3 DL450 to match the cable s rated impedance The resistance values should be between 100 and 500 ohms TF 4 22 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Special CPU Memory for Diagnostics This table provides a listing of the control relay flags available in the DL250 DL350 DL450 for remote I O troubleshooting Remote I O System Control Relays FLAG FUNCTION ADDRESS C750 to C757 Setup Error The corresponding relay will be ON if the setup table contains an error C750 master C751 slave 1 C757 slave 7 C760 to C767 Communications Ready The corresponding relay will be ON if the setup table is valid C760 master C751 slave 1 0767 slave 7 oe x 2 fe E D am v v U i X lt m oO Q 9 a Q Q Te m mir m Q Te N _ a
7. B3101 11 aii INV SET o Unipolar Read Negative The INVERT and ADDB instructions 1 Bipolar Analog Input convert the incoming 2 s compliment Set Analog B3101 12 Data __ ADDB signal data to binary plus sign bit l 0 5V Range K1 Output Module RST 420V Range Control Bits K2000 1s used anaes m Mr Mask channel sign bit sign bit It comes ON if The OUT instructions stores the binary P the signal is negative JOUT data in a new register Add a BCD in SP1 LD V4000 struction prior to this OUT instruction if i 2100 Analog output data register gg S necessa to convert to BCD Send Data to BIN The BIN instruction converts the accumulator Channel 1 data is negative when CO is data to binary omit this step if the conversion OUT ON Analog Output is done elsewhere OUT 3 The OUT instruction sends the data to Module V3100 channel 1 of the analog output module B3030 0 B3130 12 Example of discrete remote OUT The OUT instruction sends the data to i i V3116 channel 8 of the analog output module MS our VO point addressing The Control Bits of an Analog Output module are located in the most significant byte of the most significant word of the first output channel channel 1 Channel 1 Memory Map of 8 amp 16 Channel Analog Output Module T1F 08DA T1F 016DA Decimal Bit 07 06 05 04 03 02 01 00 UO Size ar Octal Bit 07
8. DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Completed Setup Program for DL250 DL350 DL450 as Remote Master using X and Y Memory Addressing RLL Program Pi ee Go to remote SRC LDD Load 32 bit accumulator EE 1 0 subroutine G KO with 0 Main Program Body from bottom of previous column Clear Unused ae Clear all pee V Memory memory locations END __ OUTD V37716 sBR Ki Remote I O Subroutine OUTD V37720 first scan relay Constant defines port as master OUTD SPO V memory table at V37700 and V37722 mae baud rate of 38 4 kBaud an a Yese V777 for DL450 or OUTD Fa V37726 E port setup word K8 Data selects Remote I O L eater N OUT SPO v7655_ V776 for DL450 ri OUTD 5 1 V37732 K500 K5000 for DL450 register setting Clear Unused OUTD UT provided Memor _V37734 Lv7657_ V767 for DL450 emory Poor SPO SA V37736 040419 Input address C740 Tell CPU that setup is Remote 1 Vav704 reserved V memory SET completed Input L K48 total inputs RT VR reserved V memory Lp evn Output address Remote 1 Sor Output v37706 reser
9. RSSS Remote I O System 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 oO O fd or veone TE o Qr op LO op Ga act gt DX Ne m will take up unnecessary scan time The most efficient method for zeroing out the unused memory is to use LDD and OUTD instructions 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 I There are 20 unused reserved memory locations SPO LDD KO OUTD v37714 _ 0u V37716 OUTD V37720 OUTD V37722 OUTD V37724 OUTD V37726 OUTD V37730 OUTD V37732 _ OuTD V37734 OUTD V37736 C740 Load 32 bit accumulator with O Where the unused memory starts Clear all unused V memory locations 2 locations at a time __ ser Tell CPU that setup is completed
10. Slave T1K RSSS DIP Switch located under hinged cover slaeeelal 8L9G 7 E21 NO DIP Switches DIP Switch Settings DIP Position i ee eee Slave Baud Rate Output Default Serial Port not active in T1K RSSS OF SM NET Switch Position OFF Clear RM NET mode ON RM NET Baud Rate 2 3 4 ON Hold O l FOWSY SSSY MIL do 0S710 0SE10 0S21d0 19 2K O00 38 4K X O O Note Higher baud rate are not supported by RM NET 48 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System z5 a0 O fod or one TE o oo op LO op Ga ac gt DX Ne QO Mode DIP switch Position 1 on both the master and slave unit selects the protocol mode for the remote I O link Since the CPU port only supports the RM NET protocol Position 1 of the master and all slaves linked to it must be set to the ON position in order to communicate Baud Rate RM NET protocol mode supports either 19 2K or 38 4K baud In this mode only switch Position 2 is used to set the baud rate Be sure to set switches 3 and 4 OFF All stations on a remote I O link must have the same baud rate before the communications will operate properly Output Default DIP switch Pos
11. o 9 is on the 25 pin connector which is also 2o shared by Port 1 08 e Pin7 Signal GND inal o 0 e Pme TAD 25 Pin Connector o e Pin 13 TXD DL350 Port2 RXD e Pin 25 RXD DL350 CPU Port 2 ov 70 DL450 CPU Port 3 Remote I O Slave Remote I O Slave 6 O Remote I O Master end of chain O T Jumper T O O Termination D O Resistor O TXD RXD 16k S J 16D s sy O RXD gt LU DS e2 TXD RXD a fy 2 TXD e RXD U y Internal 25 150 ohm eed Signal GND 3 Cy 3 as resistor Connect shield NW NW to signal ground ae N ol The twisted shielded pair connects to the DL350 DL450 s Port as shown Be sure to TS connect the cable shield wire to the signal ground connection A termination resistor TE must be added externally to the CPU as close as possible to the connector pins Its Do purpose is to minimize electrical reflections that occur over long cables Be sure to J add the jumper at the last slave to connect the required internal termination resistor g x oun Ideally the two termination resistors at hid wee T Do the cable s opposite ends and the Series dP O f f external Ov cable s rated impedance will all three resistor match For cable impedances greater Internal than 150 ohms add a series resistor at the ae a 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
12. 0 is default T aa ee eee Station Input Address No of Inputs Output Address No of Outputs D K as J vaos10_ V40512 DL250 DL350 DL450 Reserved Memory Table V777 for Port Setup Word 7656 1 DL450 Setup Complete Flag C740 Slave Input Number of Output Number of Address Input Pts Address Output Pts 37706 V37707 1730 V37731 1 2 V37710 712 V37713 3 V37714 V3771 V37717 4 V37720 V37721 ane a V37724 V37725 V3AV26 V37727 6 v37782 Y87733 V37735 V37736 v37737 LDA Remote 1 Input Remote 1 Output 040410 OUT V37704 _ LD K48 OUT V37705 LDA 040510 OUT _V37706 LD K32 Jour V37707 LDA Remote 2 Input Remote 2 Output 040413 OUT V37710 LD K16 OUT V37711 LDA 040512 37712 OUT LD K16 OUT V37713 Input address res rved V memory tgtal 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 z T D a n O D oO S 0 do 0S710 0SE10 0S21d 412 DL250 DL350 DL450 CPU with T1K
13. 06 05 04 03 02 01 00 P KO Analog Value Channel 1 Write Byte 1 2 VO Analog Value Channel 1 Write Byte 2 nr not used Write Byte 3 Do jo Module Control Byte Write Byte 4 DS ELS Module Control Byte of 8 amp 16 Channel Analog Output Module om T1F 08DA T1F 16DA D jo Decimal Bit 31 30 29 28 27 26 25 24 50O Read Write Ov Octal Bit 37 36 35 34 33 32 31 30 Outputs Enable Bit 24 0 All outputs OFF Write 1 All outputs Enabled Unipolar Bipolar Bit 25 0 Unipolar selected Write 1 Bipolar selected 5V 10V Range Bit 26 0 5V range Write 1 10V range 0 20mA 4 20mA Range Bit 27 0 0 20mA range Write 1 4 20mA range Bit 28 31 Reserved for system use E 418 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System DL250 DL350 DL450 Reserved Memory for Bottom Port as Remote Master This table provides a listing of the reserved memory addresses in the DL250 DL350 DL450 CPU to program the pointer addresses and ranges for slaves attached to the bottom port of the CPU DL250 DL350 DL450 Reserved Memory Table Port Setup Word V7656 V777 DL450 Setup Complete Flag C740 Input Number of Output Number of Address Input Points Address Output Points V37700 V37701 V37702 V37703 V37704 V37705 V37706 V37707 a C2 voro verm verme vore Ce vora verms verie vorr Coa vora vora vore vora Ce vora vors vere vonar e voro ve ver
14. DL250 DL350 DL450 CPU With T1K RSSS Remote I O System In This Chapter DL250 D350 DL450CPU Bottom Port as Remote Master Remote Slave T1K RSSS Features Configuring the Bottom Port of the DL250 DL350 450 CPU Setting the T1K RSSS Rotary Switches Setting the T1K RSSS DIP Switches Examples for Typical Configurations DL250 DL350 DL450 Reserved Memory for Bottom Port DL250 DL350 DL450 V Memory Port Setup Registers Connecting the Wiring Special CPU Memory for Diagnostics 42 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System oO bS oO or one TE o oa ap LO ap mites ax Su DX N Q DL250 DL350 DL450 CPU Bottom Port as Remote Master For the D2 250 D3 350 CPU or D4 450 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 in the RM NET protocol only which means a maximum of seven slaves at a maximum baud rate of 38 4 kBaud Also the slave serial communications port is not active in RM NET protocol This configuration requires some setup programming for the CPU You can write your program using either a handheld programmer or DirectSOFT Programming Software The examples that follow will show you how to do this using DirectSOFT To get started launch DirectSOFT and carry out the normal DirectSOFT setup procedures for communicating with your DL250 DL350 or DL450 CP
15. L350DL450 Reserved Memory Table V777 for Port Setup Word V7656 DL450 Setup Complete Flag C740 Slave Input Number of Output Number of Address Input Pts Address Output Pts 1 V37704 V37705 V37706 V37707 2 7 V37712 V37713 3 V37714 V37717 4 V37720 V37723 5 V37724 V37727 6 V37730 V37731 K37733 7 V37734 V37735 SPO ios 03000 i Remote 1 S7704 reserved V nemory Input MD l K288 total inputs __ ouT v37705 reserv d V memory 3100 Output jaddregs Remote 1 Output v37706 Teserved V memory LD K272 i oe resetved V memory SPO ie LDA ry 03030 Remote 2 Lemo Input reserved V memory D K116 total inputs z T D a n O D oO S 0 do 0S710 0SE10 0S21d VAN reserved V memory 03130 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 DL450 CPU with T1K RSSS Remote I O System Completed Setup Program for DL250 DL350 DL450 as Remote Master using V Memory Addressing
16. U If you do not know how to do this refer to your DirectSOFT User Manual Your PLC User Manuals 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 Built In Remote I O Master Port DL250 DL350 DL450 gt P zf ory L_ T Directoarea ca ES ou aig sia DL250 iy ne BE e ic A kal ic F PORT1 E 2 PAR 33 28 re de ES 9 Sar 8 e e co 33 el p 8 pe 23 al E3 RM NET e Master Port3 Remote I O Master Functional Specifications DL250 DL350 DL450 CPU built in Remote I O channels 1 1 1 Maximum I O points supported by each channel 2048 2048 2048 Maximum number of remote I O slaves per channel 7 7 7 Transmission Distance max 3900 feet 1 2Km Communication Method Asynchronous half duplex X Inputs available for Remote I O 512 512 1024 Y Outputs available for Remote I O 512 512 1024 Control Relays available for Remote I O 1024 1024 2048 V Memory words available for R
17. and slaves is the single twisted pair cable Belden 9841 or equivalent The diagram also depicts the port pinout for the D2 250 CPU bottom port Port 2 Pin Descriptions DL250 CPU 6 1 5V 5VDC 2 _ TXD__ Transmit Data RS232C 1o e 3 RXD Receive Data RS232C e 4 RTS __ Ready to Send RS 232C e 5 CTS _ Clear to Send RS 232C e e 6 _RXD2 Receive Data RS 422 e 7 0V Logic Ground e e 8 OV Logic Ground e a 9 TXD2 Transmit Data RS 422 10 10 TXD2 Transmit Data RS 422 5 2 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 ME DL250 CPU Port 2 e N a Remote I O Master Remote I O Slave get i O end of chain 70 7 T Jumper TAN Oo O Termination D p Resistor RXD O oe __ _TXD RXD De ez mn x LW TXD i O TXD RXD 2 Jj 2 0 pS rxD 6 O AP p Internal 150 ohm Signal GND 3 a J 3 a resistor Connect shield NW LU to signal ground The twisted 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
18. e vora 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 DL350 and DL450 CPU Control Relays Used For Remote I O FLAG FUNCTION DETAIL ADDRESS C740 Setup Complete Flag Set ON to command CPU to read and check parameters loaded into setup memory 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 O x 2 fe E D am U U v y X lt m oO Q 9 a Q Q Te m mir m Q Te N _ a DL250 DL350 DL450 CPU with T1K RSSS Remote I O System 419 DL250 DL350 DL450 V Memory Port Setup Registers When configuring the bottom port of the DL250 DL350 or DL450 CPU via DirectSoft or the Handheld Programmer you are actually loading a reserved V memory adddresses with configuration data The following diagrams define the meaning of the bits in the registers The previous ladder logic examples include logic in the setup program to set these parameters so they are not lost or accidentally changed Remote I O Communication Port Settings DL250 DL350 V7656 DL450 V777 15 8 7 0 LD KbfcO V37700 as starting address pointer OR 38 4k baud and address 0 LD K3fc0 V37700 as starting address pointer
19. emote I O 7168 7168 14848 Requires CPU firmware version D2 250 version 1 51 or later D3 350 version 1 30 or later and D4 450 version SH 1 460 or SH 2 460 or later Earlier firmware version supports 512 I O points per channel DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Remote Slave T1K RSSS Features RUN Turns ON when communication is active Top View A ka Bottom View Terminator YO DIAG Turns ON when there So is a slave hardware failure V0 Output Enabl e Fast Blink I O error 250ms on ott no a R Te ire ink I O error 250ms on o fas ous eee HeT Switch Ol T Slow Blink I O configuration ware i Gores 2 1 error while outputs are enabled eie Unit Address Q 2 500ms on off time Switches l 3 Continuous ON I O Configuration ae g od and 1 O error simultaneously E KE ae LINK Turns ON when there is a T E fae Remote I O TIKAS communications error COM Connector Serial Port 4 PULLTO UNLOCK Supported by j F SM NET only t J ese fpOs Remote I O n Connector Functional Max of Slaves per channel RM NET Specifications 7 Maximum of I O Modules per Slave 16 be
20. emote base 1st Remote Remote Slave Worksheet Remote Base Address 1 Choose 1 7 for RM NET or 1 31 for SM NET Slot Module INPUT OUTPUT Number Name No of Inputs 16ND3 X200 16 16ND3 X220 16 O8ND3 X240 16 8 used x enoa omr o BEA om ps Mmk 16 16 8 16 16 RSSS l l Oo O X200 X217 X220 X237 X240 X247 Y200 Y21 7Y220 Y237 V40410 V40411 V40412 V40510 V40511 2nd Remote 8 8 16 _ P T1K SEN I like NNI aa X260 X267 X270 X277 Y240 Y257 V40413 V40512 Total Output Point 32 D automatically assigns I O addresses in sequence based on g Starting addresses The DL250 DL350 DL450 CPU port setup a requires these addresses for each slave Channel Configuration Works DL250 DL350 DL456 CPU Bottom P Circle one selection or fill in blank for each pafameter Configuration Parameter Z Se eee Baud Rate in KBaud determined by r E distance to last slave ada iy sce Aaa Remote Slave Worksheet poe nee Staying address Cy 37700 _ 3 700 Is def Remote Base Address 2 Choose 1 7 for RM net or 1 31 for SM NET Slot Module INPUT OUTPUT T Output Adaress Station AE i vaoo as vaosio 32 vaos 16 vase 16 A a EA ees Sth e ee Co a ee C aaa eel E C pee so ae o oa ee E Eo GE SE Ss Oooo T S Input Bit Start Address X260 V Mem
21. ition 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 The setting does not have to be the same for all the slaves on an output 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 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 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 of a communications failure Consider the consequences to process operation carefully before selecting this mode DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Example Program Using Discrete I O Modules 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 Addresse
22. 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 O x 2 fe E D ao U U v y X lt Fk oO Q 9 m Q To m mir O Q Te N _ a the cable s opposite ends and the See or Tao cable s rated impedance will all three ae match For cable impedances greater H Internal than 150 ohms add a series resistor at the 150 ohm last slave as shown to the right If less than 2 resistor 150 ohms parallel a matching resistance across the slave s pins 1 and 2 instead ED Cabling Between the D3 350 D4 450 CPU Bottom Port DL250 DL350 DL450 CPU with T1K RSSS Remote I O System 4 21 The remote I O link is a 3 wire half duplex type Since Port 2 of the DL350 and Port 3 of the DL450 CPU is a 5 wire full duplex capable port we must jumper its transmit and receive lines together as shown below converts it to 3 wire half duplex The and Slaves recommended cabling for connecting the master and slaves is the single twisted pair cable Belden 9841 or equivalent The diagram depicts the port pinout for the D3 350 and D4 450 CPU bottom port The location of Port 2 on the DL350 is on os the 25 pin connector as pictured to the 308 right The location of Port 3 on the DL450
23. mplete Fla IN p kie total inputs p R 9 C740 or OUT Slave Input Number of Output Number of oNZ V37711 reserved V memory Address Input Pts Address Output Pts LOo 1 V37704 V37705 V37706 V37707 N LDA z Output address a Remote 2 j 2 V37710 V37711 V37712 V37713 _v37712 reserved V memory 3 V37714 V37715 V37716 V37717 utpu D wae 4 V37720 V37721 V37722 V37723 OUT pees 5 V37724 V37725 V37726 V37727 v37713 reserved V memory 6 V37730 V37731 V37732 V37733 7 V37734 V37735 V37736 V37737 _ to top of next column 4 17 DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Completed Setup Program for V Memory Addressing con t Main Program Body V3002 K2000 LD Loads analog input channel 1 data into I lt I 3000 the accumulator Read Positive Use the BCD instruction to convert the Configure T1K O08DA 2 Analog Output Module _ BCD binary analog input data to BCD if Analog Input necessary to do math or other BCD Bipolar operations 0 5VDC Data out i V3500 The OUT instructions stores the BCD pee Cree pemmissne Analog Output Module Control Bits data in a new register ae ea B3101 10 O All module outputs OFF t OUT 1 All module outputs Enabled vas gt K2000 oe Legas analog input channel 1 data into e accumulator SPO
24. ned by required C 38 4 fone l l l O O distance to last slave PEE Remote I O Configuration table Starting address CV 37700 V37700 is default X200 X217 X220 X237 X240 X247 Y200 Y217Y220 Y237 v40410 V40411 V40412 v40510 V40511 eed Py ce 2nd Remote input Adaress No of ipus Butpu adress No of oupas Pet pve a yas sz T1K 8 8 16 PS Rsss l l O a if D a D O D oO 0 do 0S710 0SE10 0S21d X260 X267 X270 X277 Y240 Y257 V40413 V40512 The port setup ladder code is optional The port can be setup using DirectSoft SPO Constant defines station as master D kbfco V memory table at V37700 and E baud rate of 38 4 kBaud UT V memory address of setup word V7 y p 699 OUT V777 for DL450 See Port Setup Registers later in this chapter for more information 2 fe D a io U U F x oO Q 9 lt a m Q To m m Q Te N _ a DL250 DL350 DL450 CPU with T1K RSSS Remote I O System 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 r
25. ory 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 DL450 CPU port setup program requires these addresses for each slave NOTE Configuring remote I O for the DL250 DL350 DL450 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 DL450 CPU with T1K RSSS Remote I O System 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 DL450 Reserved Memory Table to complete this logic Write Input and Output Pointers and Ranges for each remote base Channel Configuration Worksheet DL250 DL350 DL450 CPU Bottom Port Circle one selection or fill in blank for each parameter Configuration Parameter SELECTION Baud Rate in KBaud determined by required C 38 4 distance to last slave Remote I O Configuration table Starting address Q 37702 V3770
26. rd of channel 1 of the module V memory addressing requires the use of Bit of Word instructions to address the I O points DL250 CPU in Main Base nome Slave Worksheet 250 16 16 16 16 16 Remote Slave Address Choose 1 7 for RM NET or 1 31 for SM NET CPU l l l O O Module Module INPUT OUTPUT Number Name input Adress No inputs Output Adcress_ No outputs bottom X0 X17 X20 X37 X40 X57 YO Y17 Y20 Y37 16ND3 ee ee port of CPU v40400 V40401 V40402 40500 V40501 2 renns vaoo is remote 1 t R t T1F 08AD 2 16ND3 V3001 Oooow Ooo O miento ee 2 fosane vaooe ase 3 256 Ps T1k 16 16 256 256 16 RSSS I l l o O V3000 3001 V3002 V3100 v3120 V3021 3117 2nd Remote T1F 08DA 2 Input Bit Start Address _V3000 0 V Memory Address V__V3000_ PS T1K 8 8 16 Total Input Points 288 RSSS O Output Bit Start Address _ 3100 0 V Memory Address V_ 3100 Total Output Points 272 V3030 V3130 The D2 RMSM automatically assigns I O addresses in sequence based on Slave 1 s starting addresses The DL250 DL350 DL450 CPU port setup 5 z program requires these addresses for each slave Channel Configuration Worksheet DL250 DL350 L450 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 a INPUT Baud Rate in KBaud dete
27. rmined by required Name Input Address No Inputs Output Address No Outputs distance to last slave H p Remote I O Configuration table Starting address 99 T OENB al V3030 Pos ff oenos a a INPUT TPUT Slave Station Input Address Naot Inputs Output Address No of Outputs 1 v3000_ 288 vsioo 2872 B W240 0 BD ec to 0 B E10 Ol 210 T1K RSSS Remote I O Total Output Points _16 __ 2 RMSM automatically assigns I O addresses in sequence based on 1 s starting addresses The DL250 DL350 DL450 CPU port setup uires these addresses for each slave DL250 DL350 DL450 CPU with T1K RSSS Remote I O System 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 DL450 Reserved Memory Table to complete the logic Write Input and Output Pointers and Ranges for each remote base Channel Configuration Worksheet DL250 DL350 DL450 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 Slave Station Output Address No of Outputs r voo 28s vso fo v3030_ 16 p ve 6 DL250 D
28. s as To illustrate the setup program for this configuration we will use the remote I O the Remote I O system below shown with the completed Channel Configuration Worksheet Memory Types 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 DL450 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 earlier 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 O l I CPU 250 16 16 16 16 16 Y60 Y77 Y40 Y57 X20 X37 X0 X17 CPU I I I O O V40503 V40502 V40401 V40400 bottom port of X0 X17 X20 X37 X40 X57 Y0 Y17 Y20 Y37 CPU is remote 20m Tepi V40400 V40401 V40402 40500 V40501 tothoro ghiy d rstand addressing mastr porto conventions and restrictions for the iS remote DL350 refer to the DL305 User master l Manual i the setup program will be identical for either a DL250 or DL350 CPU Channel Configuration Worksheet DL250 DL350 DL450 CPU Bottom Port 1st Remote Circle one selection or fill in blank for each parameter PS TiK 16 16 8 16 16 Configuration Parameter SELECTION Baud Rate in KBaud determi
29. sure to check power budget Maximum Remote I O Points per CPU Note 8 channel analog modules consume 256 discrete I O pts and 16 channel analog modules consume 512 1 O pts V memory addressing is recom mended when using analog I O modules DL250 DL850 and DL450 support a maximum of 2048 points per channel The actual I O available is limited by total available references For exam ple the DL250 has a total of 512 X inputs and 512 Y outputs Mapping remote I O into control relays or V memory of could allow more I O points for the DL250 Module Type Non intelligent slave Digital O Consumed Consumes remote I O points at a rate equal to the number of I O points configured in each unit Communication Baud Rates RM NET Selectable 19 2K baud 38 4k baud Communication Failure Response Selectable to clear or hold last state of outputs E T D T n O D oO o 0 do 0S710 0SE10 0S21d DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Physical Specifications z5 a0 O fod or Yoge TE o oo op LO op Ga ac gt DX Ne QO The following specifications define the operating characteristics of the T1K RSSS module Installation Requirements mount to right of first power supply Base Power Requirement 250 mA maximum Communication Cabling for remote I O RS 485 twisted pair Belden 9841 or equivalent
30. ved V memory LD K32 total outputs fouT w v37707 reserved V memory 4 SFO IDA DL250 DL350 DL450 Reserved Memory Table gt Y 040413 Input address V777 for RO Port Setup Word V7656 1 D Remote 2 7710 reserved V memory DL450 ae Input Setup Complete Flag C740 Da F K16__ total inputs io Slave Input Number of Output Number of ps e OUT Address Input Pts Address Output Pts w a oe 1 V37704 V37705 v37706 V37707 ERN LDA on R te 2 040512 Output address 2 v37710 V37711 V37712 V37713 oO emote OUT E 3 V37714 V37715 V37716 V37717 lt Q Output v37712 reserved V memory D 4 V37720 V37721 V37722 V37723 L_K16 total outputs 5 V37724 V37725 V37726 V37727 LOU 43 reserved V memory 6 V37730 V37731 V37732 V37733 7 V37734 V37735 V37736 V37737 to top of next column DL250 DL350 DL450 CPU with T1K RSSS Remote I O System Example Program Using Analog I O Modules Example 2 The following example uses Terminator discrete and analog I O modules It is Using V Memory recommended to use V memory addressing when using analog modules Addresses as the since each analog I O channel uses a double two word each Thus an 8 Remote I O channel analog I O module uses 256 discrete points and a 16 channel analog I O Memory Type module uses 512 discrete points Analog output modules are configured using the Module Control Byte located in the most significant byte of the most significant wo

Download Pdf Manuals

image

Related Search

Related Contents

Hans Grohe 10106XX1 User's Manual  Fabriano 53821297 inkjet paper  HEC-200x-E-R Harsh Environment Controller  Mode D`emploi  

Copyright © All rights reserved.
Failed to retrieve file