Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 2 of 60

DL205 PLC User Manual, Volume 1 of 2, pages 11 to 20

Pages 11 to 20 of 598

The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the AutomationDirect D2-04TD1, AutomationDirect D2-08TD2, AutomationDirect D2-16ND3-2, AutomationDirect D2-32ND3, Konnect-It D2-04TD1, Koyo D2-04TD1, Konnect-It D2-08TD2, Koyo D2-08TD2, and 5 more models

Page 11

Table of Contents Slot Numbering Module Placement Restrictions Special Placement Considerations for Analog Modules Discrete Input Module Status Indicators Color Coding of I/O Modules Wiring the Different Module Connectors I/O Wiring Checklist

2–26 2–26 2–27 2–27 2–27 2–28 2–29

D2-08ND3, DC Input

2–30

D2-16ND3-2, DC Input

2–30

D2–32ND3, DC Input

2–31

D2–32ND3–2, DC Input

2–32

D2-08NA-1, AC Input

2–33

D2-08NA-2, AC Input

2–34

D2-16NA, AC Input

2–35

F2-08SIM, Input Simulator

2–35

D2-04TD1, DC Output

2–36

D2–08TD1, DC Output

2–37

D2–08TD2, DC Output

2–37

D2–16TD1–2, DC Output

2–38

D2–16TD2–2, DC Output

2–38

F2–16TD1(2)P, DC Output With Fault Protection

2–39

F2–16TD1P, DC Output With Fault Protection

2–40

F2–16TD2P, DC Output with Fault Protection

2–41

D2–32TD1, DC Output

2–42

D2–32TD2, DC Output

2–42

F2–08TA, AC Output

2–43

D2–08TA, AC Output

2–43

D2–12TA, AC Output

2–44

D2–04TRS, Relay Output

2–45

D2–08TR, Relay Output

2–46

F2–08TR, Relay Output

2–47 DL205 User Manual, 4th Edition, Rev. D iii

Page 12

Table of Contents F2–08TRS, Relay Output

2–48

D2–12TR, Relay Output

2–49

D2–08CDR 4 pt., DC Input / 4pt., Relay Output

2–50

Glossary of Specification Terms

2–51

Chapter 3: CPU Specifications and Operations iv

3–1

CPU Overview General CPU Features DL230 CPU Features DL240 CPU Features DL250–1 CPU Features DL260 CPU Features

3–2 3–2 3–2 3–2 3–3 3–3

CPU General Specifications

3–4

CPU Base Electrical Specifications

3–5

CPU Hardware Setup Communication Port Pinout Diagrams Port 1 Specifications Port 2 Specifications

3–6 3–6 3–7 3–8

Selecting the Program Storage Media Built-in EEPROM EEPROM Sizes EEPROM Operations Installing the CPU Connecting the Programming Devices CPU Setup Information Status Indicators Mode Switch Functions Changing Modes in the DL205 PLC Mode of Operation at Power-up

3–9 3–9 3–9 3–9 3–10 3–10 3–11 3–12 3–12 3–13 3–13

Using Battery Backup DL230 and DL240 DL250-1 and DL260 Battery Backup Auxiliary Functions Clearing an Existing Program

3–14 3–14 3–14 3–14 3–15 3–16

DL205 User Manual, 4th Edition, Rev. D

Page 13

Table of Contents Initializing System Memory Setting the Clock and Calendar Setting the CPU Network Address Setting Retentive Memory Ranges Using a Password Setting the Analog Potentiometer Ranges

3–16 3–16 3–17 3–17 3–18 3–19

CPU Operation CPU Operating System Program Mode Operation Run Mode Operation Read Inputs Read Inputs from Specialty and Remote I/O Service Peripherals and Force I/O CPU Bus Communication Update Clock, Special Relays and Special Registers Solve Application Program Solve PID Loop Equations Write Outputs Write Outputs to Specialty and Remote I/O Diagnostics

3–21 3–21 3–22 3–22 3–23 3–23 3–23 3–24 3–24 3–25 3–25 3–25 3–26 3–26

I/O Response Time Is Timing Important for Your Application? Normal Minimum I/O Response Normal Maximum I/O Response Improving Response Time

3–27 3–27 3–27 3–27 3–28

CPU Scan Time Considerations Initialization Process Reading Inputs Reading Inputs from Specialty I/O Service Peripherals CPU Bus Communication Update Clock/Calendar, Special Relays, Special Registers Writing Outputs Writing Outputs to Specialty I/O Diagnostics Application Program Execution

3–29 3–30 3–30 3–31 3–31 3–32 3–32 3–32 3–33 3–33 3–34

DL205 User Manual, 4th Edition, Rev. D v

Page 14

Table of Contents vi

PLC Numbering Systems PLC Resources V–Memory Binary-Coded Decimal Numbers Hexadecimal Numbers

3–35 3–35 3–36 3–36 3–36

