background image

Errata Sheet

Page 1 of 3

Product Family

:

 

DL205 / DL305

Manual Number

 D2-DCM

Revision and Date

 

2nd Edition;  February 2003 

Date

September 2018

This Errata Sheet contains corrections or changes 

made after the publication of this manual.

Errata Sheet

Change to Table of Contents

There is a typo on the first page of the Table of Contents. “Install” is spelled “Insall” for the section named “Install the D2-DCM”.

 

Change to Page 2. Introduction

Add the following note to this page:

NOTE: The D3-DCM module is only supported by the D3-350 processor only.

Change to Page 7. Specifications

In the Operating Specifications table, revise the “CPU Required” entry. It should say: 

D2-240 (firmware V1.8 or later), D2-250-1 and D2-260

Change to Page 11. Building the Cable

The NOTE at the bottom of the page is incorrect. Only the D2-230 and D2-240 CPUs support RS232 only. D2-250(-1) and 

D2-260 CPUs support RS232/422/485 without extra hardware.

Change to Page 12. Building the Cable (continued)

Change the refererence in the first paragraph to “Belden 9855” cable to “AutomationDirect L19772-1 (Belden 8102)  

or equivalent”.

Change to Page 13. Building the Cable (continued)

In the first paragraph, change the last sentence to “For example, AutomationDirect L19772-1 (Belden 8102) or equivalent has a 

nominal characteristic impedance of 100 ohms”. 
In the top wiring drawing (“Line-to-Line Termination for the D2-DCM”), change both “120 Ohm Resistor” callouts to “100 Ohm 

Resistor”.
In the bottom wiring drawing, change the “65 Ohm Resistors” callouts to “51 Ohm Resistors”.
In the top drawing, move the termination resistor on the left connector (Master) from the 24-25 pins to the 16-17 pins.

Содержание D2-DCM

Страница 1: ...Page 11 Building the Cable The NOTE at the bottom of the page is incorrect Only the D2 230 and D2 240 CPUs support RS232 only D2 250 1 and D2 260 CPUs support RS232 422 485 without extra hardware Cha...

Страница 2: ...the following note near the first bullet point DirectNET Slave NOTE Although it is not listed in the switch settings K sequence is also available whenever the D2 DCM is set for DirectNET Slave operat...

Страница 3: ...IN IN 7 GND 10 11 12 13 14 15 16 17 RTS RTS CTS CTS OUT OUT IN IN Termination Resistor 2 2 4 S R 2 2 4 S R DL205 22 23 24 25 OUT OUT IN IN DL205 D3 422 DCU 7 GND 10 11 12 13 14 15 16 17 22 23 24 25 R...

Страница 4: ...D2 DCM Data Communications Module Manual Number D2 DCM M...

Страница 5: ...nts requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in w...

Страница 6: ...olue par exemple l exploitation d installations nucl aires les syst mes de navigation a rienne ou de communication le contr le de la circulation a rienne les quipements de survie ou les syst mes d arm...

Страница 7: ...o include the revision number Title DL205 Data Communications Module Manual Number D2 DCM M Issue Date Description of Changes Original 5 96 Original Issue Rev A 5 98 Downsize to spiral Rev A Minor cha...

Страница 8: ...ectrical Specification RS232C or RS422 11 Consideration 3 Cable Schematics 11 Consideration 4 Cable Specifications 12 Consideration 5 Installation Guidelines 12 A Quick Test Cable 15 Setting the Switc...

Страница 9: ...Interlocks B 10 Appendix C Using the D2 DCM with MODBUS Introduction C 2 How Does the D2 DCM work with MODBUS C 2 MODBUS Function Codes Supported C 3 MODBUS Data Types Supported C 3 Determining the MO...

Страница 10: ...ng the MDM TEL D 8 RS232 Connections D 8 The MDM TEL Setup Wizard D 8 D2 DCM as Master D 9 If You are Using a D2 DCM as Master D 9 Using DirectSOFT32 D 10 Creating a Modem Link D 10 Modem Setup D 10 C...

