The text of a manual · part 3 of 60
DL205 PLC User Manual, Volume 1 of 2, pages 21 to 30
Pages 21 to 30 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 21
Table of Contents Parallel Processes Converging Processes Convergence Stages (CV) Convergence Jump (CVJMP) Convergence Stage Guidelines
7–19 7–19 7–19 7–20 7–20
Managing Large Programs Stage Blocks (BLK, BEND) Block Call (BCALL)
7–21 7–21 7–22
RLLPLUS (Stage) Instructions Stage (SG) Initial Stage (ISG) Jump (JMP) Not Jump (NJMP) Converge Stage (CV) and Converge Jump (CVJMP) Block Call (BCALL) Block (BLK) Block End (BEND) Stage View in DirectSOFT
7–23 7–23 7–24 7–24 7–24 7–25 7–27 7–27 7–27 7–28
Questions and Answers about Stage Programming
7–29
Chapter 8: PID Loop Operation
8–1
DL250-1 and DL260 PID Loop Features Main Features
8–2 8–2
Introduction to PID Control Why use PID Control?
8–4 8–4
Introducing DL205 PID Control Process Control Definitions
8–6 8–8
PID Loop Operation Position Form of the PID Equation Reset Windup Protection Freeze Bias Adjusting the Bias Step Bias Proportional to Step Change in SP Eliminating Proportional, Integral or Derivative Action Velocity Form of the PID Equation
8–9 8–9 8–10 8–11 8–11 8–12 8–12 8–12
DL205 User Manual, 4th Edition, Rev. D xiii
Page 22
Table of Contents Bumpless Transfer Loop Alarms Loop Operating Modes Special Loop Calculations
8–13 8–13 8–14 8–14
Ten Steps to Successful Process Control
8–16
PID Loop Setup Some Things to Do and Know Before Starting PID Error Flags Establishing the Loop Table Size and Location Loop Table Word Definitions PID Mode Setting 1 Bit Descriptions (Addr + 00) PID Mode Setting 2 Bit Descriptions (Addr + 01) Mode/Alarm Monitoring Word (Addr + 06) Ramp/Soak Table Flags (Addr + 33) Ramp/Soak Table Location (Addr + 34) Ramp/Soak Table Programming Error Flags (Addr + 35) PV Auto Transfer (Addr + 36) from I/O Module Base/Slot/Channel Option PV Auto Transfer (Addr + 36) from V-memory Option Control Output Auto Transfer (Addr + 37) Configure the PID Loop
8–18 8–18 8–18 8–18 8–20 8–21 8–22 8–23 8–23 8–24 8–24 8–25 8–25 8–25 8–26
PID Loop Tuning Open-Loop Test Manual Tuning Procedure Alternative Manual Tuning Procedures by Others Tuning PID Controllers Auto Tuning Procedure Use DirectSOFT Data View with PID View Open a New Data View Window Open PID View
8–41 8–41 8–42 8–45 8–45 8–46 8–50 8–50 8–51
Using the Special PID Features How to Change Loop Modes Operator Panel Control of PID Modes PLC Modes Effect on Loop Modes Loop Mode Override PV Analog Filter Creating an Analog Filter in Ladder Logic
8–54 8–54 8–55 8–55 8–55 8–56 8–57 xiv
DL205 User Manual, 4th Edition, Rev. D
Page 23
Table of Contents Use the DirectSOFT 5 Filter Intelligent Box (IBOX) Instruction FilterB Example
8–58 8–58
Ramp/Soak Generator Introduction Ramp/Soak Table Ramp/Soak Table Flags Ramp/Soak Generator Enable Ramp/Soak Controls Ramp/Soak Profile Monitoring Ramp/Soak Programming Errors Testing Your Ramp/Soak Profile
8–59 8–59 8–60 8–62 8–62 8–62 8–63 8–63 8–63
DirectSOFT Ramp/Soak Example Setup the Profile in PID Setup Program the Ramp/Soak Control in Relay Ladder Test the Profile
8–64 8–64 8–64 8–65
Cascade Control Introduction Cascaded Loops in the DL205 CPU Tuning Cascaded Loops
8–66 8–66 8–67 8–68
Time-Proportioning Control On/Off Control Program Example
8–69 8–70
Feedforward Control Feedforward Example
8–71 8–72
PID Example Program Program Setup for the PID Loop
8–73 8–73
Troubleshooting Tips
8–76
Glossary of PID Loop Terminology
8–78
Bibliography
8–80
Chapter 9: Maintenance and Troubleshooting Hardware Maintenance Standard Maintenance Air Quality Maintenance Low Battery Indicator CPU Battery Replacement
9–1 9–2 9–2 9–2 9–2 9–2
DL205 User Manual, 4th Edition, Rev. D xv
Page 24
Table of Contents Diagnostics Diagnostics Fatal Errors Non-fatal Errors Finding Diagnostic Information V-memory Locations Corresponding to Error Codes Special Relays (SP) Corresponding to Error Codes I/O Module Codes Error Message Tables System Error Codes Program Error Codes
9–3 9–3 9–3 9–3 9–4 9–4 9–5 9–6 9–7 9–8 9–9
CPU Error Indicators
9–10
PWR Indicator Incorrect Base Power Faulty CPU Device or Module causing the Power Supply to Shutdown Power Budget Exceeded Run Indicator CPU Indicator BATT Indicator
9–11 9–11 9–11 9–12 9–12 9–13 9–13 9–13
Communications Problems
9–13
I/O Module Troubleshooting Things to Check I/O Diagnostics Some Quick Steps Testing Output Points Handheld Programmer Keystrokes Used to Test an Output Point
9–14 9–14 9–14 9–15 9–16 9–16
Noise Troubleshooting Electrical Noise Problems Reducing Electrical Noise
9–17 9–17 9–17
Machine Startup and Program Troubleshooting Syntax Check Duplicate Reference Check TEST-PGM and TEST-RUN Modes Special Instructions Run Time Edits
9–18 9–18 9–19 9–20 9–22 9–24 xvi
DL205 User Manual, 4th Edition, Rev. D
Page 25
Table of Contents Forcing I/O Points Regular Forcing with Direct Access Bit Override Forcing Bit Override Indicators Reset the PLC to Factory Defaults
9–26 9–28 9–29 9–29 9-30
Appendix A: Auxiliary Functions
A–1
Introduction What are Auxiliary Functions? Accessing AUX Functions via DirectSOFT Accessing AUX Functions via the Handheld Programmer
A–2 A–2 A–3 A–3
AUX 2*, RLL Operations AUX 21-24 AUX 21 Check Program AUX 22 Change Reference AUX 23 Clear Ladder Range AUX 24 Clear Ladders
A–4 A–4 A–4 A–4 A–4 A–4
AUX 3*, V-memory Operations AUX 31 AUX 31 Clear V-Memory AUX 4*, I/O Configuration AUX 41-46 AUX 41 Show I/O Configuration AUX 42 I/O Diagnostics AUX 44 Power-up Configuration Check AUX 45 Select Configuration AUX 46 to I/O Configuration
A–5 A–5 A–5 A–5 A–5 A–5 A–5 A–5 A–6 A–6
AUX 5*, CPU Configuration AUX 51-5C AUX 51 Modify Program Name AUX 52 Display/Change Calendar AUX 53 Display Scan Time AUX 54 Initialize Scratchpad AUX 55 Set Watchdog Timer AUX 56 CPU Network Address AUX 57 Set Retentive Ranges
A–7 A–7 A–7 A–7 A–8 A–8 A–8 A–8 A–9
DL205 User Manual, 4th Edition, Rev. D xvii
Page 26
Table of Contents AUX 58 Test Operations AUX 59 Bit Override AUX 5B Counter Interface Configuration AUX 5C Display Error History
A–9 A–10 A–10 A–11
AUX 6*, Handheld Programmer Configuration AUX 61, 62 and 65 AUX 61 Show Revision Numbers AUX 62 Beeper On/Off AUX 65 Run Self Diagnostics
A–12 A–12 A–12 A–12 A–12
AUX 7* - EEPROM Operations AUX 71 - 76 Transferable Memory Areas AUX 71 CPU to HPP EEPROM AUX 72 HPP EEPROM to CPU AUX 73 Compare HPP EEPROM to CPU AUX 74 HPP EEPROM Blank Check AUX 75 Erase HPP EEPROM AUX 76 Show EEPROM Type
A–12 A–12 A–13 A–13 A–13 A–13 A–13 A–13 A–13
AUX 8*, Password Operations AUX 81 - 83 AUX 81 Modify Password AUX 82 Unlock CPU AUX 83 Lock CPU
A–14 A–14 A–14 A–14 A–14
Appendix B: DL205 Error Codes
B–1
Appendix C: Instruction Execution Times
C–1
Introduction V-Memory Data Registers V-Memory Bit Registers How to Read the Tables
C–2 C–2 C–2 C–2
Boolean Instructions
C–3
Comparative Boolean Instructions
C–4
Bit of Word Boolean Instructions
C–13
Immediate Instructions
C–14 xviii
DL205 User Manual, 4th Edition, Rev. D
Page 27
Table of Contents Timer, Counter and Shift Register Instructions
C–15
Accumulator Data Instructions
C–16
Logical Instructions
C–18
Math Instructions
C–20
Differential Instructions
C–23
Bit Instructions
C–24
Number Conversion Instructions
C–25
Table Instructions
C–25
CPU Control Instructions
C–27
Program Control Instructions
C–27
Interrupt Instructions
C–28
Network Instructions
C–28
Intelligent I/O Instructions
C–28
Message Instructions
C–29
RLLPLUS Instructions
C–29
DRUM Instructions
C–29
Clock / Calender Instructions
C–30
Modbus Instructions
C–30
ASCII Instructions
C–30
Appendix D: Special Relays
D–1
DL230 CPU Special Relays Startup and Real-Time Relays CPU Status Relays System Monitoring Accumulator Status Counter Interface Module Relays Equal Relays for Multi-step Presets with Up/Down Counter #1 / DL230 (for use with a Counter Interface Module)
D–2 D–2 D–2 D–2 D–3 D–3
DL240/DL250-1/DL260 CPU Special Relays Startup and Real-Time Relays CPU Status Relays System Monitoring Relays
D–5 D–5 D–5 D–6
DL205 User Manual, 4th Edition, Rev. D
D–4 xix
Page 28
Table of Contents Accumulator Status Relays Counter Interface Module Relays Communications Monitoring Relays Equal Relays for Multi-step Presets with Up/Down Counter #1 (for use with a Counter Interface Module) Equal Relays for Multi-step Presets with Up/Down Counter #2 (for use with a Counter Interface Module)
Appendix E: PLC Memory DL205 PLC Memory Non-volatile V-memory in the DL205
Appendix F: DL205 Product Weight Table
D–6 D–7 D–8 D–9 D–10
E-1 E-2 E-3
F-1
DL205 Product Weight Table
F-2
Appendix G: ASCII Table
G-1
ASCII Conversion Table
G-2
Appendix H: Numbering Systems xx
H–1
Introduction
H–2
Binary Numbering System
H–2
Hexadecimal Numbering System
H–3
Octal Numbering System
H–4
Binary Coded Decimal (BCD) Numbering System
H–5
Real (Floating Point) Numbering System
H–5
BCD/Binary/Decimal/Hex/Octal -What is the Difference?
H–6
Data Type Mismatch
H–7
Signed vs. Unsigned Integers
H–8
AutomationDirect.com Products and Data Types DirectLOGIC PLCs C-more/C-more Micro-Graphic Panels
H–9 H–9 H–9
DL205 User Manual, 4th Edition, Rev. D
Page 29
Table of Contents
Appendix I: European Union Directives (CE)
I-1
European Union (EU) Directives Member Countries Applicable Directives Compliance General Safety Special Installation Manual Other Sources of Information
I-2 I-2 I-2 I-2 I-3 I-4 I-4
Basic EMC Installation Guidelines Enclosures Electrostatic Discharge (ESD) AC Mains Filters Suppression and Fusing Internal Enclosure Grounding Equi–potential Grounding Communications and Shielded Cables Analog and RS232 Cables Shielded Cables within Enclosures Analog Modules and RF Interference Network Isolation DC Powered Versions Items Specific to the DL205
I-5 I-5 I-5 I-6 I-6 I-6 I-7 I-7 I-8 I-8 I-9 I-9 I-9 I-10
DL205 User Manual, 4th Edition, Rev. D xxi
Page 30
Table of Contents
Notes xxii
DL205 User Manual, 4th Edition, Rev. D