Memory Map Octal Numbering System Discrete and Word Locations V–Memory Locations for Discrete Memory Areas Input Points (X Data Type) Output Points (Y Data Type) Control Relays (C Data Type) Timers and Timer Status Bits (T Data type) Timer Current Values (V Data Type) Counters and Counter Status Bits (CT Data type) Counter Current Values (V Data Type) Word Memory (V Data Type) Stages (S Data type) Special Relays (SP Data Type) Remote I/O Points (GX Data Type)

3–37 3–37 3–37 3–37 3–38 3–38 3–38 3–38 3–39 3–39 3–39 3–39 3–40 3–40 3–40

DL230 System V-memory

3–41

DL240 System V-memory

3–43

DL250–1 System V-memory (DL250 also)

3–46

DL260 System V-memory

3–49

DL205 Aliases

3–52

DL230 Memory Map

3–53

DL240 Memory Map

3–54

DL250–1 Memory Map (DL250 also)

3–55

DL260 Memory Map

3–56

X Input/Y Output Bit Map

3–57

Control Relay Bit Map

3–59

Stage Control/Status Bit Map

3–63

Timer and Counter Status Bit Maps

3–65

Remote I/O Bit Map

3–66

DL205 User Manual, 4th Edition, Rev. D

Page 15

Table of Contents

Chapter 4: System Design and Configuration

4–1

DL205 System Design Strategies I/O System Configurations Networking Configurations

4–2 4–2 4–2

Module Placement Slot Numbering Module Placement Restrictions Automatic I/O Configuration Manual I/O Configuration Removing a Manual Configuration Power–On I/O Configuration Check I/O Points Required for Each Module

4–3 4–3 4–3 4–4 4–4 4–5 4–5 4–6

Calculating the Power Budget Managing your Power Resource CPU Power Specifications Module Power Requirements Power Budget Calculation Example Power Budget Calculation Worksheet

4–7 4–7 4–7 4–7 4–9 4–10

Local Expansion I/O D2–CM Local Expansion Module D2–EM Local Expansion Module D2–EXCBL–1 Local Expansion Cable DL260 Local Expansion System DL250–1 Local Expansion System Expansion Base Output Hold Option Enabling I/O Configuration Check using DirectSOFT

4–11 4–11 4–12 4–12 4–13 4–14 4–15 4–16

Expanding DL205 I/O I/O Expansion Overview Ethernet Remote Master, H2-ERM(100)(-F) Ethernet Remote Master Hardware Configuration Installing the ERM Module Ethernet Base Controller, H2-EBC(100)(-F) Install the EBC Module Set the Module ID Insert the EBC Module Network Cabling

4–17 4–17 4–17 4–18 4–19 4–22 4–23 4–23 4–23 4–24

DL205 User Manual, 4th Edition, Rev. D vii

Page 16

Table of Contents 10BaseFL Network Cabling Maximum Cable Length Add a Serial Remote I/O Master/Slave Module Configuring the CPU’s Remote I/O Channel Configure Remote I/O Slaves Configuring the Remote I/O Table Remote I/O Setup Program Remote I/O Test Program

4–25 4–25 4–26 4–27 4–29 4–29 4–30 4–31

Network Connections to Modbus and DirectNet Configuring Port 2 For DirectNet Configuring Port 2 For Modbus RTU Modbus Port Configuration DirectNET Port Configuration

4–32 4–32 4–32 4–33 4–34

Network Slave Operation Modbus Function Codes Supported Determining the Modbus Address If Your Host Software Requires the Data Type and Address If Your Modbus Host Software Requires an Address ONLY Example 1: V2100 584/984 Mode Example 2: Y20 584/984 Mode Example 3: T10 Current Value 484 Mode Example 4: C54 584/984 Mode Determining the DirectNET Address Network Master Operation Communications from a Ladder Program Multiple Read and Write Interlocks

4–35 4–35 4–35 4–35 4–38 4–40 4–40 4–40 4–40 4–40 4–41 4–44 4–44

Network Modbus RTU Master Operation (DL260 only) Modbus Function Codes Supported Modbus Port Configuration RS–485 Network (Modbus only) RS–232 Network Modbus Read from Network (MRX) MRX Slave Memory Address MRX Master Memory Addresses MRX Number of Elements MRX Exception Response Buffer Modbus Write to Network (MWX)

4–45 4–45 4–46 4–47 4–47 4–48 4–49 4–49 4–49 4–49 4–50 viii

DL205 User Manual, 4th Edition, Rev. D

Page 17

Table of Contents MWX Slave Memory Address MWX Master Memory Addresses MWX Number of Elements MWX Exception Response Buffer MRX/MWX Example in DirectSOFT Multiple Read and Write Interlocks

4–51 4–51 4–51 4–51 4–52 4–52

Non–Sequence Protocol (ASCII In/Out and PRINT) Configure the DL260 Port 2 for Non-Sequence RS–485 Network RS–232 Network Configure the DL250-1 Port 2 for Non-Sequence RS–422 Network RS–232 Network

