Siemens SIMATIC TIWAY 1 Spécifications

Naviguer en ligne ou télécharger Spécifications pour Mise en réseau Siemens SIMATIC TIWAY 1. Siemens SIMATIC TIWAY 1 Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 207
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - DirectNETt

DirectNETtManual Number DA–DNET–M

Page 2 - Trademarks

viiTable of ContentsStep 2: Select the Communication Settings B–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 3 - Manual Revisions

DirectNET HostCommunications Prog.6–19DirectNET Host Communications ProgramsTiming ConsiderationsThe network communications generally operate very qui

Page 4 - Table of Contents

DirectNET HostCommunications Prog.6–20DirectNET Host Communications ProgramsCommunication Segment within (ms)Master sends ENQ → Slave sends ACK 800Mas

Page 5

DirectNET HostCommunications Prog.6–21DirectNET Host Communications ProgramsWhat part of the manual should you use next?Once you’ve created the commun

Page 6

17Network Operationand TroubleshootingIn This Chapter. . . .Starting the networkTroubleshooting

Page 7

Network Operation& Troubleshooting7–2Network Operation and TroubleshootingStarting the NetworkIf you’re using a PLC as the master station, you mus

Page 8

Network Operation& Troubleshooting7–3Network Operation and TroubleshootingTroubleshootingIf the network does not seem to be working correctly, che

Page 9

Network Operation& Troubleshooting7–4Network Operation and TroubleshootingCheck the DCM indicators to verify the DCM is operating correctly. The f

Page 10

Network Operation& Troubleshooting7–5Network Operation and TroubleshootingIndicator Status Possible Cause Corrective ActionPWR or OK off PLC power

Page 11

Network Operation& Troubleshooting7–6Network Operation and TroubleshootingCheck the DCU indicators to verify the DCU is operating correctly. The f

Page 12

Network Operation& Troubleshooting7–7Network Operation and TroubleshootingThe following table provides additional troubleshooting details for the

Page 13 - How to Use

viiiTable of ContentsAppendix D: DL405 Data Types and Memory MapsDL405 Data Types D–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 14 - Introduction

1APLCMaster / SlaveExampleIn This Chapter. . . .Ċ The ExampleĊ Remember these Four Steps!Ċ Step 1: Design the NetworkĊ Step 2: Select the Communicatio

Page 15

Appendix AMaster / Slave ExampleA–2PLC Master / Slave ExampleThe ExampleThis chapter provides an example of a PLC master / slave network and is design

Page 16 - Communications

Appendix AMaster / Slave ExampleA–3PLC Master / Slave ExampleNormally, you can install the modules in any manner. However, we’d like to keep ourexampl

Page 17 - The DirectNET Basics

Appendix AMaster / Slave ExampleA–4PLC Master / Slave ExampleRemember these Four Steps!Use these steps to build your examplenetwork. The remainder of

Page 18

Appendix AMaster / Slave ExampleA–5PLC Master / Slave ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configuration t

Page 19

Appendix AMaster / Slave ExampleA–6PLC Master / Slave ExampleIn our example configuration we have:S A PLC with a DCM as the master stationS A PLC with

Page 20 - Operator Interface

Appendix AMaster / Slave ExampleA–7PLC Master / Slave ExampleStep 2: Select the Communication SettingsThe next step is to set the master station DCM c

Page 21

Appendix AMaster / Slave ExampleA–8PLC Master / Slave ExampleSlave station #1 is a DL405 PLC with a DCM as the network interface. Set the DCMaddress t

Page 22

Appendix AMaster / Slave ExampleA–9PLC Master / Slave ExampleWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portparameters.W

Page 23 - Choosing a Configuration

Appendix AMaster / Slave ExampleA–10PLC Master / Slave ExampleStep 3: Create the Communications Program.In the example network, we’ll use 8 switches o

Page 24 - 3 – Peer as Master Network

ixTable of ContentsAppendix F: DL205 Data Types and Memory MapDL205 Data Types F–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 25

Appendix AMaster / Slave ExampleA–11PLC Master / Slave ExampleThe following diagram shows the RLL instructions used in the communicationsprogram. Chap

Page 26

Appendix AMaster / Slave ExampleA–12PLC Master / Slave ExampleSP120LDK0001LDK0001LDAO40400WXY0C0C0SetSP120LDK0002LDK0002LDAO2000RXV0C0C0RSTENDDirectSO

