Rockwell Automation 1761-HHP-B30 User Manual

Allen-Bradley
MicroLogixt 1000 with Hand-Held
User
Programmer (HHP)
(Cat. No. 1761-HHP-B30)
Manual

Important User Information

Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation, and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc., is prohibited.
Throughout this manual we use notes to make you aware of safety considerations:
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or
!
Attention statements help you to:
death, property damage or economic loss.
identify a hazard
avoid the hazard
recognize the consequences
Important: Identifies information that is critical for successful
application and understanding of the product.
SLC 500 and MicroLogix are trademarks of Rockwell Automation.

Preface

Preface
Read this preface to familiarize yourself with the rest of the manual. This preface covers the following topics:

who should use this manual

the purpose of this manual
how to use this manual
conventions used in this manual
Allen-Bradley support
Who
Should Use this Manual

Purpose of this Manual

Use this manual if you are responsible for designing, installing, programming, or troubleshooting control systems that use Allen-Bradley micro controllers.
You should have a basic understanding of electrical circuitry and familiarity with relay logic. If you do not, obtain the proper training before using this product.
This manual is a reference guide for the MicroLogix 1000 Programmable Controller with a MicroLogix 1000 Hand-Held Programmer (HHP). It describes the procedures you use to install, wire, and program your micro controller. This manual:
gives you an overview of the micro controller system
provides a quick start chapter for beginners
describes how to use the Hand-Held Programmer
guides you through how to interpret the instruction set
contains application examples to show the instruction set in use
If you are using programming software with your MicroLogix 1000 Programmable Controller, see page P–4 for related publications.
P–1
Preface
Programmi
Programmi
Contents
Tab Chapter Title Contents
Installing 2 Wiring Your Controller Provides wiring guidelines and diagrams.
ng
ng
of this Manual
Preface
1 Installing Your Controller
3 Connecting the System
Using Y
4
5 Quick Start for New Users
6 Programming Overview
7 Using Analog
8 Using Basic Instructions
9
10 Using Math Instructions
11
our Hand-Held
Programmer
Using Comparison Instructions
Using Data Handling Instructions
Describes the purpose, background, and scope of this manual. Also specifies the audience for whom this manual is intended.
Provides controller installation procedures and system safety considerations.
Gives information on wiring your controller system for the DF1 protocol or DH-485 network.
Describes how to power-up and use your MicroLogix 1000 Hand-Held Programmer (HHP). Also explains how to install the HHPs memory module.
Provides step-by-step instructions on how to enter a program, edit it, and then monitor it.
Provides an overview of principles of machine control, a section on file organization and addressing, and a program development model.
Provides information on I/O image file format, I/O configuration, input filter and update times and conversion of analog data.
Describes how to use the instructions for relay replacement functions, counting, and timing.
Describes how to use the instructions to compare values of data in your logic program.
Describes how to use the instructions that perform basic math functions.
Describes how to perform data handling instructions, including move and logical instructions and FIFO and LIFO instructions.
P–2
12
13
14
15
Using Program Flow Control Instructions
Using Application Specific Instructions
Using High-Speed Counter Instructions
Using Communication Protocols
Describes the instructions that affect program flow and execution.
Describes the bit shift, sequencer and STI related instructions.
Describes the four modes of the high-speed counter instruction and its related instructions.
Provides a general overview of the types of communication, and explains how to establish network communication using the message instruction.
Tab ContentsTitleChapter
Programmi
16
Instruction List Programming
Preface
Provides examples to teach you Instruction List programming and describes programming considerations.
17
ng
18
19 Common Procedures
Troubleshooting 20
Appendix A
Appendix B Programming Reference
Reference
Appendix C
Appendix D
Reference Appendix E Application Programs
Reference Appendix F
Entering and Editing Your Program
After You’ve Entered Your Program
Troubleshooting Your System
Hardware Reference
Valid Addressing Modes and File T Instruction Parameters
Understanding the Communication Protocols
Optional Analog Input Software Calibration
Glossary
ypes for
Describes the various editing functions you can use with your program, including search, overwrite, and delete.
Describes how to configure, run, and monitor your program.
Describes how to perform additional procedures using the HHP menu.
Explains how to interpret and correct problems with your micro controller system.
Provides physical, electrical, environmental, and functional specifications.
Explains the system status file, lists the HHP function codes, and provides instruction execution times.
Provides a listing of the instructions along with their parameters and valid file types.
Contains descriptions of the DF1 protocol and DH-485 network.
Provides advanced application examples for the high-speed counter
Explains how to calibrate your controller using software offsets.
Contains definitions for terms and abbreviations that are specific to this product.
, sequencer
, and bit shift instructions.
For More Information
As part of our effort to preserve, protect, and improve our environment, Allen-Bradley is reducing the amount of paper we use. Less paper means more options for you. In addition to traditional printed publications and CD-ROM versions, we now offer on-line manuals with the most up-to-date information you can get. We recommend that you read the related publications listed on the next page before starting up your control system.
P–3
Preface
Informati
iri
MicroLogix 1000
Informati
iri
MicroLogix 1000
Related Publications
For Read this Document Document Number
A description on how to install and use your MicroLogix 1000 Programmable Controllers. This manual also contains status file data and instruction set information
MicroLogix 1000 Programmable Controllers User Manual
1761-6.3
A reference manual that contains the status file data and the instruction set information for the SLC 500 processors and MicroLogix 1000 controllers
on on mounting and w
on on mounting and w
controllers, including a mounting template for easy installation
The procedures necessary to install and connect the AIC+ and DNI
A description on how to install and connect an AIC+. This manual also contains information on network wiring.
Information on how to install, configure, and commission a DNI DeviceNet Interface User Manual 1761-6.5 In-depth information on grounding and wiring Allen-Bradley
programmable controllers
ng the
ng the
SLC 500 and MicroLogix 1000 Instruction Set Reference Manual
MicroLogix 1000 Programmable Controllers Installation Instructions
MicroLogix 1000 (Analog) Programmable Controllers Installation Instructions
Advanced Interface Converter (AIC+) and DeviceNet Interface (DNI) Installation Instructions
Advanced Interface Converter (AIC+) User Manual
Allen-Bradley Programmable Controller Grounding and Wiring Guidelines
1747-6.15
1761-5.1.2
1761-5.1.3
1761-5.11
1761-6.4
1770-4.1
How to Get More Information
For Obtain Information By
Fast access to related publications
V isiting the MicroLogix internet site http://www.abmicrologix.com — Electronic versions of our manuals are available for you to search and down load.
Calling local Allen-Bradley distributor.
P–4
Publications in printed or CD
-ROM format
Multiple copies of a manual
Manuals in other languages
Ordering a manual or CD-ROM using one of the following methods:
Fill out and return the User Manual Request Card that was shipped with the unit.
V isiting the Automation Bookstore at http://www.theautomationbookstore.com
V isiting the Automation Bookstore at http://www.theautomationbookstore.com
Adding a 2-letter suffix to the end of the publication number when ordering.
French – FR German – DE Italian – IT Spanish – ES Portuguese – PT (DNI only)
Related Documentation
P
The following documents contain additional information concerning Allen-Bradley products. To obtain a copy, contact your local Allen-Bradley office or distributor.
For Read This Document Document Number
A description of important differences between solid-state programmable controller products and hard-wired electromechanical devices
Application Considerations for Solid-State Controls
Preface
SGI-1.1
An article on wire sizes and types for grounding electrical equipment
A complete listing of current documentation, including ordering instructions. Also indicates whether the documents are available on CD-ROM or in multi-languages.
A glossary of industrial automation terms and abbreviations

