Siemens SIMATIC TIWAY 1 Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Vernetzung Siemens SIMATIC TIWAY 1 herunter. Siemens SIMATIC TIWAY 1 Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 207
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - DirectNETt

DirectNETtManual Number DA–DNET–M

Seite 2 - Trademarks

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

Seite 3 - Manual Revisions

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

Seite 4 - Table of Contents

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

Seite 5

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

Seite 6

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

Seite 7

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

Seite 8

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

Seite 9

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

Seite 10

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

Seite 11

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

Seite 12

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

Seite 13 - How to Use

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

Seite 14 - Introduction

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

Seite 15

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

Seite 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

Seite 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

Seite 18

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

Seite 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

Seite 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

Seite 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

Seite 22

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

Seite 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

Seite 24 - 3 – Peer as Master Network

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

Seite 25

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

Seite 26

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

Seite 27 - How can I create a network?

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

Seite 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

Seite 29 - Choosing the Configuration

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

Seite 30

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

Seite 31 - Possible Configurations

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

Seite 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

Seite 33

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

Seite 34

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

Seite 35

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

Seite 36

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

Seite 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

Seite 38

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 45

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

Seite 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

Seite 47 - Master Slave

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

Seite 48

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

Seite 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

Seite 50

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

Seite 51

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

Seite 52

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

Seite 53

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

Seite 54

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

Seite 55

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

Seite 56

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

Seite 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

Seite 58 - Settings

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

Seite 59

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

Seite 60

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

Seite 61

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

Seite 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

Seite 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

Seite 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

Seite 65

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

Seite 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

Seite 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

Seite 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

Seite 69

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

Seite 70

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

Seite 71

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

Seite 72 - Programs

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

Seite 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

Seite 74

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

Seite 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

Seite 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

Seite 77

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

Seite 78

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

Seite 79 - 01234567

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

Seite 80

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

Seite 81

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

Seite 82 - DirectNET Host

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

Seite 83

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

Seite 84

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

Seite 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

Seite 86

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

Seite 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

Seite 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

Seite 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

Seite 90

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

Seite 91 - Initiating the Request

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

Seite 92 - Acknowledging the Request

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

Seite 93 - Defining the Request

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

Seite 94

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

Seite 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

Seite 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

Seite 97

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 109

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

Seite 110 - Master / Slave

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

Seite 111 - The Example

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

Seite 112

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

Seite 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

Seite 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

Seite 115

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

Seite 116 - *Delay time in milliseconds

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

Seite 117

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

Seite 118

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

Seite 119

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

Seite 120

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

Seite 121

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

Seite 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

Seite 123

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

Seite 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

Seite 125

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

Seite 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

Seite 127

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

Seite 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

Seite 129

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

Seite 130

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

Seite 131

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

Seite 132

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

Seite 133

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

Seite 134

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

Seite 135

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

Seite 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

Seite 137

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

Seite 138

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

Seite 139

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

Seite 140

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

Seite 141

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

Seite 142

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

Seite 143

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

Seite 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.

Seite 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–

Seite 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

Seite 147

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

Seite 148

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

Seite 149

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

Seite 150

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

Seite 151

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

Seite 152

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

Seite 153

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

Seite 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

Seite 155

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

Seite 156

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

Seite 157

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

Seite 158

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

Seite 159 - Memory Maps

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

Seite 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

Seite 161

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

Seite 162

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

Seite 163

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

Seite 164

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

Seite 165 - DL430 Memory Map

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

Seite 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

Seite 167 - X Input Bit Map

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

Seite 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

Seite 169 - Remote I/O Bit Map

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

Seite 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

Seite 171 - Control Relay Bit Map

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

Seite 172

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

Seite 173

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

Seite 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

Seite 175 - Timer Status Bit Map

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

Seite 176 - Counter Status Bit Map

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

Seite 177 - Memory Map

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

Seite 178 - DL305 Data Types

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

Seite 179

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

Seite 180

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

Seite 181 - DL330 Memory Map

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

Seite 182 - DL330P Memory Map

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

Seite 183 - DL340 Memory Map

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

Seite 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

Seite 185

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

Seite 186

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

Seite 187 - Special Relays

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

Seite 188 - R565 R564

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

Seite 189 - Data Registers

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

Seite 190

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

Seite 191

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

Seite 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

Seite 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

Seite 194 - DL305 / 405 Cross Reference

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

Seite 195

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

Seite 196

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

Seite 197 - DL205 Data Types

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

Seite 198

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

Seite 199

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

Seite 200

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

Seite 201

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

Seite 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

Seite 203 - DL240 Memory Map

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

Seite 204

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

Seite 205

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

Seite 206

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

Seite 207

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

Kommentare zu diesen Handbüchern

Keine Kommentare