Page 27 - How can I create a network?

Appendix AMaster / Slave ExampleA–13PLC Master / Slave ExampleSP120LDK0001LDK0001LDAO40400WXY0S1JMPSP120LDK0002LDK0002LDAO2000RXV0S0JMPENDDirectSOFT D

Page 28 - Network Design

Appendix AMaster / Slave ExampleA–14PLC Master / Slave ExampleOur example requires a program in slave station #2. The slave station program ismuch eas

Page 29 - Choosing the Configuration

Appendix AMaster / Slave ExampleA–15PLC Master / Slave ExampleStep 4: Start the NetworkRUNTERMSTOPPWRRUNCPUBATTI/OCOMCPU/POWER 110/220VACOnly the mast

Page 30

Appendix AMaster / Slave ExampleA–16PLC Master / Slave ExampleCheck the DCM indicators to verify that the network is operating correctly. shows thepro

Page 31 - Possible Configurations

Appendix AMaster / Slave ExampleA–17PLC Master / Slave ExampleYou’ll need to use the programming device toverify the read requests. Connect theprogram

Page 32

Appendix AMaster / Slave ExampleA–18PLC Master / Slave ExampleWhat should I do if it isn’t working correctly?If the network does not seem to be workin

Page 33

1BPeer Master ExampleIn This Chapter. . . .— The Example— Remember these Four Steps!— Step 1: Design the Network— Step 2: Select the Communication Set

Page 34

Appendix BPeer Master ExampleB–2Peer Master ExampleThe ExampleThis chapter provides an example of a peer-to-peer network and is designed for theexperi

Page 35

11How to Usethis ManualIn This Chapter. . . .Ċ Introduction

Page 36

Appendix BPeer Master ExampleB–3Peer Master ExampleNormally, you can install the modules in any manner. However, we’d like to keep ourexamples consist

Page 37 - Step 3: Secure the shield to

Appendix BPeer Master ExampleB–4Peer Master ExampleRemember these Four Steps!Use these steps to build your examplenetwork. The remainder of this chapt

Page 38

Appendix BPeer Master ExampleB–5Peer Master ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configuration to create a

Page 39 - DL430 and DL440 Port Pinouts

Appendix BPeer Master ExampleB–6Peer Master ExampleStep 2: Select the Communication SettingsThe next step is to set the communications parameters for

Page 40 - DL405 DCM Port Pinouts

Appendix BPeer Master ExampleB–7Peer Master ExampleThe next step is to set the communications parameters for the DCM in peer station#2. Notice the set

Page 41 - DL340 CPU Port Pinouts

Appendix BPeer Master ExampleB–8Peer Master ExampleStep 3: Create the Communications ProgramsWith peer networks, you need a communications program in

Page 42 - DL305 DCU Port Pinouts

Appendix BPeer Master ExampleB–9Peer Master ExampleThe example provides the instructions needed for the DirectSOFT programmingpackage and for the DL40

Page 43 - DL240 CPU Port Pinouts

Appendix BPeer Master ExampleB–10Peer Master ExampleThe following diagram shows the RLL instructions used in the communicationsprogram for peer statio

Page 44 - Point-to-point Cables

Appendix BPeer Master ExampleB–11Peer Master ExampleDirectSOFT DL405 HP Mnemonics$0STRN T0$1TMR 0$2K9999$3STRN SP120$4LD K0002$5LD K0001$6LDA O40400$7

Page 45

Appendix BPeer Master ExampleB–12Peer Master ExampleThe following diagram shows the RLL instructions used in the communicationsprogram for peer statio

Page 46

How to Use this Manual1–2How to Use this ManualIntroductionThe purpose of our manual is simple. We want to make it easy get your DirectNETnetwork up a

Page 47 - Master Slave

Appendix BPeer Master ExampleB–13Peer Master ExampleDirectSOFT DL405 HP Mnemonics$0STRN SP120$1LD K0001$2LD K0002$3LDA O2000$4RX V0$5ENDSP120LDK0001LD

Page 48

Appendix BPeer Master ExampleB–14Peer Master ExampleStep 4: Start the NetworkRUNTERMSTOPPWRRUNCPUBATTI/OCOMCPU/POWER 110/220VACFor this example to wor

Page 49 - Multi-Drop Cables

Appendix BPeer Master ExampleB–15Peer Master ExampleCheck the DCM indicators to verify the network is operating correctly. shows theproper indicator c

