Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 1 of 18

Simatic S5 to RSLogix 5000 Application Conversion Guide, pages 1 to 6

Pages 1 to 6 of 140: Front Cover; Table of Contents

The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Siemens 6ES5-431-8MA11, Siemens 6ES5-451-8MA11 and Siemens 6ES5-452-8MR11

Page 1 read from a scan by OCR; it may hold reading errors

Simatic 55 to RSLogix 5000 Application Conversion Guide

Application Solution

Rockwell ALLEN-BRADLEY » ROCKWELL SOFTWARE Automation

Page 2

Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature) describes some important differences between solid state equipment and hardwired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable. 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

IMPORTANT ATTENTION

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.

Identifies information that is critical for successful application and understanding of the product. Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence

SHOCK HAZARD

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

BURN HAZARD

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

RSLogix, RSLogix 5000, Logix5000, RSLinx, FactoryTalk View, CompactLogix, ControlLogix, GuardLogix, FlexLogix, DriveLogix, SoftLogix, Compact I/O, POINT I/O, ArmorPoint I/O, ArmorBlock MaXum, FLEX I/O, FLEX Ex, NetLinx, Integrated Architecture, Encompass, SLC 500, MicroLogix, PLC-2, PLC-3, PLC-5, SynchLink, and TechConnect are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.

Page 3

Table of Contents Preface

Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Conversion versus Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 PLC Logic Conversion Services Provided by Rockwell Automation . . 9 Service Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 One-stop PLC Program Conversion Services . . . . . . . . . . . . . . . . . 9 Service Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Services Offered. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Basic Conversion Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Conversion Plus Initial Clean-up Package . . . . . . . . . . . . . . . . . . . 10 Additional Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Additional Program Conversions Available . . . . . . . . . . . . . . . . . . 11

Controllers and I/O Modules

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 S5 Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Logix Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Logix Controller Memory Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 S5 Controller Memory Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Digital Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Replacing 6ES5 420-4UA13/14 and 6ES5 430-4UA13/14 DI Modules . . . . . . . . . . . . . . . . . . . . . . . . . 18 Replacing 6ES5 432-4UA12 DI Modules. . . . . . . . . . . . . . . . . . . . 19 Replacing 6ES5 435-4UA12 DI Modules. . . . . . . . . . . . . . . . . . . . 20 Replacing 6ES5 436-4UB12 DI Modules . . . . . . . . . . . . . . . . . . . . 20 Digital Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Analog Input/Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Logix Controller with S5 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 CompactLogix controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ControlLogix controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 S5 Controller with Logix I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Software Conversions - Program Structure

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Organization Blocks/Logix Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Continuous Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Periodic Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Event Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Task Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 RSLogix 5000 Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Blocks/Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Function Blocks/Add-On Instructions . . . . . . . . . . . . . . . . . . . . . . . . 38 Watchdog Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 I/O Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Logix Aliasing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Internal Memory Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Flag Words/Bits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Data Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

3Publication LOGIX-AP010B-EN-P - May 2010

3

Page 4

Table of Contents

Programming Languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 RSLogix 5000 Ladder Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 RSLogix 5000 Structured Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 RSLogix 5000 Function Block Diagram . . . . . . . . . . . . . . . . . . . . . 49 RSLogix 5000 Sequential Function Chart. . . . . . . . . . . . . . . . . . . . 49 Conversion of STEP 5 Code to RSLogix 5000 Software. . . . . . . . . . . 50

Software Conversions Instructions

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Jump Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Block Call Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Shift Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Conversion Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

Additional RSLogix 5000 Features

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Task Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Asynchronous I/O Updating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 DINT Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 String Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Coordinated System Time (CST). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Coordinated System Time (CST) Object . . . . . . . . . . . . . . . . . . . . 99 WallClockTime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Timestamped Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Scheduled Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

Conversion of System Functions

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Logix System Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Read/Write System Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Save/Load Scratchpad Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

Communication and Networking

S5 Serial Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 S5 Serial Communication Processors (CP 521, CP 523, CP 524, and CP 525) . . . . . . . . . . . . . . . . . . . . 105 Serial Communication Memory Submodule. . . . . . . . . . . . . . . . . 105 Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Logix Serial Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 S5 Distributed Control Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 S5 Network Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 CP 530 Network Communication Module. . . . . . . . . . . . . . . . . . 108 CP 143 Network Communication Module. . . . . . . . . . . . . . . . . . 109 NetLinx Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Produced/Consumed Tags in RSLogix . . . . . . . . . . . . . . . . . . . . 111 Fiber Optic Communication IM 307/IM 317 Fiber Optic Interface Modules . . . . . . . . . . . . . 112 S5 CP 580 & CP 581 Communication Processor Modules . . . . . 113 IP 265 High Speed Sub Control . . . . . . . . . . . . . . . . . . . . . . . . . . 114

4

Publication LOGIX-AP010B-EN-P - May 2010

Page 5

Table of Contents

Drive and Loop Control

Encoder/Positioning Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Logix Servo Drive Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Replacing S5 Positioning Module with Logix . . . . . . . . . . . . . . . . . . . 116 Controller with Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 S5 Analog Control Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 IP 243 Analog Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 IP 244 Temperature Controller Module . . . . . . . . . . . . . . . . . . . . 117 IP 252 Closed Loop Control Module . . . . . . . . . . . . . . . . . . . . . . 117 IP 260 Loop Controller Module . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Logix Analog Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

Logix Replacements for S5 Components

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Controller Memory Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 This section covers the various Logix module types available for replacing S5 components and their advantages.. . . . . . . . . . . . . . 119 CPU Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Digital Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Digital Output Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Digital Relay Output Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Analog Input Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Siemens S5 Analog Input Range Cards . . . . . . . . . . . . . . . . . . . . 125 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

Other Communication Modules

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 In-rack Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Profibus Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Siemens Industrial Ethernet/Modbus TCP/IP . . . . . . . . . . . . . . 129 3964R Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Standalone Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 HMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 ProSoft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 In-rack Interface Cards for S5 rack . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Efsys/A2i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Installation Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 New Product Satisfaction Return . . . . . . . . . . . . . . . . . . . . . . . . . 140

Publication LOGIX-AP010B-EN-P - May 2010

5

Page 6

Table of Contents

6

Publication LOGIX-AP010B-EN-P - May 2010