Common Techniques Used in this Manual

National Electrical Code
Allen-Bradley Publication Index SD499
Allen-Bradley Industrial Automation Glossary
Published by the National Fire Protection Association of Boston, MA.
AG-7.1
The following conventions are used throughout this manual:
Bulleted lists such as this one provide information, not procedural steps.
Numbered lists provide sequential steps or hierarchical information.
Italic type is used for emphasis.
Text in this font indicates words that appear on the HHP display.
NEW
RUNG
Keypad icons, like the one at the left, match the key you
T
should press.
For operations that require you to press a sequence of keys, the keypad
icons are displayed horizontally on the page, with the resulting screen shown beneath. For example:
LD
MENU
7
I
ENT
6
0 0 0
I/6 0
If a character is flashing on the HHP display, it is shown unbolded (such
as the P in the screen above).
For operations that require you to press two keys simultaneously, the
keypad icons are displayed side-by-side as shown here:
ESC
1
For operations that require you to press an arrow key, the key you should press is shown bolded, such as the right arrow key shown here.
P–5
Preface
Allen-Bradley
Support
Allen-Bradley offers support services worldwide, with over 75 Sales/Support Offices, 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone, plus Allen-Bradley representatives in every major country in the world.
Local
Product Support
Contact your local Allen-Bradley representative for:
sales and order support
product technical training
warranty support
support service agreements
Technical Product Assistance
If you need to contact Allen-Bradley for technical assistance, please review the information in the Troubleshooting chapter first. Then call your local Allen-Bradley representative.
Your Questions or Comments on this Manual
If you find a problem with this manual, please notify us of it on the enclosed Publication Problem Report.
If you have any suggestions for how this manual could be made more useful to you, please contact us at the address below:
Allen-Bradley Company, Inc. Control and Information Group Technical Communication, Dept. 602V, T122 P.O. Box 2086 Milwaukee, WI 53201-2086
or visit our internet page at:
http://www.abmicrologix.com
P–6
T
able of Contents
MicroLogix (HHP) User Manual
1000 with Hand–Held Programmer
Preface
Who
Should Use this Manual Purpose Common
Allen-Bradley Support P–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
of this Manual
T
echniques Used in this Manual
Hardware
P–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
P–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
P–5. . . . . . . . . . . . . . . . . . . . . . . . . .
Installing Y
W
iring Y
our Controller
our Controller
Chapter
Compliance
Hardware Overview 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Master
Using Surge Suppressors 1–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety Considerations 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Considerations 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preventing Excessive Heat 1–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller Spacing 1–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mounting
Chapter
Grounding
Sinking and Sourcing Circuits 2–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Recommendations 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Minimizing Grounding Wiring Analog Wiring
1
to European Union Directives
Control Relay
the Controller
2
Guidelines
Diagrams, Discrete Input and Output V
Electrical Noise on Analog Controllers Y
our Analog Cable 2–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Y
our Analog Channels 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
V
oltage and Current Input and Output Ranges
Y
our Controller for High-Speed Counter Applications 2–23. . . . . . . . . . . . .
oltage Ranges 2–6. . . . . . . . . . . . .
1–1. . . . . . . . . . . . . . . . . . . . . . . . . .
1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2–20. . . . . . . . . . . . . . . . . . . . .
2–22. . . . . . . . . . . . . . . . .
Connecting the System
Chapter
Connecting Connecting Connecting Establishing DeviceNet
3
the HHP to a DH-485 Network the AIC+
Communication
Communications
3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
toc–i
T
able of Contents
MicroLogix (HHP) User Manual
1000 with Hand–Held Programmer
Programming
Using Y
our Hand-Held
Programmer
Quick Start for New Users
Programming Overview
Chapter
About Your HHP 4–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing The
Identifying the Power-Up Sequence 4–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding Changing
Chapter
What Preparing
Entering and Running the Program 5–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring What
Chapter
Principles Understanding
Understanding How Programs are Stored and Accessed 6–5. . . . . . . . . . . . . . .
Addressing Applying Developing
4
the Optional Memory Module
Keys Y
ou Use 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the HHPs Functional Areas
the HHPs Defaults
5
to Do First
to Enter a New Program
Operation
to Do Next
6
of Machine Control
File Organization
Data Files
Logic to Y
Y
our Schematics 6–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
our Logic Program – A Model 6–17. . . . . . . . . . . . . . . . . . . . . . . . .
4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–7. . . . . . . . . . . . . . . . . . . . . . . . .
4–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Analog
Using Basic Instructions
toc–ii
Chapter
I/O I/O Input Converting
Chapter
About
Bit Instructions Overview 8–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load (LD), And (AND), and Or (OR) 8–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load Load One-Shot
7
Image Configuration
Filter and Update T
Analog Data
imes 7–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
Basic Instructions
Inverted (LDI), And Inverted (ANI), and Or Inverted (ORI) T
rue (LDT) and Or True (ORT) 8–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rising (OSR)
7–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–4. . . . . . . . . . .
8–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T
able of Contents
MicroLogix (HHP) User Manual
Output (OUT) 8–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set (SET) and Reset (RST) 8–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Branch Instructions Overview 8–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Memory Push (MPS), Memory Read (MRD), and Memory Pop (MPP) 8–10. . . . . .
And Block (ANB) and Or Block (ORB) 8–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Timer Instructions Overview 8–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Timer On-Delay (TON) 8–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Of
Timer Retentive
Counter Instructions Overview 8–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Count Up (CTU) 8–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Count Down (CTD) 8–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset (RES) 8–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Basic
f-Delay (TOF) 8–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T
imer (RTO) 8–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instructions in the Paper Drilling Machine Application Example
1000 with Hand–Held Programmer
8–28. . . . . . .
Using Comparison Instructions
Using Math Instructions
Chapter
About
Comparison Instructions Overview 9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Equal (EQU) 9–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Not Equal (NEQ) 9–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Less Than (LES) 9–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Less Than or Equal (LEQ) 9–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Greater
Greater Than or Equal (GEQ) 9–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Masked Comparison for Equal (MEQ) 9–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Limit Comparison
9
the Comparison Instructions
Than (GR
T
est (LIM) 9–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T) 9–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instructions in the Paper Drilling Machine Application Example
Chapter 10
About
the Math Instructions
Math Instructions Overview 10–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add (ADD) 10–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Subtract (SUB) 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addition and Subtraction
32-Bit
Multiply (MUL) 10–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Divide (DIV) 10–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Divide (DDV)
Double
Clear (CLR) 10–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Square
Root (SQR)
Scale Data (SCL) 10–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instructions in the Paper Drilling Machine Application Example
Math
9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9–12. .
10–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10–15. . . . . . .
toc–iii
T
able of Contents
MicroLogix (HHP) User Manual
1000 with Hand–Held Programmer
Using Data Handling Instructions
Chapter 11
About
the Data Handling Instructions Convert Convert Decode Encode Copy
Move and Logical Instructions Overview 11–13. . . . . . . . . . . . . . . . . . . . . . . . . . .
Move (MOV) 11–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Masked Move (MVM) 11–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
And (AND) 11–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Or (OR) 11–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exclusive Or (XOR) 11–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Not (NOT) 11–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Negate (NEG) 11–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FIFO
FIFO Load (FFL) and FIFO Unload (FFU) 11–25. . . . . . . . . . . . . . . . . . . . . . . . . .
LIFO Load (LFL) and LIFO Unload (LFU) 11–28. . . . . . . . . . . . . . . . . . . . . . . . . . .
Data
to BCD (T from BCD (FRD) 4 to 1 of 16 (DCD) 1 of 16 to 4 (ENC)
File (COP) and Fill File (FLL) Instructions
and LIFO Instructions Overview
Handling Instructions in the Paper Drilling Machin
Application Example
OD) 11–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–10. . . . . . . . . . . . . . . . . . . . . .
11–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Program Flow Control Instructions
Using Application Specific Instructions
Chapter 12
About
the Program Flow Control Instructions
Jump (JMP) and Label (LBL) 12–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jump to Subroutine (JSR), Subroutine (SBR), and Return (RET) 12–3. . . . . . . . . .
Control Reset (MCR)
Master
Temporary End (TND) 12–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Suspend (SUS) 12–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Immediate Immediate Program
Input with Mask (IIM) Output with Mask (IOM)
Flow Control Instructions in the Paper Drilling Machine
Application Example
Chapter 13
About
the Application Specific Instructions
Shift Instructions Overview
Bit
Shift Left (BSL)
Bit
Shift Right (BSR)
Bit
Sequencer Instructions Overview 13–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequencer Output (SQO) and Sequencer Compare (SQC) 13–6. . . . . . . . . . . . . .
Sequencer Load (SQL) 13–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T
Selectable
imed Interrupt (STI) Function Overview 13–15. . . . . . . . . . . . . . . . . . .
12–1. . . . . . . . . . . . . . . . . . . . . . . .
12–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13–1. . . . . . . . . . . . . . . . . . . . . . . . . .
13–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
toc–iv
T
able of Contents
MicroLogix (HHP) User Manual
Selectable Timed Disable (STD) and Enable (STE) 13–17. . . . . . . . . . . . . . . . . . .
T
Selectable
Interrupt Subroutine (INT) 13–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application
Application Example
imed Start (STS)
Specific Instructions in the Paper Drilling Machine
1000 with Hand–Held Programmer
13–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using High–Speed Counter Instructions
Using Communication Protocols
Chapter 14
About the High-Speed Counter Instructions 14–1. . . . . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter Instructions Overview 14–2. . . . . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter (HSC) 14–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter Load (HSL) 14–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter Reset (RES) 14–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter Reset Accumulator (RAC) 14–20. . . . . . . . . . . . . . . . . . . . . .
High-Speed Counter Interrupt Enable (HSE) and Disable (HSD) 14–21. . . . . . . . . .
Update High-Speed Counter Image Accumulator (OUT) 14–23. . . . . . . . . . . . . . . .
Happens to the HSC When Going to RRUN Mode
What High-Speed
Application Example
Counter Instructions in the Paper Drilling Machine
Chapter 15
Types
of Communication Message Timing
MSG Instruction Error Codes 15–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application
Instruction (MSG)
Diagram for a Successful MSG Instruction
Examples that Use the MSG Instruction
14–23. . . . . . . . . . . . . . . .
14–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15–9. . . . . . . . . . . . . . . . . . . .
15–12. . . . . . . . . . . . . . . . . . .
Instruction List Programming Concepts
Entering and Editing Y
our
Program
Chapter 16
Programming
Programming Considerations 16–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples
Chapter 17
Entering
Editing Considerations 17–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Modes 17–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Deleting Instructions and Rungs 17–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Searching for Specific Addresses 17–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the Program Monitor
16–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
toc–v
T
able of Contents
MicroLogix (HHP) User Manual
1000 with Hand–Held Programmer
After You’ve Entered Your Program
Common Procedures
Chapter 18
Changing Accepting
Changing Controller Modes 18–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Viewing Using Forcing
the Program Configuration Defaults
Y
our Program Edits 18–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Y
our Controller 18–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data T
able Files
the Multi-Point Function
Inputs and Outputs
Chapter 19
Using
a Memory Module Clearing Changing Changing
a Program from the Micro Controller
the Micro Controller’s Baud Rate the Micro Controller’s Communication Defaults
Troubleshooting
18–1. . . . . . . . . . . . . . . . . . . . . . .
18–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19–6. . . . . . . . . . . . . . . . . . . . . . . .
19–6. . . . . . . . . . . . . . . . . . . . . . . . .
19–7. . . . . . . . . . . . . . .
roubleshooting Y
T
our System
Hardware Reference
Chapter 20
Understanding
Identifying HHP Errors 20–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the T
Using
Controller Error Recovery Model 20–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying Recovering
Calling Allen-Bradley for Assistance 20–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the Controller LED Status
race Feature 20–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller Faults
Y
our Work 20–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reference
Appendix A
Controller Controller
Hand-Held Programmer Specifications A–9. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller and Hand-Held Programmer Accessories and Replacement Parts A–11.
Specifications Dimensions
20–1. . . . . . . . . . . . . . . . . . . . . . . . . . .
20–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
toc–vi
T
able of Contents
MicroLogix (HHP) User Manual
1000 with Hand–Held Programmer
Programming Reference
Valid Addressing Modes and File T
ypes for Instruction
Parameters
Understanding the Communication Protocols
Application Example Programs
Appendix B
Controller
Function Codes B–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instruction
Status File
Execution T
imes and Memory Usage B–16. . . . . . . . . . . . . . . . . . . . .
Appendix C
Available
Available Addressing Modes C–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File T
ypes C–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D
RS-232
DF1 Full-Duplex Protocol D–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DF1 DH-485
Appendix
Paper
Time Driven Sequencer Application Example E–25. . . . . . . . . . . . . . . . . . . . . . . .
Event Driven Sequencer Application Example E–27. . . . . . . . . . . . . . . . . . . . . . .
Bottle
Communication Interface
Half-Duplex Slave Protocol
Communication Protocol
E
Drilling Machine Application Example
Line Example
B–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E–2. . . . . . . . . . . . . . . . . . . . . . . . .
E–29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Analog Input Software Calibration
Appendix
Calibrating
Glossary
F
an Analog Input Channel
F–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
toc–vii

