Reference Manual
Logix 5000 Advanced Process Control and Drives and
Equipment Phase and Sequence Instructions
1756 ControlLogix, 1756 GuardLogix, 1769 CompactLogix, 1769 Compact GuardLogix, 1789
SoftLogix, 5069 CompactLogix, Emulate 5570
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: Identif
ies 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.
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).
Allen-Bradley, Rockwell Software, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 3
Summary of changes
This manual includes new and updated information. Use these reference tables to
locate changed information.
Global changes
None for this release.
New or enhanced features
Subject Reason
Common Attributes on page 537 Added link to the Elementary Data Types topic
Immediate values on page 540 Added Integer Immediate Values and Floating Point
Immediate Values tables.
Data Conversions on page 541 Changed Optimal data types to intermediate data types and
included extended data types USINT, INT, UINT, UDINT,
ULINT, LREAL. In the Convert SINT or INT to DINT section,
added converting DINT to LINT. Included converting data
for 32 and 64 bits.
Elementary data types on page 545 Changed the topic title from Data Types to Elementary Data
Types. Added LINT, USINT, UINT, UDINT, ULINT, REAL, and
LREAL.
LINT data types on page 548 Added a list of applicable controllers that support LINT data
types used in instructions.
Floating Point Values on page 548 Added a list of applicable controllers. Added LREAL tag
description.
Index Through Arrays on page 551 Added two new tips explaining Logix Designer allows
subscripts that are extended data type tags only. Also
explained using all available integer elementary data types
as a subscript index.
Bit Addressing on page 552 Added new definitions.
FOR_DO on page 525 Updated the description for loop ends.
Equipment Phase Instructions on page 415
The controllers that support Equipment Phase instructions
expanded to include the CompactLogix 5370 and
CompactLogix 5380, ControlLogix 5570 and ControlLogix
5580, and Compact GuardLogix 5370 and Compact
GuardLogix 5380 controllers.
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 5
Instruction Locator
Use this locator to find the applicable Logix5000 controllers instruction manual
for each instruction.
Logix5000 Controllers General Instructions
Reference Manual 1756-RM003
Logix5000 Controllers Advanced Process
Control and Drives and Equipment Phase
and Sequence Instructions Reference
Manual 1756-RM006
Logix5000 Controllers Motion Instructions
Reference Manual MOTION-RM002
Absolute Value (ABS) Alarm (ALM) Master Driven Coordinated Control (MDCC)
Add (ADD) Attach to Equipment Phase (PATT) Motion Apply Axis Tuning (MAAT)
Analog Alarm (ALMA) Attach to Equipment Sequence (SATT) Motion Apply Hookup Diagnostics (MAHD)
Always False (AFI) Coordinated Control (CC) Motion Arm Output Cam (MAOC)
Arc Cosine (ACS, ACOS) D Flip-Flop (DFF) Motion Arm Registration (MAR)
Arc Sine (ASN, ASIN) Deadtime (DEDT) Motion Arm Watch (MAW)
Arc Tangent (ATN, ATAN) Derivative (DERV) Motion Axis Fault Reset (MAFR)
ASCII Chars in Buffer (ACB) Detach from Equipment Phase (PDET) Motion Axis Gear (MAG)
ASCII Clear Buffer (ACL) Detach from Equipment Sequence (SDET) Motion Axis Home (MAH)
ASCII Handshake Lines (AHL) Discrete 3-State Device (D3SD) Motion Axis Jog (MAJ)
ASCII Read (ARD) Discrete 2-State Device (D2SD) Motion Axis Move (MAM)
ASCII Read Line (ARL) Enhanced PID (PIDE) Motion Axis Position Cam (MAPC)
ASCII Test for Buffer Line (ABL) Enhanced Select (ESEL) Motion Axis Stop (MAS)
ASCII Write (AWT) Equipment Phase Clear Failure (PCLF) Motion Axis Time Cam (MATC)
ASCII Write Append (AWA) Equipment Phase Command (PCMD) Motion Axis Shutdown (MASD)
Bit Field Distribute (BTD) Equipment Phase External Request (PXRQ) Motion Axis Shutdown Reset (MASR)
Bit Field Distribute with Target (BTDT) Equipment Phase Failure (PFL) Motion Calculate Cam Profile (MCCP)
Bit Shift Left (BSL) Equipment Phase New Parameters (PRNP) Motion Coordinated Path Move (MCPM)
Bit Shift Right (BSR) Equipment Phase Override Command (POVR) Motion Calculate Slave Values (MCSV)
Bitwise And (AND) Equipment Phase Paused (PPD) Motion Coordinated Transform with Orientation
(MCTO)
Bitwise (NOT) Equipment Sequence Assign Sequence Identifier
(SASI)
Motion Calculate Transform Position (MCTP)
Bitwise (OR) Equipment Sequence Clear Failure (SCLF) Motion Calculate Transform Position with
Orientation (MCTPO)
Boolean AND (BAND) Equipment Sequence command (SCMD) Motion Change Dynamics (MCD)
Boolean Exclusive OR (BXOR) Equipment Sequence Override (SOVR) Motion Coordinated Change Dynamics (MCCD)
Boolean NOT (BNOT) Function Generator (FGEN) Motion Coordinated Circular Move (MCCM)
Boolean OR (BOR) High Pass Filter (HPF) Motion Coordinated Linear Move (MCLM)
Break (BRK) High/Low Limit (HLL) Motion Coordinated Shutdown (MCSD)
Breakpoints (BPT) Integrator (INTG) Motion Coordinated Shutdown Reset (MCSR)
Clear (CLR) Internal Model Control (IMC) Motion Coordinated Stop (MCS)
Compare (CMP) JK Flip-Flop (JKFF) Motion Coordinated Transform (MCT)
Instruction Locator
6 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Logix5000 Controllers General Instructions
Reference Manual 1756-RM003
Logix5000 Controllers Advanced Process
Control and Drives and Equipment Phase
and Sequence Instructions Reference
Manual 1756-RM006
Logix5000 Controllers Motion Instructions
Reference Manual MOTION-RM002
Convert to BCD (TOD) Lead-Lag (LDLG) Motion Direct Drive Off (MDF)
Convert to Integer (FRD) Low Pass Filter (LPF) Motion Direct Drive On (MDO)
Copy File (COP), Synchronous Copy File (CPS) Maximum Capture (MAXC) Motion Direct Start (MDS)
Cosine (COS) Minimum Capture (MINC) Motion Disarm Output Cam (MDOC)
Compute (CPT) Modular Multivariable Control (MMC) Motion Disarm Registration (MDR)
Count down (CTD) Moving Average (MAVE) Motion Disarm Watch (MDW)
Count up (CTU) Moving Standard Deviation (MSTD) Motion Group Shutdown (MGSD)
Count up/down CTUD Multiplexer (MUX) Motion Group Shutdown Reset (MGSR)
Data Transition (DTR) Notch Filter (NTCH) Motion Group Stop (MGS)
Degrees (DEG) Phase State Complete (PSC) Motion Group Strobe Position (MGSP)
Diagnostic Detect (DDT) Position Proportional (POSP) Motion Redefine Position (MRP)
Digital Alarm (ALMD) Proportional + Integral (PI) Motion Run Axis Tuning (MRAT)
DINT To String (DTOS) Pulse Multiplier (PMUL) Motion Run Hookup Diagnostics (MRHD)
Divide (DIV) Ramp/Soak (RMPS) Motion Servo Off (MSF)
End of Transition (EOT) Rate Limiter (RLIM) Motion Servo On (MSO)
Equal to (EQU) Reset Dominant (RESD)
File Arithmetic (FAL) Scale (SCL)
File Bit Comparison (FBC) S-Curve (SCRV)
FIFO Load (FFL) Second-Order Controller (SOC)
FIFO Unload (FFU) Second-Order Lead Lag (LDL2)
File Average (AVE) Select (SEL)
File Standard Deviation (STD) Selected Negate (SNEG)
File Fill (FLL) Selected Summer (SSUM)
File Sort (SRT) Set Dominant (SETD)
Find String (FIND) Split Range Time Proportional (SRTP)
For (FOR) Totalizer (TOT)
File Search and Compare (FSC) Up/Down Accumulator (UPDN)
Get System Value (GSV) and Set System Value
(SST)
Greater Than or Equal to (GEQ)
Greater than (GRT)
Insert String (INSERT)
Immediate Output (IOT)
Jump to Label (JMP) and Label (LBL)
Jump to Subroutine (JSR), Subroutine (SBR), and
Return (RET)
Jump to External Routine (JXR)
Less Than (LES)
Instruction Locator
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 7
Logix5000 Controllers General Instructions
Reference Manual 1756-RM003
Logix5000 Controllers Advanced Process
Control and Drives and Equipment Phase
and Sequence Instructions Reference
Manual 1756-RM006
Logix5000 Controllers Motion Instructions
Reference Manual MOTION-RM002
Less Than or Equal to (LEQ)
LIFO Load (LFL)
LIFO Unload (LFU)
License Validation (LV)
Limit (LIM)
Log Base (LOG)
Lower to Case (LOWER)
Masked Move (MVM)
Masked Move with Target (MVMT)
Master Control Reset (MCR)
Masked Equal to (MEQ)
Message (MSG)
Middle String (MID)
Modulo (MOD)
Move (MOV)
Multiply (MUL)
Natural Log (LN)
Negate (NEG)
Not Equal to (NEQ)
No Operation (NOP)
One Shot (ONS)
One Shot Falling (OSF)
One Shot Falling with Input (OSFI)
One Shot Rising (OSR)
One Shot Rising with Input (OSRI)
Output Energize (OTE)
Output Latch (OTL)
Output Unlatch (OTU)
Proportional Integral Derivative (PID)
Radian (RAD)
Real to String (RTOS)
Reset (RES)
Reset SFC (SFR)
Return (RET)
Retentive Timer On (RTO)
Retentive Timer On with Reset (RTOR)
Pause SFC (SFP)
Size In Elements (SIZE)
Sequencer Input (SQI)
Instruction Locator
8 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Logix5000 Controllers General Instructions
Reference Manual 1756-RM003
Logix5000 Controllers Advanced Process
Control and Drives and Equipment Phase
and Sequence Instructions Reference
Manual 1756-RM006
Logix5000 Controllers Motion Instructions
Reference Manual MOTION-RM002
Sequencer Load (SQL)
Sequencer Output (SQO)
Sine (SIN)
Square Roost (SQR/SQRT)
String Concatenate (CONCAT)
String Delete (DELETE)
String to DINT (STOD)
String to REAL (STOR)
Swap Byte (SWPB)
Subtract (SUB)
Tangent (TAN)
Timer Off Delay (TOF)
Timer Off Delay with Reset (TOFR)
Timer On Delay (TON)
Timer On Delay with Reset (TONR)
Temporary End (TND)
Tracepoints (TPT)
Trigger Event Task (EVENT)
Truncate (TRN)
Unknown Instruction (UNK)
Upper Case (UPPER)
User Interrupt Disable (UID)/User Interrupt Enable
(UIE)
X to the Power of Y (XPY)
Examine if Closed (XIC)
Examine If Open (XIO)
Bitwise Exclusive (XOR)
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 9
Table of contents
Studio 5000 environment................................................................................................. 15
Additional resources .......................................................................................................... 16
Purpose of this manual ...................................................................................................... 16
Legal Notices ....................................................................................................................... 16
Chapter 1
Process Control Instructions ........................................................................................... 19
Alarm (ALM) ...................................................................................................................... 20
Discrete 3-State Device (D3SD) ..................................................................................... 26
Discrete 2-State Device (D2SD) ..................................................................................... 41
Deadtime (DEDT) ............................................................................................................ 51
Function Generator (FGEN) .......................................................................................... 56
Lead-Lag (LDLG) .............................................................................................................. 62
Enhanced PID (PIDE) ...................................................................................................... 67
Position Proportional (POSP) ...................................................................................... 102
Ramp/Soak (RMPS) ....................................................................................................... 111
Scale (SCL) ........................................................................................................................ 125
Split Range Time Proportional (SRTP) ...................................................................... 130
Totalizer (TOT) .............................................................................................................. 137
Coordinated Control (CC) ........................................................................................... 147
CC Function Block Configuration ...................................................................... 181
CC Function Block Model Initialization ............................................................ 182
CC Function Block Tuning ................................................................................... 183
CC Function Block Tuning Errors ...................................................................... 183
CC Function Block Tuning Procedure ............................................................... 184
Internal Model Control (IMC) .................................................................................... 184
IMC Fun
ction Block Configuration .................................................................... 201
IMC Function Block Model Initialization ......................................................... 202
IMC Function Block Tuning ................................................................................ 202
IMC Function Block Tuning Errors .................................................................... 203
IMC Function Block Tuning Procedure ............................................................. 204
Modular Multivariable Control (MMC) .................................................................... 204
MMC Function Block Configuration ................................................................. 243
MMC Function Block Model Initialization....................................................... 245
MMC Function Block Tuning .............................................................................. 245
Use an MMC Function Block for Splitter Control .......................................... 246
MMC Function Block Tuning Errors ................................................................. 246
MMC Function Block Tuning Procedure .......................................................... 247
Current SP
......................................................................................................................... 248
Use the Coordinated Control Function Block to Control ............................. 248
CV High/Low Limiting ................................................................................................. 250
CV Percent Limiting ....................................................................................................... 251
CV Rate-of-Change Limiting ........................................................................................ 252
Preface
Process Control Instructions
Table of contents
10 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
CV Windup Limiting ..................................................................................................... 253
Execution ........................................................................................................................... 254
Switch Between Program Control and Operator Control .............................. 254
Operating Modes ...................................................................................................... 255
Convert the PV and SP Values to Percent .......................................................... 257
Primary Loop Control ............................................................................................ 257
Processing Faults ....................................................................................................... 259
Select the Control Variable .................................................................................... 259
Update the CVOper and CVProg Values ........................................................... 260
Select the Setpoint .................................................................................................... 260
SP High/Low Limiting ........................................................................................... 261
Chapter 2
Drives Instructions .......................................................................................................... 263
Integrator (INTG) ........................................................................................................... 264
Proportional + Integral (PI) .......................................................................................... 270
Pulse Multiplier (PMUL) ............................................................................................... 281
S-Curve (SCRV) .............................................................................................................. 289
Second-Order Controller (SOC) ................................................................................. 298
Up/Down Accumulator (UPDN) ............................................................................... 308
HMI Button Control (HMIBC) ................................................................................. 312
Chapter 3
Filter Instructions ............................................................................................................ 319
Derivative (DERV) .......................................................................................................... 320
High Pass Filter (HPF) ................................................................................................... 324
Low Pass Filter (LPF) ...................................................................................................... 330
Notch Filter (NTCH) .................................................................................................... 336
Second-Order Lead Lag (LDL2) ................................................................................... 341
Chapter 4
Select/Limit Instructions ............................................................................................... 349
Enhanced Select (ESEL) ................................................................................................. 350
High/Low Limit (HLL) ................................................................................................. 357
Multiplexer (MUX) ......................................................................................................... 362
Rate Limiter (RLIM) ....................................................................................................... 365
Select (SEL) ....................................................................................................................... 370
Selected Negate (SNEG) ................................................................................................ 373
Selected Summer (SSUM) ............................................................................................. 376
Drives
Filter
Select_Limit Instructions
Table of contents
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 11
Chapter 5
Statistical Instructions ..................................................................................................... 381
Moving Average (MAVE) .............................................................................................. 382
Maximum Capture (MAXC) ........................................................................................ 388
Minimum Capture (MINC) ......................................................................................... 392
Moving Standard Deviation (MSTD) ......................................................................... 395
Chapter 6
Logical and Move Instructions ...................................................................................... 401
D Flip-Flop (DFF) ........................................................................................................... 401
JK Flip-Flop (JKFF) ......................................................................................................... 404
Reset Dominant (RESD) ................................................................................................ 407
Set Dominant (SETD) .................................................................................................... 411
Chapter 7
Equipment Phase Instructions ...................................................................................... 415
Attach to Equipment Phase (PATT) ........................................................................... 416
Detach from Equipment Phase (PDET) ..................................................................... 421
Equipment Phase Clear Failure (PCLF) ..................................................................... 424
Equipment Phase Command (PCMD) ...................................................................... 427
Equipment Phase External Request (PXRQ)............................................................. 433
Equipment Phase Failure (PFL) .................................................................................... 443
Equipment Phase New Parameters (PRNP) .............................................................. 448
Equipment Phase Override Command (POVR) ...................................................... 451
Equipment Phase Paused (PPD) ................................................................................... 455
Phase State Complete (PSC) ......................................................................................... 460
Chapter 8
Equipment Sequence instructions ................................................................................ 465
Attach to Equipment Sequence (SATT) .................................................................... 465
Detach from Equipment Sequence (SDET)............................................................... 468
Equipment Sequence Assign Sequence Identifier (SASI) ........................................ 470
Equipment Sequence Clear Failure (SCLF) ............................................................... 471
Equip
ment Sequence command (SCMD) .................................................................. 473
Equipment Sequence Diagram instructions ............................................................... 476
Equipment Sequence Override (SOVR) ..................................................................... 476
Guidelines for SATT instructions ................................................................................ 479
Guidelines for SCMD instructions .............................................................................. 480
Guidelines for SOVR instructions ................................................................................ 480
Result codes for SATT instructions ............................................................................. 481
Result codes for SCLF instructions .............................................................................. 482
Statistical Instructions
Logical and Move
Equipment Phase
Instructions
Equipment Sequence
Table of contents
12 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Result codes for SCMD instructions ........................................................................... 483
Result codes for SOVR instructions ............................................................................. 484
SASI instruction examples ............................................................................................. 485
SATT instruction examples ........................................................................................... 486
SCLF instruction examples ............................................................................................ 486
SCMD instruction examples ......................................................................................... 487
SDET instruction examples ........................................................................................... 487
SOVR instruction examples ........................................................................................... 488
When should I use an SOVR instruction instead of an SCMD instruction? ...... 489
Chapter 9
Choose the Function Block Elements.......................................................................... 492
Latching Data.................................................................................................................... 493
Function Block Responses to Overflow Conditions ................................................ 494
Order of Execution .......................................................................................................... 495
Timing Modes .................................................................................................................. 499
Program/Operator Control ........................................................................................... 502
Function Block States ...................................................................................................... 505
Chapter 10
Structured Text Syntax ................................................................................................... 508
Structured Text Components: Comments ................................................................ 509
Structured Text Components: Assignments .............................................................. 510
Specify a non-retentive assignment ....................................................................... 511
Assign an ASCII character to a string data member ......................................... 512
Structured Text Components: Expressions ................................................................ 513
Use arithmetic operators and functions .............................................................. 514
Use bitwise operators ............................................................................................... 516
Use logical operators ................................................................................................ 516
Use relational operators .......................................................................................... 517
Structured Text Components: Instructions ............................................................... 519
Struct
ured Text Components: Constructs ................................................................. 520
Character string literals ................................................................................................... 521
String Types ............................................................................................................... 522
CASE_OF ......................................................................................................................... 523
FOR_DO ........................................................................................................................... 525
IF_THEN .......................................................................................................................... 527
REPEAT_UNTIL ........................................................................................................... 530
WHILE_DO .................................................................................................................... 533
Structured Text Attributes............................................................................................. 535
Function Block Attributes
Structured Text
Programming
Table of contents
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 13
Chapter 11
Common Attributes ........................................................................................................ 537
Math Status Flags ............................................................................................................. 537
Immediate values .............................................................................................................. 540
Data Conversions ............................................................................................................. 541
Elementary data types ...................................................................................................... 545
LINT data types ............................................................................................................... 548
Floating Point Values ...................................................................................................... 548
Index Through Arrays ..................................................................................................... 551
Bit Addressing ................................................................................................................... 552
Function Block Faceplate Controls .............................................................................. 552
Faceplate Control Properties Dialog - General Tab ................................................. 553
Faceplate Control Properties Dialog - Display Tab .................................................. 554
Faceplate Control Properties Dialog - Font Tab ....................................................... 555
Faceplate Control Properties Dialog - LocaleTab ..................................................... 556
ASCII Character Codes .................................................................................................. 557
ASCII character codes ..................................................................................................... 557
Common Attributes for
Advanced Process Control
and Drives Instructions
Index
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 15
Preface
This manual provides a programmer with details about the available General,
Motion, Process, and Drives instruction set for a Logix-based controller.
If you design, program, or troubleshoot safety applications that use GuardLogix
controllers, refer to the
GuardLogix Safety Application Instruction Set Safety
Reference Manual, publication 1756-RM095.
This manual is one of a set of related manuals that show common procedures for
programming and operating Logix 5000 controllers.
For a complete list of common procedures manuals, refer to the
Logix 5000
Controllers Common Procedures Programming Manual, publication 1756-
PM001 .
The term Logix 5000 controller refers to any controller based on the Logix 5000
operating system.
The Studio 5000 Automation Engineering & Design Environment® combines
engineering and design elements into a common environment. The first element is
the Studio 5000 Logix Designer® application. The Logix Designer application is
the rebranding of RSLogix 5000® software and will continue to be the product to
program Logix 5000â„¢ controllers for discrete, process, batch, motion, safety, and
drive-based solutions.
The Studio 5000® environment is the foundation for the future of
Rockwell Automation® engineering design tools and capabilities. The Studio 5000
environment is the one place for design engineers to develop all elements of their
control system.
Studio 5000 environment
Preface
16 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
These documents contain additional information concerning related Rockwell
Automation products.
Resource Description
Industrial Automation Wiring and Grounding Guidelines ,
publication 1770-4.1
Provides general guidelines for installing a Rockwell
Automation industrial system.
Product Certifications webpage, available
at http://ab.rockwellautomation.com
Provides declarations of conformity, certificates, and other
certification details.
View or download publications
at http://www.rockwellautomation.com/literature
. To order paper copies of
technical documentation, contact the local Rockwell Automation distributor or
sales representative.
This manual provides a programmer with details about each available instruction
for a Logix-based controller. This manual also gives you guidance and examples to
use equipment phase instructions to transition to different state, handle faults, set
up break points, and so forth.
Copyright Notice
Copyright © 2019 Rockwell Automation Technologies, Inc. All Rights Reserved.
Printed in USA.
This document and any accompanying Rockwell Software products are
copyrighted by Rockwell Automation Technologies, Inc. Any reproduction
and/or distribution without prior written consent from Rockwell Automation
Technologies, Inc. is strictly prohibited. Please refer to the license agreement for
details.
End User License Agreement (EULA)
You can view the Rockwell Automation End-User License Agreement ("EULA")
by opening the License.rtf file located in your product's install folder on your hard
drive.
Open source licenses
The software included in this product contains copyrighted software that is
licensed under one or more open source licenses. Copies of those licenses are
included with the software. Corresponding Source code for open source packages
included in this product are located at their respective web site(s).
Alternately, obtain complete Corresponding Source code by contacting Rockwell
Automation via the Contact form on the Rockwell Automation
website:
http://www.rockwellautomation.com/global/about-
Additional resources
Purpose of this manual
Legal Notices
Preface
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 17
us/contact/contact.page
Please include "Open Source" as part of the request text.
A full list of all open source software used in this product and their corresponding
licenses can be found in the OPENSOURCE folder
included with the Release
Notes. The default installed location of these licenses is C:\Program Files
(x86)\Common
Files\Rockwell\Help\
<Product>\ReleaseNotes\OPENSOURCE\index.htm.
Trademark Notices
Allen-Bradley, ControlBus, ControlFLASH, Compact GuardLogix, Compact
I/O, ControlLogix, CompactLogix, DCM, DH+, Data Highway Plus,
DriveLogix, DPI, DriveTools, Explorer, FactoryTalk, FactoryTalk Administration
Console, FactoryTalk Alarms and Events, FactoryTalk Batch, FactoryTalk
Directory, FactoryTalk Security, FactoryTalk Services Platform, FactoryTalk
View, FactoryTalk View SE, FLEX Ex, FlexLogix, FLEX I/O, Guard I/O, High
Performance Drive, Integrated Architecture, Kinetix, Logix5000, Logix 5000,
Logix5550, MicroLogix, DeviceNet, EtherNet/IP, PLC-2, PLC-3, PLC-5,
PanelBuilder, PowerFlex, PhaseManager, POINT I/O, PowerFlex, Rockwell
Automation, RSBizWare, Rockwell Software, RSEmulate, Historian,
RSFieldbus, RSLinx, RSLogix, RSNetWorx for DeviceNet, RSNetWorx for
EtherNet/IP, RSMACC, RSView, RSView32, Rockwell Software Studio 5000
Automation Engineering & Design Environment, Studio 5000 View Designer,
SCANport, SLC, SoftLogix, SMC Flex, Studio 5000, Ultra 100, Ultra 200,
VersaView, WINtelligent, XM, SequenceManager are trademarks of Rockwell
Automation, Inc.
Any Rockwell Automation logo, software or hardware product not mentioned
herein is also a trademark, registered or otherwise, of Rockwell Automation, Inc.
Other Trademarks
CmFAS Assistant, CmDongle, CmStick, CodeMeter, CodeMeter Control
Center, and WIBU are trademarks of WIBU-SYSTEMS AG in the United States
and/or other countries.
All other trademarks are the property of their respective holders and are hereby
acknowledged.
Warranty
This product is warranted in accordance with the product license. The product’s
performance may be affected by system configuration, the application being
performed, operator control, maintenance, and other related factors. Rockwell
Automation is not responsible for these intervening factors. The instructions in
this document do not cover all the details or variations in the equipment,
Preface
18 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
procedure, or process described, nor do they provide directions for meeting every
possible contingency during installation, operation, or maintenance. This
product’s implementation may vary among users.
This document is current as of the time of release of the product; however, the
accompanying software may have changed since the release. Rockwell Automation,
Inc. reserves the right to change any information contained in this document or
the software at any time without prior notice. It is your responsibility to obtain the
most current information available from Rockwell when installing or using this
product.
Environmental Compliance
Rockwell Automation maintains current product environmental information on
its website at
http://www.rockwellautomation.com/rockwellautomation/about-
us/sustainability-ethics/product-environmental-compliance.page
Contact Rockwell
Customer Support Telephone — 1.440.646.3434
Online Support — http://www.rockwellautomation.com/support/
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 19
Chapter 1
Process
The Process Control instructions include these instructions:
Available Instructions
Ladder Diagram
Not available
Function Block and Structured Text
ALM SCL PIDE RMPS POSP SRTP LDLG FGEN
TOT DEDT D2SD D3SD IMC CC MMC
If you want to Use this instruction
Provide alarming for any analog signal. ALM
Control discrete devices, such as solenoid valves, pumps, and motors, that
have only two possible states (e.g., on/off, open/closed, etc.).
D2SD
Control discrete devices, such as high/low/off feeders that have three
possible states (e.g., fast/slow/off, forward/stop/reverse, etc.).
D3SD
Perform a delay of a single input. You select the amount of deadtime
delay.
DEDT
Convert an input based on a piece-wise linear function. FGEN
Provide a phase lead-lag compensation for an input signal. LDLG
Regulate an analog output to maintain a process variable at a certain
setpoint, using a PID algorithm.
PIDE
Raise/lower or open/close a device, such as a motor-operated valve, by
pulsing open or close contacts.
POSP
Provide for alternating ramp and soak periods to follow a temperature
profile.
RMPS
Convert an unscaled input value to a floating point value in engineering
units.
SCL
Process Control
Instructions
Chapter 1
Process Control Instructions
20 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Take the 0-100% output of a PID loop and drive heating and cooling
digital output contacts with a periodic pulse.
SRTP
Provide a time-scaled accumulation of an analog input value, such as a
volumetric flow.
TOT
Control a single process variable by maintaining a single controller output. IMC
Control a single process variable by manipulating as many as three
different control variables.
CC
Control two process variables to their setpoints using up to three control
variables.
MMC
See also
Filter Instructions on page 319
Logical and Move Instructions on page 401
Drives Instructions on page 263
Select/Limit Instructions on page 349
Statistical Instructions on page 381
This information applies to the CompactLogix 5370, ControlLogix 5570,
Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380,
CompactLogix 5380, CompactLogix 5480, ControlLogix 5580, and GuardLogix
5580 controllers.
The ALM instruction provides alarming for any analog signal.
Available Languages
Ladder Diagram
This instruction is not available in ladder diagram logic.
Alarm (ALM)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI