DirectNETtManual Number DA–DNET–M
viiTable of ContentsStep 2: Select the Communication Settings B–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DirectNET HostCommunications Prog.6–19DirectNET Host Communications ProgramsTiming ConsiderationsThe network communications generally operate very qui
DirectNET HostCommunications Prog.6–20DirectNET Host Communications ProgramsCommunication Segment within (ms)Master sends ENQ → Slave sends ACK 800Mas
DirectNET HostCommunications Prog.6–21DirectNET Host Communications ProgramsWhat part of the manual should you use next?Once you’ve created the commun
17Network Operationand TroubleshootingIn This Chapter. . . .Starting the networkTroubleshooting
Network Operation& Troubleshooting7–2Network Operation and TroubleshootingStarting the NetworkIf you’re using a PLC as the master station, you mus
Network Operation& Troubleshooting7–3Network Operation and TroubleshootingTroubleshootingIf the network does not seem to be working correctly, che
Network Operation& Troubleshooting7–4Network Operation and TroubleshootingCheck the DCM indicators to verify the DCM is operating correctly. The f
Network Operation& Troubleshooting7–5Network Operation and TroubleshootingIndicator Status Possible Cause Corrective ActionPWR or OK off PLC power
Network Operation& Troubleshooting7–6Network Operation and TroubleshootingCheck the DCU indicators to verify the DCU is operating correctly. The f
Network Operation& Troubleshooting7–7Network Operation and TroubleshootingThe following table provides additional troubleshooting details for the
viiiTable of ContentsAppendix D: DL405 Data Types and Memory MapsDL405 Data Types D–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1APLCMaster / SlaveExampleIn This Chapter. . . .Ċ The ExampleĊ Remember these Four Steps!Ċ Step 1: Design the NetworkĊ Step 2: Select the Communicatio
Appendix AMaster / Slave ExampleA–2PLC Master / Slave ExampleThe ExampleThis chapter provides an example of a PLC master / slave network and is design
Appendix AMaster / Slave ExampleA–3PLC Master / Slave ExampleNormally, you can install the modules in any manner. However, we’d like to keep ourexampl
Appendix AMaster / Slave ExampleA–4PLC Master / Slave ExampleRemember these Four Steps!Use these steps to build your examplenetwork. The remainder of
Appendix AMaster / Slave ExampleA–5PLC Master / Slave ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configuration t
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
Appendix AMaster / Slave ExampleA–7PLC Master / Slave ExampleStep 2: Select the Communication SettingsThe next step is to set the master station DCM c
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
Appendix AMaster / Slave ExampleA–9PLC Master / Slave ExampleWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portparameters.W
Appendix AMaster / Slave ExampleA–10PLC Master / Slave ExampleStep 3: Create the Communications Program.In the example network, we’ll use 8 switches o
ixTable of ContentsAppendix F: DL205 Data Types and Memory MapDL205 Data Types F–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix AMaster / Slave ExampleA–11PLC Master / Slave ExampleThe following diagram shows the RLL instructions used in the communicationsprogram. Chap
Appendix AMaster / Slave ExampleA–12PLC Master / Slave ExampleSP120LDK0001LDK0001LDAO40400WXY0C0C0SetSP120LDK0002LDK0002LDAO2000RXV0C0C0RSTENDDirectSO
Appendix AMaster / Slave ExampleA–13PLC Master / Slave ExampleSP120LDK0001LDK0001LDAO40400WXY0S1JMPSP120LDK0002LDK0002LDAO2000RXV0S0JMPENDDirectSOFT D
Appendix AMaster / Slave ExampleA–14PLC Master / Slave ExampleOur example requires a program in slave station #2. The slave station program ismuch eas
Appendix AMaster / Slave ExampleA–15PLC Master / Slave ExampleStep 4: Start the NetworkRUNTERMSTOPPWRRUNCPUBATTI/OCOMCPU/POWER 110/220VACOnly the mast
Appendix AMaster / Slave ExampleA–16PLC Master / Slave ExampleCheck the DCM indicators to verify that the network is operating correctly. shows thepro
Appendix AMaster / Slave ExampleA–17PLC Master / Slave ExampleYou’ll need to use the programming device toverify the read requests. Connect theprogram
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
1BPeer Master ExampleIn This Chapter. . . .— The Example— Remember these Four Steps!— Step 1: Design the Network— Step 2: Select the Communication Set
Appendix BPeer Master ExampleB–2Peer Master ExampleThe ExampleThis chapter provides an example of a peer-to-peer network and is designed for theexperi
11How to Usethis ManualIn This Chapter. . . .Ċ Introduction
Appendix BPeer Master ExampleB–3Peer Master ExampleNormally, you can install the modules in any manner. However, we’d like to keep ourexamples consist
Appendix BPeer Master ExampleB–4Peer Master ExampleRemember these Four Steps!Use these steps to build your examplenetwork. The remainder of this chapt
Appendix BPeer Master ExampleB–5Peer Master ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configuration to create a
Appendix BPeer Master ExampleB–6Peer Master ExampleStep 2: Select the Communication SettingsThe next step is to set the communications parameters for
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
Appendix BPeer Master ExampleB–8Peer Master ExampleStep 3: Create the Communications ProgramsWith peer networks, you need a communications program in
Appendix BPeer Master ExampleB–9Peer Master ExampleThe example provides the instructions needed for the DirectSOFT programmingpackage and for the DL40
Appendix BPeer Master ExampleB–10Peer Master ExampleThe following diagram shows the RLL instructions used in the communicationsprogram for peer statio
Appendix BPeer Master ExampleB–11Peer Master ExampleDirectSOFT DL405 HP Mnemonics$0STRN T0$1TMR 0$2K9999$3STRN SP120$4LD K0002$5LD K0001$6LDA O40400$7
Appendix BPeer Master ExampleB–12Peer Master ExampleThe following diagram shows the RLL instructions used in the communicationsprogram for peer statio
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
Appendix BPeer Master ExampleB–13Peer Master ExampleDirectSOFT DL405 HP Mnemonics$0STRN SP120$1LD K0001$2LD K0002$3LDA O2000$4RX V0$5ENDSP120LDK0001LD
Appendix BPeer Master ExampleB–14Peer Master ExampleStep 4: Start the NetworkRUNTERMSTOPPWRRUNCPUBATTI/OCOMCPU/POWER 110/220VACFor this example to wor
Appendix BPeer Master ExampleB–15Peer Master ExampleCheck the DCM indicators to verify the network is operating correctly. shows theproper indicator c
Appendix BPeer Master ExampleB–16Peer Master ExampleYou’ll need to use the programming device toverify the read requests. Connect theprogramming devic
1CHost Master ExampleIn This Chapter. . . .— The Example— Remember these Four Steps!— Step 1: Design the Network— Step 2: Select the Communication Set
Appendix CHost Master ExamplePeer MasterExampleC–2Host Master ExampleThe ExampleA hosted network utilizes an intelligent device, such as a personal co
Appendix CHost Master ExampleHost MasterExampleC–3Host Master ExampleNormally, you can install the modules in any manner. However, we’d like to keep o
Appendix CHost Master ExamplePeer MasterExampleC–4Host Master ExampleRemember these Four Steps!HostUse these steps to build your examplenetwork. The r
Appendix CHost Master ExampleHost MasterExampleC–5Host Master ExampleStep 1: Design the NetworkIn this chapter we’ll use the following example configu
Appendix CHost Master ExamplePeer MasterExampleC–6Host Master ExampleIn our example configuration we have:S A personal computer as the master stationS
How to Use this Manual1–3How to Use this ManualCh 2: Getting Started with DirectNET – provides an overview of DirectNET and allthe network components
Appendix CHost Master ExampleHost MasterExampleC–7Host Master ExampleStep 2: Select the Communication SettingsThe next step is to set the personal com
Appendix CHost Master ExamplePeer MasterExampleC–8Host Master ExampleWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portpara
Appendix CHost Master ExampleHost MasterExampleC–9Host Master ExampleStep 3: Create the Communications ProgramThe communications program used with a h
Appendix CHost Master ExamplePeer MasterExampleC–10Host Master ExampleThe following program will read X0–X7 from Slave Station #1.10 REM Program to re
Appendix CHost Master ExampleHost MasterExampleC–11Host Master Example470 REM Do Header480 RETRY=0490 PRINT #1,HEADER$;LRC$;500 INPUT
Appendix CHost Master ExamplePeer MasterExampleC–12Host Master ExampleThe following program will write a value to Y0 – Y7 in Slave Station #1.10 REM P
Appendix CHost Master ExampleHost MasterExampleC–13Host Master Example340 REM Begin active program350 REM360 CLS370 OPEN ”COM1:9600,N,8,1,RS,DS” AS #1
Appendix CHost Master ExamplePeer MasterExampleC–14Host Master ExampleStep 4: Start the Network.This program was designed to work with GWBasic. Comple
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
1DDL405Data Types andMemory MapsIn This Chapter. . . .— DL405 Data Types— DL430 Memory Map— DL440 Memory Map— X Input Bit Map— Y Output Bit Map— Remot
12Getting Started withDirectNETCommunicationsIn This Chapter. . . .Ċ The DirectNET BasicsĊ What can I use as a network master station?Ċ What can I use
Appendix DDL405 Memory MapHost MasterExampleD–2DL405 Data Types and Memory MapDL405 Data TypesThe following table shows the data types available with
Host MasterExampleAppendix DDL405 Memory MapD–3DL405 Data Types and Memory MapV-memory Address Memory Type DirectNET ReferenceAddressV40400V40401— — —
Appendix DDL405 Memory MapHost MasterExampleD–4DL405 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40000 LSBV
Host MasterExampleAppendix DDL405 Memory MapD–5DL405 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40500 LSBV
Appendix DDL405 Memory MapHost MasterExampleD–6DL405 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnostic status. The foll
Host MasterExampleAppendix DDL405 Memory MapD–7DL405 Data Types and Memory MapDL430 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe
Appendix DDL405 Memory MapHost MasterExampleD–8DL405 Data Types and Memory MapDL440 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe
Host MasterExampleAppendix DDL405 Memory MapD–9DL405 Data Types and Memory MapX Input Bit MapThis table provides a listing of the individual Input poi
Appendix DDL405 Memory MapHost MasterExampleD–10DL405 Data Types and Memory MapY Output Bit MapThis table provides a listing of the individual output
Host MasterExampleAppendix DDL405 Memory MapD–11DL405 Data Types and Memory MapRemote I/O Bit MapThis table provides a listing of the individual remot
Getting Started2–2Getting StartedThe DirectNET Basics DirectNET is an easy-to-use data network for the DirectLOGIC family ofproducts. DirectNET is t
Appendix DDL405 Memory MapHost MasterExampleD–12DL405 Data Types and Memory MapThis portion of the table shows additional Remote I/O points available
Host MasterExampleAppendix DDL405 Memory MapD–13DL405 Data Types and Memory MapControl Relay Bit MapThis table provides a listing of the individual co
Appendix DDL405 Memory MapHost MasterExampleD–14DL405 Data Types and Memory MapThis portion of the table shows additional Control Relays points availa
Host MasterExampleAppendix DDL405 Memory MapD–15DL405 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the indi
Appendix DDL405 Memory MapHost MasterExampleD–16DL405 Data Types and Memory MapMSB DL440 Additional Stage (S) Control Bits (continued) LSB17 16 15 14
Host MasterExampleAppendix DDL405 Memory MapD–17DL405 Data Types and Memory MapTimer Status Bit MapThis table provides a listing of the individual tim
Appendix DDL405 Memory MapHost MasterExampleD–18DL405 Data Types and Memory MapCounter Status Bit MapThis table provides a listing of the individual c
1EDL305Data Types andMemory MapIn This Chapter. . . .— DL305 Data Types— DL330 Memory Map— DL330P Memory Map— DL340 Memory Map— I/O Point Bit Map— Con
Appendix EDL305 Memory MapE–2DL305 Data Types and Memory MapDL305 Data TypesThe following table shows the data types available with the DL405 family o
Appendix EDL305 Memory MapE–3DL305 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnostic status. The only validaddress for
Getting Started2–3Getting StartedThe network is controlled by a master station that issues network commands toindividual slave stations (you cannot “b
Appendix EDL305 Memory MapE–4DL305 Data Types and Memory MapErrorCodeApplicableData TypeError Description00 All types The transfer was successful. 00
Appendix EDL305 Memory MapE–5DL305 Data Types and Memory MapDL330 Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal)
Appendix EDL305 Memory MapE–6DL305 Data Types and Memory MapDL330P Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal
Appendix EDL305 Memory MapE–7DL305 Data Types and Memory MapDL340 Memory MapMemory Type Discrete MemoryReference(octal)Register MemoryReference(octal)
Appendix EDL305 Memory MapE–8DL305 Data Types and Memory MapI/O Point Bit MapThese tables provide a listing of the individual Input points associated
Appendix EDL305 Memory MapE–9DL305 Data Types and Memory MapControl Relay Bit MapThe following tables provide a listing of the individual control rela
Appendix EDL305 Memory MapE–10DL305 Data Types and Memory MapMSB DL330PControl Relay ReferencesLSB RegisterNumber167 166 165 164 163 162 161 160 R1617
Appendix EDL305 Memory MapE–11DL305 Data Types and Memory MapSpecial RelaysThe following table shows the Special Relays used with the DL305 CPUs.CPUsS
Appendix EDL305 Memory MapE–12DL305 Data Types and Memory MapTimer / Counter Registers and ContactsThe following table shows the locations used for pr
Appendix EDL305 Memory MapE–13DL305 Data Types and Memory MapData RegistersThe following 8-bit data registers are primarily used with data instruction
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
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
Appendix EDL305 Memory MapE–15DL305 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the individual stages and
Appendix EDL305 Memory MapE–16DL305 Data Types and Memory MapShift Register Bit MapThe shift register bits listed below are used in the shift register
Appendix EDL305 Memory MapE–17DL305 Data Types and Memory MapSpecial RegistersThis table provides a listing of the special registers used with the DL3
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
Appendix EDL305 Memory MapE–19DL305 Data Types and Memory MapRLLPLUS CPUsTo get to ...I/O Points, CRs, &Shift Registersin a DL305UseRef...in aDL4
1FDL205Data Types andMemory MapIn This Chapter. . . .— DL205 Data Types— DL230 Memory Map— DL240 Memory Map— X Input Bit Map— Y Output Bit Map— Contro
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–2DL205 Data Types and Memory MapDL205 Data TypesThe following table shows the data typ
Appendix FDL205 Memory MapHost MasterExampleF–3DL205 Data Types and Memory MapV-memory Address Memory Type DirectNET ReferenceAddressV40400V40401— — —
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–4DL205 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference
WARNINGThank you for purchasing automation equipment from PLCDirect. We want your new DirectLOGIC automationequipment to operate safely. Anyone who
Getting Started2–5Getting StartedMany operator interfaces can be used asa network master station tocommunicate with one or more slavestations. An oper
Appendix FDL205 Memory MapHost MasterExampleF–5DL205 Data Types and Memory MapV-Memory Address Memory Type Range DirectNETReference AddressV40500 LSBV
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–6DL205 Data Types and Memory MapYou can use Data Type 39 to obtain DirectNET diagnosti
Appendix FDL205 Memory MapHost MasterExampleF–7DL205 Data Types and Memory MapDL230 Memory MapMemory Type Discrete MemoryReference(octal)Word MemoryRe
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–8DL205 Data Types and Memory MapDL240 Memory MapMemory Type Discrete MemoryReference(o
Appendix FDL205 Memory MapHost MasterExampleF–9DL205 Data Types and Memory MapX Input Bit MapThis table provides a listing of the individual Input poi
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–10DL205 Data Types and Memory MapControl Relay Bit MapThis table provides a listing of
Appendix FDL205 Memory MapHost MasterExampleF–11DL205 Data Types and Memory MapStage Control / Status Bit MapThis table provides a listing of the indi
Appendix FDL205 Memory MapPeer MasterExampleHost MasterExampleF–12DL205 Data Types and Memory MapTimer Status Bit MapThis table provides a listing of
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
Getting Started2–7Getting StartedThe following diagram shows the various combinations of master and slave stationsavailable with a DirectNET solution.
Getting Started2–8Getting StartedChoosing a ConfigurationThe network components can be used to create many different network designs.However, all netw
Getting Started2–9Getting StartedThe three types of networks can be combined to solve many different applications.Even though the configurations can b
Getting Started2–10Getting StartedWhat communications program should I use?There are two types of communications programs, RLL instructions or DirectN
Getting Started2–11Getting StartedThe communications program used with a hosted network is more complex than thesimple RLL instructions used with the
Getting Started2–12Getting StartedHow can I create a network?You can easily create a DirectNET network by following four simple steps. Theremainder of
13Network Designand SetupIn This Chapter. . . .Ċ Choosing the ConfigurationĊ Cable Selection and Installation GuidelinesĊ DL430 and DL440 Port Pinouts
Network Designand Setup–23–2Network Design and SetupChoosing the ConfigurationThere are almost as many ways to build your network as there are grains
1Manual RevisionsIf you contact us in reference to this manual, be sure and include the revision number.Title: DirectNET Reference ManualManual Number
Network Designand Setup3–3Network Design and SetupDetermine how you plan to use the information that is transferred. This may help youdesign your netw
Network Designand Setup–43–4Network Design and SetupSince all applications must use one (or more) of the three basic networkconfigurations (PLC as Mas
Network Designand Setup3–5Network Design and SetupWidgetStation 1ProductionLine #1ProductionLine #2WidgetStation 2ProductionManagementConveyor SystemP
Network Designand Setup–63–6Network Design and SetupCable Selection and Installation GuidelinesThere are several considerations that help determine th
Network Designand Setup3–7Network Design and SetupDirectNET can be used in either a point-to-point or multi-drop configuration. Apoint-to-point connec
Network Designand Setup–83–8Network Design and SetupDirectNET supports both RS232C or RS422 communication. Your application andconfiguration choice wi
Network Designand Setup3–9Network Design and SetupThere are two sections in this chapter that provide various types of cable schematicsthat are approp
Network Designand Setup–103–10Network Design and SetupYour company may have guidelines for cable installation. If so, you should checkthose before you
Network Designand Setup3–11Network Design and SetupPLCDirect offers a Universal Cable Kit (part number FA–CABKIT). This cable kitallows you to connec
Network Designand Setup–123–12Network Design and SetupDL430 and DL440 Port PinoutsThe DL430 and DL440 CPUs havebuilt-in DirectNET ports. This port is
1iTable of ContentsChapter 1: How to Use this ManualIntroduction 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Designand Setup3–13Network Design and SetupDL405 DCM Port PinoutsThe DL405 DCM can be used as amaster or slave station interface. Thefollowing
Network Designand Setup–143–14Network Design and SetupDL340 CPU Port PinoutsThe DL340 CPU has two built-inDirectNET slave ports under the hingedcover.
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–
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
Network Designand Setup3–17Network Design and SetupPoint-to-point CablesSlaves: DL405 DCM, DL405 CPU Port, DL305 RS232C DCU2 RXD3516TXDGNDDCDDSR2 TXD3
Network Designand Setup–183–18Network Design and SetupAOr, use phone cableadapter providedwith the deviceOr, use phone cableadapter providedwith the d
Network Designand Setup3–19Network Design and SetupSlaves: DL305 RS422 DCURS232C2 RXD3516TXDGNDDCDDSR3 RXD2720TXDGNDDTRMasterFA–UNICON Converter for S
Network Designand Setup–203–20Network Design and SetupUse phone cableadapterSlaves: DL405 DCM, DL405 CPU Port, DL305 RS232C DCU2 TXD3457RXDRTSCTSGND3
Network Designand Setup3–21Network Design and SetupSlaves: DL305 RS422 DCU25-pin Connector7 GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT–OUT–IN+IN+
Network Designand Setup–223–22Network Design and SetupMulti-Drop CablesWith RS422 you have great flexibility in how you want to design your networkcab
iiTable of ContentsChapter 3: Network Design and SetupChoosing the Configuration 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Designand Setup3–23Network Design and SetupIt is important you add termination resistors at each end of the RS422 line. This helpsreduce data
Network Designand Setup–243–24Network Design and SetupRS422 — — —Slaves: DL405 DCM, DL305 RS422 DCU3 RXD2516TXDGNDDCDDSRMaster4 DTR7RTS8 CTS9-pinConne
Network Designand Setup3–25Network Design and Setup3 RXD2720TXDGNDDTRSlaves: DL340 CPU Port, DL240 CPU Port, DL205 DCM2 RXD3516TXDGNDDCDDSRMaster4 DTR
Network Designand Setup–263–26Network Design and SetupSlaves: DL305 RS232C DCU2 RXD3516TXDGNDDCDDSRMaster4 DTR7RTS8 CTS9-pin Connector3 RXD2720TXDGNDD
Network Designand Setup3–27Network Design and SetupRS422 — — —Slaves: DL405 DCM, DL305 RS422 DCUSlaves: DL405 CPU PortsRS422 — — —22232425+OUT–OUT–IN+
Network Designand Setup–283–28Network Design and SetupSlaves: DL340 CPU Port, DL240 CPU PortDCM Master7GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT
Network Designand Setup3–29Network Design and SetupSlaves: DL305 RS232C DCUDCM Master7GND101112131415161722232425+RTS–RTS+CTS–CTS+OUT–OUT–IN+IN+OUT–OU
Network Designand Setup–303–30Network Design and SetupNetwork Design ChecklistIncorrect network cabling causes many problems. It’s important to make s
14CommunicationSettingsIn This Chapter. . . .Ċ Selecting the communication settingsĊ Setting the station switchesĊ Communications Settings ChecklistĊ
CommunicationSettings4–2Communication SettingsSelecting the communication settings.There are a few things you need to select before you can set the co
iiiTable of ContentsChapter 4: Communication SettingsSelecting the communication settings. 4–2. . . . . . . . . . . . . . . . . . . . . . . . . . . .
CommunicationSettings4–3Communication SettingsSetting the station parametersYou have to set the switches for all the stations on the network, masters
CommunicationSettings4–4Communication SettingsThere are two banks of switches located on the rear of the DCM that are used to setthe communications pa
CommunicationSettings4–5Communication SettingsONLINEOFFLINEUNITADR(HEX)X10X1In the Offline position, this switch logicallydisconnects the DCM from the
CommunicationSettings4–6Communication SettingsFirst, make sure you have the correct model of DCU. There are two models.S D3–232–DCU (RS232C version)S
CommunicationSettings4–7Communication SettingsIn the Offline position, this switch logicallydisconnects the DCU from the network (just asif you pulled
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
CommunicationSettings4–9Communication SettingsWith DirectSOFT, use AUX 56 from theAuxiliary functions menu to set the portparameters.With the DL405 H
CommunicationSettings4–10Communication SettingsIn the example above, when the Network mode switch is set to FIXED the networkaddress will default to 0
CommunicationSettings4–11Communication SettingsThe following chart shows how to configure the baud rate for Port 1 (RS232C) of theDL340 using dipswitc
CommunicationSettings4–12Communication SettingsThe DL240 CPU is set similarly to the DL405CPUs, except that all parameters can be setwith AUX 56 from
ivTable of ContentsChapter 5: RLL Communications ProgramsWhy do you need a communications program? 5–2. . . . . . . . . . . . . . . . . . . . . . . .
CommunicationSettings4–13Communication SettingsThe following example shows you can set the port parameters with the DL205Handheld Programmer.NOTE: The
CommunicationSettings4–14Communication SettingsCommunications Settings ChecklistThe majority of problems are caused by incorrect switch settings. Make
15RLLCommunicationsProgramsIn This Chapter. . . .Ċ Why do you need a communications program?Ċ Identifying the Master and SlaveĊ Specifying the Amount
RLL CommunicationsPrograms5–2RLL Communications ProgramsWhy do you need a communications program?DirectNET is a master / slave network, therefore; the
RLL CommunicationsPrograms5–3RLL Communications ProgramsThis example writes 3 bytes of data from the Master Station (starting at V40600) toY0 – Y37 in
RLL CommunicationsPrograms5–4RLL Communications ProgramsIdentifying the Master and SlaveWhenever the WX or RX instructions are used, they must be prec
RLL CommunicationsPrograms5–5RLL Communications ProgramsSpecifying the Amount of DataThe second LD instruction indicates theamount of data (in bytes)
RLL CommunicationsPrograms5–6RLL Communications ProgramsDesignating the Master Station Memory AreaLDAO40600The Load Address (LDA) instructionspecifies
RLL CommunicationsPrograms5–7RLL Communications ProgramsIdentifying the Slave Station Memory AreaThe Read Network (RX) or Write Network(WX) is the las
RLL CommunicationsPrograms5–8RLL Communications ProgramsControlling the CommunicationsY50SetSP125SP124LDK0201LDK0003LDAO40600RXY0When you execute comm
vTable of ContentsBytes 10 & 11: Complete Data Blocks 6–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RLL CommunicationsPrograms5–9RLL Communications ProgramsIf you’re using multiple reads and writes inthe RLL program, you have to interlockthe routines
RLL CommunicationsPrograms5–10RLL Communications ProgramsWhat part of the manual should you use next?Once you’ve created the communications program, y
16DirectNET HostCommunicationsProgramsIn This Chapter. . . .— Why do you need a communications program?— Modes of Operation— Protocol Components— Cont
DirectNET HostCommunications Prog.6–2DirectNET Host Communications ProgramsWhy do you need a communications program?Since DirectNET is a master / sla
DirectNET HostCommunications Prog.6–3DirectNET Host Communications ProgramsThe following diagram shows the general structure of the communications. Th
DirectNET HostCommunications Prog.6–4DirectNET Host Communications ProgramsModes of OperationDirectNET can transfer a maximum of 65,791 bytes ( 256 bl
DirectNET HostCommunications Prog.6–5DirectNET Host Communications ProgramsIn HEX mode, the number of bytes transferred is equal to the number of byte
DirectNET HostCommunications Prog.6–6DirectNET Host Communications ProgramsProtocol ComponentsAll DirectNET program read and write requests use the f
DirectNET HostCommunications Prog.6–7DirectNET Host Communications ProgramsThe following diagram shows how the protocol components are used with read
DirectNET HostCommunications Prog.6–8DirectNET Host Communications ProgramsControlling the CommunicationsAll read or write requests use ASCII control
viTable of ContentsAppendix A: PLC Master / Slave ExampleThe Example A–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DirectNET HostCommunications Prog.6–9DirectNET Host Communications ProgramsThe following diagram shows how these control codes are combined with the p
DirectNET HostCommunications Prog.6–10DirectNET Host Communications ProgramsInitiating the RequestThe Enquiry is a three character message that initia
DirectNET HostCommunications Prog.6–11DirectNET Host Communications ProgramsAcknowledging the RequestThe three character acknowledge commands are used
DirectNET HostCommunications Prog.6–12DirectNET Host Communications ProgramsDefining the RequestThe header is a 17-byte (18-byte for ASCII transmissio
DirectNET HostCommunications Prog.6–13DirectNET Host Communications ProgramsByte 4 indicates whether the operation is a read or write request. A value
DirectNET HostCommunications Prog.6–14DirectNET Host Communications ProgramsTransferring DataThe data blocks contain the actual data that is being tra
DirectNET HostCommunications Prog.6–15DirectNET Host Communications ProgramsThe HEX ASCII control codes that indicate the beginning and end of data bl
DirectNET HostCommunications Prog.6–16DirectNET Host Communications ProgramsCalculating the Header ChecksumThe LRC yields a checksum which is used to
DirectNET HostCommunications Prog.6–17DirectNET Host Communications ProgramsFrom the table the checksum value is decimal 8. The checksum is contained
DirectNET HostCommunications Prog.6–18DirectNET Host Communications ProgramsEnding the RequestWhen the last data block has been transferred and acknow
Kommentare zu diesen Handbüchern