Page 50

Appendix BPeer Master ExampleB–16Peer Master ExampleYou’ll need to use the programming device toverify the read requests. Connect theprogramming devic

Page 51

1CHost Master ExampleIn This Chapter. . . .— The Example— Remember these Four Steps!— Step 1: Design the Network— Step 2: Select the Communication Set

Page 52

Appendix CHost Master ExamplePeer MasterExampleC–2Host Master ExampleThe ExampleA hosted network utilizes an intelligent device, such as a personal co

Page 53

Appendix CHost Master ExampleHost MasterExampleC–3Host Master ExampleNormally, you can install the modules in any manner. However, we’d like to keep o

Page 54

Appendix CHost Master ExamplePeer MasterExampleC–4Host Master ExampleRemember these Four Steps!HostUse these steps to build your examplenetwork. The r

Page 55

Appendix CHost Master ExampleHost MasterExampleC–5Host Master ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configu

Page 56

Appendix CHost Master ExamplePeer MasterExampleC–6Host Master ExampleIn our example configuration we have:S A personal computer as the master stationS

Page 57 - Network Design Checklist

How to Use this Manual1–3How to Use this ManualCh 2: Getting Started with DirectNET – provides an overview of DirectNET and allthe network components

Page 58 - Settings

Appendix CHost Master ExampleHost MasterExampleC–7Host Master ExampleStep 2: Select the Communication SettingsThe next step is to set the personal com

Page 59

Appendix CHost Master ExamplePeer MasterExampleC–8Host Master ExampleWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portpara

Page 60

Appendix CHost Master ExampleHost MasterExampleC–9Host Master ExampleStep 3: Create the Communications ProgramThe communications program used with a h

Page 61

Appendix CHost Master ExamplePeer MasterExampleC–10Host Master ExampleThe following program will read X0–X7 from Slave Station #1.10 REM Program to re

Page 62 - 10 11 12 13 14 15

Appendix CHost Master ExampleHost MasterExampleC–11Host Master Example470 REM Do Header480 RETRY=0490 PRINT #1,HEADER$;LRC$;500 INPUT

Page 63

Appendix CHost Master ExamplePeer MasterExampleC–12Host Master ExampleThe following program will write a value to Y0 – Y7 in Slave Station #1.10 REM P

Page 64

Appendix CHost Master ExampleHost MasterExampleC–13Host Master Example340 REM Begin active program350 REM360 CLS370 OPEN ”COM1:9600,N,8,1,RS,DS” AS #1

Page 65

Appendix CHost Master ExamplePeer MasterExampleC–14Host Master ExampleStep 4: Start the Network.This program was designed to work with GWBasic. Comple

Page 66

Appendix CHost Master ExampleHost MasterExampleC–15Host Master ExampleWhat should I do if it isn’t working correctly?If the network does not seem to b

Page 67 - D3–340 CPU

1DDL405Data Types andMemory MapsIn This Chapter. . . .— DL405 Data Types— DL430 Memory Map— DL440 Memory Map— X Input Bit Map— Y Output Bit Map— Remot

Page 68 - Port 2 R774 R775

12Getting Started withDirectNETCommunicationsIn This Chapter. . . .Ċ The DirectNET BasicsĊ What can I use as a network master station?Ċ What can I use

Page 69

Appendix DDL405 Memory MapHost MasterExampleD–2DL405 Data Types and Memory MapDL405 Data TypesThe following table shows the data types available with

Page 70

Host MasterExampleAppendix DDL405 Memory MapD–3DL405 Data Types and Memory MapV-memory Address Memory Type DirectNET ReferenceAddressV40400V40401— — —

Page 71

Appendix DDL405 Memory MapHost MasterExampleD–4DL405 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40000 LSBV

Page 72 - Programs

Host MasterExampleAppendix DDL405 Memory MapD–5DL405 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40500 LSBV

Page 73 - Y0 – Y17

Appendix DDL405 Memory MapHost MasterExampleD–6DL405 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnostic status. The foll

Page 74

Host MasterExampleAppendix DDL405 Memory MapD–7DL405 Data Types and Memory MapDL430 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe

Page 75 - * See Note on DCM Address

Appendix DDL405 Memory MapHost MasterExampleD–8DL405 Data Types and Memory MapDL440 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe

Page 76 - Specifying the Amount of Data

