Miccro820 Prog 2080-Um005 - En-E
Miccro820 Prog 2080-Um005 - En-E
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous
environment, which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death,
property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the
consequence
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
dangerous voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
surfaces may reach dangerous temperatures.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
Allen-Bradley, Rockwell Software, Rockwell Automation, Micro800, Micro820, Micro830, Micro850, Connected Components Workbench, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Preface
Read this preface to familiarize yourself with the rest of the manual. It provides
information concerning:
• who should use this manual
• the purpose of this manual
• related documentation
• supporting information for Micro800™
Who Should Use this Use this manual if you are responsible for designing, installing, programming, or
troubleshooting control systems that use Micro800 controllers.
Manual
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.
Purpose of this Manual This manual is a reference guide for Micro820 controllers. It describes the
procedures you use to install, wire, and troubleshoot your controller. This
manual:
• explains how to install and wire your controllers
• gives you an overview of the Micro800 controller system
Refer to the Online Help provided with Connected Components Workbench™
software for more information on programming your Micro800 controller.
Additional Resources These documents contain additional information concerning related Rockwell
Automation products.
Resource Description
Micro800 Plug-in Modules 2080-UM004 Information on features, configuration,
installation, wiring, and specifications for the
Micro800 plug-in modules.
Micro800 Programmable Controller External AC Information on mounting and wiring the optional
Power Supply Installation Instructions external power supply.
2080-IN001
Micro820 Programmable Controllers Installation Information on installing, mounting, and wiring
Instructions, 2080-IN009 the Micro820 controller.
Micro800 Remote LCD Installation Instructions, Information on installing, mounting, and wiring
2080-IN010 the Micro800 Remote LCD module.
Micro800 RS232/485 Isolated Serial Port Plug-in Information on mounting and wiring the
Module Wiring Diagrams 2080-WD002 Micro800 RS232/485 Isolated Serial Port Plug-in
Module.
Micro800 Non-isolated Unipolar Analog Input Information on mounting and wiring the
Plug-in Module Wiring Diagrams 2080-WD003 Micro800 Non-isolated Unipolar Analog Input
Plug-in Module.
Micro800 Non-isolated Unipolar Analog Output Information on mounting and wiring the
Plug-in Module Wiring Diagrams 2080-WD004 Micro800 Non-isolated Unipolar Analog Output
Plug-in Module.
Micro800 Non-isolated RTD Plug-in Module Information on mounting and wiring the
Wiring Diagrams 2080-WD005 Micro800 Non-isolated RTD Plug-in Module.
Resource Description
Micro800 Non-isolated Thermocouple Plug-in Information on mounting and wiring the
Module Wiring Diagrams 2080-WD006 Micro800 Non-isolated Thermocouple Plug-in
Module.
Micro800 Memory Backup and High Accuracy Information on mounting and wiring the
RTC Plug-In Module Wiring Diagrams Micro800 Memory Backup and High Accuracy
2080-WD007 RTC Plug-In Module.
Micro800 6-Channel Trimpot Analog Input Plug-In Information on mounting and wiring the
Module Wiring Diagrams 2080-WD008 Micro800 6-Channel Trimpot Analog Input Plug-In
Module.
Micro800 Digital Relay Output Plug-in Module Information on mounting and wiring the
Wiring Diagrams 2080-WD010 Micro800 Digital Relay Output Plug-in Module.
Micro800 Digital Input, Output, and Combination Information on mounting and wiring the
Plug-in Modules Wiring Diagrams 2080-WD011 Micro800 Digital Input, Output, and Combination
Plug-in Modules.
Micro800 High Speed Counter Plug-in Module, Information on mounting and wiring the High
2080-WD012 Speed Counter Plug-in module.
Micro800 DeviceNet Plug-in Module, Information on mounting and wiring the
2080-WD013 Micro800 DeviceNet plug-in module.
Industrial Automation Wiring and Grounding Provides general guidelines for installing a
Guidelines, publication 1770-4.1 Rockwell Automation industrial system.
Product Certifications website, http:// Provides declarations of conformity, certificates,
www.rockwellautomation.com/products/ and other certification details.
certification/
Application Considerations for Solid-State A description of important differences between
Controls SGI-1.1 solid-state programmable controller products
and hard-wired electromechanical devices.
National Electrical Code - Published by the An article on wire sizes and types for grounding
National Fire Protection Association of Boston, electrical equipment.
MA.
Allen-Bradley Industrial Automation Glossary A glossary of industrial automation terms and
AG-7.1 abbreviations.
Chapter 1
Hardware Overview Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Inputs and Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Embedded microSD (Micro Secure Digital) Card Slot . . . . . . . . . . . . . 3
Embedded RS232/RS485 Serial Port Combo . . . . . . . . . . . . . . . . . . . . . 3
Embedded Ethernet Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Chapter 2
About Your Controller Programming Software for Micro800 Controllers. . . . . . . . . . . . . . . . . . . . . 7
Obtain Connected Components Workbench. . . . . . . . . . . . . . . . . . . . . 7
Use Connected Components Workbench . . . . . . . . . . . . . . . . . . . . . . . . 7
Agency Certifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Compliance to European Union Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . 7
EMC Directive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Low Voltage Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installation Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Environment and Enclosure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Preventing Electrostatic Discharge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Safety Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
North American Hazardous Location Approval. . . . . . . . . . . . . . . . . 11
Disconnecting Main Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Safety Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Power Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Periodic Tests of Master Control Relay Circuit . . . . . . . . . . . . . . . . . 12
Power Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Isolation Transformers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Power Supply Inrush. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Loss of Power Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Input States on Power Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Other Types of Line Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Preventing Excessive Heat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Master Control Relay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Using Emergency-Stop Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Schematic (Using IEC Symbols) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Schematic (Using ANSI/CSA Symbols) . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 3
Install Your Controller Controller Mounting Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Module Spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
DIN Rail Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Panel Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Panel Mounting Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 4
Wire Your Controller Wiring Requirements and Recommendation . . . . . . . . . . . . . . . . . . . . . . . 25
Wire Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Use Surge Suppressors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Recommended Surge Suppressors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Grounding the Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Wiring Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Controller I/O Wiring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Minimize Electrical Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Analog Channel Wiring Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Minimize Electrical Noise on Analog Channels . . . . . . . . . . . . . . . . . 31
Grounding Your Analog Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Wiring Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Wiring Analog Channels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Chapter 5
Communication Connections Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Supported Communication Protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Modbus RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Modbus/TCP Client/Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
CIP Symbolic Client/Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
CIP Client Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
CIP Communications Pass-thru . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Examples of Supported Architectures. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Use Modems with Micro800 Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Making a DF1 Point-to-Point Connection. . . . . . . . . . . . . . . . . . . . . . 41
Construct Your Own Modem Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Configure Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Configure CIP Serial Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Configure Modbus RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Configure ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Configure Ethernet Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Ethernet Host Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Chapter 6
Program Execution in Micro800 Overview of Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Execution Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Controller Load and Performance Considerations . . . . . . . . . . . . . . . . . . 52
Periodic Execution of Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Chapter 7
Controller Security Exclusive Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Password Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Work with a Locked Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Upload from a Password-Protected Controller . . . . . . . . . . . . . . . . . . 58
Debug a Password-Protected Controller . . . . . . . . . . . . . . . . . . . . . . . . 59
Download to a Password-Protected Controller. . . . . . . . . . . . . . . . . . 59
Transfer Controller Program and Lock Receiving Controller. . . . . 59
Back Up a Password-Protected Controller . . . . . . . . . . . . . . . . . . . . . . 60
Configure Controller Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Recover from a Lost Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 8
Using the Micro800 Remote LCD Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
USB Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Text Display Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Startup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Navigate the Remote LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
User-defined Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Backup and Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Hardware Features, Installation, and Specifications . . . . . . . . . . . . . . . . . 71
Chapter 9
Using microSD Cards Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Project Backup and Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Backup and Restore Directory Structure. . . . . . . . . . . . . . . . . . . . . . . . 75
Powerup Settings in ConfigMeFirst.txt. . . . . . . . . . . . . . . . . . . . . . . . . 76
General Configuration Rules in ConfigMeFirst.txt . . . . . . . . . . . . . . 77
ConfigMeFirst.txt Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Datalog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Datalog Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Datalog Function (DLG) Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Recipe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Recipe Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Recipe Function (RCP) Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Quickstart Projects for Datalog and Recipe Function Blocks . . . . . . . . . 87
Use the Datalog Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Appendix A
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Appendix B
Troubleshooting Status Indicators on the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Controller Error Recovery Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Calling Rockwell Automation for Assistance. . . . . . . . . . . . . . . . . . . . . . . 120
Appendix C
Quickstarts Flash Upgrade Your Micro800 Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Establish Communications between RSLinx and a Micro820 Controller
through USB Port on 2080-REMLCD. . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Configure Controller Password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Set Controller Password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Change Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Clear Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Forcing I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Checking if Forces (locks) are Enabled. . . . . . . . . . . . . . . . . . . . . . . . . 132
I/O Forces After a Power Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Appendix D
IPID Function Block How to Autotune . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
How Autotune Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Troubleshooting an Autotune Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
PID Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
PID Code Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Appendix F
Modbus Mapping for Micro800 Modbus Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Endian Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Mapping Address Space and supported Data Types . . . . . . . . . . . . . 143
Example 1, PanelView Component HMI (Master) to Micro800
(Slave) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Example 2, Micro800 (Master) to PowerFlex 4M Drive (Slave) . . 145
Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Index
Hardware Overview
This chapter provides an overview of the Micro820 hardware features. It has the
following topics:
Topic Page
Hardware Features 1
Embedded microSD (Micro Secure Digital) Card Slot 3
Embedded RS232/RS485 Serial Port Combo 3
Embedded Ethernet Support 4
Hardware Features Micro820 controllers are 20-point economical brick style controllers with
embedded inputs and outputs. These controllers can accommodate up to two
plug-in modules and can connect to a remote LCD (2080-REMLCD) for
configuring. The Micro820 controller also has a microSD™ card slot for project
backup and restore, and datalog and recipe.
IMPORTANT The Micro820 controller supports all Micro800 plug-in modules, except
for the 2080-MEMBAK-RTC.
For more information, see Micro800 Plug-in Modules User, publication
2080-UM004.
For information on the REMLCD module, see Using the Micro800 Remote
LCD on page 63.
The controller also accommodates any class 2 rated 24V DC output power
supply that meets minimum specifications such as the optional Micro800 power
supply.
Micro820 Controllers
Status indicators
Power supply
microSD (Micro
Secure Digital)
card slot
46206
RJ-45 Ethernet
connector port Removable/fixed terminal blocks
Mounting feet
DIN rail mounting latch
Status Indicators
Input status
Output status
46207
The microSD card is primarily used for project backup and restore, as well as
datalog and recipe functions. It can also be used to configure powerup settings
(such as controller mode, IP address, and so on) through an optional
ConfigMeFirst.txt file.
The communication port uses a 6-pin 3.5 mm terminal block with pin definition
shown in the following table.
D+ G Tx
Pin Definition RS485 RS232
1 2 3 4 5 6 Example Example
D- Rx G
The communication port (both RS232 and RS485) are non-isolated. The signal
ground of the port is not isolated to the logic ground of the controller.
The RS232 port supports connection to the Micro800 Remote LCD module
(2080-REMLCD).
REMLCD to Micro820 Serial Port Terminal Block Wiring
REMLCD Serial Port Micro820 Serial Port
Terminal Block Terminal Block
Signal Pin Pin Signal
number number
RS232 TX 1 <--------> 4 RX RS232
RS232 RX 2 <--------> 5 TX RS232
RS232 G 3 <--------> 6 G RS232
5 white-blue
6 green
7 white-brown
8 brown
1 white-orange
2 orange
3 white-green
4 blue
5 white-blue
6 green
7 white-brown
8 brown 46223
Notes:
Programming Software for Connected Components Workbench is a set of collaborative tools supporting
Micro800 controllers. It is based on Rockwell Automation and Microsoft Visual
Micro800 Controllers Studio technology and offers controller programming, device configuration and
integration with HMI editor. Use this software to program your controllers,
configure your devices and design your operator interface applications.
http://ab.rockwellautomation.com/Programmable-Controllers/Connected-
Components-Workbench-Software
Agency Certifications • UL Listed Industrial Control Equipment, certified for US and Canada.
UL Listed for Class I, Division 2 Group A,B,C,D Hazardous Locations,
certified for U.S. and Canada.
• CE marked for all applicable directives
• C-Tick marked for all applicable acts
• KC - Korean Registration of Broadcasting and Communications
Equipment, compliant with: Article 58-2 of Radio Waves Act, Clause 3.
Compliance to European This product has the CE mark and is approved for installation within the
European Union and EEA regions. It has been designed and tested to meet the
Union Directives following directives.
EMC Directive
Locate your controller as far as possible from power lines, load lines, and other
sources of electrical noise such as hard-contact switches, relays, and AC motor
drives. For more information on proper grounding guidelines, see the Industrial
Automation Wiring and Grounding Guidelines publication 1770-4.1.
(1) Pollution Degree 2 is an environment where normally only non-conductive pollution occurs except that
occassionally temporary conductivity caused by condensation shall be expected.
(2) Overvoltage Category II is the load level section of the electrical distribution system. At this level, transient
voltages are controlled and do not exceed the impulse voltage capability of the products insulation.
WARNING: When used in a Class I, Division 2, hazardous location, this equipment must be mounted in a
suitable enclosure with proper wiring method that complies with the governing electrical codes.
WARNING: If you connect or disconnect the serial cable with power applied to this module or the serial
device on the other end of the cable, an electrical arc can occur. This could cause an explosion in hazardous
location installations. Be sure that power is removed or the area is nonhazardous before proceeding.
WARNING: The local programming terminal port is intended for temporary use only and must not be
connected or disconnected unless the area is assured to be nonhazardous.
WARNING: Exposure to some chemicals may degrade the sealing properties of materials used in the
Relays. It is recommended that the User periodically inspect these devices for any degradation of
properties and replace the module if degradation is found.
WARNING: If you insert or remove the plug-in module while backplane power is on, an electrical arc can
occur. This could cause an explosion in hazardous location installations. Be sure that power is removed or
the area is nonhazardous before proceeding.
WARNING: When you connect or disconnect the Removable Terminal Block (RTB) with field side power
applied, an electrical arc can occur. This could cause an explosion in hazardous location installations.
WARNING: Be sure that power is removed or the area is nonhazardous before proceeding.
ATTENTION: To comply with the CE Low Voltage Directive (LVD), this equipment must be powered from a
source compliant with the following: Safety Extra Low Voltage (SELV) or Protected Extra Low Voltage (PELV).
ATTENTION: To comply with UL restrictions, this equipment must be powered from a Class 2 source.
ATTENTION: Be careful when stripping wires. Wire fragments that fall into the controller could cause
damage. Once wiring is complete, make sure the controller is free of all metal fragments.
ATTENTION: Electrostatic discharge can damage semiconductor devices inside the module. Do not touch
the connector pins or other sensitive areas.
ATTENTION: The serial cables are not to exceed 3.0 m (9.84 ft).
ATTENTION: Do not wire more than 2 conductors on any single terminal.
ATTENTION: Do not remove the Removable Terminal Block (RTB) until power is removed.
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
The following information applies when operating this equipment Informations sur l’utilisation de cet équipement en environnements
in hazardous locations: dangereux:
Products marked "CL I, DIV 2, GP A, B, C, D" are suitable for use in Class I Les produits marqués "CL I, DIV 2, GP A, B, C, D" ne conviennent qu'à une
Division 2 Groups A, B, C, D, Hazardous Locations and nonhazardous utilisation en environnements de Classe I Division 2 Groupes A, B, C, D
locations only. Each product is supplied with markings on the rating dangereux et non dangereux. Chaque produit est livré avec des marquages
nameplate indicating the hazardous location temperature code. When sur sa plaque d'identification qui indiquent le code de température pour les
combining products within a system, the most adverse temperature code environnements dangereux. Lorsque plusieurs produits sont combinés dans
(lowest "T" number) may be used to help determine the overall un système, le code de température le plus défavorable (code de
temperature code of the system. Combinations of equipment in your température le plus faible) peut être utilisé pour déterminer le code de
system are subject to investigation by the local Authority Having température global du système. Les combinaisons d'équipements dans le
Jurisdiction at the time of installation. système sont sujettes à inspection par les autorités locales qualifiées au
moment de l'installation.
EXPLOSION HAZARD RISQUE D’EXPLOSION
• Do not disconnect equipment unless power has been • Couper le courant ou s'assurer que l'environnement est classé
removed or the area is known to be nonhazardous. non dangereux avant de débrancher l'équipement.
• Do not disconnect connections to this equipment unless • Couper le courant ou s'assurer que l'environnement est classé
power has been removed or the area is known to be non dangereux avant de débrancher les connecteurs. Fixer tous
nonhazardous. Secure any external connections that mate to les connecteurs externes reliés à cet équipement à l'aide de vis,
this equipment by using screws, sliding latches, threaded loquets coulissants, connecteurs filetés ou autres moyens
connectors, or other means provided with this product. fournis avec ce produit.
• Substitution of any component may impair suitability for • La substitution de tout composant peut rendre cet équipement
Class I, Division 2. inadapté à une utilisation en environnement de Classe I,
Division 2.
• If this product contains batteries, they must only be changed
in an area known to be nonhazardous. • S'assurer que l'environnement est classé non dangereux avant
de changer les piles.
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.
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
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. It is recommended that the controller remain powered even
when the master control 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
should be connected through a set of master control relay contacts.
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.
Power Considerations The following explains power considerations for the micro controllers.
Isolation Transformers
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
to reduce the electrical noise that enters the controller 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).
During power-up, the Micro800 power supply allows a brief inrush current to
charge internal capacitors. Many power lines and control transformers can supply
inrush current for a brief time. If the power source cannot supply this inrush
current, the source voltage may sag momentarily.
The only effect of limited inrush current and voltage sag on the Micro800 is that
the power supply capacitors charge more slowly. However, the effect of a voltage
sag on other equipment should be considered. For example, a deep voltage sag
may reset a computer connected to the same power source. The following
considerations determine whether the power source must be required to supply
high inrush current:
• The power-up sequence of devices in a system.
• The amount of the power source voltage sag if the inrush current cannot be
supplied.
• The effect of voltage sag on other equipment in the system.
If the entire system is powered-up at the same time, a brief sag in the power source
voltage typically will not affect any equipment.
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. Understanding this
concept is important. The user program should be written to take this effect into
account.
Preventing Excessive Heat For most applications, normal convective cooling keeps the controller within the
specified operating range. Ensure that the specified temperature range is
maintained. Proper spacing of components within an enclosure is usually
sufficient for heat dissipation.
TIP 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.
Master Control Relay A hard-wired master control relay (MCR) provides a reliable means for
emergency machine 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 figures on pages 17 and 18.
TIP If you are using an external DC 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 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.
TIP 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.
The following illustrations show the Master Control Relay wired in a grounded
system.
L1 L2
230V AC
Disconnect
Fuse MCR
230V AC
I/O
Circuits
Isolation Operation of either of these contacts will
Transformer remove power from the external I/O Master Control Relay (MCR)
115V AC circuits, stopping machine motion. Cat. No. 700-PK400A1
X1 X2
or 230V AC Emergency-Stop Suppressor
Stop Start
Fuse Push Button Overtravel Cat. No. 700-N24
Limit Switch
MCR
Suppr.
MCR
MCR
115V AC or
230V AC
I/O Circuits
DC Power Supply.
Use IEC 950/EN 60950
_ MCR
+ 24V DC
(Lo) (Hi)
I/O
Line Terminals: Connect to terminals of Power Circuits
Supply Line Terminals: Connect to 24V DC terminals of
Power Supply
44564
L1 L2
230V AC
Disconnect
Fuse MCR
230V AC
Output
Circuits
Suppr.
MCR
MCR
115V AC or
230V AC
I/O Circuits
DC Power Supply. Use
NEC Class 2 for UL
Listing. MCR
_ +
(Lo) (Hi) 24 V DC
I/O
Line Terminals: Connect to terminals of Power Circuits
Supply
Line Terminals: Connect to 24V DC terminals of
Power Supply
44565
This chapter serves to guide the user on installing the controller. It includes the
following topics.
Topic Page
Controller Mounting Dimensions 19
Connect the Controller to an EtherNet/IP Network 21
Module Spacing 20
DIN Rail Mounting 20
Panel Mounting 20
Panel Mounting Dimensions 21
Install the microSD Card 22
Install the 2080-REMLCD Module 23
Controller Mounting Mounting dimensions do not include mounting feet or DIN rail latches.
Dimensions
104 (4.09) 75 (2.95)
90 (3.54)
46205
Module Spacing
Maintain spacing from enclosure walls, wireways, and adjacent equipment. Allow
50.8 mm (2 in.) of space on all sides. This provides ventilation and electrical
isolation. If optional accessories/modules are attached to the controller, such as
the power supply 2080-PS120-240VAC or expansion I/O modules, make sure
that there is 50.8 mm (2 in.) of space on all sides after attaching the optional
parts.
The module can be mounted using the following DIN rails: 35 x 7.5 x 1 mm and
35 x 15 mm (EN 50 022 - 35 x 7.5 and EN 50 022 - 35 x 15).
TIP For environments with greater vibration and shock concerns, use the
panel mounting method, instead of DIN rail mounting.
Before mounting the module on a DIN rail, use a flat-blade screwdriver in the
DIN rail latch and pry it downwards until it is in the unlatched position.
1. Hook the top of the DIN rail mounting area of the controller onto the
DIN rail, and then press the bottom until the controller snaps onto the
DIN rail.
2. Push the DIN rail latch back into the latched position.
Use DIN rail end anchors (Allen-Bradley part number 1492-EAJ35 or
1492-EAHJ35) for vibration or shock environments.
To remove your controller from the DIN rail, pry the DIN rail latch downwards
until it is in the unlatched position.
Panel Mounting
The preferred mounting method is to use four M4 (#8) screws per module. Hole
spacing tolerance: ±0.4 mm (0.016 in.).
1. Place the controller against the panel where you are mounting it. Make sure
the controller is spaced properly.
2. Mark drilling holes through the mounting screw holes and mounting feet
then remove the controller.
3. Drill the holes at the markings, then replace the controller and mount it.
Leave the protective debris strip in place until you are finished wiring the
controller and any other devices.
86 mm (3.39 in.)
100 mm
(3.94 in.)
46204
Connect the RJ-45 connector of the Ethernet cable to the Ethernet port on the
controller. The port is on the bottom of the controller.
46214
Install the microSD Card 1. Insert the microSD card into the card slot.
You can install the microSD card in one orientation only. The beveled
corner should be at the bottom. If you feel resistance when inserting the
microSD card, pull it out and change the orientation.
46218
46219
3. To remove the microSD card from the slot, gently press the card until it
clicks back and releases itself from the slot.
Install the 2080-REMLCD The Micro820 controller supports the 2080-REMLCD module, a simple text
display interface for configuring settings such as IP address. It can be mounted
Module through a front panel or on the same DIN rail as the controller.
For information on how the Remote LCD interfaces with the Micro820
controller, see Using the Micro800 Remote LCD on page 63.
Notes:
TIP Do not run signal or communications wiring and power wiring in the
same conduit. Wires with different signal characteristics should be
routed by separate paths.
Wire Requirements
Wire Requirements for fixed terminal blocks
Min Max
Solid 0.14 mm2 (26 AWG) 2.5 mm2 (14 AWG) rated @ 90 °C (194 °F ) insulation
max
Stranded 0.14 mm2 (26 AWG) 1.5 mm2 (16 AWG)
Use Surge Suppressors Because of the potentially high current surges that occur when switching
inductive load devices, such as motor starters and solenoids, the use of some type
of surge suppression to protect and extend the operating life of the controllers
output contacts is required. Switching inductive loads without surge suppression
can significantly reduce the life expectancy of relay contacts. By adding a
suppression device directly across the coil of an inductive device, you prolong the
life of the output or relay contacts. You also reduce the effects of voltage
transients and electrical noise from radiating into adjacent systems.
If the outputs are DC, we recommend that you use an 1N4004 diode for surge
suppression, as shown below. 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 Recommended Surge Suppressors on page 28. As shown below, these
surge suppression circuits connect directly across the load device.
+24V DC
VAC/DC
Out 0
Out 1
Out 2
Relay or solid Out 3
state DC outputs Out 4 IN4004 diode
Out 5
Out 6
COM 24V DC common A surge suppressor
can also be used.
Surge
suppressor
Varistor RC network
Use the Allen-Bradley surge suppressors in the following table for use with relays,
contactors, and starters.
(4) RC Type not to be used with Triac outputs. Varistor is not recommended for use on the relay outputs.
Wiring Diagrams The following illustrations show the wiring diagrams for the Micro800
controllers. Controllers with DC inputs can be wired as either sinking or sourcing
inputs. Sinking and sourcing does not apply to AC inputs.
2080-LC20-20AWB, 2080-LC20-20QWB,
2080-LC20-20AWBR, 2080-LC20- 20QWBR
Input Terminal Block
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 I-01 I-03 I-04 I-06 I-08 I-10 NU
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 VO-0 CM0 CM1 CM2 O-03 O-04 O-06
46212
Output Terminal Block
2080-LC20-20QBB / 2080-LC20-20QBBR
Input Terminal Block
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 I-01 I-03 I-04 I-06 I-08 I-10 NU
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 VO-0 +CM0 O-01 O-03 +CM1 O-05 -CM1
46211
Output Terminal Block
(1) Non-isolated.
Controller I/O Wiring This section contains some relevant information about minimizing electrical
noise and also includes some wiring examples.
Several specific steps can be taken to help reduce the effects of environmental
noise on analog signals:
• install the Micro800 system in a properly rated enclosure, for example,
NEMA/IP. Make sure that the shield is properly grounded.
• use Belden cable #8761 for wiring the analog channels, making sure that
the drain wire and foil shield are properly earth grounded.
• route the Belden cable separately from any AC wiring. Additional noise
immunity can be obtained by routing the cables in grounded conduit.
Use shielded communication cable (Belden #8761). The Belden cable has two
signal wires (black and clear), one drain wire, and a foil shield. The drain wire and
foil shield must be grounded at one end of the cable.
Foil shield
Black wire
Insulation
Drain wire
IMPORTANT Do not ground the drain wire and foil shield at both ends of the cable.
Wiring Examples
Examples of sink/source, input/output wiring are shown below.
Com 24V
DC
~ +
I/P
Fuse
45627
+V DC
Fuse
Logic side
User side
S OUT +
G –
Load
24V Supply
DC COM
45626
Com
Fuse
~
+
I/P
24V
DC 45625
Wiring Analog Channels Analog input circuits can monitor voltage signals and convert them to serial
digital data as shown in the following illustration.
Sensor 3
(V) Voltage
Sensor 2
(V) Voltage
Sensor 1
(V) Voltage
Sensor 0
(V) Voltage
Micro800 package.
+DC10 I-00 I-02 COM0 I-05 I-07 I-09 I-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 I-01 I-03 I-04 I-06 I-08 I-10 NU
Thermistor 3
Thermistor 2
Thermistor 1
Thermistor 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 I-01 I-03 I-04 I-06 I-08 I-10 NU
Ri
Vi = * Vref
Ri + Rt
Where:
Vi = Voltage input (±5% without calibration; ±2% with calibration)
Ri = Resistance input (14.14 KΩ ±2%)
Rt = Thermistor resistance (10 KΩ Thermistor is recommended)
Vref = 10V ±0.5V
Calibrate Thermistor
For example:
If Ri is measured as 10.00 KΩ, then
C1 = 14.14 / (14.14 + 10.00) * 4095 = 2399 counts;
C2 is read from Connected Components Workbench as 2440; so
Gain = 2399/2440 = 98% .
+ – Controller
Power + I-00, I-01, I-02 or I-03
Supply
– -DC24
3-wire Transmitter
4-wire Transmitter
46257
Analog Output
The analog output can support voltage function as shown in the following
illustration.
Voltage
Load
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 VO-0 CM0 CM1 CM2 O-03 O-04 O-06
46256
Communication Connections
Overview This chapter describes how to communicate with your control system and
configure communication settings. The method you use and cabling required to
connect your controller depends on what type of system you are employing. This
chapter also describes how the controller establishes communication with the
appropriate network. Topics include:
Topic Page
Supported Communication Protocols 37
Use Modems with Micro800 Controllers 41
Configure Serial Port 42
Configure Ethernet Settings 48
Supported Communication Micro820 controllers support the following communication protocols through
the embedded RS232/RS485 serial port as well as any installed serial port plug-in
Protocols modules:
• Modbus RTU Master and Slave
• CIP Serial Client/Server (RS232 only)
• ASCII
Modbus RTU
See Modbus Mapping for Micro800 on page 249 for information on Modbus
mapping. To configure the Serial port as Modbus RTU, see Configure Modbus
RTU on page 45.
Modbus/TCP Client/Server
CIP Serial, supported on the Micro820 controller, makes use of DF1 Full Duplex
protocol, which provides point-to-point connection between two devices.
To configure CIP Serial, see Configure CIP Serial Driver on page 43.
Users may access any global variable through CIP Symbolic addressing except for
system and reserved variables.
One- or two-dimension arrays for simple data types are supported (for example,
ARRAY OF INT[1..10, 1..10]) are supported but arrays of arrays (for example,
ARRAY OF ARRAY) are not supported. Array of strings are also supported.
Supported Data Types in CIP Symbolic
Data Type(1) Description
BOOL Logical Boolean with values TRUE and FALSE
SINT Signed 8-bit integer value
INT Signed 16-bit integer value
DINT Signed 32-bit integer value
LINT(2) Signed 64-bit integer value
USINT Unsigned 8-bit integer value
UINT Unsigned 16-bit integer value
UDINT Unsigned 32-bit integer value
ULINT(2) Unsigned 64-bit integer value
REAL 32-bit floating point value
(2)
LREAL 64-bit floating point value
STRING character string (1 byte per character)
(1) Logix MSG instruction can read/write SINT, INT, DINT, LINT and REAL datatypes using "CIP
Data Table Read" and "CIP Data Table Write" message types.
BOOL, USINT, UINT, UDINT, ULINT, LREAL, STRING and SHORT_STRING datatypes are not
accessible with the Logix MSG instruction.
(2)
Not supported in PanelView Component.
CIP Generic and CIP Symbolic messages are supported on Micro800 controllers
through the Ethernet and serial ports. These client messaging features are enabled
by the MSG_CIPSYMBOLIC and MSG_CIPGENERIC function blocks.
ASCII
ASCII provides connection to other ASCII devices, such as bar code readers,
weigh scales, serial printers, and other intelligent devices. You can use ASCII by
configuring the embedded or any plug-in serial RS232 or RS485 port for the
ASCII driver. Refer to the Connected Components Workbench Online Help for
more information.
To configure the serial port for ASCII, see Configure ASCII on page 47.
CIP Communications The Micro820 controllers support pass-thru on any communications port that
supports Common Industrial Protocol (CIP). The maximum number of
Pass-thru supported hops is one. A hop is defined to be an intermediate connection or
communications link between two devices – in Micro800, this is through
EtherNet/IP or CIP Serial.
F4 F5 F6 OK
MENU
REMLCD
Micro820 Micro820
Controller1 Controller2
The user can download a program from the PC to controller1 through the
USB to serial port conversion via the Remote LCD. Also, the program can
be downloaded to controller2 and controller3 over USB to EtherNet/IP but
the performance is limited by the serial connection. Micro820 45921
Controller3
IMPORTANT Micro800 controllers do not support more than one hop (for example,
from EtherNet/IP → CIP Serial → EtherNet/IP).
Use Modems with Serial modems can be used with the Micro820 controllers.
Micro800 Controllers
Making a DF1 Point-to-Point Connection
You can connect the Micro820 programmable controller to your serial modem.
The recommended protocol for this is Modbus RTU.
If you construct your own modem cable, the maximum cable length is 3 m (10 ft)
with a 25-pin or 9-pin connector. Refer to the following typical pinout for
constructing a straight-through cable:
DTE Device
(Micro820 DCE Device
Channel 0) (Modem, etc.)
6-Pin 25-Pin 9-Pin
5 TXD TXD 2 3
4 RXD RXD 3 2
6 GND GND 7 5
1 B(+) DCD 8 1
2 A(-) DTR 20 4
3 GND DSR 6 6
CTS 5 8
RTS 4 7
Configure Serial Port You can configure the Serial Port driver as CIP Serial, Modbus RTU, ASCII or
choose Shutdown through the Controller Configuration tree in Connected
Components Workbench software.
To edit serial port settings, go to the Remote LCD configuration page and
uncheck the Configure Serial Port for Remote LCD option button.
When the Remote LCD configuration is unchecked, the serial port values are
visible and can be edited.
3. Specify a baud rate. Select a communication rate that all devices in your
system support. Configure all devices in the system for the same
communication rate. Default baud rate is set @ 38400 bps.
4. In most cases, parity and station address should be left at default settings.
5. Click Advanced Settings and set Advanced parameters.
Refer to the table CIP Serial Driver Parameters on page 44 for a
description of the CIP Serial parameters.
Configure ASCII
ASCII Parameters
Configure Ethernet Settings 1. Open your Connected Components Workbench project (for example,
Micro820). On the device configuration tree, go to Controller properties.
Click Ethernet.
TIP The Ethernet port defaults to the following out-of-the box settings:
• DHCP (dynamic IP address)
• Address Duplicate Detection: On
7. Click Save Settings to Controller if you would like to save the settings to
your controller.
8. On the device configuration tree, under Ethernet, click Port Diagnostics to
monitor Interface and Media counters. The counters are available and
updated when the controller is in Debug mode.
The user can change the host name using the CIP Service Set Attribute Single
when the controller is in Program/Remote Program mode.
Notes:
Overview of Program A Micro800 cycle or scan consists of reading inputs, executing programs in
sequential order, updating outputs and performing housekeeping (datalog, recipe,
Execution communications).
In addition to the User Fault Routine, Micro800 controllers also support two
Selectable Timed Interrupts (STI). STIs execute assigned programs once every
set point interval (1…65535 ms).
Execution Rules
This section illustrates the execution of a program. The execution follows four
main steps within a loop. The loop duration is a cycle time for a program.
1. Read inputs 1
2
2. Execute POUs(1)/programs
3
3. Write outputs
4
4. Housekeeping (datalog,
recipe, communications)
1
2
(1) Program Organizational Unit. 3
When a cycle time is specified, a resource waits until this time has elapsed before
starting the execution of a new cycle. The POUs execution time varies depending
on the number of active instructions. When a cycle exceeds the specified time, the
loop continues to execute the cycle but sets an overrun flag. In such a case, the
application no longer runs in real time.
When a cycle time is not specified, a resource performs all steps in the loop then
restarts a new cycle without waiting.
Controller Load and Within one program scan cycle, the execution of the main steps (as indicated in
the Execution Rules diagram) could be interrupted by other controller activities
Performance which have higher priority than the main steps. Such activities include,
Considerations
1. User Interrupt events, including STI, EII, and HSC interrupts (when
applicable);
2. Communication data packet receiving and transmitting;
3. PTO Motion engine periodical execution (if supported by the controller).
Power Up and First Scan On firmware revision 2 and later, all digital output variables driven by the I/O
scan gets cleared on powerup and during transition to RUN mode.
Two system variables are also available from revision 2 and later.
System Variables for Scan and Powerup on Firmware Release 2 and later
Variable Type Description
_SYSVA_FIRST_SCAN BOOL First scan bit.
Can be used to initialize or reset variables immediately
after every transition from Program to Run mode.
Note: True only on first scan. After that, it is false.
_SYSVA_POWER_UP_BIT BOOL Powerup bit.
Can be used to initialize or reset variables immediately
after download from Connected Components
Workbench or immediately after being loaded from
memory backup module (for example, microSD card).
Note:True only on the first scan after a powerup, or
running a new ladder for the first time.
Variable Retention
Micro830 and Micro850 controllers retain all user-created variables after a power
cycle, but the variables inside instances of instructions are cleared. For example: A
user created variable called My_Timer of Time data type will be retained after a
power cycle but the elapsed time (ET) within a user created timer TON
instruction will be cleared.
Memory Allocation Depending on base size, available memory on Micro800 controllers are shown in
the table below.
Memory Allocation for Micro800 Controllers
Attribute 10/16-point 20-point 24- and 48-points
Program steps(1) 4K 10 K 10 K
Data bytes 8 KB 20 KB 20 KB
(1) Estimated Program and Data size are “typical” – program steps and variables are created dynamically.
1 Program Step = 12 data bytes.
These specifications for instruction and data size are typical numbers. When a
project is created for Micro800, memory is dynamically allocated as either
program or data memory at build time. This means that program size can exceed
the published specifications if data size is sacrificed and vice versa. This flexibility
allows maximum usage of execution memory. In addition to the user defined
variables, data memory also includes any constants and temporary variables
generated by the compiler at build time.
The Micro800 controllers also have project memory, which stores a copy of the
entire downloaded project (including comments), as well as configuration
memory for storing plug-in setup information, and so on.
Guidelines and Limitations Here are some guidelines and limitations to consider when programming a
Micro800 controller using Connected Components Workbench software:
for Advanced Users
UDFB1
UDFB2
UDFB3
UDFB4
UDFB5
• Structured Text (ST) is much more efficient and easier to use than Ladder
Logic, when used for equations. if you are used to using the RSLogix 500
CPT Compute instruction, ST combined with UDFB is a great
alternative.
As an example, for an Astronomical Clock Calculation, Structured Text
uses 40% less Instructions.
Display_Output LD:
Memory Usage (Code) : 3148 steps
Memory Usage (Data) : 3456 bytes
Display_Output ST:
Memory Usage (Code) : 1824 steps
Memory Usage (Data) : 3456 bytes
• You may encounter an Insufficient Reserved Memory error while
downloading and compiling a program over a certain size. One
workaround is to use arrays, especially if there are many variables.
Notes:
Controller Security
Exclusive Access Exclusive access is enforced on the Micro800 controller regardless of whether the
controller is password-protected or not. This means that only one Connected
Components Workbench session is authorized at one time and only an
authorized client has exclusive access to the controller application. This ensures
that only one software session has exclusive access to the Micro800 application-
specific configuration.
Password Protection By setting a password on the controller, a user effectively restricts access to the
programming software connection of the controller to software sessions that can
supply the correct password. Essentially, Connected Components Workbench
operations such as upload and download are prevented if the controller is secured
with a password and the correct password is not provided.
Micro800 controllers are shipped with no password but a password can be set
through the Connected Components Workbench software (using firmware
revision 2 or later).
The controller password is also backed up to the memory backup module (that is,
2080-MEMBAK-RTC for Micro830 and Micro850; 2080-LCD for Micro810;
and microSD card for Micro820).
TIP For instructions on how to set, change, and clear controller passwords,
see Configure Controller Password on page 128.
For users with earlier versions of the software and/or hardware, refer to the
compatibility scenarios below.
If the controller is not locked, access to the user application will be allowed,
provided the controller is not busy with another session. If the controller is
locked, access to the user application will fail. Users will need to upgrade to
revision 2 of the Connected Components Workbench software.
Users are advised to upgrade the firmware. See Flash Upgrade Your Micro800
Firmware on page 121 for instructions.
Work with a Locked The following workflows are supported on compatible Micro800 controllers
(firmware revision 2) and Connected Components Workbench software
Controller revision 2.
To debug a locked controller, you have to connect to the controller through the
Connected Components Workbench software and provide the password before
you can proceed to debug.
In this scenario, the user needs to transfer user application from controller1
(locked) to another Micro800 controller with the same catalog number. The
transfer of the user application is done through the Connected Components
Workbench software by uploading from controller1, then changing the target
controller in the Micro800 project, and then downloading to controller2. Finally,
controller2 will be locked.
Configure Controller To set, change, and clear controller password, see the quickstart
instructions Configure Controller Password on page 128.
Password
Recover from a Lost If the controller is secured with a password and the password has been lost, then it
is impossible to access the controller using the Connected Components
Password Workbench software.
To recover, the controller must be set to Program Mode using the keyswitch for
Micro830 and Micro850 controllers, the 2080-LCD for Micro810 controllers, or
the 2080-REMLCD for the Micro820. Then, ControlFlash can be used to
update the controller firmware, which also clears the controller memory.
ATTENTION: The project in the controller will be lost but a new project
can be downloaded.
Notes:
This chapter provides a description of how you can use the Micro800 Remote
LCD with the Micro820 controller. It has the following sections.
Topic Page
Overview 63
Text Display Mode 65
USB Mode 64
Backup and Restore 71
Hardware Features, Installation, and Specifications 71
Overview The 2080-REMLCD module serves as a simple IP65 text display that allows the
configuration of such controller settings as IP address. It connects to the
Micro820 controller through the RS232 port. The Remote LCD module has a
dot matrix LCD with backlight and supports multilingual characters. The display
size is 3.5 inches with 192 x 64 pixel resolution.
It also has:
• Four arrow keys
• Six function keys
• ESC key
• OK key
• USB port for Connected Components Workbench connectivity
It supports:
• Small character set: 24 characters by 8 lines
• Large character set: 24 characters by 4 lines
• Extra large character set: displays 12 characters by 4 lines
The Remote LCD module supports English, French, Spanish, Italian and
Simplified Chinese languages for the Main Menu.
3.5-inch LCD
screen
Keypad
F1 F2 F3 ESC
USB port
F4 F5 F6 OK
MENU
USB Mode In USB mode, the Remote LCD module acts as a USB pass-through for
Connected Components Workbench. The Remote LCD module automatically
enters USB mode when traffic is detected.
For example:
1. Remote LCD is in text display mode showing the I/O Status screen
by default.
2. The user connects a USB cable between the PC and the Remote LCD.
3. Remote LCD is automatically detected by the PC as a USB device and the
Remote LCD automatically goes to USB mode.
4. I/O Status screen is no longer shown. The user is now able to download
program over USB using Connected Components Workbench.
5. When the USB cable is disconnected and no traffic is detected for
30 seconds, the Remote LCD automatically goes back to text display mode
showing the I/O Status screen.
IMPORTANT Using the USB port is convenient when accessing the controller from the
front of the cabinet without opening the door and when the IP address is
unknown. For larger programs, it is recommended to use USB port
through the Remote LCD to set the IP address and then use Ethernet to
download. Ethernet is faster due to limitations of the USB to serial
conversion.
Text Display Mode In text display mode, you are either in I/O Status, Main Menu, or executing
Remote LCD instructions.
Startup Screen
On powerup, the Remote LCD module powers up with a splash screen that
displays "Initializing". Then, it displays "Connecting to Controller" until the
connection is established. The controller then displays the startup screen for
3 seconds by default or user-defined duration after the connection is established.
The user can customize this startup screen through Connected Components
Workbench. The controller displays the default startup screen at powerup when
the customized startup screen is blank.
After showing the startup message, the Remote LCD will show the I/O Status
screen, assuming that no LCD_REM instructions are executing.
In text display mode, you can make use of available navigation keys (function
keys, arrow keys, ESC and OK) to navigate through the menus.
F1 F2 F3 ESC
F4 F5 F6 OK
MENU
Shortcut keys jump from the I/O Status screen to the specific main menu
operation.
Main Menu
RUN
Mode Switch 14:18WED
Variables
I/O Status
The following structure tree takes you through the different menus available in
the Remote LCD module and their general description.
Mode Switch
Set the controller to Program
Mode or Run mode from this
screen.
Variable
Monitor or set values for
program-defined variables.
Advanced Set
View:
System Info Analog Calibration
Fault Code PwrUp Behavior
LCD Setup Memory Card
Clock Setup ENET Cfg
Language
Security
Activate, deactivate, and change
password.
User-defined Screens
When the instructions are executing, the user-defined screen is shown, but when
in the Main Menu, the Remote LCD instructions are disabled. For example, the
KEY_READ_REM instruction will no longer read keypad input.
LCD_REM
The LCD_REM function block is used to display user strings on the REMLCD
module when REMLCD is present and connected.
LCD_REM
Enable LCD_REM
Font Sts
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
LCD_BKLT_REM
LCD_BKLT_REM
Enable LCD_BKLT_REM
Color Sts
Mode
KEY_READ_REM
KEY_READ_REM
Enable KEY_READ_REM
Sts
KeyData
This function block can be used to read key status on the Remote LCD module
when the user-defined screen is active. When user-defined screen is not active,
KEY_READ_REM instruction flags an error.
Note that the KEY_READ_REM instruction will always show key status as False
if Push Button Key Read is disabled in Connected Components Workbench or
the Remote LCD.
Backup and Restore To initiate backup and restore through the REMLCD module, access the
memory card by going to the Main Menu → Advanced Set → Memory Card.
See Using microSD Cards on page 73 for information about project backup and
restore on the microSD card.
Hardware Features, To learn about installation, hardware features, and specifications of the Micro800
Remote LCD, refer to the installation instructions, publication 2080-IN010, in
Installation, and the Literature Library.
Specifications
Notes:
Topic Page
Overview 73
Project Backup and Restore 73
Backup and Restore Directory Structure 75
Powerup Settings in ConfigMeFirst.txt 76
General Configuration Rules in ConfigMeFirst.txt 77
ConfigMeFirst.txt Errors 77
Datalog 78
Recipe 83
Quickstart Projects for Datalog and Recipe Function Blocks 87
The last section provides quickstart projects for the datalog and recipe functions.
Overview Micro820 controllers support microSD cards for the following purposes:
• Project backup and restore
• Datalog and Recipe
IMPORTANT Do not remove the microSD card or power down while operations such as
upload, download, delete, search, backup and restore are ongoing to
prevent data loss. A blinking SD status LED indicates that these
operations are ongoing.
IMPORTANT To prevent data loss, recipe and datalog function blocks must indicate
Idle status before microSD card is removed.
Project Backup and Project backup and restore on Micro820 controllers are mainly supported
through the microSD card. Both backup and restore can be initiated or manually
Restore
Backup and restore can only occur when the controller is in PROGRAM mode.
On controller powerup, restore automatically occurs if the Load Always or Load
on Memory Error option has been configured in Connected Components
Workbench.
IMPORTANT To learn about restore and backup using the 2080-REMLCD module, see
Using the Micro800 Remote LCD on page 63.
To learn about restore and backup using the Connected Components
Workbench, refer to the software Online Help.
The microSD card stores the controller password in encrypted format. When the
password is mismatched, the contents of the microSD card is not restored on the
controller.
Backup and restore can be configured to trigger through the following ways:
The ConfigMeFirst.txt file is a configuration file stored on the microSD card that
the user can optionally create to customize backup, restore, recipe and datalog
directories. The following sections include information on how to configure the
ConfigMeFirst.txt properly.
IMPORTANT The Micro800 controller reports a major fault when project backup does
not succeed because the memory card size is exceeded.
ConfigMeFirst.txt Errors
The SD status LED goes off when the microSD card is inserted during
PROGRAM or RUN mode (or on powerup) and the ConfigMeFirst.txt file is
either unreadable or invalid. The ConfigMeFirst.txt file will be invalid when it
has the following errors:
• unrecognized setting (that is, the first three configuration rules have not
been followed),
• the setting parameters after the = symbol is invalid, does not exist, or out of
range,
• the same setting exists twice or more,
• one or more non-setting characters exist within the same bracket,
• space in between setting characters (example, [P M]), or
The microSD card becomes unusable until the ConfigMeFirst.txt file becomes
readable or the errors are corrected.
Datalog The datalogging feature allows you to capture global and local variables with
timestamp from the Micro800 controller into the microSD card. You can retrieve
the recorded datasets on the microSD card by reading the contents of the
microSD card through a card reader or by doing an upload through the
Connected Components Workbench software.
You can retrieve datalog files from the microSD card using a card reader or by
uploading the datalogs through Connected Components Workbench.
See the sample quickstart project to get you started on the Datalog feature, on
page 87.
IMPORTANT Datalog execution time depends on the user application and its
complexity. Users are advised to datalog once a minute for typical
applications. Note that housekeeping takes at least 5 ms per program
scan. See Program Execution in Micro800 on page 51 for more
information on program scan and execution rules and sequence.
See also Datalog – Data Payload vs. Performance Time on page 108.
IMPORTANT Note that in cases where there are simultaneous RCP and DLG function
block execution or uploads/downloads/searches, the activities are
queued up and handled one by one by the program scan. Users will
notice a slowdown in performance in these cases.
The datalogging function block lets a user program to write run-time global
values into the datalogging file in microSD card.
DLG
Enable Status
TSEnable ErrorID
CfgId
IMPORTANT File access error will be returned during DLG function block execution
when card is full.
Enable(1)
Disable(0) Disable(0) Disable(0)
Error(3)
Succeed(2)
Busy(1) Busy(1)
Status(0)
Idle(0) Idle(0)
Idle(0)
(2) String data variables are enclosed in double quotation marks in the datalog file.
The example below shows DSET1 using string variables and DSET2 using integers.
Recipe Micro820 controllers support the Recipe feature and allows users to store and
load a list of data to and/or from recipe data files using the RCP instruction. It
also allows users to download, upload, and delete Recipe data on the microSD
card through Connected Components Workbench.
Recipe Specifications
Attribute Value
Maximum number of recipe sets 10 Recipe sets are stored in 10 directories
(Rcp_Id01...Rcp_Id10) with a maximum number
Maximum number of recipes 50 of 50 recipe files in each directory.
in each set
Maximum number of variables 128 Configured in Connected Components
per recipe Workbench software.
Maximum bytes per recipe file 4 KB
Recipe files are then created/written into the folder, with file
names that correspond to the input value of RcpName parameter
for the RCP function block, as configured in Connected Components
Workbench. Each Recipe set can contain up to 50 recipe files or
variations. Filenames for recipe files should not exceed 30
characters.
You can retrieve recipe files from the microSD card using a card reader or by
uploading and downloading the recipe sets through Connected Components
Workbench.
Enable Status
RWFlag ErrorID
CfgId
RcpName
FALSE:
Recipe reads saved data variables from the
microSD card and update these variables
accordingly.
CfgId INPUT USINT Recipe set number (1…10).
RcpName INPUT STRING Recipe data filename (maximum 30 characters).
Status OUTPUT USINT Current state of Recipe function block.
ErrorID OUTPUT UDINT Detailed error ID information if RCP read/write
fails.
IMPORTANT File access error will be returned during RCP function block execution
when card is full.
Enable(1)
Disable(0) Disable(0) Disable(0)
Error(3)
Succeed(2)
Busy(1) Busy(1)
Status(0)
Idle(0) Idle(0)
Idle(0)
Quickstart Projects for The following sample quickstart projects provide step-by-step instructions on
how to use the Datalog and Recipe function blocks in Connected Components
Datalog and Recipe Workbench to generate and manage your recipe files and datalogs.
Function Blocks
Configure datalog
Configure datalog
5. On the Block Selector window that appears, type DLG to filter the DLG
function block from the list of available function blocks. Click OK.
Local Variables
Variable Name Data Type
EnDlg BOOL
cfg_id USINT
data_time_enable BOOL
error UDINT
status USINT
data_bool BOOL
data_int8 INT
data_string STRING
7. Assign the variables to the DLG input and output parameters as follows:
Note: For CfgID input parameter, you can choose a predefined variable by
choosing from the Defined Words in Connected Components Workbench. To
do so, click the CfgID input box. From the Variable Selector window that
appears, click the Defined Words tab and choose from the list of defined words
(for example, DSET1 which corresponds to DSET1 in your recipe
configuration). See the following screenshot.
After configuring datalog properties, build the program and download to the
controller.
Execute the DLG function block. Notice the Status output go from 0 (Idle) to
1 (Enable), and 2 (Succeed).
You can retrieve datalog files from the microSD card using a card reader or by
uploading the datalogs through Connected Components Workbench.
IMPORTANT The Manage button is not available in DEBUG mode. You need to stop
DEBUG mode to use the Manage button to upload datalog files.
Uploading datalog files in PROGRAM mode is recommended for
performance and file locking reasons.
3. From the Upload window that appears, select the date of the datalog files
that you would like to upload. You can upload datalogs for the entire
month by clicking Whole Month option button.
4. If the file already exists in your destination folder, select whether you
would like to Overwrite file, Skip file, or Preserve both files.
5. Click Upload. The progress bar should tell you whether the upload is
successful or not.
IMPORTANT Do not take out the microSD card from the slot while data is being
written or retrieved from the card. Ongoing write and retrieval operations
are indicated by a flashing SD status LED.
IMPORTANT For better datalog file management, you can use a third-party tool or DOS
CMD to merge all your datalog files into a single file and import as a CSV
file in Excel.
Configure Recipe
Configure Recipe
3. From the Toolbox, double-click Direct Contact to add it to the first rung.
Local Variables
Variable Name Data Type
recipe_file STRING
recipe_file2 STRING
cfg_id2 USINT
read BOOL
write BOOL
9. Assign the variables to the RCP input and output parameters as follows:
Rung 1
Rung 2
Note: For CfgID input parameter, you can choose a predefined variable by
choosing from the Defined Words in Connected Components Workbench. To
do so, click the CfgID input box. From the Variable Selector window that
appears, click the Defined Words tab and choose from the list of defined words
(for example, RCP1 which corresponds to RCP1 in your recipe configuration).
See the following screenshot.
After configuring Recipe, build the program and download to the controller.
Execute the RCP function block. Notice the Status output go from 0 (Idle) to
1 (Enable), and 2 (Succeed).
You can retrieve recipe files from the microSD card using a card reader or by
uploading the recipe files through Connected Components Workbench.
3. From the Upload window that appears, select the batch of recipe files that
you would like to upload.
4. If the file already exists in your destination folder, select whether you
would like to Overwrite file, Skip file, or Preserve both Files.
5. Click Upload. The progress bar should tell you whether the upload is
successful or not.
IMPORTANT Do not take out the microSD card from the slot while data is being
written or retrieved from the card. Ongoing write and retrieval operations
are indicated by a flashing SD status LED.
Specifications
Min Max
Solid 0.14 mm2 (26 AWG) 2.5 mm2 (14 AWG) rated @ 90 °C
(194 °F ) insulation max
Stranded 0.14 mm2 (26 AWG) 1.5 mm2 (16 AWG)
Min Max
Solid and 0.2 mm2 (24 AWG) 2.5 mm2 (14 AWG) rated @ 90 °C
Stranded (194 °F ) insulation max
Min Max
Solid 0.14 mm2 (26 AWG) 1.5 mm2 (16 AWG) rated @ 90 °C
(194 °F) insulation max
Stranded 0.14 mm2 (26 AWG) 1.0 mm2 (18 AWG)
General Specifications
Attribute 2080-LC20-20AWB(R) 2080-LC20-20QBB(R) 2080-LC20-20QWB(R)
Power dissipation 6W
Power supply voltage range 20.4…26.4 V DC, Class 2
Auxiliary power supply output for 10V
thermistor
I/O rating Input: 120V AC 16 mA Input: 24V DC, 8.8 mA Input: 24V DC, 8.8 mA
Output: 2 A, 240 V AC Output: 24V DC, 1 A per point Output: 2 A,
2A, 24V DC (Surrounding air temperature 240 V AC, 2A, 24V DC
30°C) 24 V DC, 0.3
A per point (Surrounding air
temperature 65 °C)
Isolation voltage 250V (continuous), Reinforced 50V (continuous), Reinforced 250V (continuous), Reinforced
Insulation Type, Output to Aux and Insulation Type, I/O to Aux and Insulation Type, Output to Aux and
Network, Inputs to Outputs. Network, Inputs to Outputs. Network, Inputs to Outputs.
150V (continuous), Reinforced Type tested for 60 s @ 720 V DC, 50V (continuous), Reinforced Insulation
Insulation Type, Input to Aux and I/O to Aux and Network, Inputs Type, Input to Aux and Network.
Network. to Outputs. Type tested for 60 s @ 720 V DC,
Type tested for 60 s @ 3250 V DC Inputs to Aux and Network, 3250 V DC
Output to Aux and Network, Inputs Outputs to Aux and Network, Inputs to
to Outputs. Outputs.
Type tested for 60 s @ 1950 V DC
Input to Aux and Network.
Pilot duty rating C300, R150 – C300, R150
Insulation stripping length 7 mm for the removable and fixed terminal blocks
5 mm for the RS232/RS485 serial port
Enclosure type rating Meets IP20
North American temp code T4
(1)
Use this Conductor Category information for planning conductor routing. Refer to Industrial Automation Wiring and Grounding Guidelines, publication 1770-4.1.
DC Input Specifications
Attribute Non-isolated, shared with Isolated inputs
analog inputs (Inputs 00…03) (Inputs 04…11) – for
2080-LC20-20QWB(R),
2080-LC20-20QBB(R) only
Voltage category 24V DC Sink 24V DC Sink/Source
On-state voltage, nom 12/24V DC 24V DC
On-state voltage range 9.8…26.4V DC 24V DC, nom
10…26.4V DC @ 65 °C (149 °F)
10…30V DC @ 30 °C (86 °F)
Off-state voltage, max 5V DC
Off-state current. max 0.5 mA 1.5 mA
On-state current, min 0.75 mA @ 10.8V DC 1.8 mA @ 10.8V DC
1.0 mA @ 15V DC 2.7 mA @ 15V DC
On-state current, nom 2.1 mA @ 24V DC 8.5 mA @24V DC
On-state current, max 2.6 mA @ 26.4V 12.0 mA @ 30V DC
Nominal impedance 14.1 kΩ (non-isolated) 3.74 kΩ (isolated)
IEC input compatibility Type 1 Type 3
Turn On/Off time for the Micro820 controllers for the PWM output port is
0.2 μs and 2.5 μs max, respectively. Duty cycle error is:
Positive error = 2.5 μs * F
Negative error = -0.2 μs * F
To get the duty cycle error at a certain frequency, for example, the user sets
frequency to 20 KHz, and sets duty cycle to 30% in Connected Components
Workbench, then actual duty cycle is
+5%
30% -0.4%.
Embedded RTC
Attribute Value
Resolution 1 sec
Accuracy ± 52 sec/month @ 25 °C
± 160 sec/month @ 0...55 °C
Power off Supercap – 4 days @ 25 °C
Supercap life – 5 years @ 40 °C, 14.5 years @ 25 °C
Datalog Performance
Environmental Specifications
Attribute Value
Temperature, operating IEC 60068-2-1 (Test Ad, Operating Cold),
IEC 60068-2-2 (Test Bd, Operating Dry Heat),
IEC 60068-2-14 (Test Nb, Operating Thermal Shock):
-20…65 °C (-4…149 °F)
Temperature, surrounding 65 °C (149 °F)
air, max
Temperature, nonoperating IEC 60068-2-1 (Test Ab, Unpackaged Nonoperating Cold),
IEC 60068-2-2 (Test Bb, Unpackaged Nonoperating Dry Heat),
IEC 60068-2-14 (Test Na, Unpackaged Nonoperating Thermal Shock):
-40…85 °C (-40…185 °F)
Relative humidity IEC 60068-2-30 (Test Db, Unpackaged Damp Heat):
5…95% non-condensing
Vibration IEC 60068-2-6 (Test Fc, Operating):
2 g @ 10…500 Hz
Shock, operating IEC 60068-2-27 (Test Ea, Unpackaged Shock):
25 g
Shock, non-operating IEC 60068-2-27 (Test Ea, Unpackaged Shock):
DIN mount: 25 g
PANEL mount: 45 g
Emissions CISPR 11
Group 1, Class A
ESD immunity IEC 61000-4-2:
6 kV contact discharges
8 kV air discharges
Radiated RF immunity IEC 61000-4-3:
10V/m with 1 kHz sine-wave 80% AM from 80…2000 MHz
10V/m with 200 Hz 50% Pulse 100% AM @ 900 MHz
10V/m with 200 Hz 50% Pulse 100% AM @ 1890 MHz
10V/m with 1 kHz sine-wave 80% AM from 2000…2700 MHz
Environmental Specifications
Attribute Value
EFT/B immunity IEC 61000-4-4:
±2 kV @ 5 kHz on power ports
±2 kV @ 5 kHz on signal ports
±1 kV @ 5 kHz on communication ports
Surge transient immunity IEC 61000-4-5:
±1 kV line-line(DM) and ±2 kV line-earth(CM) on power ports
±1 kV line-line(DM) and ±2 kV line-earth(CM) on signal ports
±1 kV line-earth(CM) on communication ports
Conducted RF immunity IEC 61000-4-6:
10V rms with 1 kHz sine-wave 80% AM from 150 kHz…80 MHz
Certifications
Certification (when Value
product is marked)(1)
c-UL-us UL Listed Industrial Control Equipment, certified for US and Canada.
See UL File E322657.
Troubleshooting
Output status
46207
Normal Operation
The RUN indicator is on or flashing. If a force condition is active, the FORCE
indicator turns on and remains on until all forces are removed.
Error Conditions If an error exists within the controller, the controller indicators operate as
described in the following table.
Error codes This section lists possible error codes for your controller, as well as recommended
actions for recovery.
If an error persists after performing the recommended action, contact your local
Rockwell Automation technical support representative. For contact information,
go to
http://support.rockwellautomation.com/MySupport.asp
For the following four error codes, z is the slot number of the plug-in module. If z = 0, then the slot number cannot be identified
0xF0Az The plug-in I/O module experienced an error during Perform one of the following:
operation.
• Check the condition and operation of the plug-in I/O module.
• Cycle power to the Micro800 controller.
• If the error persists, see the Micro800 Plug-in Modules User Manual,
publication 2080-UM004.
0xF0Bz The plug-in I/O module configuration does not match the Perform one of the following:
actual I/O configuration detected.
• Correct the plug-in I/O module configuration in the user program to match
that of the actual hardware configuration.
• Check the condition and operation of the plug-in I/O module.
• Cycle power to the Micro800 controller.
• Replace the plug-in I/O module.
• If the error persists, see the Micro800 Plug-in Modules User Manual,
publication 2080-UM004.
0xF0Dz When power was applied to the plug-in I/O module or Perform the following:
the plug-in I/O module was removed, a hardware error
occurred. • Correct the plug-in I/O module configuration in the user program.
• Build and download the program using Connected Components
Workbench.
• Put the Micro800 controller into Run mode.
0xF0Ez The plug-in I/O module configuration does not match the Perform the following:
actual I/O configuration detected.
• Correct the plug-in I/O module configuration in the user program.
• Build and download the program using Connected Components
Workbench.
• Put the Micro800 controller into Run mode.
0xD011 The program scan time exceeded the watchdog timeout Perform one of the following:
value.
• Determine if the program is caught in a loop and correct the problem.
• In the user program, increase the watchdog timeout value that is set in
the system variable _SYSVA_TCYWDG and then build and download the
program using Connected Components Workbench.
0xF850 An error occurred in the STI configuration. Review and change the STI configuration in the Micro800 controller
properties.
Controller Error Recovery Use the following error recovery model to help you diagnose software and
hardware problems in the micro controller. The model provides common
Model questions you might ask to help troubleshoot your system. Refer to the
recommended pages within the model for further help.
Yes
Refer to page 114 for Are the wire No Tighten wire connections.
probable cause and connections
recommended action. tight?
Yes
Does the
Is the Power No controller No
Clear Fault. Check power.
LED on? have power
supplied?
Yes Yes
Yes
Is an input LED No
Is the Fault No
accurately
LED on? showing status?
Return controller to RUN or
any of the REM test modes.
Yes Yes
End
Calling If you need to contact Rockwell Automation or local distributor for assistance, it
is helpful to obtain the following (prior to calling):
Rockwell Automation for
• controller type, series letter, revision letter, and firmware (FRN) number of
Assistance the controller
• controller indicator status
Quickstarts
This chapter covers some common tasks and quickstart instructions that are
aimed to make you familiar with the in Connected Component Workbench. The
following quickstarts are included:
Topic Page
Flash Upgrade Your Micro800 Firmware 121
Configure Controller Password 128
Forcing I/Os 132
Flash Upgrade Your This quick start will show you how to flash update the firmware in a Micro800
controller using ControlFLASH. ControlFLASH is installed or updated with
Micro800 Firmware the latest Micro800 firmware when Connected Components Workbench
software is installed on your computer.
On Micro820 controllers, users can use flash upgrade their controllers through
the Ethernet port, in addition to the USB port of the 2080-REMLCD.
3. Select the catalog number of the Micro800 controller that you are
updating and click Next.
If you see the following error message instead, check to see if the controller
is faulted or in Run mode. If so, clear the fault or switch to Program mode,
click OK and try again.
7. When the flash update is complete, you see a status screen similar to the
following. Click OK to complete the update.
Establish Communications This quick start shows you how to get RSLinx RSWho to communicate with a
Micro820 controller through a USB.
between RSLinx and a
Micro820 Controller 1. RSLinx Classic is installed as part of the Connected Components
through USB Port on Workbench software installation process. The minimum version of
RSLinx Classic with full Micro820 controller support is 3.60.01 (released
2080-REMLCD on December 2013).
2. Power up the Micro820 controller.
3. Plug USB A/B cable directly between your PC and the USB port on the
2080-REMLCD.
4. Windows should discover the new hardware. Click No, not this time and
then click Next.
Configure Controller Set, change, and clear the password on a target controller through the Connected
Components Workbench software.
Password
IMPORTANT The following instructions are supported on Connected Components
Workbench revision 2 and Micro800 controllers with firmware revision 2.
For more information about the controller password feature on Micro800
controllers, see Controller Security on page 57.
IMPORTANT After creating or changing the controller password, you need to power
down the controller in order for the password to be saved.
5. Click OK.
Once a password is created, any new sessions that try to connect to the
controller will have to supply the password to gain exclusive access to the
target controller.
Change Password
With an authorized session, you can change the password on a target controller
through the Connected Components Workbench software. The target controller
must be in Connected status.
3. Click OK.
The controller requires the new password to grant access to any new session.
Clear Password
With an authorized session, you can clear the password on a target controller
through the Connected Components Workbench software.
1. On the Device Details toolbar, click Secure button. Select Clear Password.
Forcing I/Os
IMPORTANT This section generally talks about forcing I/O in Micro800 controllers.
Some elements may not apply to certain models (for example, Micro810
and Micro820 controllers do not support PTO motion).
Inputs are logically forced. LED status indicators do not show forced values, but
the inputs in the user program are forced.
Forcing is only possible with I/O and does not apply to user defined variables and
non-I/O variables, and special functions such as HSC which execute
independently from the User Program scan. For example, for motion, Drive
Ready input cannot be forced.
Unlike inputs, outputs are physically forced. LED status indicators do show
forced values and the user program does not use forced values.
HSC
User Program
Physical
Force Logical Logical Force
Physical
Inputs Inputs Outputs Outputs
Normal
Variables
Motion
Remember you cannot force a Physical Input and cannot force a Logical Output.
In many cases, the front of the controller is not visible to the operator and
Connected Components Workbench is not online with the controller. If you
want the force status to be visible to the operator, then the User Program must
read the force status using the SYS_INFO function block and then display the
force status on something that the operator can see, such as the human machine
interface (HMI), or stack light. The following is an example program in
Structured Text.
If the front of the controller is visible, and not blocked by the cabinet enclosure,
Micro830 and Micro850 controllers have a Force LED indicator.
After a controller is power cycled, all I/O forces are cleared from memory.
Notes:
IPIDCONTROLLER
EN ENO
Process Output
SetPoint AbsoluteError
FeedBack ATWarning
Auto OutGains
Initialize
Gains
AutoTune
ATParameters
The following table explains the arguments used in this function block.
IPIDCONTROLLER Arguments
Parameter Parameter Data Type Description
Type
EN Input BOOL Function block enable
When EN = TRUE, execute function.
When EN = FALSE, do not execute function.
Only applicable to LD, EN is not required in FBD
programming.
Process Input REAL Process value, measured from the output of controlled
process.
SetPoint Input REAL Set point value for desired process
Feedback Input REAL Feedback signal, measured from control input to a
process.
Auto Input BOOL Operating modes of PID controller:
• TRUE —controller runs in normal mode
• FALSE — controller out value equals to feedback
value
Initialize Input BOOL A change in value (True to False or FALSE to TRUE)
causes the controller to eliminate any proportional
gain during that cycle. It Also initializes AutoTune
sequences.
Gains Input GAIN_PID Gains for IPIDCONTROLLER
See GAIN_PID Data type
IPIDCONTROLLER Arguments
Parameter Parameter Data Type Description
Type
AutoTune Input BOOL Start AutoTune sequence
ATParameters Input AT_Param Autotune parameters
See AT_Param Data Type
Output Output Real Output value from the controller
AbsoluteError Output Real AbsoluteError is the difference between Process
value and set point value
ATWarnings Output DINT Warning for the Auto Tune sequence. Possible value
are:
• 0 — No auto tune done
• 1 — Auto tuning in progress
• 2 — Auto tuning done
• -1 — Error 1: Controller input “Auto” is TRUE,
please set it to False
• -2 — Error 2: Auto tune error, the ATDynaSet time
expired
OutGains Output GAIN_PID Gains calculated from AutoTune Sequences. See
GAIN PID Data type
ENO Output BOOL Enable out.
Only applicable to LD, “ENO” is not required in FBD
programming.
The auto tune process begins when the ‘Initialize’ is set to FALSE (Step 7.) At
this moment, the control output increases by the amount of ‘Step’ and the process
waits for the process value to reach or exceeds ‘first peak’.
Once the process value reaches first peak, the control output reduces by the
amount of Step and waits for the process value to drop to the second peak.
Troubleshooting an You can tell what is going on behind the autotune process from the sequences of
control output. Here are some known sequences of control output and what it
Autotune Process means if autotune fails. For the ease of illustrating the sequence of control output,
we define:
Load: 50
Step: 20
Output Sequence 1: 50 -> 70 -> 30
Sequence Condition Autotune Result Action for Autotune Fail
Process value reached 'first peak' and Likely successful NA
'second' peak in time
Water Level
The illustration above shows a basic water level control system, to maintain a
preset water level in the tank. A solenoid valve is used to control incoming water,
filling the tank at a preset rate. Similarly, outflowing water is controlled at a
measureable rate.
Autotune of IPID can only work on first and second order systems.
This may be written in a standard form such as f(t) = τdy/dt + y(t), where τ is the
system time constant, f is the forcing function and y is the system state variable.
The illustration above shows sample code for controlling the PID application
example shown before. Developed using Function Block Diagrams, it consists of
a pre-defined function block, IPIDCONTROLLER, and four user-defined
function blocks. These four are:
• PID_OutputRegulator
This user-defined function block regulates the output of
IPIDCONTROLLER within a safe range to ensure that there is no
damage to the hardware used in the process.
• PID_Feedback
This user defined function block acts as a multiplexer.
• PID_PWM
This user defined function block provides a PWM function, converting a
real value to a time related ON/OFF output.
• SIM_WATERLVL
This user defined function block simulates the process depicted in the
application example shown before.
Modbus Mapping All Micro800 controllers (except the Micro810 12-point models) support
Modbus RTU over a serial port through the embedded, non-isolated serial port.
The 2080-SERIALISOL isolated serial port plug-in module also supports
Modbus RTU. Both Modbus RTU master and slave are supported. Although
performance may be affected by the program scan time, the 48-point controllers
can support up to six serial ports (one embedded and five plug-ins), and so
consequently, six separate Modbus networks.
Endian Configuration
Modbus protocol is big-endian in that the most significant byte of a 16-bit word
is transmitted first. Micro800 is also big-endian, so byte ordering does not have to
be reversed. For Micro800 data types larger than 16-bits (for example, DINT,
LINT, REAL, LREAL), multiple Modbus addresses may be required but the
most significant byte is always first.
Variable Data Type 0 - Coils 1 - Discrete Inputs 3 - Input Registers 4 - Holding Registers
000001 to 065536 100001 to 165536 300001 to 365536 400001 to 465536
Supported Modbus Supported Modbus Supported Modbus Supported Modbus
Address Used Address Used Address Used Address Used
BOOL Y 1 Y 1
SINT Y 8 Y 8
BYTE Y 8 Y 8
USINT Y 8 Y 8
INT Y 16 Y 16 Y 1 Y 1
Variable Data Type 0 - Coils 1 - Discrete Inputs 3 - Input Registers 4 - Holding Registers
000001 to 065536 100001 to 165536 300001 to 365536 400001 to 465536
Supported Modbus Supported Modbus Supported Modbus Supported Modbus
Address Used Address Used Address Used Address Used
UINT Y 16 Y 16 Y 1 Y 1
WORD Y 16 Y 16 Y 1 Y 1
REAL Y 32 Y 32 Y 2 Y 2
DINT Y 32 Y 32 Y 2 Y 2
UDINT Y 32 Y 32 Y 2 Y 2
DWORD Y 32 Y 32 Y 2 Y 2
LWORD Y 64 Y 64 Y 4 Y 4
ULINT Y 64 Y 64 Y 4 Y 4
LINT Y 64 Y 64 Y 4 Y 4
LREAL Y 64 Y 64 Y 4 Y 4
The embedded serial port is targeted for use with HMIs using Modbus RTU. The
maximum recommended cable distance is 3 meters. Use the 2080-SERIALISOL
serial port plug-in module if longer distances or more noise immunity is needed.
The HMI is typically configured for Master and the Micro800 embedded serial
port is configured for Slave.
2. Set the Address of Micro800 slave to match the serial port configuration
for the controller.
Parameter numbers listed in this section are for a PowerFlex 4M and will be
different if you are using another PowerFlex 4-Class drive.
Parameter Name Parameter Number
4M 4 40 40P 400 400N 400P
Start Source P106 P36
Speed Reference P108 P38
Comm Data Rate C302 A103 C103
Comm Node Addr C303 A104 C104
Comm Loss Action C304 A105 C105
Comm Loss Time C305 A106 C106
Comm Format C306 A107 C102
6. The Parameter window opens. Resize it to view the parameters. From this
window, you can view and set data values of Parameters.
7. From the Parameter window, change the following Parameters to set the
communications for Modbus RTU so that the PowerFlex 4M Drive will
communicate with Micro830/850 via Modbus RTU communication.
9. Turn off the power to the drive until the PowerFlex 4M display blanks out
completely, then restore power to the PowerFlex 4M.
The drive is now ready to be controlled by Modbus RTU communication
commands initiated from the Micro830/850 controller.
Modbus devices can be 0-based (registers are numbered starting at 0), or 1-based
(registers are numbered starting at 1). When PowerFlex 4-Class drives are used
with Micro800 family controllers, the register addresses listed in the PowerFlex
User Manuals need to be offset by n+1.
For example, the Logic Command word is located at address 8192, but your
Micro800 program needs to use 8193 (8192+1) to access it.
TIP • If the respective PowerFlex drive supports Modbus Function Code 16 Preset
(Write) Multiple Registers, use a single write message with a length of "2" to
write the Logic Command (8193) and Speed reference (8194) at the same time.
• Use a single Function Code 03 Read Holding Registers with a length of "4" to read
the Logic status (8449), Error Code (8450), and Speed Feedback (8452) at the same
time.
Refer to the respective PowerFlex 4-Class drive User Manual for additional
information about Modbus addressing. (See Appendix E – Modbus RTU
Protocol, on publication 22C-UM001G).
Performance
DLG inputs
function block status 80 embedded 1
function error ID list 80 installation
input and output parameters 80 considerations 8
duplicate packet detection 44 DIN rail mounting 20
Micro820 controller 19
module spacing 20
E mounting dimensions 19
embedded responses 45 panel mounting 20
Embedded Serial Port Cables 4 dimensions 21
EMC Directive 8 IPID Function Block 135
Endian Configuration 143 IPIDCONTROLLER 135
ENET status 2 parameters 135
ENQ retries 45 isolation transformers
error codes 113, 114 power considerations 13
error conditions 112
error detection 44 K
error recovery model 119
KEY_READ_REM 69, 71
Ethernet 38, 65
keyswitch 61
configuration settings 48
transfer rate 37
EtherNet/IP Client 39 L
EtherNet/IP Server 37, 39 LCD_BKLT_REM 69, 70
European Union Directive compliance 7 LCD_REM 69, 70
EMC Directive 8 LINT 39
exclusive access 57 Literature Library 23
LREAL 39
F
fault status 2 M
Force status 2, 111 master control relay 14
Forcing I/Os 132 emergency-stop switches 15
using ANSI/CSA symbols schematic 18
using IEC symbols schematic 17
G periodic tests 12
general considerations 8 Micro800 cycle or scan 51
grounding the controller 29 microSD 2, 3, 57
guidelines and limitations for advanced users 54 card slot 3
Class 4 3
H Class 6 and 10 SDSC and SDHC 3
installation 22
hardware minimizing electrical noise 31
features 1 Modbus 37
overview 1 mapping 143
heat protection 14 Modbus RTU 37, 38, 42
housekeeping 51, 78 advanced parameters 46
configuration 45
I parameters 46
Modbus TCP Client 38
I/O Status 64, 66
Modbus/TCP Server 37, 38
input states on power down 14
module spacing 20
surge suppressors
for motor starters 28
recommended 28
using 26
__SYSVA_CYCLECNT 51
__SYSVA_TCYCURRENT 52
__SYSVA_TCYMAXIMUM 52
T
terminal blocks 2
thermistor resistance 35
transmit retries 45
troubleshooting 111
U
USB mode 64
USB port 64, 65
User Defined Function Block (UDFB) 51, 55
using emergency-stop switches 15
V
variable retention 54
voltage input 35
W
wiring 25
fixed terminal blocks 26
removable terminal blocks 26
RS232/RS485 terminal block 26
wiring recommendation 25
Rockwell Automation provides technical information on the Web to assist you in using its products.
At http://www.rockwellautomation.com/support/, you can find technical manuals, a knowledge base of FAQs, technical and
application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the
best use of these tools.
For an additional level of technical phone support for installation, configuration, and troubleshooting, we offer TechConnect
support programs. For more information, contact your local distributor or Rockwell Automation representative,
or visit http://www.rockwellautomation.com/support/.
Installation Assistance
If you experience a problem within the first 24 hours of installation, review the information that is contained in this manual.
You can contact Customer Support for initial help in getting your product up and running.
Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility.
However, if your product is not functioning and needs to be returned, follow these procedures.
United States Contact your distributor. You must provide a Customer Support case number (call the phone number above to obtain
one) to your distributor to complete the return process.
Outside United States Please contact your local Rockwell Automation representative for the return procedure.
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this document,
complete this form, publication RA-DU002, available at http://www.rockwellautomation.com/literature/.
Rockwell Otomasyon Ticaret A.Ş., Kar Plaza İş Merkezi E Blok Kat:6 34752 İçerenköy, İstanbul, Tel: +90 (216) 5698400