Rockwell Automation Allen-Bradley Micro820 User Manual

Rockwell Automation Allen-Bradley Micro820 User Manual

Programmable controllers
Hide thumbs Also See for Allen-Bradley Micro820:
Table of Contents

Advertisement

Micro830, Micro850, and Micro870
Programmable Controllers
Micro810 Controller Catalog Numbers 2080-LC10-12AWA, 2080-LC10-12QWB, 2080-LC10-12DWD, 2080-LC10-12QBB
Micro820 Controller Catalog Numbers 2080-LC20-20AWB, 2080-LC20-20AWBR, 2080-LC20-20QWB, 2080-LC20-20QWBR,
2080-LC20-20QBB, 2080-LC20-20QBBR
Micro830 Controller Catalog Numbers 2080-LC30-10QWB, 2080-LC30-10QVB, 2080-LC30-16AWB, 2080-LC30-16QWB,
2080-LC30-16QVB, 2080-LC30-24QWB, 2080-LC30-24QVB, 2080-LC30-24QBB, 2080-LC30-48AWB, 2080-LC30-48QWB,
2080-LC30-48QVB, 2080-LC30-48QBB
Micro850 Controller Catalog Numbers 2080-LC50-24AWB, 2080-L50E-24AWB, 2080-LC50-24QWB, 2080-L50E-24QWB,
2080-LC50-24QVB, 2080-L50E-24QVB, 2080-LC50-24QBB, 2080-L50E-24QBB, 2080-LC50-48AWB, 2080-L50E-48AWB,
2080-LC50-48QWB, 2080-L50E-48QWB, 2080-LC50-48QWBK, 2080-L50E-48QWBK, 2080-LC50-48QVB, 2080-L50E-48QVB,
2080-LC50-48QBB, 2080-L50E-48QBB
Micro870 Controller Catalog Numbers 2080-LC70-24AWB, 2080-L70E-24AWB, 2080-LC70-24QWB, 2080-L70E-24QWB,
2080-LC70-24QWBK, 2080-L70E-24QWBK, 2080-L70E-24QWBN, 2080-LC70-24QBB, 2080-L70E-24QBB, 2080-LC70-24QBBK,
2080-L70E-24QBBK, 2080-L70E-24QBBN
User Manual
Original Instructions

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Allen-Bradley Micro820 and is the answer not in the manual?

Questions and answers

