Automation Direct D2–DCM User Manual

Data communications module
Table of Contents

Advertisement

Quick Links

Product Family:
Manual Number
Revision and Date
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.
Errata Sheet
Errata Sheet
This Errata Sheet contains corrections or changes
made after the publication of this manual.
DL205 / DL305
D2-DCM
2nd Edition; February 2003
Date:
Page 1 of 3
September 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the D2–DCM and is the answer not in the manual?

Questions and answers

Summary of Contents for Automation Direct D2–DCM

  • Page 1 Errata Sheet Errata Sheet This Errata Sheet contains corrections or changes made after the publication of this manual. Date: September 2018 Product Family: DL205 / DL305 Manual Number D2-DCM Revision and Date 2nd Edition; February 2003 Change to Table of Contents There is a typo on the first page of the Table of Contents.
  • Page 2 Errata Sheet Errata Sheet This Errata Sheet contains corrections or changes made after the publication of this manual. The Change to Page 17. D2–DCM Switch Settings Add 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 operation.
  • Page 3 Errata Sheet Errata Sheet This Errata Sheet contains corrections or changes made after the publication of this manual. Change to Appendix A. Cable Diagrams (continued) Page A-7. Revisions were made to both drawings: Master DL205 DL205 D2–DCM Master D4–DCM D2–DCM D3-422-DCU RS422 7 GND...
  • Page 4 D2–DCM Data Communications Module Manual Number D2–DCM–M...
  • Page 5 WARNING Thank you for purchasing automation equipment from Automationdirect.com. 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.
  • Page 6 AVERTISSEMENT Nous vous remercions d’avoir acheté l’équipement d’automatisation de Automationdirect.comE. Nous tenons à ce que votre nouvel équipement d’automatisation DirectLOGIC fonctionne en toute sécurité. Toute personne qui installe ou utilise cet équipement doit lire la présente publication (et toutes les autres publications pertinentes) avant de l’installer ou de l’utiliser.
  • Page 7 Manual Revisions If you contact us in reference to this manual, please remember to 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.
  • Page 8: Table Of Contents

    Table of Contents Introduction Overview ................The Purpose of this Manual .
  • Page 9 Table of Contents Appendix A: Cable Diagrams Point-to-Point RS232C D2–DCM as Master ......... . . A–2 Point-to-Point RS232C PC as Master .
  • Page 10 Table of Contents Using the MDM–TEL ..............D–8 RS232 Connections .
  • Page 11 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 — Verification and Troubleshooting Data Communications Module, 2nd Edition, 2/03...
  • Page 12: Introduction

    Introduction The D3-DCM module is only supported by the D3-350 Overview processor only. The Purpose of This manual is designed to allow you to setup this Manual and install your DL205 Data Communications Module (D2–DCM). This is the only manual you will need if you are using the D2–DCM as an extra general purpose communication port for your DL205 PLC system.
  • Page 13: Conventions Used

    Introduction Conventions Used The “light bulb” icon in the left-hand margin indicates a tip or shortcut. The “note pad” icon in the left–hand margin indicates a special note. The “exclamation mark” icon in the left-hand margin indicates a warning or caution. These are very important because the information may help you prevent serious personal injury or equipment damage.
  • Page 14: D2-Dcm Hardware

    Introduction D2–DCM Hardware The following diagram shows the major D2–DCM components. The address selection switches and the communication dipswitches are of special importance. Status Indicators (shown below) Online/Offline Switch Base Connector RS232C/RS422 Address Selection Communication Port Switches DIP Switches for communications and protocol parameters Self Test Indicator: ON...
  • Page 15: Applications

    Introduction Applications As a DirectNET The D2–DCM can be used as a network interface for applications that require data to be shared between PLCs, or between PLCs and an intelligent device (such as a host Interface computer). The D2–DCM can be configured as either a master or slave station and allows you to upload or download virtually any type of system data including Timer/Counter data, I/O information, and V-memory information.
  • Page 16: As An Extra Communication Port

    Introduction As an Extra As an extra communication port, the D2–DCM supports the DirectNET protocol just Communication like the bottom port on the D2–240/250–1/260 CPU, but at higher baud rates. In general, if you can connect a device to the bottom port on the D2–240/250–1/260 Port CPU, then you can also connect the same device to the D2–DCM.
  • Page 17: Specifications

    Introduction Specifications Environmental Specifications Operating Temperature 32° F to 131° F (0° to 55° C) Storage Temperature –4° F to 158° F (–20° to 80° C) Operating Humidity 5 to 95% (non-condensing) Air Composition No corrosive gases permitted Vibration JIS C0040 Shock JIS C0041 Voltage Isolation...
  • Page 18: Using Your D2-Dcm- Five Steps

    Introduction Using your D2–DCM– Five Steps STEP 1. Familiarize yourself with the communications options D2–DCM in the Introduction. Cable STEP 2. Build the communication cable that fits your needs. Switches STEP 3. Set the D2–DCM switches. (Baud rate, parity, etc). Install STEP 4.
  • Page 19: Building The Cable

    Building the Cable Building the Communication Cable There are several considerations that help determine the type of cable needed for your D2–DCM application. 1. Will the D2–DCM be physically connected in a point-to-point configuration or multi-drop configuration? 2. What electrical specification is best for your application? RS232C or RS422? 3.
  • Page 20: Consideration 1: Physical Configuration

    Building the Cable Consideration 1: The D2–DCM can be used in either a point-to-point or multi-drop configuration. A Physical point-to-point connection only has two stations, a master and a slave. Use the Configuration point-to-point configuration to connect a personal computer, an operator interface, or an intelligent device to a single D2–DCM.
  • Page 21: Consideration 2: Electrical Specification Rs232C Or Rs422

    Building the Cable Consideration 2: The D2–DCM can support RS232C or RS422 communication. Your application and Electrical configuration choice will help determine which electrical specification is best for you. If Specification you are using multi-drop, you must use RS422. If you are using point-to-point, you may RS232C or RS422 have a choice between RS232C and RS422.
  • Page 22: Consideration 4: Cable Specifications

    Building the Cable Consideration 4: Although many types of cables may work for your application, we recommend you Cable Specifications use a cable that is constructed to offer a high degree of noise immunity. A cable constructed equivalent to Belden 9855 is sufficient. The following specifications are Change this cable to be used as a guideline.
  • Page 23 Building the Cable Change this sentence to: Multi-drop Termination Resistors — It is important you add termination resistors "For example, at each end of the RS422 line. This helps reduce data errors during data AutomationDirect transmission. You must select resistors that match the cable impedance. For example, a typical 22 AWG solid conductor cable with 4.5 twists per foot has a typical L19772-1 (Belden 8102) impedance of about 120 ohm.
  • Page 24 Building the Cable Network Amplifiers — If you have more than 16 slave stations, you must use an RS422 amplifier to maintain the signal levels. The best amplifiers are regenerative, that is, they try to improve signal quality by reducing any noise signals that are present.
  • Page 25: A Quick Test Cable

    Building the Cable A Quick Test Cable AutomationDirect offers a Universal Cable Kit (part number FA–CABKIT). This cable kit allows you to connect various types of DirectLOGIC products with an RS232C cable. The kit consists of cable (phone cable with male plugs already attached) and several specially wired connectors.
  • Page 26: Setting The Switches

    Setting the Switches Setting the D2–DCM switches The D2–DCM has two banks of dipswitches that allow you to select the communication parameters necessary for your application. In quite a few cases, you may not have to change the switches at all. The D2–DCM comes set from the factory for: DirectNET Slave operation 9600 Baud Station Address 1...
  • Page 27: D2-Dcm Switch Settings

    Setting the Switches D2–DCM Once again, the switches should be set at the factory for the following type of operation. Switch Settings DirectNET Slave NOTE: Although it is not listed in the switch 9600 Baud settings, K-sequence is also available whenever Station Address 1 the D2-DCM is set for DirectNET Slave operation.
  • Page 28 Setting the Switches Protocol Selection: Positions 1 and 2 on SW3 select the D2–DCM protocol and the master or slave settings. The D2–DCM primarily uses two protocols, DirectNET and MODBUS RTU protocol. Here’s some information to help you choose. Communications Port for DirectSOFT32 Programming: If you plan to program the CPU through the D2–DCM, then you can use either DirectNET protocol or our proprietary protocol, called K-sequence.
  • Page 29: Address Selection Switch

    Setting the Switches Address Selection The D2–DCM station address is set by the two Switch rotary switches located on one of the D2–DCM’s circuit boards. Addresses are in hexadecimal format with valid addresses from 0 (only used for the master station) to hexadecimal 5A. The addresses do not have to be consecutive, but each station must have a unique address.
  • Page 30: Online / Offline Switch

    Setting the Switches Online / Offline On the front of the unit, just to the left of the LEDs, Switch you’ll notice a small slide switch. This switch is labeled ON (for online) and OFF (for offline). If you want to communicate through the D2–DCM, make sure this switch is in the ON position.
  • Page 31: Install The D2-Dcm And Starting The Network

    Install the D2–DCM/Starting the Network Install the D2–DCM and Starting the Network Install the D2–DCM The D2–DCM can go in any slot of a DL205 base except Slot 0, which is right next to the CPU. The D2–DCM will not work in Slot 0. If you’re using a D2–DCM as the network interface in a PLC master station, remember to make a note of the slot location.
  • Page 32: If You're Using An Operator Interface Or Host Computer

    Install the D2–DCM/Starting the Network If you’re using an Connect the cables and follow the procedures outlined in the documentation that Operator Interface or came with your host computer software or operator interface. You’ll have to execute Host Computer... 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! If you’re using...
  • Page 33: Verification & Troubleshooting

    Verification & Troubleshooting Verification and Troubleshooting If you have used the guidelines shown previously in Step 3, Starting the Network, you are now ready to verify that the unit is operating properly. Check the D2–DCM indicators to verify the D2–DCM is operating correctly. The following diagram shows the proper indicator conditions.
  • Page 34: Troubleshooting Quick Steps

    Verification & Troubleshooting Troubleshooting If the D2–DCM does not seem to be working correctly, check the following items. Quick Steps These items represent the problems found most often. 1. Cable and connections. Incorrectly wired cables and loose connectors cause the majority of problems. Verify you’ve selected the proper cable configuration and check the cable making sure it is wired correctly.
  • Page 35: Troubleshooting Chart

    Verification & Troubleshooting Troubleshooting Chart The following chart identifies the indicator status, possible cause, and corrective flash action for a wide variety of commonly found problems. Master Station Indicators Slave Station Indicators Possible Cause Power or OK is off. 1.Master PLC power is disconnected 2.D2–DCM is defective Power and OK are on.
  • Page 36 Verification & Troubleshooting Corrective Action Switch Settings & Port Pinouts Switch Settings 1.Check the master PLC source power. 2.Replace the D2–DCM. Switch Positions Protocol DirectNET Slave OFF OFF DirectNET Master OFF ON Network 1.Disconnect the master station PLC power, DirectNET Peer ON OFF Protocol MODBUS...
  • Page 37: Appendix A: Cable Diagrams

    Cable Diagrams...
  • Page 38: Point-To-Point Rs232C D2-Dcm As Master

    A–2 Cable Diagrams Point-to-Point These diagrams show the D2–DCM being used as the network master. The cable diagram is RS232C the same when the D2–DCM is being used as a slave (for those connections that could have D2–DCM as Master the master/slave roles reversed).
  • Page 39 A–3 Cable Diagrams Point-to-Point These diagrams show the D2–DCM being used as a slave to a personal computer. The RS232C personal computer would have to be capable of issuing commands using either DirectNET PC as Master or MODBUS RTU protocol. A good example of this would be a personal computer running an Excel spreadsheet connected through our DSData Server.
  • Page 40: Point-To-Point Rs422 D2-Dcm As Master

    A–4 Cable Diagrams Point-to-Point These diagrams show the D2–DCM being used as the network master. The cable diagram is RS422 the same when the D2–DCM is being used as a slave (for those connections that could have D2–DCM as Master the master/slave roles reversed).
  • Page 41 A–5 Cable Diagrams Master Possible Slaves DL340 CPU FA–UNICON RS232/422 Converter DL240 CPU Bottom Port Connect to any of these devices DL450 CPU Phone Jack Slave Connection D2–DCM FA–UNICON Converter DL340 CPU Port RS422 7 GND 7 GND 1 RXD +RTS +RTS –RTS...
  • Page 42: Point-To-Point Rs422 Pc As Master

    A–6 Cable Diagrams Point-to-Point These diagrams show the D2–DCM being used as a slave to a personal computer. Since RS422 most personal computers come with RS232C communication cards, we have shown an PC as Master FA–UNICON RS232/422 Converter being used to convert the signal. The personal computer would have to be capable of issuing commands using either DirectNET or MODBUS RTU protocol.
  • Page 43: Multidrop Rs422 D2-Dcm As Master

    A–7 See Errata Sheet at the beginning of this file. Both wiring diagrams below were revised. Cable Diagrams Multidrop These diagrams show the D2–DCM being used as the network master for a network RS422 consisting of various PLC stations using D2–DCMs, CPU ports, etc.. D2–DCM as Master D3-422-DCU Master...
  • Page 44 A–8 Cable Diagrams DL205 D2–DCM Master Master RS422 — — — +RTS –RTS +CTS –CTS +OUT –OUT Slaves –IN +OUT –OUT –IN Termination Resistor DL340 FA–UNICON Converter DL340 RS422 RS232 2 TXD +RTS –RTS DL240 CPU +CTS Bottom Port –CTS –IN –OUT +OUT...
  • Page 45: Multidrop Rs422 Pc As Master

    A–9 Cable Diagrams Multidrop These diagrams show how to connect a network of D2–DCMs to a personal computer. RS422 PC as Master Master Slaves D2–DCM D2–DCM FA–UNICON RS232/422 Converter Personal Computer FA–UNICON Converter D2–DCM D2–DCM RS422 RS422 RS232C 7 GND 7 GND 2 RXD 2 TXD...
  • Page 46: Dv-1000 Cable

    A–10 Cable Diagrams DV–1000 Cable Use the following cable diagram to connect a DV–1000 to D2–DCM. This is still a simple master/slave connection, but the DV–1000 is the master and initiates the data exchange with the D2–DCM. DV–1000 D2–DCM D2–DCM DV–1000 RS232C Phone Jack style connector...
  • Page 47: Appendix B: Rll Communications Programs

    RLL Communications Programs Data Communications Module, 2nd Edition, 2/03...
  • Page 48: The Master Initiates Requests

    B–2 RLL Communications Programs Why are networking instructions needed in your RLL? The Master Initiates Since DirectNET is a master/slave network, the master station must initiate requests for Requests network data transfers. If you’re using a PLC as the master station, you use simple RLL instructions to initiate the requests.
  • Page 49 B–3 B–3 RLL Communications Programs This example writes 3 bytes of data from the Master Station (starting at V40600) to Y0 – Y27 in Slave Station #1. Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Master PLC V40600 V40601 Example RLL Program 16pt...
  • Page 50: Identifying The Master And Slave Locations & Addresses

    B–4 RLL Communications Programs Identifying the master and slave locations & addresses The first Load (LD) instruction identifies the Conversion Hints! slot location of the D2–DCM master and Valid Slot Range: 0–7 address slave station. (Remember, the slot numbers start at 0.) Valid Slave Address: 1–90 The constant (K) portion of the instruction Example...
  • Page 51: Specifying The Amount Of Data To Transfer

    B–5 B–5 RLL Communications Programs Specifying the amount of data to transfer The second LD instruction indicates the amount of data that needs to be transferred (in bytes, 128 maximum). You have to specify the K201 amount of data in complete bytes. For example, Y0 –...
  • Page 52: Designating The Master Station Memory Area

    B–6 RLL Communications Programs Designating the master station memory area The Load Address (LDA) instruction specifies the V memory area of the master that will be K201 used. This is the starting address. Additional sequential locations may be used, depending on the number of bytes that are being transferred.
  • Page 53: Identifying The Slave Station Memory Area To Read Or Write

    B–7 B–7 RLL Communications Programs Identifying the slave station memory area to read or write The Read Network (RX) or Write Network (WX) is the last instruction in the routine. Use K201 the RX if you want to read data from the slave, or use the WX instruction if you want to write data to the slave.
  • Page 54 B–8 RLL Communications Programs D3–330 / D3–340 CPUs To get ... TMR/CNT Current Values use... TMR / CNT Status Bits use... Data Registers use... R600 CT600 GY600 R401, R400 V100 R601 CT601 GY601 R403, R402 V101 — — — — — — —...
  • Page 55: Controlling The Communications

    B–9 B–9 RLL Communications Programs Controlling the communications Communications Whenever communication is executed with a SP125 Special Relays D2–DCM, chances are the communication will take longer than the actual PLC scan. If the D2–DCM is busy, another request should not be initiated until it is finished.
  • Page 56: Multiple Read And Write Interlocks

    B–10 RLL Communications Programs Multiple Read and If you’re using multiple reads and writes in the Interlocking Relay Write Interlocks RLL program, the routines need to be interlocked to be certain that all the routines SP124 are executed. If the interlocks are not used, K201 then the CPU will only execute the first routine.
  • Page 57 B–11 B–11 RLL Communications Programs Multiple Read and This example is showing three slaves. In this case the address conversions are very simple. Write Interlocks Check the Conversion Hints shown above for a more complex example. Slot of D2–DCM Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 K260 Slave Address...
  • Page 58: Appendix C: Using The D2-Dcm With Modbus

    Using the D2–DCM with MODBUS Data Communications Module, 2nd Edition, 2/03...
  • Page 59: Introduction

    C–2 Using the D2–DCM with MODBUS Introduction How Does the The D2–DCM can be used as a slave interface to a network using the MODBUS RTU protocol. D2–DCM work with To use the D2–DCM with MODBUS, your host software must send a MODBUS function code MODBUS? and a MODBUS address to specify a PLC memory location that is understood by the D2–DCM.
  • Page 60: Modbus Function Codes Supported

    C–3 C–3 Using the D2–DCM with MODBUS MODBUS Function The host software package reads or writes information by sending a MODBUS function code Codes Supported to the D2–DCM. The following table provides a description of the MODBUS function codes supported by the D2–DCM. MODBUS Code Function DL205 Data Types...
  • Page 61: Determining The Modbus Address

    C–4 Using the D2–DCM with MODBUS Determining the MODBUS Address There are typically two ways that most host software packages allow you to specify a PLC memory location. These are: By specifying the MODBUS data type and address. By specifying a MODBUS address only. If the Host Software Many host software packages allow you to specify the MODBUS data type and the MODBUS Requires the Data...
  • Page 62 C–5 C–5 Using the D2–DCM with MODBUS DL250–1 Memory Type PLC Range MODBUS MODBUS (Dec.) (Octal) Address Range Data Type For Discrete Data Types ..Convert PLC Addr. to Dec. Start of Range + Data Type Inputs (X) – X777 2048 –...
  • Page 63: Example 1: V2100

    C–6 Using the D2–DCM with MODBUS Example 1: V2100 Find the MODBUS address for User V PLC Address (Dec.) + Data Type location V2100. V2100 = 1088 decimal 1. Find V memory in the table. 1088 + Hold. Reg. = Holding Reg. 1089 2.
  • Page 64: If The Host Software Requires An Address Only

    C–7 C–7 Using the D2–DCM with MODBUS If the Host Software Some host software packages do not allow you to specify the MODBUS data type and Requires an Address address. Instead, you specify an address only. This method requires another step to ONLY determine the address, but it is not difficult.
  • Page 65 C–8 Using the D2–DCM with MODBUS Word Data Types Registers PLC Range Input/Holding Input/Holding (Octal) (484 Mode)* (584/984 Mode)* V Memory (Timers) V0 – V377 3001/4001 30001/40001 V Memory (Counters) V1000 – V1177 3513/4513 30513/40513 V Memory (Data Words) V1200 – V1377 3641/4641 30641/40641 V1400 –...
  • Page 66: Example 1: V2100 584/984 Mode

    C–9 C–9 Using the D2–DCM with MODBUS Example 1: V2100 Find the MODBUS address for User V PLC Address (Dec.) + Mode Address 584/984 Mode location V2100. V2100 = 1088 decimal 1. Find V memory in the table. 1088 + 40001 = 41089 2.
  • Page 67: Appendix D: Using The D2-Dcm With Modems

    Using the D2–DCM with Modems Data Communications Module, 2nd Edition, 2/03...
  • Page 68: Introduction

    D–2 Using the D2–DCM with Modems Introduction There are some applications that require a remote connection to the PLC. These remote connections require you to use a modem to communicate between the Personal Computer and the PLC system. Although this manual tends to focus on using the D2–DCM in networking applications, there are a tremendous number of people who simply use the D2–DCM as an extra communications port.
  • Page 69: Possible Configurations

    D–3 D–3 Using the D2–DCM with Modems Possible Even though most all systems have one or more of the system components, there are a Configurations couple of ways that they can be used. PC Master — Some people need to use modems between a personal computer and the PLC system so that they can perform remote programming and/or data monitoring tasks with PC-based software, such as DirectSOFT32 or a SCADA system.
  • Page 70: Set The D2-Dcm Switches

    D–4 Using the D2–DCM with Modems Set the D2–DCM Switches For the most part, we suggest that you follow the setup instructions shown earlier in this manual. That is, choose the protocol you’re using, set the station address, etc. However, there are a couple of important differences which are discussed here.
  • Page 71: Delay Time Considerations For Networks With Dl240 Slaves

    D–5 D–5 Using the D2–DCM with Modems Delay Time A couple of scenarios have been mentioned where you may be using a D2–DCM connected Considerations for to a modem as the master station and a DL240 CPU connected to a modem as the slave Networks with DL240 station.
  • Page 72: Choose The Proper Cables

    D–6 Using the D2–DCM with Modems Choose the Proper Cables The exact cables needed really depend on your particular application. In any case, you will probably use one or more of the following connections. Personal Computer to modem connection Modem to D2–DCM connection Modem to DL240 connection Connecting a Modem Your choice of cable for connecting the modem to your personal computer depends on...
  • Page 73: Connecting A Modem To The D2-Dcm

    D–7 D–7 Using the D2–DCM with Modems Connecting a Modem The PLC is on the other end of the remote communication link and will typically have a to the D2–DCM D2–DCM as the communications interface. Just as you needed a cable to connect your personal computer to the modem, you’ll also need a cable between the PLC system (D2–DCM) and the receiving modem.
  • Page 74: Using The Mdm–Tel

    D–8 Using the D2–DCM with Modems Using the MDM–TEL The MDM–TEL industrial modem, which is fully supported by AutomationDirect, is a sensible choice for your application. The MDM–TEL User Manual, which can be downloaded from the AutomationDirect website, will provide more detailed information. RS232 Connections Use a straight–through or equivalent serial cable to connect the modem’s RS232 female port (DB9 cable male end) to the RS232 male port on a PC or other “Data Terminal Equipment”...
  • Page 75: D2–Dcm As Master

    D–9 D–9 Using the D2–DCM with Modems D2–DCM as Master If You are Using a If you are using the D2–DCM as a master connected directly to a modem, then you must be D2–DCM as Master using one of two types of modems. In either case, there are no special procedures that are required.
  • Page 76: Using Directsoft32

    D–10 Using the D2–DCM with Modems Using DirectSOFT32 Creating a Modem DirectSOFT32 uses Telephony Application Programming Interface (TAPI) for Link modem configurations. The TAPI protocol allows applications to control modems or other telephony devices for operations such as dialing, answering, or disconnecting a connection.
  • Page 77 D–11 D–11 Using the D2–DCM with Modems 3. Select the icon. A dialog box with all available Phone and Modem Options modems installed will appear. 4. Choose the Modems tab, then click on Properties at the bottom. 5. Choose 9600 as the Maximum Port Speed.
  • Page 78 D–12 Using the D2–DCM with Modems 6. Select the Advanced tab and click on Change Default Preferences. 7. Make Port speed 9600, and choose None for Flow control. Data Communications Module, 2nd Edition, 2/03...
  • Page 79 D–13 D–13 Using the D2–DCM with Modems 8. Click on the tab and choose 8 Data bits, None Parity and 1 Stop Advanced bits. 9. Click OK until all dialog boxes are closed. This will setup your Windows driver so DirectSOFT32 can use the Windows TAPI control when accessing the modem.
  • Page 80: Configuring The Link

    D–14 Using the D2–DCM with Modems Configuring the With the modem configured correctly, the link to the PLC can now be established. Link The next series of steps will provide the information necessary for configuring the link using DirectSOFT32. 1. The LinkWizard can automatically determine the majority of the communication settings;...
  • Page 81 D–15 D–15 Using the D2–DCM with Modems 3. The Configure Link dialog box should now be present. First, choose the PLC family and the PLC CPU Type. Click once on the appropriate item in the PLC Family and a list of available CPUs for that family will appear to the right.
  • Page 82 D–16 Using the D2–DCM with Modems 5. Click the Protocol tab to display the communication protocol dialog box. This dialog allows you to further define the communication parameters. D Select the communication protocol to use. Refer to the chart in Appendix A for a breakdown of the various CPUs, and which protocols are supported on which ports.
  • Page 83 D–17 D–17 Using the D2–DCM with Modems 7. After successfully 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 is highlighted, the main launch window screen will change with all of the links information displayed.

Table of Contents