Summary of Changes

Summary of Changes
The information below summarizes the changes to this manual since the last printing as Publication 1761-6.2—October 1997.
To help you find new information and updated information in this release of the manual, we have included change bars as shown to the right of this paragraph.

New Information

Updated Information

The table below lists sections that document new features and additional information about existing features, and shows where to find this new information.
For This New Information See
Power supply inrush Class I, Division 2 certification pages 1–12, A–2 analog controllers automatic protocol switching page 3–13 DeviceNet communications page 3–13 software compatibility page 4–1 SCL instruction application example remote network support
page 1–11
pages 2–17, 7–1, 18–14, appendix A
page 10–14 page D–17
Changes from the previous release of this manual that require you to reference information differently are as follows:
The safety considerations for mounting your controller have been
updated; see chapter 1, Installing Your Controller.
The section on establishing communication has been updated; see chapter
3, Connecting the System.
For updated information on HHP support and compatibility of the series
functionality of your MicroLogix controller, see chapter 15, Using Communication Protocols.
The message timing diagram has been updated; see chapter 15, Using
Communication Protocols.
The MicroLogix 1000 programmable controllers’ VA ratings and power
supply inrush specifications have been updated; see appendix A, Hardware Reference.
The agency certification specifications have been updated; see appendix
A, Hardware Reference.
The analog output overall accuracy specification has been updated; see
appendix A, Hardware Reference.
The user interrupt latency information has been updated; see appendix B,
Programming Reference.
The DF1 Full-Duplex and DH-485 configuration parameters have been
updated; see appendix D, Understanding Communication Protocols.
soc–i
Chapter
1
Installing Your Controller
This chapter shows you how to install your MicroLogix 1000 Programmable Controller. The only tools you require are a Flat head or Phillips head screwdriver and drill. Topics include:
compliance to European Union Directives
hardware overview
master control relay
surge suppressors
safety considerations
power considerations
preventing excessive heat
controller spacing
mounting the controller

