0% found this document useful (0 votes)
34 views144 pages

Micrologix Controllers To Micro800 Controllers Migration Guide

This Migration Guide provides essential information for transitioning from MicroLogix Controllers to Micro800 Controllers, including installation, configuration, and operational guidelines. It emphasizes the importance of using trained personnel and adhering to safety standards, while also detailing the necessary software and tools for a successful migration. The document includes comparisons between controller models, wiring considerations, and instructions for converting projects and generating hardware configurations.

Uploaded by

Ese Qese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views144 pages

Micrologix Controllers To Micro800 Controllers Migration Guide

This Migration Guide provides essential information for transitioning from MicroLogix Controllers to Micro800 Controllers, including installation, configuration, and operational guidelines. It emphasizes the importance of using trained personnel and adhering to safety standards, while also detailing the necessary software and tools for a successful migration. The document includes comparisons between controller models, wiring considerations, and instructions for converting projects and generating hardware configurations.

Uploaded by

Ese Qese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 144

MicroLogix Controllers to

Micro800 Controllers
Migration Guide
Bulletins 1761, 1762, 1763, 1766, and 2080

Reference Manual Original Instructions


MicroLogix Controllers to Micro800 Controllers Migration Guide Reference Manual

Important User Information


Read this document and the documents listed in the additional resources section about installation, configuration, and operation of this equipment before you
install, configure, operate, or maintain this product. Users are required to familiarize themselves with installation and wiring instructions in addition to
requirements of all applicable codes, laws, and standards.

Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required to be carried out by suitably trained
personnel in accordance with applicable code of practice.

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.

The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any
particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.

No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.

Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.

Throughout this manual, when necessary, we use notes to make you aware of safety considerations.

WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which
may lead to personal injury or death, property damage, or economic loss.

ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.

IMPORTANT Identifies information that is critical for successful application and understanding of the product.

These labels may also be on or inside the equipment to provide specific precautions.

SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.

BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.

ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to potential
Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL Regulatory
requirements for safe work practices and for Personal Protective Equipment (PPE).

The following icon may appear in the text of this document.

Identifies information that is useful and can help to make a process easier to do or easier to understand.

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. We are proactively collaborating with industry peers to find alternatives to such terms and
making changes to our products and content. Please excuse the use of such terms in our content while we implement these changes.

2 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Table of Contents

Preface
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Required Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
MicroLogix to Micro800 Converter tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Hardware Migration using Integrated Architecture Builder . . . . . . . . . . . . . . . . . . . . . . 8
Micro800 Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Download Firmware, AOP, EDS, and Other Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Summary of Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Chapter 1
Migrate Your MicroLogix Migrate MicroLogix 1000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Controller to a Compatible MicroLogix 1000 Controllers and Micro800 Controllers Comparison . . . . . . . . . . . . . . 10
Wiring Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Micro800 Controller
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Migrate MicroLogix 1100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
MicroLogix 1100 Controllers and Micro800 Controllers Comparison . . . . . . . . . . . . . . 13
Wiring Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Migrate MicroLogix 1200. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MicroLogix 1200 Controllers and Micro800 Controllers Comparison . . . . . . . . . . . . . . 15
Wiring Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Migrate MicroLogix 1400. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
MicroLogix 1400 Controllers and Micro800 Controllers Comparison . . . . . . . . . . . . . . 18
Wiring Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Chapter 2
Plan Hardware Migration with Generate Hardware Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Integrated Architecture Builder Convert MicroLogix 1000, MicroLogix 1100, and MicroLogix 1200 Controllers to Micro800
Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Convert MicroLogix 1400 Controllers to Micro850 and Micro870 Controllers. . . . . . . . 25

Chapter 3
Convert a MicroLogix Project to a Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Micro800 Project Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Overview of Program Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
High-Speed Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
RSLogix Emulate 500 to Micro800 Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Logix Theme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Copy and Paste Code Between Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 3


Table of Contents
Convert Your Project with the Converter Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Save the RSLogix 500/RSLogix Micro Project as an SLC File . . . . . . . . . . . . . . . . . . . . 41
MicroLogix to Micro800 Converter Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Run the MicroLogix to Micro800 Converter Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Convert the SLC File to a Connected Components Workbench Project . . . . . . . . . . . . 46
Understand the Conversion Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Resolve Compilation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Convert Your Project Manually. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Generate an Existing RSLogix 500/RSLogix Micro Project Report . . . . . . . . . . . . . . . . . . . . 53
Create Equivalent Program Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Create UDF or UDFB to Replace Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Create Representative Data Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Set Up Embedded I/O Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Substitute Binary (B3) and Integer (N7) Data Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Set Up Variables for Index Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Create Equivalent Logic in Program File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Logix Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Program Index Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Program On-delay Timer (TON) Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Program Pulse Train Output (PTO) Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Program High Speed Counter (HSC) Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Build and Test Your Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Test Project With the Micro800 Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Test Project With a Physical Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Chapter 4
RLL Instruction Mapping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Definitions, Acronyms, and Abbreviations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Bit Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
BSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
BSR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
MSG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
EQU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
NEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
LES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
LEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
GRT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
GEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
LIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
JMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
LBL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
RET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
SUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
TND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
I/O Related Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
IIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

4 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Table of Contents
IOM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Selectable Timed Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
STD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
STE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
STS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
File Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
COP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
ADD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
SUB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
MUL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
DIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
DDV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
NEG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
SQR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Move and Logical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
MOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
AND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
XOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
OR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
NOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Relay Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
XIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
XIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
OTE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
OTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
OTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
OSR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Timer and Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
CTD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
CTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
TON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
TOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
RTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
High-Speed Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Notes on Unsupported RSLogix 500/RSLogix Micro Instruction Set. . . . . . . . . . . . . . 128

Appendix A
Additional Examples Configure Interrupts on a Micro800 Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Set Up High-Speed Counter (HSC) Instruction Variables . . . . . . . . . . . . . . . . . . . . . . . . . . 131

Appendix B
Original and Converted Pick- Original RSLogix 500/RSLogix Micro Ladder Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
and-place Ladder Diagrams Connected Components Workbench Ladder Diagram (Converter Tool) . . . . . . . . . . . . . . 135
Tool Conversion Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Connected Components Workbench Ladder Diagram (Manual Conversion) . . . . . . . . . . . 139

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 5


Table of Contents

Notes:

6 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Preface

About This Publication This document serves as a guide for replacing your existing MicroLogix™ 1000, MicroLogix 1100,
MicroLogix 1200, or MicroLogix 1400 controller with a Micro800™ family of controllers.

The Micro800 family of controllers includes the Micro810®, Micro820®, Micro850®, and Micro870®
controllers.

Descriptions, wiring diagrams, dimensions, features, and specifications of the controllers are
provided to help you select the appropriate Micro800 controller to replace your MicroLogix
controller.

This document shows you how to use the software tools to select a suitable Micro800 controller,
and also how to convert your MicroLogix programs to work with the Micro800 controller.

Audience The intended audience of this document is owners of MicroLogix 1000, MicroLogix 1100, MicroLogix
1200, and MicroLogix 1400 controllers who are migrating to the Micro800 family of controllers, and
who are familiar with the RSLogix 500®/RSLogix™ Micro programming software. Knowledge of
programming in ladder language is expected to be able to program Micro800 systems effectively.

Required Software To complete the steps in this document, Connected Components Workbench™ software version 21
or later is required. As the main programming software for Micro800 systems. Connected
Components Workbench software provides a choice of IEC 61131-3 programming languages (ladder
diagram, function block diagram, structured text) with user-defined function block (UDFB) support
that optimizes machine control.
You need Connected Components Workbench software to write your ladder diagram, function block
diagram, or structured text programs, to execute the programs, and to see the results.

This document uses two features that are available in Connected Components Workbench software
version 12 or later.

MicroLogix to Micro800 Converter tool


The MicroLogix to Micro800 Converter tool converts an RSLogix 500/RSLogix Micro project into a
Connected Components Workbench project. It provides conversion for ladder diagram (LD)
programming languages in the MicroLogix processor.

The Converter tool can convert most RSLogix 500/RSLogix Micro instruction blocks. However, you
may need to modify the converted function blocks to confirm that they work properly. All
information that requires additional modifications are logged in a conversion report, and this
document shows you how to make the changes.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 7


Preface

Hardware Migration using Integrated Architecture Builder


The MicroLogix Migration Wizard within Integrated Architecture® Builder (IAB) software assists with
converting MicroLogix controllers to compatible controllers. Earlier software versions can migrate
MicroLogix 1000, MicroLogix 1100, and MicroLogix 1200 controllers to Micro800 controllers.

From IAB software version 9.8.2.2 onwards, MicroLogix 1400 controllers can migrate to Micro850
and Micro870 controllers.

Micro800 Simulator
The Micro800 Simulator can be used to perform testing and troubleshooting of a Connected
Components Workbench project, without a physical Micro800 controller.

Download Firmware, AOP, Download firmware, associated files (such as AOP, EDS, and DTM), and access product release
notes from the Product Compatibility and Download Center at rok.auto/pcdc.
EDS, and Other Files

Summary of Changes This publication contains the following new or updated information. This list includes substantive
updates only and is not intended to reflect all changes.
Topic Page
Updated template throughout
Removed Micro830 catalogs throughout
Removed Micro850 and Micro870 2080-LCx0 catalogs throughout
Added inclusive language statement 2
Added Hardware Migration using Integrated Architecture Builder section 8
Reorganized content in Chapter 1 - Migrate Your MicroLogix Controller to a Compatible Micro800 9…20
Controller
Added new Micro850 2080-L50E catalogs 9…19, 45
Added new Micro870 2080-L70E catalogs 9…20
Added instructions on converting MicroLogix 1400 controllers using IAB 25…35

Additional Resources These documents contain additional information concerning related products from Rockwell
Automation.
Resource Description
Micro800 Programmable Controllers General Instructions Reference Manual, Provides reference information about the instruction set available for developing programs for use
publication 2080-RM001 in Micro800 control systems.
Micro820 Programmable Controllers User Manual, publication 2080-UM005 A more detailed description of how to install and use your Micro820 programmable controllers.
Micro830, Micro850, and Micro870 Programmable Controllers User Manual, A more detailed description of how to install and use your Micro830, Micro850, and Micro870
publication 2080-UM002 programmable controllers.
Description of features, installation, wiring, and specifications for the Micro800 expansion I/O
Micro800 Expansion I/O Modules User Manual, publication 2080-UM003 modules.
Micro800 Plug-in Modules User Manual, publication 2080-UM004 Description of features, installation, wiring, and specifications for the Micro800 plug-in modules.
Micro800 Controllers: Getting Started with Motion Control Using a Simulated Provides instructions to implement a motion control project using Connected Components
Axis Quick Start, publication 2080-QS001 Workbench software.
Micro800 Controllers: Getting Started with CIP™ Client Messaging Quick Start, Provides instructions on how to use global variables with Micro800 controllers together with
publication 2080-QS002 PanelView™ Plus HMI terminals.
Micro800 Programmable Controllers: Getting Started with PanelView Plus Provides instructions on how to configure a Micro800 controller on FactoryTalk® Linx Gateway.
Quick Start, publication 2080-QS003
Configuring Micro800 Controllers on FactoryTalk Gateway Quick Start, Provides general guidelines for installing a Rockwell Automation industrial system.
publication 2080-QS005
Industrial Automation Wiring and Grounding Guidelines, publication 1770-4.1 Provides general guidelines for installing a Rockwell Automation industrial system.
Product Certifications website, rok.auto/certifications Provides declarations of conformity, certificates, and other certification details.

You can view or download publications at rok.auto/literature.

8 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1

Migrate Your MicroLogix Controller to a


Compatible Micro800 Controller

To migrate your existing MicroLogix controller system to a Micro800 controller system, you need to
understand your existing system requirements and then compare them to what is available in the
Micro800 family of products. To simplify the process, you can read through this chapter to
understand the migration options and process.

Figure 1 illustrates Micro800 controller capabilities based on performance, features, memory, and
I/O support.
Figure 1 - Consider Your MicroLogix Application

DNP3 support
DF1 support
Supports expansion modules
Supports plug-in modules and microSD™ cards
Motion control with pulse train output (PTO)

EtherNet/IP™ enabled
Class 1 implicit messaging support
Performance and features

Micro870 2080-L70E
Highest memory and I/O
Micro850 2080-L50E
3 axes of motion support
Micro820
Remote automation

Micro810
Smart relay
Memory and I/O

Table 1 lists specifications and applications for each Micro800 controller by application
requirement.
Table 1 - Select a Micro800 Controller
If You Need... Micro810 Micro820 Micro850 Micro870
Embedded digital I/O points 0 20 24 48 24
Maximum digital I/O 12 35 132 192 304
• USB programming port (with • USB programming port
• USB programming port
Communication options and • USB programming port 2080-REMLCD) • CIP Serial, DF1, Modbus RTU, ASCII
• CIP Serial, DF1, Modbus RTU, ASCII
protocols (with adapter) • CIP Serial, DF1, Modbus RTU, ASCII
• EtherNet/IP, Modbus TCP • EtherNet/IP, Modbus TCP • EtherNet/IP, Modbus TCP, DNP3(1)

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 9


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Table 1 - Select a Micro800 Controller (Continued)


If You Need... Micro810 Micro820 Micro850 Micro870
High-speed counter (HSC) — 100 kHz speed HSC inputs on 24V DC models
input
Motion support — — Up to two axes with PTO
microSD use for program
transfer, datalog, and recipe — Embedded slot Via 2080-SDMEMRTC-SC
management
Class 1 implicit messaging — — Supports 8 Ethernet nodes(2)
Software Connected Components Workbench software
(1) DNP3 is supported with the 2080-L70E-xxxxN controllers.
(2) For Micro850 (2080-L50E) and Micro870 (2080-L70E) controllers with firmware revision 21.011 or later.

To Migrate Your MicroLogix Controller to a Micro800 Controller follow these steps:


1. Generate a hardware configuration using IAB.
Use the Integrated Architecture Builder (IAB) software for a complete list of material for your
MicroLogix controller conversion. For more information on using the IAB software, see
Chapter 2, Generate Hardware Configuration.
2. Compare the key wiring and dimension differences between your MicroLogix controller and
suitable Micro800 controllers.
3. Convert your project.
Convert your existing MicroLogix project to a Micro800 project – convert the project
manually, or use the MicroLogix to Micro800 Converter tool, see Chapter 1, Migrate Your
MicroLogix Controller to a Compatible Micro800 Controller.

Migrate MicroLogix 1000 This section helps you determine how to select and configure a suitable Micro820 controller for
your existing MicroLogix 1000 controller configuration.

MicroLogix 1000 Controllers and Micro800 Controllers Comparison


Table 2 - Compare Your MicroLogix 1000 Controller to Micro820 or Micro850 Controllers
Micro820 Micro850
MicroLogix 1000 Controller
Controller Required Plug-in Module / Accessories Controller Required Plug-in Module / Accessories
1761-L10BWB 2080-LC20-20QWB
1761-L16BWB 2080-L50E-24QWB
2080-LC20-20QWBR — —
1761-L16NWB 2080-L50E-48QWB
1761-L32BWB —
2080-L50E-24QWB
1761-L10BWA 2080-L50E-24AWB
2080-LC20-20QWB
1761-L16BWA 2080-LC20-20QWBR 2080-PSAC-12W x 1 2080-L50E-48AWB 2080-PS120-240VAC x 1(1)
1761-L16NWA 2080-L50E-48QWB
2080-L50E-48QVB
1761-L10BXB 2080-LC20-20QBB,
1761-L16BBB 2080-LC20-20QBBR 2080-OB4 x 1(2) 2080-L50E-24QWB 2080-OB4 x 1(2)
2080-L50E-24QWB
1761-L16AWA 2080-L50E-24AWB
1761-L32AAA 2080-L50E-48AWB 2080-PS120-240VAC x 1
1761-L32AWA 2080-L50E-48QWB
1761-L32BWA 2080-L50E-48QVB
— — • 2080-PS120-240VAC x 1
1761-L20BWA-5A 2080-L50E-24QWB • 2080-IF4 x 1
1761-L20AWA-5A 2080-L50E-48AWB
• 2080-OF2 x 1
• 2080-IF4 x 1
1761-L20BWB-5A 2080-L50E-24QWB
• 2080-OF2 x 1
1761-L32BBB 2080-L50E-48QBB —
(1) The 2080-PS120-240VAC power supply is required to convert AC power DC power. It is optional if you use an external power supply.
(2) The embedded output of the 1761-L10BXB controller uses relay output.

10 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Table 3 - MicroLogix 1000, Micro820, and Micro850 Controller Dimensions


MicroLogix 1000 Controller A B C
MicroLogix 1000
1761-L10BWA 120 mm (4.72 in.)
1761-L16AWA 133 mm (5.24 in.)
1761-L16BWA
C 120 mm (4.72 in.)
1761-L16NWA
1761-L20AWA-5A 73 mm (2.87 in.)
A B 1761-L20BWA-5A
1761-L32AWA 200 mm (7.87 in.)
1761-L32BWA
Micro820 1761-L32AAA 80 mm (3.15 in.)
A B 1761-L10BWB
1761-L10BXB
C 1761-L16BBB 120 mm (4.72 in.)
1761-L16BWB
40 mm (1.57 in.)
1761-L16NWB
1761-L20BWB-5A
1761-L32BBB 200 mm (7.87 in.)
1761-L32BWB
Micro850 - 24-point Micro820 Controller A B C
2080-LC20-20AWB
2080-LC20-20AWBR
2080-LC20-20QWB
104 mm (4.09 in.) 75 mm (2.95 in.) 90 mm (3.54 in.)
2080-LC20-20QWBR
2080-LC20-20QBB
2080-LC20-20QBBR
Micro850 - 48-point Micro850 Controller A B C
2080-L50E-24QWB
158 mm (6.22 in.)
2080-L50E-24QVB
2080-L50E-48AWB
80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L50E-48QWB
283 mm (9.37 in.)
2080-L50E-48QVB
2080-L50E-48QBB

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 11


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Wiring Considerations
This section illustrates an example of wiring for your MicroLogix 1000 controller and how you can
migrate the wiring to a Micro800 controller. For a complete wiring guide for Micro800 controllers,
see Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013.
Figure 2 - Compare Wiring for a 1761-L32BWA Controller and a 2080-L50E-48QWB Controller
1761-L32AAA 14…30 V DC
1761-L32AWA VDC + VDC VDC +
Com
1761-L32BWA VDC
Com

+ 24V – DC I/0 I/1 I/2 I/3 DC I/4 I/5 I/6 I/7 I/8 I/9 I/10 I/11 I/12 I/13 I/14 I/15 I/16 I/17 I/18 I/19
COM COM
DC OUT

85…264 VAC
VAC VAC VAC VAC VAC
L1 L2/N VDC O/0 VDC O/1 VDC O/2 O/3 VDC O/4 O/5 O/6 O/7 VDC O/8 O/9 O/10 O/11

CR CR CR CR CR CR CR CR CR CR

VAC 2 VDC 1 VDC 2 VDC 3


VAC 2 VDC 1 VDC 2 VDC 3
VAC 1 COM COM COM COM
VAC 1
COM

2080-L50E-48QWB
+DC a +DC b +DC c +DC d
-DC a -DC b -DC c -DC d

COM0 I-01 I-03 I-05 I-06 I-08 I-10 COM2 I-13 I-15 I-17 I-19 I-20 I-22 I-24 I-26

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
I-00 I-02 I-04 COM1 I-07 I-09 I-11 I-12 I-14 I-16 I-18 COM3 I-21 I-23 I-25 I-27

+DC24 CM0 CM1 CM2 CM3 CM4 CM5 CM6 CM7 O-08 O-10 CM8 O-13 O-15 O-16 O-18

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 O-00 O-01 O-02 O-03 O-04 O-05 O-06 O-07 O-09 O-11 O-12 O-14 CM9 O-17 O-19

CR CR CR CR CR CR CR CR CR CR CR CR
+DC e
+DC j +DC k
-DC e L1 a L1 b L1 c +DC f +DC g +DC h

L2 a L2 b L2 c -DC f -DC g -DC h +DC i -DC i -DC j -DC k

Additional Resources
Find publications with complete list of specifications, wiring diagrams, and other requirements.

Resource Description
MicroLogix 1000 Programmable Controllers Installation Instructions, Describes how to install and wire MicroLogix 1000 controllers.
publication 1761-IN001
MicroLogix 1000 Programmable Controllers User Manual, publication 1761-UM003 Describes how to configure and program MicroLogix 1000 controllers.
Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013 Describes how to install and wire Micro810, Micro820, Micro850, and Micro870 controllers.
Micro800 Programmable Controller External AC Power Supply Installation Instructions, Describes how to install and wire an AC external power supply for Micro800 controllers.
publication 2080-IN011
MicroLogix 1000 Programmable Controllers Document Update, publication 1761-DU001. Explains the differences for input circuits capable of 24V AC or 24V DC operation.

12 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Migrate MicroLogix 1100 This section helps you determine how to select and configure a suitable Micro820 or Micro850
controller for your existing MicroLogix 1100 controller configuration.

MicroLogix 1100 Controllers and Micro800 Controllers Comparison