Страница 11: ...ule 2nd Edition 2 03 D2 DCM Data Communication Module In This Manual Introduction Building the Communication Cable Setting the D2 DCM Switches Installing the D2 DCM and Starting the Network Verificati...

Страница 12: ...mber PC DSOFT32 M If you plan to use your D2 DCM to communicate with another PLC you will need the appropriate user manual for the other PLC If you plan to use your D2 DCM module as an interface to HM...

Страница 13: ...nd margin indicates a special note The exclamation mark icon in the left hand margin indicates awarning or caution These are very important because the information may help you prevent serious persona...

Страница 14: ...t Indicator ON Send Receive Enquiry FLASHING Send Receive Header FLASHING NK ON if a NAK is either sent or received Status Indicators During communications only The DL205 Data Communications Module D2...

Страница 15: ...he data exchange The D2 DCM takes communication requests issued by the PLC program instructions and automatically converts these requests into network commands that read data from or write data to ano...

Страница 16: ...of D2 DCMs is lim ited by the available power budget The D2 DCM can be used as a slave interface to connect your DL205 system to a MODBUS network using the MODBUS RTU protocol The host system must be...

Страница 17: ...power budget CPU Required D2 240 250 1 260 minimum firmware V1 8 or later Location of module CPU base only any slot except Slot 0 or CPU slot Interface Serial RS232C RS422 half duplex DTE Asynchronou...

Страница 18: ...DCM in the Introduction STEP 2 Build the communication cable that fits your needs STEP 3 Set the D2 DCM switches Baud rate parity etc STEP 4 Install the D2 DCM in any slot except for Slot 0 which is n...

Страница 19: ...l specification is best for your application RS232C or RS422 3 What is the cable schematic 4 What are the relevant cable specifications 5 What installation guidelines are necessary The next few pages...

Страница 20: ...a personal computer an operator interface or an intelligent device to a single D2 DCM You must also use this configuration when you want to connect a DirectNET master station to a single DirectNET sl...

Страница 21: ...cation NOTE If you are using the D2 DCM to connect an OptiMation operator interface you must order our standard pre made cable part number OP 4CBL 2 If you are using a DV 1000 you must build a custom...

Страница 22: ...noise problems D Route the cable through an approved cable housing to minimize the risk of accidental cable damage Check local and national codes to choose the correct method for your application D Co...

Страница 23: ...method also balances the receive data lines but common mode noise rejection is improved significantly This method requires two resistors at each end of the line Also since there are two resistors the...

Страница 24: ...ces The Black Box catalog is one of many good places to start they sell direct Call 1 800 555 1212 and ask the 800 directory assistance operator for their phone number You can also look for a amplifie...

Страница 25: ...e cable to the two D sub connectors WARNING This cable is suitable for quick testing situations and must not be used in actual applications This cable is not shielded and is highly susceptible to elec...

Страница 26: ...e panel to determine the available communication parameters You ll need to know the following things D Baud rate D Parity settings D Protocol required Your operator interface must use one of the follo...

Страница 27: ...munications settings The following diagram shows the switch locations and their purpose Delay Time Baud 1 2 3 300 ON OFF OFF 600 OFF ON OFF 1200 ON ON OFF 2400 OFF OFF ON 4800 ON OFF ON 9600 OFF ON ON...

Страница 28: ...is normally used only if you re developing your own DirectNET programs By disabling the timeout you can send one DirectNET component without any communication timeout problems If you have this timeou...

Страница 29: ...though the D2 DCM address is set in hexadecimal it s a good idea to remember the decimal equivalent This is because the decimal address is used most often For example a RLL communications program the...

Страница 30: ...the ON position In the OFF position this switch logically disconnects the D2 DCM from the network just as if you pulled the cable from the connector Once this switch is moved to the OFF position the D...

Страница 31: ...emoving any system component To insert the module into the base align the circuit board s with the grooves on the top and bottom of the base Push the module straight into the base until it is firmly s...

Страница 32: ...your host or operator interface program before the communications can begin For example if you re using DirectSOFT32 you can just specify the station address and start working Connect the cables and f...

Страница 33: ...indicators to verify the D2 DCM is operating correctly The following diagram shows the proper indicator conditions TO ON if a timeout has occurred in the D2 DCM MA ON if master OFF if slave DA Send Re...

Страница 34: ...t the D2 DCM to match the communication parameters required by the master station D2 DCM operator interface or host computer 3 Incorrect protocol Make sure your operator interface or personal computer...

Страница 35: ...but NK TO or HD indicators do not come on at all 1 COM Timeout is disabled 2 RTS and CTS signals are not looped back on the D2 DCM end of the cable Power OK and MA are on EQ stays on and TO flashes 1...

Страница 36: ...ansferred Byte count may be set to 1 or an odd number for a data type that requires 2 bytes 2 Make sure baud rate parity and mode HEX ASCII match between the master and slave 1 Make sure the system ha...

Страница 37: ...1A Cable Diagrams...

Страница 38: ...RTS GND 5V 2 TXD 3 4 5 7 RXD RTS CTS GND 2 TXD 3 4 5 7 RXD RTS CTS GND RS232C 25 pin Connector 25 pin Connector 1 RXD 2 3 TXD RTS 4 GND 2 TXD 3 4 5 7 RXD RTS CTS GND 25 pin Connector DL405 CPU DL405 D...

Страница 39: ...spreadsheet connected through our DSData Server Sounds complicated but it s really quite simple Check out our catalog for more information on our powerful DSData Server Master Slave 2 TXD 3 7 4 RXD G...

Страница 40: ...ector Master Possible Slaves DL405 CPU DL405 DL305 DCM Bottom Port with Connect to any of these devices DL305 D4 DCM w DCU or or DL205 DCM D2 DCM or 17 IN 7 GND 10 11 12 17 RTS RTS CTS IN 13 CTS 16 IN...

Страница 41: ...IN 16 OUT 17 OUT DL340 CPU Port 1 RXD 2 3 4 TXD RTS GND 7 GND 10 11 12 14 RTS RTS CTS OUT 13 CTS 15 OUT 16 IN 25 pin Connector 17 IN 2 TXD 3 7 20 RXD GND DTR 7 GND 10 11 12 14 RTS RTS CTS IN 13 CTS 1...

Страница 42: ...9 pin DTE Connector FA UNICON Converter 25 pin Connector 7 GND 10 11 12 17 RTS RTS CTS IN 13 CTS 16 IN 15 OUT 14 OUT 2 TXD 3 7 20 RXD GND DTR 7 GND 10 11 12 14 RTS RTS CTS IN 13 CTS 15 IN 16 OUT 17 OU...

Страница 43: ...25 RTS RTS CTS CTS OUT OUT IN IN OUT OUT IN IN 7 GND 19 18 11 23 14 16 10 9 RTS RTS CTS CTS OUT OUT IN IN 7 GND 19 18 11 23 14 16 10 9 RTS RTS CTS CTS OUT OUT IN IN 7 GND 19 18 11 23 14 16 10 9 RTS R...

Страница 44: ...7 GND 10 11 12 13 14 15 16 17 RTS RTS CTS CTS IN IN OUT OUT FA UNICON Converter 1 RXD 2 3 TXD RTS 4 GND DL340 CPU 2 TXD 3 7 20 RXD GND DTR FA UNICON Converter Termination Resistor DL240 CPU Bottom Po...

Страница 45: ...RTS RTS CTS CTS IN IN OUT OUT D2 DCM 22 23 24 25 OUT OUT IN IN 7 GND 10 11 12 13 17 16 15 14 RTS RTS CTS CTS IN OUT OUT D2 DCM RS422 7 GND 10 11 12 13 17 16 15 14 RTS RTS CTS CTS OUT OUT IN IN D2 DCM...