Compliance to European Union Directives

If this product has the CE mark it is approved for installation within the European Union and EEA regions. It has been designed and tested to meet the following directives.
EMC Directive
This product is tested to meet Council Directive 89/336/EEC Electromagnetic Compatibility (EMC) and the following standards, in whole or in part, documented in a technical construction file:
EN 50081-2
EMC – Generic Emission Standard, Part 2 – Industrial Environment
EN 50082-2
EMC – Generic Immunity Standard, Part 2 – Industrial Environment
This product is intended for use in an industrial environment.
Low V
oltage Directive
This product is tested to meet Council Directive 73/23/EEC Low Voltage, by applying the safety requirements of EN 61131–2 Programmable Controllers, Part 2 – Equipment Requirements and Tests.
For specific information required by EN 61131-2, see the appropriate sections in this publication, as well as the following Allen-Bradley publications:
Industrial Automation Wiring and Grounding Guidelines For Noise
Immunity, publication 1770-4.1
Guidelines for Handling Lithium Batteries, publication AG-5.4
Automation Systems Catalog, publication B111
1–1
Chapter 1
1761-L20
Installing Y
our Controller

Hardware Overview

The MicroLogix 1000 programmable controller is a packaged controller containing a power supply, input circuits, output circuits, and a processor. The controller is available in 10 I/O, 16 I/O and 32 I/O configurations, as well as an analog version with 20 discrete I/O and 5 analog I/O.
The catalog number for the controller is composed of the following:
AWA-5A
Bulletin Number
Base Unit
Unit I/O Count: 20
Input Signal: A = 120V ac B = 24V dc
The hardware features of the controller are:
Analog I/O
Analog Circuits: Inputs = 4
Outputs = 1
Power Supply: A = 120/240V ac B = 24V dc
Output Type: W = Relay B = MOSFET
A = Triac
10
1 2 3
4 5
6
7
8 9
3
POWER RUN FAULT FORCE
IN
OUT
1
Input terminals
2
dc output terminals (or not used)
3
Mounting hole Input LEDs
4 5
Status LEDs
6
RS-232 communication channel
7
Output LEDs
8
Power supply line power
9
Ground screw Output terminals
10
20142
1–2
Chapter 1
Installing Y
our Controller
Master
Control Relay
A hard-wired master control relay (MCR) provides a reliable means for emergency controller shutdown. Since the master control relay allows the placement of several emergency-stop switches in different locations, its installation is important from a safety standpoint. Overtravel limit switches or mushroom head push buttons are wired in series so that when any of them opens, the master control relay is de-energized. This removes power to input and output device circuits. Refer to the figure on page 1–5.
ATTENTION: Never alter these circuits to defeat their function, since serious injury and/or machine damage could result.
!
Important: If you are using an external dc output power supply, interrupt
the dc output side rather than the ac line side of the supply to avoid the additional delay of power supply turn-off.
The external ac line of the dc output power supply should be fused.
Connect a set of master control relays in series with the dc power supplying the input and output circuits.
Place the main power disconnect switch where operators and maintenance personnel have quick and easy access to it. If you mount a disconnect switch inside the controller enclosure, place the switch operating handle on the outside of the enclosure, so that you can disconnect power without opening the enclosure.
Whenever any of the emergency-stop switches are opened, power to input and output devices should be removed.
When you use the master control relay to remove power from the external I/O circuits, power continues to be provided to the controller’s power supply so that diagnostic indicators on the processor can still be observed.
The master control relay is not a substitute for a disconnect to the controller. It is intended for any situation where the operator must quickly de-energize I/O devices only. When inspecting or installing terminal connections, replacing output fuses, or working on equipment within the enclosure, use the disconnect to shut off power to the rest of the system.
Important: Do not control the master control relay with the controller.
Provide the operator with the safety of a direct connection between an emergency-stop switch and the master control relay.
1–3
Chapter 1
Installing Y
our Controller
Using Emergency-Stop Switches
When using emergency-stop switches, adhere to the following points:
Do not program emergency-stop switches in the controller program. Any
emergency-stop switch should turn off all machine power by turning off the master control relay.
Observe all applicable local codes concerning the placement and labeling
of emergency-stop switches.
Install emergency-stop switches and the master control relay in your
system. Make certain that relay contacts have a sufficient rating for your application. Emergency-stop switches must be easy to reach.
In the following illustration, input and output circuits are shown with
MCR protection. However, in most applications, only output circuits require MCR protection.
The following illustrations show the Master Control Relay wired in a grounded system.
Important: The illustrations only show output circuits with MCR
protection. In most applications input circuits do not require MCR protection; however, if you need to remove power from all field devices, you must include MCR contacts in series with input power wiring.
1–4
L1 L2
230V ac
Disconnect
Schematic (Using IEC Symbols)
Chapter 1
Installing Y
our Controller
Fuse
MCR
230V ac I/O Circuits
Isolation Transformer
230V ac
X1
Fuse
Operation of either of these contacts will remove power from the adapter external I/O
X2
circuits, stopping machine motion.
Emergency-Stop Push Button
(Lo) (Hi)
Line Terminals: Connect to 230V ac terminals of controller Power Supply.
Overtravel Limit Switch
Stop
Start
MCR
MCR
dc Power Supply. Use IEC 950/EN 60950
+
Line terminals: Connect to 24V dc terminals of controller Power Supply.
Master Control Relay (MCR) Cat. No. 700-PK400A1
Suppressor Cat. No. 700-N24
MCR
Suppr.
230V ac I/O Circuits
MCR
24V dc I/O Circuits
1–5
Chapter 1
Installing Y
our Controller
L1 L2
230V ac
Disconnect
Schematic (Using ANSI/CSA Symbols)
Fuse
MCR
230V ac Output Circuits
Isolation Transformer
115V ac
X1
Fuse
Operation of either of these contacts will remove power from the adapter external I/O
X2
circuits, stopping machine motion.
Emergency-Stop Push Button
(Lo) (Hi)
Line Terminals: Connect to 115V ac terminals of controller Power Supply.
Overtravel Limit Switch
Stop
Master Control Relay (MCR) Cat. No. 700-PK400A1
+
Suppressor Cat. No. 700-N24
115V ac Output Circuits
MCR
Start
MCR
MCR
dc Power Supply. Use N.E.C. Class 2 for UL Listing.
Line terminals: Connect to 24V dc terminals of controller Power Supply.
MCR
Suppr.
24V dc Output Circuits
1–6
Chapter 1
Installing Y
our Controller