Table 4 - Compare Your MicroLogix 1100 Controller to Micro820 or Micro850 Controllers
Micro820 Micro850
MicroLogix 1100 Controller
Controller Required Plug-in Module / Accessories Controller Required Plug-in Module / Accessories
2080-LC20-20AWB
1763-L16AWA 2080-LC20-20AWBR • 2080-PSAC-12W x 1 2080-L50E-24AWB • 2080-PS120-240VAC x 1(1)
2080-LC20-20QWB • 2080-IF2 x 1(2)
1763-L16BWA • 2080-PSAC-12W x 1 2080-L50E-24QWB • 2080-SDMEMRTC-SC x 1
2080-LC20-20QWBR
• 2080-IF2 x 1(2)
1763-L16BBB 2080-LC20-20QBB • 2080-OW4I x 1(3) 2080-L50E-24QBB
2080-LC20-20QBBR • 2080-MEMBACK-RTC x 1
• 2080-MOT-HSC x 1
• 2080-SDMEMRTC-SC x 1
• External power supply(3)
1763-L16DWD 2080-LC20-20QWB External power supply(4) 2080-L50E-24QWB • 2080-IF2 x 1(2)
• 2080-SDMEMRTC-SC x 1
(1) The 2080-PS120-240VAC power supply is required to convert AC power DC power. It is optional if you use an external power supply.
(2) The 2080-IF2 plug-in is only required if the embedded input of the MicroLogix 1100 controller uses analog input.
(3) The 2080-OW4I plug-in is only required if the embedded output of the MicroLogix 1100 controller uses relay output.
(4) The Micro820 and Micro850 controllers require a power supply that accepts 12…24V DC from an external source that can output 24V DC to the controller.

Table 5 - MicroLogix 1100, Micro820, and Micro850 Controller Dimensions


MicroLogix 1100 MicroLogix 1100 Controller A B C
1763-L16AWA
1763-L16BWA
C 110 mm (4.33 in.) 87 mm (3.43 in.) 90 mm (3.54 in.)
ESC OK
1763-L16BBB
1763-L16DWD
Micro820 Controller A B C
A B
2080-LC20-20AWB
Micro820
2080-LC20-20AWBR
A B
2080-LC20-20QWB
104 mm (4.09 in.) 75 mm (2.95 in.) 90 mm (3.54 in.)
2080-LC20-20QWBR
C 2080-LC20-20QBB
2080-LC20-20QBBR
Micro850 Controller A B C
2080-L50E-24AWB
Micro850 - 24-point 2080-L50E-24QWB
158 mm (6.22 in.)
2080-L50E-24QVB
2080-L50E-24QBB
80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L50E-48AWB
2080-L50E-48QWB
283 mm (9.37 in.)
2080-L50E-48QVB
2080-L50E-48QBB
Micro850 - 48-point

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 13


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Wiring Considerations
This section illustrates an example of wiring for your MicroLogix 1100 controller and how you can
migrate the wiring to a Micro800 controller. For a complete wiring guide for Micro800 controllers,
see Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013.
Figure 3 - Compare Wiring for a 1763-L16BBB Controller and a 2080-L50E-24QBB Controller
1763-L16BBB
+DCa +DCb L1c

-DCa -DCb L2c

Sinking Inputs NOT NOT DC DC IA


USED USED COM I/0 I/1 I/2 I/3 COM I/4 I/5 I/6 I/7 I/8 I/9 COM IV1(+) IV2(+)

-DCa -DCb L1c

+DCa +DCb L2c

Sourcing Inputs NOT NOT DC DC IA


USED USED COM I/0 I/1 I/2 I/3 COM I/4 I/5 I/6 I/7 I/8 I/9 COM IV1(+) IV2(+)

+DCa -DCa +DCb -DCb +DCc -DCc

-DC

+DC CR CR CR
Outputs

+ 24V - NOT VAC O/0 VAC O/1 NOT NOT DC O/2 O/3 O/4 O/5 DC NOT
DC IN USED VDC VDC USED USED 24V+ 24V- USED

2080-L50E-24QBB
Sourcing:+DC a Sourcing:-DC a Sourcing:+DC b Sourcing:-DC b
Sinking: -DC a Sinking: +DC a Sinking: -DC b Sinking: +DC b
L1 L2

2080-PS120-240VAC

L COM0 I-01 I-03 I-05 I-07 I-08 I-10 I-12

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
N
I-00 I-02 I-04 I-06 COM1 I-09 I-11 I-13

+DC24 +CM0 O-01 +CM1 O-03 O-05 O-07 O-09


+24 VDC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 O-00 -CM0 O-02 O-04 O-06 O-08 -CM1
-24 VDC

CR CR

+DC d +DC e

-DC d -DC e

Additional Resources
Find publications with complete list of specifications, wiring diagrams, and other requirements.

Resource Description
MicroLogix 1100 Programmable Controllers Installation Instructions, Describes how to install and wire MicroLogix 1100 controllers.
publication 1763-IN001
MicroLogix 1100 Programmable Controllers User Manual, publication 1763-UM001 Describes how to configure and program MicroLogix 1100 controllers.
Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013 Describes how to install and wire Micro810, Micro820, Micro850, and Micro870 controllers.
Micro800 Programmable Controller External AC Power Supply Installation Instructions, Describes how to install and wire an AC external power supply for Micro800 controllers.
publication 2080-IN011
Provides detailed specifications for Micro800 controllers, expansion I/O modules, plug-in
Micro800 Programmable Controllers Technical Data, publication 2080-TD001 modules, and accessories.

14 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Migrate MicroLogix 1200 This section helps you determine how to select and configure a suitable Micro850 or Micro870
controller for your existing MicroLogix 1200 controller configuration.

MicroLogix 1200 Controllers and Micro800 Controllers Comparison


Table 6 - Compare Your MicroLogix 1200 Controller to Micro850 or Micro870 Controllers

Micro850(1) Micro870(2)
MicroLogix 1200 Controller
Controller Required Plug-in Module / Accessories Controller Required Plug-in Module / Accessories
1762-L24AWA • 2080-PS120-240VAC x 1
2080-L50E-24AWB
1762-L24AWAR • 2080-MEMBAK-RTC2 x 1
• 2085-ECR
2080-L70E-24AWB • 2080-PS120-240VAC x 1
1762-L40AWA • 2080-MEMBAK-RTC2 x 1
2080-L50E-48AWB
1762-L40AWAR
• 2085-IA8 x 1(4)
• 2080-PS120-240VAC x 1(3) • 2085-OW8 x 1
1762-L24BWA • 2080-MEMBAK-RTC2 x 1 • 2080-PS120-240VAC x 1
2080-L50E-24QWB
1762-L24BWAR • 2080-MEMBAK-RTC2 x 1
2080-L70E-24QWB • 2085-ECR
2080-L70E-24QWBK • 2080-PS120-240VAC x 1
1762-L40BWA 2080-L50E-48QWB • 2080-MEMBAK-RTC2 x 1
1762-L40BWAR
• 2085-IQ16 x 1
• 2085-OW8 x 1
• 2080-PS120-240VAC x 1
1762-L24BXB • 2080-MEMBAK-RTC2 x 1
2080-L50E-24QBB
1762-L24BXBR
• 2080-OW4I x 1 or 2085-OW8 x 1(5)
• 2080-MEMBAK-RTC2 x 1
• 2085-ECR 2080-L70E-24QBB • 2085-ECR
2080-L70E-24QBBK • 2080-PS120-240VAC x 1
1762-L40BXB • 2080-OW4I x 1 or 2085-OW8 x 1(5)
2080-L50E-48QBB • 2080-MEMBAK-RTC2 x 1
1762-L40BXBR
• 2080-OW4I x 1 or 2085-OW8 x 1(5)
• 2085-IQ16 x 1
(1) Use the Micro850 controller for up to four expansion modules.
(2) Use the Micro870 controller for more than four expansion modules.
(3) The 2080-PS120-240VAC power supply is required to convert AC power DC power. It is optional if you use an external power supply.
(4) To migrate from a 1762-L40AWA or 1762-L40AWAR, add 2085-IA8 and 2085-OW8 expansion I/O modules to fill the I/O gap.
(5) The 2080-L50E-24QBB, 2080-L50E-48QBB, 2080-L70E-24QBB, and 2080-L70E-24QBBK require additional relay modules if the embedded output of the MicroLogix 1200 uses relay output. Use either
the 2080-OW4I plug-in module or the 2085-OW8 expansion I/O module.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 15


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Table 7 - MicroLogix 1200, Micro850, and Micro870 Controller Dimensions


MicroLogix 1200
MicroLogix 1200 Controller A B C
1762-L24AWA
0 C 1762-L24AWAR
1

1762-L24BWA
COM

110 mm (4.33 in.)


1762-L24BWAR
A B 1762-L24BXB
Micro850 - 24-point 1762-L24BXBR
87 mm (3.43 in.) 90 mm (3.54 in.)
A 1762-L40AWA
B
1762-L40AWAR
C 1762-L40BWA
160 mm (6.30 in.)
1762-L40BWAR
1762-L40BXB
1762-L40BXBR
Micro850 - 48-point Micro850 Controller A B C
B
A 2080-L50E-24AWB
2080-L50E-24QWB
158 mm (6.22 in.)
C 2080-L50E-24QVB
2080-L50E-24QBB
80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L50E-48AWB
2080-L50E-48QWB
283 mm (9.37 in.)
2080-L50E-48QVB
Micro870 2080-L50E-48QBB
Micro870 Controller A B C
A B
2080-L70E-24AWB
C 2080-L70E-24QWB
2080-L70E-24QWBK 157 mm (6.22 in.) 80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L70E-24QBB
2080-L70E-24QBBK

16 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Wiring Considerations
This section illustrates an example of wiring for your MicroLogix 1200 controller and how you can
migrate the wiring to a Micro800 controller. For a complete wiring guide for Micro800 controllers,
see Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013.
Figure 4 - Compare Wiring for a 1762-L40BWA Controller and a 2080-L50E-48QWB Controller
1762-L40BWA, 1762-L40BWAR
Sinking Inputs Sourcing Inputs
-DCb +DCb +DCb -DCb

-DCa -DCc
+DC +DCa
+DCc
+DC

+24 COM +24 COM


IN 0 IN 2 IN 5 IN 7 IN 8 IN 10 IN 12 IN 14 IN 16 IN 18 IN 20 IN 22 IN 0 IN 2 IN 5 IN 7 IN 8 IN 10 IN 12 IN 14 IN 16 IN 18 IN 20 IN 22
1 VDC 1
VDC
COM COM 24 COM COM
24 IN 1 IN 3 IN 4 IN 6 IN 9 IN 11 IN 13 IN 15 IN 17 IN 19 IN 21 IN 23
IN 1 IN 3 IN 4 IN 6 IN 9 IN 11 IN 13 IN 15 IN 17 IN 19 IN 21 IN 23 COM 0 2
COM 0 2

+DCc -DC
-DC -DCa -DCa -DCb
-DCc -DCc
+DCa +DCb +DCa +DCc

L1d L1f
L2d L2e L2f
L2a L2b L2c

L2

Outputs L1
CR CR CR CR

VAC VAC OUT OUT OUT VAC OUT OUT OUT OUT VAC OUT OUT
L1 NEUT 0 1 2 DC 3 5 7 8 10 DC 5 13 15
VAC VAC VAC OUT OUT OUT VAC OUT OUT OUT OUT
DC 0 DC 1 DC 2 3 4 6 DC 4 9 11 12 14

CR CR CR CR

L2c
L2d L2e L2f

2080-L50E-48QWB
L1a L1b L1c L1e

+DC a +DC b +DC c +DC d


-DC a -DC b -DC c -DC d

COM0 I-01 I-03 I-05 I-06 I-08 I-10 COM2 I-13 I-15 I-17 I-19 I-20 I-22 I-24 I-26

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
I-00 I-02 I-04 COM1 I-07 I-09 I-11 I-12 I-14 I-16 I-18 COM3 I-21 I-23 I-25 I-27

+DC24 CM0 CM1 CM2 CM3 CM4 CM5 CM6 CM7 O-08 O-10 CM8 O-13 O-15 O-16 O-18

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 O-00 O-01 O-02 O-03 O-04 O-05 O-06 O-07 O-09 O-11 O-12 O-14 CM9 O-17 O-19

CR CR CR CR CR CR CR CR CR CR CR CR
+DC e
+DC j +DC k
-DC e L1 a L1 b L1 c +DC f +DC g +DC h

L2 a L2 b L2 c -DC f -DC g -DC h +DC i -DC i -DC j -DC k

Additional Resources
Find publications with complete lists of specifications, wiring diagrams, and other requirements.

Resource Description
MicroLogix 1200 Programmable Controllers Installation Instructions, publication 1762-IN006 Describes how to install and wire MicroLogix 1200 controllers.
MicroLogix 1200 Programmable Controllers User Manual, publication 1762-UM001 Describes how to configure and program MicroLogix 1200 controllers.
Describes how to install and wire Micro810, Micro820, Micro850, and Micro870
Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013 controllers.
Micro800 Programmable Controller External AC Power Supply Installation Instructions, Describes how to install and wire an AC external power supply for Micro800
publication 2080-IN011 controllers.
Micro800 Digital Input, Output, and Combination Plug-in Modules Wiring Diagrams, publication Describes how to install and wire Micro800 digital plug-in modules.
2080-WD011
Micro800 Plug-in Modules User Manual, publication 2080-UM004 Describes how to configure and program Micro800 plug-in modules.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 17


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Migrate MicroLogix 1400 This section helps you determine how to select and configure a suitable Micro850 or Micro870
controller for your existing MicroLogix 1400 controller configuration.

MicroLogix 1400 Controllers and Micro800 Controllers Comparison


Table 8 - Compare Your MicroLogix 1400 Controller to Micro850 or Micro870 Controllers

Micro850(1) Micro870(2)
MicroLogix 1400 Controller
Controller Required Plug-in Module / Accessories Controller Required Plug-in Module / Accessories
• 2080-PS120-240VAC x 1(3) 2080-L70E-24AWB • 2080-PS120-240VAC x 1
1766-L32AWA 2080-L50E-24AWB 2080-L70E-24QWBN
• 2080-MEMBAK-RTC2 x 1 • 2080-MEMBAK-RTC2 x 1
• 2085-ECR 2080-L70E-24QWB • 2085-ECR
1766-L32BWA 2080-L50E-24QWB
• Additional plug-in or expansion I/O to 2080-L70E-24QWBN • Additional plug-in or expansion I/O to
match total 1766 embedded I/O density 2080-L70E-24QBB match total 1766 embedded I/O density
1766-L32BXB 2080-L50E-24QBB • 2080-OW4I x 1(4)
• 2080-OW4I x 1(4) 2080-L70E-24QBBN
• 2080-PS120-240VAC x 1 2080-L70E-24AWB • 2080-PS120-240VAC x 1
1766-L32AWAA 2080-L50E-24AWB 2080-L70E-24QWBN
• 2080-MEMBAK-RTC2 x 1 • 2080-MEMBAK-RTC2 x 1
• 2085-ECR 2080-L70E-24QWB • 2085-ECR
1766-L32BWAA 2080-L50E-24QWB • Additional plug-in or expansion I/O to • Additional plug-in or expansion I/O to
2080-L70E-24QWBN
match total 1766 embedded I/O density match total 1766 embedded I/O density
• 2080-IF4 x 1 or 2080-OF2 x 1(5) 2080-L70E-24QBB • 2080-IF4 x 1 or 2080-OF2 x 1(5)
1766-L32BXBA 2080-L50E-24QBB 2080-L70E-24QBBN
• 2080-OW4I x 1 or 2085-OW8 x 1(6) • 2080-OW4I x 1 or 2085-OW8 x 1(6)
(1) Use the Micro850 controller for up to four expansion modules.
(2) Use the Micro870 controller for more than four expansion modules.
(3) The 2080-PS120-240VAC power supply is required to convert AC power DC power. It is optional if you use an external power supply.
(4) The Micro850 and Micro870 controllers require additional relay modules if the embedded output of the 1766-L32BXB controller uses relay output.
(5) An analog plug-in is required to support the embedded analog capability of 1766-L32AWAA and 1766-L32BWAA controllers.
(6) The 2080-L50E-24QBB, 2080-L70E-24QBB, and 2080-L70E-24QBBN require additional relay modules if the embedded output of the MicroLogix 1400 uses relay output. Use either the 2080-OW4I
plug-in module or the 2085-OW8 expansion I/O module.

18 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

MicroLogix 1400 Table 9 - MicroLogix 1400, Micro850, and Micro870 Controller Dimensions
MicroLogix 1400 Controller A B C
1766-L32BWA
1766-L32AWA
C 1766-L32BXB
180 mm (7.087 in.) 87 mm (3.43 in.) 90 mm (3.54 in.)
1766-L32BWAA
1766-L32AWAA
B A
1766-L32BXBA
Micro850 - 24-point
Micro850 Controller A B C
2080-L50E-24AWB
2080-L50E-24QWB
158 mm (6.22 in.)
2080-L50E-24QVB
2080-L50E-24QBB
2080-L50E-48AWB 80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L50E-48QWB
Micro850 - 48-point
2080-L50E-48QWBK 283 mm (9.37 in.)
2080-L50E-48QVB
2080-L50E-48QBB
Micro870 Controller A B C
2080-L70E-24AWB
2080-L70E-24QWB
Micro870 2080-L70E-24QWBN
A B 2080-L70E-24QWBK 157 mm (6.22 in.) 80 mm (3.15 in.) 90 mm (3.54 in.)
2080-L70E-24QBB
C 2080-L70E-24QBBN
2080-L70E-24QBBK

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 19


Chapter 1 Migrate Your MicroLogix Controller to a Compatible Micro800 Controller

Wiring Considerations
This section illustrates an example of wiring for your MicroLogix 1400 controller and how you can
migrate the wiring to a Micro800 controller. For a complete wiring guide for Micro800 controllers,
see Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013.
Figure 5 - Compare Wiring for a 1766-L32BXB Controller and a 2080-L70E-24QBB Controller
1766-L32BXB,
1766-L32BXBA Input terminal block

IN0 IN2 COM 1 IN5 IN7 IN8 IN10 COM 3 IN13 IN15 IN17 IN19 IV0(+) IV2(+)

COM 0 IN1 IN3 IN4 IN6 COM 2 IN9 IN11 IN12 IN14 IN16 IN18 COM IV1(+) IV3(+)
ANA

VDC VDC COM


+24 NEUT OUT0 OUT1 OUT2 OUT4 OUT6 COM 2 OUT8 OUT9 OUT10 ANA OV1

DC0 DC1 VDC2 OUT3 OUT5 OUT7 DC3 DC4 DC5 OUT11 OV0
VAC VAC VAC VAC VAC

Group 0 Group 1 Group 2 Group 3 Group 4 Group 5

Output terminal block

Input terminal block


2080-L70E-24QBB

COM0 I-01 I-03 I-05 I-07 I-08 I-10 I-12

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
I-00 I-02 I-04 I-06 COM1 I-09 I-11 I-13

+DC24 +CM0 O-01 +CM1 O-03 O-05 O-07 O-09

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-DC24 O-00 -CM0 O-02 O-04 O-06 O-08 -CM1

Output terminal block

Note: If the MicroLogix 1400 controller uses analog on the input terminal, add a Micro800 analog plug-in to the Micro800 controller.

Additional Resources
Find publications with complete lists of specifications, wiring diagrams, and other requirements.

Resource Description
MicroLogix 1400 Programmable Controllers Installation Instructions, Describes how to install and wire MicroLogix 1400 controllers.
publication 1766-IN001
MicroLogix 1400 Programmable Controllers User Manual, publication 1766-UM001 Describes how to configure and program MicroLogix 1400 controllers.
Micro800 Programmable Controllers Installation Instructions, publication 2080-IN013 Describes how to install and wire Micro810, Micro820, Micro850, and Micro870 controllers.
Micro800 Programmable Controller External AC Power Supply Installation Instructions, Describes how to install and wire an AC external power supply for Micro800 controllers.
publication 2080-IN011
Micro800 Digital Input, Output, and Combination Plug-in Modules Wiring Diagrams, Describes how to install and wire Micro800 digital plug-in modules.
publication 2080-WD011
Micro800 Plug-in Modules User Manual, publication 2080-UM004 Describes how to configure and program Micro800 plug-in modules.

20 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2

Plan Hardware Migration with Integrated


Architecture Builder

This chapter describes how to use the MicroLogix Migration Wizard within IAB software to assist
with converting your MicroLogix controller to a compatible controller. At the base level,
MicroLogix 1000, MicroLogix 1100, MicroLogix 1200, and MicroLogix 1400 controllers migrate to
Micro800 controllers. MicroLogix 1500 controllers migrate to MicroLogix 1400 controllers or
CompactLogix™ 5370 (L1/L2) controllers.

Generate Hardware Convert MicroLogix 1000, MicroLogix 1100, and MicroLogix 1200
Configuration Controllers to Micro800 Controllers
To convert your MicroLogix 1000, MicroLogix 1100, and MicroLogix 1200 system to a compatible
controller system, do the following:
1. Launch Integrated Architecture Builder software from Start —> Programs —> Rockwell
Automation —> Integrated Architecture Builder —> Integrated Architecture Builder.
Alternatively, you can double-click the IAB icon on your computer.