Страница 46: ...This is still a simple master slave connection but the DV 1000 is the master and initiates the data exchange with the D2 DCM 1 2 3 4 5 6 RXD TXD RTS GND 5V RS232C 2 TXD 3 4 5 7 RXD RTS CTS GND 6 5V 25...

Страница 47: ...Data Communications Module 2nd Edition 2 03 B RLL Communications Programs...

Страница 48: ...ons 2 Slot location of the D2 DCM master and the slave station address LD instruction 3 Amount of data in bytes decimal you want to transfer LD instruction 4 Area of memory to be used by the master LD...

Страница 49: ...16pt Output 16pt Output Y0 Y17 Y20 Y37 V40601 V40600 Y50 Set SP131 SP130 LD K401 LD K3 LDA O40600 WX Y0 Communication Error Communication Not Busy Example RLL Program Slave Address D2 DCM Slot Transf...

Страница 50: ...cessary to specify both the master slot location and slave address because you can have more than one D2 DCM master in the base and you can have up to 90 slave stations for each master HEX 3C 3 x 16 4...

Страница 51: ...ample the DL305 does not use a separate data type for input and output points Example 3 bytes of data to be transferred Number of Bytes in decimal LD K201 LD K3 The number of bytes specified also depe...

Страница 52: ...ormation If you are writing information to the slave station this is the source area or the area where the master will obtain the information that will be transferred to the slave Example V memory loc...

Страница 53: ...ction the data will be read from the slave starting at the address specified If you use the WX instruction the data will be written to the slave starting at the address specified Data Type and Address...

Страница 54: ...401 IO 157 GY1571 CR277 GY2771 SR277 GY477 To get Stage Status Bits use S0 GY2001 S1 GY2011 S177 GY2771 1 You must have CPU firmware V1 9 or greater to use the GY data type i th RX WX i t ti g yp in t...

Страница 55: ...e D2 DCM is busy SP121 indicates there is a communication error for slot 0 You should always use the D2 DCM Busy SP in your RLL programs to ensure the D2 DCM is ready The communication error SP is opt...

Страница 56: ...X instruction is executed C0 is set When the D2 DCM has finished the communication task the second routine is executed and C0 is reset If you re using RLLPLUS you can just put each routine in a separa...

Страница 57: ...e is showing three slaves In this case the address conversions are very simple Check the Conversion Hints shown above for a more complex example 0 Slot of D2 DCM Slave Address LD K260 Slave 1 Slave 2...

Страница 58: ...Data Communications Module 2nd Edition 2 03 C Using the D2 DCM with MODBUS...

Страница 59: ...d outs of MODBUS in this document Instead the purpose of this Appendix is to D provide a quick overview of MODBUS Data Types and Function Codes D how to determine the proper MODBUS address necessary t...

Страница 60: ...gisters etc for the various types of memory in a DL205 system For example if you need to know the status of Y12 then you ask for Y12 MODBUS does not use these same data types so you have to determine...

Страница 61: ...basically convert the PLC octal address to decimal and add the appropriate MODBUS address if required The following tables show the exact equation used for each group of data DL205 Memory Type QTY1 De...

Страница 62: ...Y0 Y777 2048 2560 Coil Control Relays CR 1024 C0 C1777 3072 4095 Coil Timer Contacts T 256 T0 T377 6144 6399 Coil Counter Contacts CT 128 CT0 CT177 6400 6527 Coil Stage Status Bits S 1024 S0 S1777 512...

Страница 63: ...pe from the table PLC Addr Dec Start Addr Data Type Y20 16 decimal 16 2049 Coil Coil 2065 Find the MODBUS address to obtain the current value from Timer T10 1 Find Timer Current Values in the table 2...

Страница 64: ...locations that will be unavailable The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose...