Host MasterExampleAppendix DDL405 Memory MapD–9DL405 Data Types and Memory MapX Input Bit MapThis table provides a listing of the individual Input poi

Page 77

Appendix DDL405 Memory MapHost MasterExampleD–10DL405 Data Types and Memory MapY Output Bit MapThis table provides a listing of the individual output

Page 78

Host MasterExampleAppendix DDL405 Memory MapD–11DL405 Data Types and Memory MapRemote I/O Bit MapThis table provides a listing of the individual remot

Page 79 - 01234567

Getting Started2–2Getting StartedThe DirectNET Basics DirectNET is an easy-to-use data network for the DirectLOGIC family ofproducts. DirectNET is t

Page 80

Appendix DDL405 Memory MapHost MasterExampleD–12DL405 Data Types and Memory MapThis portion of the table shows additional Remote I/O points available

Page 81

Host MasterExampleAppendix DDL405 Memory MapD–13DL405 Data Types and Memory MapControl Relay Bit MapThis table provides a listing of the individual co

Page 82 - DirectNET Host

Appendix DDL405 Memory MapHost MasterExampleD–14DL405 Data Types and Memory MapThis portion of the table shows additional Control Relays points availa

Page 83

Host MasterExampleAppendix DDL405 Memory MapD–15DL405 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the indi

Page 84

Appendix DDL405 Memory MapHost MasterExampleD–16DL405 Data Types and Memory MapMSB DL440 Additional Stage (S) Control Bits (continued) LSB17 16 15 14

Page 85 - Modes of Operation

Host MasterExampleAppendix DDL405 Memory MapD–17DL405 Data Types and Memory MapTimer Status Bit MapThis table provides a listing of the individual tim

Page 86

Appendix DDL405 Memory MapHost MasterExampleD–18DL405 Data Types and Memory MapCounter Status Bit MapThis table provides a listing of the individual c

Page 87 - Protocol Components

1EDL305Data Types andMemory MapIn This Chapter. . . .— DL305 Data Types— DL330 Memory Map— DL330P Memory Map— DL340 Memory Map— I/O Point Bit Map— Con

Page 88

Appendix EDL305 Memory MapE–2DL305 Data Types and Memory MapDL305 Data TypesThe following table shows the data types available with the DL405 family o

Page 89

Appendix EDL305 Memory MapE–3DL305 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnostic status. The only validaddress for

Page 90

Getting Started2–3Getting StartedThe network is controlled by a master station that issues network commands toindividual slave stations (you cannot “b

Page 91 - Initiating the Request

Appendix EDL305 Memory MapE–4DL305 Data Types and Memory MapErrorCodeApplicableData TypeError Description00 All types The transfer was successful. 00

Page 92 - Acknowledging the Request

Appendix EDL305 Memory MapE–5DL305 Data Types and Memory MapDL330 Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal)

Page 93 - Defining the Request

Appendix EDL305 Memory MapE–6DL305 Data Types and Memory MapDL330P Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal

Page 94

Appendix EDL305 Memory MapE–7DL305 Data Types and Memory MapDL340 Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal)

Page 95 - Transferring Data

Appendix EDL305 Memory MapE–8DL305 Data Types and Memory MapI/O Point Bit MapThese tables provide a listing of the individual Input points associated

Page 96 - Data Block

Appendix EDL305 Memory MapE–9DL305 Data Types and Memory MapControl Relay Bit MapThe following tables provide a listing of the individual control rela

Page 97

Appendix EDL305 Memory MapE–10DL305 Data Types and Memory MapMSB DL330PControl Relay ReferencesLSB RegisterNumber167 166 165 164 163 162 161 160 R1617

Page 98 - Calculating the Data LRC

Appendix EDL305 Memory MapE–11DL305 Data Types and Memory MapSpecial RelaysThe following table shows the Special Relays used with the DL305 CPUs.CPUsS

Page 99 - Ending the Request

Appendix EDL305 Memory MapE–12DL305 Data Types and Memory MapTimer / Counter Registers and ContactsThe following table shows the locations used for pr

Page 100 - Timing Considerations

Appendix EDL305 Memory MapE–13DL305 Data Types and Memory MapData RegistersThe following 8-bit data registers are primarily used with data instruction

Page 101

Getting Started2–4Getting StartedWhat can I use as a network master station?The master stations can be any one ofthe following:S DL430 or DL440 PLCs w

Page 102

