Allen-Bradley Micro830 Manual
Hide thumbs Also See for Micro830:
Table of Contents

Advertisement

User Manual
Micro830, Micro850, and Micro870
Programmable Controllers
Catalog Numbers Bulletin 2080-LC30, 2080-LC50, and 2080-LC70

Advertisement

Table of Contents
loading

Summary of Contents for Allen-Bradley Micro830

  • Page 1 User Manual Micro830, Micro850, and Micro870 Programmable Controllers Catalog Numbers Bulletin 2080-LC30, 2080-LC50, and 2080-LC70...
  • Page 2 Identifies information that is critical for successful application and understanding of the product. Allen-Bradley, CompactLogix, Connected Components Workbench, ControlLogix, Encompass, FactoryTalk, Kinetix, Micro800, Micro810, Micro820, Micro830, Micro850, Micro870, PanelView, PowerFlex, Rockwell Automation, Rockwell Software, RSLinx, RSLogix 500, and TechConnect are trademarks of Rockwell Automation, Inc.
  • Page 3: Preface

    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® controllers Who Should Use this Use this manual if you are responsible for designing, installing, programming, or troubleshooting control systems that use Micro800 controllers.
  • Page 4 Micro800 controller. Micro800 Programmable Controller External AC Information on mounting and wiring the optional Power Supply Installation Instructions external power supply. 2080-IN001 Micro830 Programmable Controllers Installation Information on mounting and wiring the Instructions 2080-IN002 Micro830 10-point Controllers. Micro830 Programmable Controllers Installation...
  • Page 5 National Electrical Code - Published by the An article on wire sizes and types for grounding National Fire Protection Association of Boston, electrical equipment. Allen-Bradley Industrial Automation Glossary A glossary of industrial automation terms and AG-7.1 abbreviations. You can view or download publications at http://www.rockwellautomation.com/...
  • Page 6 Preface Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 7: Table Of Contents

    Micro830 Controllers ........
  • Page 8 Table of Contents Preventing Excessive Heat......... 28 Master Control Relay .
  • Page 9 Table of Contents Configure CIP Serial Driver ........65 Configure Modbus RTU.
  • Page 10 Table of Contents Monitor an Axis..........121 Homing Function Block .
  • Page 11 Table of Contents Low Preset Interrupt (HSCSTS.LPCauseInter)....154 Programmable Limit Switch Position (HSCSTS.PLSPosition) . . 154 Error Code (HSCSTS.ErrorCode) ......155 Accumulator (HSCSTS.Accumulator) .
  • Page 12 The following tables provide specifications, ratings, and certifications for the Micro830 controllers........209 Micro830 10-Point Controllers .
  • Page 13 Flash Upgrade From MicroSD Card ......250 Establish Communications Between RSLinx and a Micro830/Micro850/ Micro870 Controller through USB ....... 254 Configure Controller Password .
  • Page 14 System Loading Calculate Total Power for Your Micro830/Micro850/Micro870 Controller ..........331 Index .
  • Page 15 Chapter Hardware Overview This chapter provides an overview of the Micro830®, Micro850®, and Micro870® controller hardware features. It has the following topics: Topic Page Hardware Features Micro830 Controllers Micro850 Controllers Micro870 Controllers Programming Cables Embedded Serial Port Cables Embedded Ethernet Support...
  • Page 16: Hardware Overview

    Chapter 1 Hardware Overview Hardware Features Micro830, Micro850, and Micro870 controllers are economical brick style controllers with embedded inputs and outputs. Depending on the controller type, it can accommodate from two to five plug-in modules. The Micro850 and Micro870 controllers have expandable features and can additionally support up to eight expansion I/O modules.
  • Page 17 Hardware Overview Chapter 1 Micro830 24-point controllers and status indicators Controller Status indicator 45017 45016 Micro830 48-point controllers and status indicators Controller Status indicator 45037 45036 Controller Description Description Description Status indicators Mounting screw hole / mounting foot Optional power supply slot...
  • Page 18: Micro850 Controllers

    Chapter 1 Hardware Overview Micro850 Controllers Micro850 24-point controllers and status indicators Status indicators 45910 45909 Controller Description Description Description Status indicators Expansion I/O slot cover Optional power supply slot DIN rail mounting latch Plug-in latch Mode switch Plug-in screw hole Type B connector USB port 40 pin high speed plug-in connector RS232/RS485 non-isolated combo serial port...
  • Page 19 Hardware Overview Chapter 1 Micro850 48-point controllers and status indicators 3 4 5 Status indicators 45918 45915 Controller Description Description Description Status indicators Expansion I/O slot cover Optional power supply slot DIN rail mounting latch Plug-in latch Mode switch Plug-in screw hole Type B connector USB port 40-pin high speed plug-in connector RS232/RS485 non-isolated combo serial port...
  • Page 20: Micro870 Controllers

    Chapter 1 Hardware Overview Micro870 Controllers Micro870 24-point controllers and status indicators Status indicators 45910 45909 Controller Description Description Description Status indicators Expansion I/O slot cover Optional power supply slot DIN rail mounting latch Plug-in latch Mode switch Plug-in screw hole Type B connector USB port 40 pin high speed plug-in connector RS232/RS485 non-isolated combo serial port...
  • Page 21 Hardware Overview Chapter 1 Micro830 Controllers – Number and Types of Inputs/Outputs Catalog Number Inputs Outputs PTO Support HSC Support 110V AC 24V DC/V AC Relay 24V Sink 24V Source 2080-LC30-10QWB – – – – 2080-LC30-10QVB – – – 2080-LC30-16AWB –...
  • Page 22: Programming Cables

    Chapter 1 Hardware Overview Programming Cables Micro800 controllers have a USB interface, making standard USB cables usable as programming cables. Use a standard USB A Male to B Male cable for programming the controller. 45221 Embedded Serial Port Cables Embedded serial port cables for communication are listed here. All embedded serial port cables must be 3 meters in length, or shorter.
  • Page 23 Hardware Overview Chapter 1 yellow LED RJ-45 Ethernet Port Pin Mapping RJ-45 connector Contact Signal Direction Primary Function Number green LED Transmit data + 45920 Transmit data - The yellow status LED Differential Ethernet Receive Data + indicates Link (solid yellow) or No Link (off).
  • Page 24 Chapter 1 Hardware Overview Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 25: About Your Controller

    Workbench software, you can refer to the Connected Components Workbench Online Help (it comes with the software). Controller Changes in Run Micro820®/Micro830/Micro850/Micro870 controllers allow you to make certain changes while in run mode by using the following features: Mode • Run Mode Change (RMC) This feature allows logic modifications to a running project without going to remote program mode.
  • Page 26: Using Run Mode Change (Rmc)

    About Your Controller Using Run Mode Change Run Mode Change (RMC) is a productivity enhancement feature introduced in Release 8 for Micro820/Micro830/Micro850 controllers. It saves the user time (RMC) by allowing logic modifications to a running project without going to remote program mode and without disconnecting from the controller.
  • Page 27: Uncommitted Changes

    About Your Controller Chapter 2 ATTENTION: Use extreme caution when you use Run Mode Change. Mistakes can injure personnel and damage equipment. Before using Run Mode Change: · assess how machinery will respond to the changes. · notify all personnel about the changes. A new global variable __SYSVA_PROJ_INCOMPLETE has been added to indicate when Run Mode Changes are being made.
  • Page 28: Rmc Memory

    Chapter 2 About Your Controller RMC Memory Run Mode Change (RMC) memory is used to store both the logic and user variable changes made during RMC. The default amount of memory allocated is 2KB and can be increased up to 8KB. However there is still a limit of 2KB for logic and user variables changes per Test Logic.
  • Page 29 About Your Controller Chapter 2 If not enough RMC memory is available to make more changes (for example, a “not enough memory” error message appears during RMC build or Test Logic), then a full download must be performed to transfer the incremental changes from the RMC memory to standard user program and data memory.
  • Page 30: Limitations Of Rmc

    Chapter 2 About Your Controller Limitations of RMC Take note of the following limitations when using the Run Mode Change (RMC) feature: • Configuration changes cannot be made (for example, change filter times). • Up to 2KB of logic (approximately 150 boolean instructions) and user variables and can be added for each Test Logic.
  • Page 31: Using Run Mode Configuration Change (Rmcc)

    About Your Controller Chapter 2 Using Run Mode Run Mode Configuration Change (RMCC) is a productivity enhancement feature introduced in Release 9 for Micro820/Micro830/Micro850 controllers. Configuration Change It allows users to reuse an identical program with multiple controllers simply by (RMCC) changing the address configuration of a controller within the program during run mode.
  • Page 32: Using Modbus Rtu Communication

    Chapter 2 About Your Controller Using Modbus RTU Communication To use RMCC with the Modbus RTU communication protocol, the serial port must be set to the Modbus slave role. A CIP Generic message is sent from within a program with the following parameters. CIP Generic Message Parameters for RMCC using Modbus RTU Parameter Value...
  • Page 33: Using Ethernet/Ip Communication

    About Your Controller Chapter 2 When the new node address is configured and applied, the port is not restarted. You must ensure that the new node address being configured is unique IMPORTANT as it will not be checked against existing node addresses of other devices.
  • Page 34 Chapter 2 About Your Controller CIP Generic Message Parameters for RMCC using EtherNet/IP Parameter Value Attribute ReqData IP address, Subnet mask, Gateway address ReqLen 22 bytes RMCC EtherNet/IP Example – Set the Parameters RMCC EtherNet/IP Example – Set the New IP Address For this example, the new IP Address is set to the following: •...
  • Page 35: Agency Certifications

    After the new IP address is configured and applied, the controller will disconnect from Connected Components Workbench if communication is through Ethernet. Micro830 controllers do not support Run Mode Configuration Change IMPORTANT using EtherNet/IP. You should not perform IP address changes continuously. Allow an...
  • Page 36: Emc Directive

    Controllers, Part 2 - Equipment Requirements and Tests. For specific information required by EN 61131-2, see the appropriate sections in this publication, as well as the following Allen-Bradley publications: • Industrial Automation Wiring and Grounding Guidelines for Noise Immunity, publication 1770-4.1.
  • Page 37 About Your Controller Chapter 2 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.
  • Page 38: Environment And Enclosure

    Chapter 2 About Your Controller Environment and Enclosure ATTENTION: This equipment is intended for use in a Pollution Degree 2 industrial environment, in overvoltage Category II applications (as defined in IEC 60664-1), at altitudes up to 2000 m (6562 ft) without derating. This equipment is considered Group 1, Class A industrial equipment according to IEC/CISPR 11.
  • Page 39: Safety Considerations

    About Your Controller Chapter 2 Safety Considerations Safety considerations are an important element of proper system installation. Actively thinking about the safety of yourself and others, as well as the condition of your equipment, is of primary importance. We recommend reviewing the following safety considerations.
  • Page 40: Safety Circuits

    Chapter 2 About Your Controller Safety Circuits WARNING: Explosion Hazard Do not connect or disconnect connectors while circuit is live. 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.
  • Page 41: Power Considerations

    About Your Controller Chapter 2 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.
  • Page 42: Input States On Power Down

    Chapter 2 About Your Controller Input States on Power Down The power supply hold-up time as described above is generally longer than the turn-on and turn-off times of the inputs. Because of this, the input state change from “On” to “Off ” that occurs when power is removed may be recorded by the processor before the power supply shuts down the system.
  • Page 43: Master Control Relay

    About Your Controller Chapter 2 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.
  • Page 44: Using Emergency-Stop Switches

    Chapter 2 About Your Controller Using Emergency-Stop Switches When using emergency-stop switches, adhere to the following points: • Do not program emergency-stop switches in the controller program. Any emergency-stop switch should turn off all machine power by turning off the master control relay. •...
  • Page 45: Schematic - Using Iec Symbols

    About Your Controller Chapter 2 Schematic – Using IEC Symbols 230V AC Disconnect Fuse 230V AC circuits Isolation Operation of either of these contacts will transformer remove power from the external I/O Master Control Relay (MCR) circuits, stopping machine motion. 115V AC Cat.
  • Page 46: Schematic - Using Ansi/Csa Symbols

    Chapter 2 About Your Controller Schematic – Using ANSI/CSA Symbols 230V AC Disconnect Fuse 230V AC output circuits Isolation Operation of either of these contacts will Transformer remove power from the external I/O Master Control Relay (MCR) circuits, stopping machine motion. 115V AC or Cat.
  • Page 47: Install Your Controller

    Mounting Dimensions DIN Rail Mounting Panel Mounting Controller Mounting Mounting Dimensions Dimensions Mounting dimensions do not include mounting feet or DIN rail latches. Micro830 10-Point and 16-Point Controllers 2080-LC30-10QWB, 2080-LC30-10QVB, 2080-LC30-16AWB, 2080-LC30-16QWB, 2080-LC30-16QVB 100 (3.94) 80 (3.15) 90 (3.54) 45032...
  • Page 48 Chapter 3 Install Your Controller Micro830 24-Point Controllers 2080-LC30-24QWB, 2080-LC30-24QVB, 2080-LC30-24QBB 80 (3.15) 150 (5.91) 90 (3.54) 45018 Measurements in millimeters (inches) Micro830 48-Point Controllers 2080-LC30-48AWB, 2080-LC30-48QWB, 2080-LC30-48QVB, 2080-LC30-48QBB 210 (8.27) 80 (3.15) 90 (3.54) 45038 Measurements in millimeters (inches)
  • Page 49 Install Your Controller Chapter 3 Micro850 24-Point Controllers 2080-LC50-24AWB, 2080-LC50-24QBB, 2080-LC50-24QVB, 2080-LC50-24QWB Micro870 24-Point Controllers 2080-LC70-24AWB, 2080-LC70-24QWB, 2080-LC70-24QWBK, 2080-LC70-24QBB, 2080-LC70-24QBBK 80 (3.15) 158 (6.22) 90 (3.54) Measurements in millimeters (inches) 45912 Micro850 48-Point Controllers 2080-LC50-48AWB, 2080-LC50-48QWB, 2080-LC50-48QBB, 2080-LC50-48QVB 238 (9.37) 80 (3.15) 90 (3.54) 45916...
  • Page 50: Din Rail Mounting

    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.
  • Page 51: Panel Mounting Dimensions

    Install Your Controller Chapter 3 Panel Mounting Dimensions Micro830 10-Point and 16-Point Controllers 2080-LC30-10QWB, 2080-LC30-10QVB, 2080-LC30-16AWB, 2080-LC30-16QWB, 2080-LC30-16QVB 86 mm (3.39 in.) 45325 Micro830 24-Point Controllers 2080-LC30-24QWB, 2080-LC30-24QVB, 2080-LC30-24QBB 131 mm (5.16 in.) 45326 Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 52 Install Your Controller Micro850 24-Point Controllers 2080-LC50-24AWB, 2080-LC50-24QBB, 2080-LC50-24QVB, 2080-LC50-24QWB Micro870 24-Point Controllers 2080-LC70-24AWB, 2080-LC70-24QWB, 2080-LC70-24QWBK, 2080-LC70-24QBB, 2080-LC70-24QBBK 131 mm (5.16 in.) 45913 Micro830 48-Point Controllers 2080-LC30-48AWB, 2080-LC30-48QWB, 2080-LC30-48QVB, 2080-LC30-48QBB 108 mm (4.25 in) 108 mm (4.25 in) 100mm (3.9 in) 45917...
  • Page 53: System Assembly

    Install Your Controller Chapter 3 System Assembly Micro830, Micro850, and Micro870 24-point Controllers (Front) 27.8 145.2 44.4 14.4 33.8 110.8 36.6 22.8 Micro830/Micro850/Micro870 24pt Controller Expansion I/O Slots with Micro800 Power Supply (Applicable to Micro850 and Micro870 only) Measurements in millimeters...
  • Page 54 44.4 14.4 27.8 33.8 100.1 110.8 36.6 22.8 Micro830/Micro850 48pt Controller with Micro800 Power Supply Expansion I/O Slots (Applicable to Micro850 only) Single-width (1st slot) Measurements in millimeters Double-width (2nd slot) 2085-ECR (terminator) Micro830 and Micro850 48-point Controllers (Side) Micro830/Micro850 48pt Controller with Micro800 Power Supply...
  • Page 55: Wire Your Controller

    Chapter Wire Your Controller This chapter provides information on the Micro830, Micro850, and Micro870 controller wiring requirements. It includes the following sections: Topic Page Wiring Requirements and Recommendation Use Surge Suppressors Recommended Surge Suppressors Grounding the Controller Wiring Diagrams Controller I/O Wiring...
  • Page 56: Use Surge Suppressors

    In addition to labeling, use colored insulation to identify wiring based on signal characteristics. For example, you may use blue for DC wiring and red for AC wiring. Wire Requirements Wire Size Type Micro830/ Solid 0.2 mm (24 AWG) 2.5 mm (12 AWG) rated @ 90 °C (194 °F)
  • Page 57 Suitable surge suppression methods for inductive AC load devices include a varistor, an RC network, or an Allen-Bradley surge suppressor, all shown below. These components must be appropriately rated to suppress the switching Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 58: Recommended Surge Suppressors

    Output device Output device Surge suppressor RC network Varistor Recommended Surge Suppressors Use the Allen-Bradley surge suppressors shown in the following table for use with relays, contactors, and starters. Recommended Surge Suppressors Device Coil Voltage Suppressor Catalog Number Type Bulletin 100/104K 700K 24…48V AC...
  • Page 59: Grounding The Controller

    Wire Your Controller Chapter 4 Recommended Surge Suppressors Device Coil Voltage Suppressor Catalog Number Type Bulletin 509 Motor Starter Size 6 12…120V AC 199-FSMA1 12…120V AC 199-GSMA1 Bulletin 700 R/RM Relay AC coil Not Required 24…48V DC 199-FSMA9 50…120V DC 199-FSMA10 130…250V DC 199-FSMA11...
  • Page 60: Wiring Diagrams

    Chapter 4 Wire Your Controller 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. High-speed inputs and outputs are indicated by 2080-LC30-10QWB Input terminal block...
  • Page 61 Wire Your Controller Chapter 4 2080-LC30-16QVB Input terminal block COM0 I-01 I-03 I-04 I-06 I-08 I-00 I-02 COM1 I-05 I-07 I-09 Output terminal block +DC24 +CM0 O-01 +CM1 O-03 O-04 -DC24 O-00 -CM0 O-02 -CM1 O-05 45029 2080-LC30-24QWB / 2080-LC50-24AWB / 2080-LC50-24QWB / 2080-LC70-24AWB / 2080-LC70-24QWB / 2080-LC70-24QWBK Input terminal block COM0...
  • Page 62 Chapter 4 Wire Your Controller 2080-LC30-24QWB, 2080-LC50-24QWB, 2080-LC70-24QWB, 2080-LC70-24QWBK, DC Input Configuration Sourcing:+DC a Sourcing:-DC a Sourcing:+DC b Sourcing:-DC b Sinking: -DC a Sinking: +DC a Sinking: -DC b Sinking: +DC b 2080-PS120-240VAC COM0 I-01 I-03 I-05 I-07 I-08 I-10 I-12 I-00 I-02...
  • Page 63 Wire Your Controller Chapter 4 2080-LC30-24QVB / 2080-LC30-24QBB / 2080-LC50-24QVB / 2080-LC50-24QBB / 2080-LC70-24QBB / 2080-LC70-24QBBK Input terminal block COM0 I-01 I-03 I-05 I-07 I-08 I-10 I-12 I-00 I-02 I-04 I-06 COM1 I-09 I-11 I-13 Output terminal block +DC24 +CM0 O-01 +CM1 O-03...
  • Page 64 Chapter 4 Wire Your Controller 2080-LC30-24QVB, 2080-LC50-24QVB,DC Input Configuration Sourcing:+DC a Sourcing:-DC a Sourcing:+DC b Sourcing:-DC b Sinking: -DC a Sinking: +DC a Sinking: -DC b Sinking: +DC b 2080-PS120-240VAC COM0 I-01 I-03 I-05 I-07 I-08 I-10 I-12 I-00 I-02 I-04 I-06 COM1...
  • Page 65 Wire Your Controller Chapter 4 2080-LC30-48QVB / 2080-LC30-48QBB / 2080-LC50-48QVB / 2080-LC50-48QBB Input terminal blocks COM0 I-01 I-03 I-05 I-06 I-08 I-10 COM2 I-00 I-02 I-04 COM1 I-07 I-09 I-11 I-12 TERMINAL BLOCK 1 I-13 I-15 I-17 I-19 I-20 I-22 I-24 I-26 I-14...
  • Page 66: Controller I/O Wiring

    Chapter 4 Wire Your Controller Controller I/O Wiring This section contains some relevant information about minimizing electrical noise and also includes some wiring examples. Minimize Electrical Noise Because of the variety of applications and environments where controllers are installed and operating, it is impossible to ensure that all environmental noise will be removed by input filters.
  • Page 67: Grounding Your Analog Cable

    Wire Your Controller Chapter 4 • 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.
  • Page 68 Chapter 4 Wire Your Controller Sink input wiring example Fuse 45627 Source output wiring example +V DC Fuse Logic side User side – Load 24V supply DC COM Micro800 Source output 45626 Source input wiring example Fuse 45625 Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 69: Embedded Serial Port Wiring

    Wire Your Controller Chapter 4 Embedded Serial Port The embedded serial port is a non-isolated RS232/RS485 serial port which is targeted to be used for short distances (<3 m) to devices such as HMIs. Wiring Embedded Serial Port Cables on page 8 for a list of cables that can be used with the embedded serial port 8-pin Mini DIN connector.
  • Page 70 Chapter 4 Wire Your Controller Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 71: Communication Connections

    Use Modems with Micro800 Controllers Configure Serial Port Configure Ethernet Settings OPC Support Using RSLinx Enterprise The Micro830, Micro850, and Micro870 controllers have the following embedded communication channels: • a non-isolated RS-232/RS-485 combo port • a non-isolated USB programming port In addition, the Micro850 and Micro870 controllers have an RJ-45 Ethernet port.
  • Page 72 Chapter 5 Communication Connections • EtherNet/IP Client/Server • Modbus TCP Client/Server • DHCP Client • Sockets Client/Server TCP/UDP Connection Limits for Micro830/Micro850/Micro870 Controllers Description Micro830 Micro850/ Micro870 CIP Connections Total number of client plus server connections for all ports Maximum number of client connections for all ports...
  • Page 73: Modbus Rtu

    Communication Connections Chapter 5 3. The total number of UDP sockets plus TCP Client/Server sockets has a maximum limit of eight. Modbus RTU Modbus is a half-duplex, master-slave communications protocol. The Modbus network master reads and writes bits and registers. Modbus protocol allows a single master to communicate with a maximum of 247 slave devices.
  • Page 74: Modbus Tcp Client/Server

    Micro850 and Micro870 controllers support up to 16 simultaneous EtherNet/IP Client connections and 23 simultaneous EtherNet/IP Server connections. CIP Serial, supported on Micro830, Micro850, and Micro870 controllers, makes use of DF1 Full Duplex protocol, which provides point-to-point connection between two devices.
  • Page 75 Communication Connections Chapter 5 EtherNet/IP, supported on the Micro850 and Micro870 controller, makes use of the standard Ethernet TCP/IP protocol. The Micro850 and Micro870 controller supports up to 23 simultaneous EtherNet/IP Server connections. To configure CIP Serial, see Configure CIP Serial Driver on page To configure for EtherNet/IP, see Configure Ethernet Settings on page CIP Symbolic Addressing...
  • Page 76: Cip Client Messaging

    TCP and UDP. Typical applications include communicating to printers, barcode readers, and PCs. CIP Communications The Micro830, Micro850, and Micro870 controllers support pass-thru on any communications port that supports Common Industrial Protocol (CIP) for Pass-thru applications such as program download. It does not support applications that require dedicated connections such as HMI.
  • Page 77 Communication Connections Chapter 5 EtherNet/IP to CIP Serial EtherNet/IP CIP Serial Micro850 Micro830 controller1 controller2 For program download USB to DeviceNet DeviceNet PowerFlex 525 drive with 25-COMM-D adapter (Address 1) Micro850 controller with For program download 2080-DNET20 plug-in scanner (Address 0)
  • Page 78: Use Modems With Micro800 Controllers

    Chapter 5 Communication Connections Use Modems with Serial modems can be used with the Micro830, Micro850, and Micro870 controllers. Micro800 Controllers Making a DF1 Point-to-Point Connection You can connect the Micro830, Micro850, and Micro870 programmable controller to your serial modem using an Allen-Bradley null modem serial cable (1761-CBL-PM02) to the controller’s embedded serial port together with a...
  • Page 79: Configure Serial Port

    Communication Connections Chapter 5 Configure Serial Port You can configure the Serial Port driver as CIP Serial, Modbus RTU, ASCII or Shutdown through the Device Configuration tree in Connected Components Workbench. Configure CIP Serial Driver 1. Open your Connected Components Workbench project. On the device configuration tree, go to the Controller properties.
  • Page 80: Rockwell Automation Publication 2080-Um002K-En-E - March

    Received embedded responses only when it detects embedded responses from another device, choose After One Received. If you are communicating with another Allen-Bradley device, choose Enabled Unconditionally. Embedded responses increase network traffic efficiency. NAK Retries The number of times the controller will resend a message packet because the processor received a NAK response to the previous message packet transmission.
  • Page 81: Configure Modbus Rtu

    Communication Connections Chapter 5 Configure Modbus RTU 1. Open your Connected Components Workbench project. On the device configuration tree, go to the Controller properties. Click Serial Port. 2. Select Modbus RTU on the Driver field. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 82: Configure Ascii

    Chapter 5 Communication Connections 3. Specify the following parameters: • Baud rate • Parity • Unit address • Modbus Role (Master, Slave, Auto) Modbus RTU Parameters Parameter Options Default Baud Rate 1200, 2400, 4800, 9600, 19200, 38400 19200 Parity None, Odd, Even None Modbus Role Master, Slave, Auto...
  • Page 83 Communication Connections Chapter 5 2. Select ASCII on the Driver field. 3. Specify baud rate and parity. ASCII Parameters Parameter Options Default Baud Rate 1200, 2400, 4800, 9600, 19200, 38400 19200 Parity None, Odd, Even None Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 84: Configure Ethernet Settings

    Chapter 5 Communication Connections 4. Click Advanced Settings to configure advanced parameters. ASCII Advanced Parameters Parameter Options Default Control Line Full Duplex No Handshake Half-duplex with continuous carrier Half-duplex without continuous carrier No Handshake Deletion Mode Ignore Ignore Printer Data bits 7, 8 Stop bits 1, 2...
  • Page 85 Communication Connections Chapter 5 2. Under Ethernet, click Internet Protocol. Configure Internet Protocol (IP) settings. Specify whether to obtain the IP address automatically using DHCP or manually configure IP address, subnet mask, and gateway address. The Ethernet port defaults to the following out-of-the box settings: •...
  • Page 86: Validate Ip Address

    Chapter 5 Communication Connections 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. Validate IP Address Modules must validate the incoming IP address configuration, whether it is obtained through explicit configuration or through DHCP.
  • Page 87: Configure Cip Serial Driver

    Communication Connections Chapter 5 Configure CIP Serial Driver 1. Open your Connected Components Workbench project. On the device configuration tree, go to the Controller properties. Click Serial port. 2. Select CIP Serial from the Driver field. 3. Specify a baud rate. Select a communication rate that all devices in your system support.
  • Page 88 Chapter 5 Communication Connections Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 89: Program Execution In Micro800

    Chapter Program Execution in Micro800 This section provides a brief overview of running or executing programs with a Micro800 controller. This section generally describes program execution in Micro800 IMPORTANT controllers. Certain elements may not be applicable or true for certain models (for example, Micro820 does not support PTO motion control).
  • Page 90: Execution Rules

    Chapter 6 Program Execution in Micro800 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). The Global System Variables associated with cycles/scans are: •...
  • Page 91: Controller Load And Performance Considerations

    Program Execution in Micro800 Chapter 6 ATTENTION: If the optional module feature is enabled, use the MODULE_INFO instruction to verify that the module is present because the controller will not fault if the module is missing. 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.
  • Page 92: Power Up And First Scan

    Variable Retention After a power cycle, all variables inside instances of instructions are cleared. Micro830 and Micro850 controllers retain all user-created variables. Micro810® and Micro820 controllers can only retain a maximum of 400 bytes of user-created variable values. Micro870 controllers can only retain a maximum of 128 kilobytes of user-created variable values.
  • Page 93: 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-poin 20-point 24- and 48-points 24-point (Micro830) (Micro820) (Mico830, Micro850) (Micro870) Program steps 10 K 10 K 20 K...
  • Page 94 Chapter 6 Program Execution in Micro800 Example of Five Nested UDFBs 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, a great alternative is to use ST combined with either UDF or UDFB.
  • Page 95: Motion Control

    CC-QS033 for building block example. PTO Motion Control Certain Micro830, Micro850, and Micro870 controllers (see table below) support motion control through high speed pulse-train outputs (PTO). PTO functionality refers to the ability of a controller to accurately generate a specific number of pulses at a specified frequency.
  • Page 96 2080-LC50-48QVB 2080-LC50-48QBB PWM outputs are only supported on firmware revision 6 and later. For Micro830 catalogs, Pulse Train Output functionality is only supported from firmware revision 2 and later. ATTENTION: To use the Micro800 Motion feature effectively, users need to have a basic understanding of the following: PTO components and parameters •...
  • Page 97: Use The Micro800 Motion Control Feature

    Motion Control Chapter 7 Use the Micro800 Motion Control Feature The Micro800 motion control feature has the following elements. New users need to have a basic understanding of the function of each element to effectively use the feature. Components of Motion Control Element Description Page...
  • Page 98: Input And Output Signals

    Chapter 7 Motion Control b. See Sample Motion Wiring Configuration on 2080-LC30-xxQVB / 2080-LC50-xxQVB / 2080-LC70-xxQVB on page 86 for reference The next sections provide a more detailed description of the motion components. You can also refer to the Connected Components Workbench Online Help for more information about each motion function block and their variable inputs and outputs.
  • Page 99 Motion Control Chapter 7 Motion Axis Configuration in Connected Components Workbench on page 109. If an output is configured for motion, then that output can no longer be IMPORTANT controlled or monitored by the user program and cannot be forced. For example, when a PTO Pulse output is generating pulses, the corresponding logical variable IO_EM_DO_xx will not toggle its value and will not display the pulses in the Variable Monitor but the physical...
  • Page 100 (2) To help you configure Kinetix3 drive parameters so the drive can communicate and be controlled by a Micro830/Micro850/Micro870 controller, see publication CC-QS033. The parameter Command Type must be set to “Step/Direction.Positive Logic”, and the parameter Controller Output Type must be set to “Open Collector Input”.
  • Page 101: Motion Control Function Blocks

    (2) To help you configure Kinetix3 drive parameters so the drive can communicate and be controlled by a Micro830/Micro850/Micro870 controller, see publication CC-QS033. The parameter Command Type must be set to “Step/Direction.Positive Logic”, and the parameter Controller Output Type must be set to “Open Collector Input”.
  • Page 102 Chapter 7 Motion Control WARNING: During Run Mode Change (RMC), the MC_Power function block should be disabled, which will power down the axis. Otherwise the axis will remain powered even if the function block is deleted. Take note of the following: •...
  • Page 103: General Rules For The Motion Control Function Blocks

    Motion Control Chapter 7 ATTENTION: Each motion function block has a set of variable inputs and outputs that allows you to control a specific motion instruction. Refer to the Connected Components Workbench Online Help for a description of these variable inputs and outputs. General Rules for the Motion Control Function Blocks To work with motion control function blocks, users need to be familiar with the following general rules.
  • Page 104 Chapter 7 Motion Control General Rules for the Motion Function Block Parameter General Rules Output Exclusivity With Execute: The outputs Busy, Done, Error, and CommandAborted indicate the state of the function block and are mutually exclusive – only one of them can be true on one function block. If execute is true, one of these outputs has to be true.
  • Page 105 Motion Control Chapter 7 General Rules for the Motion Function Block Parameter General Rules Behavior of Done Output The output Done is set when the commanded action has completed successfully. With multiple function blocks working on the same axis in a sequence, the following rule applies: When one movement on an axis is aborted with another movement on the same axis without having reached the final goal, output Done will not be set on the first function block.
  • Page 106 Chapter 7 Motion Control General Rules for the Motion Function Block Parameter General Rules Output Active In current implementation, buffered moves are not supported. Consequently, Busy and Active outputs have the same behavior. Behavior of CommandAborted is set when a commanded motion is aborted by another motion command. CommandAborted Output When CommandAborted occurs, other output signals such as InVelocity are reset.
  • Page 107 Motion Control Chapter 7 Simultaneous Execution of Two Movement Function Blocks (Busy Output = True) The general rule is that when a movement function block is busy, then a function block with the same instance (for example, MC_MoveRelative2) cannot be executed again until the function block status is not busy.
  • Page 108 Chapter 7 Motion Control Example: Successful Aborted Move Aborted move is possible if using two instances of MC_MoveRelative, MC_MoveAbsolute. The second instance can immediately abort the first instance (and vice versa) for applications where on-the-fly corrections are needed. Time Execute1 Busy1 CommandAborted1 Execute2...
  • Page 109 Motion Control Chapter 7 Time Execute1 Busy Halt Execute Busy 46051 It is possible for the movement function blocks and MC_Halt to abort another motion function block during acceleration/deceleration. This is not recommended as the resulting motion profile may not be consistent. ATTENTION: If MC_Halt aborts another motion function block during acceleration and the MC_Halt Jerk input parameter is less than the Jerk of the currently executing function block, the Jerk of the currently...
  • Page 110 Chapter 7 Motion Control Example: Aborted Movement Function Block During Acceleration/Deceleration Time Execute1 Busy CommandAborted Halt Execute Busy 46050 If MC_Halt aborts another movement function block during acceleration IMPORTANT and the MC_Halt Jerk input parameter is less than the Jerk of the currently executing FB, the Jerk of the currently executing function block is used to prevent excessively long deceleration.
  • Page 111: Motion Axis And Parameters

    Motion Control Chapter 7 Example: Error Stop using MC_Stop cannot be Aborted This command is ignored. Time MC_Stop Execute Busy Motion function block Execute 46049 MC_Halt and MC_Stop are both used to bring an axis to a Standstill but MC_Stop is used when an abnormal situation occurs. MC_Stop can abort other motion function blocks but can never be aborted itself.
  • Page 112: Motion Axis State Diagram

    Chapter 7 Motion Control Motion Axis State Diagram MC_MoveAbsolute MC_MoveVelocity MC_MoveRelative MC_MoveAbsolute; MC_MoveRelative; MC_Halt MC_Halt Continuous Discrete MC_MoveVelocity Motion Motion MC_Stop MC_Stop Error Error Stopping Note 6 Error Done Note 1 MC_Stop MC_MoveAbsolute MC_MoveRelative MC_MoveVelocity ErrorStop MC_Stop Note 4 Note 2 Error Error MC_Reset and...
  • Page 113: Axis States

    Motion Control Chapter 7 Axis States The axis state can be determined from one of the following predefined states. Axis state can be monitored through the Axis Monitor feature of the Connected Components Workbench software when in debug mode. Motion States State value State Name 0x00...
  • Page 114: Limits

    Chapter 7 Motion Control Limits The Limits parameter sets a boundary point for the axis, and works in conjunction with the Stop parameter to define a boundary condition for the axis on the type of stop to apply when certain configured limits are reached. There are three types of motion position limits.
  • Page 115 Motion Control Chapter 7 When any hard limit switch is enabled, the input variable connecting to this physical input can still be used in User Application. When a hard limit switch is enabled, it will be used automatically for MC_Home function block, if the switch is in the Homing direction configured in the Connected Components Workbench software (Mode: MC_HOME_ABS_SWITCH or MC_HOME_REF_WITH_ABS).
  • Page 116: Motion Stop

    Chapter 7 Motion Control On a non-continuous motion, to prevent a moving axis going to ErrorStop status with Motion PTO Pulse limits detected, user needs to prevent current position value going beyond PTO Pulse limit. On a continuous motion (driven by MC_MoveVelocity function block), when the current position value goes beyond PTO pulse limit, PTO pulse current position will automatically roll over to 0 (or the opposite soft limit, if it is activated), and the continuous motion continues.
  • Page 117: Motion Direction

    Motion Control Chapter 7 • The Emergency Stop is configured as Immediate Soft Stop. During motion, MC_Stop function block is issued with Deceleration parameter equal to 0. Decelerating Soft Stop Decelerating soft stop could be delayed as much as Motion Engine Execution Time interval.
  • Page 118: Axis Elements And Data Types

    Chapter 7 Motion Control Axis Elements and Data Types Axis_Ref Data Type Axis_Ref is a data structure that contains information on a motion axis. It is used as an input and output variable in all motion function blocks. One axis_ref instance is created automatically in the Connected Components Workbench software when the user adds one motion axis to the configuration.
  • Page 119: Axis Error Scenarios

    Motion Control Chapter 7 Data Elements for Axis_Ref Element Data Type Description name CommandPos REAL On a moving axis, this is the current position the controller (float) commands the axis to go to. TargetVel REAL The maximum target velocity issued to the axis by a move function (float) block.
  • Page 120: Mc_Engine_Diag Data Type

    Chapter 7 Motion Control For the above exceptions, it is still possible for the user application to issue a successful movement function block to the axis after the axis state changes. MC_Engine_Diag Data Type The MC_Engine_Diag data type contains diagnostic information on the embedded motion engine.
  • Page 121 Motion Control Chapter 7 Motion Function Block and Axis status Error ID Error ID Error ID MACRO Error description for Function Block Error description for Axis Status MC_FB_ERR_NO Function block execution is successful. The axis is in operational state. MC_FB_ERR_WRONG_STATE The function block cannot execute because the The axis is not operational due to incorrect axis axis is not in the correct state.
  • Page 122 Chapter 7 Motion Control Motion Function Block and Axis status Error ID Error ID Error ID MACRO Error description for Function Block Error description for Axis Status MC_FB_ERR_VELOCITY The function block cannot execute because the The axis is not operational. The motion profile motion profile requested in the function block requested in the function block cannot be achieved cannot be achieved due to current axis velocity.
  • Page 123: Major Fault Handling

    In case the controller encounters issues where recovery is not possible through the Stop, Reset, or Power function blocks, controller operation will be stopped and a major fault will be reported. The following motion-related major fault codes are defined for Micro830, Micro850, and Micro870 controllers. Major Fault Error Codes and Description...
  • Page 124: Add New Axis

    Chapter 7 Motion Control Values for the different motion axis parameters are validated based on a set of relationships and pre-determined absolute range. See Motion Axis Parameter Validation on page 121 for a description of the relationships between parameters. Add New Axis Motion Engine Execution Time IMPORTANT When an axis is added to the configuration, the Motion Engine...
  • Page 125: Edit Axis Configuration

    Motion Control Chapter 7 To help you edit these motion properties, see Edit Axis Configuration on page 111. You can also learn more about axis configuration parameters. Edit Axis Configuration General Parameters 1. On the axis configuration tree, click General. The <Axis Name>...
  • Page 126 Chapter 7 Motion Control General Parameters Parameter Description and Values - Active Level Set as High (default) or Low. Drive ready input Servo Ready Input Enable flag. Check the option box to enable the input. - Input The list of digital input variables. Select an input. - Active Level Set as High (default) or Low.
  • Page 127 Motion Control Chapter 7 Motor and Load Parameters Parameter Description and Values User-defined unit Defines user unit scaling that matches your mechanical system values. These units shall be carried forward into all command and monitor axis in user unit values throughout programming, configuration and monitoring functions.
  • Page 128 Chapter 7 Motion Control Limits Edit the Limits parameters based on the table below. ATTENTION: To learn more about the different types of Limits, Limits on page 100. Limits Parameters Parameter Value Hard Limits Defines upper and lower hard limits for the axis. When hard limits is reached, apply Configure whether to perform a forced PTO hardware stop (immediately turn off pulse output) or whether to decelerate...
  • Page 129 Motion Control Chapter 7 3. Click Dynamics. The <Axis Name> - Dynamics tab appears. Edit the Dynamics parameters based on the table below. Dynamics Parameters Parameter Values (1) (2) Start/Stop Velocity The range is based on Motor and Load parameters (See Motor and Load Parameters on page 113) using:...
  • Page 130 Chapter 7 Motion Control Dynamics Parameters Parameter Values Stop Velocity The range is based on Motor and Load parameters (See Motor and Load Parameters on page 113) using: Range: 1…100,000 pulse/sec Default: 300 rpm Stop Deceleration The range is based on Motor and Load parameters (See Motor and Load Parameters on page 113) using:...
  • Page 131 Motion Control Chapter 7 4. Set Homing parameters based on the description below. Click Homing. Homing Parameters Parameter Value range Homing Direction Positive (clockwise) or negative (counterclockwise). Homing Velocity Range: 1…100,000 pulse/sec Default: 5,000.0 pulse/sec (25.0 mm/sec) NOTE: Homing Velocity should not be greater than the maximum velocity. Homing Acceleration Range: 1…10,000,000 pulse/sec Default: 5000.0 pulse/sec...
  • Page 132: Axis Start/Stop Velocity

    Chapter 7 Motion Control Axis Start/Stop Velocity Start/Stop velocity is the initial velocity when an axis starts to move, and the last velocity before the axis stops moving. Generally, Start/Stop velocity is configured at some low value, so that it is smaller than most velocity used in the motion function block.
  • Page 133 Motion Control Chapter 7 Examples for Motion Configuration: Parameter Actual Value Converted Tooltip Error Value Entered by User Value in Connected Components Workbench Pulses per revolution 8388608 8388608 Pulse per revolution must be in (no conversion) the range of 0.0001 to 8388607 user unit.
  • Page 134: Pto Pulse Accuracy

    Chapter 7 Motion Control Axis Monitor Example The Axis Monitor displays seven significant digits with rounding. ATTENTION: See Motion Axis Configuration in Connected Components Workbench on page 109 to learn more about the different axis configuration parameters. PTO Pulse Accuracy Micro800 motion feature is pulse-based and the value of distance and velocity are designed in such a way that all PTO-related values are integers at the hardware level, when converting to PTO pulse.
  • Page 135: Motion Axis Parameter Validation

    Motion Control Chapter 7 revolution configuration, setting Jerk as 4.504 cm/sec is the same as setting Jerk as 4.501 cm/sec , as both are rounded off to 4.5 cm/sec . This rounding applies to both axis configuration input in the Connected Components Workbench software and function block input.
  • Page 136: Homing Function Block

    After axis power on is done, the axis Homed status is reset to 0 (not homed). On most scenarios, the MC_Home function block needs to be executed to calibrate the axis position against the axis home configured after MC_Power (On) is done. There are five homing modes supported on Micro830, Micro850, and Micro870 controllers. Homing Modes...
  • Page 137: Conditions For Successful Homing

    Motion Control Chapter 7 If axis is powered On with only one direction enabled, the MC_Home IMPORTANT function block (in modes 0, 1, 2, 3) will generate an error and only MC_Home function block (mode 4) can be executed. See MC_Power function block for more details.
  • Page 138 Chapter 7 Motion Control Scenario 1: Moving part at right (positive) side of home switch before homing starts The homing motion sequence for this scenario is as follows: 1. Moving part moves to the left side (negative direction); 2. When home switch is detected, the moving part decelerates to stop; 3.
  • Page 139: Mc_Home_Limit_Switch

    Motion Control Chapter 7 3. Move to the configured home position. The mechanical home position recorded during moving right sequence, plus the home offset configured for the axis in the Connected Components Workbench software. Scenario 4: Moving part at left (negative) side of Lower Limit switch before homing starts In this case, the homing motion fails and moves continuously to the left until drive or moving part fails to move.
  • Page 140: Mc_Home_Ref_With_Abs

    Chapter 7 Motion Control 1. Moving part moves to its right side (in positive direction) in creep velocity to detect Lower Limit switch On → Off edge; 2. Once Lower Limit switch On → Off edge is detected, record the position as mechanical home position, and decelerate to stop;...
  • Page 141 Motion Control Chapter 7 Scenario 2: Moving part between Lower Limit and Home switch before homing starts The homing motion sequence for this scenario is as follows: 1. Moving part moves to its left side (in negative direction); 2. When Lower Limit switch is detected, the moving part decelerates to stop, or stops immediately, according to Limit Switch Hard Stop configuration;...
  • Page 142: Mc_Home_Ref_Pulse

    Chapter 7 Motion Control MC_HOME_REF_PULSE If Lower Limit switch or Ref Pulse is not configured as Enabled, IMPORTANT MC_HOME_REF_PULSE (3) homing fails (ErrorID: MC_FB_ERR_PARAM). For Homing against Lower Limit switch, one positive home offset can be configured; for Homing against Upper Limit switch, one negative home offset can be configured.
  • Page 143: Mc_Home_Direct

    Motion Control Chapter 7 4. Move to the configured home position. The mechanical home position recorded during moving back sequence, plus the home offset configured for the axis through the Connected Components Workbench software. Scenario 3: Moving part at left (negative) side of Lower Limit switch before homing starts In this case, the homing motion fails and moves continuously to the left until drive or moving part fails to move.
  • Page 144: Use Pto For Pwm Control

    Chapter 7 Motion Control Use PTO for PWM Control The following example shows you how to use a PTO axis as a PWM. Launch Connected Components Workbench and create the following ladder program. Enable/power up the PWM axis immediately after going to RUN mode. PWM axis will remain powered ON (until Program mode, and so on).
  • Page 145: Pou Pwm_Program

    Motion Control Chapter 7 After first scan, use MC_MoveVelocity to continually set the PWM frequency (for example: 50,000 => 50 KHz) from global variable G_PWM_Frequency. PWM axis will run forever (until Program Mode, MC_Halt, and so on). MC_MoveVelocity_1 __SYSVA_FIRST_SCAN MC_MoveVelocity Axis PWM0 AxisIn...
  • Page 146: Hsc Feedback Axis

    Chapter 7 Motion Control HSC Feedback Axis From Connected Components Workbench Release 8.0 onwards, support has been added for a HSC (High Speed Counter) Feedback Axis which uses the same instructions as the PTO Motion Axis. UDFBs are still supported (you can use either one but you cannot select both for the same plug-in).
  • Page 147: Use The High-Speed Counter And Programmable Limit Switch

    Use the High-Speed Counter and Programmable Limit Switch High-Speed Counter All Micro830, Micro850, and Micro870 controllers, except for 2080-LCxx-AWB, support up to six high speed counters (HSC). The HSC Overview feature in Micro800 consists of two main components: the high-speed counter hardware (embedded inputs in the controller), and high-speed counter instructions in the application program.
  • Page 148: What Is High-Speed Counter

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch What is High-Speed High-Speed Counter is used to detect narrow (fast) pulses, and its specialized instructions to initiate other control operations based on counts reaching preset Counter? values. These control operations include the automatic and immediate execution of the high-speed counter interrupt routine and the immediate update of outputs based on a source and mask pattern you set.
  • Page 149: Hsc Inputs And Wiring Mapping

    IMPORTANT It cannot be used with expansion I/O modules. HSC Inputs and All Micro830, Micro850, and Micro870 controllers, except 2080-LCxx-xxAWB, have 100 kHz high-speed counters. Each main high-speed counter has four Wiring Mapping dedicated inputs and each sub high-speed counter has two dedicated inputs.
  • Page 150 Hold HSC3 HSC4 Reset Hold HSC5 The following tables show the input wiring mapping for the different Micro830, Micro850, and Micro870 controllers. Micro830 10 and 16-point Controller HSC Input Wiring Mapping Modes of Operation Input 0 (HSC0) Input 1 (HSC0)
  • Page 151 Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Micro830/Micro850/Micro870 24-point Controller HSC Input Wiring Mapping Modes of Operation Input 0 (HSC0) Input 1 (HSC0) Input 2 (HSC0) Input 3 (HSC0) Mode Value in User Program Input 2 (HSC1)
  • Page 152 Chapter 8 Use the High-Speed Counter and Programmable Limit Switch Micro830/Micro850 48-point Controller HSC Input Wiring Mapping Modes of Operation Input 0 (HSC0) Input 1 (HSC0) Input 2 (HSC0) Input 3 (HSC0) Mode Value in User Program Input 2 (HSC1)
  • Page 153: High Speed Counter (Hsc) Data Structures

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 High Speed Counter (HSC) The following section describes HSC data structures. Data Structures HSC APP Data Structure Define a HSC App Data (configuration data, data type HSCAPP) when programming a HSC. During HSC counting, the data should not be changed, except if the configuration needs to be reloaded.
  • Page 154: Hscid (Hscapp.hscid)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch HSCID (HSCAPP.HSCID) Description Data Format User Program Access HSCID Word (UINT) read/write The following table lists the definition for HSCID. HSCID Definition Bits Description 15…13 HSC Module Type: 0x00: Embedded 0x01: Expansion (not yet implemented) 0x02: Plug-in module 12…8...
  • Page 155 Use the High-Speed Counter and Programmable Limit Switch Chapter 8 The main high-speed counters support 10 types of operation mode and the sub high-speed counters support 5 types (mode 0, 2, 4, 6, 8). If the main high-speed counter is set to mode 1, 3, 5, 7 or 9, then the resub high-speed counter will be disabled.
  • Page 156 Chapter 8 Use the High-Speed Counter and Programmable Limit Switch   Blank cells = don’t care, = rising edge, = falling edge Inputs 0…11 are available for use as inputs to other functions regardless of the HSC being used. HSC Mode 3 –...
  • Page 157 Use the High-Speed Counter and Programmable Limit Switch Chapter 8 HSC Mode 4 – Two Input Counter (up and down) HSC Mode 4 Examples Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments Function Count Up...
  • Page 158 Chapter 8 Use the High-Speed Counter and Programmable Limit Switch Using the Quadrature Encoder The Quadrature Encoder is used for determining direction of rotation and position for rotating, such as a lathe. The Bidirectional Counter counts the rotation of the Quadrature Encoder. The figure below shows a quadrature encoder connected to inputs 0, 1, and 2.
  • Page 159 Use the High-Speed Counter and Programmable Limit Switch Chapter 8 HSC Mode 7 – Quadrature Counter (phased inputs A and B) With External Reset and Hold HSC Mode 7 Examples Input Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments Terminals...
  • Page 160: Accumulator (Hscapp. Accumulator)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch HSC Mode 9 – Quadrature X4 Counter with External Reset and Hold HSC Mode 9 Examples Embedded Embedded Embedded Embedded Input Value of CE Bit Accumulator and Counter Action Input 0(HSC0) Input 1(HSC0) Input 2(HSC0) 3(HSC0)
  • Page 161: Low Preset (Hscapp.lpsetting)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Low Preset (HSCAPP.LPSetting) Description Data Format User Program Access HSCAPP.LPSetting long word (32-bit INT) read/write The HSCAPP.LPSetting is the lower setpoint (in counts) that defines when the HSC sub-system generates an interrupt. The data loaded into the low preset must be greater than or equal to the data resident in the underflow (HSCAPP.UFSetting) parameter, or an HSC error is generated.
  • Page 162: Output Mask Bits (Hscapp.outputmask)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch Data loaded into the underflow variable must be less than or equal to the data resident in the low preset (HSCAPP.LPSetting) or an HSC error is generated. Output Mask Bits (HSCAPP.OutputMask) Description Data Format User Program Access...
  • Page 163: High Preset Output (Hscapp.hpoutput)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Effect of HSC Output Mask on Embedded Outputs Output Variable 32-Bit Signed Integer Data Word 32…20 19 Embedded output (48-point) The outputs shown in the black boxes are the outputs under the control of the HSC sub-system.
  • Page 164: Hsc Sts (Hsc Status) Data Structure

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch HSC STS (HSC Status) Data Define a HSC STS data (HSC status information data, data type HSCSTS) when programming a HSC. Structure Counting Enabled (HSCSTS.CountEnable) Description Data Format HSC Modes User Program Access HSCSTS.CountEnable 0…9...
  • Page 165: Count Up (Hscsts.countupflag)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Count Up (HSCSTS.CountUpFlag) Description Data Format HSC Modes User Program Access HSCSTS.CountUpFlag 0…9 read only (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 140. The Count Up bit is used with all of the HSCs (modes 0…9). If the HSCSTS.CountEnable bit is set, the Count Up bit is set (1).
  • Page 166: Underflow (Hscsts.unf)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch Underflow (HSCSTS.UNF) Description Data Format HSC Modes User Program Access HSCSTS.UNF 0…9 read/write (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 140. The Underflow status flag is set (1) by the HSC sub-system whenever the accumulated value (HSCSTS.Accumulator) has counted through the underflow variable (HSCAPP.UFSetting).
  • Page 167: Low Preset Reached (Hscsts.lpreached)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Low Preset Reached (HSCSTS.LPReached) Description Data Format HSC Modes User Program Access HSCSTS.LPReached) 2…9 read only (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 140. The Low Preset Reached status flag is set (1) by the HSC sub-system whenever the accumulated value (HSCSTS.Accumulator is less than or equal to the low preset variable HSCAPP.LPSetting).
  • Page 168: High Preset Interrupt (Hscsts.hpcauseinter)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch • High Preset Interrupt occurs • Overflow Interrupt occurs High Preset Interrupt (HSCSTS.HPCauseInter) Description Data Format HSC Modes User Program Access HSCSTS.HPCauseInter 0…9 read/write (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 140.
  • Page 169: Error Code (Hscsts.errorcode)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 When the HSC is in Counting mode, and PLS is enabled, this parameter indi- cates which PLS element is used for the current HSC configuration. Error Code (HSCSTS.ErrorCode) Description Data Format HSC Modes User Program Access HSCSTS.ErrorCode...
  • Page 170: Low Preset (Hscsts.lp)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch This is the latest high preset setting, which may be updated by PLS function from the PLS data block. Low Preset (HSCSTS.LP) Description Data Format User Program Access HSCSTS.LP long word (32-bit INT) read only The HSCSTS.LP is the lower setpoint (in counts) that defines when the HSC sub-system generates an interrupt.
  • Page 171: Hsc (High Speed Counter) Function Block

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 HSC (High Speed Counter) The HSC function block can be used to start/stop HSC counting, to refresh HSC status, to reload HSC setting, and to reset HSC accumulator. Function Block Enable HscCmd HscAppData...
  • Page 172 Chapter 8 Use the High-Speed Counter and Programmable Limit Switch HscCmd = 4 (reset) sets the Acc value to the HSC AppData.Accumalator value. The HscCmd =4 does not stop HSC counting. If HSC is counting when the HscCmd =4 is issued, some counting may be lost. To reset the Acc value and then continue the counting, trigger the HscCmd =4 only once.
  • Page 173: Hsc_Set_Sts Function Block

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 HSC_SET_STS Function Block Enable HscId Mode1Done HPReached LPReached OFOccured 45646 UFOccured The HSC Set Status function block can be used to change the HSC counting status. This function block is called when the HSC is not counting (stopped). HSC Parameters Parameter Parameter...
  • Page 174: Pls Data Structure

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch The PLS Function only operates in tandem with the HSC of a Micro830 IMPORTANT controller. To use the PLS function, an HSC must first be configured. PLS Data structure The Programmable Limit Switch function is an additional set of operating modes for the High Speed Counter.
  • Page 175: Pls Example

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 At that point, the next presets (HSCHP and HSCLP) defined in the PLS data become active. When the HSC counts to that new preset, the new output data is written through the HSC mask.
  • Page 176: Hsc Interrupts

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch Once the values above for all 4 PLS data elements have been entered, the PLS is configured. Assume that HSCAPP.OutputMask = 31 (HSC mechanism controls Embedded Output 0...4 only), and HSCAPP.HSCMode = 0. PLS Operation for This Example When the ladder logic first runs, HSCSTS.Accumulator = 1, therefore all the outputs are turned off.
  • Page 177: Hsc Interrupt Configuration

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 An HSC interrupt is a mechanism that Micro830, Micro850, and Micro870 controllers provide to execute selected user logic at a pre-configured event. HSC0 is used in this document to define how HSC interrupts work.
  • Page 178: Hsc Interrupt Pou

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch HSC Interrupt POU This is the name of the Program Organizational Unit (POU) which is executed immediately when this HSC Interrupt occurs. You can choose any pre-programmed POU from the drop-down list. Auto Start (HSC0.AS) Description Data Format...
  • Page 179: Mask For Ih (Hsc0.Mh)

    Use the High-Speed Counter and Programmable Limit Switch Chapter 8 Mask for IH (HSC0.MH) Description Data Format HSC Modes User Program Access MH - High Preset Mask 0…9 read only (1) For Mode descriptions, see Count Down (HSCSTS.CountDownFlag) on page 151. The MH (High Preset Mask) control bit is used to enable (allow) or disable (not allow) a high preset interrupt from occurring.
  • Page 180: User Interrupt Pending (Hsc0.Pe)

    Chapter 8 Use the High-Speed Counter and Programmable Limit Switch • Low preset reached • High preset reached • Overflow condition – count up through the overflow value • Underflow condition – count down through the underflow value The HSC EX bit can be used in the control program as conditional logic to detect if an HSC interrupt is executing.
  • Page 181: Controller Security

    The controller password is also backed up to the memory backup module (that is, 2080-MEMBAK-RTC2 for Micro830, Micro850 and Micro870; 2080-MEMBAK-RTC for Micro830 and Micro850; 2080-LCD for Micro810; and microSD card for Micro820 controllers). Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 182: Compatibility

    Chapter 9 Controller Security For instructions on how to set, change, and clear controller passwords, Configure Controller Password on page 261. Compatibility The Controller Password feature is supported on: • Connected Components Workbench revision 2 and later • Micro800 controllers with revision 2 firmware For users with earlier versions of the software and/or hardware, refer to the compatibility scenarios below.
  • Page 183: Work With A Locked Controller

    Controller Security Chapter 9 Work with a Locked The following workflows are supported on compatible Micro800 controllers (firmware revision 2) and Connected Components Workbench software Controller revision 2. Upload from a Password-Protected Controller 1. Launch the Connected Components Workbench software. 2.
  • Page 184: Transfer Controller Program And Password-Protect Receiving

    Chapter 9 Controller Security 6. Click Download. 7. Click Disconnect. If the controller has a password locked revision 10 or later project, you IMPORTANT cannot access the controller using Connected Workbench software revision 9 or earlier. If you use Connected Components Workbench software revision 10 or later to download a revision 9 or earlier project, the password in the controller will be automatically converted to the old algorithm.
  • Page 185: Back Up And Restore A Password-Protected Controller

    Controller Security Chapter 9 Back Up and Restore a Password-Protected Controller In this workflow, user application will be backed up from a Micro800 controller that is locked to a memory plug-in device. 1. In the Project Organizer, click the Discover icon. The Browse Connections dialog appears.
  • Page 186: Recover From A Lost Password

    Workbench software. To recover, the controller must be set to Program Mode using the keyswitch for Micro830, Micro850, and Micro870 controllers, the 2080-LCD for Micro810 controllers, or the 2080-REMLCD for Micro820 controllers. Then, ControlFlash can be used to update the controller firmware, which also clears the controller memory.
  • Page 187 Controller Security Chapter 9 2. Double-click on the controller icon under Project Organizer to bring up the controller properties window. 3. Add the memory module to the first slot in the controller. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 188 Chapter 9 Controller Security 4. Click on Configuration under the MEMBAK-RTC properties and select “Load Always” or “Load on Memory Error” for the Load on power up option. 5. Build and Download the project to the controller. 6. While connected to the controller and being in the MEMBAK-RTC properties, make sure that the controller is changed to Program Mode and click on “Backup to Memory Module”...
  • Page 189 Controller Security Chapter 9 Using the memory module to copy a project to multiple controllers You can use the memory module to download a project to multiple controllers without connecting them to a PC with Connected Components Workbench software installed. To do this: 1.
  • Page 190 Chapter 9 Controller Security Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 191: Overview

    The last section provides quickstart projects for the data log and recipe functions. Overview With firmware revision 12.011 or later, Micro830, Micro850, and Micro870 controllers support microSD cards through the use of the microSD card plug-in (an Encompass™ partner product) for Micro800 controllers for the following purposes: •...
  • Page 192: Project Backup And Restore

    IMPORTANT Idle status before microSD card is removed. Project Backup and Project backup and restore on Micro830, Micro850, and Micro870 controllers are mainly supported through the microSD card. Both backup and restore can be Restore initiated or manually triggered and configured through the Connected Components Workbench, and the ConfigMeFirst.txt file in the microSD card.
  • Page 193: Backup And Restore Directory Structure

    Using microSD Cards Chapter 10 If the Load Always setting is enabled and power is lost when restoring a IMPORTANT project from the microSD card, the controller will attempt to load the project using the default project name and directory after power is restored.
  • Page 194: Powerup Settings In Configmefirst.txt

    Chapter 10 Using microSD Cards Project restore is done from the subdirectory specified in ConfigMeFirst.txt file or the <Micro800>/USERPRJ default folder, if none is specified in the ConfigMeFirst.txt file. The user needs to ensure that the directory is populated with correct contents before restoring. 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 data log directories.
  • Page 195 Using microSD Cards Chapter 10 ConfigMeFirst.txt Configuration Settings Setting Takes Effect On... Description Controller settings [PM] Powerup Power up and switch to PROGRAM mode. [CF] Powerup Power up and attempt to clear fault. Project settings [BKD = My Proj1] Powerup Power up and save the controller project into backup directory, My Proj1\USERPRJ.
  • Page 196: General Configuration Rules In Configmefirst.txt

    Chapter 10 Using microSD Cards Directory Settings IMPORTANT • If no directory has been specified in the ConfigMeFirst.txt file, then backup and restore will occur in the controller name directory (<Micro800>/USERPRJ, by default). • If [UPD] is configured in the ConfigMeFirst.txt file, then backup and restore will occur in the [UPD] directory specified.
  • Page 197: Configmefirst.txt Errors

    Using microSD Cards Chapter 10 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: •...
  • Page 198 Chapter 10 Using microSD Cards 5. After the backup is completed, click OK. The image files are stored in the default location on the microSD card <Micro800>\USERPRJ. This location is where the controller loads from when the Load on power up setting is configured to “Load Always” or “Load on Error”. Alternatively, if you do not want to use Connected Components Workbench software to create the project backup, you can also use the ConfigMeFirst.txt file.
  • Page 199 Using microSD Cards Chapter 10 The customer must unzip these image files into the root directory of their microSD card and verify that the location is identical to the original (default is <Micro800>\USERPRJ). Restore project from backup The last step is to restore the project to your controller from the microSD card. There are two methods to restore the backup, depending on the configuration of the controller.
  • Page 200: Data Log

    Chapter 10 Using microSD Cards The ConfigMeFirst.txt file must be placed in the same root directory as the backup folder in the microSD card. 1. Insert the microSD card into the microSD card slot. 2. Cycle power to the controller. 3.
  • Page 201: Data Log Directory Structure

    Using microSD Cards Chapter 10 Data Log Directory Structure The DATALOG folder is created under the current project directory in the microSD card. In this example, the current project directory is MYPROJECT. By default, the current project directory name is taken from the downloaded project’s controller name or from the ConfigMeFirst.txt.
  • Page 202: Data Log Function (Dlg) Block

    Chapter 10 Using microSD Cards Data Log Function (DLG) Block The data logging function block lets a user program to write run-time global values into the data logging file in microSD card. Enable Status TSEnable ErrorID CfgId DLG Input and Output Parameters Parameter Parameter Data Type Description...
  • Page 203 Using microSD Cards Chapter 10 DLG Function Block Errors Status Code Name Description DLG_ERR_CFG_FORMAT Data log configuration file format is wrong. DLG_ERR_RTC Real time clock is invalid. DLG_ERR_UNKNOWN Unspecified error has occurred. File access error will be returned during DLG function block execution IMPORTANT when card is full.
  • Page 204 Chapter 10 Using microSD Cards Data Log Function Block Execution IMPORTANT • There are three possible states for the Data Log function block: Idle, Busy and Complete (which includes Complete with Succeed and Complete with Error). • For one Data Log function block execution, the typical status starts from Idle, then Busy and finishes with Complete.
  • Page 205: Recipe

    Using microSD Cards Chapter 10 Supported Data Types for Data Log and Recipe Function Blocks Data Type Description Example format in output data log file REAL 32-bit floating point value -3.40282347E+38, +3.40282347E+38 LREAL 64-bit floating point value -1.7976931348623157E+308, +1.7976931348623157E+308 STRING character string '"Rotation Speed"...
  • Page 206: Recipe Directory Structure

    Chapter 10 Using microSD Cards Recipe Directory Structure On first execution of RCP, it creates the RECIPE folder under the current project directory on the microSD card. It also creates 10 subdirectories for each recipe set with a name following the CfgID input value (1…10) . If the CfgID value is 1, then the subfolder Rcp_Id01 is created.
  • Page 207 Using microSD Cards Chapter 10 RCP Input and Output Parameters Parameter Parameter Data Type Description Type Enable INPUT BOOL Recipe read/write function enable. If Rising Edge (Enable is triggered from "low" to "high"), starts recipe function block and the precondition is that last operation is completed.
  • Page 208 Chapter 10 Using microSD Cards RCP Function Block Errors Error ID Error name Description RCP_ERR_DATAFILE_ABSENT Recipe data file is absent. RCP_ERR_DATAFILE_FORMAT Recipe data file contents are wrong. RCP_ERR_DATAFILE_SIZE Recipe data file size is too big (>4K). File access error will be returned during RCP function block execution IMPORTANT when card is full.
  • Page 209: Quickstart Projects For Data Log And Recipe Function Blocks

    Using microSD Cards Chapter 10 RCP Function Block Execution IMPORTANT • There are three possible states for Recipe function block: Idle, Busy, Complete (Complete with Succeed and Complete with Error) • For one Recipe function block execution, the typical status starts from Idle then Busy and finishes with Complete.
  • Page 210: Use The Data Log Feature

    Chapter 10 Using microSD Cards Use the Data Log Feature Configure data log Create data log ladder program Build and download Execute DLG function block Upload data log file Configure data log 1. In Connected Components Workbench, go to the Properties pane to configure your data log.
  • Page 211 Using microSD Cards Chapter 10 Create data log ladder program 1. Launch Connected Components Workbench. Create a user program for your Micro800 controller. 2. Right-click Programs. Select Add New LD: Ladder Diagram. Name the Program (for example, Prog1). 3. From the Toolbox, double-click Direct Contact to add it to the rung. 4.
  • Page 212 Chapter 10 Using microSD Cards 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. 6. Create the following local variables for your project. Local Variables Variable Name Data Type EnDlg...
  • Page 213 Using microSD Cards Chapter 10 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.
  • Page 214 Chapter 10 Using microSD Cards Build and download After configuring data log properties, build the program and download to the controller. Execute DLG function block Execute the DLG function block. Notice the Status output go from 0 (Idle) to 1 (Enable), and 2 (Succeed). Upload data log file You can retrieve data log files from the microSD card using a card reader or by uploading the data logs through Connected Components Workbench.
  • Page 215 Using microSD Cards Chapter 10 3. From the Upload window that appears, select the date of the data log files that you would like to upload. You can upload data logs for the entire month by clicking Whole Month option button. 4.
  • Page 216: Use The Recipe Feature

    Chapter 10 Using microSD Cards Use the Recipe Feature Configure Recipe Create Recipe ladder program Build and download Execute RCP function block Upload Recipe files Configure Recipe 1. In Connected Components Workbench, go to the Properties pane to configure Recipe. 2.
  • Page 217 Using microSD Cards Chapter 10 Create Recipe ladder program 1. Launch Connected Components Workbench. Create a user program for your Micro800 controller. 2. Right-click Programs. Select Add New LD: Ladder Diagram. Name the Program (for example, Prog2). 3. From the Toolbox, double-click Direct Contact to add it to the first rung. 4.
  • Page 218 Chapter 10 Using microSD Cards 5. On the Block Selector window that appears, type RCP to filter the Recipe function block from the list of available function blocks. Click OK. 6. From the Toolbox, double-click rung to add another rung. 7.
  • Page 219 Using microSD Cards Chapter 10 9. Assign the variables to the RCP input and output parameters as follows: Rung 2 Rung 3 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.
  • Page 220 Chapter 10 Using microSD Cards Build and download After configuring Recipe, build the program and download to the controller. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 221 Using microSD Cards Chapter 10 Execute RCP function block Execute the RCP function block. Notice the Status output go from 0 (Idle) to 1 (Enable), and 2 (Succeed). Upload Recipe files You can retrieve recipe files from the microSD card using a card reader or by uploading the recipe files through Connected Components Workbench.
  • Page 222 Chapter 10 Using microSD Cards 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.
  • Page 223: Specifications

    At the end of its life, this equipment should be collected separately from any unsorted municipal waste. Micro830 Controllers The following tables provide specifications, ratings, and certifications for the Micro830 controllers. Micro830 10-Point Controllers General Specifications Attribute 2080-LC30-10QWB 2080-LC30-10QVB Number of I/O...
  • Page 224 Appendix A Specifications General Specifications Attribute 2080-LC30-10QWB 2080-LC30-10QVB Power supply voltage range 20.4…26.4V DC Class 2 I/O rating Input: Input: 24V DC, 8.8 mA 24V DC, 8.8 mA Output: Output: 2 A, 240V AC, general use 2 A, 24V DC, 1 A per point (Surrounding air temperature 30 °C) 24 V DC, 0.3 A per point (Surrounding air temperature 65 °C)
  • Page 225 7.5 A 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro830 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 226: Micro830 16-Point Controllers

    Appendix A Specifications Micro830 16-Point Controllers General Specifications Attribute 2080-LC30-16AWB 2080-LC30-16QWB 2080-LC30-16QVB Number of I/O 16 (10 inputs, 6 outputs) Dimensions (HxWxD) 90 x 100 x 80 mm (3.54 x 3.94 x 3.15 in.) Shipping weight, approx. 0.302 kg (0.666 lb) Wire size 0.14…2.5 mm...
  • Page 227 Specifications Appendix A Inputs Attribute 2080-LC30-16AWB 2080-LC30-16QVB, 2080-LC30-16QWB 120V AC Input High-Speed DC Input Standard DC Input (Inputs 0…3) (Inputs 4…9) Number of Inputs Input group to backplane Verified by the following dielectric Verified by the following dielectric tests: 1,414V DC for 2 s isolation tests: 1,400V AC for 2 s 75V DC working voltage (IEC Class 2 reinforced insulation)
  • Page 228: Micro830 24-Point Controllers

    0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro853 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Micro830 24-Point Controllers General Specifications Attribute 2080-LC30-24QWB 2080-LC30-24QVB...
  • Page 229 Specifications Appendix A General Specifications Attribute 2080-LC30-24QWB 2080-LC30-24QVB 2080-LC30-24QBB Input circuit type 12/24V sink/source (standard) 24V sink/source (high-speed) Output circuit type Relay 24V DC sink 24V DC source (standard and high-speed) (standard and high-speed) Event input interrupt support Power consumption, max 8 W –...
  • Page 230 7.5 A 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro830 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 231: Micro830 48-Point Controllers

    Specifications Appendix A Micro830 48-Point Controllers General Specifications Attribute 2080-LC30-48AWB 2080-LC30-48QWB 2080-LC30-48QVB 2080-LC30-48QBB Number of I/O 48 (28 inputs, 20 outputs) Dimensions (HxWxD) 90 x 230 x 80 mm (3.54 x 9.06 x 3.15 in.) Shipping weight, approx. 0.725 kg (1.60 lb) Wire size 0.2…2.5 mm...
  • Page 232 Appendix A Specifications Inputs Attribute 2080-LC30-48AWB 2080-LC30-48QWB, 2080-LC30-48QVB, 2080-LC30-48QBB 120V AC Input High-Speed DC Input Standard DC Input (Inputs 0…11) (Inputs 12 and higher) Number of Inputs Voltage category 110V AC 24V DC sink/source Operating voltage 132V, 60Hz AC, max 16.8…26.4V DC 10…26.4V DC Off-state voltage, max...
  • Page 233: Environmental Specifications

    7.5 A 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro830 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Environmental Specifications Environmental Specifications Attribute Value...
  • Page 234: Certifications

    Appendix A Specifications Environmental Specifications Attribute Value Emissions IEC 61000-6-4 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 EFT/B immunity...
  • Page 235: Micro850 Controllers

    Specifications Appendix A Micro850 Controllers The following tables provide specifications, ratings, and certifications for the Micro850 controllers. Micro850 24-Point Controllers General Specifications Attribute 2080-LC50-24AWB 2080-LC50-24QWB 2080-LC50-24QVB 2080-LC50-24QBB Number of I/O 24 (14 inputs, 10 outputs) Dimensions (HxWxD) 90 x 158 x 80 mm (3.54 x 6.22 x 3.15 in.) Shipping weight, approx.
  • Page 236 Appendix A Specifications DC Input Specifications Attribute 2080-LC50-24QBB, 2080-LC50-24QVB, 2080-LC50-24QWB High-Speed DC Input Standard DC Input (Inputs 0…7) (Inputs 8 and higher) Number of Inputs Voltage category 24V sink/source Input group to backplane Verified by one of the following dielectric tests: 720V DC for 2 s isolation 50V DC working voltage (IEC Class 2 reinforced insulation) On-state voltage range...
  • Page 237 7.5 A 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro850 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 238: Micro850 48-Point Controllers

    Appendix A Specifications Micro850 48-Point Controllers General Specifications Attribute 2080-LC50-48AWB 2080-LC50-48QWB 2080-LC50-48QVB 2080-LC50-48QBB Number of I/O 48 (28 inputs, 20 outputs) Dimensions (HxWxD) 90 x 238 x 80 mm (3.54 x 9.37 x 3.15 in.) Shipping weight, approx. 0.725 kg (1.60 lb) Wire size 0.2…2.5 mm (24…14 AWG) solid copper wire or...
  • Page 239 Specifications Appendix A Input Specifications Attribute 2080-LC50-48AWB 2080-LC50-48QWB, 2080-LC50-48QVB, 2080-LC50-48QBB 120V AC Input High-Speed DC Input Standard DC Input (Inputs 0…11) (Inputs 12 and higher) Number of Inputs Input group to backplane Verified by the following dielectric Verified by the following dielectric tests: 720V DC for 2 s isolation tests: 1950V AC for 2 s 50V DC working voltage (IEC Class 2 reinforced insulation)
  • Page 240 7.5 A 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A For the Micro850 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 241: Environmental Specifications

    Specifications Appendix A Environmental Specifications 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 air, max 65 °C (149 °F) Temperature, nonoperating IEC 60068-2-1 (Test Ab, Unpackaged Nonoperating Cold), IEC 60068-2-2 (Test Bb, Unpackaged Nonoperating Dry Heat),...
  • Page 242: Certifications

    Appendix A Specifications Certifications Certifications Certification (when Value product is marked) c-UL-us UL Listed Industrial Control Equipment, certified for US and Canada. See UL File E322657. UL Listed for Class I, Division 2 Group A,B,C,D Hazardous Locations, certified for U.S. and Canada. See UL File E334470. European Union 2014/30/EU EMC Directive, compliant with: EN 61326-1;...
  • Page 243: Micro870 Controllers

    Specifications Appendix A Micro870 Controllers The following tables provide specifications, ratings, and certifications for the Micro870 controllers. Catalog numbers with the suffix ‘K’ are conformal coated and their specifications are the same as non-conformal coated catalogs. Micro870 24-Point Controllers General Specifications Attribute 2080-LC70-24AWB 2080-LC70-24QWB,...
  • Page 244 Appendix A Specifications DC Input Specifications Attribute 2080-LC70-24QWB, 2080-LC70-24QWBK, 2080-LC70-24QBB, 2080-LC70-24QBBK High-Speed DC Input Standard DC Input (Inputs 0…7) (Inputs 8 and higher) Number of Inputs Voltage category 24V sink/source 24V AC, 50/60 Hz Input group to backplane Verified by one of the following dielectric tests: 720V DC for 2 s isolation 50V DC working voltage (IEC Class 2 reinforced insulation) On-state voltage range...
  • Page 245 0.75 A 24V DC 1.0 A 1.0 A 28V A 125V DC 0.22 A 0.22 A For the Micro870 controller relay chart, see Relay Chart for Micro830, Micro850, and Micro870 Controllers on page 234. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 246: Environmental Specifications

    Appendix A Specifications Environmental Specifications 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 air, max 65 °C (149 °F) Temperature, nonoperating IEC 60068-2-1 (Test Ab, Unpackaged Nonoperating Cold), IEC 60068-2-2 (Test Bb, Unpackaged Nonoperating Dry Heat),...
  • Page 247: Certifications

    Specifications Appendix A Certifications Certifications Certification (when Value product is marked) c-UL-us UL Listed Industrial Control Equipment, certified for US and Canada. See UL File E322657. UL Listed for Class I, Division 2 Group A,B,C,D Hazardous Locations, certified for U.S. and Canada. See UL File E334470. European Union 2014/30/EU EMC Directive, compliant with: EN 61326-1;...
  • Page 248: Relay Chart For Micro830, Micro850, And Micro870 Controllers

    Appendix A Specifications Relay Chart for Micro830, Relay life Micro850, and Micro870 Controllers AC 125 V resistive load DC 30 V resistive load AC 250 V AC 125 V cos φ = 0.4 resistive load DC 30 V T = 7 ms AC 250 V cos φ...
  • Page 249 Specifications Appendix A PTO Output Duty Cycle Error Turn On/Off time for the Micro830, Micro850, and Micro870 controllers for the PTO 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...
  • Page 250 Appendix A Specifications PTO Typical Readings Expected Duty Cycle Typical Duty Cycle (1.27 KΩ load) Frequency (kHz) %Duty Cycle Minimum Maximum %Duty Cycle 64.90% 66.25% 65.5 74.90% 76.25% 75.5 94.90% 96.25% 95.5 4.80% 7.50% 9.80% 12.50% 11.0 19.80% 22.50% 21.0 39.80% 42.50% 40.9...
  • Page 251 Specifications Appendix A Data Log Performance Data Log – Data Payload vs. Performance Time Parameter Number of Characters 1028 1493 3676 Average write time per data log 541.77 ms 1043.75 ms 1086.67 ms 1632.36 ms 1972.9 ms 2696.22 ms file including all overheads Average write time excluding first 500.40 ms 963.86 ms...
  • Page 252 Appendix A Specifications 2900 Time (msec) 2400 Average write time per data log including all overheads 1900 Average write time excluding first sample 1400 Average write time excluding all overheads Data Payload 518-characters 502-characters 1028-characters 1493-characters 3676-characters 28-characters Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 253: Micro800 Programmable Controller External Ac Power Supply

    Specifications Appendix A Micro800 Programmable General Specifications Controller External AC Attribute Value Power Supply Dimensions (HxWxD) 90 x 45 x 80 mm (3.55 x 1.78 x 3.15 in.) Shipping weight, approx 0.34 kg (0.75 lb) Supply voltage range 100V…120V AC, 1 A 200…240V AC, 0.5 A Supply frequency 47…63 Hz...
  • Page 254 Appendix A Specifications Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 255: Modbus Mapping For Micro800

    Appendix Modbus Mapping for Micro800 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.
  • Page 256: Example 1, Panelview Component Hmi (Master) To Micro800

    Appendix B Modbus Mapping for Micro800 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...
  • Page 257 Modbus Mapping for Micro800 Appendix B 1. Change from DF1 to Modbus protocol. 2. Set the Address of Micro800 slave to match the serial port configuration for the controller. 3. Deactivate Tags on Error. This is to prevent the requirement of power cycling PVC when new Modbus Mappings are downloaded from Connected Components Workbench to Micro800 controller.
  • Page 258: Example 2, Micro800 (Master) To Powerflex 4M Drive (Slave)

    Appendix B Modbus Mapping for Micro800 Example 2, Micro800 (Master) to PowerFlex 4M Drive (Slave) The following is the overview of the steps to be taken for configuring a PowerFlex 4M drive. Parameter numbers listed in this section are for a PowerFlex 4M and will be different if you are using another PowerFlex 4-Class drive.
  • Page 259 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/870 via Modbus RTU communication. Parameter Description...
  • Page 260: Performance

    Appendix B Modbus Mapping for Micro800 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.
  • Page 261: Flash Upgrade Your Micro800 Firmware

    Connected Component Workbench. The following quickstarts are included: Topic Page Flash Upgrade Your Micro800 Firmware Establish Communications Between RSLinx and a Micro830/Micro850/ Micro870 Controller through USB Configure Controller Password Use the High Speed Counter Forcing I/Os...
  • Page 262 Appendix C Quickstarts On Micro850 and Micro870 controllers, users can use flash update their controllers through the Ethernet port, in addition to the USB. To successfully flash update your controller over USB, connect only one IMPORTANT controller to your computer, and do not perform the flash update in a virtual machine such as VMware.
  • Page 263 Quickstarts Appendix C If the desired firmware revision is not shown in the drop-down list, you can download that firmware revision by clicking the “Get the firmware files online” link. You can also change the Connection Path by clicking the “Change” link. 4.
  • Page 264: Flash Upgrade From Microsd Card

    With Connected Components Workbench software version 12 or later, and the microSD card plug-in for Micro800 controllers, you can flash upgrade your Micro830, Micro850, and Micro870 controller from the microSD card in addition to using ControlFLASH. This is two-step process – first you have to transfer the firmware to the microSD card using the SD Card Utility, then you need to edit the ConfigMeFirst.txt file to initiate the flash upgrade process.
  • Page 265 Quickstarts Appendix C The SD Card Utility window appears. 3. Select the drive letter that points to the microSD card on your computer from the pull-down list. You can check the drive letter by looking in Windows Explorer. For this example, the microSD card is using the drive letter “G”.
  • Page 266 Appendix C Quickstarts 5. Select the firmware revision you want to flash your Micro800 controller with. The list of firmware revisions are installed together with Connected Components Workbench. If you require a revision that is not listed, download the firmware from the Product Compatibility and Download Center (PCDC) at http://www.rockwellautomation.com/rockwellautomation/support/ pcdc.page...
  • Page 267 When using the ControlFLASH utility to downgrading the firmware of a Micro830 or Micro850 series B controller to firmware revision 10.011, the program reports an error and fails at the initial stage. However when upgrading a Micro800 controller using the microSD card with a firmware revision that is not compatible with the series, the controller hard faults.
  • Page 268: Establish Communications Between Rslinx And A Micro830/Micro850

    Micro800 controller support is 2.57, build 15 (released March 2011). 1. Power up the Micro830/Micro850/Micro870 controller. 2. Plug USB A/B cable directly between your PC and the Micro830/ Micro850/Micro870 controller. 3. Windows should discover the new hardware. Click No, not this time and then click Next.
  • Page 269 Quickstarts Appendix C 4. Click Install the software automatically (Recommended), and then click Next. The Wizard searches for new hardware. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 270 6. Open RSLinx Classic and run RSWho by clicking the icon. If the proper EDS file is installed, the Micro830/Micro850/Micro870 controller should be properly identified and show up under both the Virtual Backplane (VBP) driver and the USB driver, which was automatically created.
  • Page 271 Quickstarts Appendix C Since Micro830/Micro850/Micro870 controllers support embedded EDS files, right click this device and select Upload EDS file from device. 7. On the EDS wizard that appears , click Next to continue. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 272 Appendix C Quickstarts 8. Follow the prompts to upload and install the EDS file. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 273 Quickstarts Appendix C Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 274 Appendix C Quickstarts 9. Click Finish to complete. If the Micro830/Micro850/Micro870 still shows up as a 1756 Module, then you are probably running pre-release firmware which is reporting itself as Major Revision 0, which does not match the embedded EDS file.
  • Page 275: Configure Controller Password

    Quickstarts Appendix C Configure Controller Set, change, and clear the password on a target controller through the Connected Components Workbench software. Password The following instructions are supported on Connected Components IMPORTANT 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...
  • Page 276 Appendix C Quickstarts 3. Click Secure button. Select Set Password. 4. The Set Controller Password dialog appears. Provide password. Confirm the password by providing it again in the Confirm field. Passwords must have at least eight characters to be valid. 5.
  • Page 277: Change Password

    Quickstarts Appendix C 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. 1. On the Device Details toolbar, click Secure button. Select Change Password.
  • Page 278: Clear Password

    Appendix C Quickstarts 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. 2. The Clear Password dialog appears. Enter Password. 3.
  • Page 279 Quickstarts Appendix C Input 0 Input 1 Quadrature Encoder Forward Rotation Reverse Rotation Count This quickstart includes the following sections: Create the HSC Project and Variables on page 266 • Assign Values to the HSC Variables on page 269 • Assign Variables to the Function Block on page 272 •...
  • Page 280: Create The Hsc Project And Variables

    2. Under Project Organizer, right-click Programs. Click Add New LD: Ladder Diagram to add a new ladder logic program. (1) The HSC is supported on all Micro830, Micro850, and Micro870 controllers, except on 2080-LCxx-xxAWB types. Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 281 Direct Contact onto the Rung. 5. Double-click the Direct Contact you have just added to bring up the Variable Selector dialog. Click I/O Micro830 tab. Assign the Direct Contact to input 5 by selecting _IO_EM_DI_05. Click OK.
  • Page 282 Appendix C Quickstarts 6. To the right of the Direct Contact, add a function block by double-clicking function block from the Toolbox or dragging and dropping the function block onto the rung. 7. Double-click the function block to open up Instruction Selector dialog. Choose HSC.
  • Page 283: Assign Values To The Hsc Variables

    Quickstarts Appendix C Your ladder rung should appear as shown below: 8. On the Project Organizer pane, double-click Local Variables to bring up the Variables window. Add the following variables with the corresponding data types, as specified in the table. Variable Name Data Type MyCommand...
  • Page 284 Appendix C Quickstarts 1. On the Initial Value field for the MyCommand variable, type 1. HSC Commands (HScCmd) on page 157 for more information on the description for each value. 2. Assign values to the MyAppData variables. Expand the list of MyAppData sub-variables clicking the + sign.
  • Page 285 Quickstarts Appendix C HSC Operating Modes Mode Type Number Up Counter – The accumulator is immediately cleared (0) when it reaches the high preset. A low preset cannot be defined in this mode. Up Counter with external reset and hold – The accumulator is immediately cleared (0) when it reaches the high preset.
  • Page 286: Assign Variables To The Function Block

    Appendix C Quickstarts These variables use a combination of decimals and binary numbers to specify the embedded outputs that are able to turn on/off. Thus, in our example, we first set the Output Mask to a decimal value of 3 which, when converted to binary, is equal to 0011.
  • Page 287: Run The High Speed Counter

    3. Make sure that your encoder is connected to the Micro830 controller. 4. Power up the Micro830 controller and connect it to your PC. Build the program in Connected Components Workbench and download it to the controller.
  • Page 288 2. Double-click the Direct Contact labeled _IO_EM_DI_05 to bring up the Variable Monitoring window. 3. Click the I/O Micro830 tab. Select the _IO_EM_DI_05 row. Check the boxes Lock and Logical Value so that this input will be forced in the ON position.
  • Page 289: Use The Programmable Limit Switch (Pls) Function

    Quickstarts Appendix C For this example, once the Accumulator reaches a High Preset value of 40, output 0 turns on and the HPReached flag turns on. Once the Accumulator reaches a Low Preset value of -40, output 1 turns on and the LPReached flag turns on as well.
  • Page 290 Appendix C Quickstarts 1. Start a new project following the same steps and values as the previous project. Set the values for the following variables as follows: • HSCAPP.PlsEnable variable should be set to TRUE • Set a value only for UFSetting and OFSetting (OutputMask is optional depending if an output is to be set or not).
  • Page 291: Forcing I/Os

    Quickstarts Appendix C Forcing I/Os 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 and Motion which execute independently from the User Program scan.
  • Page 292: I/O Forces After A Power Cycle

    Structured Text. If the front of the controller is visible, and not blocked by the cabinet enclosure, Micro830, Micro850, and Micro870 controllers have a Force LED indicator. I/O Forces After a Power Cycle After a controller is power cycled, all I/O forces are cleared from memory.
  • Page 293: Using Run Mode Change

    Micro850 controller without any plug-in modules, and how to use the Run Mode Change feature. Create the Project 1. Create a new project for a Micro830/Micro85/Micro8700 controller without any plug-ins. Observe that the controller is disconnected. 2. Right-click Programs and select Add -> New LD: Ladder Diagram.
  • Page 294 Appendix C Quickstarts 4. Double -click the newly added Direct Coil to bring up the Variable Selector dialog and select “_IO_EM_DO_00”. 5. Build the project. 6. Download the project to the controller. In the Connection Browser dialog, select the Micro850 controller. 7.
  • Page 295 Quickstarts Appendix C 8. Select Download to confirm. 9. When the project has been downloaded to the controller, a prompt asking to change the controller to Remote Run mode appears. Click Yes. 10. Observe that the controller is now in Debug mode. From Connected Components Workbench version 8.0 onwards, IMPORTANT selecting “Yes”...
  • Page 296: Edit The Project Using Run Mode Change

    Appendix C Quickstarts Edit the Project Using Run Mode Change Run Mode Change Toolbar Run Mode Change Test Logic Changes Accept Changes Undo Changes 1. Click the Run Mode Change icon. Observe that the controller goes into Edit mode and is still connected. If you add a new variable during RMC, external data access and changing the access type (default is Read/Write) of this new variable is not available until you have chosen to Accept or Undo the Test Logic changes.
  • Page 297 Quickstarts Appendix C 3. Double-click the newly added Instruction Block and select “Timer On/Off “(TONOFF). Configure the Instruction Block to trigger every one second. 4. From the Toolbox, double-click Reverse Contact to add it to the rung, or drag and drop Reverse Contact onto the run. Place it to left of the recently added Instruction Block.
  • Page 298 Appendix C Quickstarts 5. Click the Test Logic Changes icon to build the project and download it to the controller. When a Test Logic is performed, or undoing changes after the IMPORTANT Test Logic is completed, any active communication instructions will be aborted while the changes are downloaded to the controller.
  • Page 299 Quickstarts Appendix C Observe that original project is shown and the controller is in Debug mode. To Accept the Changes 1. Click the Accept Changes icon. 2. Observe that only the Run Mode Change icon is now enabled and the controller remains in Debug mode.
  • Page 300 Appendix C Quickstarts Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 301: User Interrupts

    An interrupt is an event that causes the controller to suspend the Program Organization Unit (POU) it is currently performing, perform a different POU, and then return to the suspended POU at the point where it suspended. The Micro830, Micro850, and Micro870 controllers support the following User Interrupts: • User Fault Routine •...
  • Page 302: When Can The Controller Operation Be Interrupted

    6. resumes normal execution from the point where the controller program was interrupted When Can the Controller Operation be Interrupted? The Micro830 controllers allow interrupts to be serviced at any point of a program scan. Use UID/ UIE instructions to protect program block which should not be interrupted.
  • Page 303 User Interrupts Appendix D When an interrupt occurs and another interrupt(s) has already occurred but has not been serviced, the new interrupt is scheduled for execution based on its priority relative to the other pending interrupts. At the next point in time when an interrupt can be serviced, all the interrupts are executed in the sequence of highest priority to lowest priority.
  • Page 304: User Interrupt Configuration

    Appendix D User Interrupts User Interrupt Configuration User interrupts can be configured and set as AutoStart from the Interrupts window. User Fault Routine The user fault routine gives you the option of doing the cleanup before a controller shutdown, when a specific user fault occurs. The fault routine is executed when any user fault occurs.
  • Page 305: User Interrupt Instructions

    User Interrupts Appendix D 2. In the User Interrupt Configuration window, configure this POU as a User Fault routine. User Interrupt Instructions Instruction Used To: Page STIS – Selectable Use the STIS (Selectable Timed Interrupt Start) instruction to Timed Start the start the STI timer from the control program, rather than starting automatically.
  • Page 306: Uid - User Interrupt Disable

    Appendix D User Interrupts STIS Parameters Parameter Parameter Data Parameter Description Type Type Enable Input BOOL Enable Function. When Enable = TRUE, function is performed. When Enable = FALSE, function is not performed. IRQType Input UDINT Use the STI defined DWORD IRQ_STI0, IRQ_STI1, IRQ_STI2, IRQ_STI3 SetPoint Input...
  • Page 307 User Interrupts Appendix D Types of Interrupts Disabled by the UID Instruction Interrupt Type Element Decimal Value Corresponding Bit Plug-In Module UPM4 8388608 bit 23 Plug-In Module UPM3 4194304 bit 22 Plug-In Module UPM2 2097152 bit 21 Plug-In Module UPM1 1048576 bit 20 Plug-In Module...
  • Page 308: Uie - User Interrupt Enable

    Appendix D User Interrupts UIE - User Interrupt Enable UIE (name or Pin ID) Enable or ENO(Pin ID) IRQType 45640 The UIE instruction is used to enable selected user interrupts. The table below shows the types of interrupts with their corresponding enable bits: Types of Interrupts Enabled by the UIE Instruction Interrupt Type Element...
  • Page 309: Uif - User Interrupt Flush

    User Interrupts Appendix D For example, to enable EII Event 1 and EII Event 3: EII Event 1 = 4, EII Event 3 = 16 4 + 16 = 20 (enter this value) UIF - User Interrupt Flush UIF (name or Pin ID) Enable or ENO(Pin ID) IRQType...
  • Page 310: Uic - User Interrupt Clear

    Appendix D User Interrupts 2. Find the Decimal Value for the interrupt(s) you selected. 3. Add the Decimal Values if you selected more than one type of interrupt. 4. Enter the sum into the UIF instruction. For example, to disable EII Event 1 and EII Event 3: EII Event 1 = 4, EII Event 3 = 16 4 + 16 = 20 (enter this value) UIC –...
  • Page 311: Using The Selectable Timed Interrupt (Sti) Function

    User Interrupts Appendix D Using the Selectable Timed Configure the STI function from the Interrupt Configuration window. Interrupt (STI) Function The Selectable Timed Interrupt (STI) provides a mechanism to solve time critical control requirements. The STI is a trigger mechanism that allows you to scan or solve control program logic that is time sensitive.
  • Page 312: Selectable Time Interrupt (Sti) Function Configuration And Status

    Appendix D User Interrupts Selectable Time Interrupt This section covers the configuration and status management of the STI function. (STI) Function Configuration and Status STI Function Configuration STI Program POU This is the name of the Program Organizational Unit (POU) which is executed immediately when this STI Interrupt occurs.
  • Page 313 User Interrupts Appendix D STI User Interrupt Executing (STI0.EX) Sub-Element Description Data Format User Program Access EX - User Interrupt Executing binary (bit) read only The EX (User Interrupt Executing) bit is set whenever the STI mechanism completes timing and the controller is scanning the STI POU. The EX bit is cleared when the controller completes processing the STI subroutine.
  • Page 314: Using The Event Input Interrupt (Eii) Function

    Appendix D User Interrupts Using the Event Input The EII (Event Input Interrupt) is a feature that allows the user to scan a specific POU when an input condition is detected from a field device. Interrupt (EII) Function EII0 is used in this document to define how EII works. Configure EII Input Edge from the Embedded I/O configuration window.
  • Page 315: Eii Function Status Information

    User Interrupts Appendix D EII Input Select (EII0.IS) Sub-Element Description Data Format User Program Access IS - Input Select word (INT) read only The IS (Input Select) parameter is used to configure each EII to a specific input on the controller. Valid inputs are 0…N, where N is either 15, or the maximum input ID, whichever is smaller.
  • Page 316 Appendix D User Interrupts EII User Interrupt Pending (EII0.PE) Sub-Element Description Data Format User Program Access PE - User Interrupt Pending binary (bit) read only PE (User Interrupt Pending) is a status flag that represents an interrupt is pending. This status bit can be monitored, or used for logic purposes, in the control program if you need to determine when a subroutine cannot execute immediately.
  • Page 317: Status Indicators On The Controller

    Appendix Troubleshooting Status Indicators on the Micro830 Controllers Controller 10/16 Point Controllers 24 Point Controllers 48 Point Controllers 45037a 45031a 45017a Micro850 Controllers 24 Point Controllers 48 Point Controllers 45935 45934 Micro870 Controllers 24 Point Controllers 45934 Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 318 Appendix E Troubleshooting Status Indicator Description Description State Indicates Input status Input is not energized Input is energized (terminal status) Power status No input power, or power error condition Green Power on Run status Not executing the user program Green Executing the user program in run mode Flashing green Memory backup/restore in progress...
  • Page 319: Normal Operation

    Troubleshooting Appendix E Status Indicator Description Description State Indicates Network status Steady Off Not powered, no IP address. The device is powered off, or is powered on but with no IP address. Flashing Green No connections. An IP address is configured, but no Ethernet application is connected.
  • Page 320 Appendix E Troubleshooting • Non-recoverable – A non-recoverable fault requires the controller to be power cycled before clearing the fault. After the controller has been power cycled or reset, check the fault log in the Diagnostic page of the Connected Components Workbench software, then clear the fault.
  • Page 321 Troubleshooting Appendix E List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xF006 Recoverable The user program is incompatible with the Perform one of the following: Micro800 controller’s firmware revision. • See Corrective Actions for Recoverable Faults on page 313.
  • Page 322 Appendix E Troubleshooting List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xF023 Non- The controller program has been cleared. This Perform one of the following: recoverable happened because: • See Corrective Actions for Non-recoverable Faults on page 313.
  • Page 323 Troubleshooting Appendix E List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xF27z Recoverable A non-recoverable communication fault has Perform one of the following: occurred on the expansion I/O module. • See Corrective Actions for Recoverable Faults on page 313.
  • Page 324 Appendix E Troubleshooting List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xF0Az Recoverable The plug-in I/O module experienced an error Perform the following: during operation. • Check the condition and operation of the plug-in I/O module. •...
  • Page 325 Troubleshooting Appendix E List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xF0878 Recoverable An index used to access a bit is beyond the Perform the following: boundaries of the data type it is used on. 1.
  • Page 326 Appendix E Troubleshooting List of Error Codes for Micro800 controllers Error Code Fault Type Description Recommended Action 0xFFzz Recoverable A user-created fault from Connected Components Corrective Actions for Recoverable Faults on page 313. Workbench has occurred. 0xD00F Recoverable A particular hardware type (for example, Corrective Actions for Recoverable Faults on page 313.
  • Page 327: Corrective Action For Recoverable And Non-Recoverable Faults

    Troubleshooting Appendix E Corrective Action for Recoverable and Non-recoverable Faults Corrective Actions for Recoverable Faults Perform the following: 1. Optionally save the fault log from Connected Components Workbench software. 2. Clear the recoverable fault using Connected Components Workbench software. 3. If problem persists, contact technical support with the fault log. Corrective Actions for Non-recoverable Faults Perform the following: 1.
  • Page 328: Controller Error Recovery Model

    Appendix E Troubleshooting 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.
  • Page 329: Calling Rockwell Automation For Assistance

    Troubleshooting Appendix E Calling Rockwell If you need to contact Rockwell Automation or local distributor for assistance, it is helpful to obtain the following (prior to calling): Automation for Assistance • controller type, series letter, revision letter, and firmware (FRN) number of the controller •...
  • Page 330 Appendix E Troubleshooting Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 331 Appendix PID Function Blocks The PID function block has parameter naming similar to RSLogix 500 and is recommended for users who are already familiar with programming in RSLogix 500. The IPIDCONTROLLER function block has the advantage of supporting auto tune. Comparison Between IPIDCONTROLLER and PID IPIDCONTROLLER Description...
  • Page 332: Pid Function Block

    Appendix F PID Function Blocks Comparison Between IPIDCONTROLLER and PID IPIDCONTROLLER Description IPIDCONTROLLER specific parameters Auto – TRUE = Normal operation of PID. FALSE = Output tracks Feedback. Feedback Feedback of the control being applied to the process. Usually it’s the PID’s CV after any limits or manual control has been applied.
  • Page 333 PID Function Blocks Appendix F PID Arguments Parameter Parameter Data Type Description Type CVMin Input REAL Control value minimum limit. If CV < CVMin, then CV = CVMin. If CVMin > CVMax, and error occurs. CVMax Input REAL Control value maximum limit. If CV >...
  • Page 334 Appendix F PID Function Blocks GAIN_PID Data Type Parameter Parameter Data Type Description Type Input REAL Time integral constant in seconds (>= 0.0001). Increasing Ti decreases overshoot and oscillation of the PID. If Ti is invalid, an error occurs. Input REAL Time derivative constant in seconds (>= 0.0).
  • Page 335: Ipidcontroller Function Block

    PID Function Blocks Appendix F IPIDCONTROLLER Function This function block diagram shows the arguments in the IPIDCONTROLLER function block. Block IPIDCONTROLLER IPIDCONTROLLER Output Process 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...
  • Page 336 Appendix F PID Function Blocks IPIDCONTROLLER Arguments Parameter Parameter Data Type Description Type ATWarnings Output DINT Warning for the AutoTune sequence. Possible value are: 0 = No auto tune done. 1 = In auto tune mode. 2 = Auto tune done. -1 = Error 1: Input automatically set to TRUE, no auto tune possible.
  • Page 337 PID Function Blocks Appendix F GAIN_PID Data Type Parameter Type Description TimeIntegral REAL Time integral value for PID (>= 0.0001). Time integral value for PID A smaller integral time constant causes a faster change in the output based upon the difference between the PV (measured process value) and SV (set point value) integrated over this time.
  • Page 338: How To Autotune

    Appendix F PID Function Blocks How to Autotune Before you autotune, you need to: • Verify that your system is constant when there is no control. For example, for temperature control, process value should remain at room temperature when there is no control output. •...
  • Page 339: How Autotune Works

    PID Function Blocks Appendix F 4. Note the temperature fluctuation of the process value. 5. Calculate deviation value with reference to the fluctuation. For example, if the temperature stabilizes around 22 °C (72 °F) with a fluctuation of 21.7…22.5 °C (71…72.5 °F), the value of ‘ATParams.Deviation’ is: 72.5 - 71 22.5 - 21.7 = 0.75...
  • Page 340: Troubleshooting An Autotune Process

    Appendix F PID Function Blocks 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...
  • Page 341 PID Function Blocks Appendix F IPID Autotuning for First and Second Order Systems Autotune of IPID can only work on first and second order systems. A first order system can be described by a single independent energy storage element. Examples of first order systems are the cooling of a fluid tank, the flow of fluid from a tank, a motor with constant torque driving a disk flywheel or an electric RC lead network.
  • Page 342: Pid Code Sample

    Appendix F PID Function Blocks PID Code Sample The illustration PID Code Sample 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 use- defined function blocks.
  • Page 343 PID Function Blocks Appendix F User Program Scan Time is Important IMPORTANT The autotuning method needs to cause the output of the control loop to oscillate. In order to identify the oscillation period, the IPID must be called frequently enough to be able to sample the oscillation adequately. The scan time of the user program must be less than half the oscillation period.
  • Page 344 Appendix F PID Function Blocks Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 345: Calculate Total Power For Your Micro830/Micro850/Micro870

    2.00 W Calculate Total Power for Your Micro830/Micro850/Micro870 Controller To calculate Total Power for your Micro830, Micro850, and Micro870 controller, use the following formula: Total Power =Main Unit Power + No. of Plug-ins * Plug-in Power + Sum of Expansion I/O Power Example 1: Derive Total Power for a 24-point Micro830 controller with two plug-ins.
  • Page 346: Rockwell Automation Publication 2080-Um002K-En-E - March

    Appendix G System Loading Calculate External AC Power Supply Loading for your Micro830 Controller To calculate External AC Power Supply Loading: • Get total sensor current loading. For this example, assume it is 250 mA. • Calculate Total Power Loading by Sensor using this formula: (24V * 250 mA) 6 W.
  • Page 347: Index

    Index Symbols CIP Symbolic Addressing 61 CIP Symbolic Client/Server 57 __SYSVA_CYCLECNT 76 communication connections 57 __SYSVA_TCYCURRENT 76 communication protocols 57 __SYSVA_TCYMAXIMUM 76 communications ports 57 Numerics Compliance to European Union Directive 1761-CBL-PM02 64 EMC Directive 22 Low Voltage Directive 22 2080-PS120-240VAC 35 Compliance to European Union Directives 21 2711P-CBL-EX04 9...
  • Page 348: Index

    314 HSC STS Data Structure 150 ErrorStop 98 HSC_SET_STS Function Block 159 Establishing Communications Between RSLinx and a Micro830 via USB 254 Ethernet Information About Using Interrupts 287 configuration settings 70 in-position signal 86 EtherNet/IP Client/Server 58...
  • Page 349: Index

    MC_WriteBoolParameter 87 PID Code Sample 328 MC_WriteParameter 87 PID Function Blocks 317 Micro800 cycle or scan 75 PLS Data structure 160 Micro830 Controllers 2 PLS Example 161 Micro830 controllers PLS Operation 160 inputs/outputs types 7 position/distance input 89 Micro850 controllers...
  • Page 350: Index

    EtherNet/IP 19 recommended 44 using Modbus RTU 18 using 42 verify IP address change 21 system assembly verify node address change 19 Micro830 and Micro850 24-point controllers 39 Micro830, Micro850, and Micro870 24-point controllers Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 351: Index

    Index timing diagrams quadrature encoder 144 touch probe input switch 84 troubleshooting 303 UID instruction 292 UIE instruction 294 UIF instruction 295 upper (Positive) Limit switch 84 upper (positive) limit switch 85 User Defined Function (UDF) 75 User Defined Function Block (UDFB) 75 user fault routine creating a user fault routine 290 recoverable and non-recoverable faults 290...
  • Page 352: Index

    Index Notes: Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 353 Rockwell Automation Publication 2080-UM002K-EN-E - March 2019...
  • Page 354 Rockwell Automation Support 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.

This manual is also suitable for:

Micro850Micro870

Table of Contents