2. If the Raise dialog box appears, select No.

3. From the Quick Start dialog box, select New Project.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 21


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

4. Enter a name into the Workspace Name field, such as ‘MicroLogix Migration Wizard’, and
click OK.

5. Click Add Chassis to add your MicroLogix configuration.

6. Select the Migration Type based on your MicroLogix controller series.

7. Select your MicroLogix controller catalog number.

8. Add expansion modules, if any, to match your configuration.


If the configuration exceeds the limit of the target controller, the wizard prompts you to
change the target controller.

22 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

9. Select the options that apply to your MicroLogix application.

10. When the configuration is complete, click OK.


11. Click Generate Hardware.

12. Once the hardware is generated, you can view your configuration in the Hardware tab.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 23


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

13. Click the Save icon to save your project.

24 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

Convert MicroLogix 1400 Controllers to Micro850 and Micro870


Controllers
To convert your MicroLogix 1400 system to a compatible controller system, do the following:
1. Download and install the latest Product Selection Toolbox™ software, which includes IAB
software.
2. Launch Integrated Architecture Builder software from Start —> Programs —> Rockwell
Automation —> Integrated Architecture Builder —> Integrated Architecture Builder.
Alternatively, you can double-click the IAB icon on your computer.

3. If the Raise dialog box appears, select No.

4. From the Quick Start dialog box, select New Project.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 25


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

5. Enter the project name as shown.

6. Select Hardware and Create.

Add a MicroLogix 1400 Using New Hardware


1. Select New Hardware and select MicroLogix 1400.
2. Expand Controller, select the first controller in the list, and select OK.

The MicroLogix 1400 is added to the IAB project and the view is switched to the Hardware
View to display the choice. The Device List tab opens to the MicroLogix tab so that you can
drag-and-drop I/O modules to the MicroLogix 1400.
26 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023
Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

The Device List opens to the


MicroLogix tab.

Expand these categories to locate the


MicroLogix 1400 controllers and I/O modules

The Device List opens


to the MicroLogix tab.

IAB software version 9.8.2.2 has a new Migrate to Micro800 button on the hardware
view toolbar. Do not select it at this point.
3. Use the Configure Chassis button to add expansion I/O or to change the MicroLogix 1400
catalog number.
To build an existing MicroLogix 1400 system and then migrate it to a Micro800 controller do the
following:
1. From the Hardware view, select Configure Chassis.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 27


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

2. Set the Number of Modules to 7 using the up and down arrows as shown.

3. Select OK.
There are seven empty expansion module slots.
4. In the Device List window, expand the I/O Modules categories for the MicroLogix 1400 for
analog and digital I/O modules.

5. Drag-and-drop the first seven modules listed to the corresponding empty expansion I/O
slots in the Hardware View window.

1 2 3 4 5 6 7

Add EtherNet/IP and RS-232 ASCII Networks and Devices

In the Hardware View window, the MicroLogix 1400 controller is connected to an EtherNet/IP
network and RS-232 ASCII network.
1. Right-click on the controller and create a new EtherNet/IP network.
2. Connect the controller to the EtherNet/IP network by making the selections shown.

28 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

IAB switches to the Network View to show the MicroLogix 1400 connected to the newly
created EtherNet/IP network.

3. From the Device List view, expand Computers and Operator Interface —> Graphic Terminals
—> 2711R PanelView™ 800.
4. Drag-and-drop a 2711R-T10T Graphic Terminal (HMI device) to the Network View. The graphic
terminal is added to the systems and is connected to the network.

The MicroLogix 1400 system is also connected to a Serial ASCII network. To create and
connect the controller to a Serial ASCII network:
5. In the Hardware View window, right-click on the controller and select the items that are
shown to create and connect the controller to a Serial ASCII network.

6. Click OK to accept the connection.


IAB switches to the Network View to show the controller that is connected to the Serial ASCII
network.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 29


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

7. In the Device List window, expand Generic devices, and drag-and-drop the device that is
shown to the network.

Not all third-party devices are included in IAB. To represent a SERIAL ASCII
device not in IAB, you can use a generic device.

Set System Options

The existing system setup is complete. To migrate the existing controller system that you must
select the following options:
1. From the Options menu, select Auto-recommend Software in BOM and unselect Exclude
Existing Components in BOM.

• The Auto-recommend Software in BOM option adds the appropriate software based
on the products in your IAB project for those software products that exist in the
Software Portal.
• The Exclude Existing Components in BOM option determines if the MicroLogix 1400
that is being migrated shows up in the bill of materials along with the new Micro800
hardware.

Migrate to Micro800 Function in the Hardware View

To migrate the existing MicroLogix controller system correctly to an appropriate Micro800


controller system, do the following:
1. In the Hardware window, click Migrate to Micro800.

Click Migrate
to Micro800

30 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

A migration dialog box appears.

The network requirements show that both EtherNet/IP and RS-232/RS-485 networks are
needed. Hover over the information icon to see more details. The network requirements are
used for selecting an appropriate Micro800 controller.
2. Under Digital I/O Requirements, exceptions display as notes. Be sure to read the notes.
The I/O channel count for each I/O type shows next to the I/O type. Hover over the
information icon to see how many I/O channels are embedded in the controller and how
many I/O channels are used by an expansion I/O module.

3. In the Workspace window, expand the MicroLogix 1400 to see how the migration dialog box
is populating the various I/O channel counts. Review the list carefully.
4. On the migration dialog box, select Continue.
IAB launches the Hardware Selection dialog of the Micro800 Wizard and pre-populates it
with the migration requirements. The migration wizard displays the default solution.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 31


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

5. Use the drop-down menus to change the default migration solution. Consider the following
options:
• Both the Micro850 and Micro 870 controllers are viable solutions and both have a
built-in EtherNet/IP communication port.
• There are multiple Micro850 and Micro870 solutions.
• There are multiple analog I/O module solutions.
• The 2080-SERIALISOL module is added for RS-232 ASCII network support.
• Specialty modules can be added.
6. When done, select Finish on the Hardware Selection dialog box.

Migration Results

When the migration is complete, IAB switches to Hardware view. You can review the migrated
options by doing the following:
1. In the Workspace window, expand the folders.
2. Select the Micro850 controller from the list on the left to see its graphical representation to
the right.

Old MicroLogix
system

New Mico800
system

32 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

Both the existing MicroLogix 1400 and the migrated Micro850 are in the project. You can see
how the I/O requirements were migrated to the Micro850 controller by reviewing the list in
the tree view of the Workspace window.

Generate the Project Bill of Materials List

To generate a project BOM for the converted controller system, do the following:

1. From the IAB menu, select Project BOM and select OK to display the generated Project bill of
materials dialog box.
2. If prompted, save the Project BOM.

Since you chose to unselect Exclude Existing Components in BOM in Set System Options on
page 30, both the migrated to and the migrated from controllers are included in the Project
BOM.
3. Select Close to exit the dialog.

To generate a project BOM without the existing MicroLogix 1400 controller system, do the following:
1. From the Options menu, select Exclude Existing Components in BOM.

2. From the IAB menu, select Project BOM and select OK to display the generated Project bill of
materials dialog box.
Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 33
Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

3. If prompted, save the Project BOM.


4. Since you chose to select Exclude Existing Components in the BOM, only the Micro850 shows
in the Project BOM. The MicroLogix 1400 is excluded.

IMPORTANT All other existing devices remain in the Project BOM. If you want the
IAB project to retain knowledge of the existing system, you must
unselect the Exclude Existing Components in BOM option. If you
select the option, the IAB project file (.iab) loses all knowledge of the
existing MicroLogix 1400 system.
5. Select Close to exit the dialog.

34 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

Finalize the IAB Project File

In the Architecture View window, you can see both the Migrated From system (MicroLogix 1400) and
the Migrate To (Micro800) system. We recommend that you save and keep this version of the file.

You can create a favorite for the Micro800 chassis and then create a new IAB file with the newly
created favorite chassis. With this new IAB file, you can create and connect the controller to
whichever network and network devices that you need.

In the Network View and Architecture View windows, make text box notes for which network
devices you don’t need to purchase since they already exist.

Manually modify any BOM or Report to remove any existing devices. In this way, you have a
complete picture of the old system and the new system in two different IAB project files (.iab).

To create a favorite, do the following:


1. In the Hardware View window, right-click on the Micro800 controller and select Add to
Favorites.

2. Name the chassis favorite entry and select OK.


To learn more about how to use Favorites, select in IAB File —> Start Page —> QuickStarts
—> Ease of Use —> Add Favorite Chassis.

Migration Details Report Options

You can customize the report that is generated from the migration. For instance, you can include a
supplemental Material list as an appendix in the IAB report. To include the list, do the following:
1. From the Options menu, select Options —> Report Options —> Include Supplemental
Materials.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 35


Chapter 2 Plan Hardware Migration with Integrated Architecture Builder

Notes:

36 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3

Convert a MicroLogix Project to a


Micro800 Project

Overview This chapter describes two ways that you can convert your existing MicroLogix project to a
Micro800 project – convert the project manually, or use the MicroLogix to Micro800 Converter tool.

Before You Begin There is a new feature in Connected Components Workbench software version 12 or later that
changes the instructions to be more similar to RSLogix 500/RSLogix Micro. This feature is called the
Logix theme and the purpose is to switch Connected Components Workbench software instructions
into RSLogix 500/RSLogix Micro instructions.

Overview of Program Execution


A Micro800 cycle or scan consists of reading inputs, executing programs in sequential order,
updating outputs, and performing housekeeping (datalog, recipe, communications).

Program names must begin with a letter or underscore, followed by up to 127 letters, digits, or
single underscores. Use programming languages such as ladder logic, function block diagrams,
and structured text.
Up to 256 programs can be included in a project, depending on available controller memory. By
default, the programs are cyclic (executed once per cycle or scan). As each new program is added
to a project, it is assigned the next consecutive order number. When you start the Project Organizer
in Connected Components Workbench software, it displays the program icons based on this order.
You can view and modify an order number for a program from the program properties. However,
the Project Organizer does not show the new order until the next time the project is opened.

The Micro800 controller supports jumps within a program. Call a subroutine of code within a
program by encapsulating that code as a user-defined function (UDF) or user-defined function
block (UDFB). A UDF is similar to a traditional subroutine and uses less memory than a UDFB, while
a UDFB can have multiple instances. Although a UDFB can be executed within another UDFB, a
maximum nesting depth of five is supported. A compilation error occurs if this limit is exceeded.
This limit also applies to UDFs.

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 before the
controller goes into Fault mode.

Besides the User Fault Routine, Micro800 controllers also support two Selectable Timed Interrupts
(STI). STIs execute assigned programs once every setpoint interval (1…65535 ms).
The Global System Variables that are associated with cycles/scans are:
• __SYSVA_CYCLECNT – Cycle counter
• __SYSVA_TCYCURRENT – Current cycle time
• __SYSVA_TCYMAXIMUM – Maximum cycle time since last start.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 37


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Execution Rules

This section illustrates the execution of a program. The execution follows four main steps within a
loop. The loop duration is a cycle time for a program.

1. Read inputs 1
2. Execute POUs(a)/programs
2
3. Write outputs
4. Housekeeping (datalog, recipe, communications) 3

1
2
(a) Program Organizational Unit 3

When a cycle time is specified, a resource waits until this time has elapsed before starting the
execution of a new cycle. The Program Organization Unit (POU) execution time varies depending on
the number of active instructions. When a cycle exceeds the specified time, the loop continues to
execute the cycle but sets an overrun flag. In such a case, the application no longer runs in real
time.

When a cycle time is not specified, a resource performs all steps in the loop then restarts a new
cycle without waiting.

For more information, see Program Execution in Micro800 Controllers in the Micro830, Micro850,
and Micro870 Programmable Controllers User Manual, publication 2080-UM002.

High-Speed Counter
High-Speed Counter (HSC) is available in Micro800 controllers, however configuration and operation
is done through Connected Components Workbench software instructions. The more common HSC
configuration can be done from the software interface, however doing it through instructions gives
you access to all configuration options. See the HSC example under the Logix examples section
later in this chapter.

RSLogix Emulate 500 to Micro800 Simulator


While you can emulate your MicroLogix program in RSLogix™ Emulate 500, you can also do the
same now for a Micro800 program with the new Micro800 Simulator feature in Connected
Components Workbench software version 12 or later. The new Micro800 Simulator feature allows
you to do more than emulate running your program – you can create your own virtual wiring,
manipulate input signals in the Simulator interface, and interact with the Simulator with a
customized Simulator program.

38 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Logix Theme
The Logix theme can be selected from the navigation bar. When you change to the Logix theme, all
your ladder diagram instructions names are updated to how they were named in the RSLogix 500/
RSLogix Micro software.

The following example shows the difference in instruction names between the two themes.
Instruction in Default Theme

Instruction in Logix Theme

Interrupts
There are a few types of interrupts that are common to both the MicroLogix controller and the
Micro800 controller –The User Fault Routine, Event Input Interrupt (EII), Selectable Timed Interrupt
(STI), and High-Speed Counter (HSC) (applicable to embedded HSC only). In the Micro800 controller,
these interrupts are configurable under the controller branch. For more information on interrupts,
see the Connected Components Workbench software Help.

It is important to understand how to configure your own interrupt because the MicroLogix to
Micro800 Converter tool does not handle it. You have to identify and configure interrupts manually.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 39


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

For an example of how to configure an interrupt, see Configure Interrupts on a Micro800 Controller
on page 129.

Copy and Paste Code Between Software


In Connected Components Workbench software version 12 or later, the copy and paste function is
greatly enhanced. You can copy code (ladder rungs) from RSLogix 500/RSLogix Micro software and
paste it directly into Connected Components Workbench software. For example, when you are
migrating from MicroLogix controllers to Micro800 controllers, besides using the MicroLogix to
Micro800 Converter tool, you can also copy the entire ladder diagram from your RSLogix 500/
RSLogix Micro project and paste it into your Connected Components Workbench project. This
enhancement makes reusing code easy.

After you paste the code into your Connected Components Workbench project, there are cases
where you are required to make some changes manually. These cases are categorized as
supported instruction, semi-supported instruction, and unknown instructions. The following
sections briefly explain what to expect when you copy and paste a program.

Supported Instruction

This group of instructions have identical functions to their respective instruction in RSLogix 500/
RSLogix Micro software. Generally, you do not have to make any changes when you copy and paste
such code. Most of the operator type instructions work like this, such as ADD, SUB, EQU.

Semi-supported Instructions

This category applies to slightly more advanced instructions. Timer and counter are two such
instructions because when you copy and paste them into the Connected Components Workbench
software, some feature or parameter does not match. You must verify the logic and make any
necessary changes. For example, when you paste a PID instruction from RSLogix 500/RSLogix
Micro software to Connected Components Workbench software, the instruction is not identical. You
have to convert the parameters and its associated output in the program manually.
PID instruction in RSLogix 500/
RSLogix Micro software PID instruction in Connected Components Workbench software

Unsupported Instruction

When you see ‘UNK:xxx’ in the Ladder Text Input box, it means that the ‘xxx’ instruction is not
supported in Connected Components Workbench software. For example, program control

40 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

instructions such as JSR, SBR, and MCR are treated as unknown instructions (UNK) as they are not
required in Connected Components Workbench software.

Sometimes an unknown instruction can result from converting a semi-supported instruction. When
an RSLogix 500/RSLogix Micro instruction is converted to a Connected Components Workbench
instruction that has fewer parameters, the excess parameters are dropped and considered as
UNK. To determine how to configure the instruction, see the Connected Components Workbench
software Help.
TOF instruction in RSLogix 500/
RSLogix Micro software

The instruction is configured with a two second delay.

The unknown instruction ‘0’ is dropped


TOF instruction in Connected Components Workbench software out of the TOP instruction.

What You Need You need the following software to perform the conversion.
• Connected Components Workbench software version 12 or later.
• RSLogix 500/RSLogix Micro software.

Convert Your Project with The general steps to convert your project with the MicroLogix to Micro800 Converter tool can be
summarized as follows:
the Converter Tool
1. Save the RSLogix 500/RSLogix Micro Project as an SLC File
2. Run the MicroLogix to Micro800 Converter Tool
3. Convert the SLC File to a Connected Components Workbench Project
4. Understand the Conversion Process
5. Resolve Compilation Errors

Save the RSLogix 500/RSLogix Micro Project as an SLC File


1. Open the RSLogix 500/RSLogix Micro project file (.RSS) that you want to convert.
2. Save the opened project file as an .SLC file with the following settings:
• Save as type = Library Files (*.SLC)
• Export database = Selected
• Export File types = Logix

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 41


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

3. Click Save.
The Export SLC Format dialog box displays.

4. Click OK.
The Export Results dialog box displays.

5. Click OK to close the dialog box.

MicroLogix to Micro800 Converter Tool


The benefits of using the MicroLogix to Micro800 Converter tool would be faster conversion time
and that the instructions have similar input/output parameters to MicroLogix instructions. However,
there is larger memory consumption by the UDFB programs.

IMPORTANT The converter tool only supports MicroLogix controllers. The tool does not
work with other controllers even if you convert their project files to .SLC
files.

For general information about the converter tool, see the MicroLogix to Micro800 Converter tool
Help.

42 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Download and Install Connected Components Workbench Software


1. Open the following link on your browser: rok.auto/pcdc.
2. Under the Download section, click Downloads by Product.
The Selections page displays.
3. Enter the keyword ‘CCW’ in the search bar and select Software from the Categories menu.
4. Select Connected Components Workbench Standard Edition (select Developer Edition if you
have a valid activation key), then select the latest version available (version 21.01.00 is used
in this example).

5. Click Downloads.
The Downloads page displays.
6. Click the show downloads icon.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 43


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

The Available Downloads dialog displays.

7. Select the Connected Components Workbench software, then click Downloads.


The Download Cart dialog displays.

8. Click Download Now.


If you are not signed-in to the website, you are prompted to do so.
9. Download and install the application.

44 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Run the MicroLogix to Micro800 Converter Tool


There are two ways to run the MicroLogix to Micro800 Converter tool:
1. From the Connected Components Workbench menu:
Select Tools —> MicroLogix Library Converter.

The MicroLogix to Micro800 Converter tool dialog displays.

2. By command line execution:


The command must be executed in the Connected Components Workbench installation
directory with the following syntax:
CCW.Shell.exe/MicroLogixConv SourceSlcFilePath TargetCatalogID [optionConcatenateComment]

Argument Description
SourceSlcFilePath Provides the path to the .slc file to be converted.
TargetCatalogID Specifies the Catalog ID for the target controller.
Has a value of either True or False. Determines whether the instruction description
optionConcatenateComment is shortened to just the comment.

In the following example, the SLC file that is named ‘pick-and-place’ is converted for use with a
Micro850 controller (catalog number 2080-L50E-24QWB) and not to concatenate the instruction
descriptions.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 45


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Convert the SLC File to a Connected Components Workbench Project


1. Run the MicroLogix to Micro800 Converter tool.
From the Connected Components Workbench menu, select Tools MicroLogix Library
Converter.
2. Under MicroLogix Source, do the following:
a. In Source Project (*.SLC), locate your saved SLC file.
Verify that the documentation files are in the same directory.
b. Select one or more documentation files with the same name checkbox.
3. Under Micro800 Target, a compatible Micro800 catalog number automatically populates the
catalog ID field. If you want, you can select another catalog number.
The MicroLogix to Micro800 Converter tool Help lists the recommendations for
which MicroLogix controller is converted to which Micro800 controller.
4. Under Option, select the checkbox if you want to concatenate the instruction description to
variable comment.
5. Click OK to generate the Connected Components Workbench project.
Once the project is converted, you must make additional changes before it can be used. If you build
the project immediately after conversion, there are many errors and warning messages. Follow the
rest of this guide to understand what the errors mean and how to resolve them.

Understand the Conversion Process


The MicroLogix to Micro800 Converter tool helps to convert your program, I/O table, and user
documentation at a basic level. As a result, if you compile your project immediately after
conversion, there are many errors and warnings. This section describes what the converter tool
does and explains why those errors and warnings appear.

Automatically Rename Embedded I/O

When you convert a project, all embedded I/O are renamed automatically. For example, I:0/0 is
renamed to _IO_EM_DI_00. If all embedded points are converted properly, you do not need to
reassign any I/O.
MicroLogix embedded I/O terminals

Micro800 embedded I/O terminals

When the target controller does not have enough embedded I/O, the converted variable name is marked with a warning sign.

46 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

There are some situations where you must reassign I/O. For example, when you migrate from a
40-point MicroLogix controller with five or six expansion I/O modules, to a 24-point Micro870
controller. Since only Micro870 controllers support only 24 embedded I/O points, you must assign
the remaining MicroLogix embedded I/O points to the Micro870 expansion I/O modules.

The converter tool version 5.0 does not reassign terminals on the expansion I/O modules
automatically. This behavior can cause confusion as the converter tool renames the terminals on
the modules to the Micro800 embedded I/O terminals, and results in duplicate outputs.