Using Surge Suppressors

Inductive load devices such as motor starters and solenoids require the use of some type of surge suppression to protect the controller output contacts. Switching inductive loads without surge suppression can significantly
reduce the lifetime of relay contacts. By adding a suppression device directly across the coil of an inductive device, you will prolong the life of the switch contacts. You also reduce the effects of voltage transients caused by interrupting the current to that inductive device, and prevent electrical noise from radiating into system wiring.
The following diagram shows an output with a suppression device. We recommend that you locate the suppression device as close as possible to the load device.
+
dc or L1
ac
or dc
Outputs
VAC/VDC
OUT 0
OUT OUT 2 OUT 3 OUT OUT 5
OUT 6 OUT 7
COM
1
4
Snubber
dc COM or L2
If you connect a micro controller FET output to an inductive load, we recommend that you use a 1N4004 diode for surge suppression, as shown in the following illustration.
+24V
dc
VAC/VDC
OUT 0
OUT
1
Relay
or Solid State
dc Outputs
OUT 2 OUT 3 OUT OUT 5 OUT 6 OUT 7
COM
4
24V dc common
1N4004 Diode
1–7
Chapter 1
Installing Y
our Controller
Suitable surge suppression methods for inductive ac load devices include a varistor, an RC network, or an Allen-Bradley surge suppressor, all shown below. These components must be appropriately rated to suppress the switching transient characteristic of the particular inductive device. See the table on page 1–9 for recommended suppressors.
Surge Suppression for Inductive ac Load Devices
Output Device
Varistor
Output DeviceOutput Device Output Device
Surge
Suppressor
RC Network
If you connect a micro controller triac output to control an inductive load, we recommend that you use varistors to suppress noise. Choose a varistor that is appropriate for the application. The suppressors we recommend for triac outputs when switching 120V ac inductive loads are a Harris MOV, part number V175 LA10A, or an Allen-Bradley MOV, catalog number 599-K04 or 599-KA04. Consult the varistor manufacturer’s data sheet when selecting a varistor for your application.
For inductive dc load devices, a diode is suitable. A 1N4004 diode is acceptable for most applications. A surge suppressor can also be used. See the table on page 1–9 for recommended suppressors.
As shown in the illustration below, these surge suppression circuits connect directly across the load device. This reduces arcing of the output contacts. (High transient can cause arcing that occurs when switching off an inductive device.)
Surge Suppression for Inductive dc Load Devices
1–8
Output DeviceOutput Device
Diode
(A surge suppressor can also be used.)
+
Chapter 1
Installing Y
our Controller
Recommended Surge Suppressors
We recommend the Allen-Bradley surge suppressors shown in the following table for use with Allen-Bradley relays, contactors, and starters.
Device Coil Voltage
Bulletin 509 Motor Starter Bulletin 509 Motor Starter
Bulletin 100 Contactor Bulletin 100 Contactor
Bulletin 709 Motor Starter 120V ac 1401-N10 Bulletin 700 Type R, RM Relays ac coil Bulletin 700 T
Bulletin 700 Type RM Relay Bulletin 700 T
Bulletin 700 Type RM Relay Bulletin 700 T
Bulletin 700 Type RM Relay Bulletin 700 T
Bulletin 700 Type RM Relay Bulletin 700 T
Bulletin 700 Type RM Relay Bulletin 700 Type N, P, or PK Relay 150V max, ac or DC 700-N24 Miscellaneous electromagnetic devices
limited to 35 sealed VA
ype R Relay
ype R Relay
ype R Relay
ype R Relay
ype R Relay
120V ac 240V ac
120V ac 240V ac
12V dc 12V dc
24V dc 24V dc
48V dc 48V dc
115-125V dc 115-125V dc
230-250V dc 230-250V dc
150V max, ac or DC 700-N24
Suppressor Catalog
599-K04 599-KA04
199-FSMA1 199-FSMA2
None Required 700-N22
700-N28 700-N10
700-N13 700-N16
700-N17 700-N11
700-N14 700-N12
700-N15
Number