Summary of Contents for Rockwell Automation Allen-Bradley Micro820

  • Page 1 Micro830, Micro850, and Micro870 Programmable Controllers Micro810 Controller Catalog Numbers 2080-LC10-12AWA, 2080-LC10-12QWB, 2080-LC10-12DWD, 2080-LC10-12QBB Micro820 Controller Catalog Numbers 2080-LC20-20AWB, 2080-LC20-20AWBR, 2080-LC20-20QWB, 2080-LC20-20QWBR, 2080-LC20-20QBB, 2080-LC20-20QBBR Micro830 Controller Catalog Numbers 2080-LC30-10QWB, 2080-LC30-10QVB, 2080-LC30-16AWB, 2080-LC30-16QWB, 2080-LC30-16QVB, 2080-LC30-24QWB, 2080-LC30-24QVB, 2080-LC30-24QBB, 2080-LC30-48AWB, 2080-LC30-48QWB, 2080-LC30-48QVB, 2080-LC30-48QBB Micro850 Controller Catalog Numbers 2080-LC50-24AWB, 2080-L50E-24AWB, 2080-LC50-24QWB, 2080-L50E-24QWB, 2080-LC50-24QVB, 2080-L50E-24QVB, 2080-LC50-24QBB, 2080-L50E-24QBB, 2080-LC50-48AWB, 2080-L50E-48AWB, 2080-LC50-48QWB, 2080-L50E-48QWB, 2080-LC50-48QWBK, 2080-L50E-48QWBK, 2080-LC50-48QVB, 2080-L50E-48QVB,...
  • Page 2 If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired. In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
  • Page 3: Table Of Contents

    Using Emergency-Stop Switches ......35 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 4 OPC Support Using FactoryTalk Linx ......73 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 5 Motion Axis and Parameters ........152 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 6 HSC Interrupt Status Information....... 210 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 7 Clear Password ..........269 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 8 Controller Error Recovery Model ....... . 310 Calling Rockwell Automation for Assistance ..... . 311...
  • Page 9 ............. . . 343 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 10 Table of Contents Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 11: Preface

    See the Online Help provided with Connected Components Workbench™ software for more information on programming your Micro800 controller. Rockwell Automation recognizes that some of the terms that are currently used in our industry and in this publication are not in alignment with the movement toward inclusive language in technology.
  • Page 12: Additional Resources

    Information on mounting and wiring the optional external power supply for expansion I/O Installation Instructions, publication 2085-IN008 modules. Micro800 RS-232/RS-485 Isolated Serial Port Plug-in Module Wiring Information on mounting and wiring the Micro800 RS-232/RS-485 Isolated Serial Port Plug-in Diagrams, publication 2080-WD002 Module. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 13 ENET-RM002 Describes basic Ethernet concepts, infrastructure components, and infrastructure features. Provides guidance on how to conduct security assessments, implement Rockwell Automation System Security Design Guidelines Reference Manual, products in a secure system, harden the control system, manage user access, and dispose of...
  • Page 14 Preface Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 15 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 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 16: Hardware Overview

    Troubleshooting on page 303 for descriptions of status indicator operation for troubleshooting purposes. Micro830 Controllers Micro830 10/16-point controllers and status indicators Status indicator Controller Micro830 24-point controllers and status indicators Controller Status indicator Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 17: Micro850 Controllers

    Serial communications status Run status Output status Fault status (1) For detailed description of the different status LED indicators, see Troubleshooting on page 303. Micro850 Controllers Micro850 24-point controllers and status indicators Status indicators Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 18 40-pin high-speed plug-in connector RS-232/RS-485 non-isolated combo serial port RJ-45 EtherNet/IP connector Removable I/O terminal block (with embedded yellow and green LED indicators) Right-side cover Optional AC power supply Mounting screw hole / mounting foot Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 19: Micro870 Controllers

    RJ-45 Ethernet connector (with embedded green and Removable I/O terminal block yellow LED indicators) Right-side cover Optional power supply Mounting screw hole / mounting foot Status Indicator Description Description Description Input status Fault status Module Status Force status Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 20 – 2080-LC50-48AWB – – – – – 2080-L50E-48AWB – – – – – 2080-LC50-48QWB – – – – 2080-L50E-48QWB – – – – 2080-LC50-48QWBK – – – – 2080-L50E-48QWBK – – – – Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 21: Programming Cables

    Use a standard USB A Male to B Male cable for programming the controller. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 22: Embedded Ethernet Support

    Ethernet Status Indication Micro850 and Micro870 controllers also support two LEDs for EtherNet/IP™ to indicate the following: • Module status • Network status Troubleshooting on page 303 for descriptions of Module and Network status indicators. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 23: About Your Controller

    Connected Components Workbench software is a set of collaborative tools Micro800 Controllers supporting Micro800 controllers. It is based on Rockwell Automation and Microsoft® Visual Studio® technology and offers controller programming, device configuration and integration with HMI editor. Use this software to program your controllers, configure your devices and design your operator interface applications.
  • Page 24: Using Run Mode Change (Rmc)

    A new global variable __SYSVA_PROJ_INCOMPLETE has been added to indicate when Run Mode Changes are being made. This can be used to notify personnel on the HMI that there are uncommitted changes in the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 25: Uncommitted Changes

    If you have a project that was developed before version 8, you may need to reduce the default “Allocated” 8 KB Temporary Variables section from the Memory page in order to compile the project successfully. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 26 RMC memory as shown below, the operation will fail and a “not enough memory” error message will appear. Do not use RMC if you are near the limits of your controller memory. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 27: Limitations Of Rmc

    ON. Use Run Mode Change on page 282 for an example on how to use this feature. (1) Approximately 85 boolean instructions for Micro850 (2080-L50E) and Micro870 (2080-L70E) controllers. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 28: Using Run Mode Configuration Change (Rmcc)

    For Micro830/Micro850/Micro870 controllers, the address configuration change is permanent and will retained when the controller is power cycled. From firmware revision 10 onwards, Micro820 controllers also retain the address configuration when the controller is power cycled. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 29: Using Modbus Rtu Communication

    You can verify that the node address has changed after performing RMCC by looking at the Communication Diagnostics tab for the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 30: Using Ethernet/Ip Communication

    100 ms for one program scan. CIP Generic Message Parameters for RMCC using EtherNet/IP Parameter Value Service Class Instance Attribute ReqData IP address, Subnet mask, Gateway address ReqLen 22 bytes RMCC EtherNet/IP Example – Set the Parameters Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 31 IP address change in order for duplicate address detection to work properly. You can verify that the IP address has changed after performing RMCC by looking at the Ethernet settings for the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 32: Safety Considerations

    Never alter these circuits to defeat their function. Serious injury or machine damage could result. WARNING: Explosion Hazard Do not connect or disconnect connectors while circuit is live. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 33: Power Distribution

    • The power-up sequence of devices in a system. • The amount of the power source voltage sag if the inrush current cannot be supplied. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 34: Loss Of Power Source

    Harmful contaminants or dirt could cause improper operation or damage to components. In extreme cases, you may need to use air conditioning to protect against heat build-up within the enclosure. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 35: Master Control Relay

    • Install emergency-stop switches and the master control relay in your system. Make certain that relay contacts have a sufficient rating for your application. Emergency-stop switches must be easy to reach. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 36 I/O circuits DC power supply. Use IEC 950/EN 60950 24V DC (Lo) (Hi) I/O circuits Line terminals: Connect to terminals of power supply. Line terminals: Connect to 24V DC terminals of power supply. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 37 DC power supply. Use NEC Class 2 for UL Listing. (Lo) (Hi) 24 V DC I/O circuits Line terminals: Connect to terminals of power supply Line terminals: Connect to 24V DC terminals of power supply. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 38 Chapter 2 About Your Controller Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 39: Install Your Controller

    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) Measurements in mm (in.) Micro830 24-point Controllers 2080-LC30-24QW8B, 2080-LC30-24QVB, 2080-LC30-24QBB 80 (3.15) 150 (5.91) 90 (3.54) Measurements in mm (in.) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 40 If optional accessories/modules are attached to the controller, such as the power supply 2080-PS120-240VAC or expansion I/O modules, make sure that there is 50.8 mm (2 in.) of space on all sides after attaching the optional parts. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 41: Din Rail Mounting

    Leave the protective debris strip in place until you are finished wiring the controller and any other devices. For instructions on how to install your Micro800 system with expansion I/O, IMPORTANT see Micro800 Expansion I/O Modules User Manual, publication 2080-UM003. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 42: Panel Mounting Dimensions

    2080-LC30-24QWB, 2080-LC30-24QVB, 2080-LC30-24QBB Micro850 24-point Controllers 2080-LC50-24AWB, 2080-LC50-24QBB, 2080-LC50-24QVB, 2080-LC50-24QWB, 2080-L50E-24AWB, 2080-L50E-24QBB, 2080-L50E-24QVB, 2080-L50E-24QWB Micro870 24-point Controllers 2080-LC70-24AWB, 2080-LC70-24QWB, 2080-LC70-24QWBK, 2080-LC70-24QBB, 2080-LC70-24QBBK, 2080-L70E-24AWB, 2080-L70E-24QWB, 2080-L70E-24QWBK, 2080-L70E-24QWBN, 2080-L70E-24QBB, 2080-L70E-24QBBK, 2080-L70E-24QBBN 131 mm (5.16 in.) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 43: System Assembly

    36.6 (1.44) 7.2 (0.28) 22.8 (0.90) Micro830/Micro850/Micro870 24-pt controller with Micro800 power supply Expansion I/O slots (Applicable to Micro850 and Micro870 only) Single-width (1st slot) Measurements in mm (in.) Double-width (2nd slot) 2085-ECR (terminator) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 44 36.6 (1. 4 4) 22.8 (0.90) Micro830/Micro850 48 pt Controller with Micro800 Power Supply Expansion I/O Slots (Applicable to Micro850 only) Single-width (1st slot) Double-width (2nd slot) Measurements in mm (in.) 2085-ECR (terminator) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 45 Micro830 and Micro850 48-point Controllers (Side) (3.42) 80 (3.15) Micro830/Micro850 48-pt controller with Micro800 power supply Expansion I/O Slots (Applicable to Micro850 only) Single-width (1st slot) Measurements in mm (in.) Double-width (2nd slot) 2085-ECR (terminator) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 46 Chapter 3 Install Your Controller Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 47: Wire Your Controller

    Wires with different signal characteristics should be routed by separate paths. • Separate wiring by signal type. Bundle wiring with similar electrical characteristics together. • Separate input wiring from output wiring. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 48: Use Surge Suppressors

    A 1N4004 diode is acceptable for most applications. A surge suppressor can also be used. See Recommended Surge Suppressors on page These surge suppression circuits connect directly across the load device. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 49: Recommended Surge Suppressors

    24…48V AC 100-KFSC50 110…280V AC 100-KFSC280 380…480V AC 100-KFSC480 Bulletin 100/104K 700K 12…55 V AC, 12…77V DC 100-KFSV55 56…136 VAC, 78…180V DC 100-KFSV136 137…277V AC, 181…250 V DC 100-KFSV277 12…250V DC 100-KFSD250 Diode Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 50: Grounding The Controller

    WARNING: All devices connected to the RS-232/RS-485 communication port must be referenced to controller ground, or be floating (not referenced to a potential other than ground). Failure to follow this procedure may result in property damage or personal injury. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 51: Wiring Diagrams

    2080-LC30-16AWB has no high-speed inputs. 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 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 52 1606-XLP60EQ power supply instead of a 2080-PS120-240VAC power supply. Make sure to wire both the Micro870 controller and 2085-EP24VDC expansion power supply to the same 1606-XLP60EQ power supply. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 53 I-06 COM1 I-09 I-11 I-13 +DC24 +CM0 O-01 +CM1 O-03 O-05 O-07 O-09 +24 VDC -DC24 O-00 -CM0 O-02 O-04 O-06 O-08 -CM1 -24 VDC +DC d +DC e -DC d -DC e Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 54 +DC24 -DC24 O-00 O-01 O-02 O-03 O-04 O-05 O-06 TERMINAL BLOCK 2 O-08 O-10 O-13 O-15 O-16 O-18 O-07 O-09 O-11 O-12 O-14 O-17 O-19 TERMINAL BLOCK 4 2080-LC30-48AWB has no high-speed inputs. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 55: Controller I/O Wiring

    To ensure optimum accuracy for voltage type inputs, limit overall cable impedance by keeping all analog cables as short as possible. Locate the I/O system as close to your voltage type sensors or actuators as possible. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 56: Minimize Electrical Noise On Analog Channels

    Do not ground the drain wire and foil shield at both ends of the cable. Wiring Examples Examples of sink/source, input/output wiring are shown below. Sink output wiring example User side Fuse +V DC Logic side Load – 24V supply DC COM Micro800 Sink output Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 57: Embedded Serial Port Wiring

    8-pin Mini DIN connector. For example, the 1761-CBL-PM02 cable is typically used to connect the embedded serial port to PanelView™ 800 HMI using RS-232. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 58 GND pin of the serial port is the DC common for the Serial Port Communication signals and is not intended for Shield Ground. • If the length of the serial cable is more than 3 meters, use an isolated serial port, catalog number 2080-SERIALISOL. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 59: Communication Connections

    These are the communication protocols supported by Micro830/Micro850/ Micro870 controllers: • Modbus RTU Master and Slave • CIP Serial Client/Server (DF1) • CIP Symbolic Client/Server • ASCII • DNP3 (1) DNP3 is only supported on 2080-L70E-24QxBN controllers. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 60 This is due to the maximum limit of Client connections is 16. 3. The total number of UDP sockets plus TCP Client/Server sockets has a maximum limit of eight. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 61: Modbus Rtu

    No protocol configuration is required other than configuring the Modbus mapping table. For information on Modbus mapping, see Modbus Mapping for Micro800 on page 251. Use MSG_MODBUS2 instruction to send Modbus TCP messages over Ethernet port. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 62: Cip Symbolic Client/Server

    To configure CIP Serial, see Configure CIP Serial Driver on page To configure for EtherNet/IP, see Configure Ethernet Settings on page For more information on DF1 protocol, see Connect to Networks using DF1 on page 325. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 63: Cip Client Messaging

    Sockets protocol is used for Ethernet communications to devices that do not support Modbus TCP and EtherNet/IP. Sockets support client and server, and TCP and UDP. Typical applications include communicating to printers, barcode readers, and PCs. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 64: Cip Communications Pass-Thru

    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) CompactBlock™ LDX I/O (Address 2) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 65: Use Modems With Micro800 Controllers

    (50 ft) with a 25-pin or 9-pin connector. See the following typical pinout for constructing a straight-through cable: DTE Device (Micro830/850/870 DCE Device Channel 0) (Modem, etc) ) + ( ) - ( Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 66: Configure Serial Port

    Configure all devices in the system for the same communication rate. Default baud rate is set at 38,400 bps. 4. In most cases, parity and station address should be left at default settings. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 67 Specifies the time delay between setting RTS until checking for RTS Send Delay (x20 ms) the CTS response. For use with modems that are not ready to respond with CTS immediately upon receipt of RTS. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 68: Configure Modbus Rtu

    (2) Half-Duplex and Radio Modem DF1 modes are only supported on Micro850 (2080-L50E) and Micro870 (2080-L70E) controllers. Configure Modbus RTU 1. Open your Connected Components Workbench project. On the device configuration tree, go to the Controller properties. Click Serial Port. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 69 • 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 Master Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 70: Configure Ascii

    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 4. Click Advanced Settings to configure advanced parameters. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 71: Configure Ethernet Settings

    Click Ethernet. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 72: Validate Ip Address

    The Gateway address must be on the same subnet as the IP address that is being configured. • The Name Server address cannot be set to zero, a multicast address, a broadcast address, or an address on the Class A loopback network (127.x.x.x). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 73: Ethernet Host Name

    7.011 onwards. This can be used in place of Modbus addressing. FactoryTalk® Linx software version 5.70 (CPR9 SR7) or later and FactoryTalk® Linx Gateway software version 3.70 (CPR9 SR7) or later are required. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 74 Chapter 5 Communication Connections Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 75: Overview

    IP Enable in the Ethernet configuration page. The DNP3 protocol is only supported in the following Micro870 IMPORTANT controllers. • 2080-L70E-24QBBN • 2080-L70E-24QWBN To program the controller, use Connected Components Workbench software version 20.01.00 or later. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 76: Serial Port Link Layer Configuration

    Components Workbench software: • Serial and/or Ethernet port configuration • DNP3 Slave Application Layer configuration. Serial Port Link Layer Configuration Link Layer related configuration can be done in the Serial Port configuration page. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 77: Ethernet Layer Configuration

    Micro870 Controller Distributed Network Protocol Ethernet Layer Configuration To enable DNP3 over IP protocol, select DNP3 over IP Enable in the Ethernet configuration page. Link Layer related configuration can also be done in the Ethernet configuration page. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 78: Dnp3 Slave Application Layer Configuration

    Default value is 1. Baud The selections can be 38400, 19200, 9600, 4800, 2400, and 1200. Default selection is 38400. Parity The selections can be NONE, EVEN, and ODD. Default selection is NONE. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 79 Master Node1, Master Node2, Master Node3, Master Node4 The valid range is 0…65519. Default value is 0. This value is used to check validation for Master node address when Enable Master Address Validation is Enabled (Checked). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 80 DNP3 Master sends unconfirmed user data. Confirmation Timeout (x1 ms) When Request LL Confirmation is enabled, the controller waits to receive a confirmation frame until this timeout has expired. The valid range is 1…65535. Default value is 20. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 81: Ethernet Layer Configuration Parameters

    TCP connection as a Client and UDP datagram. Datagram End Point type supports UDP datagram from DNP3 Masters. The default TCP and UDP port numbers are 20000 and the port numbers are configurable. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 82 When the selection is Enabled (Checked), DNP3 service over Ethernet is enabled after the configuration is downloaded to the controller. Enable Master Address Validation The valid selections are Enabled (Checked) and Disabled (Unchecked). Default value is Disabled (Unchecked). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 83 Validation is Enabled (Checked) • send Unsolicited Response when Unsolicited Response functionality is enabled. An Unsolicited Response is sent out to the DNP3 Master having this address. The valid range is 0…65519. Default value is 0. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 84 This value is used to configure Master UDP Port Number for Initial Unsolicited Response if the parameter End Point Type is selected as Datagram Only. The valid range is 0…65535. Default value is 20000. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 85 The valid range is 0…65535. Default value is 20000. Local Port Number (TCP) This value is used to configure Local TCP Port Number which is used for TCP socket listening. The valid range is 0…65535. Default value is 20000. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 86: Dnp3 Slave Application Layer Configuration Parameters

    Class 1 events. To prevent overflowing of the event buffer, DNP3 Master should poll for Class 1 events. When the selection is Enabled (Checked), Unsolicited Response is enabled for Class 1 events. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 87 CON bit set in its header under the following conditions only: • When the response has Event data. • When the response is multi-fragment response. • When the Unsolicited Response is sent. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 88 This parameter is only for Unsolicited Response. If this value has the maximum which is 65535, it means infinite retries of the Unsolicited Response. The valid range is 0…65535. Default value is 0. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 89 Hold Time after Class2 Events (x 1s) before initiating an Unsolicited Response. The valid range is 0…65535. Default value is 5. The value of 0 indicates that responses are not delayed due to this parameter. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 90 This parameter is used for controlling CROB (Control Relay Output Block) and AOB (Analog Output Block). After receiving the request with the function code FC_SELECT(3), DNP3 Master should send the request with the function code FC_OPERATE(4) within this configured time. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 91 The valid selections are Enabled (Checked) and Disabled (Unchecked). Default value is Disabled (Unchecked). When the selection is Disabled (Unchecked), the controller disables DNP3 Secure Authentication subsystem. When the selection is Enabled (Checked), the controller enables DNP3 Secure Authentication subsystem. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 92 24 (0x18) critical 5 (0x05) critical 25 (0x19) non-critical 6 (0x06) critical 26 (0x1A) non-critical 7 (0x07) non-critical 27 (0x1B) non-critical 8 (0x08) non-critical 28 (0x1C) non-critical 9 (0x09) non-critical 29 (0x1D) critical Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 93 This parameter is used for configuring the HMAC Algorithm. • SHA-1 - Truncated to 4 octets (serial) - Truncated to 10 octets (networked) • SHA-256 - Truncated to 8 octets (serial) - Truncated to 16 octets (networked) Default value is SHA-256. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 94 1. Click Configure to open Update Key. 2. Select the user to be removed and click Delete. 3. Click OK to close the window. 4. Download the project to the controller to update the user information in the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 95 To configure the Certificate Authorization Key, click Configure. To define a Symmetric Key, enter 32 or 64 characters into the field, depending on the Update Key Change Method that you have selected. Click OK to accept and encrypt the key. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 96 This configuration is used to define default variations in a response to a Class 0 poll request. In Connected Components Workbench software version 20.01.00 or later, you can select Default Variation Table in the DNP3 Slave configuration page to change the configuration. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 97 2 - 16-bit with flag Frozen 32-bit Counter Static Object 9 - 32-bit without flag 5 - 32-bit with flag and time 6 - 16-bit with flag and time 10 - 16-bit without flag Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 98 Short Float Analog Input Change Object 5 - Single-precision, floating-point without time 4 - 16-bit with time 6 - Double-precision, floating-point without time 7 - Single-precision, floating-point with time 8 - Double-precision, floating-point with time Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 99 Short Float Analog Output Change Object 5 - Single-precision, floating-point without time 4 - 16-bit with time 6 - Double-precision, floating-point without time 7 - Single-precision, floating-point with time 8 - Double-precision, floating-point with time Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 100: Dnp3 Slave Application Layer

    DNP3 Master sends a request with the CON bit set in the application control header. READ (FC Byte = 0x01) 01 – Read The READ function code is used by a DNP3 master to request data from the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 101 FREEZE_CLEAR (FC Byte = 0x09) 09 – Freeze and Clear Upon receiving a request with this function, the controller copies the current value to the frozen value, then clears the current value to 0 immediately. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 102 This function is used to dynamically disable unsolicited messages generated in the controller. DELAY_MEASURE (FC Byte = 0x17) 23 – Delay Measurement, used for Non-LAN Procedure This function code is used to measure the communication channel delay time. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 103 AUTHENTICATE_REQ (FC Byte = 0x20) 32 – Authentication Request The master uses this function code when sending authentication messages to the controller that require a response Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 104: Internal Indications

    IIN2.0: NO_FUNC_CODE_SUPPORT. This bit is set when a request which has an unknown function code is received. • IIN2.1: OBJECT_UNKNOWN. This bit is set when a request which has an unknown object is received. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 105: Dnp3 Objects And Controller Variables

    Analog Input Object — 16-bit and 32-bit Analog Input Object, and Short Floating Point Analog Input Object. • Analog Output Object — 16-bit and 32-bit Analog Output Object, and Short Floating Point Analog Output Object. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 106: Dnp3 Object Data

    Analog Output Object 40, 41 32-bit Analog Output Object Short Floating Point Analog Output Object BCD Object Small BCD Object 85, 87, 88 Data-Set Prototypes Object Data-Set Object 86, 87, 88 Data-Set Descriptors Object Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 107: Dnp3 Configuration

    As an example, with Data Set Prototypes entry, you can create any number of Data Set Prototype Object in the DNP3 Data Set Prototype configuration screen, up to a maximum of 10 entries. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 108 Slave setting page of Connected Components Workbench software version 20.01.00 or later, you can see the DNP3 Descriptor DSX and Prototype PTYPX under the respective DNP3 Data Set branch, where X is the element numbers of each Prototype or Descriptor. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 109 Micro870 Controller Distributed Network Protocol For DNP3 PTYPX, you can configure the controller to construct the Data Set Prototype objects. For DNP3 DSX, you can configure the controller to construct the Data Set Descriptor objects. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 110 Max Data Length (bytes): 0 for element 1. 0…255 for index 3 or higher. Ancillary Value: Binary Array in hexadecimal for element 1. ASCII strings for index 3 or higher. Maximum 32 bytes. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 111 Event Occurrence Condition 1/2/3/4 are changed or the criteria are met, the controller generates a Data-Set Event, retrievable using the object Group 88, Variation 1. The following table shows the supported conditions for Point Addressing under Event Occurrence Conditions. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 112 Ancillary Value: Any string. This can be a binary array or ASCII string, up to 32 bytes. Point Addressing under Descriptor Element Configuration: Data-Set value for each Data-Set element is configured by: • Point Address Type • Point Index Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 113 Prototypes. For instance, if Prototype 0 includes a Namespace at Index 3 and Name at Index 4, then the first DAEL in the Prototype 0 is at Index 5. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 114: Object Quality Flags

    May be 1 when the controller is or was in Executing mode and the configuration file exists. RESTART Always 0. Not used. COMM_LOST Always 0. Not used. REMOTE_FORCED Always 0. Not used. LOCAL_FORCED Always 0. Not used. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 115 0 when the controller is or was in Executing mode and the configuration file LOCAL_FORCED does not exist. May be 1 when the controller is in Executing mode and the configuration file OVER_RANGE exists. REFERENCE_ERR Reserved Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 116: Dnp3 Device Attribute Object

    Read Only UINT Max counter index Read Only UINT Number of counter points Read Only Support for frozen analog inputs Read Only Support for analog input events Read Only UINT Maximum analog input index Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 117: Event Reporting

    The controller has a separate buffer area that you can use to log DNP3 events internally. The maximum number of the Events that can be logged is 10000 (see DNP3 10K Event Logging on page 119), regardless of the Event data type. In Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 118 BOOL data type or as an UINT data type. The UINT data type represents similar to a BOOL array of 16 bits and this representation is similar to the BOOL array used in MicroLogix™ 1400 controllers. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 119: Dnp3 10K Event Logging

    Up to 10,000 events can be logged. To configure the number of events, change the Unsolicited Responses for the Class 1/2/3 to Enabled and define 10,000 into the Number of Events field. Download the project into the controller for the setting to take effect. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 120: Control Generating Event

    AnalogValue1 and the value that was most recently queued as an event for that point exceeds the deadband value in variable AnalogV1Deadband, then an event is generated for that point. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 121: Report Event By Polled Response

    • Hold Time after Class2 Events (x1s) • Number of Class3 Events • Hold Time after Class3 Events (x1s) • DNP3 Object Data • DNP3 Object Config • Content of the Config File Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 122: Collision Avoidance

    If the controller is preparing to transmit a packet and finds the link busy, it waits for an interval defined by the Backoff_Time until it is no longer busy. Backoff_Time = Pre Transmit Delay (x1 ms) + Max Random Delay (x1 ms) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 123: Time Synchronization

    2080-MEMBAK-RTC2 Accuracy Ambient Temperature RTC Accuracy ±5 sec/month 25 °C (77 °F) ±9 sec/month -20…+65 °C (-4…+149 °F) (1) These numbers are maximum worst case values over a 31-day month. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 124: Diagnostics

    Errors in a DNP3 Slave subsystem are logged in the Communication Diagnostics page in Connected Components Workbench software. Figure 8 - Communication Diagnostics for Embedded Serial Port Figure 9 - Communication Diagnostics for 2080-SERIALISOL Plug-in Module Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 125: Diagnostics For Ethernet Channel

    Variable length bytes in FT1.2 frame did not match ERROR_LINK_INV_DIR Received invalid dir bit in control octet The following link errors are used by 104 ERROR_LINK_NO_CNFM_RECEIVED Confirm of 104 U-format APDU not received ERROR_LINK_NO_ACK_RECEIVED Acknowledge of 104 I-format APDU not received Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 126: Diagnostics For Secure Authentication

    6 (0x06) DIRECT_OPERATE_NR Controller parses Request 7 (0x07) IMMED_FREEZE Controller parses Request 8 (0x08) IMMED_FREEZE_NR Controller parses Request 9 (0x09) FREEZE_CLEAR Controller parses Request 10 (0x0A) FREEZE_CLEAR_NR Controller parses Request 11 (0x0B) FREEZE_AT_TIME Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 127: Implementation Table

    The implementation table lists all functionality required by either DNP3 Master or controller as defined within the DNP3 IED Conformance Test Procedures. Any functionality beyond the highest subset level supported is indicated by grayed table cells. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 128 Counter – 32-bit with flag 06 (no range, or all) 9 (freeze clear) 10 (frz. cl. noack) 00, 01 (start-stop) Counter – 16-bit with flag 1 (read) 129 (response) 00, 01 (start-stop) 06 (no range, or all) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 129 1 (read) 129 (response) 00, 01 (start-stop) 06 (no range, or all) 00, 01 (start-stop) Analog Input – 32-bit without flag 1 (read) 129 (response) 00, 01 (start-stop) 06 (no range, or all) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 130 Class Objects – Class 1 data 20 (enbl. unsol.) 06 (no range, or all) 21 (dab. unsol.) 06 (no range, or all) Class Objects – Class 2 data 1 (read) 07, 08 (limited qty) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 131 No Object (function code only) 13 (cold restart) No Object (function code only) 14 (warm restart) No Object (function code only) 23 (delay meas.) No Object (function code only) 24 (record current time) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 132 Chapter 6 Micro870 Controller Distributed Network Protocol Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 133: Program Execution In Micro800

    Alternatively, you can assign a program to an available interrupt and have it executed only when the interrupt is triggered. A program assigned to the User Fault Routine runs once just prior to the controller going into Fault mode. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 134: Execution Rules

    I/O or expansion I/O module. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 135: Controller Load And Performance Considerations

    When transitioning from Program mode to Run mode, all analog output variables hold their last state but all digital output variables are cleared. Two system variables are also available from revision 2 and later. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 136: Variable Retention

    This means that program size can exceed the published specifications if data size is sacrificed and vice versa. This flexibility allows maximum usage of execution memory. In addition to the Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 137: Guidelines And Limitations For Advanced Users

    Memory Usage (Data) : 3456 bytes • You may encounter an Insufficient Reserved Memory error while downloading and compiling a program over a certain size. One workaround is to use arrays, especially if there are many variables. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 138 Chapter 7 Program Execution in Micro800 Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 139: Motion Control

    Table 13 - PTO/PWM and Motion Axis Support on Micro830, Micro850, and Micro870 Controller PTO (built-in) Number of Axes Supported 10/16 Points 2080-LC30-10QVB 2080-LC30-16QVB 24 Points 2080-LC30-24QVB 2080-LC30-24QBB 2080-LC50-24QVB 2080-L50E-24QVB 2080-LC50-24QBB 2080-L50E-24QBB 2080-LC70-24QBB 2080-L70E-24QBB 2080-LC70-24QBBK 2080-L70E-24QBBK 2080-L70E-24QBBN Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 140: Use The Micro800 Motion Control Feature

    Motion Function Blocks upon an axis of motion. • Axis_Ref Data Type on page 158 • Function Block and Axis Status Error Codes on page 160 • Homing Function Block on page 173 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 141: Input And Output Signals

    INPUT Can be configured as any embedded input. In-Position signal (from INPUT Can be configured as any embedded input. servo/motor) Home Marker INPUT Can be configured as any embedded input, from input 0...15. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 142 PTO pulse sent out. This signal is the zero pulse signal from the motor Home Marker INPUT encoder. This signal can be used for fine homing Not Shared sequence to improve the homing accuracy. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 143 2. To help you configure Kinetix 3 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”. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 144: Motion Control Function Blocks

    The axis remains in the state “Stopping” as long as Execute is still TRUE or velocity zero is not yet reached. As soon as “Done” is SET and “Execute” is FALSE the axis goes to state “StandStill”. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 145: General Rules For The Motion Control Function Blocks

    • If the motion engine fails to generate the motion profile prescribed by the dynamic input parameters, the function block reports an error (Error ID: MC_FB_ERR_PROFILE). Function Block and Axis Status Error Codes on page 160 for more information about error codes. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 146 (for example, MC_POWER to MC_HOME). Axis Output When used in a Ladder Diagram, you cannot assign a variable to the Axis output parameter of another motion function block because it is read-only. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 147 Busy output will stay true forever even though the function block has finished executing. Behavior of Busy Output Output Active In current implementation, buffered moves are not supported. Consequently, Busy and Active outputs have the same behavior. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 148 MC_MoveRelative, MC_MoveAbsolute will be busy until final position is reached. MC_MoveVelocity, MC_Halt, and MC_Stop will be busy until final velocity is reached. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 149 Execute input is toggled again. If Execute is toggled again before Busy is false, the new command is ignored. No error is generated. Time Execute1 Busy1 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 150 Busy during acceleration (or deceleration). Only a single instance of the function block is required. To bring the axis to a standstill, use MC_Halt. Time Execute1 Busy Halt Execute Busy Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 151 If MC_Halt aborts another movement function block during acceleration 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 152: Motion Axis And Parameters

    The axis is always in one of the defined states see Figure 11 on page 153. Any motion command is a transition that changes the state of the axis and, as a consequence, modifies the way the current motion is computed. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 153: Axis 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 Disabled 0x01 Standstill 0x02 Discrete Motion 0x03 Continuous Motion 0x04 Homing 0x06 Stopping 0x07 Stop Error Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 154: Limits

    Soft Limits • PTO Pulse Limits Motion Axis Configuration in Connected Components Workbench on page 163 for information on how to configure limits and stop profiles and the acceptable value range for each. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 155 Soft limits are displayed in user-defined units. The user can enable individual soft limits. For non-enabled soft limits (whether upper or lower), an infinite value is assumed. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 156: Motion Stop

    Hard Limit switch is enabled, and the Hard Limit has been reached, the PTO pulse for the axis will be cut off immediately by the controller. The stop response has no delay (less than 1 μs). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 157: Motion Direction

    (-1). For any other value, only the sign (whether positive or negative) is considered and defines whether the direction is positive or negative. This means that if the product of velocity and direction is -3, then direction type is negative. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 158: Axis Elements And Data Types

    Indicates the final target position of the axis for MoveAbsolute and REAL MoveRelative function blocks. TargetPos For MoveVelocity, Stop, and Halt function blocks, TargetPos is 0 except (float) when the TargetPos set by previous position function blocks is not cleared. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 159: Axis Error Scenarios

    Stopping or Error Stopping sequence. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 160: Mc_Engine_Diag Data Type

    Table 14 on page 161. Error code 128 is warning information to indicate the motion profile has been changed and velocity has been adjusted to a lower value but the function block can execute successfully. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 161 Correct the motion profile in the function block, or re- the axis velocity is compatible with the requested motion execute the function block when the axis velocity is profile. compatible with the requested motion profile. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 162: Major Fault Handling

    Execute homing against the axis using MC_Home Function Block. Block. Motion internal Fault, Error ID = 0x80. Warning: The requested motion parameter for the axis has Contact your local Rockwell Automation technical support MC_FB_PARAM_MODIFIED been adjusted. representative. For contact information, see: rok.auto/ The function block executes successfully.
  • Page 163: Motion Axis Configuration In Connected Components Workbench

    When an axis is added to the configuration, the Motion Engine Execution Time can be configured from 1…10 ms (default: 1 ms). This global parameter applies to all motion axis configurations. 1. On the Device Configuration tree, right-click <New Axis>. Click Add. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 164: Edit Axis Configuration

    To edit these general parameters, see Input and Output Signals on IMPORTANT page 141 for more information about fixed and configurable outputs. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 165 Edit the Motor Load properties as defined in Table 17 on page 166. IMPORTANT Certain parameters for Motor and Load are Real values. For more information, see Real Data Resolution on page 170 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 166 ATTENTION: Modifying Motor Revolution parameters may cause axis runaway. Limits Edit the Limits parameters based on the table below. ATTENTION: To learn more about the different types of Limits, see Limits on page 154. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 167 Supply the valid value. 3. Click Dynamics. The <Axis Name> - Dynamics tab appears. Edit the Dynamics parameters based on the values in Table 19 on page 168. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 168 A red border on an input field indicates that an invalid value has been entered. Scroll over the field to see tooltip message that will let you know the valid value range for the parameter. Supply the valid value. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 169 Set the active level for the home switch input as High (default) or Low. (1) The parameter is set as REAL (float) value in Connected Components Workbench. To learn more about conversions and rounding of REAL values, see Real Data Resolution on page 170. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 170: Axis Start/Stop Velocity

    A tooltip message should let you know the expected range of values for the parameter. The range of values presented in the tooltip messages are also presented in REAL data format. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 171 Axis Monitor Example The Axis Monitor displays seven significant digits with rounding. ATTENTION: See Motion Axis Configuration in Connected Components Workbench on page 163 to learn more about the different axis configuration parameters. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 172: Pto Pulse Accuracy

    Homing jerk should not be greater than maximum jerk. • Homing creep velocity should not be greater than maximum velocity. Delete an Axis 1. On the device configuration tree, and under Motion, right-click the axis name and select Delete. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 173: Monitor An Axis

    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. Table 23 on page 174 describes five homing modes supported on Micro830, Micro850, and Micro870 controllers. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 174: Conditions For Successful Homing

    2. The Lower limit switch is configured as enabled and wired; The different homing modes, as defined in Table 23, can have different, but still similar motion sequence. The concept discussed below is applicable to various homing configurations. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 175: Mc_Home_Abs_Switch

    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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 176: Mc_Home_Limit_Switch

    In this case, the homing motion fails and moves continuously to the left until drive or moving part fails to move. User needs to make sure the moving part is at the proper location before homing starts. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 177: Mc_Home_Ref_With_Abs

    Scenario 3: Moving part on Lower Limit or Home switch before homing starts The homing motion sequence for this scenario is as follows: 1. Moving part moves to its right side (in positive direction) in creep velocity to detect Home switch On→Off edge; Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 178: Mc_Home_Ref_Pulse

    Scenario 2: Moving part on Lower Limit switch before homing starts The homing motion sequence for this scenario is as follows: 1. Moving part moves to its right side (in Positive direction) in creep velocity to detect Lower Limit switch On→Off edge; Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 179: Mc_Home_Direct

    Enable/power up the PWM axis immediately after going to RUN mode. PWM axis will remain powered ON (until Program mode, and so on). MC_Power_1 __SYSVA_FIRST_SCAN MC_Power Axis PWM0 Axis TRUE Status Enable Enable_Positive Busy TRUE Active Enable_Negative TRUE Error ErrorID Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 180 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 PWM0 Axis AxisIn InVelocity TRUE Execut Busy G_PWM_Frequency Velocity Active 50000.0 Acceleration Direction 50000.0 Acceleration CommandAborted Deceleration Error Jerk ErrorID DirectionIn Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 181: Pou Pwm_Program

    If the feedback axis is in the error state because the configured position limits have been exceeded, using the MC_Reset function block to reset the axis may not clear the error as there may still be pulse detected from the encoder. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 182 Chapter 8 Motion Control Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 183: Use The High-Speed Counter And Programmable Limit Switch

    The Programmable Limit Switch function allows you to configure the High- Overview Speed Counter to operate as a PLS (Programmable Limit Switch) or rotary cam switch. For more information, see Programmable Limit Switch (PLS) Function on page 205. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 184: What Is High-Speed Counter

    UFSetting before triggering Start/Run HSC. Otherwise, the controller will be faulted. (Setting a value for LPSetting is optional for certain counting modes.) To learn more about HscAppData variable input, see HSC APP Data Structure on page 187. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 185: Hsc Inputs And Wiring Mapping

    HSC5. Each set of counters share the input. The following table shows the dedicated inputs for the HSCs depending on the mode. Table 25 - HSC Input Wiring Mapping Embedded Input HSC0 Reset Hold HSC1 HSC2 Reset Hold Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 186 Count Up Count Down Not Used Two Input Counter with External Count Up Count Down Reset Hold Reset and Hold (mode 3b) Quadrature Counter (mode 4a) A Type input B Type input Not Used Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 187: High Speed Counter (Hsc) Data Structures

    To reload HSC configuration, change the HSC APP Data, then call HSC function block with command 0x03 (set/reload). Otherwise, the change to HSC App Data during HSC counting is ignored. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 188 PLS data. See Programmable Limit Switch (PLS) Function on page 205 for more information. HSCID (HSCAPP.HSCID) Description Data Format User Program Access HSCID Word (UINT) read/write Table 29 lists the definition for HSCID. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 189 1, 3, 5, 7 or 9, then the resub high-speed counter will be disabled. For more information on HSC Function Operating Modes and Input Assignments, see HSC Inputs and Wiring Mapping on page 185. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 190 Example 5 on (1)  off (0) on (1)  off (0) Hold accumulator value Example 6  Clear accumulator (=0)   Blank cells = don’t care, = rising edge, = falling edge Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 191 A and B. If A leads B, the counter increments. If B leads A, the counter decrements. The counter can be reset using the Z input. The Z outputs from the encoders typically provide one pulse per revolution. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 192 (2) Count input B leads count input A. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 193 HSC. This parameter is updated by the HSC sub-system automatically when the HSC is in Counting mode, reflecting the actual HSC accumulator value. High Preset (HSCAPP.HPSetting) Description Data Format User Program Access HSCAPP.HPSetting long word (32-bit INT) read/write Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 194 (counts are not lost in this transition). The user can specify any value for the underflow position, provided it is less than the overflow value and falls between -2,147,483,648 and 2,147,483,647. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 195 HSCAPP.LPOutput) define if each output is either ON (1) or OFF (0). Another way to view this is that the high or low preset output is written through the output mask, with the output mask acting like a filter. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 196: Hsc Sts (Hsc Status) Data Structure

    Use the HSC function block to load the new parameters while the controller is operating. HSC STS (HSC Status) Data Define an HSC STS data (HSC status information data, data type HSCSTS) Structure when programming an HSC. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 197 HSCSTS.CountEnable is cleared, the Count Up bit is cleared (0). Count Down (HSCSTS.CountDownFlag) Description Data Format User Program Access HSC Modes SCSTS.CountDownFlag 2…9 read only (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 198 (0). If the accumulated value stops, the direction bit retains its value. The only time the direction flag changes is when the accumulated count reverses. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 199 (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189. The Underflow Interrupt status bit is set (1) when the HSC accumulator counts through the underflow value and the HSC interrupt is triggered. This bit can Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 200 Overflow Interrupt occurs Programmable Limit Switch Position (HSCSTS.PLSPosition) Description Data Format User Program Access HSC Modes HSCSTS.PLSPosition Word (INT) 0…9 read only (1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 201 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 set point (in counts) that defines when the HSC sub-system generates an interrupt. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 202: High-Speed Counter (Hsc) Function Block

    When Enable = FALSE, there is no HSC operation, and no HSC status update. HscCmd Input USINT See HSC Commands on page 203 See HSC APP Data Structure on page HscAppData Input HSC application configuration. Only initial configuration is needed usually. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 203: Hsc Commands (Hsccmd)

    • Start HSC (if HSC in Idle mode and Rung is Enabled) 0x01 • Update HSC Status Info only (if HSC already in RUN mode and Rung is Enabled) • Update HSC status Info only (if Rung is disabled) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 204: Hsc_Set_Sts Function Block

    HPReached Input BOOL This bit can be reset to FALSE when HSC is not counting. Low Preset reached. LPReached Input BOOL This bit can be reset to FALSE when HSC is not counting. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 205: Programmable Limit Switch (Pls) Function

    Low preset Output data The total number of elements for one PLS data cannot be larger than 255. When PLS is not enabled, PLS data are still required to be defined, but can be not initialized. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 206: Pls Operation

    The PLS function can operate with all of the other HSC capabilities. The ability to select which HSC events generate a user interrupt are not limited. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 207: Pls Example

    HSCAPP.OutputMask and energizes the outputs 0 and 1. This will repeat as the HSCSTS.Accumulator reaches 500, 750, and 1000. The controller energizes outputs 0...2, 0...3, and 0...4 respectively. Once completed, the cycle resets and repeats from HSCSTS.HP = 250. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 208: Hsc Interrupts

    In the User Interrupt configuration window, select HSC, and HSC ID, which is the interrupt triggering the User Interrupt. Figure 18 shows the selectable fields in the Interrupt configuration window. Figure 18 - Interrupt Configuration Window Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 209: Hsc Interrupt Pou

    Preset Reached condition is detected by the HSC, the HSC user interrupt is not executed. This bit is controlled by the user program and retains its value through a power cycle. It is up to the user program to set and clear this bit. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 210: Hsc Interrupt Status Information

    This status bit can be monitored or used for logic purposes in the control program if you need to determine when a subroutine cannot be executed immediately. This bit is maintained by the controller and is set and cleared automatically. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 211 The controller can process 1 active and maintain up to 1 pending user interrupt conditions before it sets the lost bit. This bit is set by the controller. It is up to the control program to utilize, track the lost condition if necessary. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 212 Chapter 9 Use the High-Speed Counter and Programmable Limit Switch Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 213: Controller Security

    Micro800 application-specific configuration. Exclusive access is enforced on Micro800 firmware revision 1 and 2. When a Connected Components Workbench software user connects to a Micro800 controller, the controller is given exclusive access to that controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 214: Password Protection

    If the controller is not locked, access to the user application will be allowed, provided the controller is not busy with another session. If the controller is Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 215: Work With A Locked Controller

    To debug a locked controller, you have to connect to the controller through the Connected Components Workbench software and provide the password before you can proceed to debug. 1. Launch the Connected Components Workbench software. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 216: Download To A Password-Protected Controller

    3. When requested, enter the controller password for controller1. 4. Build and save the project. 5. Click Disconnect. 6. Power down controller1. 7. Swap controller1 hardware with controller2 hardware. 8. Power up controller2. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 217: Back Up And Restore A Password-Protected Controller

    Connected Components 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 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 218: Using The Memory Module Plug-In

    The Micro850 controller is used for this example. 2. Double-click 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-UM002M-EN-E - April 2022...
  • Page 219 To restore the project from the memory module to the controller, follow these steps: 1. While connected to the controller and being in the MEMBAK-RTC properties, make sure that the controller is changed to Program Mode and click “Restore from Memory Module” under Memory Module Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 220 4. When the operation is finished you can unplug the module and leave the slot empty, or plug in a different MEMBAK-RTC module if you want to use the RTC functionality. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 221: Using Microsd Cards

    Regularly check available space on your microSD card and ensure that the card is exclusively used for the Micro800 controller and no unnecessary files are present. Regularly delete old data log files and directories. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 222: Project Backup And Restore

    10 times, depending on the size and content of the program. To learn about restore and backup using the Connected Components IMPORTANT Workbench software, see the software Online Help. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 223: Backup And Restore Directory Structure

    Components Workbench software, which is the name of the controller by default. However, if the ConfigMeFirst.txt file specifies a different subdirectory (example: MyProject), the project is backed up to that directory. General Configuration Rules in ConfigMeFirst.txt on page 226. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 224: Power-Up Settings In Configmefirst.txt

    [FWDOWN] setting. Controller settings [PM] Power-up Power up and switch to PROGRAM mode. [CF] Power-up Power up and attempt to clear fault. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 225 [UPD] directory specified. • [BKD] setting is implemented even when the controller is locked or password protected. • [BKD] directory is automatically created if it does not yet exist. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 226: General Configuration Rules In Configmefirst.txt

    (example, [P M]), or • space in between IP address, subnet mask, and gateway address (for example, xxx. x xx.xxx.xxx) • only one of the network parameter settings ([IPA], [SNM], or [GWA]) is assigned Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 227: Deliver Project Updates To Customers Through Email

    Load on power up setting to “Disable”. Send Image Files Through Email The next step is to retrieve the image files from the microSD card and send them to your customer through email. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 228 This method is used for an existing controller that has been configured and you want to update the program. New Controller If your controller is new, you can use the ConfigMeFirst.txt file to restore the project backup. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 229: Data Log

    Connected Components Workbench software will not upload the last data log file. See the sample quickstart project to get you started on the Data Log feature, Use the Data Log Feature on page 239. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 230: Data Log Directory Structure

    The following table summarizes data logging performance on Micro800 controllers. Data Log Specifications Attribute Value Maximum datasets All datasets are stored in the same file. Configured in Connected Components Workbench Maximum variables per dataset software. Minimum size per file 4 KB Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 231: Data Log Function (Dlg) Block

    Data logging COMPLETE SUCCEED status. Data logging COMPLETE ERROR status. DLG Function Block Errors Status Code Name Description DLG_ERR_NONE No error. DLG_ERR_NO_SDCARD microSD card is missing. DLG_ERR_RESERVED Reserved. DLG_ERR_DATAFILE_ACCESS Error accessing data log file in microSD card. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 232 File access error will be returned during DLG function block execution when card is full. Figure 21 - Data Log Function Block Timing Diagram Enable(1) Enable(1) Enable(1) Disable(0) Disable(0) Disable(0) Error(3) Succeed(2) Busy(1) Busy(1) Status(0) Idle(0) Idle(0) Idle(0) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 233 (Date variables are stored as 32-bit words, a positive number DATE integer value of seconds beginning at 1970-01-01 at midnight GMT.) 1234567 Unsigned 32-bit (Time variables are stored as 32-bit words, positive number TIME integer value of milliseconds). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 234 Average write time excluding first sample 1472.367347 Average write time 1250 1086.67 excluding all overheads 1043.75 999.1414141 963.858859 541.75 715.68 502.7840909 500.40 519.9090909 505.5405405 493.0344828 479.10 Data Payload 1000 1500 2000 2500 3000 3500 4000 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 235: Recipe

    (Rcp_Id01...Rcp_Id10) with a maximum number of 50 Maximum number of recipes recipe files in each directory. in each set Maximum number of variables Configured in Connected Components Workbench per recipe software. Maximum bytes per recipe file 4 KB Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 236: Recipe Directory Structure

    Enable Status RWFlag ErrorID CfgId RcpName Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 237 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). IMPORTANT File access error will be returned during RCP function block execution when card is full. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 238: Quickstart Projects For Data Log And Recipe Function Blocks

    The following sample quickstart projects provide step-by-step instructions on Log and Recipe Function how to use the Data Log and Recipe function blocks in the Connected Components Workbench software to generate and manage your recipe files Blocks and data logs. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 239: Use The Data Log Feature

    3. Click Add Variable to add variables to the dataset. You can add up to 128 variables to each dataset. For this quickstart sample project, add the following variables that you have previously created to Dataset 1. Local Variables Variable Name Data Type data_bool BOOL data_int8 data_string STRING Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 240 4. From the Toolbox, double-click Block to add it to the rung. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 241 To do so, click the CfgID input box. From the Variable Selector window that appears, click the Defined Words tab and choose from the list of defined words. For example, DSET1 that corresponds to DSET1 in your recipe configuration. See Figure Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 242 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). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 243 For better data log file management, you can use a third-party tool or DOS CMD to merge all your data log files into a single file and import as a CSV file in Excel®. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 244: Use The Recipe Feature

    3. Click Add Variable to add variables to the recipe. You can add up to 128 variables to each recipe. For this quickstart sample project, add the following variables that you have previously created to RCP 1: Local Variables Variable Name Data Type data_bool BOOL data_int8 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 245 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. From the Toolbox, double-click Block to add it to the rung. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 246 8. Create the following local variables for your program, in addition to the ones that you have already created for data log. Local Variables Variable Name Data Type recipe_file STRING recipe_file2 STRING cfg_id2 USINT read BOOL write BOOL Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 247 Defined Words tab and choose from the list of defined words. For example, RCP1 that corresponds to RCP1 in your recipe configuration. See Figure Figure 24 - Choose a Predefined Variable Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 248 2. Select Recipe. Click Manage and then choose Upload. Through Manage, you can also choose to Download and Delete recipe files. 3. From the Upload window that appears, select the batch of recipe files that you would like to upload. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 249 Do not remove the microSD card from the slot while data is being written or retrieved from the card. Ongoing write and retrieval operations are indicated by a flashing SD status LED. A recipe header file is saved with the uploaded recipes. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 250 Chapter 11 Using microSD Cards Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 251: Modbus Mapping For Micro800

    3 - Input Registers 4 - Holding Registers 000001…065536 100001…165536 300001…365536 400001…465536 Variable Data Type Modbus Address Modbus Address Modbus Address Modbus Address Supported Supported Supported Supported Used Used Used Used BOOL SINT BYTE Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 252: Example 1, Panelview 800 Hmi (Master) To Micro800 (Slave)

    Slave. From the default Communications Settings for a PanelView 800 HMI (PV800), there are three items that must be checked or modified in order to set up communications from PV800 to Micro800. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 253: 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 254 • Accept Defaults for the remainder and click Finish. 5. Select Parameters from the Connected Components Workbench window. 6. The Parameter window opens. Resize it to view the parameters. From this window, you can view and set data values of Parameters. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 255 Logic status (8449), Error Code (8450), and Speed Feedback (8452) at the same time. See the respective PowerFlex 4-Class drive User Manual for additional information about Modbus addressing. See Appendix E – Modbus RTU Protocol, on publication 22C-UM001. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 256: Performance

    The performance of Micro800 when receiving Modbus request messages (Micro800 is slave) is also affected by the Program Scan. Each serial port is serviced only once per program scan. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 257: Flash Upgrade Your Micro800 Firmware

    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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 258 You can also change the Connection Path by clicking the “Change” link. 4. When you have confirmed the settings, click Update to begin flash updating the controller. The update progress is shown in the dialog box. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 259: Flash Upgrade From Microsd Card

    ConfigMeFirst.txt file to initiate the flash upgrade process. See the following instructions for performing the flash upgrade from the microSD card. Step 1 – Transfer the Firmware to the microSD Card 1. Launch the Connected Components Workbench software. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 260 You can check the drive letter by looking in Windows® Explorer. For this example, the microSD card uses the drive letter “G”. 4. Select the catalog number of your Micro800 controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 261 ControlFLASH kit. IMPORTANT You must sign in to the Rockwell Automation website before downloading a firmware revision. Close and relaunch the Connected Components Workbench software, then open the SD Card Utility again. The revision should now appear in the list.
  • Page 262: Establish Communications Between Rslinx And A Micro830/Micro850

    RSLinx Classic is installed as part of the Connected Components Workbench through USB software installation process. The minimum version of RSLinx Classic with full Micro800 controller support is 2.57, build 15 (released March 2011). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 263 3. Windows should discover the new hardware. Click No, not this time and then click Next. 4. Click Install the software automatically (Recommended), and then click Next. 5. The Wizard searches for new hardware. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 264 If instead the Micro830/Micro850/Micro870 shows up as a "1756 Module" under the AB_VBP-1 Virtual Chassis driver, then the proper EDS file for this major revision of firmware has not yet been installed or the controller is running pre-release firmware (Major Revision=0). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 265 Upload EDS file from device. 8. On the EDS wizard that appears, click Next to continue. 9. Follow the prompts to upload and install the EDS file. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 266 Appendix B Quickstarts 10. Click Finish to complete. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 267: Configure Controller Password

    Controller Security on page 213. Set Controller Password IMPORTANT After creating or changing the controller password, you need to power down the controller in order for the password to be saved. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 268 Passwords must have at least eight characters to be valid. 5. Click OK. Once a password is created, any new sessions that try to connect to the controller will have to supply the password to gain exclusive access to the target controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 269: Change Password

    The controller requires the new password to grant access to any new session. Clear Password With an authorized session, you can clear the password on a target controller through the Connected Components Workbench software. 1. On the Device Details toolbar, click Secure. Select Clear Password. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 270: Use The High-Speed Counter

    0 and 1. The count direction is determined by the phase angle between A and B. If A leads B, the counter increments. If B leads A, the counter decrements. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 271: 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 module is supported on all Micro830, Micro850, and Micro870 controllers, except on 2080-LCxx-xxAWB types. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 272 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 273 Your ladder rung appears as shown: 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 Table 56 on page 274. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 274: Assign Values To The Hsc Variables

    2. Assign values to the MyAppData variables. Expand the list of MyAppData subvariables clicking the + sign. Set the values of the different subvariables as shown in the following screenshot. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 275 MyAppData.UFSetting are all user-defined variables that represent the counting range of the HSC. Figure 26 on page 276 gives an example of a range of values that can be set for these variables. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 276: Assign Variables To The Function Block

    To assign a variable to a particular element in your function block, double-click the empty variable block. On the Variable selector that appears, choose the variable you have just created. For example, for the input element HSCAppData, select the variable MyAppData. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 277: Run The High-Speed Counter

    The HSC function block has two outputs, one is the STS (MyStatus) and the other is the HSCSTS (MyInfo). 2. Double-click the Direct Contact labeled _IO_EM_DI_05 to bring up the Variable Monitoring window. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 278 For example, if the MyStatus value is 04, a configuration error exists and the controller will fault. You need to check your parameters in this case. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 279: Use The Programmable Limit Switch (Pls) Function

    • 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). Your new values should follow the example in Figure Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 280: Forcing I/Os

    User Program scan. For example, for motion, Drive Ready input cannot be forced. Unlike inputs, outputs are physically forced. Status indicators do show forced values and the user program does not use forced values. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 281: Checking If Forces (Locks) Are Enabled

    Variable Monitor while debugging online. Forcing is performed by first Locking an I/O variable and then setting the Logical Value for Inputs and Physical Value for Outputs. Remember you cannot force a Physical Input and cannot force a Logical Output. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 282: I/O Forces After A Power Cycle

    • Connected Components Workbench Developer Edition software, version 8 or higher. The following sample project guides you through the creation of a simple application for a Micro850 controller without any plug-in modules, and how to use the Run Mode Change feature. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 283: Create The Project

    3. From the Toolbox, double-click Direct Coil to add it to the rung, or drag and drop Direct Coil onto the rung. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 284 7. Select Download current project to the controller. 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 285: Edit The Project Using Run Mode Change

    Accept or Undo the Test Logic changes. 2. From the Toolbox, double-click Instruction Block to add it to the rung, or drag and drop Instruction Block onto the rung. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 286 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 287 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. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 288 Appendix B Quickstarts Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 289: Information About Using Interrupts

    Selectable Timed Interrupts (4) • Plug-in Module Interrupts (5) An interrupt must be configured and enabled to execute. When any one of the interrupts is configured (and enabled) and subsequently occurs, the user program: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 290: When Can The Controller Operation Be Interrupted

    If an interrupt occurs while a higher priority interrupt is being serviced (executed), and the pending bit has been set for the lower priority interrupt, Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 291: User Interrupt Configuration

    Selectable Timed Interrupt1 Selectable Timed Interrupt2 Selectable Timed Interrupt3 Plug-In Module Interrupt0, 1, 2, 3, 4 lowest priority User Interrupt Configuration User interrupts can be configured and set as AutoStart from the Interrupts window. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 292: User Fault Routine

    Use the UIF instruction to remove selected pending interrupts from UIF – User Interrupt Flush the system. Use this function to clear Interrupt Lost bit for the selected User UIC – User Interrupt Clear Interrupt(s). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 293: Stis - Selectable Timed Start

    UID (name or Pin ID) Enable or ENO(Pin ID) IRQType The UID instruction is used to disable selected user interrupts. The table below shows the types of interrupts with their corresponding disable bits: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 294: Uie - User Interrupt Enable

    UIE (name or Pin ID) Enable or ENO(Pin ID) IRQType The UIE instruction is used to enable selected user interrupts. The table below shows the types of interrupts with their corresponding enable bits: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 295: Uif - User Interrupt Flush

    ENO(Pin ID) IRQType The UIF instruction is used to flush (remove pending interrupts from the system) selected user interrupts. The table below shows the types of interrupts with their corresponding flush bits: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 296: Uic - User Interrupt Clear

    4 + 16 = 20 (enter this value) UIC – User Interrupt Clear UIC (name or Pin ID) Enable or ENO(Pin ID) IRQType This C function clears Interrupt Lost bit for the selected User Interrupt(s). Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 297: Using The Selectable Timed 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. Example of where you would use the STI are: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 298: Selectable Time Interrupt (Sti) Function Configuration And Status

    POU in the STI configuration is executed at this interval. This value can be changed from the control program by using the STIS instruction. The minimum value cannot be less than the time required to scan the STI POUplus the Interrupt Latency. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 299: Sti Function Status Information

    The EII (Event Input Interrupt) is a feature that allows the user to scan a Interrupt (EII) Function specific POU when an input condition is detected from a field device. EII0 is used in this document to define how EII works. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 300: Event Input Interrupt (Eii) Function Configuration And Status

    Valid inputs are 0…N, where N is either 15, or the maximum input ID, whichever is smaller. This parameter is configured with the programming device and cannot be changed from the control program. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 301: Eii Function Status Information

    This bit is automatically set and cleared by the controller. The controller can process 1 active and maintain up to 1 pending user interrupt conditions before it sets the lost bit. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 302 Appendix C User Interrupts Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 303: Troubleshooting

    Appendix Troubleshooting Status Indicators on the Micro830 Controllers Controller 10/16-point Controllers 24-point Controllers 48-point Controllers Micro850 Controllers 24-point Controllers 48-point Controllers Micro870 Controllers 24-point Controllers Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 304 The device is performing power-on self-test (POST). During Flashing Green and POST, the network status indicator alternates flashing green and red. The duration of the self-test depends on the size of the project in the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 305: Normal Operation

    10 non-recoverable faults that occurred. If an error persists after performing the recommended action, contact your local Rockwell Automation technical support representative. For contact information, go to rok.auto/support. Fault Types There are two basic types of faults that can occur: •...
  • Page 306 0xF006 Recoverable • See Corrective Actions for Recoverable Faults on page 310. controller’s firmware revision. • Contact your local Rockwell Automation technical support representative. Perform one of the following: The user program contains a function/function block 0xF010 Recoverable • See Corrective Actions for Recoverable Faults on page 310.
  • Page 307 • Replace the slot number z module. Perform one of the following: Recoverable Expansion I/O power failure • See Corrective Actions for Recoverable Faults on page 310. 0xF2Az • Replace the slot number z module. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 308 2. Correct the program to ensure that there is no data overflow. structured text, or function block diagram execution 3. Build and download the program using Connected Components Workbench software. encounters a divide-by-zero. 4. Put the Micro800 controller into Run mode. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 309 (3) z is the slot number of the plug-in module. If z = 0, then the slot number cannot be identified. (4) zz indicates the last byte of the program number. Only program numbers up to 0xFF can be displayed. For program numbers 01x00 to 0xFFFF, only the last byte is displayed.) Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 310: Corrective Action For Recoverable And Non-Recoverable Faults

    Use the following error recovery model to help you diagnose software and Model hardware problems in the micro controller. The model provides common questions you might ask to help troubleshoot your system. See the recommended pages within the model for further help. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 311: Calling Rockwell Automation For Assistance

    Test and verify system operation. Calling Rockwell If you need to contact Rockwell Automation or local distributor for assistance, Automation for Assistance it is helpful to obtain the following (prior to calling): • controller type, series letter, revision letter, and firmware (FRN) number of the controller •...
  • Page 312 Appendix D Troubleshooting Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 313: Pid Function Blocks

    FALSE = CV equals zero. TRUE = PID state is running. Active FALSE = PID state is stopped. TRUE = PID has an error. Error FALSE = PID has no errors. ErrorID PID Error ID Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 314: Pid Function Block

    If CV < CVMin, then CV = CVMin. If CVMin > CVMax, and error occurs. Control value maximum limit. CVMax Input REAL If CV > CVMax, then CV = CVMax. If CVMax < CVMin, an error occurs. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 315 Increasing FC smooths the response of the PID controller. If FC is invalid, an error occurs. Table 68 - PID Error Codes Error Code Description PID is working normally. Kc is invalid. Ti is invalid. Td is invalid. FC is invalid. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 316: Ipidcontroller Function Block

    Input AT_Param Use AT_Param data type to define the parameters for the ATParameters input. Output Output Real Output value from the controller. AbsoluteError Output Real Absolute error (Process - SetPoint) from the controller. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 317 PV. If derivative gain is set to zero, it disables the derivative portion of the PID. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 318: How To Autotune

    Deviation value is explained later in this section. It is not necessary to set this parameter prior to autotuning. However, if you already know the deviation, it is fine to set it first. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 319: How Autotune Works

    For Reverse Operation: Second peak = PV1 + (3 x Deviation) Once the process value reaches or falls below second peak, calculations commence and a set of gain will be generated to parameter OutGains. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 320: Troubleshooting An Autotune Process

    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 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 321: 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. These four are: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 322 Shannon, or Nyquist-Shannon, or the sampling theorem must be adhered to. In addition, it is important that the function block is executed at a relatively constant time interval. One can typically achieve this using STI interrupt. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 323: System Loading

    Derive Total Power for a 48-point Micro850 controller, with 3 plug-ins, and 2085-IQ16 and 2085-IF4 expansion I/O modules attached. Total Power = 11 W + 3*1.44 W + 0.85 W + 1.7 W = 17.87 W Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 324 Total loading for AC power supply = 17.87 W + 6 W = 23.87 W ATTENTION: Maximum loading to AC Power Supply is limited to 38.4 W with maximum surrounding ambient temperature limited to 65 °C. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 325: Connect To Networks Using Df1

    DF1 Full-Duplex protocol (also referred to as DF1 point-to-point protocol) is useful where RS-232 point-to-point communication is required. DF1 protocol controls message flow, detects and signals errors, and retries if errors are detected. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 326: Df1 Half-Duplex Protocol

    Duplex modems using RTS/CTS hardware handshaking. IMPORTANT Firmware revision 20 for Micro850 and Micro870 controllers does not support the broadcast function in Half-Duplex Master. This feature will be supported in a future firmware revision. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 327: Considerations When Communicating As A Df1 Slave On A Multi

    For general multi-drop modem connections, or for point-to-point modem connections that require RTS/CTS handshaking, use DF1 Half-Duplex slave protocol. In this case, one (and only one) of the other devices must be configured for DF1 Half-Duplex master protocol. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 328: Modem Control Line Operation

    Half-Duplex without Continuous Carrier (RTS/CTS) Selected RTS is only activated during transmissions (and any programmed delays before or after transmissions). Transmissions require CTS to be active. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 329: Df1 Half Duplex Master

    DCD to become inactive before discarding the packet. If CTS is inactive at the onset of transmission, one second will be provided to wait for CTS to become active before the message packet is discarded. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 330: Configure Df1 Half-Duplex Parameters

    To configure the controller as a master station using standard- communication, place the controller into program mode and follow the steps below using your programming software: 1. To bring up the configuration page, click Serial Port. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 331 ACK Timeout retries the message or the message errors out. This timeout value is also used for the poll response timeout. See page G-332 for recommendations to minimize this value. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 332: Minimum Df1 Half-Duplex Master Ack Timeout

    • the RTS/CTS or turnaround delay of the slave modem • the configured RTS Send Delay in the slave • the program scan time of the slave Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 333: Determining Minimum Master Ack Timeout

    Communication diagnostics is available while connected to the controller by clicking the Diagnose communication status button. Table 77 explains information regarding the diagnostic counter data displayed. 1. Click Diagnose communication status to bring up the DF1 Half-Duplex Master diagnostics. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 334: Configure A Message-Based Mode Df1 Half-Duplex

    Serial Port. 2. On the Serial Port configuration page, select Half-Duplex Master for your DF1 Mode. 3. Choose a Message-based Polling Mode. 4. Configure the rest of the communication driver according to Table Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 335 See RTS Send Delay and RTS Off Delay on page 330 for further guidelines for setting this parameter. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 336: Configure A Slave Station

    • If the master modem is full duplex and the slave modem is half-duplex, choose HALF-DUPLEX WITHOUT CONTINUOUS CARRIER (RTS/CTS). See page Modem Control Line Operation on page 328 for descriptions of the control line operation settings. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 337: Configure Poll Timeout

    Slave Serial port Poll Timeout value is equal to the maximum Master poll scan rate rounded up to the next 20 ms increment. Minimum Serial Port Poll Timeout = Maximum Master Scan Poll Rate Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 338: Df1 Half-Duplex Slave Communication Diagnostics

    1. To bring up the configuration page, click Serial Port. 2. On the Serial Port configuration page, select Radio Modem for your DF1 Mode. 3. Configure the rest of the communication driver according to Table Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 339: Df1 Radio Modem Communication Diagnostics

    The total number of DF1 messages sent by the controller. Packets Received The number of messages received with no errors. The number of times the controller could not receive a message because it did not No Memory for Receiving have available memory. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 340: Configure The Store And Forward Table

    Packets received that originate from the receiving node should never be re-transmitted. Note 4 – To prevent Node 3 from re-transmitting a duplicate packet, the link layer of Node 3 updates the duplicate packet table with the last 20 packets received. Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 341 Figure 31 - Store and Forward Table for Node 2, Static Method Figure 32 - Store and Forward Table for Node 2, Dynamic Method Dynamic method with BOOL array Dynamic method with DWORD array Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 342 Appendix G Connect to Networks using DF1 Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 343 Communication Diagnostics 339 configure 66 DF1 full-duplex driver 339 CIP Symbolic Addressing 63 DF1 Full-Duplex protocol CIP Symbolic Client/Server 59 description 325 collision avoidance 122 using a modem 327 DF1 half-duplex driver 335 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 344 230 overview 289 selectable timed start (STS) instruction 293 user fault routine 292 user interrupt disable (UID) instruction 293 user interrupt enable (UIE) instruction 294 user interrupt flush (UIF) instruction 295 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 345 Micro800 remote station 336 Point-to-point 339 Micro830 Controllers 16 Poll timeout 331 Micro830 controllers position/distance input 145 inputs/outputs types 20 POU (Program Organizational Unit) 134 Micro850 controllers inputs/outputs types 20 Micro870 controllers inputs/outputs types 21 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 346 RJ-45 Ethernet port 22 system assembly RS-232/RS-485 combo port 59 Micro830 and Micro850 24-point controllers RS-232/RS-485 serial port 59 RTS off delay 332 Micro830, Micro850, and Micro870 24-point RTS send delay 332 controllers 43 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 347 Programmable Limit Switch 183 Using the Selectable Timed Interrupt (STI) Function 297 validate IP address 72 variable retainment 137 velocity input 145 wiring diagrams 51 Wiring Examples 56 wiring recommendation 47 Wiring Your Controller 47 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 348 Index Notes: Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 349 Micro830, Micro850, and Micro870 Programmable Controllers User Manual Rockwell Automation Publication 2080-UM002M-EN-E - April 2022...
  • Page 350 Allen-Bradley, CompactBlock LDX I/O, CompactLogix, Connected Components Workbench, ControlFLASH, ControlLogix, Data-Set, DH+, expanding human possibility, FactoryTalk, FactoryTalk Linx, FactoryTalk Linx Gateway, Kinetix, Micro800, Micro810, Micro820, Micro830, Micro850, Micro870, PanelView Component, PanelView Plus, PartnerNetwork, PowerFlex, Rockwell Automation, RSLinx, RSLinx Classic, RSLogix 500, and TechConnect are trademarks of Rockwell Automation, Inc.

Table of Contents

Save PDF