To resolve this error, you have to rename all expansion I/O addresses. A recommended method is
to create a Long data file (For example, L9) and rename all expansion I/O addresses to the bit
address of the data file. For example, rename the address I:6/31 to L9:6/31, retaining the slot and
channel number for reference.

With this method, when you migrate into Connected Components Workbench software, L9:6/31 is
renamed to L9[6].31. Since the slot and channel number information is converted into the new
array data format, it is easy to reassign them manually to the respective I/O terminal on the
Micro800 expansion module.
This address, L9[6].31 can be denoted as
channel 31 of the sixth expansion module on the
MicroLogix controller.
This method makes it easy to map the I/O onto a
Micro800 expansion module.

Program and Subroutine

If the project is converted successfully, there is only one ladder diagram in your program file and
the rest of the ladder programs are located under the user-defined functions (UDFs) branch. The
converter tool converts subroutines into UDFs and your program calls these functions in the main
routine. However, if an interrupt initiates any of the subroutines, you must convert the interrupt
routine manually. See the Connected Components Workbench software Help on how to create an
interrupt program. You can also see Configure Interrupts on a Micro800 Controller on page 129 for
more information.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 47


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

RSLogix 500/RSLogix Micro Connected Components Workbench

MicroLogix Instructions

Most of the compilation errors are generated due to instructions. Not all MicroLogix instructions
have their equivalent in Micro800 instructions. Some instructions are similar but have differences
that require minor changes to make the Micro800 instructions behave the same as the MicroLogix
instruction.

The help file for the converter tool contains a list of the supported and unsupported MicroLogix
instructions. Unsupported instructions are probably not needed anymore due to the difference in
design between MicroLogix controllers and Micro800 controllers. For supported instructions, there
are a few categories as described here.
• Direct Replacement
MicroLogix instructions that fall under this category are basic instructions such as coil,
contact, and basic math instructions such as ADD, SUB, MUL.
• Similar Replacement
MicroLogix instructions that fall under this category means that the same instruction is
available in Micro800 controllers, but the instruction has less or more parameters. The
Micro800 instructions function slightly differently, but they can easily be configured to
achieve the same result as the MicroLogix instructions. Examples of similar instructions are
ONS, OSF, OSR, counter, and timer.
• UDFB Placeholder
MicroLogix instructions that fall under this category require more effort to resolve. For
example, the MicroLogix PWM instruction. A UDFB placeholder is a function block without
code, or empty function block. Since a Micro800 controller has its own timer, you are
expected to use this timer to develop your own PWM function within the block.
Alternatively, an example of the Micro800 PWM UDFB code is available on the Rockwell
Automation Sample Code Library at https://www.rockwellautomation.com/en-us/support/
product/product-downloads/application-code-library/sample-code.html.

48 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

This code is not identical to the MicroLogix PWM instruction, but you can use it as a guide to
configure the UDFB to suit your application.

• UDFB Replacement
MicroLogix instructions that fall under this category are replaced automatically by the
converter tool. UDFBs that replace supported MicroLogix instructions are developed to
behave as close as possible to the original instruction. Examples of UDFBs are
RA_TON_MICROLOGIX, RA_CTD_MICROLOGIX, and RA_CTU_MICROLOGIX.

Data Table Addresses

The MicroLogix processors store all data in global data tables. You can access this data by
specifying the address of the data you want. A Micro800 controller supports data that is local to a
program, and data that is global to all tasks within the controller. A Micro800 controller can also
share data with other controllers, and instead of addresses, you use tags to access the data you
want.

Each MicroLogix data table file can store several words of related data. A Micro800 controller uses
arrays to store related data. The converter tool converts the MicroLogix data table files to Micro800
arrays.

With a Micro800 controller, you use a tag (alphanumeric name) to address data (variables). The
controller uses the tag name internally and does not need to cross-reference a physical address.
The following are some examples of how a MicroLogix data table is mapped to Micro800 variables.
Table 10 - Examples of MicroLogix Data Table to Micro800 Variables Mapping
MicroLogix Address Map to Micro800 Address
N7:500 N7[500]
N17:25 N17[25]
R6:100 R6[100]
C5:0 C5[0]
T4:6 T4[6]
I:0/5 _IO_EM_DI_05
O:0/4 _IO_EM_DO_04

For an extended list of examples, see the MicroLogix to Micro800 Converter tool Help.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 49


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

User Documentation

If the Logix database is exported with your RSLogix project as a .SLC file, the symbols, address
comments, instruction comments, and rung comments in the program are preserved. There are
some limitations on the number of characters and descriptions for the comments. For example,
certain strings become concatenated. To understand more about this limitation, see the help file
for the converter tool for details.

Unconverted Project Components

The following is a list of components that are not converted.


Table 11 - Not Converted Components
Project Component Corrective Action
Although the status file is not supported, certain status file
Status data file functions functions are available in Micro800 controllers. For example, ‘First
Scan’ is available as a system variable in Micro800 controllers.
Addressing in Micro800 controllers is based on tags. These tags
Data file properties can be manipulated manually.
Index and indirect addressing for Status, Input, Handle this component programmatically.
and Output data files
Controller configuration Configure the controller manually.
I/O data tables Add the I/O manually.
I/O configuration Configure the I/O manually.
Interrupts Configure the interrupts manually.
Passwords Configure the controller password manually.
Indirect addressing Implement indirect addressing manually.
The design of Micro800 controllers eliminates the use of function
files, but configuration of functions is done through instructions or
Function files I/O configuration. Instructional behavior differences are described
in Chapter 4, RLL Instruction Mapping.

Resolve Compilation Errors


This section describes how to handle the various errors that were described in the previous
section. Application-related issues due to behavior differences between MicroLogix instructions
and Micro800 instructions are not covered. The focus is on how to solve error messages that are
generated from the conversion.

Expecting an Output or Memory BOOL Variable – UDFBs

Most of the time this error message appears due to the UDFB placeholders. Since most instructions
are converted into UDFBs, there may be many empty blocks that require your attention. Developing
the application code for these UDFBs helps to resolve a significant number of errors because a
particular UDFB function may be used multiple times within a project.

50 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Expecting a REAL Type Variable or Constant – Data Type

Instruction parameter data type is difference between MicroLogix controllers and Micro800
controllers. Many of the INT arrays that the converter tool creates are used in Micro800 instructions
that require a REAL data type. Resolving data type errors typically reduces the number of errors
significantly.

Undeclared Identifier – Variable not Declared

This variable arises from a converted project and is an indication that the MicroLogix address
format is not supported. The converter tool automatically renames the address to something that
is supported. You must resolve this error programmatically.

The following is an example of the indirect addressing error.


Table 12 - Indirect Addressing Error Example
MicroLogix Address Format Converted Micro800 Variable

Notes on a Converted Pick-and-place Application

The converted SLC file appears similar to the following:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 51


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

• By default, the Interrupt3_USER_FAULT POU program is created. From the RSLogix 500/
RSLogix Micro project, the MAIN_PROG (Lad 2) program is converted to “MAIN_PROG” in
Connected Components Workbench, while USER_FAULT (Lad 3), HSC_INT (Lad 4), STI_INT
(Lad 5), and Lad 6 to Lad 16 from the RSLogix 500/RSLogix Micro project are converted to a
UDFB.
• The converter tool adds other Interrupts (for example, Interrupt4_HSC_INT) if any HSC-
related instructions are present in the project.
You can configure it to an interrupt from the controller configuration section or delete the
interrupt program if the interrupt is not needed in the program.
• For this project, the Interrupt3_USER_FAULT can be deleted when not in use.
• For Jump to Subroutine (JSR), the converter tool creates a call to the UDFB (subroutine that
is called in JSR) in the program.
• The following data types are converted into an array (under Global Variables).

• The partially supported MicroLogix 1000 instructions are converted into a user-defined
function block (UDFB) that contains logic to perform the function of the MicroLogix
instruction.

See the converter tool Help for more information about the fully supported, partially
supported, and unsupported MicroLogix 1000 instructions.
• Results are displayed in the Output and Error List windows at the end of the conversion
process, and stored in the conversion log file.
The Error List window provides information about the items that did not fully convert from
your source project to your new project.

The Output window displays the location of the Conversion Report in CSV format, where you
can find all information from the Error list.

Once no errors are encountered and all warnings have been addressed, save the project and test
to see if it has the desired behavior.

52 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

See Appendix B, Original RSLogix 500/RSLogix Micro Ladder Diagram to view the pick-and-place
project in RSLogix 500/RSLogix Micro and in Connected Components Workbench after you have
used the converter tool.

Convert Your Project To migrate all your existing RSLogix 500/RSLogix Micro project code, you have to create a
Connected Component Workbench project with a similar structure. This section describes how to
Manually create your original program structure in the Connected Components Workbench software
environment and how to handle I/O addressing differences.
The general steps for manual conversion can be summarized as follows:
• Generate an Existing RSLogix 500/RSLogix Micro Project Report
• Create Equivalent Program Files
• Create Representative Data Files
• Create Equivalent Logic in Program File

Generate an Existing The RSLogix 500/RSLogix Micro report for your application contains information such as a program
file list, a data file list, and ladder diagrams. This information is used as reference when creating a
RSLogix 500/RSLogix Micro program in Connected Components Workbench software.
Project Report 1. Open the existing RSLogix 500/RSLogix Micro project.
2. Go to File  Report Options.

3. Modify the report options as necessary.


4. Click Print.

Create Equivalent Program The program execution between MicroLogix controllers and Micro800 controllers is different. To
understand more about Micro800 controller execution order, review Overview of Program
Files Execution on page 37.
To create the equivalent program files for your RSLogix 500/RSLogix Micro project in Connected
Components Workbench software, do the following.
1. Launch the Connected Components Workbench software.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 53


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

2. Click New.
3. Enter a project name and click Create.
Verify that the Add Device on Create checkbox is selected, otherwise the Add Device menu
does not appear.
4. From the Add Device catalog, expand Controllers and select your target controller.
See Generate Hardware Configuration on page 21 for how to generate a list of suitable target
controllers.
5. Select the latest firmware revision and click Add to Project.
6. In the Project Organizer, right-click Programs to add a ladder diagram as your main routine.

Note that subsequent programs are not subroutine. All programs under project organizer are
executed in sequential order, unless they are configured for STI or interrupt. You can incorporate
all the subroutine logic into one ladder diagram or create a UDF or UDFB to replace the subroutine.

Create UDF or UDFB to Replace Subroutine


1. Right-click UDFB or UDF under project organizer and add a ladder diagram.
2. Rename the ladder diagram according to your subroutine.
3. Repeat these steps until a UDF or UDFB has been created for each subroutine.

4. Save your project.

Create Representative Use the report that is generated for your project as a reference to create representative data files
in Connected Components Workbench software by configuring the variables for the project. If your
Data Files configuration requires expansion I/O modules, do it here. This section provides some guidance for
configuring embedded I/O, binary file, and integer file. If your project requires you to configure
more data files for expansion I/O or other data types, use this section as a guide to continue
configuring the other data files.

The following data files are used in the examples in this section:
• Output (O0)
• Input (I1)
• Binary (B3)
• Integer (N7)

54 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Set Up Embedded I/O Variables


1. On the Project Organizer panel, double-click Global Variables.
2. Create an alias for the embedded I/O following the comments in RSLogix 500 software.
Follow this Connected Components Workbench I/O addressing:
• OUTPUT (O0) = _IO_EM_DO_XX
(For example, O:0/0 = _IO_EM_DO_00)
• INPUT (I1) = _IO_EM_DI_XX
(For example, I:1/0 = _IO_EM_DI_00)
Embedded I/O Address in RSLogix Connected Components Workbench Alias in Connected Components
500/RSLogix Micro Software Global Variable Name Workbench Software
O:0/1 _IO_EM_DO_01 Motor Forward
O:0/2 _IO_EM_DO_02 Motor Reverse

Substitute Binary (B3) and Integer (N7) Data Files


Create arrays to substitute the data files BINARY (B3) and INTEGER (N7) in Connected Components
Workbench software. You need Connected Components Workbench software version 8 or later to
support array of integer bit addressing.
1. On the Project Organizer panel, double-click Global Variables.
2. Enter the N7 and B3 variables as shown in the following example:

Set Up Variables for Index Addressing


In this example, Index Addressing is used to store the encoder counts of the bin locations (total
eight bins).

The section shows the steps for configuring the variables that are needed for programming Index
Addressing in Connected Components Workbench software. Programming steps are shown in
Program Index Addressing on page 56.
1. On the Project Organizer panel, under MAIN_PROG, double-click Local Variables.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 55


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

2. Add the following variables:


Name Data Type
Offset_Value DINT
Base_Address DINT
Offset_Address DINT

• Offset_Value is the equivalent of the Index Register (S:24 in RSLogix 500).


• The sum of the Offset_Value and Base_Address is the Offset_Address.
• The data stored at N7[Offset_Address] is then passed to N7[2].

Create Equivalent Logic in This section describes how to transfer the logic from an RSLogix 500/RSLogix Micro program. In
Connected Components Workbench software version 12 or later, copy and paste between the
Program File RSLogix 500/RSLogix Micro and Connected Components Workbench software environment is
supported. You can select all logic in an RSLogix 500/RSLogix Micro program, copy, and paste it
into a Connected Components Workbench program.

However not all instructions are supported. Therefore, some rungs do not appear as expected. You
must fix the unsupported instructions and syntax-related errors manually.
1. To paste code from an RSLogix 500/RSLogix Micro program, you must change Connected
Components Workbench software to the Logix theme. This theme allows the ladder editor to
understand the code that is being pasted.
2. Copy your main program (LAD 2) from the RSLogix project and paste it in your main ladder
diagram of your Connected Components Workbench project.
3. Since Connected Components Workbench software does not support the JSR instruction,
you must replace all JSRx instructions with their respective UDFB or UDF that were created
previously.
a. Double-click the JSRx instruction to bring up the Instruction Block Selector.
b. Search for the respective UDF or UDFB.
c. Select it and click OK to insert.
d. Repeat step 3 until all JSRx instructions have been replaced with their respective UDF or
UDFB.
4. Copy the logic from the subroutine and paste them into their respective UDFB or UDF that
were created for them.

Logix Examples Here are some program examples to show how things are done in the Connected Components
Workbench software environment. For more information, see the Connected Components
Workbench software Help.

Program Index Addressing


In the RSLogix 500/RSLogix Micro project, Index Register is used to select the proper bin location
from the table starting at N7:10. In Connected Components Workbench software, we replace it with
N7[10], which was created earlier.

56 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

The ladder program shown in Figure 6 enables indexed addressing in Connected Components
Workbench software.
Figure 6 - Enable Indexed Addressing

1. Add a rung.
On the Toolbox panel, double-click Rung. A new rung displays.

2. Add a + (Addition) instruction block to rung 4.


On the Toolbox panel, drag Instruction Block into the blank rung and select MOV from the
Instruction Block Selector window.
Enter the following parameters:
• i1 = Output_Value
• i2 = Base_Address
• o1 = Offset_Address

Add a branch to the + instruction block.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 57


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

On the Toolbox panel, drag Branch and place it above the + (Addition) instruction block.

3. On the Branch, place a MOV instruction block with the following parameters:
• i1 = N7[Offset_Value]
• o1 = N7[2]

This instruction block allows the program to move the data selected based on the
Offset_Address to N7[2].

58 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Program On-delay Timer (TON) Instruction


The RSLogix 500/RSLogix Micro project also uses an on-delay timer. This section shows you how to
configure the TON instruction in Connected Components Workbench software.
1. Add a rung. This rung is used to add the TON instruction block.
On the blank rung, add the TON instruction block with the following parameters:
Table 13 - TON Instruction Block Parameters
Parameter Value (Example) Description
Preset time. The time expression must begin
with T# or TIME# prefix. The letter ‘s’ must
PT T#1s follow to indicate the number of seconds. In this
case, it is a 1 second on delay timer.
Elapsed time. This parameter shows the
ET (blank) current elapsed time. Assign a variable if you
want to monitor the elapsed time.
The rung displays as follows:

2. Add a rung. This rung is used to add the Timer Done bit.
3. On the blank rung, add the following elements and their respective variables:
• Reset Coil = _IO_EM_DO_02
• Set Coil = _IO_EM_DO_01
• Direct Contact = TON_1.Q

The following graphic shows the converted rung that uses the TON instruction in Connected
Components Workbench software:

Program Pulse Train Output (PTO) Motion


The PTO design for Micro800 controllers is the same as MicroLogix controllers, however the
configuration, and programming is different. Guidance on how to set up and program PTO for your
application is published at the Rockwell Automation technical support center in Knowledgebase
article How do I wire up and control a Kinetix 300 servo drive, using the Micro800 Pulse Train
Output control? #602158. The technical support center is available at: rok.auto/knowledgebase.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 59


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Program High Speed Counter (HSC) Instruction


Programming the HSC instruction consists of two parts:
• Load the HSC parameters
• Start the HSC

Load the HSC parameters

In RSLogix 500/RSLogix Micro software, the HSL instruction is required to configure the low and
high presets, the output patterns, and mask bit patterns.

In Connected Components Workbench software, only the HSC instruction is required. It can be used
to start/stop HSC counter, to refresh HSC status, to reload HSC setting, and to reset HSC
accumulator.

For more information, See the chapter “Use the High-Speed Counter and Programmable Limit
Switch” in the Micro830, Micro850, and Micro870 Programmable Controllers User Manual,
publication 2080-UM002.
1. Add a rung. This rung is used to add the HSC instruction block.
2. On the blank rung, add the HSC instruction block with the following parameters:
Table 14 - HSC Instruction Block Parameters
Parameter Value (Example) Description
HscCmd hs_0 HSC Commands
HscApp... hsapp_0 HSC Configuration data
HscStsln... hsstats_0 HSC Status information
PlsData hsp_0 Programmable Limit Switch Data
Sts (blank) HSC function block execution status
The following rung shows the HSC instruction that is created in Connected Components
Workbench software:

3. Add a rung. This rung is used to add the ANY_TO_UDINT and MOV instruction blocks.
4. On the blank rung, add the HSC and MOV instruction blocks with the following parameters:
Table 15 - HSC and MOV Instruction Block Parameters
Instruction Parameter Values Details
i1 N7[0]
ANY_TO_UDINT Output Mask
o1 hsapp_0.OutputMask
i1 N7[1]
ANY_TO_UDINT High Preset Output
o1 hsapp_0.HPOutput
i1 N7[2]
ANY_TO_DINT High Preset Setting
o1 hsapp_0.HPSetting

60 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Table 15 - HSC and MOV Instruction Block Parameters (Continued)


Instruction Parameter Values Details
i1 N7[3]
ANY_TO_UDINT Low Preset Output
o1 hsapp_0.LPOutput
i1 N7[4]
ANY_TO_DINT Low Preset Setting
o1 hsapp_0.LPSetting
i1 -1
MOV Underflow Setting
o1 hsapp_0.UFSetting
i1 801
MOV Overflow Setting
o1 hsapp_0.OFSetting
i1 7 Quadrature Counter with external Reset
MOV
o1 hsapp_0.HscMode and Hold

Verify that proper values for the variables OFSetting, HPSetting, and UFSetting are set before
triggering Start/Run for the HSC. Otherwise, the controller is faulted. It is optional to set a
value for LPSetting for certain counting modes.

The following rung shows the data assignment to the required HSC parameters.

Start the HSC

Before you enable the HSC function block, verify that HscCmd has been set to a valid value from
1…4. Otherwise, the controller is faulted.
Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 61
Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Build and Test Your Project After you have created the equivalent RSLogix 500/RSLogix Micro program in Connected
Components Workbench software, you must build and verify your project. Use an actual controller,
or the Micro800 Simulator feature that is available in Connected Components Workbench software
version 12 or later to perform the test. Depending on the method that you select, see the
corresponding section for instructions on how to perform the test.
• Test Project With the Micro800 Simulator
• Test Project With a Physical Controller

Test Project With the Micro800 Simulator


The Micro800 Simulator is a unique type of controller in the Connected Components Workbench
environment. You must change the existing controller in your project to use the simulation function.
Connected Components Workbench software allows you to switch to the Simulator controller
seamlessly to test your code in the Simulation environment.
1. Change controller to the Simulator controller.
a. Right-click the controller and select 'Change Controller…'

b. Select the Micro850 Simulator controller 2080-LC50-48QWB-SIM and click OK.

Another project is created for the Simulator controller.


Only selected I/O modules (plug-in and expansion) are supported in the Simulator.
Unsupported modules are removed from the Simulator controller. If your original project
uses any unsupported I/O module (for example, 2085-OW16), you must convert them to a
supported I/O module before changing your controller.

62 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

2. Start and power on the Simulator.


a. Click the 'Start Micro800 Simulator' icon from the toolbar to launch the Micro800
Simulator.

b. Click the ‘Synchronize’ icon from the toolbar to sync your I/O configuration with the
Simulator.

c. Select the IP address of the Simulator from the drop-down menu.

3. Click the 'Power' icon to power on your Simulator.

4. When the Micro800 Simulator is powered on, it appears in the FactoryTalk® Linx and
RSLinx® software. You can download a project to the Simulator as though it is a physical
Micro800 controller.
a. Right-click the controller and select Download.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 63


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