Safety Considerations

Safety considerations are an important element of proper system installation. Actively thinking about the safety of yourself and others, as well as the condition of your equipment, is of primary importance. We recommend reviewing the following safety considerations.
Disconnecting
Main Power
ATTENTION: Explosion Hazard — Do not replace components or disconnect equipment unless power has been switched off and
!
the area is known to be non-hazardous.
The main power disconnect switch should be located where operators and maintenance personnel have quick and easy access to it. In addition to disconnecting electrical power, all other sources of power (pneumatic and hydraulic) should be de-energized before working on a machine or process controlled by a controller.
1–9
Chapter 1
Installing Y
our Controller
ATTENTION: Explosion Hazard — Do not connect or disconnect while circuit is live unless area is known to be
!
non-hazardous.
Safety Circuits
Circuits installed on the machine for safety reasons, like overtravel limit switches, stop push buttons, and interlocks, should always be hard-wired directly to the master control relay. These devices must be wired in series so that when any one device opens, the master control relay is de-energized thereby removing power to the machine. Never alter these circuits to defeat their function. Serious injury or machine damage could result.
Power Distribution

Power Considerations

There are some points about power distribution that you should know:
The master control relay must be able to inhibit all machine motion by
removing power to the machine I/O devices when the relay is de-energized.
If you are using a dc power supply, interrupt the load side rather than the
ac line power. This avoids the additional delay of power supply turn-off. The dc power supply should be powered directly from the fused secondary of the transformer. Power to the dc input and output circuits is connected through a set of master control relay contacts.
Periodic T
Any part can fail, including the switches in a master control relay circuit. The failure of one of these switches would most likely cause an open circuit, which would be a safe power-off failure. However, if one of these switches shorts out, it no longer provides any safety protection. These switches should be tested periodically to assure they will stop machine motion when needed.
The following explains power considerations for the micro controllers.
ests of Master Control Relay Circuit
1–10
Isolation T
You may want to use an isolation transformer in the ac line to the controller. This type of transformer provides isolation from your power distribution system and is often used as a step down transformer to reduce line voltage. Any transformer used with the controller must have a sufficient power rating for its load. The power rating is expressed in volt-amperes (VA).
ransformers
Chapter 1
Installing Y
Power
Supply Inrush
The MicroLogix power supply does not require or need a high inrush current. However, if the power source can supply a high inrush current, the MicroLogix power supply will accept it. There is a high level of inrush current when a large capacitor on the input of the MicroLogix is charged up quickly.
If the power source cannot supply high inrush current, the only effect is that the MicroLogix input capacitor charges up more slowly. The following considerations determine whether the power source needs to supply a high inrush current:
our Controller
power-up sequence of devices in system
power source sag if it cannot source inrush current
the effect of the voltage sag on other equipment
If the power source cannot provide high inrush current when the entire system in an application is powered, the MicroLogix powers-up more slowly. If part of an application’s system is already powered and operating when the MicroLogix is powered, the source voltage may sag while the MicroLogix input capacitor is charging. A power source voltage sag can affect other equipment connected to the same power source. For example, a voltage sag may reset a computer connected to the same power source.
Loss of Power Source
The power supply is designed to withstand brief power losses without affecting the operation of the system. The time the system is operational during power loss is called “program scan hold-up time after loss of power.” The duration of the power supply hold-up time depends on the type and state of the I/O, but is typically between 20 milliseconds and 3 seconds. When the duration of power loss reaches this limit, the power supply signals the processor that it can no longer provide adequate dc power to the system. This is referred to as a power supply shutdown.
Input States on Power Down
The power supply hold-up time as described above is generally longer than the turn-on and turn-off times of the inputs. Because of this, the input state change from “On” to “Off” that occurs when power is removed may be recorded by the processor before the power supply shuts down the system. The user program should be written to take this effect into account.
Other Types of Line Conditions
Occasionally the power source to the system can be temporarily interrupted. It is also possible that the voltage level may drop substantially below the normal line voltage range for a period of time. Both of these conditions are considered to be a loss of power for the system.
1–11
Chapter 1
Installing Y
our Controller