Appendix EDL305 Memory MapE–14DL305 Data Types and Memory MapDL3408-Bit Data Registers407 406 405 404 403 402 401 400417 416 415 414 413 412 411 41042

Page 103 - Network Operation

Appendix EDL305 Memory MapE–15DL305 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the individual stages and

Page 104 - Starting the Network

Appendix EDL305 Memory MapE–16DL305 Data Types and Memory MapShift Register Bit MapThe shift register bits listed below are used in the shift register

Page 105 - Troubleshooting

Appendix EDL305 Memory MapE–17DL305 Data Types and Memory MapSpecial RegistersThis table provides a listing of the special registers used with the DL3

Page 106

Appendix EDL305 Memory MapE–18DL305 Data Types and Memory MapDL305 / 405 Cross ReferenceIf you are using a DL405 Master, you will have to make some sl

Page 107 - & Troubleshooting

Appendix EDL305 Memory MapE–19DL305 Data Types and Memory MapRLLPLUS CPUsTo get to ...I/O Points, CRs, &Shift Registersin a DL305UseRef...in aDL4

Page 108

1FDL205Data Types andMemory MapIn This Chapter. . . .— DL205 Data Types— DL230 Memory Map— DL240 Memory Map— X Input Bit Map— Y Output Bit Map— Contro

Page 109

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–2DL205 Data Types and Memory MapDL205 Data TypesThe following table shows the data typ

Page 110 - Master / Slave

Appendix FDL205 Memory MapHost MasterExampleF–3DL205 Data Types and Memory MapV-memory Address Memory Type DirectNET ReferenceAddressV40400V40401— — —

Page 111 - The Example

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–4DL205 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference

Page 112

WARNINGThank you for purchasing automation equipment from PLCDirect. We want your new DirectLOGIC automationequipment to operate safely. Anyone who

Page 113 - Remember these Four Steps!

Getting Started2–5Getting StartedMany operator interfaces can be used asa network master station tocommunicate with one or more slavestations. An oper

Page 114 - Step 1: Design the Network

Appendix FDL205 Memory MapHost MasterExampleF–5DL205 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40500 LSBV

Page 115

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–6DL205 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnosti

Page 116 - *Delay time in milliseconds

Appendix FDL205 Memory MapHost MasterExampleF–7DL205 Data Types and Memory MapDL230 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe

Page 117

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–8DL205 Data Types and Memory MapDL240 Memory MapMemory Type Discrete MemoryReference(o

Page 118

Appendix FDL205 Memory MapHost MasterExampleF–9DL205 Data Types and Memory MapX Input Bit MapThis table provides a listing of the individual Input poi

Page 119

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–10DL205 Data Types and Memory MapControl Relay Bit MapThis table provides a listing of

Page 120

Appendix FDL205 Memory MapHost MasterExampleF–11DL205 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the indi

Page 121

Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–12DL205 Data Types and Memory MapTimer Status Bit MapThis table provides a listing of

Page 122

Getting Started2–6Getting StartedWhat can I use as a network slave station?One of the benefits of DirectNET is many of the DirectLOGIC CPUs already h

Page 123

Getting Started2–7Getting StartedThe following diagram shows the various combinations of master and slave stationsavailable with a DirectNET solution.

Page 124 - Step 4: Start the Network

Getting Started2–8Getting StartedChoosing a ConfigurationThe network components can be used to create many different network designs.However, all netw

Page 125

Getting Started2–9Getting StartedThe three types of networks can be combined to solve many different applications.Even though the configurations can b

Page 126 - V MON 0000 XXXX

Getting Started2–10Getting StartedWhat communications program should I use?There are two types of communications programs, RLL instructions or DirectN

Page 127

Getting Started2–11Getting StartedThe communications program used with a hosted network is more complex than thesimple RLL instructions used with the

Page 128 - Peer Master Example

Getting Started2–12Getting StartedHow can I create a network?You can easily create a DirectNET network by following four simple steps. Theremainder of

Page 129

13Network Designand SetupIn This Chapter. . . .Ċ Choosing the ConfigurationĊ Cable Selection and Installation GuidelinesĊ DL430 and DL440 Port Pinouts

Page 130

Network Designand Setup–23–2Network Design and SetupChoosing the ConfigurationThere are almost as many ways to build your network as there are grains

Page 131

1Manual RevisionsIf you contact us in reference to this manual, be sure and include the revision number.Title: DirectNET Reference ManualManual Number

Page 132

Network Designand Setup3–3Network Design and SetupDetermine how you plan to use the information that is transferred. This may help youdesign your netw

Page 133

Network Designand Setup–43–4Network Design and SetupSince all applications must use one (or more) of the three basic networkconfigurations (PLC as Mas

Page 134

Network Designand Setup3–5Network Design and SetupWidgetStation 1ProductionLine #1ProductionLine #2WidgetStation 2ProductionManagementConveyor SystemP

Page 135

Network Designand Setup–63–6Network Design and SetupCable Selection and Installation GuidelinesThere are several considerations that help determine th

Page 136

Network Designand Setup3–7Network Design and SetupDirectNET can be used in either a point-to-point or multi-drop configuration. Apoint-to-point connec

Page 137

Network Designand Setup–83–8Network Design and SetupDirectNET supports both RS232C or RS422 communication. Your application andconfiguration choice wi

Page 138

Network Designand Setup3–9Network Design and SetupThere are two sections in this chapter that provide various types of cable schematicsthat are approp

Page 139

Network Designand Setup–103–10Network Design and SetupYour company may have guidelines for cable installation. If so, you should checkthose before you

Page 140

Network Designand Setup3–11Network Design and SetupPLCDirect offers a Universal Cable Kit (part number FA–CABKIT). This cable kitallows you to connec

Page 141

Network Designand Setup–123–12Network Design and SetupDL430 and DL440 Port PinoutsThe DL430 and DL440 CPUs havebuilt-in DirectNET ports. This port is

Page 142

1iTable of ContentsChapter 1: How to Use this ManualIntroduction 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 143

Network Designand Setup3–13Network Design and SetupDL405 DCM Port PinoutsThe DL405 DCM can be used as amaster or slave station interface. Thefollowing

Page 144 - Host Master Example

Network Designand Setup–143–14Network Design and SetupDL340 CPU Port PinoutsThe DL340 CPU has two built-inDirectNET slave ports under the hingedcover.

Page 145

Network Designand Setup3–15Network Design and SetupDL305 DCU Port PinoutsThere are two versions of the DL305DCU.S D3–232–DCU (RS232C version)S D3–422–

Page 146

Network Designand Setup–163–16Network Design and SetupDL240 CPU Port PinoutsThe DL240 CPU has two built-inDirectNET ports.Port 1: can be used for poin

Page 147

Network Designand Setup3–17Network Design and SetupPoint-to-point CablesSlaves: DL405 DCM, DL405 CPU Port, DL305 RS232C DCU2 RXD3516TXDGNDDCDDSR2 TXD3

Page 148

Network Designand Setup–183–18Network Design and SetupAOr, use phone cableadapter providedwith the deviceOr, use phone cableadapter providedwith the d

Page 149

Network Designand Setup3–19Network Design and SetupSlaves: DL305 RS422 DCURS232C2 RXD3516TXDGNDDCDDSR3 RXD2720TXDGNDDTRMasterFA–UNICON Converter for S

Page 150

Network Designand Setup–203–20Network Design and SetupUse phone cableadapterSlaves: DL405 DCM, DL405 CPU Port, DL305 RS232C DCU2 TXD3457RXDRTSCTSGND3

Page 151

Network Designand Setup3–21Network Design and SetupSlaves: DL305 RS422 DCU25-pin Connector7 GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT–OUT–IN+IN+

Page 152

Network Designand Setup–223–22Network Design and SetupMulti-Drop CablesWith RS422 you have great flexibility in how you want to design your networkcab

Page 153

iiTable of ContentsChapter 3: Network Design and SetupChoosing the Configuration 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 154 - Host Master

Network Designand Setup3–23Network Design and SetupIt is important you add termination resistors at each end of the RS422 line. This helpsreduce data

Page 155

Network Designand Setup–243–24Network Design and SetupRS422 — — —Slaves: DL405 DCM, DL305 RS422 DCU3 RXD2516TXDGNDDCDDSRMaster4 DTR7RTS8 CTS9-pinConne

Page 156

Network Designand Setup3–25Network Design and Setup3 RXD2720TXDGNDDTRSlaves: DL340 CPU Port, DL240 CPU Port, DL205 DCM2 RXD3516TXDGNDDCDDSRMaster4 DTR

Page 157

Network Designand Setup–263–26Network Design and SetupSlaves: DL305 RS232C DCU2 RXD3516TXDGNDDCDDSRMaster4 DTR7RTS8 CTS9-pin Connector3 RXD2720TXDGNDD

Page 158

Network Designand Setup3–27Network Design and SetupRS422 — — —Slaves: DL405 DCM, DL305 RS422 DCUSlaves: DL405 CPU PortsRS422 — — —22232425+OUT–OUT–IN+

Page 159 - Memory Maps

Network Designand Setup–283–28Network Design and SetupSlaves: DL340 CPU Port, DL240 CPU PortDCM Master7GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT

Page 160 - DL405 Data Types

Network Designand Setup3–29Network Design and SetupSlaves: DL305 RS232C DCUDCM Master7GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT–OUT–IN+IN+OUT–OU

Page 161

Network Designand Setup–303–30Network Design and SetupNetwork Design ChecklistIncorrect network cabling causes many problems. It’s important to make s

Page 162

14CommunicationSettingsIn This Chapter. . . .Ċ Selecting the communication settingsĊ Setting the station switchesĊ Communications Settings ChecklistĊ

Page 163

CommunicationSettings4–2Communication SettingsSelecting the communication settings.There are a few things you need to select before you can set the co

Page 164

iiiTable of ContentsChapter 4: Communication SettingsSelecting the communication settings. 4–2. . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 165 - DL430 Memory Map

CommunicationSettings4–3Communication SettingsSetting the station parametersYou have to set the switches for all the stations on the network, masters

Page 166 - DL440 Memory Map

CommunicationSettings4–4Communication SettingsThere are two banks of switches located on the rear of the DCM that are used to setthe communications pa

Page 167 - X Input Bit Map

CommunicationSettings4–5Communication SettingsONLINEOFFLINEUNITADR(HEX)X10X1In the Offline position, this switch logicallydisconnects the DCM from the

Page 168 - Y Output Bit Map

CommunicationSettings4–6Communication SettingsFirst, make sure you have the correct model of DCU. There are two models.S D3–232–DCU (RS232C version)S

Page 169 - Remote I/O Bit Map

CommunicationSettings4–7Communication SettingsIn the Offline position, this switch logicallydisconnects the DCU from the network (just asif you pulled

Page 170

CommunicationSettings4–8Communication SettingsIf you look at the back of the DL440 CPU youwill notice a small bank of switches. Switches 2,3, and 4 ar

Page 171 - Control Relay Bit Map

CommunicationSettings4–9Communication SettingsWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portparameters.With the DL405 H

Page 172

CommunicationSettings4–10Communication SettingsIn the example above, when the Network mode switch is set to FIXED the networkaddress will default to 0

Page 173

CommunicationSettings4–11Communication SettingsThe following chart shows how to configure the baud rate for Port 1 (RS232C) of theDL340 using dipswitc

Page 174 - DL405 Memory Map

CommunicationSettings4–12Communication SettingsThe DL240 CPU is set similarly to the DL405CPUs, except that all parameters can be setwith AUX 56 from

Page 175 - Timer Status Bit Map

ivTable of ContentsChapter 5: RLL Communications ProgramsWhy do you need a communications program? 5–2. . . . . . . . . . . . . . . . . . . . . . . .

Page 176 - Counter Status Bit Map

CommunicationSettings4–13Communication SettingsThe following example shows you can set the port parameters with the DL205Handheld Programmer.NOTE: The

Page 177 - Memory Map

CommunicationSettings4–14Communication SettingsCommunications Settings ChecklistThe majority of problems are caused by incorrect switch settings. Make

Page 178 - DL305 Data Types

15RLLCommunicationsProgramsIn This Chapter. . . .Ċ Why do you need a communications program?Ċ Identifying the Master and SlaveĊ Specifying the Amount

Page 179

RLL CommunicationsPrograms5–2RLL Communications ProgramsWhy do you need a communications program?DirectNET is a master / slave network, therefore; the

Page 180

RLL CommunicationsPrograms5–3RLL Communications ProgramsThis example writes 3 bytes of data from the Master Station (starting at V40600) toY0 – Y37 in

Page 181 - DL330 Memory Map

RLL CommunicationsPrograms5–4RLL Communications ProgramsIdentifying the Master and SlaveWhenever the WX or RX instructions are used, they must be prec

Page 182 - DL330P Memory Map

RLL CommunicationsPrograms5–5RLL Communications ProgramsSpecifying the Amount of DataThe second LD instruction indicates theamount of data (in bytes)

Page 183 - DL340 Memory Map

RLL CommunicationsPrograms5–6RLL Communications ProgramsDesignating the Master Station Memory AreaLDAO40600The Load Address (LDA) instructionspecifies

Page 184 - I/O Point Bit Map

RLL CommunicationsPrograms5–7RLL Communications ProgramsIdentifying the Slave Station Memory AreaThe Read Network (RX) or Write Network(WX) is the las

Page 185

RLL CommunicationsPrograms5–8RLL Communications ProgramsControlling the CommunicationsY50SetSP125SP124LDK0201LDK0003LDAO40600RXY0When you execute comm

Page 186

vTable of ContentsBytes 10 & 11: Complete Data Blocks 6–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 187 - Special Relays

RLL CommunicationsPrograms5–9RLL Communications ProgramsIf you’re using multiple reads and writes inthe RLL program, you have to interlockthe routines

Page 188 - R565 R564

RLL CommunicationsPrograms5–10RLL Communications ProgramsWhat part of the manual should you use next?Once you’ve created the communications program, y

Page 189 - Data Registers

16DirectNET HostCommunicationsProgramsIn This Chapter. . . .— Why do you need a communications program?— Modes of Operation— Protocol Components— Cont

Page 190

DirectNET HostCommunications Prog.6–2DirectNET Host Communications ProgramsWhy do you need a communications program?Since DirectNET is a master / sla

Page 191

DirectNET HostCommunications Prog.6–3DirectNET Host Communications ProgramsThe following diagram shows the general structure of the communications. Th

Page 192 - Shift Register Bit Map

DirectNET HostCommunications Prog.6–4DirectNET Host Communications ProgramsModes of OperationDirectNET can transfer a maximum of 65,791 bytes ( 256 bl

Page 193 - Special Registers

DirectNET HostCommunications Prog.6–5DirectNET Host Communications ProgramsIn HEX mode, the number of bytes transferred is equal to the number of byte

Page 194 - DL305 / 405 Cross Reference

DirectNET HostCommunications Prog.6–6DirectNET Host Communications ProgramsProtocol ComponentsAll DirectNET program read and write requests use the f

Page 195

DirectNET HostCommunications Prog.6–7DirectNET Host Communications ProgramsThe following diagram shows how the protocol components are used with read

Page 196

DirectNET HostCommunications Prog.6–8DirectNET Host Communications ProgramsControlling the CommunicationsAll read or write requests use ASCII control

Page 197 - DL205 Data Types

viTable of ContentsAppendix A: PLC Master / Slave ExampleThe Example A–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 198

DirectNET HostCommunications Prog.6–9DirectNET Host Communications ProgramsThe following diagram shows how these control codes are combined with the p

Page 199

DirectNET HostCommunications Prog.6–10DirectNET Host Communications ProgramsInitiating the RequestThe Enquiry is a three character message that initia

Page 200

DirectNET HostCommunications Prog.6–11DirectNET Host Communications ProgramsAcknowledging the RequestThe three character acknowledge commands are used

Page 201

DirectNET HostCommunications Prog.6–12DirectNET Host Communications ProgramsDefining the RequestThe header is a 17-byte (18-byte for ASCII transmissio

Page 202 - DL230 Memory Map

DirectNET HostCommunications Prog.6–13DirectNET Host Communications ProgramsByte 4 indicates whether the operation is a read or write request. A value

Page 203 - DL240 Memory Map

DirectNET HostCommunications Prog.6–14DirectNET Host Communications ProgramsTransferring DataThe data blocks contain the actual data that is being tra

Page 204

DirectNET HostCommunications Prog.6–15DirectNET Host Communications ProgramsThe HEX ASCII control codes that indicate the beginning and end of data bl

Page 205

DirectNET HostCommunications Prog.6–16DirectNET Host Communications ProgramsCalculating the Header ChecksumThe LRC yields a checksum which is used to

Page 206

DirectNET HostCommunications Prog.6–17DirectNET Host Communications ProgramsFrom the table the checksum value is decimal 8. The checksum is contained

Page 207

DirectNET HostCommunications Prog.6–18DirectNET Host Communications ProgramsEnding the RequestWhen the last data block has been transferred and acknow

Commentaires sur ces manuels

Pas de commentaire