b. Select the Micro800 Simulator in the RSLinx Connection Browser and click OK.

5. Test your application with Micro800 Simulator.


a. Click an input terminal to turn on the corresponding digital input.

b. Enter a value in the input fields on the analog plug-in module.

64 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

You cannot manipulate digital and analog outputs in the simulation environment because
the program controls them.
6. Click Device —> Exit to close the Simulator.

Test Project With a Physical Controller


1. Build the project by selecting Device —> Build from the menu.

The Output window displays. The build result should show zero errors.

2. Download the project to the controller by selecting Device —>Download from the menu bar.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 65


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

The Connection Browser window displays.

3. Select the controller and click OK.


The Download Confirmation dialog displays.

4. Select Download to download the project to the controller.


Once the download is completed, the Download Confirmation dialog displays.

5. Click Yes to put the controller into RUN mode to test the program.
6. On the Project Organizer panel, double-click Main_PROG to show the ladder program.
Active rungs are displayed in red and inactive rungs in blue. You can monitor the live values
in the program.

66 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

The program goes into Debug mode for Connected Components Workbench software
version 8 or later.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 67


Chapter 3 Convert a MicroLogix Project to a Micro800 Project

Notes:

68 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4

RLL Instruction Mapping

Overview The purpose of this chapter is to identify the functional difference between the Relay Ladder Logic
(RLL) instructions of the RSLogix 500 and RSLogix Micro and Connected Components Workbench
software. The RSLogix 500 and RSLogix Micro softwares are ladder logic programming packages
for the MicroLogix processors. Connected Components Workbench software is used to develop
programs for Micro800 controllers.

The comparison only identifies the logic and behavioral differences and does not explain each
instruction in detail. See the reference manual for more details.

Definitions, Acronyms, and See the following table for definitions of terms used in this chapter.
Abbreviations Term Definition
RLL Relay Ladder Logic
CCW Connected Components Workbench software
MSB Most Significant Bit

Bit Shift BSL

Description

Shift bits to the left.


Figure 7 - BSL Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 16 - BSL Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input EN Level Triggered Input
When a rung goes from false to true, the data provided When EN is TRUE, for 32-bit integers only, it performs a shift by
F>T shifts to the left by 1 bit provided there are no errors. NbS bits and places 0 in the LSB location.
T>F On a false rung, the EN, DN, and ER bits are reset. Do Nothing
F>F On a false rung, the EN, DN, and ER bits are reset. Do Nothing

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 69


Chapter 4 RLL Instruction Mapping

Table 16 - BSL Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
When EN is TRUE, for 32-bit integers only, it performs a shift by
T>T Do Nothing NbS bits and places 0 in the LSB location.
Input File Immediate value or files that contain value IN 32-bit variable to be shifted.
Input NbS Number of bits to be shifted.
Holds the bit value to be copied to the lowest bit position
Input Bit Address Not supported
when the shift is made.
Provides the length of the bits file in the File that must be
Input Length shifted. Minimum value is 16 bits. If less than that is Not supported
provided, then also 16-bit shift is made.
DN (done), UL (unloaded), and ER (error) flags are NOT
Output Control Contains the destination address of the control flags. supported.
Output File The output is in the same file as the input. SHL Provides the shifted output
Output DN Indicates that the operation is over. Not Supported
Output EN Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations


1. The SHL instruction only provides a 32-bit data right shift.
2. There is NO indication of the last unloaded bit (UL) when a left shift is made.
3. It does not indicate that the operation is overusing a DN bit.
4. Does NOT have the provision to insert a bit at the lowest bit position of the input. In order
words, the Bit Address feature is not present.

Behavioral Differences
1. The Connected Components Workbench SHL instruction shifts one 32-bit data field. But the
RSLogix BSL instruction can shift any size of bits; (for example, 34-bit or 48-bit field sizes)
by 1.
Example: With the following ladder example, the program shifts a 34-bit data field from the
B3 data file:

2. Bits continue to shift until the MSB reaches the 15th bit position in the Binary Data File.
3. The shift operation clears the index register S:24 to zero.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for BSL is as follows:


Table 17 - BSL Instruction Valid Addressing Modes and File Types
Address
Data Files Function Files Address Level
Mode(1)
DLS - Data Log
PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
RTC
HSC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

File • • • • • • • • • •
Control (2) • •
Length • •
Source • • • • • • • • •
(1) See Important note about indirect addressing.
(2) Control file only. Not valid for Timers and Counters.

70 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 18 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
IN •
NbS •
ENO
SHL • •

BSR

Description

Shift bits to the right.


Figure 8 - BSR Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 19 - BSR Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input EN Level Triggered Input
When a rung goes from false to true, the data provided When EN is TRUE, for 32-bit integers only, it performs a shift by
F>T shifts to the right by 1 bit provided there is no error. NbS bits and places 0 in the MSB location.
T>F On a false rung, the EN, DN, and ER bits are reset. Do Nothing
F>F On a false rung, the EN, DN, and ER bits are reset. Do Nothing
When EN is TRUE, for 32-bit integers only, it performs a shift by
T>T Do Nothing NbS bits and places 0 in the MSB location.
Input File Immediate value or files that contain value IN 32-bit variable to be shifted.
Input NbS Number of bits to be shifted.
Holds the bit value to be copied to the highest bit position
Input Bit Address Not supported
when the shift is made.
Provides the length of the bits file in the File that must be
Input Length shifted. Minimum value is 16 bits. If less than that is Not supported
provided, then also 16-bit shift is made.
DN (done), UL (unloaded), and ER (error) flags are NOT
Output Control Contains the destination address of the control flags. supported.
Output File The output is in the same file as the input. SHL Provides the shifted output.
Output DN Indicates that the operation is over. Not Supported
Output EN Rung enable output ENO Rung enable output

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 71


Chapter 4 RLL Instruction Mapping

Connected Components Workbench Software Limitations


1. The SHR instruction only provides a 32-bit data right shift.
2. There is NO indication of the last unloaded bit (UL) when a right shift is made.
3. It does not indicate that the operation is overusing a DN bit.
4. Does NOT have the provision to insert a bit at the highest bit position of the input. In order
words, the Bit Address feature is not present.

Behavioral Differences
1. The Connected Components Workbench SHR instruction shifts one 32-bit data field. But the
RSLogix BSR instruction can shift any size of bits (for example, 34-bit or 48-bit field sizes) by
1.
Example: With the following ladder example, the program shifts a 34-bit data field from the
B3 data file:

2. The number of bits in the bit array, up to 1680 bits. A length value of 0 causes the input bit to
be transferred to the UL bit.
3. The shift operation clears the index register S:24 to zero.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for BSR are as follows:


Table 20 - BSR Instruction Valid Addressing Modes and File Types
Address
Data Files Function Files Address Level
Mode(1)
DLS - Data Log
PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

F
L
I

File • • • • • • • • • •
Control (2) • •
Length • •
Source • • • • • • • • •
(1) See Important note about indirect addressing.
(2) Control file only. Not valid for Timers and Counters.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 21 - Supported Data Types in Micro800 Controllers


Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT

ULINT
USINT

WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
IN •
NbS •
ENO
SHL • •

72 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Communication MSG
The MSG instruction is an output instruction that allows the controller to initiate an exchange of
data with other devices. The relationship with the other devices can be either peer-to-peer
communication or master-to-slave communication. The type of communication that a particular
application requires determine the programming configuration requirements of the MSG
instruction.

Communication Considerations

See the following chart for serial port and EtherNet/IP communications from MicroLogix 1000
controllers to Micro820/Micro850 controllers:
Table 22 - EtherNet/IP Communications from MicroLogix 1000 Controllers to Micro820/Micro850 Controllers
RS-232 Communication (MicroLogix 1000) Description Micro820 Micro850
CIP Serial (embedded serial port/ CIP Serial (embedded serial port/
DF1 full-duplex (all 1761) Point-to-point 2080-SERIALISOL plug-in) 2080-SERIALISOL plug-in)
Single master, multiple slaves up to 255
DF1 half-duplex (1761 series D and later, 1761
devices Modbus RTU (embedded serial port/ Modbus RTU (embedded serial port/
analog controllers) Baud (300...38.4 kbps) 2080-SERIALISOL plug-in) 2080-SERIALISOL plug-in)
slave to slave messaging
DH-485 half-duplex (series C and later, 1761 RS-485, up to 32 devices Modbus RTU (embedded serial port/ Modbus RTU (embedded serial port/
analog controllers), requires 1761-NET-AIC Baud (9600/19200) 2080-SERIALISOL plug-in) 2080-SERIALISOL plug-in)
Ethernet Communication (MicroLogix 1000) Description Micro820 Micro850
Requires 1761-NET-ENI — Embedded Ethernet Embedded Ethernet

For MicroLogix 1000 controllers, the MSG instruction is an output instruction that transfers data
from one node to another on the DH-485 communication network. The instruction can be
programmed as a write or read message. The target device can be another SLC™ 500 processor on
the network, or a non-SLC 500 device, using the common interface file (485CIF file 9 in SLC 500
processors). The 485CIF protocol is also used for PLC-2® type messages.

For Micro800 controllers, see the following table for supported communication instructions.
Table 23 - Supported Communication Instructions
Function Block Description
MSG_CIPGENERIC Send a CIP generic explicit message.
MSG_CIPSYMBOLIC Send a CIP symbolic explicit message.
MSG_MODBUS Send a Modbus message.
MSG_MODBUS2 Send a MODBUS/TCP message over an Ethernet Channel.

The following table lists the communication protocols that the Modbus and CIP message function
blocks support.
Table 24 - Supported Modbus and CIP Message Communication Protocols
Messaging Protocol Communication Media Use this Function Block
Through a Serial port that is configured
Modbus/RTU client and server MSG_MODBUS
as Modbus RTU
Over the Ethernet instead of through a
Modbus/TCP client and server MSG_MODBUS2
serial port
Through an embedded Ethernet MSG_CIPSYMBOLIC
EtherNet/IP client and server channel MSG_CIPGENERIC
CIP Serial client and server Ethernet cable or Serial cable MSG_CIPSYMBOLIC
Through an RS-232 port configured
ASCII See ASCII serial port instructions
with an ASCII driver

Comparison The MicroLogix supported data types for EQU, NEQ, GRT, LES, GEQ, and LEQ are as follows:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 73


Chapter 4 RLL Instruction Mapping

Table 25 - EQU, NEQ, GRT, LES, GEQ, and LEQ Instructions – Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX

HSC(3)
T, C, R

Direct

Word
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Source A • • • • • • • • • • • • • • • • • • • • • • • • •
Source B • • • • • • • • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.
(3) Only use the High-Speed Counter Accumulator (HSC.ACC) for Source A in GRT, LES, GEQ, and LEQ instructions.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

EQU

Description

Compare two data types.


Figure 9 - EQU Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 26 - EQU Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
T When EN is TRUE, then a comparison is computed.
performs an equality comparison operation.
F No operation s No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the values are equal, the rung goes true and the
Output output is energized (provided no other forces affect the o1 TRUE if Source A and Source B are equal
status of the rung).
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

Behavioral Differences

None

74 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Supported Data Types in MicroLogix Controllers

See Table 25 on page 74.


Table 27 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • •(1) • •
i2 • • • • • • • • • • • • • • •(1) • •
ENO •
o1 •
(1) The Time input applies to the ST, LD, and FBD languages.

NEQ

Description

Compare two data types for inequality.


Figure 10 - NEQ Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 28 - NEQ Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction When EN is TRUE, then a comparison is computed. If EN is
T performs an inequality comparison operation. FALSE, there is no computation.
F No operation No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the values are not equal, the rung goes true and the
Output o1 TRUE if Source A and Source B are unequal
output is energized.
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 75


Chapter 4 RLL Instruction Mapping

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

See Table 25 on page 74.


Table 29 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • • • •
ENO •
o1 •

LES

Description

This instruction checks whether one value is less than another value.
Figure 11 - LES Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 30 - LES Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction When EN is TRUE, then a comparison is computed. If EN is
T performs a comparison operation. FALSE, there is no computation.
F No operation No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the value of Source A is less than the value in Source
Output B, the rung goes true and the output is energized (provided o1 TRUE if Source A is less than Source B
no other forces affect the status of the rung).
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

76 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

See Comparison on page 73.


Table 31 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • • •
ENO •
o1 •

LEQ

Description

This instruction checks whether one value is less than or equal to another value.
Figure 12 - LEQ Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 32 - LEQ Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction When EN is TRUE, then a comparison is computed. If EN is
T performs a comparison operation. FALSE, there is no computation.
F No operation No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the value of Source A is less than or equal to the
value in Source B, the rung goes true and the output is
Output o1 TRUE if Source A is less than or equal to Source B
energized (provided no other forces affect the status of
the rung).
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 77


Chapter 4 RLL Instruction Mapping

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

See Comparison on page 73.


Table 33 - Supported Data Types in Micro800 Controllers
Data Types

Immediate
Parameter

DWORD

STRING
LWORD

LREAL
UDINT

Direct
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • •(1) • •
i2 • • • • • • • • • • • • • • •(1) • •
ENO •
o1 •
(1) The Time input applies to the ST, LD, and FBD languages.

GRT

Description

This instruction checks whether one value is greater than another value.
Figure 13 - GRT Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 34 - GRT Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction When EN is TRUE, then an equality comparison is computed. If
T performs a comparison operation. EN is FALSE, there is no computation.
F No operation No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the value of Source A is greater than the value in
Output Source B, the rung goes true and the output is energized o1 TRUE if Source A is greater than Source B
(provided no other forces affect the status of the rung).
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

78 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

See Comparison on page 73.


Table 35 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • • • •
ENO •
o1 •

GEQ

Description

This instruction checks whether one value is greater than or equal to another value.
Figure 14 - GEQ Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 36 - GEQ Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction When EN is TRUE, then a comparison is computed. If EN is
T performs a comparison operation. FALSE, there is no computation.
F No operation No operation
Input Source A Files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
When the value of Source A is greater than or equal to the
value in Source B, the rung goes true and the output is o1 TRUE if Source A is greater than Source B.
energized (provided no other forces affect the status of
the rung).
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the inputs must be of the same data type.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 79


Chapter 4 RLL Instruction Mapping

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

See Comparison on page 73.


Table 37 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • • • •
ENO •
o1 •

LIM

Description

This instruction is used to compare a value with defined lower and upper limits.
Figure 15 - LIM Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 38 - Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this LIM instruction When EN is TRUE, then a LIM comparison is computed. If EN is
T performs a comparison operation. FALSE, there is no computation.
F No operation No operation
Input Test Files that contain value X Source variable
Input High Limit Immediate value or files that contain value H Source variable
Input Low Limit Immediate value or files that contain value L Source variable
Input EPS Hysteresis Value (cannot be 0)
Output TRUE when the Test value is within or equal to limits

80 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 38 - Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Output QH TRUE if X is above High limit
Output Q TRUE if X is out of limits
Output QL TRUE if X is below Low limit
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Only allows Floating Point values.

Behavioral Differences

The behavioral differences between MicroLogix controllers and Micro800 controllers are as follows:

EXAMPLE: Case 1: Low Limit <= High Limit


LIM Results LIM_ALRM Results

The output is TRUE when the Test value is within or equal to the Lower and Upper limit, The behavior of the output Q is shown according to the following graph:
that is

Lower Limit <= Test Value <= Upper Limit.

Otherwise the output is FALSE.

EXAMPLE: Case 2: Low Limit > High Limit

LIM Results LIM_ALRM Results

The output is FALSE when the Test value is within the Upper and Lower limit, that is The behavior of the output Q is shown according to the following graph:

Upper Limit < Test value < Lower Limit.

Otherwise the output is TRUE.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 81


Chapter 4 RLL Instruction Mapping

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for LIM is as follows:


Table 39 - LIM Instruction Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Low Limit • • • • • • • • • • • • • • • • • • • • • • • • •
Test • • • • • • • • • • • • • • • • • • • • • • • • •
High Limit • • • • • • • • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 40 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
H •
X •
L •
EPS •
QH • •
Q •
QL •

Control JMP

Description

Jump to label.
Figure 16 - JMP Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

82 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 41 - JMP Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input Level Triggered Input
When the rung condition for this output instruction is true, the processor
jumps forward or backward to the corresponding label instruction (LBL) and
resumes program execution at the label. Multiple JMP instructions can jump When the connection on the left of the Jump is TRUE, the diagram at the label is
T to the same label. Jumping forward to a label saves program scan time by executed.
omitting a program segment until needed. Jumping backward lets the
controller execute program segments repeatedly.
When the rung state is false, execution proceeds to the instruction When the connection on the left of the Jump is FALSE, the next instruction after
F immediately following the JMP instruction. the jump is executed.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

Not applicable

LBL

Description

Labels are used as a target for jump instructions or to control the execution of the diagram.
Figure 17 - LBL Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 42 - LBL Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
This input instruction is the target of the JMP instruction having the same Provide the label on the rung for the jump instruction to move the execution to
Input label number. It is always evaluated as true or logic 1. this rung.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 83


Chapter 4 RLL Instruction Mapping

Supported Data Types in MicroLogix Controllers

Not applicable

RET

Description

This output instruction marks the end of subroutine execution or the end of the subroutine file.
Figure 18 - RET Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 43 - RET Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input Level Triggered Input
When the rung state is true, execution reverts to the next instruction in the When the left connection of the rung is in TRUE state, the diagram ends without
T program, either following the calling JSR instruction (subroutine call) or to the executing the instructions that follow it.
point where a user or user fault routine started executing.
When the rung state is false, execution proceeds to the instruction When the left side of the rung is FALSE, the instructions below it continue to get
F immediately following the RET instruction. executed.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

Not applicable

SUS

Description

This instruction places the controller in the Suspend Idle mode.


Figure 19 - SUS Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

84 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 44 - SUS Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
On a true rung, this instruction causes the processor to When the rung is TRUE, the controller is suspended and it
T enter the Suspend Idle mode and causes all outputs to be remains in RUN mode.
de-energized.
F No operation No operation
Input Suspend ID Suspend ID value Sus ID Suspend ID value
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Can only support positive Suspend IDs.

Behavioral Differences

For MicroLogix Controllers:


1. The range of suspend IDs are from -32,768 to +32,767.
2. The suspend ID is placed in word 7 (S:7) of the status file.
3. The suspend file (program or subroutine number that identifies where the executed SUS
instruction resides) is placed in word 8 (S:8) of the status file.

Supported Data Types in MicroLogix Controllers

Not applicable
Table 45 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN/ENABLE •
SusID •
ENO •

TND

Description

This instruction is used to debug a program progressively, or conditionally omit the balance of your
current program file or subroutines.
Figure 20 - TND Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 85


Chapter 4 RLL Instruction Mapping

Table 46 - Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Inputs EN/Enable Level Triggered Input
When the rung that contains this instruction is true, it stops
the controller from scanning the rest of the program file,
T Same
updates the I/O, and resumes scanning at rung 0 of the
main program.
F No operation No operation
Output If TRUE, the function is performed. TND/ENO Same as TND

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:

When using a MicroLogix controller, do not execute this instruction from the user error fault routine
(file 3), high-speed counter routine (file 4), or selectable timed routine (file 5), otherwise a fault
(major fault 0035) occurs.

Supported Data Types in MicroLogix Controllers

Not applicable
Table 47 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
TND •
ENO •

I/O Related Interrupt IIM

Description

This instruction is used to update the input data without waiting for the next input scan to begin.

86 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Figure 21 - IIM Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Table 48 - IIM Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
When the rung that contains this instruction is true, the
program scan cycle is interrupted. Each word of data that
starts at the specified Input has Mask applied to it. The When the rung condition is TRUE, it updates the input data
T masked data is then transferred to the input file, making without waiting for the next input scan.
the masked data available to instructions following this
instruction in the ladder program. The program scan then
resumes.
F No operation No operation
Input Slot Indicates the slot or a particular word in a slot. InputSlot Slot number
Input Mask Immediate value or files that contain value Not supported
Input InputType 0: Embedded, 1: Plug-in input
Output Sts
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations


1. Does not allow masking of the data bits that are read from the input slot.
2. Cannot specify individual words in a particular slot.

Behavioral Differences

For MicroLogix Controllers:


1. IIM instruction cannot be used with expansion I/O slots.
2. Mask Value – Can specify with a constant or register address. The constant can be binary,
decimal, or hexadecimal. For the mask, a (1) in the bit position of an input passes data from
the source to the destination. A (0) inhibits data from passing from the source to the
destination.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for IIM is as follows:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 87


Chapter 4 RLL Instruction Mapping

Table 49 - IIM Instruction Valid Addressing Modes and File Types

Data Files Function Files Address Address Level


Mode

DLS - Data Log


PTOX, PWMX

CS - Comms
Parameter

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I
Slot • • • •
Mask • • • • • • • • •
Length •

Table 50 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT
SINT

LINT
INT

EN/ENABLE •
InputType •
InputSlot •
Sts •
ENO •

IOM

Description

This instruction is used to update the outputs without waiting for the next output scan.
Figure 22 - IOM Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 51 - IOM Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
When the rung that contains this instruction is true, the
program scan cycle is ed. Each word of data from the When the rung condition is TRUE, it updates the output without
T specified output file has Mask applied to it. The masked waiting for the next input scan.
data is then transferred to the specified Output. The
program scan then resumes.
F No operation No operation
Input Slot Indicates the slot or a particular word in a slot. Output Slot Slot number
Input Mask Immediate value or files that contain value i2 Not supported