Preventing Excessive Heat

Controller Spacing

For most applications, normal convective cooling keeps the controller within the specified operating range. Ensure that the specified operating range is maintained. Proper spacing of components within an enclosure is usually sufficient for heat dissipation.
In some applications, a substantial amount of heat is produced by other equipment inside or outside the enclosure. In this case, place blower fans inside the enclosure to assist in air circulation and to reduce “hot spots” near the controller.
Additional cooling provisions might be necessary when high ambient temperatures are encountered.
Important: Do not bring in unfiltered outside air. Place the controller in an
enclosure to protect it from a corrosive atmosphere. Harmful contaminants or dirt could cause improper operation or damage to components. In extreme cases, you may need to use air conditioning to protect against heat build-up within the enclosure.
The following figure shows the recommended minimum spacing for the controller. (Refer to appendix A for controller dimensions.)

Mounting the Controller

Top
A
Bottom
B
A. Greater than or equal to 50.8 mm (2 in.).
SideSide
A
B
B. Greater than or equal to 50.8 mm (2 in.).
20142
This equipment is suitable for Class I, Division 2, Groups A, B, C, D or non-hazardous locations only, when product or packaging is marked.
A
TTENTION
!
Substitution of components may impair suitability for Class I,
Division 2.
– Explosion Hazard:
This product must be installed in an enclosure. All cables
connected to the product must remain in the enclosure or be protected by conduit or other means.
The controller should be mounted horizontally within an enclosure, using a DIN rail or mounting screws. Copy the template from page A–8 to help you space and mount the controller properly.
1–12
Chapter 1
ass I Di isi 2 a ar s
Installing Y
our Controller
ATTENTION: Be careful of metal chips when drilling mounting holes for your controller. Drilled fragments that fall
!
into the controller could cause damage. Do not drill holes above a mounted controller if the protective wrap is removed.
Use only the following communication cables in Class I, Division 2 Hazardous Locations.
Environment Classification Communication Cable
Class I, Division 2 Hazardous Environment
1761-CBL-PM02 Series C 1761-CBL-HM02 Series C 1761-CBL-AM00 Series C 1761-CBL-AP00 Series C 2707-NC8 Series B 2707-NC9 Series B 2707-NC10 Series B 2707-NC11 Series B
Using
a DIN Rail
Use 35 mm (1.38 in.) DIN rails, such as item number 199-DR1 or 1492-DR5 from Bulletin 1492.
To install your controller on the DIN rail:
1.Mount your DIN rail. (Make sure that the placement of the controller on the DIN rail meets the recommended spacing requirements. Refer to controller dimensions in appendix A.)
2.Hook the top slot over the DIN rail.
3.While pressing the controller against the rail, snap the controller into position.
4.Leave the protective wrap attached until you are finished wiring the controller.
B
A
DIN Rail
C
Call-out Dimension
A 84 mm (3.3 in.) B 33 mm (1.3 in.) C 16 mm (.63 in.)
Side View
Protective Wrap
Mounting DIN Rail
Template
20146
1–13
Chapter 1
Installing Y
our Controller
To remove your controller from the DIN rail:
1.Place a screwdriver in the DIN rail latch at the bottom of the controller.
2.Holding the controller, pry downward on the latch until the controller is released from the DIN rail.
Side View
Using Mounting Screws
To install your controller using mounting screws:
Important: Leave the protective wrap
attached until you are finished wiring the controller.
1.Use the mounting template from page A–8.
2.Secure the template to the mounting surface. (Make sure your controller is spaced properly
3.Drill holes through the template.
4.Remove the mounting template.
5.Mount the controller.
.)
DIN Rail
20147
Mounting Template
Protective Wrap (remove
after wiring)
Mounting Your Controller V
ertically
Your controller can also be mounted vertically within an enclosure using mounting screws or a DIN rail. To insure the stability of your controller, we recommend using mounting screws.
To insure the controller’s reliability, the following environmental specifications must not be exceeded.
A
Top
SideSide
A
Bottom
A. Greater than or equal to 50.8 mm (2 in.).
A
Description: Specification:
Operating Temperature
Operating Shock (Panel mounted)
A
Operating Shock (DIN rail mounted)
DC input voltage derated linearly from +30°C (30V to 26.4V).
0°C to +40°C (+32°F to +113°F)
9.0g peak acceleration (11±1 ms duration) 3 times each direction, each axis
7.0g peak acceleration (11±1 ms duration) 3 times each direction, each axis
1–14
Note: When mounting your controller vertically, the nameplate should be facing downward.
Loading...
+ 504 hidden pages