Chapter 5: RLL and Intelligent Box (IBOX) Instructions

4–54 4–54 4–55 4–55 4–56 4–57 4–57

5–1

Introduction

5–2

Using Boolean Instructions END Statement Simple Rungs Normally Closed Contact Contacts in Series Midline Outputs Parallel Elements Joining Series Branches in Parallel Joining Parallel Branches in Series Combination Networks Comparative Boolean Boolean Stack Immediate Boolean

5–5 5–5 5–5 5–6 5–6 5–6 5–7 5–7 5–7 5–7 5–8 5–8 5–9

Boolean Instructions

5–10

Comparative Boolean

5–27

Immediate Instructions

5–33

Timer, Counter and Shift Register Instructions Using Timers Timer Example Using Discrete Status Bits

5–41 5–41 5–43

DL205 User Manual, 4th Edition, Rev. D ix

Page 18

Table of Contents Timer Example Using Comparative Contacts Accumulating Timer (TMRA) Accumulating Timer Example using Discrete Status Bits Accumulator Timer Example Using Comparative Contacts Counter Example Using Discrete Status Bits Counter Example Using Comparative Contacts Stage Counter Example Using Discrete Status Bits Stage Counter Example Using Comparative Contacts Up/Down Counter Example Using Discrete Status Bits Up/Down Counter Example Using Comparative Contacts x

5–43 5–44 5–45 5–45 5–47 5–47 5–49 5–49 5–51 5–51

Accumulator/Stack Load and Output Data Instructions

5–53

Logical Instructions (Accumulator)

5–71

Math Instructions

5–88

Transcendental Functions (DL260 only)

5–121

Bit Operation Instructions

5–123

Number Conversion Instructions (Accumulator)

5–130

Table Instructions

5–144

Clock/Calendar Instructions

5–175

CPU Control Instructions

5–177

Program Control Instructions

5–179

Interrupt Instructions

5–187

Intelligent I/O Instructions

5–191

Network Instructions

5–193

Message Instructions

5–197

Modbus RTU Instructions (DL260) Modbus Read from Network (MRX) Modbus Write to Network (MWX)

5–205 5–205 5–208

ASCII Instructions (DL260)

5–211

Intelligent Box (IBox) Instructions (DL250-1/DL260)

5-230

DL205 User Manual, 4th Edition, Rev. D

Page 19

Volume Two: Table of Contents Chapter 6: Drum Instruction Programming (DL250-1/DL260 only)

6–1

Introduction Purpose Drum Terminology Drum Chart Representation Output Sequences

6–2 6–2 6–2 6–3 6–3

Step Transitions Drum Instruction Types Timer-Only Transitions Timer and Event Transitions Event-Only Transitions Counter Assignments Last Step Completion

6–4 6–4 6–4 6–5 6–6 6–6 6–7

Overview of Drum Operation Drum Instruction Block Diagram Powerup State of Drum Registers

6–8 6–8 6–9

Drum Control Techniques Drum Control Inputs Self-Resetting Drum Initializing Drum Outputs Using Complex Event Step Transitions

6–10 6–10 6–11 6–11 6–11

Drum Instruction Timed Drum with Discrete Outputs (DRUM) Event Drum (EDRUM) Handheld Programmer Drum Mnemonics Masked Event Drum with Discrete Outputs (MDRMD) Masked Event Drum with Word Output (MDRMW)

6–12 6–12 6–14 6–16 6–19 6–21

DL205 User Manual, 4th Edition, Rev. C xi

Page 20

Table of Contents

Chapter 7: RLLPLUS Stage Programming

7–1

Introduction to Stage Programming Overcoming “Stage Fright”

7–2 7–2

Learning to Draw State Transition Diagrams Introduction to Process States The Need for State Diagrams A 2–State Process RLL Equivalent Stage Equivalent Let’s Compare Initial Stages What Stage Bits Do Stage Instruction Characteristics

7–3 7–3 7–3 7–3 7–4 7–4 7–5 7–5 7–6 7–6

Using the Stage Jump Instruction for State Transitions Stage Jump, Set, and Reset Instructions

7–7 7–7

Stage Program Example: Toggle On/Off Lamp Controller A 4–State Process

7–8 7–8

Four Steps to Writing a Stage Program

7–9

Stage Program Example: A Garage Door Opener Garage Door Opener Example Draw the Block Diagram Draw the State Diagram Add Safety Light Feature Modify the Block Diagram and State Diagram Using a Timer Inside a Stage Add Emergency Stop Feature Exclusive Transitions

7–10 7–10 7–10 7–11 7–12 7–12 7–13 7–14 7–14

Stage Program Design Considerations Stage Program Organization How Instructions Work Inside Stages Using a Stage as a Supervisory Process Stage Counter Unconditional Outputs Power Flow Transition Technique

7–15 7–15 7–16 7–17 7–17 7–18 7–18

Parallel Processing Concepts

7–19 xii

DL205 User Manual, 4th Edition, Rev. D