88 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 51 - IOM Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input OutputType 0: Embedded, 1: Plug-in input
Output Sts
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations


1. Does not allow masking of the data bits that are written to the output slot.
2. Cannot specify individual words in a particular slot.

Behavioral Differences

For MicroLogix Controllers:


1. IOM instruction cannot be used with expansion I/O slots.
2. Mask Value - Can specify with a constant or register address. The constant can be binary,
decimal, or hexadecimal. For the mask, a (1) in the bit position of an input passes data from
the source to the destination. A (0) inhibits data from passing from the source to the
destination.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for IOM is as follows:


Table 52 - IOM Instruction Valid Addressing Modes and File Types

Data Files Function Files Address Address Level


Mode

DLS - Data Log


PTOX, PWMX

CS - Comms
Parameter

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Slot • • • •
Mask • • • • • • • • •
Length •

Table 53 - Supported Data Types in Micro800 Controllers


Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN/ENABLE •
OutputType •
OutputSlot •
Sts •
ENO •

Selectable Timed Interrupts STD


Description

Disable timer.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 89


Chapter 4 RLL Instruction Mapping

Figure 23 - STD Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Table 54 - STD Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
When true, this instruction resets the STI enable bit and
T Disables the timer
prevents the STI subroutine from executing.
When the rung goes false, the STI enable bit remains reset
F until a true STS or STE instruction is executed. The STI No operation
timer continues to operate while the enable bit is reset.
IRQ Type Select the type
Output Rung enable output UID/ENO Rung enable output
IRQ Type Select the type

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

Not applicable
Table 55 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT
SINT

LINT
INT

EN •
IRQType •
UID •

STE

Description

Enable timer.

90 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Figure 24 - STE Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Table 56 - STE Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
T When true, this instruction sets the STI enable bit and Enable the timer
allows execution of the STI subroutine.
When the rung goes false, the STI enable bit remains set
F until a true STD instruction is executed. This instruction No operation
has no effect on the operation of the STI timer or setpoint.
Output Rung enable output UIE/ENO Rung enable output
IRQ Type Select the type

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

Not applicable
Table 57 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
IRQType •
UID •

STS

Description

Configure timer.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 91


Chapter 4 RLL Instruction Mapping

Figure 25 - STS Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Table 58 - STS Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN/Enable Level Triggered Input
Upon a true execution of the rung, this instruction enters
the file number and setpoint in the status file (S:31 and When the enable is TRUE, then it updates the new setpoint with
T S:30), and overwrites the existing data. Simultaneously, the value that is provided for a particular IRQ Type.
the STI timer is reset and begins timing: at timeout, the STI
subroutine executes.
F No operation No operation
IRQ Type Supports up to 4 timers
Input File STI File Number
Specify time period in "ms". A value of zero disables this Setpoint Specify time period in "ms". A value of zero disables this
Input Time function. function.
Output Rung enable output STIS/ENO Rung enable output

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:


The file number and setpoint is entered into the status file (S:31 and S:30).

Supported Data Types in MicroLogix Controllers

Not applicable
Table 59 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN/ENABLE •
IRQType •
SetPoint •
STIS •

92 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

File Manipulation COP

Description

Copy a block of data from source to destination.


Figure 26 - COP Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 60 - Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
When the rung condition is true, the instruction gets When the rung condition is TRUE, then the instruction is
Input EN/Enable
executed. executed.
Input Source File address from where the data has to be copied Src Source array data
Input Not supported SrcOffset Source offset value
Input Destination File address to which the data has to be copied Dest Destination array data
Input Not supported DestOffset Destination offset value
Number of words to be copied from source to
Input Length Length Number of elements to copy
destination
Input Swap Swap the bytes
Output STS Status Values
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

If the source or destination is a String data type, the other party must also be a String data type, or
a USINT (UCHAR and BYTE) data type. If it is not, a data type mismatch is reported.

Behavioral Differences

For MicroLogix Controllers:

The maximum length that can be copied depending on data type is as follows:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 93


Chapter 4 RLL Instruction Mapping

Table 61 - Maximum Lengths for the COP Instruction


Source/Destination Data Type Range of Length Operand
1 word elements (for example, word) 1…128
2 word elements (for example, long word) 1…64
3 word elements (for example, counter) 1…42
42 word elements (for example, string) 1…3

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for COP is as follows:


Table 62 - COP Instruction Valid Addressing Modes and File Types
Address
Data Files Function Files Address Level
Mode(1)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
RTC
HSC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N

A
O

B
S

L
I

Source • • • • • • • • • • • • •
Destination • • • • • • • • • • • • •
Length •
(1) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 63 - Supported Data Types in Micro800 Controllers


Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT

LINT
SINT

INT

EN/ENABLE •
Src • • • • • • • • • • • • • • • • • •
SrcOffst •
Dest • • • • • • • • • • • • • • • • •
DestOffset •
Length •
Swap •
STS •
ENO •

Math The MicroLogix supported data types for ADD, SUB, MUL, DIV, NEG, and CLR are as follows:
Table 64 - Math Instructions (ADD, SUB, MUL, DIV, NEG, CLR) Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(3)
DLS - Data Log(2)
PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Source A • • • • • • • • • • • • • • • • • • • • • • • • • •
Source B • • • • • • • • • • • • • • • • • • • • • • • • • •
Destination • • • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) The Data Log Status file can only be used for the following math instructions: ADD, SUB, MUL, DIV, NEG, and SCP.
(3) See Important note about indirect addressing.

94 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

ADD

Description

Add two values.


Figure 27 - ADD Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 65 - ADD Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction adds
Source A to Source B and stores the result at the When EN is TRUE, then addition is computed. If EN is FALSE,
T destination address. If the rung is false, then there is no there is no computation.
computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
Output Dest Contains the destination address o1 Destination variable
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Only supports the same data types for both input and output.

Behavioral Differences

For MicroLogix Controllers:


1. If the destination bit receives a value less than -32,768 or greater than +32,767 (a number
that requires more than 16 bits to represent), the processor sets S:0/1 (overflow bit) and
S:5/0 (overflow trap bit, major error 0020). Bit S:5/0 in the program can be monitored.
If a MicroLogix processor (capable of 32-bit addition) is used, the math overflow bit (S:2/14)
in the status file should be set. This causes the unsigned, truncated, least significant 16 bits
to remain in the destination.
If this bit is not set and an underflow or overflow conditions occurs, the destination address
contains a 32,767 (if the result is positive) or -32,768 (if the result is negative).
2. This instruction impacts the status flags in the following way:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 95


Chapter 4 RLL Instruction Mapping

Table 66 - Status Flag Impact


With this Bit: The Controller:
S:0/0 Carry (C) Sets if carry is generated; otherwise resets.
Sets if overflow is detected at destination; otherwise resets. On overflow, the
minor error flag is also set. The value -32,768 or +32,767 is placed in the
S:0/1 Overflow (V) destination. If S:2/14 (math overflow selection bit) is set, then the unsigned,
truncated overflow remains in the destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets.
S:0/3 Sign (S) Sets if result is negative, otherwise resets.

Supported Data Types in MicroLogix Controllers

See Math on page 94.


Table 67 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 • • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • • • •
ENO •

SUB

Description

Subtract two values.


Figure 28 - SUB Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 68 - Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
T subtracts Source A to Source B and stores the result at the When EN is TRUE, then subtraction is computed. If EN is FALSE,
destination address. If the rung is false, then there is no there is no computation.
computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable

96 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 68 - Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Source B Immediate value or files that contain value i2 Source variable
Output Dest Contains the destination address o1 Destination variable
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Only supports the same data types for both input and output.

Behavioral Differences

For MicroLogix Controllers:


1. If the destination bit receives a value less than -32,768 or greater than 32,767 (a number that
requires more than 16 bits to represent), the processor sets S:0/1 (overflow bit) and
S:5/0 (overflow trap bit, major error 0020). Bit S:5/0 in the program can be monitored.
If a MicroLogix processor (capable of 32-bit addition) is used, the math overflow bit
(S:2/14) in the status file should be set. This causes the unsigned, truncated, least
significant 16 bits to remain in the destination.
If this bit is not set and an underflow or overflow conditions occurs, the destination
address contains a 32,767 (if the result is positive) or -32,768 (if the result is negative).
2. This instruction impacts the status flags in the following way:
Table 69 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Sets if borrow is generated; otherwise resets.
Sets if underflow; otherwise reset. On underflow, the minor error flag is also set.
The value -32,768 or 32,767 is placed in the destination. If S:2/14 (math overflow
S:0/1 Overflow (V) selection bit) is set, then the unsigned, truncated overflow remains in the
destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets.
S:0/3 Sign (S) Sets if result is negative, otherwise resets.

Supported Data Types in MicroLogix Controllers

See Math on page 94.

For this instruction, the source has to be a word (16 bits), so all relevant data types with word sizes
are supported.
Table 70 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT
SINT

LINT
INT

EN •
i1 • • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • • •
ENO •

MUL

Description

Perform multiplication on two numbers.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 97


Chapter 4 RLL Instruction Mapping

Figure 29 - MUL Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 71 - MUL Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this instruction multiplies When EN is TRUE, then multiplication between the two inputs is
T Source A by Source B and stores the result in the computed. If EN is FALSE, there is no computation.
destination.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
Output Dest Contains the destination address o1 Destination variable

Connected Components Workbench Software Limitations

Only supports the same data types for both input and output.

Behavioral Differences

For MicroLogix Controllers:


1. If a value greater than +32,767 is returned, a minor error flag is set, and the value 32,767 is
placed in the destination. For a MicroLogix processor if the S:2/14 (math overflow selection
bit) set, then the unsigned, truncated, least significant 16 bits of the overflow value remains
in the destination. The math register contains the 32-bit signed integer result of the multiply
operation. This result is valid at overflow.
2. This instruction impacts the status flags in the following way:
Table 72 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
Sets if overflow is detected at destination; otherwise resets. On overflow, the
minor error flag is also set. The value -32,768 or 32,767 is placed in the
S:0/1 Overflow (V) destination. If S:2/14 (math overflow selection bit) is set, then the unsigned,
truncated overflow remains in the destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets.
S:0/3 Sign (S) Sets if result is negative, otherwise resets.

Supported Data Types in MicroLogix Controllers

See Math on page 94.

98 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 73 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • •
ENO •

DIV

Description

Perform division on two numbers.


Figure 30 - DIV Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 74 - DIV Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this instruction divides
When EN is TRUE, then division between the two inputs is
T Source A by Source B and stores the result in the computed. If EN is FALSE, there is no computation.
destination and the math register.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable
Input Source B Immediate value or files that contain value i2 Source variable
Output Dest Contains the destination address o1 Destination variable

Connected Components Workbench Software Limitations


1. Only supports same data types for both input and output.
2. The value that is stored in the destination is NOT rounded.

Behavioral Differences

For MicroLogix Controllers:


1. If a value greater than +32,767 is returned, a minor error flag is set, and the value 32,767 is
placed in the destination. However, if you are using a Series C or later MicroLogix processor
and have S:2/14 (math overflow selection bit) set, then the unsigned, truncated least
significant 16 bits of the overflow remains in the destination.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 99


Chapter 4 RLL Instruction Mapping

2. If the remainder is 0.5 or greater, the destination is rounded up. The unrounded quotient is
placed in the most significant word of the math register; the remainder is placed in the least
significant word.
3. This instruction impacts the status flags in the following way:
Table 75 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
Sets if division by zero or overflow is detected; otherwise resets. On overflow, the
minor error flag is also set. The value 32,767 is placed in the destination. If S:2/14
S:0/1 Overflow (V) (math overflow selection bit) is set, then the unsigned, truncated overflow
remains in the destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets; undefined if overflow is set.
S:0/3 Sign (S) Sets if result is negative, otherwise resets; undefined if overflow is set.

Supported Data Types in MicroLogix Controllers

See Math on page 94.


Table 76 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • •
ENO •

DDV

Description

Perform division on two numbers.


Figure 31 - DDV Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 77 - DDV Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this instruction divides the When EN is TRUE, then division between the two inputs is
T 32-bit math register by Source B and stores the result in computed. If EN is FALSE, there is no computation.
the destination and the math register.
F No operation No operation

100 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 77 - DDV Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Source A 32-bit math register i1 Source variable
Source (or
Input Immediate value or files that contain value (16 bits) i2 Source variable
divisor)
Output Dest (or quotient) Contains the destination address o1 Destination variable

Connected Components Workbench Software Limitations


1. Only supports same data types for both input and output.
2. The value that is stored in the destination is NOT rounded.

Behavioral Differences

For MicroLogix Controllers:


1. If the value of the quotient is greater than +32,767, then the overflow flag is set and the
value 32,767 is placed in the destination. In normal cases, the quotient is rounded.
2. The math register initially contains the dividend of the DDV operation. Upon execution, the
un-rounded quotient is placed in the most significant word of the math register. The
remainder is placed in the least significant word of the math register.
3. This instruction impacts the status flags in the following way:
Table 78 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
Sets if division by zero or if result is greater than 32,767 or less than -32,768;
S:0/1 Overflow (V) otherwise resets. On overflow, the minor error flag is also set. The value 32,767 is
placed in the destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets.
S:0/3 Sign (S) Sets if result is negative, otherwise resets; undefined if overflow is set.

Supported Data Types in MicroLogix Controllers

See Math on page 94.


Table 79 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT

ULINT
USINT

WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 • • • • • • • • • • • • • •
i2 • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • •
ENO •

NEG

Description

Change the sign on the value.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 101


Chapter 4 RLL Instruction Mapping

Figure 32 - NEG Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Table 80 - NEG Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, the NEG instruction
T changes the sign of the Source and places the result in the When EN is TRUE, it converts the sign on the input.
Destination.
F No operation No operation
Input Source Files that contain value i1 Source variable
Output Dest Contains the destination address o1 Destination variable
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Both the input and the output must be of the same data type.

Behavioral Differences

For MicroLogix Controllers:

This instruction impacts the status flags in the following way:


Table 81 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Clears if 0 or overflow; otherwise sets.
Sets if overflow; otherwise resets. Overflow occurs only if -32,768 is the source.
S:0/1 Overflow (V) The value 32,767 is placed in the destination. If S:2/14 (math overflow selection
bit) is set, then the unsigned, truncated overflow remains in the destination.
S:0/2 Zero (Z) Sets if result is zero, otherwise resets.
S:0/3 Sign (S) Sets if result is negative, otherwise resets.

Supported Data Types in MicroLogix Controllers

See Math on page 94.


Table 82 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

WORD

ULINT
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 • • • • • •
o1 • • • • • •
ENO •

102 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

SQR

Description

Find the square root of a number.


Figure 33 - SQR Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 83 - SQR Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, the SQR instruction
T calculates the square root and places the rounded result When EN is TRUE, it calculates the square root of the input.
in the Destination.
F No operation No operation
Input Source Files that contain value or immediate value i1 Source variable. Must be greater than equal to zero.
Output Dest Contains the destination address SQRT Destination variable. The result is zero for negative input.
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations


1. Does not allow negative numbers as input.
2. Both the input and the output must be of the same data type.

Behavioral Differences

For MicroLogix Controllers:


1. For MicroLogix processors, constants are invalid for the source parameter.
2. This instruction calculates the square root of a negative number without overflow or faults.
In applications where the source value may be negative, use a comparison instruction to
evaluate the source value to determine if the destination is invalid.
3. This instruction impacts the status flags in the following way:
Table 84 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Sets if the source is negative; otherwise cleared.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if destination value is zero.
S:0/3 Sign (S) Always resets.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types SQR is as follows:

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 103


Chapter 4 RLL Instruction Mapping

Table 85 - SQR Instruction Valid Addressing Modes and File Types


Address
Data Files Function Files Address Level
Mode(1)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

F
L
I

Source • • • • • • • • • • • • •
Destination • • • • • • • • • • • •
(1) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 86 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
IN •
SQRT •
ENO •

Move and Logical The MicroLogix supported data types for AND, OR, XOR and NOT are as follows:
Table 87 - Logical Instructions Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS- Data Log


PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
RTC
HSC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Source A • • • • • • • • • • • • • • • • • • • • • • • • •
(3) • • • • • • • • • • • • • • • • • • • • • • • • •
Source B
Destination • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are valid for MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.
(3) Source B does not apply to the NOT instruction. The NOT instruction only has one source value.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 88 - Supported Data Types in Micro800 Controllers


Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT

ULINT
USINT

WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 • • • • • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • • • • • •
ENO •

104 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

MOV

Description

Move data from source to destination.


Figure 34 - MOV Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 89 - MOV Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions that precede this instruction are
true, the MOV instruction moves a copy of the source to the
T When EN is TRUE, copy the value of i1 to o1.
destination each scan. The original value remains intact
and unchanged in its source location.
F No operation No operation
Input Source Immediate value or files that contain value i1 Source variable
Output Dest Contains the destination address o1 Destination variable
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

Only supports same data types for both input and output.

Behavioral Differences

For MicroLogix Controllers:


1. The bit field variable can also be moved to an integer file. For example, B3:0 can be added to
N7:0 where all 16 bits in the B3:0 fields are used for moving.
2. This instruction impacts the status flags in the following way:
Table 90 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if result is zero; otherwise resets.
S:0/3 Sign (S) Sets if result is negative (most significant bit is set); otherwise resets.

Table 91 - Logical Instructions Valid Addressing Modes and File Types


Address
Data Files Function Files(1) Address Level
Mode(2)
DLS- Data Log
PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Source • • • • • • • • • • • • • • • • • • • • • • • • • • •
Destination • • • • • • • • • • • (3) (3) (3) (3) • • • •
(1) PTOX and PWMX files are valid for MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.
(3) Some elements can be written to. Consult the function file for details.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 105


Chapter 4 RLL Instruction Mapping

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

Table 92 - Supported Data Types in Micro800 Controllers


Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
i1 • • • • • • • • • • • • • • • • • •
o1 • • • • • • • • • • • • • • • • • •
ENO •

AND

Description

Perform logical AND operation on two values bit by bit.


Figure 35 - AND Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 93 - AND Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
performs logical AND operation, bit by bit on Source A and
T When rung conditions are true, this instruction is executed.
Source B and stores the result at the destination address.
If the rung is false, then there is no computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable (BOOL only)
Input Source B Immediate value or files that contain value i2 Source variable (BOOL only)
Output Dest Contains the destination address o1 Destination variable (BOOL only)
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

The Connected Components Workbench AND operator only supports BOOL values.

Behavioral Differences

For MicroLogix Controllers:

This instruction impacts the status flags in the following way:

106 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 94 - Status Flag Impact


With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if result is zero; otherwise resets.
S:0/3 Sign (S) Sets if most significant bit is set; otherwise resets.

Supported Data Types in MicroLogix Controllers

See Move and Logical on page 104.


Table 95 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 •
o1 •
ENO •

XOR

Description

Perform logical XOR operation on two values bit by bit.


Figure 36 - XOR Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 96 - XOR Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
performs logical XOR operation, bit by bit on Source A and When EN is TRUE, then logical XOR between the two inputs is
T Source B and stores the result at the destination address. computed. If EN is FALSE, there is no computation.
If the rung is false, then there is no computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable (BOOL only)
Input Source B Immediate value or files that contain value i2 Source variable (BOOL only)
Output Dest Contains the destination address o1 Destination variable (BOOL only)
Output Rung enable output ENO Rung enable output

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 107


Chapter 4 RLL Instruction Mapping

Connected Components Workbench Software Limitations

The Connected Components Workbench XOR operator only supports BOOL values.

Behavioral Differences

For MicroLogix Controllers:

This instruction impacts the status flags in the following way:


Table 97 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if result is zero; otherwise resets.
S:0/3 Sign (S) Sets if result is negative (most significant bit is set); otherwise resets.

Supported Data Types in MicroLogix Controllers

See Move and Logical on page 104.


Table 98 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
i1 •
i2 •
o1 •
ENO •

OR

Description

Perform logical OR operation on two values bit by bit.


Figure 37 - OR Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

108 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 99 - OR Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
performs logical OR operation, bit by bit on Source A and When EN is TRUE, then logical OR between the two inputs is
T Source B and stores the result at the destination address. computed. If EN is FALSE, there is no computation.
If the rung is false, then there is no computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable (BOOL only)
Input Source B Immediate value or files that contain value i2 Source variable (BOOL only)
Output Dest Contains the destination address o1 Destination variable (BOOL only)
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

The Connected Components Workbench OR operator only supports BOOL values.

Behavioral Differences

For MicroLogix Controllers:

This instruction impacts the status flags in the following way:


Table 100 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if result is zero; otherwise resets.
S:0/3 Sign (S) Sets if result is negative (most significant bit is set); otherwise resets.

Supported Data Types in MicroLogix Controllers

See Move and Logical on page 104.


Table 101 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT

LINT
SINT

INT

EN •
i1 •
i2 •
o1 •
ENO •

NOT

Description

Perform logical NOT operation on two values bit by bit.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 109


Chapter 4 RLL Instruction Mapping

Figure 38 - NOT Functional Block Diagram


Supported Data Types in Micro800 Controllers

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 102 - NOT Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input EN Level Triggered Input
When rung conditions are true, this output instruction
performs logical NOT operation, bit by bit on Source A and When EN is TRUE, then logical NOT of the input is computed. If
T stores the result at the destination address. If the rung is EN is FALSE, there is no computation.
false, then there is no computation.
F No operation No operation
Input Source A Immediate value or files that contain value i1 Source variable (BOOL only)
Output Dest Contains the destination address o1 Destination variable (BOOL only)
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

The Connected Components Workbench NOT operator only supports BOOL values.

Behavioral Differences

For MicroLogix Controllers:

This instruction impacts the status flags in the following way:


Table 103 - Status Flag Impact
With this Bit: The Controller:
S:0/0 Carry (C) Always resets.
S:0/1 Overflow (V) Always resets.
S:0/2 Zero (Z) Sets if result is zero; otherwise resets.
S:0/3 Sign (S) Sets if result is negative (most significant bit is set); otherwise resets.

Supported Data Types in MicroLogix Controllers

See Move and Logical on page 104.


Table 104 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT

LINT
SINT

INT

EN •
i1 •
o1 •
ENO •

110 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Relay Type XIC

Descriptions

Examine whether the bit field is ON based on the rung state.


Figure 39 - XIC Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Examine if Closed Direct Contact

Table 105 - XIC Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Rung state is TRUE Rung state is TRUE
If the address bit is TRUE, then outputs on the rung are If the address bit is TRUE, then outputs on the rung are
Output energized. energized.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for XIC is as follows:


Table 106 - XIC and XIO Instructions Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)
DLS - Data Log
PTOX, PWMX

Parameter
CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Operand Bit • • • • • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

XIO

Description

Examine whether the bit field is OFF based on the rung state.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 111


Chapter 4 RLL Instruction Mapping

Figure 40 - XIO Functional Block Diagram


RSLogix 500/RSLogix Micro Connected Components Workbench

Examine if Open Reverse Contact

Table 107 - XIO Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Rung state is TRUE Rung state is TRUE
If the address bit is TRUE, then outputs on the rung are de- If the address bit is TRUE, then outputs on the rung are de-
Output energized. energized.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for XIO is as follows:


Table 108 - XIC and XIO Instructions Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX

Parameter CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Operand Bit • • • • • • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

OTE

Description

Energize the bit field based on the rung state.


Figure 41 - OTE Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Output Energize Direct Coil

112 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 109 - OTE Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Rung state Rung state
This instruction is used to turn on a bit location when rung
Output conditions are evaluated as true and off when the rung is Same
evaluated as false.

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:

The OTE is reset when programmed within an inactive or false Master Control Reset (MCR) zone.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for OTE is as follows:


Table 110 - OTE Instruction Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX

Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Destination Bit • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

OTL

Description

Latch (Set) the bit field.


Figure 42 - OTL Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Output Latch Set Coil

Table 111 - OTL Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Rung state Rung state
When the rung conditions are TRUE, this bit is set or When the rung conditions are TRUE, this bit is set or “latched”
“latched” on. Once a bit has been set “on” (1 in the on. Once a bit has been set “on” (1 in the memory), it remains
Output memory), it remains “on” even if the rung condition goes “on” even if the rung condition goes false. The bit must be
false. The bit must be reset with an OTU instruction. reset with a Reset Coil instruction.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 113


Chapter 4 RLL Instruction Mapping

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:


1. If there is a power loss, any OTL-controlled output device energizes with the return of power
if the OTL bit was set when power was lost.
2. If an error condition occurs that halts processing, the physical output is turned off. But once
the error condition is cleared the controller resumes operation with the OTL in the state that
is determined by its data table value.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for OTL is as follows:

Table 112 - OTL and OTU Instructions Valid Addressing Modes and File Types
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Operand Bit • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

OTU

Description

Unlatch (Reset) the bit field.


Figure 43 - OTU Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Output Unlatch Reset Coil

Table 113 - OTU Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Rung state Rung state
When the rung conditions are TRUE, this bit is reset or When the rung conditions are TRUE, this bit is reset or
“unlatched” on. Once a bit has been reset “off” (0 in the “unlatched” on. Once a bit has been reset “off” (0 in the
Output memory), it remains “off” even if the rung condition goes memory), it remains “off” even if the rung condition goes false.
false. The bit must be set with an OTL instruction. The bit must be set with a Set Coil instruction.

114 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:


1. If there is a power loss, any OTL-controlled output device energizes with the return of power
if the OTL bit was set when power was lost.
2. If an error condition that halts processing occurs, the physical output is turned off. But once
the error condition is cleared the controller resumes operation with the OTU in the state that
is determined by its data table value.

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for OTU is as follows:


Table 114 - OTL and OTU Instructions Valid Addressing Modes and File Types.
Address
Data Files Function Files(1) Address Level
Mode(2)

DLS - Data Log


PTOX, PWMX
Parameter

CS - Comms

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Operand Bit • • • • • • • • • • • • • • • • •
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.

IMPORTANT You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX, PWMX,
STI, EII, BHI, MMI, CS, IOS, and DLS files.

OSR

Description

Trigger an event one at a time.


Figure 44 - OSR Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

One Shot Rising R_TRIG

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 115


Chapter 4 RLL Instruction Mapping

Table 115 - OSR Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input Edge Triggered Input
On a false to true rung state transition, this instruction sets
the Output bit and the Storage bit.
Note: When the rung conditions that precede the OSR
instruction go from false-to-true, the OSR instruction is The output sQ is set when the input transitions from false to
F>T true for one scan. After one scan is complete, the OSR true. In the next scan cycle, the output is false if the clock
instruction becomes false, even if the rung conditions that remains true.
precede it remain true. The OSR instruction becomes true
again if the rung conditions that precede it transition from
false-to-true.
The Storage bit and the Output bit are reset when the rung
T>F Output Q is false
state is false.
The Storage bit and the Output bit are reset when the rung
F>F Output Q is false
state is false.
While the rung remains true, the Output bit is reset and the
T>T Output Q is false
Storage bit remains set.

Connected Components Workbench Software Limitations

None

Behavioral Differences

None

Supported Data Types in MicroLogix Controllers

The MicroLogix supported data types for OSR is as follows:


Table 116 - OSR and OSF Instructions Valid Addressing Modes and File Types
Address
Data Files Function Files Mode Address Level

DLS - Data Log


PTOX, PWMX

CS - Comms

Parameter

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Storage Bit • • • •
Output Bit • • • • • • • •

Table 117 - Supported Data Types in Micro800 Controllers


Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

TIME
DINT
SINT

LINT
INT

EN •
CLK •
Q •
ENO •

116 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Timer and Counter The MicroLogix supported data types for TON, TOF, and RTO are as follows:
Table 118 - Timer Instructions Valid Addressing Modes and File Types
Address
Data Files(1) Function Files Mode Address Level

DLS - Data Log


PTOX, PWMX

CS - Comms
Parameter

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Timer • • •
Time Base • •
Preset • •
Accumulator • •
(1) Valid for Timer Files only.

The MicroLogix supported data types for CTD and CTU are as follows:
Table 119 - CTD and CTU Instructions Valid Addressing Modes and File Types
Address
Data Files(1) Function Files Mode Address Level

DLS - Data Log


PTOX, PWMX

CS - Comms
Parameter

Long Word
Immediate
IOS - I/O

Element
Indirect
MG, PD
RI/RIX
T, C, R

Direct

Word
HSC
RTC

LCD
MMI
PLS

BHI
STI

Bit
EII
ST
N
O

B
S

L
I

Counter • • •
Preset • •
Accumulator • •
(1) Valid for Counter Files only.

CTD

Description

Count down from a certain value one by one.


Figure 45 - CTD Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 117


Chapter 4 RLL Instruction Mapping

Table 120 - CTD Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input CD Edge Triggered Input
This instruction counts down on false to true rung
F>T Down counts when CD is a rising edges
transition.
Whenever the rung state is false, the counter shall not
count and CD is reset. If either of the OV or UN bit is set, the
T>F DN bit remains in its last state. If the OV and UN bits are Updates the underflow flag (Q)
clear, the DN bit is reset if Accumulator < Preset, otherwise
it is set.
F>F Same as T > F state Updates the underflow flag (Q)
Whenever the rung state is true, the counter shall not
T>T Updates the underflow flag (Q)
count and CU remains set.
Input Preset Programmed initial Value (16-bit signed integer) PV Programmed initial value (32 bit signed integer)
Input LOAD CV = PV when LOAD is TRUE
Counter CD This bit is set to TRUE when the rung is TRUE. It is cleared
Output Not supported
(Enable) when rung is false or RES instruction is used.
When an underflow occurs from -32,768 to 32,767, this bit
Counter UV It is set to TRUE when the count value reaches zero. The down
Output is set to TRUE. The counter continues to count down from Q
(Underflow) counter freezes at zero.
32,767.
Counter DN This bit is set when the Accum value is greater than or
Output Not supported
(Done) equal to the Preset value.
Output Accum Count down value CV Count down value
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations


1. Does NOT allow counting down below the value of zero.
2. Does NOT support the counter enable (EN) and counter done (DN) bit.

Behavioral Differences
1. On the low to high transition of the rung, the counter counts down by 1. The done bit (DN) is
set as along as the Accum value is greater than or equal to the Preset value. It is cleared
when its value is less than the Preset value.
2. The counter in MicroLogix continues to count down even after reaching zero. This behavior
is NOT the same with Connected Components Workbench instruction. The underflow in
MicroLogix is SET only when the Accum value crosses over from -32,768 to 32,767 whereas
in Connected Components Workbench, the underflow bit is SET when the CV value reaches
zero.

Supported Data Types in MicroLogix Controllers

See Timer and Counter on page 117.


Table 121 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
LOAD •
PV •
Q •
CV •
ENO •

118 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

CTU

Description

This instruction counts up from a certain value one by one.


Figure 46 - CTU Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 122 - CTU Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input CU Edge Triggered Input
F>T This instruction counts up on false to true rung transition It counts up when CU is a rising edge.
Whenever the rung state is false, the counter shall not
count and the CU bit is reset. If either of the OV or UN bits is
T>F set, the DN bit remains in its last state. If the OV and UN bits Updates the overflow flag (Q)
are clear, the DN bit is reset if Accumulator < Preset,
otherwise it is set.
F>F Same as T > F state Updates the overflow flag (Q)
Whenever the rung state is true, the counter shall not
T>T Updates the overflow flag (Q)
count and CU remains set.
Input Preset Programmed initial value (16-bit signed integer) PV Programmed initial value (32 bit signed integer)
Input RESET When RESET is TRUE, it initializes the CV value to zero.
Counter CU This bit is set to TRUE when the rung is TRUE. It is cleared
Output Not supported
(Enable) when rung is false or RES instruction is used.
It is set to TRUE when the count value is greater than or equal
Counter DN It is set to TRUE when the Accum value is greater than or Q
Output to the value of PV. The counter stops counting up when it
(Done) equal to Preset value. reaches the value of PV.
Counter OV When an overflow occurs from 32,767 to -32,768, this bit is
Output Not supported
(Overflow) set to TRUE. The counter continues to up from -32,768.
16-bit accumulated count. It can be reset to zero by using CV 32-bit accumulated value. It is reset by setting the RESET to
Output Accum the RES instruction. TRUE.
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

None

Behavioral Differences

In Connected Components Workbench, the counter counts upwards until it reaches the limit of CV
whereas in RSLogix, the counter continues to count upwards.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 119


Chapter 4 RLL Instruction Mapping

Supported Data Types in MicroLogix Controllers

See Timer and Counter on page 117.


Table 123 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
CU •
RESET •
PV •
Q •
CV •
ENO •

TON

Description

This instruction is used to turn an output on or off after the timer has been on for a preset time
interval.
Figure 47 - TON Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 124 - TON Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input IN Edge Triggered Input
When the rung transitions from false to true, the error
checks specified under Faults Generated are performed. If
there are no errors, the timer is updated as follows: Starts increasing the internal timer on the rising edge under
- If the DN bit is set, the EN bit is set and the TT bit is reset. the following conditions:
F>T Nothing else is updated. - If the IN is TRUE and the Q flag is FALSE
- If the DN bit is reset, the timer is initialized to begin
counting Timebase intervals starting from the time the
rung state transition is detected. The EN and TT bits are
set.
Whenever the rung state is false, the Accumulator is set to
T>F Stops and resets the internal timer on the falling edge.
zero and the EN, TT, and DN bits are reset.
F>F Same as T > F Same as T > F

120 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 124 - TON Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
While the rung state remains true, the error checks
specified under Faults Generated are performed. If there
are no errors, the timer is updated as follows:
- If the DN bit is set, the TT bit is reset. Nothing else is
updated.
T>T - If the DN bit is reset, the Accumulator is updated Same as F > T case
according to the number of Timebase intervals that have
passed since the last time the timer was updated.
- If Accumulator < Preset, the TT bit is set.
- If Accumulator > Preset, the DN bit is set and the TT bit is
reset.
Input Preset Programmed initial value (16-bit unsigned integer) PT Programmed initial value (Time data type)
Input Time Base 1 ms, 10 ms, or 1 s Supported
Timer EN This bit is set to TRUE when the rung is TRUE. It is cleared
Output Not supported
(Enable) when rung is false.
It is set to TRUE when the count value is equal to the value of
Timer DN (Done) Itequal
is set to TRUE when the Accum value is greater than or Q
Output PT. The counter stops counting up when it reaches the value
to Preset value. of PT.
It is set when rung conditions are TRUE and the
Timer TT (Timing) accumulated value is less than the preset value. It is
Output Not supported
cleared when the rung state is FALSE or when done bit is
set.
16-bit accumulated count. It can be reset to zero when the ET
Output Accum In Time data type format
rung conditions are FALSE.
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:


1. If power is lost while a TON is timing but has not reached its preset value, the EN and TT bits
remain set, and the accumulated value (ACCUM) remains the same. This is also true if the
processor changes from the REM Run or REM Test mode to the REM Program mode.
2. If either the Accumulator or the Preset is negative when the TON instruction is executed on a
true rung, a Major Fault (0034) is generated.
Table 125 - Status Bits
And Remains Set Until One of the
This Bit Is Set When Following
Accumulated value is equal to or
Timer Done Bit DN (bit 13) Rung conditions go false
greater than the preset value
Timer Enable Bit EN (bit 14) Rung conditions are true Rung conditions go false
Rung conditions are true and the Rung conditions go false or when the
Timer Timing Bit TT (bit 15) accumulated value is less than the done bit is set
preset value

On returning to the REM Run or REM Test mode, the following can happen:
Condition Result
EN bit remains set
If the rung is true: TT bit remains set
ACC value is reset
EN bit is reset
If the rung is false: TT bit is reset
ACC value is reset

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 121


Chapter 4 RLL Instruction Mapping

Supported Data Types in MicroLogix Controllers

See Timer and Counter on page 117.


Table 126 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT
EN •
IN •
PT •
Q •
ET •
ENO •

TOF

Description

This instruction is used to turn an output on or off after its rung has been off for a preset time
interval.
Figure 48 - TOF Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 127 - TOF Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input IN Edge Triggered Input
Whenever the rung state is true, the Accumulator is set to
F>T Stops and resets the internal timer on the rising edge.
zero, the EN and DN bits are set, the TT bit is reset.
When the rung transitions from true to false, the error
checks specified under Faults Generated are performed. If
there are no errors, the timer is updated as follows: Starts increasing the internal timer on the falling edge under
-If the DN bit is reset, the EN and TT bits are reset. Nothing the following conditions:
T>F else is updated. -If the IN is FALSE and the Q flag is TRUE
-If the DN bit is set, the timer is initialized to begin counting
Timebase intervals starting from the time the rung state
transition is detected. The EN bit is reset and TT bit is set.
While the rung state remains false, the error checks
specified under Faults Generated are performed. If there
are no errors, the timer is updated as follows:
-If the DN bit is reset, the TT bit is reset. Nothing else is
updated.
F>F Same as T > F case
-If the DN bit is set, the Accumulator is updated according
to the number of Timebase intervals that have passed
since the last time the timer was updated.
-If Accumulator < Preset, the TT bit is set.
-If Accumulator > Preset, the DN and TT bits are reset.

122 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

Table 127 - TOF Instruction Parameters (Continued)


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Whenever the rung state is true, the Accumulator is set to
T>T Sets the overflow flag (Q)
zero, the EN and DN bits are set, the TT bit is reset.
Input Preset Programmed initial value (16-bit unsigned integer) PT Programmed initial value (Time data type)
Input Time Base 1 ms, 10 ms, or 1 s Supported
Timer EN This bit is set to TRUE when the rung is TRUE. It is cleared
Output Not supported
(Enable) when rung is false.
Timer DN (Done) Itequal
is set to FALSE when the Accum value is greater than or It is set to FALSE when the ET value is equal to the value of PT.
Output Q
to Preset value. The internal timer stops when it reaches the value of PT.
It is set when rung conditions are FALSE or the
Output Timer TT (Timing) accumulated value is less than the Preset value. It is Not supported
cleared once the rung is TRUE or done bit is reset.
16-bit accumulated count. It can be reset to zero when the
Output Accum ET In Time data type format
rung conditions are TRUE.
Output Rung enable output ENO Rung enable output

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:


When controller operation changes from REM Run or REM Test mode to REM Program mode or if
user power is lost while a TOF is timing but has not reached its preset value, the EN, TT, and DN bits
remain set, and the accumulated value (ACCUM) remains the same.

On returning to the REM Run or REM Test mode, the following can happen:
Condition Result
TT bit is reset
DN bit remains set
If the rung is true: EN bit is set
ACC value is reset
TT bit is reset
DN bit is reset
If the rung is false: EN bit is reset
ACC value is set equal to the preset value

Supported Data Types in MicroLogix Controllers

See Timer and Counter on page 117.


Table 128 - Supported Data Types in Micro800 Controllers
Data Type
Parameter
DWORD

STRING
LWORD

LREAL
UDINT

ULINT
USINT

WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
IN •
PT •
Q •
ET •
ENO •

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 123


Chapter 4 RLL Instruction Mapping

RTO

Description

This retentive instruction lets the timer stop and start without resetting the accumulated value.
Figure 49 - RTO Functional Block Diagram
RSLogix 500/RSLogix Micro Connected Components Workbench

Table 129 - Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Edge Triggered Input IN Edge Triggered Input
Whenever the rung state is true, the Accumulator remains
F>T the same and resumes incrementing, the EN and the TT If rising edge, starts increasing internal timer.
bits are set.
When the rung transitions from true to false, the TT and EN
T>F bits are reset. The Accumulator value and DN bit remain in If falling edge, stops and does not reset the internal timer.
its last state.
The TT and EN bits are reset. The Accumulator value and
F>F No operation
the DN bit remain in its last state.
Whenever the rung state is true, the Accumulator value
T>T remains the same and resumes incrementing. The EN and
the TT bits are set.
Input Preset Programmed initial value (16-bit unsigned integer) PT Programmed initial value (Time data type)
Input Time Base 1 ms, 10 ms, or 1 s Supported
RST If rising edge, resets the internal timer.
Timer EN This bit is set to TRUE when the rung is TRUE. It is cleared
Output (Enable) when rung is false.
Timer DN (Done) Itgreater
is set to TRUE when the Accum value is equal to or
Output Q If TRUE, programmed time is elapsed.
than the Preset value.
It is set when rung conditions are TRUE or the
Output Timer TT (Timing) accumulated value is less than the Preset value. It is Not supported
cleared once the rung is FALSE or done bit is set.
16-bit accumulated count. It can be reset to zero when the ET Elapsed time. Possible values range from 0 ms to
Output Accum rung conditions are TRUE. 1193 h 2 m 47 s 294 ms.

Connected Components Workbench Software Limitations

If using a Micro810 or Micro820 controller, the RTO internal timer does not persist through a power
cycle by default. To persist the internal timer, set the Retained configuration parameter to true.

If using a Micro850 or Micro870 controller, the RTO internal timer persists through a power cycle.

Behavioral Differences

For MicroLogix Controllers:

124 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Chapter 4 RLL Instruction Mapping

When the processor changes from the REM Run or REM Test mode to the REM Program or REM Fault
mode, or user power is lost while the timer is timing but not yet at the preset value, the following
occurs:
• Timer Enable (EN) bit remains set.
• Timer Timing (TT) bit remains set.
• Accumulated value (ACC) remains the same.

On returning to the REM Run or REM Test mode, the following can happen:
Condition Result
TT bit remains set
If the rung is true: EN bit remains set
ACC value remains the same and resumes incrementing
TT bit is reset
DN bit remains in its last state
If the rung is false: EN bit is reset
ACC value remains in its last state

Supported Data Types in MicroLogix Controllers

See Timer and Counter on page 117.


Table 130 - Supported Data Types in Micro800 Controllers
Data Type
Parameter

DWORD

STRING
LWORD

LREAL
UDINT
USINT

ULINT
WORD
BOOL

REAL
BYTE

DATE
UINT

DINT

TIME
SINT

LINT
INT

EN •
IN •
RST •
PT •
Q •
ET •
ENO •