Страница 65: ...ess 30001 To use function 04 put the number 4 into the most significant position 4xxx Four digits must be entered for the instruction to work properly with this mode The Maximum constant possible is 4...

Страница 66: ...ode 1 PLC Addr Dec Start Address Mode Y20 16 decimal 16 2048 1 2065 Find the MODBUS address to obtain the current value from Timer T10 1 Find Timer Current Values in the table 2 Convert T10 into decim...

Страница 67: ...Data Communications Module 2nd Edition 2 03 D Using the D2 DCM with Modems...

Страница 68: ...a a modem This appendix provides some guidelines to help you setup the communications link There are typically two types of communication paths for modem applications D Telephone modems D Radio modems...

Страница 69: ...aling In either case the cabling and setup requirements share many similarities which are covered later in this Appendix PC as Master D2 DCM as Slave D2 DCM as Master D2 DCM as Slave With today s pric...

Страница 70: ...d 1 stop bit making a total of 11 bits per character Since this is an odd number the modem would not work properly You can experiment with the baud rate settings but make sure all components are set t...

Страница 71: ...s 00 No delay 01 2ms delay 02 5ms delay 03 10ms delay 04 20ms delay 05 50ms delay 06 100ms delay 07 500ms delay Baud Rate Codes 00 300 baud 01 1200 baud 02 9600 baud 03 19200 baud V7632 MSB LSB X X X...

Страница 72: ...he following sources D Radio Shack D Black Box Catalog Some users prefer to build their own cable Here are the pinouts that are usually required Again check your modem documentation for the exact requ...

Страница 73: ...6 8 DSR DCD 20 DTR 25 pin to 25 pin Cable Tip You can use our D3 DSCBL 2 with a null modem adapter to quickly build a cable which can connect the modem to the D2 DCM also used with the MDM TEL modem Y...

Страница 74: ...M TEL 2 TXD RXD 1 DCD 3 7 4 RXD 5 6 8 MODEM CABLE WIRING MODEM RS232 Connections IBM COM Port Female DB9 Cable for MODEM to IBM COM Port MODEM RS232 Port Male DB9 2 1 3 TXD 4 5 6 7 8 9 9 DCD DTR GND D...

Страница 75: ...tions begins D Radio Modems If you have a radio modem the RX or WX instruction in the RLL program controls the data transmission between the stations That is when the RX or WX is executed it automatic...

Страница 76: ...me of the features will have to be disabled in order to communicate to the PLCs To avoid making any changes to the existing modem configuration you will need to install the same modem a second time Wi...

Страница 77: ...Communications Module 2nd Edition 2 03 3 Select the Phone and Modem Options icon A dialog box with all available modems installed will appear 4 Choose the Modems tab then click on Properties at the bo...

Страница 78: ...D 12 Using the D2 DCM with Modems Data Communications Module 2nd Edition 2 03 6 Select the Advanced tab and click on Change Default Preferences 7 Make Port speed 9600 and choose None for Flow control...

Страница 79: ...Module 2nd Edition 2 03 8 Click on the Advanced tab and choose 8 Data bits None Parity and 1 Stop bits 9 Click OK until all dialog boxes are closed This will setup your Windows driver so DirectSOFT32...

Страница 80: ...ink using DirectSOFT32 1 The LinkWizard can automatically determine the majority of the communication settings however you will need to manually setup the modem specific information modem type phone n...

Страница 81: ...e appropriate PLC Type Also give the link a name and description 4 Click the Port tab of the dialog to display the port configuration dialog This dialog allows you to setup up the port to match your m...

Страница 82: ...s D If the PLC has been given a node Address other than 1 enter the new address now D You can adjust the time outs and retries on this dialog however the default values should work for you 6 Click the...

Страница 83: ...lly creating a link the Launch Window will have an entry for the link that you have created The name that you assigned to the link should appear in the menu tree under the Comm Links icon If the link...

Отзывы: