Siemens SIMATIC TIWAY 1 Especificações

Consulte online ou descarregue Especificações para Redes Siemens SIMATIC TIWAY 1. Siemens SIMATIC TIWAY 1 Specifications Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - DirectNETt

DirectNETtManual Number DA–DNET–M

Página 2 - Trademarks

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

Página 3 - Manual Revisions

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

Página 4 - Table of Contents

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

Página 5

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

Página 6

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

Página 7

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

Página 8

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

Página 9

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

Página 10

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

Página 11

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

Página 12

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

Página 13 - How to Use

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

Página 14 - Introduction

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

Página 15

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

Página 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

Página 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

Página 18

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

Página 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

Página 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

Página 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

Página 22

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

Página 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

Página 24 - 3 – Peer as Master Network

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

Página 25

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

Página 26

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

Página 27 - How can I create a network?

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

Página 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

Página 29 - Choosing the Configuration

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

Página 30

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

Página 31 - Possible Configurations

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

Página 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

Página 33

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

Página 34

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

Página 35

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

Página 36

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

Página 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

Página 38

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 45

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

Página 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

Página 47 - Master Slave

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

Página 48

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

Página 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

Página 50

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

Página 51

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

Página 52

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

Página 53

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

Página 54

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

Página 55

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

Página 56

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

Página 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

Página 58 - Settings

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

Página 59

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

Página 60

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

Página 61

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

Página 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

Página 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

Página 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

Página 65

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

Página 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

Página 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

Página 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

Página 69

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

Página 70

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

Página 71

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

Página 72 - Programs

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

Página 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

Página 74

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

Página 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

Página 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

Página 77

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

Página 78

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

Página 79 - 01234567

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

Página 80

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

Página 81

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

Página 82 - DirectNET Host

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

Página 83

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

Página 84

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

Página 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

Página 86

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

Página 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

Página 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

Página 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

Página 90

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

Página 91 - Initiating the Request

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

Página 92 - Acknowledging the Request

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

Página 93 - Defining the Request

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

Página 94

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

Página 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

Página 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

Página 97

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 109

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

Página 110 - Master / Slave

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

Página 111 - The Example

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

Página 112

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

Página 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

Página 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

Página 115

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

Página 116 - *Delay time in milliseconds

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

Página 117

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

Página 118

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

Página 119

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

Página 120

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

Página 121

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

Página 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

Página 123

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

Página 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

Página 125

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

Página 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

Página 127

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

Página 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

Página 129

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

Página 130

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

Página 131

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

Página 132

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

Página 133

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

Página 134

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

Página 135

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

Página 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

Página 137

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

Página 138

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

Página 139

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

Página 140

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

Página 141

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

Página 142

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

Página 143

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

Página 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.

Página 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–

Página 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

Página 147

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

Página 148

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

Página 149

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

Página 150

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

Página 151

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

Página 152

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

Página 153

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

Página 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

Página 155

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

Página 156

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

Página 157

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

Página 158

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

Página 159 - Memory Maps

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

Página 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

Página 161

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

Página 162

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

Página 163

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

Página 164

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

Página 165 - DL430 Memory Map

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

Página 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

Página 167 - X Input Bit Map

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

Página 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

Página 169 - Remote I/O Bit Map

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

Página 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

Página 171 - Control Relay Bit Map

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

Página 172

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

Página 173

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

Página 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

Página 175 - Timer Status Bit Map

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

Página 176 - Counter Status Bit Map

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

Página 177 - Memory Map

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

Página 178 - DL305 Data Types

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

Página 179

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

Página 180

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

Página 181 - DL330 Memory Map

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

Página 182 - DL330P Memory Map

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

Página 183 - DL340 Memory Map

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

Página 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

Página 185

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

Página 186

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

Página 187 - Special Relays

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

Página 188 - R565 R564

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

Página 189 - Data Registers

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

Página 190

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

Página 191

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

Página 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

Página 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

Página 194 - DL305 / 405 Cross Reference

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

Página 195

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

Página 196

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

Página 197 - DL205 Data Types

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

Página 198

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

Página 199

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

Página 200

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

Página 201

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

Página 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

Página 203 - DL240 Memory Map

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

Página 204

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

Página 205

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

Página 206

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

Página 207

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

Comentários a estes Manuais

Sem comentários