High-Speed Counter

Description

The HSC instruction counts high-speed pulses from a high-speed input with a specified maximum
pulse rate. An alternative set of high-speed counter instructions have been added in Connected
Components Workbench software version 11 or later. This set of instructions makes them more
intuitive than the standard HSC instruction. They also provide additional status information, such as
pulse rate and touch probe position. To learn more about these instructions, see the Connected
Components Workbench software Help for the following.
• HSCE
• HSCE_CFG
• HSCE_READ_STS
• HSCE_SET_STS

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 125


Chapter 4 RLL Instruction Mapping

Figure 50 - HSC Functional Block Diagram

RSLogix 500/RSLogix Micro Connected Components Workbench

Table 131 - HSC Instruction Parameters


IO Type RSLogix 500/RSLogix Micro Parameters Connected Components Workbench Parameters
Input Level Triggered Input Enable Level Triggered Input
Function block enable.
Whenever the rung state is true, the Accumulator is set to
T When Enable = TRUE, execute the HSC operation that is
zero, the EN and DN bits are set, the TT bit is reset. specified in the HSC command parameter.
F The high-speed counter is disabled from counting When Enable = FALSE, no HSC commands are issued.
Select from Up counters or Bidirectional counters.
Up Counters clear the accumulator values and reload the
preset values when the previous preset is reached.
Input Type In Bidirectional Counters the accumulator and preset HscCmd Issues commands to the HSC.
values are not changed by the high-speed counter when
the presets are reached.
Input Counter Always C5:0 HscAppData HSC application configuration, which is usually needed once.
The accumulated value that triggers an action such as
Input Preset HscStsInfo HSC application configuration, which is usually needed once.
updating outputs or generating a high-speed counter.
Input Accum The number of accumulated counts. PlsData Programmable Limit Switch (PLS) data structure
Output CU Count Up Enabled ENO Rung enable output
Output CD Count Down Enabled Sts HSC execution status
Output DN High Preset Reached

Connected Components Workbench Software Limitations

None

Behavioral Differences

For MicroLogix Controllers:

When the high-speed counter is enabled, data table counter C5:0 is used by the ladder program for
monitoring the high-speed counter accumulator and status.
Table 132 - Counter Data File Elements (C5:0)
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Word 0 CU CD DN OV UN UA HP LP IV IN IH IL PE LS IE <- Status Word
Word 1 Preset Value
Word 2 Accumulator Value

Counter preset and accumulated values are stored as signed integers.


126 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023
Chapter 4 RLL Instruction Mapping

For Micro800 Controllers:

The high-speed counter accumulator and status are found under the HscSTSInfo parameters.
Table 133 - HscSTSInfo Parameters
User
Parameter Data Type HSC Mode Program Description
Access
CountEnable BOOL 0…9 Read only Counting enabled
ErrorDetected BOOL 0…9 Read/write Nonzero means error detected.
CountUpFlag BOOL 0…9 Read only Count up flag
CountDwnFlag BOOL 2…9 Read only Count down flag
HSC is Mode 1A or Mode 1B; accumulator counts up
Mode1Done BOOL 0 or 1 Read/write to the HP value.
OVF BOOL 0…9 Read/write Overflow is detected.
UNF BOOL 0…9 Read/write Underflow is detected.
CountDir BOOL 0…9 Read only 1: count up; 0: count down
HPReached BOOL 2…9 Read/write High preset reached.
LPReached BOOL 2…9 Read only Low preset reached.
OFCauseInter BOOL 0…9 Read/write Overflow caused an HSC Interrupt.
UFCauseInter BOOL 2…9 Read/write Underflow caused an HSC Interrupt.
HPCauseInter BOOL 0…9 Read/write High preset reached, causing an HSC Interrupt.
LPCauseInter BOOL 2…9 Read/write Low preset reached, causing an HSC Interrupt.
PlsPosition UINT 0…9 Read only Position of the Programmable Limit Switch (PLS)
Displays the error codes that are detected by the
ErrorCode UINT 0…9 Read/write HSC subsystem.
Accumulator DINT Read/write Actual accumulator reading
HP DINT Read only Last high preset setting
LP DINT Read only Last low preset setting
HPOutput UDINT Read/write Last high preset output setting

CountEnable BOOL 0…9 Read only Counting enabled


LPOutput UDINT Read/write Last low preset output setting

Table 134 - Supported Data Types in MicroLogix Controllers


Valid
Instruction Valid File
Instruction Description Addressing Valid Value Ranges
Parameter Types
Modes
0…7, Where:
0 = Up
1 = Up and reset/hold
2 = Pulse/direction
High-Speed
HSC Type Immediate 3 = Pulse/direction & reset/hold
Counter 4 = Up/down
5 = Up/down & reset/hold
6 = Encoder
7 = Encoder and reset/hold
Counter Direct Not applicable
(Contained in the C5:0. C5:1
Preset counter register) (element level) -32,768…+32,767
(Contained in the
Accum -32,768…+32,767
counter register)

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 127


Chapter 4 RLL Instruction Mapping

Miscellaneous Notes on Unsupported RSLogix 500/RSLogix Micro Instruction Set


See Table 135 for notes on unsupported RSLogix 500/RSLogix Micro instruction set.
Table 135 - Unsupported RSLogx500/RSLogix Micro Instructions
Unsupported RSLogix
500/RSLogix Micro Description Notes
Instruction Set
LFL LIFO Load
Replace with user-defined function block (UDFB)
LFU LIFO Unload
FFL FIFO Load
Replace with user-defined function block (UDFB)
FFU FIFO Unload
MEQ Masked Comparison for Equal Replace with user-defined function block (UDFB)
JSR Jump to subroutine Replace with user-defined function block (UDFB)
Part of Ladder mechanism, not required to implement
SBR Subroutine as an instruction
MCR Master control reset Currently not replicated
See Configure Interrupts on a Micro800 Controller on
INT Interrupt subroutine page 129
FLL Fill File Replace with user-defined function block (UDFB)
CLR Clear Can be performed by MOV Instruction Block
TOD Convert to BCD Replace with user-defined function block (UDFB)
FRD Convert from BCD to Integer Replace with user-defined function block (UDFB)
DCD Decode 4 to 1 of 16 Replace with user-defined function block (UDFB)
SCL Scale Data Replace with user-defined function block (UDFB)
MVM Masked Move Replace with user-defined function block (UDFB)
Counter Instruction Block in Connected Components
RES Reset Workbench software has “Reset” as input parameter
HSD HSC Interrupt Disable The HSC can be configured from the configuration
HSE HSC Interrupt Enable workspace of the controller.
Available as an HSC command in the HSC Instruction
RAC HSC Reset Accumulator Block
RES for HSC Reset HSC Interrupt Replace with user-defined function block (UDFB)
ENC Encode 1 of 16 to 4-bit data Replace with user-defined function block (UDFB)
SQC Sequencer Compare Currently not replicated
SQL Sequencer Load Currently not replicated
SQO Sequencer Output Currently not replicated
Configures the low and high presets,
HSL the output patterns, and mask bit Part of the HSC Instruction Block
patterns.

128 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix A

Additional Examples

Configure Interrupts on a For this example, use a Selectable Timed Interrupt (STI).
Micro800 Controller 1. Create a program to execute when the interrupt occurs.
a. On the Project Organizer panel, right-click Programs and select
Add  New LD: Ladder Diagram.
b. Rename the program as STI_INT.
2. On the Project Organizer panel, double-click Micro850.
The Micro850 controller tab displays.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 129


Appendix A Additional Examples

3. On the lower left of the tab, expand Controller, then click Interrupts.

4. On the Controller - Interrupts section (right), click Add.


The Add Selectable Time Interrupt (STI) window displays.
5. Set the STI properties and parameters as follows:
a. Interrupt Type [Selectable Timed Interrupt (STI)]
b. STI ID (STI0)
c. Program (the program created earlier)
d. Auto Start (selected)
e. Set Point (10 ms)

6. Click Apply, then click OK.


The Micro850 workspace displays.

The configured Interrupts can be configured or deleted from the Controller - Interrupts
workspace.

130 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix A Additional Examples

Set Up High-Speed Counter The controller uses Indexed Addressing to locate the correct encoder count from the data table
N7[10] to N7[17] and load the information into the high preset of the high-speed counter.
(HSC) Instruction Variables
The HSC instruction is required to allow the HSC parameters (N7[0] to N7[4]) to be loaded for the
same instruction:
Table 136 - HSC Instructions for Parameters N7[0] to N7[4]
Name Data Value Details
N7[0] 0001h Output Mask – Control gripper
N7[1] 0000h Output pattern for High Preset – Turn off gripper
N7[2] 100d High Preset – Loaded from table N7[10] to N7[17]
N7[3] 0001h Output pattern for Low Preset – Turn on gripper
N7[4] 0d Low Preset – Home position when encoder triggers Z-reset

The number of pulses the head must travel to reach each bin location is stored in a data table that
starts at address N7 [10] and ends at N7 [17]. This value is entered under the Initial Value field so
that it is used as the value of a variable when a controller starts execution for the first time, such as
after a program download.
Table 137 - HSC Instructions for Parameters N7[10] to N7[17]
Name Data Value Details
N7[10] 100d Number of pulses to reach Bin Location A
N7[11] 200d Number of pulses to reach Bin Location B
N7[12] 300d Number of pulses to reach Bin Location C
N7[13] 400d Number of pulses to reach Bin Location D
N7[14] 500d Number of pulses to reach Bin Location E
N7[15] 600d Number of pulses to reach Bin Location F
N7[16] 700d Number of pulses to reach Bin Location G
N7[17] 800d Number of pulses to reach Bin Location H
1. On the Project Organizer panel, double-click Global Variables.
2. Click the + symbol for the variable N7 to expand the row.
3. Double-click the Initial Value field for N7 [0], then enter “01”.
4. Repeat step 3 for N7 [1] to N7[4] and N7[10] to N7[17] for the rest of the data values as
shown in Table 136 and Table 137.
Figure 51 shows the completed entries:
Figure 51 - Complete HSC Instructions

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 131


Appendix A Additional Examples

Notes:

132 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix B

Original and Converted Pick-and-place Ladder


Diagrams

In this appendix, you can view and compare the three different ladder diagrams of the pick-and-
place application.
• Original RSLogix 500/RSLogix Micro Ladder Diagram
• Connected Components Workbench Ladder Diagram (Converter Tool)
• Connected Components Workbench Ladder Diagram (Manual Conversion)

Original RSLogix 500/ The following shows the original pick-and-place application ladder diagram in the RSLogix 500/
RSLogix Micro report.
RSLogix Micro Ladder
Diagram

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 133


Appendix B Original and Converted Pick-and-place Ladder Diagrams

134 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix B Original and Converted Pick-and-place Ladder Diagrams

Connected Components The following shows the pick-and-place application ladder diagram that was converted with the
MicroLogix to Micro800 Converter tool in Connected Components Workbench software.
Workbench Ladder Diagram
(Converter Tool)

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 135


Appendix B Original and Converted Pick-and-place Ladder Diagrams

Tool Conversion Results


See the following log for information on the conversion results.
------ Conversion Started ------

Source:

C:\Pick and Place Machine\PICK AND PLACE MACHINE.SLC

C:\Pick and Place Machine\PICK AND PLACE MACHINE.EAS

C:\Pick and Place Machine\PICK AND PLACE MACHINE.EIC

C:\Pick and Place Machine\PICK AND PLACE MACHINE.ERP

C:\Pick and Place Machine\PICK AND PLACE MACHINE.ESG

Destination:

Catalog Identifier: 2080-LC30-16QWB

Project: Pick and Place MACHINE2

Conversion Report Location:


C:\Users\user1\Documents\CCW\PICK AND PLACE
MACHINE2\ConversionReport\ConversionReport.csv

Converting from Processor Type: Bul.1761 MicroLogix


1000 DH-485/HDSlave.

Warning: Revise all usages of status file. They are no


longer system variables, unpredictable operation could
occur.

136 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix B Original and Converted Pick-and-place Ladder Diagrams

The properties summary information for the project cannot


be converted because documentation was not included in the
database export.

Warning: Arithmetic Status bits are not supported in


Micro800. Revise usage of math instructions.

MicroLogix Program File 'LAD 2 - MAIN_PROG' was converted


to Program 'MAIN_PROG'.

MicroLogix Program File 'LAD 3 - USER_FAULT' was converted


to User-Defined Function Block 'USER_FAULT'.

MicroLogix Program File 'LAD 4 - HSC_INT' was converted to


User-Defined Function Block 'HSC_INT'.

MicroLogix Program File 'LAD 5 - STI_INT' was converted to


User-Defined Function Block 'STI_INT'.

MicroLogix Program File 'LAD 6' was converted to User-


Defined Function Block 'FB6'.

MicroLogix Program File 'LAD 7' was converted to User-


Defined Function Block 'FB7'.

MicroLogix Program File 'LAD 8' was converted to User-


Defined Function Block 'FB8'.

MicroLogix Program File 'LAD 9' was converted to User-


Defined Function Block 'FB9'.

MicroLogix Program File 'LAD 10' was converted to User-


Defined Function Block 'FB10'.

MicroLogix Program File 'LAD 11' was converted to User-


Defined Function Block 'FB11'.

MicroLogix Program File 'LAD 12' was converted to User-


Defined Function Block 'FB12'.

MicroLogix Program File 'LAD 13' was converted to User-


Defined Function Block 'FB13'.

MicroLogix Program File 'LAD 14' was converted to User-


Defined Function Block 'FB14'.

MicroLogix Program File 'LAD 15' was converted to User-


Defined Function Block 'FB15'.

MicroLogix Program File 'LAD 16' was converted to User-


Defined Function Block 'FB16'.

C:\Pick and Place Machine\PICK AND PLACE MACHINE.EAS(6,1):


For entry 'N7:0', no conversion occurred of empty symbol
and empty description.

C:\Pick and Place Machine\PICK AND PLACE MACHINE.EAS(7,1):


For entry 'N7:2', no conversion occurred of empty symbol
and empty description.

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 137


Appendix B Original and Converted Pick-and-place Ladder Diagrams

C:\Pick and Place Machine\PICK AND PLACE MACHINE.EAS(8,1):


For entry 'N7:10', no conversion occurred of empty symbol
and empty description.

C:\Pick and Place Machine\PICK AND PLACE MACHINE.ERP(3,1):


Entry 'O0000:000.000/01' was not used in the project. No
conversion occurred for title: '' and description: 'When
the pick and place head is positioned at its home position,
turn off the reverse motor. At the same time, the high-
speed counter will tell the gripper to grab the next part
and start the dwell timer.

After the dwell time has expired, start up the forward


motor to send the head out to its drop off bin.'.

C:\Pick and Place Machine\PICK AND PLACE MACHINE.ERP(5,1):


Entry 'O0000:000.000/02' was not used in the project. No
conversion occurred for title: '' and description: 'When
the pick and place head is positioned at its home position,
turn off the reverse motor. At the same time, the high-
speed counter will tell the gripper to grab the next part
and start the dwell timer.

After the dwell time has expired, start up the forward


motor to send the head out to its drop off bin.'.

MicroLogix Literal Parameter 'Up/Down-Res-Hold' was


converted to Defined Word 'HSC_UpDownResHold'.

Variable 'I:0.0/5' was converted to '_IO_EM_DI_05'.

Variable 'I:0.0/6' was converted to '_IO_EM_DI_06'.

Variable 'I:0.0/7' was converted to '_IO_EM_DI_07'.

Variable 'O:0.0/1' was converted to '_IO_EM_DO_01'.

Variable 'O:0.0/2' was converted to '_IO_EM_DO_02'.

Description of MicroLogix variable 'S:1/15' cannot be


applied to system variable '__SYSVA_FIRST_SCAN'. (Dropping
description: 'S:1/15:First Pass')

Variable 'S:1/15' was converted to '__SYSVA_FIRST_SCAN'.

MAIN_PROG(10,1): Rung Comment truncated to 255 characters.


Dropping: 'd from table in the rung above

N7:3 - 0001h - Output Pattern for Low Preset - turn ON


gripper

(grab part)

N7:4 - 0d - Low Preset - home position when encoder


triggers Z-reset'.

MAIN_PROG(11,1): Warning: MicroLogix Variable 'S:1/15' was


converted to a system variable '__SYSVA_FIRST_SCAN'.

138 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix B Original and Converted Pick-and-place Ladder Diagrams

MAIN_PROG(10,2): Warning: RA_HSL_B_FILE and RA_HSL_N_FILE


User-Defined Function Blocks are rising edge triggered. The
behavior is not the same as MicroLogix HSL, which is level
triggered.

MAIN_PROG(22,1): Rung Comment truncated to 255 characters.


Dropping: ' part.'.

MAIN_PROG(22,2): Warning: Revise usage of Timer's


Accumulator Value. The RA_TON_MICROLOGIX User-Defined
Function Block does not start with the associated timer's
accumulator value.

MAIN_PROG(27,1): Rung Comment truncated to 255 characters.


Dropping: ' motor to send the head back to its home
position to pick up another part.'.

MAIN_PROG(30,1): Rung Comment truncated to 255 characters.


Dropping: 'ard motor to send the head out to its drop off
bin.'.

Interrupt3_USER_FAULT(1,1): Warning: Interrupt


'Interrupt3_USER_FAULT' is calling subroutine
'USER_FAULT'. Revise interrupt logic and configuration.

Interrupt3_USER_FAULT(1,1): Warning: Revise all usages of


'USER_FAULT'. Each Function Block call may need to be
surrounded by calls to UID and UIE to prevent unpredictable
operation. This situation is indicated by build warning
“Multi-thread access to global variable may need to be
surrounded by calls to UID and UIE.”

Interrupt4_HSC_INT(1,1): Warning: Interrupt


'Interrupt4_HSC_INT' is calling subroutine 'HSC_INT'.
Revise interrupt logic and configuration.

Interrupt4_HSC_INT(1,1): Warning: Revise all usages of


'HSC_INT'. Each Function Block call may need to be
surrounded by calls to UID and UIE to prevent unpredictable
operation. This situation is indicated by build warning
“Multi-thread access to global variable may need to be
surrounded by calls to UID and UIE.”

========= Conversion ends with 0 errors and 9 warnings.


=========

Connected Components The following shows the pick-and-place application ladder diagram that was converted manually
in Connected Components Workbench software.
Workbench Ladder Diagram
(Manual Conversion)

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 139


Appendix B Original and Converted Pick-and-place Ladder Diagrams

140 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


Appendix B Original and Converted Pick-and-place Ladder Diagrams

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 141


Appendix B Original and Converted Pick-and-place Ladder Diagrams

Notes:

142 Rockwell Automation Publication 2080-RM002C-EN-E - March 2023


MicroLogix Controllers to Micro800 Controllers Migration Guide Reference Manual

Rockwell Automation Publication 2080-RM002C-EN-E - March 2023 143


Rockwell Automation Support
Use these resources to access support information.
Find help with how-to videos, FAQs, chat, user forums, Knowledgebase, and product
Technical Support Center rok.auto/support
notification updates.
Local Technical Support Phone Numbers Locate the telephone number for your country. rok.auto/phonesupport
Quickly access and download technical specifications, installation instructions, and user
Technical Documentation Center rok.auto/techdocs
manuals.
Literature Library Find installation instructions, manuals, brochures, and technical data publications. rok.auto/literature
Product Compatibility and Download Center Download firmware, associated files (such as AOP, EDS, and DTM), and access product release rok.auto/pcdc
(PCDC) notes.

Documentation Feedback
Your comments help us serve your documentation needs better. If you have any suggestions on how to improve our content, complete the
form at rok.auto/docfeedback.

Waste Electrical and Electronic Equipment (WEEE)

At the end of life, this equipment should be collected separately from any unsorted municipal waste.

Rockwell Automation maintains current product environmental compliance information on its website at rok.auto/pec.

Allen-Bradley, CompactLogix, Connected Components Workbench, expanding human possibility, FactoryTalk, FactoryTalk Linx, FactoryTalk Linx Gateway, Integrated Architecture Builder, MicroLogix,
Micro800, Micro810, Micro820, Micro830, Micro850, Micro870, PanelView, PanelView Plus, PLC-2, Product Selection Toolbox, Rockwell Automation, RSLinx, RSLogix 500, RSLogix Emulate, RSLogix Micro,
SLC 500, and TechConnect are trademarks of Rockwell Automation, Inc.
CIP and EtherNet/IP are trademarks of ODVA, Inc.
microSD is a trademark of SD-3C.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Otomasyon Ticaret A.Ş. Kar Plaza İş Merkezi E Blok Kat:6 34752, İçerenköy, İstanbul, Tel: +90 (216) 5698400 EEE Yönetmeliğine Uygundur

Connect with us.

ASIA PACIFIC: Rockwell Automation SEA Pte Ltd., 2 Corporation Road, #04-05, Main Lobby, Corporation Place, Singapore 618494, Tel: (65) 6510-6608, Fax: (65) 6510-6699

Publication 2080-RM002C-EN-E - March 2023


Supersedes Publication 2080-RM002B-EN-E - June 2019 Copyright © 2023 Rockwell Automation, Inc. All rights reserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy