Home

CompactLogix Controllers

image

Contents

1. CompactLogix TRHHH i i p g gt nity PLC 5 Controller with ControlLogix Controller Controller with 1771 SDN Scanner Module with 1756 DNB Module 1769 SDN DeviceNet Networ 000 D WA D j z H Sensor 22288o 0 Aotor fo Pushbutton CompactLogix System PanelView ae Starter Cluster with 1769 ADN Terminal Laptop L gt Ultra 5000 E LL Servo Drive Bar Code Input Output sa Indicator Scanner Devices PowerFlex Lights AC Drive You can use these software products with a 1769 CompactLogix controller on a DeviceNet network CompactLogix DeviceNet Software Combinations Software Functions Requirement RSLogix 5000 programming e Configure the software CompactLogix project e Define EtherNet IP communications Yes RSNetWorx software for e Configure DeviceNet DeviceNet devices devices e Define the scan list for DeviceNet devices The DeviceNet communications module e supports messaging to devices not controller to controller e shares a common application layer with ControlNet and EtherNet IP e offers diagnostics for improved data collection and fault detection e requires less wiring than traditional hardwired systems Publication 1769 UM011F EN P January 2007 30 Communicate Over Networks You can use a linking device as a e gateway to connect information e control level network to device level netwo
2. g oo i JI Ee E FlexLogix with 1788 DNBO DeviceNet Daughtercard Example CompactLogix Connection Types I ControlLogix Controller with 1756 ENBT Module Connection Type Device Connections Total Quantity per Device Connections Controller to local 1 0 modules rack optimized 2 1 2 Controller to 1769 SDN scanner module 1 2 2 Controller to built in EtherNet IP communication port rack optimized 1 0 0 Controller to RSLogix 5000 programming software 1 1 1 Message to ControlLogix controller 2 1 2 Produced tag consumed by FlexLogix controller 2 1 2 Total 9 Publication 1769 UM011F EN P January 2007 48 Manage Controller Communications Additional Resources Publication 1769 UM011F EN P January 2007 For additional information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 e Logix5000 Controllers General Instructions Reference Manual publication 1756 RM003 Introduction Select 1 0 Modules Chapter 5 Place Configure and Monitor 0 This chapter explains how to place configure and monitor CompactLogix I O modules Topic Page Select I O Modules 49 Place Local 1 0 Modules 54 Configure I 0 55 Configure Distributed I O on an EtherNet IP Network 57 Configure Distributed I O on a
3. l rd cord 769 1 0 Modules CompactLogix Controller a Connected to the CompactLogix Controller For a more flexible system use e multiple controllers in a single chassis e multiple controllers joined across networks e I O in multiple platforms that is distributed in many locations and connected over multiple I O links Publication 1769 UM011F EN P January 2007 12 1769 CompactLogix Controllers Overview CompactLogix System Overview 1769 1 0 Modules Connected to the CompactLogix Controller Built in ControlNet or Remote 1 0 Modules EtherNet IP i ge Communication Ports Drives or 1769 SDN Module Connected to the EtherNet IP Link Controller ControlNet Link EtherNet IP Link DeviceNet Link ControlNet Link DH 485 Link Computers Other Controllers The CompactLogix controller part of the Logix family of controllers provides a small powerful cost effective system consisting of e RSLogix 5000 programming software e built in communication ports for EtherNet IP 1769 L32E and 1769 L35E only and ControlNet 1769 L32C and 1769 L35CR only networks e a 1769 SDN communication interface module providing I O control and remote device configuration over DeviceNet e a built in serial port on every CompactLogix controller e Comp
4. 1769 L32E and 1769 L35E EtherNet IP Communication Modules in Logix5000 Control Systems User Manual ENET UMO001 1769 L32C and 1769 131 1769 L32C 1769 L32E ControlNet Communication Modules in Logix5000 Control Systems User Manual CNET UM001 1769 L35CR To view or download these publications go to http literature rockwellautomation com To obtain a hard copy contact your Rockwell Automation distributor or sales representative Publication 1769 UMO001F EN P January 2007 10 Notes Publication 1769 UM001F EN P January 2007 Chapter 1 1769 CompactLogix Controllers Overview Introduction This chapter introduces the 1769 CompactLogix controllers These controllers offer state of the art control communications and I O elements in a distributed control package About the CompactLogix The CompactLogix controller offers state of the art control communications and I O elements in a distributed control package Controllers Topic Page Design a CompactLogix System 13 Install Hardware 14 CompactLogix Controller and 1769 1 0 Modules l UANO OA Mi cel eaa Ee i oone DeshceNet b Uig h U TT TT
5. Date Time Advanced SFC Execution File Nonvolatile Memory Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Mode m Baud Rate 9600 X Data Bits 7 Z Parity Even v Stop Bits 1 Zi Control Line No Handshake 7 c RTS Send Delay fo x20 ms RTS Off Delay 0 x20 ms DCD Wait Delay x1 sec 4 Click the Serial Port tab 5 From the Mode pull down menu choose System 6 Specify communication settings m The baud rate specifies the communication rate for the DH 485 port All devices on the same DH 485 network must be configured for the same baud rate Select 9600 or 19200 KB 7 Click the System Protocol tab fa Controller Properties Example_for_1769_ASCII_Module Date Time Advanced SFC Execution File Nonvolatile Memory Memory General SerialPort System Protocol User Protocol Major Faults Minor Faults Error Detection Protocol DH485 hd C CRC Station Address 0 7 Max Station Address 31 3 Token Hold Factor 8 From the Protocol pull down menu choose DH4835 9 Specify DH 485 settings 10 From the Protocol pull down menu choose DF1 Radio Publication 1769 UM011F EN P January 2007 42 Communicate Over Networks System Protocol Specifications Characteristic Description Station Address Specifies the node address of the controller on the DH 485 network Select a number
6. 9 31 Cut Ctrl x Copy Ctrl C Defined al 1 C al 4 1 al 1 0 Delete Del Cross Reference Ctri E A stinn Propertie Alt Enter Publication 1769 UM011F EN P January 2007 64 Place Configure and Monitor 1 0 The Controller Properties dialog appears Controller Properties Example_for_1769_ASCII_Module Date Time Advanced SFC Execution File Nonvolatile Memory Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Vendor Allen Bradley Type 1769 L35CR CompactLogix5335CR Controller Revision 16 1 Name Example_for_1769_A4SCIl_Module Sample logic using the 1769 4SCIl module with CompactLogix Connect cable from computer to channel zero of ASCII module Description 2 Reconfigure the module Reconfigure a Module via a MSG Instruction To reconfigure an I O module use a Module Reconfigure MSG instruction During the reconfiguration e input modules continue to send input data to the controller e output modules continue to control their output devices A Module Reconfigure message requires the property Message Type and a selection of Module Reconfigure To reconfigure an I O module perform this procedure 1 Set the required member of the configuration tag of the module to the new value 2 Send a Module Reconfigure message to the module EXAMPLE When reconfigure 5 is on the MOV instruction sets the high alarm to 60 for
7. install controller hardware 14 Logix5000 connections 45 maintain nonvolatile memory 91 manage controller communications 43 manage tasks 65 monitor connections 76 monitor controller status 75 monitor I O modules 62 network communications 21 organize tags 71 overview 11 place local 1 0 modules 54 prevent major fault 92 real time clock accuracy 100 RPI 56 select 1 0 modules 49 select programming language 72 serial communications 31 Publication 1769 UM011F EN P January 2007 118 Index serial DF1 communication 34 serial modbus support 38 serial port configuration 31 use CompactFlash reader 92 validate I 0 layout 50 CompactLogix controllers dynamic memory allocation 111 specifications 95 start 11 configure distributed 1 0 on ControlNet 58 distributed 1 0 on DeviceNet 59 distributed I O on EtherNet 57 I O 49 55 PhaseManager 83 serial driver 17 connect to controller via serial port 15 connections 45 consume data 43 ControlNet network 27 determine timeout with any device 77 determine timeout with I O module 78 EtherNet IP network 23 example 47 monitor 76 number needed to optimize throughput 115 produce data 43 view number of open 115 connections per PLC specify 113 consume data connection use 43 controller communications management 43 design 13 fault handler 79 install 14 path selection 19 status monitoring 75 ControlNet network communications 25 configure distributed 1 0 58 connections 27 examp
8. you can select rack optimized communication A rack optimized connection consolidates connection usage between the controller and all the digital 1 0 modules on a rack or DIN rail Rather than having individual direct connections for each 1 0 module there is one connection for the entire rack or DIN rail Publication 1769 UM011F EN P January 2007 Place Configure and Monitor I O 57 Additional Resources For additional information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 Configure Distributed 1 0 To communicate with distributed I O modules over EtherNet IP on an EtherNet IP Network e choose a 1769 L32E or 1769 L35E CompactLogix controller with a built in EtherNet IP communication port e add an EtherNet IP adapter and I O modules to the I O Configuration folder of the controller Within the I O Configuration folder organize the modules into a hierarchy of tree branch and parent child EtherNet IP Distributed 1 0 Configuration For a typical distributed 1 0 network Built in Remote 1 0 Controller EtherNet IP Port Adapter Module Device EES Controller CompactLogix_ project Controller Tags Controller Fault Handler Power Up Handler 6 Tasks ea fa MainTask amp a MainProgram Unscheduled Programs Phases 5 6 Motion Grou
9. 1 31 decimal inclusive To optimize network performance assign node addresses in sequential order Initiators such as personal computers should be assigned the lowest address numbers to minimize the time required to initialize the network Token Hold Number of transmissions plus retries that a node holding a token can send onto the data link each time it receives the Factor token Enter a value between 1 4 The default is 1 Maximum Specifies the maximum node address of all the devices on the DH 485 network Select a number 1 31 decimal Station Address inclusive To optimize network performance make sure e the maximum node address is the highest node number being used on the network e that all the devices on the same DH 485 network have the same maximum node address Additional Resources For additional information consult Data Highway Data Highway Plus Data Highway II Data Highway 485 Cable Installation Manual publication 1770 6 2 2 Publication 1769 UM011F EN P January 2007 Chapter 4 Introduction Manage Controller Communications This chapter explains how to manage controller communications Topic Page Produce and Consume Data 43 Send and Receive Messages 44 Connections 45 Calculate Total Connections 46 Connections Example 47 Produce and Consume Data The controller supports the ability to produce broadcast and Tag Type Produced consume receive system shared tags over ControlNet
10. 61000 4 4 2 kV 5 kHz on communications ports Surge transient immunity IEC 61000 4 5 2 kV line earth CM on communications ports Conducted RF immunity IEC 61000 4 6 10Vrms with 1 kHz sine wave 80 AM from 150 kHz 80 MHz Enclosure type rating None open style This specification is also known as Power Consumption 2 Use this Conductor Category information for planning conductor routing See Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 1769 L32E and 1769 L35E CompactLogix Controllers These are the specifications for the 1769 L32E and 1769 L35E CompactLogix controllers Attribute Value 1769 L32E 1769 L35E Communication ports CHO RS 232 EtherNet IP RS 232 RJ 45 or 10BaseT DF1 EtherNet IP 38 4 KB s maximum1 0 100 MB sec User memory 750 KB 1 5 MB B Nonvolatile memory 1784 CF64 CompactFlash B Maximum number of 1 0 modules 16 1 0 modules 30 1 0 modules Maximum number of 0 banks 3 banks 3 banks Backplane current 660 mA 5V de 660 mA 5V de 90 mA 24V de 90 mA 24V de Publication 1769 UM011F EN P January 2007 Attribute Power dissipation CompactLogix Controllers Specifications 99 Value 1769 L32E 1769 L35E 4 74 474W Power supply distance rating 4 Controller must be within 4 slot positions of power supply Battery 1769 BA Weight 0 32 kg 0 70 Ib 0 32 kg 0 70 Ib Programming cab
11. Compare PhaseM anager to jee compare PhaseManager s state models to other common state Other State Models acid State Model Comparisons 88 PackML PhaseManager Idle Starting Ready Resetting ldle Running Complete Producing Running Complete Pausing Paused Standby Subroutines and or breakpoints Holding Held Holding Held Holding Held Restarting None Restarting Stopping Stopped Stopping Stopped Stopping Stopped Aborting Aborted Publication 1769 UM011F EN P January 2007 Aborting Aborted Aborting Aborted Minimum System Requirements Equipment Phase Instructions Configure PhaseManager 89 To develop PhaseManager programs you need e a CompactLogix controller with firmware revision 16 0 or later e a communication path to the controller e RSLogix 5000 programming software version 15 0 or later To enable PhaseManager support you need the full or professional editions of RSLogix 5000 software or the optional PhaseManager add on 9324 RLDPMENE to your RSLogix 5000 software package With CompactLogix controllers you can issue many ladder diagram LD and structured text ST instructions to begin various equipment phases Instruction Code Instruction PSC Signal a phase that the state routine is complete so go to the next state PCMD Change the state or substate of a phase PFL Signal a failure for a phase PCLF Clear the failure code of
12. ControlNet Network 58 Configure Distributed I O on a DeviceNet Network 59 Address I O Data 60 Determine When Data Is Updated 61 Reconfigure an 1 0 Module 63 When choosing 1769 I O modules select e specialty I O modules when appropriate Some modules have field side diagnostics electronic fusing or individually isolated inputs and outputs e a 1492 wiring system for each I O module as an alternative to the terminal block that comes with the module e 1492 PanelConnect modules and cables if you are connecting input modules to sensors Additional Resources For additional information consult Compact I O Selection Guide publication 1769 SG002 Publication 1769 UM011F EN P January 2007 50 Place Configure and Monitor 0 Validate 1 0 Layout Publication 1769 UM011F EN P January 2007 After you have selected your I O modules you need to validate the system you want to design Before you begin to place your I O modules consider that e as you add modules the minimum backplane RPI increases e the I O modules must be distributed such that the current consumed from the left or right side of the power supply never exceeds 2 0 A at 5V dc or 1 0 A at 24V dc Estimate Request Packet Interval The request packet interval RPD defines the frequency at which the controller sends and receives all I O data on the backplane There is one RPI for the entire 1769 backplane Type of Module Request Packet Interval Digita
13. Example_for_1769_ASCII_Module Date Time Advanced SFC Execution File Nonvolatile Memory Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Mode DECIM 7 imee Baud Rate 9600 X Data Bits bal X Parity ven E Stop Bits la Control Line No Handshake X fi RTS Send Delay O 20m3 RTS Off Delay 0 K20ms DCD Wait Delay x1 sec 2 Click the Serial Port tab Publication 1769 UM011F EN P January 2007 Communicate Over Networks 35 3 From the Mode pull down menu choose System 4 Specify communication settings 5 Click the System Protocol tab fa Controller Properties Example_for_1769_ASCII_Module Date Time Advanced SFC Execution File Nonvolatile Memory Memory General Serial Pon System Protocol User Protocol Major Faults Minor Faults Error Detection Protocol DF1 Point to Point Sa Bcc C CRC pation dodes po M Enable Duplicate Detection NAK Receive Limit BO ENQ Transmit Limit 3 ACK Timeout 50 x20 ms Embedded Responses autodetect gt 6 From the Protocol pull down menu choose a DF1 protocol 7 Specify DF1 settings Communicate with ASCII Devices You can use the serial port to interface with ASCII devices when the controller is configured for user mode For example you can use the serial port to e read ASCII characters from a weigh scale module or bar code reader e send and re
14. UM011F EN P January 2007 RS 232 Serial Port LED Indicators LED Indicators 105 CompactFlash LED Indicator ATTENTION Do not remove the CompactFlash card while the controller is reading from or writing to the card as indicated by a flashing green CF LED This could corrupt the data on the card or in the controller as well as corrupt the latest firmware in the controller This is the CompactFlash card LED indicator present on all CompactLogix controllers Indicator CF Condition Off Interpretation There is no activity Flashing green The controller is reading from or writing to the CompactFlash card Flashing red CompactFlash card does not have a valid file system These are the RS 232 serial port LED indicators present on all CompactLogix controllers Indicator Condition Interpretation DCHO Off Channel 0 configuration differs from the default serial configuration Steady green Channel 0 has the default serial configuration CHO Off No RS 232 activity Flashing green RS 232 activity CH1 Off No RS 232 activity i Flashing green RS 232 activity Publication 1769 UM011F EN P January 2007 106 LED Indicators ControlNet LED Indicators Publication 1769 UM011F EN P January 2007 The ControlNet LED indicators are only on the 1769 L32C and 1769 L35CR controllers Interpret ControlNet Network LED Indicators Use these LED indicators to determine how your C
15. allowed to set In some cases there will be more than one of the same type of object so you might also have to specify the object name For example there can be several tasks in your application Each task has its own TASK object that you access by the task name Publication 1769 UM011F EN P January 2007 76 Develop Applications You can access these object classes e AXIS e CONTROLLER e CONTROLLERDEVICE e CST e DF1 e FAULTLOG e MESSAGE e MODULE e MOTIONGROUP e PROGRAM e ROUTINE e SERIALPORT e TASK e WALLCLOCKTIME Additional Resources For more information consult these publicaitons e Logix5000 Controllers General Instructions Reference Manual publication 1756 RM003 e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 Monitor Connections If communication with a device in the I O configuration of the Publication 1769 UM011F EN P controller does not occur for 100 ms or 4 times the RPI whichever is less the communication times out and the controller produces these warnings e The I O LED on the front of the controller flashes green e A displays over the I O configuration folder and the device s that has timed out e A module fault code is produced which you can access via the Module Properties dialog box for the module a GSV instruction January 2007 Develop Applications 77 Determine if Device Communication Has Timed Out If communication times out w
16. data 62 end cap detection 63 monitor 62 reconfigure 63 select 49 install hardware 14 interpret ControlNet LED indicators 106 L ladder diagram 72 LED indicators 103 1769 L32C CompactLogix controller 106 1769 L32E CompactLogix controller 109 1769 L35CR CompactLogix controller 106 1769 L3xx controllers 103 CompactFlash reader 105 ControlNet network 106 EtherNet IP network 109 RS 232 serial port 105 link status LED indicator EtherNet IP network 110 Index 119 local 1 0 modules place 54 low battery 93 maintain battery 93 nonvolatile memory 91 major fault prevent during load 92 manage controller communications 43 tasks 65 manual state changes 88 master mode 31 messages 112 cache 45 receive 44 reconfigure I O module 64 send 44 modbus support serial communications 38 module LED indicator EtherNet IP network 109 module status LED indicator ControlNet network 107 monitor connections 76 controller status 75 1 0 49 I O modules 62 network channel LED indicators ControlNet network 108 network communication 21 network LED indicators EtherNet IP network 109 nonvolatile memory maintain 91 0 organize tags 71 P PhaseManager configure 83 terms 83 Publication 1769 UM011F EN P January 2007 120 Index place I 0 49 local I O modules 54 point to point 31 port configuration serial 31 prevent major fault during load 92 produce data connection use 43 program definition 69 programm
17. message transfer between controllers that is triggered by the requested packet interval RPD or the program such as a MSG instruction Unscheduled messaging lets you send and receive data when needed Publication 1769 UM011F EN P January 2007 24 Communicate Over Networks Publication 1769 UM011F EN P January 2007 The 1769 L32E and 1769 L35E controllers support 100 connections However the built in EtherNet IP port only supports 32 CIP connections over an EtherNet IP network With these controllers the number of end node connections they effectively support depends on a connection s RPI Requested Packet Interval Max EtherNet IP Port Communication Connections _ 2ms t S 4ms 5 8 ms 10 16 ms 18 32 ms 25 You can use all 32 communication connections on the built in EtherNet IP port However we recommend that you leave some connections available for tasks such as going online and non I O purposes Additional Resources For more information consult these publications e EtherNet IP Modules in Logix5000 Control Systems User Manual publication ENET UM001 e EtherNet IP Web Server Module User Manual publication ENET UM527 e EtherNet IP Performance Application Guide publication ENET AP001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 ControlNet Network Communication Communicate Over Networks 25 ControlNet is a real time control network that
18. or EtherNet IP networks Produced and consumed tags each require connections Over ControlNet produced and consumed tags are scheduled connections Controller Communications Overview Controller _1 Controller _2 Produced Tag p gt Consumed Tag Controller_3 p Consumed tag Controller _4 Consumed Tag Description A produced tag allows other controllers to consume the tag which means that a controller can receive the tag data from another controller The producing controller uses one connection for the produced tag and another for each consumer The controller s communication device uses one connection for each consumer As you increase the number of controllers that can consume a produced tag you also reduce the number of connections the controller and communication device have available for other operations like communications and 0 Consumed Each consumed tag requires one connection for the controller that is consuming the tag The controller s communication device uses one connection for each consumer Publication 1769 UM011F EN P January 2007 44 Manage Controller Communications For two controllers to share produced or consumed tags both controllers must be attached to the same control network such as a ControlNet or Ethernet IP network You cannot bridge produced and consumed tags over two networks The number of available connections limits the to
19. order Sie Controller CompactLogix_project Controller Tags Controller Fault Handler Power Up Handler Tasks 5 MainTask e MainProgram Unscheduled Programs Phases 6 6 Motion Groups Ungrouped Axes Trends 3 Data Types Ep User Defined E oa Strings oa Predefined E oa Module Defined 3 63 1 0 Configuration B Ziil Backplane CompactLogix System fa 1769 L35CR CompactLogix_project E 1769 L35CR ControlNet Port LocalCNE El gs ControlNet e 1769 L35CR ControlNet Port L 11794 ACNR15 C flex_adapty E FlexBus amp 0 1794 IE4xX0E2 B a amp 1 1794 OW8 A digit 2 1794 VHSC 4 cour S CompactBus Local 1 Add the remote adapter for the distributed 1 0 chassis or DIN rail 2 Add the distributed 1 0 modules Additional Resources For more information consult ControlNet Communication Modules in Logix5000 Control Systems User Manual publication CNET UMOO01 Publication 1769 UM011F EN P January 2007 Place Configure and Monitor I O 59 Configure Distributed 1 0 on a DeviceNet Network To communicate with the I O modules over a DeviceNet network add the DeviceNet bridge to the I O Configuration folder of the controller RSNetWorx for DeviceNet software is used to define the scanlist within the DeviceNet scanner to communicate data between the devices and the controller through the scanner DeviceNet Distributed 1 0 Configuration For a typical distributed 1 0 network Single Ne
20. our technical publications will help us serve you better in the future Thank you for taking the time to provide us feedback Ty You can complete this form and mail or fax it back to us or email us at RADocumentComments ra rockwell com Pub Title Type Publication Title Cat No 1769 L31 1769 L32C 1769 L32E Pub No 1769 UM011F EN P Pub Date January 2007 PartNo 953030 34 1769 L35CR 1769 L35E ee Please complete the sections below Where applicable rank the feature 1 needs improvement 2 satisfactory and 3 outstanding Overall Usefulness 1 2 3 How can we make this publication more useful for you 2 3 Can we add more information to help you Completeness all necessary information procedure step illustration feature is provided Ae example guideline other explanation definition Technical Accuracy 1 Zn 3 Can we be more accurate all provided information is correct text illustration Clarity 1 2 3 How can we make things clearer all provided information is easy to understand Other Comments You can add additional comments on the back of this form Your Name Your Title Function Would you like us to contact you regarding your comments Location Phone ___No there is no need to contact me Yes please call me Yes please email me at Yes please contact me via Return this form to Rockwell Automation Technical Communications 1 Allen Bradley Dr M
21. port is channel 0 on these controllers e The 1769 L31 CompactLogix controller has two RS 232 ports One port only allows DF1 protocol only The second port accepts DF1 and ASCII protocol Limit the length of serial RS 232 cables to 15 2 m 50 ft You can configure the serial port of the controller for several modes CompactLogix Serial Port Configuration Functions Communicate between the controller and one other DF1 protocol compatible device This is the default system mode Default parameters are e Baud Rate 19 200 e Data Bits 8 e Parity None e Stop Bits 1 e Control Line No Handshake e RTS send Delay 0 e RTS Off Delay 0 This mode is typically used to program the controller through its serial port DF1 Master Control polling and message transmission between the master and slave nodes e The master slave network includes one controller configured as the master node and as many as 254 slave nodes Link slave nodes using modems or line drivers e A master slave network can have node numbers from 0 254 Each node must have a unique node address Also at least 2 nodes must exist to define your link as a network 1 master and 1 slave station are the two nodes DF1 Slave Use a controller as a slave station in a master slave serial communication network e When there are multiple slave stations on the network link slave stations using modems or line drivers to the master When you have a single sla
22. project are not reflected in nonvolatile memory e f you change the project but do not store those changes you overwrite them when you load the project from nonvolatile memory If this occurs you have to upload or download the project to go online If you want to store changes such as online edits tag values or a ControlNet network schedule store the project again after you make the changes Publication 1769 UM011F EN P January 2007 92 Maintain Nonvolatile Memory Prevent a Major Fault During a Load Use a CompactFlash Reader Publication 1769 UM011F EN P January 2007 If the major and minor revision of the project in nonvolatile memory does not match the major and minor revision of the controller a major fault may occur during a load If the controller Then Does not use a Make sure that the major and minor revision of the project in CompactFlash card nonvolatile memory matches the major and minor revision of the controller The nonvolatile memory of the controller stores only the project not the firmware for the controller Uses a CompactFlash The CompactFlash card stores the firmware for projects at card revision 12 0 or earlier Depending on the current revision of the controller you may be able to use the CompactFlash card to update the firmware of the controller and load the project Do not remove the CompactFlash card while the controller is reading from or writing to the card as indicated by a
23. system you may not have more than eleven total I O modules three to the left of your power supply and eight to the right If your system requires additional I O modules you must add an additional bank In a multi bank system make sure that your additional bank s do not have more than eight I O modules on either side of the additional power supply IMPORTANT In a multi bank system you may place up to eight 0 modules on either side of the additional power supply so long as the power consumed by these modules does not exceed the power supply s capacity Additional Banks Additional Banks Place Configure and Monitor I O 53 In this example the I O modules 12 30 could be arranged in any way so long as the power supplies capacity was not exceeded In other words the first additional bank could contain fewer than sixteen I O modules This is just one possible arrangement Example of Multi Bank System Original Banks 0 and 1 1769 L35x pa Power ae ee eeipedei beet fe See Hii 12 13 14 15 16 17 18 pit 21 22 23 24 25 26 27 Supply SEL hl at a rr 77 OPY 1 0 modules are numbered 1 30 Power 9 30 Supply N co 4 Verify that all banks have end caps If you place and configure more I O modules and 0 banks than your controller can support your system may run well for a period of time Nothing ale
24. the connectors Workstation Controller 1 CD 1CD 2 RDX 2 RDX 3TXD 3TXD 4DTR S 4DTR COMMON COMMON 6DSR 6 DSR 7RTS 7RTS 8 CTS 8 CTS 9 9 C Attach the shield to both connectors 2 Connect the cable to your controller and workstation 4 CP3 Cable Publication 1769 UM011F EN P January 2007 Connect to the Controller Via the Serial Port 17 Configure the Serial Driver Use RSLinx software to configure the RS 232 DF1 Device driver for serial communications To configure the driver perform this procedure 1 From the Communications pull down menu choose Configure Drivers Xs RSLinx Professional Fie Edit view Keni e Station DDE OPC Security oo al gj 1 Configure Driv Configure Shortcuts Configure Client Applications Configure CIP Options Driver Diagnostics CIP Diagnostics Gateway Diagnostics The Configure Drivers dialog appears Configure Drivers Available Driver Types RS 232 DF1 devices v Add New RS 232 DF1 devices Ethemet devices 0 Ethemet IP Driver 1784 KT KTX D PKTX D PCMK for DH DH 485 devices 1784 KT CX for ControlNet devices Status DF1 Polling Master Driver 1784 PCC for ControlNet devices 1784 PCIC S for ControlNet devices 1747 PIC AIC Driver DF1 Slave Driver 5 5 SD SD2 for DH devices Virtual Backplane SoftLogix58xx DeviceNet Driv
25. the local module in slot 4 The Module Reconfigure message then sends the new alarm value to the module The ONS instruction prevents the rung from sending multiple messages to the module while the reconfigure 5 is on reconfigure 5 reconfigure 6 MOV Move Source 60 Dest Local4 C ChOConfig HAlarmLimit 75 0 MSG Type Module Reconfigure Message Control change_Halarm E h gt change_Halarm EN Publication 1769 UM011F EN P January 2007 Chapter 6 Develop Applications Introduction This chapter explains how to develop applications Topic Page Manage Tasks 65 Develop Programs 66 Organize Tags 71 Select a Programming Language 72 Monitor Controller Status 75 Monitor Connections 76 Select a System Overhead Time Slice Percentage 80 Manage Tasks With a Logix5000 controller you can use multiple tasks to schedule and prioritize the execution of your programs based on specific criteria This divides your controller s processing time among the different operations in your application Remember that e the controller executes only one task at one time e one exception task can interrupt another and take control e in any given task only one program executes at one time Additional Resources For more information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers De
26. the location of the I O module in the system 1 0 Address Format Location Slot Type Member SubMember 3 BL IC Optional Where Is Location Network location Local same chassis or DIN rail as the controller Adapter_Name identifies remote communication adapter or bridge module Slot Slot number of 1 0 module in its chassis or DIN rail Type Type of data input O output C configuration S status Member Specific data from the I O module depending on what type of data the module can store e For a digital module a data member usually stores the input or output bit values e For an analog module a channel member CH usually stores the data for a channel SubMember Specific data related to a member Bit Specific point on a digital 1 0 module depending on the size of the I O module 0 31 for a 32 point module Publication 1769 UM011F EN P January 2007 Place Configure and Monitor I O 61 Determine When Data CompactLogix controllers update data asynchronously with the Is Updated execution of logic This flowchart illustrates when producers send p data Controllers input modules and bridge modules are producers Updating of Data Input or Output Data Output Analog or Digital Digital Input Analog Analog or Digital Digital Remot
27. well accepted standards provides the capability required to both support information data exchange and control applications The EtherNet IP network also uses commercial off the shelf Ethernet components and physical media providing you with a cost effective plant floor solution For EtherNet IP communications you can use these CompactLogix controllers with a built in EtherNet IP communication port e 1769 L32E CompactLogix controller e 1769 L35E CompactLogix controller You can use several software products with a 1769 CompactLogix controller on an EtherNet IP network EtherNet IP Network Software Combinations Software Functions Requirement RSLogix 5000 programming e Configure the Yes software CompactLogix project e Define EtherNet IP communications BOOTP DHCP utility with Assign IP addresses to No RSLogix 5000 software devices on an EtherNet IP network RSNetWorx software for an Configure EtherNet IP No EtherNet IP network devices by IP addresses and or host names The EtherNet IP communication modules support messaging produced consumed tags HMI and distributed I O encapsulate messages within standard TCP UDP IP protocol share a common application layer with ControlNet and DeviceNet interface via RJ45 category 5 unshielded twisted pair cable support half full duplex 10 Mbps or 100 Mbps operation support standard switches require no network scheduling require no routing ta
28. 7 70 Develop Applications Publication 1769 UM011F EN P January 2007 You can also specify an optional program fault routine The controller executes this routine if it encounters an instruction execution fault within any of the routines in the associated program Sample Controller Projects RSLogix 5000 Enterprise programming software includes sample projects that you can copy and then modify to fit your application To view a set of sample controller projects perform this procedure 1 From the Help pull down menu choose Vendor Sample Projects Module 1769 L35CR Tools Window B265 Controller Tag Contents al Instruction Help Path A Release Notes Online Books 4 D TLV fsa as 2 Scroll down to select a set of sample projects RSLogix 5000 Programming Software Vendor Sample Projects About the RSLogix 5000 Sample Projects Yorar RS Logix 50000 sofrrane comer wich many sample poojects yor can tse 90 make it easier to conste your ows ponjects if you wish Por instance you can we them ax examples oo follow when coating your owa poojects Yor cam we them ar Marang pom Soe your ows applications by oenamang them and then adcing your ows appication onde Oe you can umg y apy end paste pesject components from one posjoct to moh Alag veh the anple respect poovedes by Hockwrl cm ane many paraded by other vendon that may aemet yos a Cerating pacyecte 90 see with that parmaslas vade
29. Advanced SFC Execution File Nonvolatile Memory Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Protocol ASCII sd Read Write Buffer Size us aj Bytes Termination Character 1 Append Character 1 e M XONAXOFF J Echo Mode a iF 2 SFF From the Protocol pull down menu choose ASCII Specify ASCII settings Communicate Over Networks 37 The controller supports several instructions to manipulate ASCII characters The instructions are available in ladder diagram LD and structured text ST Read and Write ASCII Characters Instruction Code ABL Description Determine when the buffer contains termination characters ACB Count the characters in the buffer ACL Clear the buffer Clear out ASCII Serial Port instructions that are currently executing or are in the queue AHL Obtain the status of the serial port control lines Turn on or off the DTR signal Turn on or off the RTS signal ARD Read a fixed number of characters ARL Read a varying number of characters up to and including the first set of termination characters AWA Send characters and automatically append one or two additional characters to mark the end of the data AWT Send characters Create and Modify Strings of ASCII Characters Instruction Code Description CONCAT Add characters to the end of a string DELETE Delete characters from a string FIND Det
30. Allen Bradley CompactLogix Controllers Catalog Numbers 1769 L31 1769 L32C 1769 L32E 1769 L35CR 1769 L35E Firmware Revision 16 User Manual r e 5 E aie ee nM oe z Rockwell Automation l Important User Information Solid state equipment operates differently than electromechanical equipment To learn how solid state equipment differs from hard wired electromechanical devices consult 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 ab com literature 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 circ
31. CCC Encapsulation in CIP Connections for ControlLogix processor Read Connections Max Messaging Connections per PLC 4 Messaging Connection Parameters 2 00 sec retry interval 32 00 sec timeout V Use Connections for Writes to ControlLogix processor Optimize User Defined Data Types Reset Defaults Cancel Help 2 In the Max Messaging Connections per PLC field enter the maximum number of read connections you want a particular workstation to make to a ControlLogix controller 3 Click OK Specify Number of Connections Needed to Optimize Throughput To specify the number of connections needed to optimize throughput perform this procedure 1 Repeat step 1 from the previous procedure 2 In the Configure CIP Options dialog click the Use Connections for Writes to ControlLogix processor check box IMPORTANT Once you have selected this feature you cannot limit the number of connections established Dynamic Memory Allocation in CompactLogix Controllers 115 Number of Connections Needed to Optimize Throughput RSLinx software only opens the number of connections required to optimize throughput For example if you have one tag on scan but have configured RSLinx software to allow five connections as the maximum number of connections RSLinx software only opens one connection for the tag Conversely if you have thousands of tags on scan and limit the maximum number of CIP connections to
32. CII device consider installing an isolator between the controller and modem or ASCII device An isolator is also recommended when connecting the controller directly to a programming workstation One possible isolator is the 1761 NET AIC interface converter lt q Port 2 Mini DIN 8 RS 232 lt a DC Power Source Selector Switch Terminals for External 24V dc Power Supply Are you using an isolator No Yes Communicate Over Networks 33 2 Select the appropriate cable Then use this cable The 1756 CP3 cable attaches the controller directly to the controller 1 CD 1 CD 2 RDX 2 RDX 3 TXD 3 TXD 4 DTR 4 DTR COMMON COMMON A 6 DSR 6 DSR 7 RTS 7 RTS 8 CTS 8 CTS 9 9 If you make your own cable it must be shielded and the shields must be tied to the metal shell that surrounds the pins on both ends of the cable You can also use a 1747 CP3 cable from the SLC product family This cable has a taller right angle connector housing than that of the 1756 CP3 cable The 1761 CBL APOO cable right angle connector to controller or the 1761 CBL PM02 cable straight connector to the controller attaches the controller to port 2 on the 1761 NET AIC isolator The mini DIN connector is not commercially available so you cannot make this cable DB 9 Right ang
33. Each consumer Consumed tag Message depending on type Block transfer message Publication 1769 UM011F EN P January 2007 Total Manage Controller Communications 47 Connections Example In this example system the 1769 L35E CompactLogix controller e controls local digital I O modules in the same chassis e controls remote I O devices on a DeviceNet network e sends and receives messages to from a ControlLogix controller on an EtherNet IP network e produces one tag that the 1794 FlexLogix controller consumes e is programmed via RSLogix 5000 programming software Example CompactLogix System Connections 1769 ADN Adapter with CompactLogix 1 0 Modules Redistation A Series 9000 fig Photoeye oy i op DeviceNet Network o 7 4 4 1769 L35E CompactLogix pi qra a with 1769 SDN i om u _ EtherNet IP Network ii Personal Computer
34. F 2A at 5V de and 0 8 A at 24V de 4 A at 5V de and 2 A at 24V de 24V dc User Power Capacity 0 55 C 32 131 F 250 mA maximum NA Validate Placement of 1 0 Modules The controller you use determines how many local I O modules you can configure Controller 1 0 Support Controller Supported Local 1 0 Modules 1 0 Banks 1769 L35CR 30 3 1769 L35E 30 3 1769 L32C 16 3 1769 L32E and 1769 L31 Publication 1769 UM011F EN P January 2007 52 Place Configure and Monitor 0 Publication 1769 UM011F EN P January 2007 To validate the proposed placement of I O modules in your CompactLogix system perform this procedure 1 Verify that your 1769 L3x controller resides on the leftmost side of the bank 1769 L3x ane Controller Single Bank System Power Supply 2 Verify that you have placed no more than three I O modules between your controller and power supply bank 0 Placing more than three I O modules in bank 0 would exceed the distance rating of four and invalidate your system 3 Validate the number of I O modules your power supply can support In a single bank system make sure you have not placed more than eight I O modules between the power supply and end cap bank 1 IMPORTANT In a single bank system the power supply can support up to eight 1 0 modules as long as the modules power consumption does not exceed the power supply s capacity So in a single bank
35. ICS 0k 4 sh eters Gp ae tt Koen Goes ao Seed Oh 113 Specify Connections per PLC cit aaau aana aaa 113 Number of Connections Needed to Optimize Throughput nasasa aa 115 View the Number of Open Connections 115 Rockwell Automation Support o osaa aaaea T27 Installation Assistance onnaa aaaea 127 New Product Satisfaction Return 127 Index Introduction l Additional Information Preface Use this manual to become familiar with the CompactLogix controller and its features This manual corresponds to controller firmware revision 16 This manual describes the necessary tasks to install configure program and operate a CompactLogix system In some cases this manual includes references to additional documentation that provides the more comprehensive details These documents address Logix5000 products Catalog Number Title Publication Number 1769 L31 Logix5000 Controllers Quick Start 1756 08001 1769 L32E 1769 L35CR and 1769 L35E Logix5000 Controllers Common Procedures Programming Manual 1756 PM001 SFC and ST Programming Languages Programming Manual 1756 PM003 1769 L35CR and Logix5000 Controllers System Reference 1756 QR107 1769 L35E Logix5000 Controllers General Instruction Set Reference Manual 1756 RM003 Logix5000 Controllers Process Control Drives Instruction Set Reference Manual 1756 RMO006 Logix5000 Controllers PhaseManager User Manual LOGIX UM001
36. Logix Controller Appendix A CompactLogix Controllers Specifications This appendix provides the specifications for CompactLogix controllers Topic Page 1769 L31 CompactLogix Controller 95 1769 L32C and 1769 L35CR CompactLogix 97 Controllers 1769 L32E and 1769 L35E CompactLogix 98 Controllers Real Time Clock Accuracy 100 These are the 1769 L31 CompactLogix controller specifications Attribute Value Communication ports CHO RS 232 CH1 RS 232 RS 232 RS 232 DF1 DH 485 DF1 Radio Modem DF1 DF1 DH 485 DF1 Radio Modem Radio Modem ASCII nonisolated Fully isolated 38 4 KB s max 38 4 KB s max User memory 512 KB Nonvolatile memory 1784 CF64 CompactFlash Maximum number of I O modules 16 1 0 modules Maximum number of 0 banks 3 banks Backplane current 330 mA 5V de 40 mA 24V de Power dissipation 2 61 W Power supply distance rating 4 Controller must be within 4 slot positions of power supply Battery Weight Approx 1769 BA 0 30 kg 0 66 Ib Programming cable 1747 CP3 or 1756 CP3 Panel mounting screw torque using M4 or 8 screws 10 16 in lb 1 1 1 8 Nm Enclosure type rating None open style Publication 1769 UM011F EN P January 2007 96 CompactLogix Controllers Specifications Attribute Wiring category Value 2 on communication ports Isolation voltage continuous voltage withstand rating 30V dc continuous
37. N P January 2007 46 Manage Controller Communications Calculate Total Connections the controller uses Local Connections Calculation You can calculate the total number of local and remote connections Local Connection Type Device Connections Total Quantity per Device Connections Local I O module always a direct connection 1 Built in ControlNet communication port 1769 L32C and 1769 L35CR controllers only 0 Built in EtherNet IP communication port 1769 L32E and 1769 L35E controllers only 0 1769 SDN DeviceNet scanner module 2 Total The number of remote connections a communication module supports determines how many connections the controller can access through that module Remote Connections Calculation Remote Connection Type Remote ControlNet communication module e 0 configured as direct connection none e O configured as rack optimized connection Device Quantity Connections per Device Oor Total Connections Remote I O module over ControlNet direct connection Remote EtherNet IP communication module e 0 configured as direct connection none e 1 0 configured as rack optimized connection Remote I O module over a EtherNet IP network direct connection Remote device over a DeviceNet network accounted for in rack optimized connection for local 1769 SDN module Other remote communication adapter POINT and FLEX adapters for example Produced tag
38. Power Up Handler lt none gt F System Overhead mjs Time Slice 10 mj es During unused System Overhead Time Slice Run Continuous Task C Reserve for System Tasks eg Communications Security I Match Project to Controller 2 Click the Advanced tab 3 From the System Overhead Time Slice menu choose a percentage System overhead time slice functions include e communicating with programming and HMI devices such as RSLogix 5000 software e responding to messages e sending messages The controller performs system overhead functions for up to one millisecond at a time If the controller completes the overhead Develop Applications 81 functions in less than one millisecond it resumes the continuous task As the system overhead time slice percentage increases time allocated to executing the continuous task decreases If there are no communications for the controller to manage the controller uses the communications time to execute the continuous task While increasing the system overhead percentage does increase communications performance it also increases the amount of time it takes to execute a continuous task increasing overall scan time Ratio between Continuous Task and System Overhead Functions Time Slice Continuous Tasks Max Overhead Function Time 10 9 ms 1 ms 20 4 ms 1 ms 33 2 ms 1 ms 50 1 ms 1 ms At a time slice of 10 system overhead interrupts the continuous task ev
39. S Ase vaseline ek ME Lee ae A es 20 Additional Resources eile ie amp 4 gad e g dae eau ea BE 20 Chapter 3 TARO CNC OR Se ni cinta 8 sao tke ae wg ie Se dey nine Rive we ane ee 21 EtherNet IP Network Communication 22 Connections Over an EtherNet IP Network 23 Additional Resources 0 0 0 0 00 ee 24 ControlNet Network Communication 25 Connections Over ConttolNet c vox s 248 Sa eee ee 8424 27 Additional Resources 5s 5 5 angle a Ci bh aw arerhaamea ws 28 DeviceNet Communications aoaaa a eee 28 Additional REsOurces s 25 caw oh ek Oe eae eee Wie 30 Serial Communications gt i046 244 bea dw ah Se baka italy Ss 31 Configure an Isolator 2 0 0 0 00 eee eee 32 Communicate with DF1 Devices 34 Communicate with ASCII Devices 35 Modbus Support Gis oie neted me ble dase 4 Br 4G Gon ese sy 8 38 Additional Resources 4 GAG ae el we ih we A ees 38 DH 485 Network Communications 00004 39 Additional Resources noou au poche ee POLES AES Ras 42 Chapter 4 Iitrod cton reri eto Reta See eS PREC ea 43 Produce and Consume Data 0 00000 cece ues 43 Send and Receive Messages 1 siete ee See oe ee Se 44 Determine Whether to Cache Message Connections 45 CONNECTIONS s 2 2 10560 x dud s Saye b thet te St ees eae eae ued 45 Calculate Total Connections o oo aaau reat Pekin 46 Publication 1769 UM011F EN P January 2007 6 Table of Conten
40. Tested to withstand 710V dc for 60 s North american temperature code T4 Temperature operating IEC 60068 2 1 test Ad operating cold IEC 60068 2 2 test Bd operating dry heat IEC 60068 2 14 test Nb operating thermal shock 0 60 C 32 140 F Temperature storage IEC 60068 2 1 test Ab unpackaged nonoperating cold IEC 60068 2 2 test Bb unpackaged nonoperating dry heat IEC 60068 2 14 test Na unpackaged nonoperating thermal shock 40 85 C 40 185 F Relative humidity IEC 60068 2 30 test Db unpackaged nonoperating damp heat 5 95 noncondensing Vibration IEC 60068 2 6 test Fc operating Operating 5 g 10 500Hz Shock IEC 60068 2 27 test Ea unpackaged shock DIN mount Operating 20 g nonoperating 30 g Panel mount Operating 30 g nonoperating 40 g Emissions CISPR 11 group 1 class A ESD immunity IEC61000 4 2 4 kV contact discharges 8 kV air discharges Radiated RF immunity IEC61000 4 3 10V M with 1 kHz sine wave 80 AM from 80 2000 MHz 10V m with 200 Hz 50 Pulse 100 AM 900 MHz 10V m with 200 Hz 50 Pulse 100 AM 1890 MHz EFT B immunity IEC 61000 4 4 2 kV 5 kHz on communication ports Surge transient immunity IEC61000 4 5 Channel 0 2 kV line earth CM on shielded ports Channel 1 1 kV line earth CM on shielded ports Conducted RF immunity IEC61000 4 6 10Vrms with 1 kHz sine wave 80 AM f
41. a phase PXRO Initiate communication with RSBizWare Batch software PRNP Clear the NewlnputParameters bit of a phase PPD Set up breakpoints within the logic of a phase PATT Take ownership of a phase to either e prevent another program or RSBizWare Batch software from commanding a phase or e make sure another program or RSBizWare Batch software does not already own a phase PDET Relinquish ownership of a phase POVR Override a command Publication 1769 UM011F EN P January 2007 90 Configure PhaseManager Notes Publication 1769 UM011F EN P January 2007 Chapter 8 Introduction Maintain Nonvolatile Memory This chapter explains how to maintain nonvolatile memory Topic Page Prevent a Major Fault During a Load 92 Use a CompactFlash Reader 92 CompactLogix controllers support the 1784 CF64 CompactFlash card for nonvolatile memory If the controller loses power and lacks sufficient battery capacity it loses the project in user memory Nonvolatile memory lets you keep a copy of your project on the controller The controller does not need power to keep this copy You can load the copy from nonvolatile memory to user memory of the controller e every time power is applied e whenever there is no project in the controller and it turns on e any time via RSLogix 5000 programming software IMPORTANT Nonvolatile memory stores the contents of the user memory when you store the project e Changes made after you store the
42. act I O modules providing a compact DIN rail or panel mounted I O system Publication 1769 UM011F EN P January 2007 1769 CompactLogix Controllers Overview 13 CompactLogix Controller Combinations Controller Available Communication Options Number of Number of Local 1 0 Memory Tasks Supported Modules Supported 1769 L35CR 1 5 MB 1 port ControlNet supports redundant media 8 30 1 port RS 232 serial system or user protocols 1769 L35E 1 port EtherNet IP 1 port RS 232 serial system or user protocols 1769 L32C 750 KB 1 port ControlNet 6 16 1 port RS 232 serial system or user protocols 1769 L32E 1 port EtherNet IP 1 port RS 232 serial system or user protocols 1769 L31 512 KB 1 port RS 232 serial system or user protocols 4 Design a CompactLogix System 1 port RS 232 serial system protocol only When designing a CompactLogix system determine the network configuration and the placement of components in each location To design your CompactLogix system you must select e I O devices e a communication network e controllers e power supplies e software Additional Resources For more information consult these publications e CompactLogix Selection Guide publication 1769 SG001 e Logix5000 Controller Design Considerations Reference Manual publication 1756 RM094 Publication 1769 UM011F EN P January 2007 14 1769 CompactLogix Controllers Overview Ins
43. ained in this manual You can also contact a special Customer Support number for initial help in getting your module up and running United States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues New Product Satisfaction Return Rockwell tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning it may need to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representative for States return procedure Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 1769 UM011F EN P January 2007 Supersedes Publication 1768 UM001A EN P March 2006 PN 953030 34 Copyright 2007 Rockwel
44. ate model divides the operating cycle of your equipment into a series of states Each state is an instant in the operation of the equipment an action or condition at a given time In a state model you define what your equipment does under different conditions such as run hold and stop You don t need to use all the states for your equipment Use only needed states Types of States State Acting Description Does something or several things for a certain time or until certain conditions are met An acting state runs one time or repeatedly Waiting Shows that certain conditions are met and the equipment is waiting for the signal to go to the next state PhaseManager States Start Hold Resetting Running a Hold Fesin Acting equipment does at a given time Held Ac Restart Reset C Stop omplete Stopping Reset Stopped Abort Abort Aborted Publication Your equipment can go from any state in the box to the stopping or aborting state ing states represent the things your Waiting states represent the condition of your equipment when it is in between acting states 1769 UM011F EN P January 2007 86 Configure PhaseManager Publication 1769 UM011F EN P January 2007 With a state model you define the behavior of your equipment and put it into a brief functional specification In this way you show what happens and when i
45. ayfield Hts OH 44124 9705 Fax 440 646 3525 Email RADocumentComments ra rockwell com Publication ClG C0521C EN P May 2003 PN953030 34957782 91 Other Comments PLEASE FASTEN HERE DO NOT STAPLE PLEASE FOLD HERE BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE Allen Bradley etecrnicl ROCKWELL SOFTWARE DOGE Rockwell Automation 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES PLEASE REMOVE Rockwell Automation Support www rockwellautomation com Rockwell Automation provides technical information on the Web to assist you in using its products At http support rockwellautomation com you can find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s cont
46. bles Publication 1769 UM011F EN P January 2007 CompactLogix Controller with Integrated EtherNet IP Port i Gli PowerFlex 700S AC Drive with DriveLogix Communicate Over Networks 23 In this example e the controllers produce and consume tags amongst themselves e the controllers initiate MSG instructions that send and receive data or configure devices e the personal computer uploads or downloads projects to the controllers e the personal computer configures devices on an EtherNet IP network CompactLogix EtherNet IP Overview FlexLogix Controller with 1788 ENBT Module pate Phe Distributed 1 0 CompactLogix Controller with 1756 ENBT Module 1756 ENBT as an adapter with 1756 Module i u E 1 0 Modules 1794 AENT Adapter with 17941 0 Modules Ai Switch 1734 AENT Adapter with 1734 1 0 Modules ae Workstation Connections Over an EtherNet IP Network You indirectly determine the number of connections the controller uses by configuring the controller to communicate with other devices in the system Connections are allocations of resources that provide more reliable communications between devices than unconnected messages All EtherNet IP connections are unscheduled An unscheduled connection is a
47. ceive messages from an ASCII triggered device such as a MessageView terminal ASCII Device Serial Communications Connection from the Controller s Serial Port to the ASCII Device ag GOGSB00000008 Publication 1769 UM011F EN P January 2007 36 Communicate Over Networks Publication 1769 UM011F EN P January 2007 To configure the controller for ASCII communications perform this procedure 1 2 3 6 7 In RSLogix 5000 programming software right click your controller and select Properties a fiil papaa CompactLoc Il 1769 135 ze Contre Compact J tolce B l7 description Sam Aajor Fault Ainor Fault Properties Alt Enter The Controller Properties dialog appears fa Controller Properties Example_for_1769_ASCII_Mc ule Date Time Advanced SFC Execution File Nonvolatile Memory Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Mode X Baud Rate 9600 X Data Bits 7 Zi Parity Even i Stop Bits 1 j Control Line No Handshake jE RTS Send Delay 0 x20 ms RTS Off Delay 0 x20 ms DCD Wait Delay x1 sec Click the Serial Port tab From the Mode pull down menu choose User Specify communication settings Click the User Protocol tab Controller Properties Example_for_1769_ASCII_Module mx Date Time
48. chedule two high priority tasks 1 5 to run every millisecond and they both require 500 us or more to execute no CPU time would be left for the dedicated I O task Furthermore if you have so much configured I O that the execution time of the dedicated I O task approaches 2 ms or the combination of the high priority tasks and the dedicated I O task approaches 2 ms no CPU time is left for low priority tasks 7 15 TIP For example if your program needs to react to inputs and control outputs at a set rate configure a periodic task with a priority higher than 6 1 5 This keeps the dedicated 1 0 task from affecting the periodic rate of your program However if your program contains a lot of math and data manipulation place this logic in a task with priority lower than 6 7 15 such as the continuous task so that the dedicated I O task is not adversely affected by your program Multiple Tasks Example Task Priority Level Task Type Example Execution Time Worst Case Completion Time 1 5 20 ms periodic task 2 ms 2 ms 2 7 Dedicated 1 0 task 1 ms 3 ms 5 ms selected RPI 3 10 10 ms periodic task 4 ms 8 ms 4 None lowest Continuous task 25 ms 60 ms Task 1 Task 2 Task 3 Publication 1769 UM011F EN P January 2007 20 25 30 Time ms Develop Applications 69 Remember that e the highest priority task interrupts all lower priority tasks e the dedicated I O task can be interrupted by tasks with pri
49. cifications 97 1769 L35E CompactLogix controller specifications 98 1769 L3xx controllers status indicators 103 A additional information 9 add on instructions 73 address data 60 AOI 73 applications develop 65 architecture 11 ASCII devices serial communication 35 battery life 94 maintenance 93 storage 94 C cables 1769 expansion 54 serial 16 cache messages 45 calculate system power consumption 51 total connections 46 change equipment states 86 change of state 56 check low battery 93 communicate over networks 21 Index 117 communications ControlNet network 25 determine timeout with any device 77 determine timeout with I O module 78 DeviceNet network 28 DH 485 network 39 format 56 CompactFlash reader 92 reader LED indicator 105 CompactLogix address I O data 60 applications development 65 battery maintenance 93 configure 1 0 55 connections example 47 controller LED indicators 103 controllers LED indicators 105 ControlNet network communications 25 ControlNet software combinations 25 COS 56 define programs 69 define routines 69 define tasks 67 design a system 13 DeviceNet network communications 28 DeviceNet software combinations 29 DH 485 network communications 39 display I O fault data 62 estimate battery life 94 EtherNet IP network communications 22 EtherNet IP software combinations 22 I O communication format 56 1 0 connections 56 I 0 electronic keying 56
50. controllers A DH 485 network consists of multiple cable segments Limit the total length of all the segments to 1219 m 4000 ft Publication 1769 UM011F EN P January 2007 40 Communicate Over Networks Publication 1769 UM011F EN P January 2007 For the controller to operate on a DH 485 network you need a 1761 NET AIC interface converter for each controller you want to put on the DH 485 network You can have two controllers for each 1761 NET AIC converter but you need a different cable for each controller To establish DH 485 communication perform this procedure 1 Connect the serial port of the controller to either port 1 or port 2 of the 1761 NET AIC converter 2 Use the RS 485 port to connect the converter to the DH 485 network The cable you use to connect the controller depends on the port you use on the 1761 NET AIC converter Connection Port 1 DB 9 RS 232 DTE connection Required Cable 1747 CP3 or 1761 CBL ACOO Port 2 mini DIN 8 RS 232 connection 1761 CBL APOO or 1761 CBL PM02 3 In RSLogix 5000 programming software right click on your controller and choose Properties J Backplane CompactLoc i EES a no 1769 L35 Zs Contri S CompactB 9 0 cd f i17 l description Sam fajor Fault finor Fault Eee Alt Enter i Communicate Over Networks The Controller Properties dialog appears f Controller Properties Example_for_1769_ASCII_Module s Ek
51. der in which they are grouped Programs can only appear once in the Controller Organizer and cannot be shared by multiple tasks Specify Task Priorities Each task in the controller has a priority level The operating system uses the priority level to determine which task to execute when multiple tasks are triggered You can configure periodic tasks to execute from the lowest priority of 15 up to the highest priority of 1 A higher priority task will interrupt any lower priority task The continuous task has the lowest priority and is always interrupted by a periodic task The CompactLogix controller uses a dedicated periodic task at priority 6 to process I O data This periodic task executes at the RPI you configure for the CompactBus which can be as fast as once each millisecond Its total execution time is as long as it takes to scan the configured I O modules How you configure your tasks affects how the controller receives I O data Tasks at priorities 1 5 take precedence over the dedicated I O task Tasks in this priority range can impact I O processing time For example if you use the following configuration e I O RPI 1 ms e a task of priority 1 5 that requires 500 Us to execute and is scheduled to run every millisecond this configuration leaves the dedicated I O task 500 Us to complete its job of scanning the configured I O Publication 1769 UM011F EN P January 2007 68 Develop Applications However if you s
52. e Communication format Many I 0 modules support different formats The communication format that you choose also determines data structure of tags e connections network usage ownership returning of diagnostic information Electronic keying When you configure a module you specify the slot number for the module However it is possible to purposely or accidentally place a different module in that slot Electronic keying lets you protect your system against the accidental placement of the wrong module in a slot The chosen keying option determines how closely any module in a slot must match the configuration for that slot before the controller opens a connection to the module There are different keying options depending on your application needs 1 0 Connections A Logix5000 system uses connections to transmit I O data Logix5000 1 0 Connections Connection Direct Description A direct connection is a real time data transfer link between the controller and an I O module The controller maintains and monitors the connection between the controller and the I O module Any break in the connection such as a module fault or the removal of a module while under power causes the controller to set fault status bits in the data area associated with the module Typically analog I O modules diagnostic 1 0 modules and specialty modules require direct connections Rack optimized For digital 1 0 modules
53. e ControlNet Yes ControlNet network e Define the NUT network update time e Schedule the ControlNet network Publication 1769 UM011F EN P January 2007 26 Communicate Over Networks The ControlNet communications modules e support messaging produced consumed tags and distributed VO e share a common application layer with DeviceNet and EtherNet IP networks e require no routing tables e support the use of coax and fiber repeaters for isolation and increased distance In this example e the controllers produce and consume tags amongst themselves e the controllers initiate MSG instructions that send and receive data or configure devices e the personal computer uploads or downloads projects to the controllers e the personal computer configures devices on ControlNet and configures the network itself CompactLogix ControlNet Overview Personal Computer Workstation Distributed 1 0 PowerFlex 700S Drive ee EE CompactLogix Controller 1756 CNB Module as an adapter with 1756 1 0 Modules ControlNet Network E 1 FlexLogix Controller with P F a 1794 ACN15 Adapter 1788 CNC Card ij EERE PanelView with 1794 1 0 Modules HERE 1734 ACNR Adapter with p 7 a lt T S 1734 1 0 Modules PLC 5 40C15 Controller Publication 1769 UM011F EN P January 2007 Connecti
54. e a hats ond Ee PES EES Re 62 Additional Resources 8eseccgce Aone 5G ber GS Be 4G Gime hack 62 Display Fault Data s gao0 Ged de Sk al he eee ee ed cand 62 End cap Detection and Module Faults 63 Reconfigure an I O Modules s lt 22484 34 424440448004 63 Reconfigure a Module via RSLogix 5000 Programming Software praus eae cohen a eh tod ack Sona eae anand 63 Reconfigure a Module via a MSG Instruction 64 Chapter 6 Introduction ay 43 95 8 Yo gneeourceests dvs sie 8 Gedo eR Mebane es 65 Manage Tasks svc Acivn sy age e ete eed A a 65 Additional Resources veoh nonan annaa 65 Develop Programs sey etre see eee hs ba a 66 Define TASKS Maen iota OC ee ed Bea ee Rue vee deta Ou 67 Define Programs 4 5 ssa lt scish a ee oon 2 eee ae Ak wk 69 Define R n s Wi ese vin Can boxe eae ele eae lee 69 Sample Controller Projects n a G00 SHS HGS 70 Additional Resources onana aaa a 71 Organize Taosi E eea E ae a E ODE EE D GAS 71 Configure PhaseManager Maintain Nonvolatile Memory Maintain the Battery CompactLogix Controllers Specifications Table of Contents 7 Additional Resources oY 43 55 4060 skh eed Deg RRS de Sorbo a eed 71 Select a Programming Language 6 66 oF te hn ee OA 72 Add On Instructions ohh gol i A ara Non ee a 73 Additional Resources oo ce4 4 23 SSeS be eek eS eed 74 Additional Resources i h fo5 0 ode e224 Ae ee Rade ones 74 Monitor Controller Status sou Boao aaaea 75 Additional Reso
55. e commonly used algorithms all work in the same manner regardless of who implements the project Use Standard Editors You create Add On Instructions by using one of three RSLogix 5000 software programming editors e Standard Ladder e Function Block Diagram e Structured Text Once you have created instructions you can use them in any RSLogix 5000 editor Export Add On Instructions You can export Add On Instructions to other projects as well as copy and paste them from one project to another Give each instruction a Publication 1769 UM011F EN P January 2007 74 Develop Applications Publication 1769 UM011F EN P January 2007 unique name so that you don t accidentally overwrite another instruction of the same name Use Context Views Context views let you visualize an instruction s logic for a specific instant simplifying online troubleshooting of your Add On Instructions Each instruction contains a revision a change history and an auto generated help page Create Custom Help When you create an instruction you enter information for the description fields in software dialogs information that becomes what is known as Custom Help Custom Help makes it easier for users to get the help they need when implementing the instructions Apply Source Protection As the creator of Add On Instructions you can limit users of your instruction s to read only access or you can bar access to the internal logic or local pa
56. e dialog appears f Who Active E oO x Workstation USMAY ASCOIOL Has Linx Gateways Ethernet eee A El gs AB_DF1 1 DF1 Apioa i z H 01 CompactLogix Processor Controller 1 E Backplane CompactLogix System Downoad s AB_ETHIP 1 Ethernet gt 4 AB_PCIC 1 ControlNet Update Firmware 5 Cte Of 3 Expand the communication driver to the level of the controller F 4 Select the controller Publication 1769 UM011F EN P January 2007 20 Connect to the Controller Via the Serial Port Controller Options Once you have selected a controller you have several options To Choose Monitor the project in the controller Go Online Transfer a copy of the project from the controller to RSLogix Upload 5000 software Transfer the open project to the controller Download Additional Resources For additional information consult these publications e EtherNet IP Modules in Logix5000 Control Systems User Manual publication ENET UM001 e ControlNet Modules in Logix5000 Control System User Manual publication CNET UMO001 e DeviceNet Modules in Logix5000 Control System User Manual publication DNET UM004 Publication 1769 UM011F EN P January 2007 Chapter 3 Introduction Function Control distributed remote I 0 e EtherNet IP e ControlNet e DeviceNet Communicate Over Networks This chapter explains how CompactLogix controllers su
57. e or Local Analog COS for any point on the No Remote No module p agg RTS RPI Yes Local Yes Data is sent to the backplane Data is sent to the backplane at at the RTS the RTS and RPI lt a Data is sent to the backplane at the RPI and at the change of a specified point 4 Data is sent to the backplane at the RPI e actual packet interval Data is sent to the backplane at the RPI and at the end of every task e Over an EtherNet IP network remote data is sent close to the RPI on average e Over a DeviceNet network data is sent to and from the scanner and processor at the RPI However the update rate for remote data between the scanner and end devices depends on the mapping type selected with the specific device TIP If you need to ensure that the 1 0 values being used during logic execution are from one moment in time such as at the beginning of a ladder program use the Synchronous Copy instruction CPS to buffer 1 0 data Additional Resources For additional information consult these publications e Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 e Logix5000 Controllers General Instruction Set Reference Manual publication 1756 RM003 Publication 1769 UM011F EN P January 2007 62 Place Configure and Monitor 0 Monitor 0 Modules With the CompactLogix controller you can monitor I O modules at different levels by e using the programm
58. ecific configuration for the module While the configuration options vary from module to module there are some common options that you typically configure Publication 1769 UM011F EN P January 2007 56 Place Configure and Monitor 0 Configuration Option Requested packet interval RPI 1 0 Configuration Options Description The RPI specifies the interval at which data updates over a connection For example an input module sends data to a controller at the RPI that you assign to the module e Typically you configure an RPI in milliseconds ms The range is 0 2 ms 750 ms e f a ControlNet network connects the devices the RPI reserves a slot in the stream of data flowing across the ControlNet network The timing of this slot may not coincide with the exact value of the RPI but the control system guarantees that the data transfers at least as often as the RPI Change of state COS Digital 1 0 modules use COS to determine when to send data to the controller If a COS does not occur within the RPI timeframe the module multicasts data at the RPI Because the RPI and COS functions are asynchronous to the logic scan it is possible for an input to change state during program scan execution If this is a concern buffer input data so your logic has a stable copy of data during its scan Use the Synchronous Copy CPS instruction to copy the input data from your input tags to another structure and use the data from that structur
59. ect the Controller Path To select the controller path perform this procedure 1 In RSLogix 5000 programming software open a project for the controller Open Import Project Look in O Rockwell Automation e EB 4 4 FBDLevelContralsimulation Indirect_Addressing Absolute_Position_DriveLogix Cam_Recovery_MCSV My Recent CNET_messaging Kinetix6000_Home_Basic Documents CompactLogix_IO_Example LD_Scale_VYalue_v15 F Coord_Motion_Blend_Circle_Diamond_Square W Look_Up_A_Bar_Code A Coord_Motion_Drill_Cycle_Infeed_Blend Messaging_Configuration_1 756_PLS Desktop A CPU_Chassis_Info_MSG Gi ModbusMaster tr A DayOF Week DHplus_messaging Equipment_Phase_Sequencer letherNet_IP_PowerFlex4x_MultiDrive oy lEtherNet_IP_PowerFlex4x_SingleDrive ModbusSlave Motion MSG_To_Multiple_Controllers Multiple_BTs_Over_ControlNet Multiple_BTs_Over_RIO m PLCS_status r My Documents 2 Example_for_1769_ASCII_Module My Computer lt gt File name Example_for_1769_ASCII_Module My Network Files of type All RSLogix 5000 Files ACD L5K Cancel Places Help 2 From the Communications pull down menu choose Who Active fa RSLogix 5000 Example_for_1769_ASCII_Module File Edit view Search Logic emmi ne a Tools Wine alelal a CERN S lect Recent Path Offline fl E RUN No Forces 0K Go Online No Edits 25 os Upload Download The Who Activ
60. em persists check the host If the daughtercard cannot communicate with the host the card may remain in self test mode Publication 1769 UM011F EN P January 2007 108 LED Indicators Network Channel LED Indicators These are the ControlNet network channel LED indicators Channel B is only labelled on the 1769 L35CR controller The 1769 L32C controller only has channel A but uses the second indicator in some LED patterns as described below Indicator Condition Recommended Action Off A channel is disabled Program network for redundant media if necessary Steady green Normal operation is occurring Normal operation No action is required Flashing green off Temporary network errors have occurred 1 Check media for broken cables loose connectors and missing terminators 2 If condition persists refer to the ControlNet Planning and Installation Manual publication 1786 6 2 1 The node is not configured to go online Make sure the network keeper is present and working and the selected address is less or equal to the UMAX Flashing red off Media fault has occurred 1 Check media for broken cables loose connectors and missing terminators 2 If condition persists refer to the ControlNet Planning and Installation Manual publication 1786 6 2 1 No other nodes are present on the network Add other nodes to the network Flashing red green The network is configured incorrectly Reconfigure the ControlNet network so
61. eneral practice view all LED indicators Module Status and Network Status together to gain a full understanding of the daughtercard s status LED Indicators 107 Module Status MS LED Indicator These are the ControlNet module LED indicators Indicator Condition Recommended Action Off The controller has no power Apply power The controller is faulted Make sure that the controller is firmly seated in the slot Steady red A major fault has occurred on the controller 1 Cycle power 2 If the problem persists replace the controller Flashing red A minor fault has occurred because a firmware update is Normal operation No action is required in progress A node address switch change has occurred The Change the node address switches back to the original controller s node address switches may have been setting The module will continue to operate properly changed since power up The controller uses invalid firmware Update the controller firmware with the ControlFlash Update utility The controller s node address duplicates that of another 1 Remove power device 2 Change the node address to a unique setting 3 Reapply power Steady green Connections are established Normal operation No action is required Flashing green No connections are established Establish connections if necessary Flashing The controller is diagnosing a problem Wait briefly to see if problem corrects itself red green If probl
62. ermine the starting character of a substring INSERT Insert characters into a string MID Extract characters from a string Convert Data to or from ASCII Characters Instruction Code Description STOD Convert the ASCII representation of an integer value to a SINT INT DINT or REAL value STOR Convert the ASCII representation of a floating point value to a REAL value DTOS Convert a SINT INT DINT or REAL value to a string of ASCII characters RTOS Convert a REAL value to a string of ASCII characters UPPER Convert the letters in a string of ASCII characters to upper case LOWER Convert the letters in a string of ASCII characters to lower case Publication 1769 UM011F EN P January 2007 38 Communicate Over Networks Publication 1769 UM011F EN P January 2007 Modbus Support To use Logix5000 controllers on Modbus connect the controllers through the serial port and execute specific ladder logic routines A sample controller project is available with RSLogix 5000 Enterprise programming software To view sample projects see Sample Controller Projects on pg 70 Additional Resources For more information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers General Instructions Reference Manual publication 1756 RM003 e SCADA System Application Guide publication AG UM008 e Logix5000 Controllers as Masters or Slaves on Modbus Applicati
63. ers 1784 PCD PCIDS 1770 KFD SDNPT drivers PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver SoftLogix5 driver Remote Devices via Linx Gatewar 2 From the Available Driver Types pull down menu choose the RS 232 DF1 Device driver 3 Click Add New to add the driver The Add New RSLinx Driver dialog appears Add New RSLinx Driver Choose a name for the new driver 15 characters maximum AB_DF1 1 4 Specify the driver name and click OK Publication 1769 UM011F EN P January 2007 18 Connect to the Controller Via the Serial Port The Configure RS 232 DF1 Devices dialog appears Configure RS 232 DF1 Devices Device Name AB_DF1 1 Comm Port COM1 E Device EE Baud Rate 19200 x Station Number w Decimal Parity None ind Error Checking Stop Bits 1 X Protocol Full Duplex Auto Contigure Use Modem Dialer Cancel Delete 5 Specify the serial port settings a From the Comm Port pull down menu choose the serial port on the workstation to which the cable is connected b From the Device pull down menu choose Logix 5550 Serial Port c Click Auto Configure 6 Verify that the Auto Configuration was successful Click OK No Go to step 5 and verify that you selected the correct communications port 7 Click Close Publication 1769 UM011F EN P January 2007 Connect to the Controller Via the Serial Port 19 Sel
64. ery 9 ms of continuous task time Legend inne 4 Task executes Task is interrupted suspended Periodic 1 ms 1 ms System Overhead w H 9 ms 9 ms 0 5 10 15 20 25 Elapsed Time ms Publication 1769 UM011F EN P January 2007 82 Develop Applications The interruption of a periodic task increases the elapsed time clock time between the execution of system overhead functions 1 ms 1 ms 1 ms 1 ms 1 ms Periodic Task ea i aa is B 1 ms 1 ms System Overhead E B 9 ms of Continuous Task Time 9 ms of Continuous Task Time Continuous Task 0 5 10 15 20 25 Elapsed Time ms If you use the default time slice of 20 the system overhead interrupts the continuous task every 4 ms 1ms 1ms 1ms 1ms 1ms System Overhead B eas E 4 ms 4 ms 4 ms 4 ms 4 ms Continuous Task Elapsed Time ms If you increase the time slice to 50 the system overhead interrupts the continuous task every 1 ms 1ms System Overhead ied i ing E E E E E E E 1 ms Continuous Task B E a ial iz ia is E E E E E E 5 10 15 20 25 Elapsed Time ms If the controller contains only a periodic task s the system overhead time slice value has no effect System overhead runs whenever a periodic task is not running Periodic Task 5 10 15 20 25 Continuous Task Elapsed Time ms Publication 1769 UM011F EN P January 2007 Chapter Configure PhaseManager Introduction This chapter expla
65. five RSLinx software cannot establish more than five connections to the CompactLogix controller RSLinx software then funnels all of the tags through those five available connections View the Number of Open Connections To view the number of open connections made from your workstation to the CompactLogix controller perform this procedure 1 In RSLinx programming software from the Communications pull down menu choose CIP Diagnostics Station DDE OPC RSWho Configure Drivers Configure Shortcuts Configure Client Applications Configure CIP Options Configure Gateway Driver Diagnostics CIP Diagnostics Publication 1769 UM011F EN P January 2007 116 Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM011F EN P January 2007 The CIP Diagnostics dialog appears CIP Diagnostics Dispatching Messaging Connections 2 Click the Connections tab Here you see an itemized list of open connections 3 Click the Dispatching tab CIP Diagnostics Dispatching Messaging Connections In the Connections Established box you see the total number of connections open to the CompactLogix controller Numerics 1769 L31 CompactLogix controller specifications 95 1769 L32C CompactLogix controller LED indicators 106 specifications 97 1769 L32E CompactLogix controller LED indicators 109 specifications 98 1769 L35CR CompactLogix controller LED indicators 106 spe
66. flashing green CF LED Doing so could corrupt the data on the card or in the controller as well as corrupt the latest firmware in the controller All CompactLogix controllers support the FAT16 file system used with the CompactFlash card Typically you do not have to manage the files on a CompactFlash card The card automatically loads the most recently stored project For additional flexibility the file system also lets you e manually change which project loads from the CompactFlash card e manually change the load parameters for a project A sample controller project that reads and writes from a CompactFlash card is available with RSLogix 5000 Enterprise programming software To display a list of sample projects from a CompactFlash card see Sample Controller Projects on pg 70 Additional Resources For more information consult Logix5000 Controllers Common Procedures Manual publication 1756 PMO001 Chapter 9 Maintain the Battery Introduction This chapter explains how to maintain your battery Topic Page Check If the Battery Is Low 93 Estimate 1769 BA Battery Life 94 Store Batteries 94 CompactLogix controllers support the 1769 BA battery The 1769 BA battery is the only battery you can use with the CompactLogix controllers The 1747 BA battery is not compatible with the CompactLogix controllers and may cause problems Check If the Battery Is Low The battery indicator BAT warns when the battery is lo
67. ge Bit 5 gt replace_bit BOOL Counter gt running_hours COUNTER Timer _ gt running_seconds TIMER stat IBooL Digital 1 0 Device stop BOOL Monitor Tags Edit Tags f IE When you create a tag assign these properties to the tag e Tag type e Data type e Scope Additional Resources For additional information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 Publication 1769 UM011F EN P January 2007 72 Develop Applications Select a Programming Language Required Language Ladder diagram LD The CompactLogix controller supports these programming languages both online and offline Programming Language Selection Program Continuous or parallel execution of multiple operations not sequenced Boolean or bit based operations Complex logical operations Message and communication processing Machine interlocking Operations that service or maintenance personnel may have to interpret in order to troubleshoot the machine or process Function block diagram FBD Sequential function chart SFC Structured text ST Publication 1769 UM011F EN P January 2007 Continuous process and drive control Loop control Calculations in circuit flow High level management of multiple operations Repetitive sequence
68. ia the Serial Port 15 Configure the Serial Driver 17 Select the Controller Path 19 Additional Resources 20 For the CompactLogix controller to operate on a serial network you need e a workstation with a serial port e RSLinx software to configure the serial communication driver e RSLogix5000 programming software to configure the serial port of the controller Channel 0 on the CompactLogix controllers is fully isolated and does not need a separate isolation device Channel 1 on the 1769 L31 is not an isolated serial port Serial Connection to Controller 1769 L31 Personal Controller Computer 1747 CP3 or 1756 CP3 Serial J Cable If you connect channel 1 of the 1769 L31 controller to a modem or an ASCII device consider installing an isolator between the controller and modem or ASCII device An isolator is also recommended when connecting the controller directly to a programming workstation One possible isolator is the 1761 NET AIC interface converter For more information on installing an isolator see Configure an Isolator on page 32 Publication 1769 UM011F EN P January 2007 16 Connect to the Controller Via the Serial Port To connect a serial cable perform this procedure 1 Obtain a 1747 CP3 or 1756 CP3 serial cable TIP If you make your own serial cable complete this procedure A Limit the length to 15 2 m 50 ft B Wire
69. ific use of the abort command Reset Abort Stopping Aborting Reset Stopped Aborted PhaseManager Transition Types Transition Description Type Command A command tells the equipment to start doing something or do something different For example the operator pushes the start button to start production and the stop button to halt production PhaseManager uses these commands e Reset e Start e Stop e Hold e Restart e Abort Done Equipment goes to a waiting state when it has completed a task You don t have to command equipment to stop Instead set up your code to signal when a task is complete Fault A fault tells you that something unusual has occurred Set up your code to find and take action for faults Suppose you want your equipment to shut down as fast as possible in case of a certain fault In that case set up your code to look for that fault and give the abort command if it finds it Publication 1769 UM011F EN P January 2007 88 Configure PhaseManager Manually Change States With RSLogix 5000 software you can monitor and command an equipment phase To manually change states perform this procedure Current State of Equipment Phase fY Equipment Phase Monitor My_Phase Take ownership of the equipment phase quipment Phases Fan Ofiner s RSLogix 5000 1 p quip p gad i Phase SL ae eae Give a command imn Stop Abort Complete Stopping Aborting Auto P ause Pause Stopped Aborted
70. ing language select 72 programs define 69 real time clock accuracy 100 receive messages 44 reconfigure I O module 63 requested packet interval description 56 estimate 50 routines define 69 RS 232 serial port LED indicators 105 RSLinx tag optimization 112 S select controller path 19 I O modules 49 programming language 72 send messages 44 sequential function chart 72 serial cable 16 communications 31 port configuration 31 serial communications 31 DF1 devices 34 modbus support 38 with ASCII devices 35 serial driver configure 17 Publication 1769 UM011F EN P January 2007 serial port direct connection to controller 15 SFC 72 slave mode 31 software combinations ControlNet network 25 DeviceNet network 29 specifications 1769 L31 CompactLogix controller 95 1769 L32C CompactLogix controller 97 1769 L32E CompactLogix controller 98 1769 L35CR CompactLogix controller 97 1769 L35E CompactLogix controller 98 CompactLogix controllers 95 specify connections per PLC 113 ST 72 state model 85 comparisons 88 states manually change 88 store batteries 94 structured text 72 system layout 11 system power consumption estimate 51 T tags organize 71 tasks define 67 manage 65 management 65 total connections calculate 46 trends 113 U update data 61 use CompactFlash reader 92 V validate 1 0 layout 50 view number of open connections 115 How Are We Doing PANE Your comments on
71. ing software to display fault data Refer to Display Fault Data on page 62 e programming logic to monitor fault data so you can take appropriate action Additional Resources For examples of programming logic refer to Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 Display Fault Data Fault data for certain types of module faults can be viewed through the programming software To display fault data perform this procedure 1 In RSLogix 5000 programming software select Controller Tags in the Controller Organizer and right click to select Monitor Tags E Controller CompactLogix_EtherNet z New Tag Ctrl mee Monitor Tags Peni H E me Edit Tags m m The display style for the fault data defaults to decimal H Scope ghhicontole 7 Show Show All I Sat Tag Name Type Description T AB 1769_D116 0 2 0000_000 Binary DINT 2 0000_000 Binay INT A EN aB1769 0016 0 El Locat 2C Config 2 0000_000 Binary INT i FLocat2 C ProgT oF aun 0 Decimal BOOL sal 2C ProgMode 2 0000_000 Binary INT it F Locat2C ProgValue 2 0000_000 Binary INT fll at2C FautMode 240000_000 Binay iNT Locat2 C FaullValue 2 0000_000 OE rT USS Ne 2 Change the display style to Hex to read the fault code If the module faults but the connection to the controller remains o
72. ins how to configure PhaseManager The PhaseManager option of RSLogix 5000 programming software gives you a state model for your equipment Topic Page About PhaseManager 83 About a State Model 85 Compare PhaseManager to Other State Models 88 Minimum System Requirements 89 Equipment Phase Instructions 89 Additional Resources For additional information consult PhaseManager User Manual publication LOGIX UMO001 About PhaseManager PhaseManager lets you add equipment phases to your controller An equipment phase helps you lay out your code in sections that are easier to write find follow and change Term Description Equipment e As with a program an equipment phase is run in a task and is given a set of routines and tags phase e Unlike a program an equipment phase runs by a state model and lets you do one activity State A state model divides the operating cycle of your equipment into a series of states Each state is an instant in the operation model of the equipment It s the actions or conditions of the equipment at a given time The state model of an equipment phase is similar to the S88 and PackML state models State An equipment phase includes an embedded state machine that machine e calls the main routine state routine for an acting state e manages the transitions between states with minimal coding e makes sure that the equipment goes from state to state along an allowable path PHASE tag When yo
73. ion This release of this document contains new and updated information To find new and updated information look for change bars as shown next to this paragraph l Updated information The document contains these changes Topic Page Validate 1 0 Layout 50 Configure 1 0 55 I Add On Instructions 73 I CompactLogix Controllers Specifications 95 Dynamic Memory Allocation in CompactLogix Controllers 111 Publication 1769 UM011F EN P January 2007 Summary of Changes 4 Notes Publication 1769 UM011F EN P January 2007 1769 CompactLogix Controllers Overview Connect to the Controller Via the Serial Port Communicate Over Networks Manage Controller Communications Table of Contents Preface ntroduction op seh edits dod lie Sey OG Bee eh kee ns de Se 9 Additional Information 4 i005 we i 6Gk duke a Meh wd ad ee 9 Chapter 1 IEMPOCMELI OR to acinar ee See ak ONS Ga DED ee Pee EOX 11 About the CompactLogix Controllers 11 Design a CompactLogix System aasa aaa 13 Additional URES OUlGes s 4 fds Rogie KE ea a 13 Install HAG Wate se erga 6 oka sp hak wale be Bettas Oe 14 Additional Resources 0 0 0 0 0 cc ce ee eee 14 Chapter 2 Introducti sy ii eet tents ER naib k te senna ted Hours 15 Connect to the Controller Via the Serial Port 15 Configure the Serial Driver ass S sce bang aaa a we eRe 17 Select the Controller Path ict sce st he te ow bak dah ees 19 Controller OPU
74. is performing its power up self test Normal operation No action is required A nonrecoverable fault has occurred 1 Cycle power to the controller 2 If the fault will not clear replace the controller Flashing red The port firmware is being updated Normal operation No action is required Network Status NS LED Indicator These are the EtherNet IP network LED indicators Indicator Condition Recommended Action Off The port is not initialized it does not have an IP address Verify that the BOOTP server is running and is operating in BOOTP mode Flashing green The port has an IP address but no CIP connections are established e f no connections are configured no action is required e f connections are configured check connection originator for connection error code Steady green The port has an IP address and CIP connections Class 1 or Normal operation No action is required Class 3 are established Steady red The port has detected that the assigned IP address is Verify that all IP addresses are unique already in use Flashing The port is performing its power up self test Normal operation No action is required red green Publication 1769 UM011F EN P January 2007 110 LED Indicators Indicator Off Link Status LNK LED Indicator Condition The port is not connected to a powered Ethernet device Therefore the port cannot communicate on Ethernet Recommended Action 1 Verify that a
75. ith at least one device module in the I O configuration of the controller the I O LED on the front of the controller flashes green e The GSV instruction gets the status of the I O LED and stores it in the I_O_LED tag e If 1 O_LED equals 2 the controller has lost communication with at least one device GSV EQU Get System Value Equal CIP Object Class MODULE Source A _O_LED CIP Object Name Attribute Name LedStatus Source B 2 Dest _O_LED where I_O_LED is a DINT tag that stores the status of the I O LED on the front of the controller Publication 1769 UM011F EN P January 2007 78 Develop Applications Determine if 1 0 Module Communication Has Timed Out If communication times out with a device module in the I O configuration of the controller the controller produces a fault code for the module e The GSV instruction gets the fault code for IO_Module and stores it in the Module_Status tag e If Module_Status is any value other than 4 the controller is not communicating with the module 1 0 Module Communication This rung is used to check the status of an I O connection We look at the entry status of the connection if the value returned is anything other than 4 The connection is not functioning properly When an error is detected the error code and and info is trapped on a one shot basis This is becuase the controller will try and re establish the connect and when it does this you wi
76. l Automation Inc All rights reserved Printed in the U S A AB Allen Bradley CompactLogix Controllers User Manual
77. l and analog any mix e 1 4 modules can be scanned in 1 ms e 5 16 modules can be scanned in 1 5 ms e 17 30 modules can be scanned in 2 ms e Some input modules have a fixed 8 ms filter so selecting a greater RPI has no effect Specialty e Full sized 1769 SDN modules add 1 5 ms per module e 1769 HSC modules add 0 5 ms per module You can always select an RPI that is slower than these The RPI shows how quickly modules can be scanned not how quickly an application can use the data The RPI is asynchronous to the program scan Other factors such as program execution duration affect I O throughput Place Configure and Monitor I O 51 Calculate System Power Consumption To validate your proposed system calculate the total 5V dc current and 24V dc to be consumed 1 0 Module Power Consumption Calculation Table Catalog Number of Module Current Requirements Calculated Current Number Modules Number of Modules x Module Current Requirements l at 5V dc in mA at 24V dc in mA at 5V dc in mA at 24V dc in mA 1769 31 330 40 1769 L32C 650 40 I 1769 L32E 660 90 1769 L35CR 680 40 I 1769 L35E 660 90 Total Current Required 1 This number must not exceed the power supply current capacity Power Supply Current Capacity Specification Power Supply and Capacity 1769 PA2 1769 PB2 1769 PA4 1769 PB4 Output Bus Current Capacity 0 55 C 32 131
78. le 1747 CP3 or 1756 CP3 Panel mounting screw torque using M4 or 8 screws Enclosure type rating 10 16 in Ib 1 1 1 8 Nm None open style Wiring category 2 on communication ports Isolation voltage continuous voltage withstand rating 30V de continuous Tested to withstand 710V dc for 60 sec Temperature operating IEC 60068 2 1 test Ad operating cold IEC 60068 2 2 test Bd operating dry heat IEC 60068 2 14 test Nb operating thermal shock Temperature storage IEC 60068 2 1 test Ab unpackaged nonoperating cold IEC 60068 2 2 test Bb unpackaged nonoperating dry heat IEC 60068 2 14 test Na unpackaged nonoperating thermal shock 0 60 C 32 140 F 40 85 C 40 185 F Relative humidity IEC 60068 2 30 test Db unpackaged nonoperating damp heat 5 95 noncondensing Vibration IEC 60068 2 6 test Fc operating Operating 5 g 10 500Hz Shock IEC 60068 2 27 test Ea unpackaged shock DIN mount Operating 20 g nonoperating 30 g Panel mount Operating 30 g nonoperating 40 g Emissions CISPR 11 group 1 class A ESD immunity IEC61000 4 2 4 kV contact discharges 8 kV air discharges Radiated RF immunity IEC61000 4 3 10V M with 1 kHz sine wave 80 AM from 80 2000 MHz 10V M with 200 Hz 50 Pulse 100 AM 900 MHz 10V M with 200 Hz 50 Pulse 100 AM 1890 MHz EFT B immunity IEC 61000 4 4 Surge transient immunit
79. le configuration 26 interpret LED indicators 106 LED indicators 106 module status LED indicator 107 network channel LED indicators 108 software combinations 25 COS 56 Publication 1769 UM011F EN P January 2007 D data update 61 DDE OPC topics 113 define programs 69 routines 69 tasks 67 design 13 CompactLogix system 13 develop applications 65 develop application fault handler 79 DeviceNet network communications 28 configure distributed 1 0 59 example configuration 30 software combinations 29 DF1 configuration 31 DF1 devices serial communication 34 DH 485 network communications 39 display fault data 62 dynamic memory allocation 111 CompactLogix controllers 111 messages 112 RSLinx tag optimization 112 E electronic keying 56 end cap 63 equipment states change 86 estimate battery life 94 requested packet interval 50 EtherNet IP network communications 22 configure distributed 1 0 57 connections 23 example configuration 23 LED indicators 109 link status LED indicator 110 module LED indicator 109 network LED indicators 109 software combinations 22 example system 11 expansion cables configuration 54 F fault data display 62 fault handler 79 FBD 72 function block diagram 72 H hardware installation 14 1 0 address data 60 communication format 56 configure 49 55 connections 56 COS 56 electronic keying 56 layout validation 50 monitor 49 monitor connection 78 place 49 1 0 modules display fault
80. le in Run Mode check box 3 Click OK 4 Develop a routine for the Controller Fault Handler Additional Resources For additional information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 Publication 1769 UM011F EN P January 2007 80 Develop Applications Select a System Overhead Time Slice Percentage Publication 1769 UM011F EN P January 2007 The Controller Properties dialog lets you specify a percentage for system overhead This percentage specifies the ratio of controller time excluding the time for periodic tasks that is devoted to communication and background functions To select a system overhead percentage perform this procedure 1 In the Controller Organizer of RSLogix 5000 programming software right click on your controller and choose Properties o Controller examp Controller Tag Verify C3 Controller Fau Print Ctrl P C3 Power Up Han Tasks MainTask The Controller Properties dialog appears f Controller Properties Generic_Profile CH1 Serial Port CH1 System Protocol CH1 User Protocol Major Faults Minor Faults General CHO Serial Port CHO System Protocol CHO User Protocol Date Time Advanced SFC Execution File Nonvolatile Memon Memory Controller Fault Handler
81. le or Straight 8 pin Mini DIN Cable End Cable End Pin DB 9 End Mini DIN End 1 DCD DCD 2 RxD RxD 3 TxD TxD 4 DTR DTR 5 Ground Ground 6 DSR DSR 7 RTS RTS 8 CTS CTS 9 NA NA 3 Connect the appropriate cable to the serial port Publication 1769 UM011F EN P January 2007 34 Communicate Over Networks Communicate with DF1 Devices You can configure the controller as a master or slave on a serial communication network Use serial communications when e the system contains three or more stations e communications occur regularly and require leased line radio or power line modems a E Ha EtherNet IP Important Only the 1769 L31 controller has more than one RS 232 port All other 1769 controllers are limited to one RS 232 port oa er Modem p Modem Modem To configure the controller for DF1 communications perform this procedure 1 In RSLogix 5000 programming software right click your controller and select Properties fai Backplane CompactLoc Il 1769 135 Zs Contri g CompactB J tolce 01117 amp 2 description Sam fajor Fault finor Fault Properties Alt Enter bs The Controller Properties dialog appears f Controller Properties
82. ll Ethernet cables are connected 2 Verify that Ethernet switch is powered Flashing green The port is performing its power up self test The port is communicating on Ethernet Steady green The port is connected to a powered Ethernet device Therefore the port can communicate on Ethernet Publication 1769 UM011F EN P January 2007 Normal operation No action is required Introduction Appendix C Dynamic Memory Allocation in CompactLogix Controllers This appendix explains the dynamic allocation of memory in CompactLogix controllers Topic Page Messages 112 RSLinx Tag Optimization 112 Trends 113 DDE OPC Topics 113 Certain operations cause the controller to dynamically allocate and remove user available memory affecting the space available for program logic As these functions become active memory is allocated Memory is then removed when these functions become inactive Operations that dynamically allocate memory are e messages e connections to processors with RSLogix 5000 programming software e RSLinx tag optimization e trends e DDE OPC topics Publication 1769 UM011F EN P January 2007 112 Dynamic Memory Allocation in CompactLogix Controllers Messages RSLinx Tag Optimization Publication 1769 UM011F EN P January 2007 Messages come in and go out of the controller via the Ethernet ControlNet and serial ports causing memory allocation The memory al
83. ll loss the true error SY STD Get System Value Bit Field Distribute Class Name MODULE Source Module_Status Instance Name lo_Module 0 Attribute Name EntryStatus Source Bit 12 Dest Module_Status Dest Module_Status_Easy 0 0 Dest Bit 0 Length 4 EQ Check _ONS SY Not Equal ONS Get System Value Source 4 Module_Status_Easy Class Name MODULE 0 Instance Name lo_Module Source B 4 Attribute Name FaulttCode Dest Module_Faultt_Code Get System Value Class Name MODULE Instance Name lo_Module Attribute Name Fauttinfo Dest Module_Fault_Into 0 Module_Connection_Error QU Module_Connection_Error Equal Source A Module_Status_Easy 0 Source B 4 Publication 1769 UM011F EN P January 2007 Develop Applications 79 Interrupt the Execution of Logic and Execute the Fault Handler To interrupt the execution of logic and execute the fault handler perform this procedure 1 In the Controller Organizer of RSLogix 5000 programming software right click the module and choose Properties fa pper LI 8 Corr jan hoe lomo cription or Fault or Fault Properties Alt Enter The Module Properties dialog appears W Module Properties Local 1 1769 MODULE 1 1 General Connection Requested Packet Interval RPI H ms Ta le MV Major Fault On Controller If Connection Fails While in Run Mode Module Fault Status Offline Cancel Help 2 Click the Connection and check Major Fault On Controller If Connection Fails Whi
84. locations for messages destined to I O are accounted for in these allocations To prevent message instructions from using too much memory do not send messages simultaneously Message Types Message Connection Established Memory Path Allocated ControlNet Port Incoming Yes The message is connected 1200 bytes No The message is unconnected 1200 bytes Outgoing All outgoing messages whether 1200 bytes connected or unconnnected Ethernet Port Incoming Yes The message is connected 1200 bytes No The message is unconnected 1200 bytes Outgoing All outgoing messages whether 1200 bytes connected or unconnnected Serial Port Incoming All incoming messages whether 1200 bytes connected or unconnected Outgoing All outgoing messages whether 1200 bytes connected or unconnected With tag optimization trend objects trend drivers and connections allocate memory Tag Functions Item Description Memory Allocated Trend Object Object is created in the controller to group 80 bytes the requested tags One trend object can handle approximately 100 tags Trend Driver Drive is created to communicate with the 36 bytes trend object Connection Connection is created between the 1200 bytes controller and RSLinx To monitor 100 points 100 points x 36 bytes 3600 bytes Trend Driver 3600 Trend Driver 80 Trend Object 1200 Connection approximately 4000 bytes We estimate tha
85. n and data collection capabilities for industrial devices The DeviceNet network uses the proven Controller Area Network CAN technology which lowers installation costs and decreases installation time and costly downtime A DeviceNet network provides access to the intelligence present in your devices by letting you connect devices directly to plant floor controllers without having to hard wire each device into an I O module CompactLogix DeviceNet Communications Interfaces If your application Select e Communicates with other DeviceNet devices 1769 SDN DeviceNet e Uses the controller as a master or slave on DeviceNet scanner module e Uses a controller ControlNet Ethernet or serial port for other communications e Accesses remote Compact 1 0 over a DeviceNet network 1769 ADN e Sends remote 1 0 data for as many as 30 modules back to scanner or DeviceNet controller adapter module 1 This table specifically describes using the 1769 ADN module to access remote Compact I O over DeviceNet However CompactLogix controllers can access other Allen Bradley remote 1 0 over DeviceNet In those cases you must select the appropriate interface For example if accessing remote POINT 1 0 modules you must select the 1734 ADN Communicate Over Networks 29 CompactLogix DeviceNet Overview
86. ndicator Condition Interpretation RUN Off The controller is in program or test mode Steady green The controller is in run mode FORCE Off e No tags contain I O force values e 0 forces are inactive disabled Steady amber e 0 forces are active enabled e 0 force values may or may not exist Flashing amber One or more input or output addresses have been forced to an On or Off condition but the forces have not been enabled BAT Off The battery supports memory Steady red The battery is e not installed e 95 discharged and should be replaced 1 0 Off e There are no devices in the 1 0 configuration of the controller e The controller does not contain a project Steady green The controller is communicating with all the devices in its 1 0 configuration Flashing green One or more devices in the 1 0 configuration of the controller are not responding Flashing red e The controller is not communicating with any devices e The controller is faulted Publication 1769 UM011F EN P January 2007 104 LED Indicators Indicator Condition Interpretation OK Off No power is applied Flashing red e The controller requires a firmware update e A major recoverable fault occurred on the controller To clear the fault perform this procedure 1 Turn the controller keyswitch from PROG to RUN to PROG 2 Go online with RSLogix 5000 e Anonrecoverable major fault occurred on the contr
87. of operations Batch process Motion control using structured text State machine operations Complex mathematical operations Specialized array or table loop processing ASCII string handling or protocol processing Develop Applications 73 Add On Instructions With version 16 of RSLogix 5000 programming software you can design and configure sets of commonly used instructions to increase project consistency Similar to the built in instructions contained in Logix5000 controllers these instructions you create are called Add On Instructions Add On Instructions reuse common control algorithms With them you can e ease maintenance by animating logic for a single instance e protect intellectual property with locking instructions e reduce documentation development time You can use Add On Instructions across multiple projects You can define your instructions obtain them from somebody else or copy them from another project Once defined in a project Add On Instructions behave similarly to the built in instructions in Logix5000 controllers They appear on the instruction tool bar for easy access as do internal RSLogix 5000 software instructions Save Time With Add On Instructions you can combine your most commonly used logic into sets of reusable instructions You save time when you create instructions for your projects and then share them with others Add On Instructions increase project consistency sinc
88. oller In this case the controller 1 initially displays a steady red LED 2 resets itself 3 clears the project from its memory 4 sets the LED to flashing red 5 produces a major recoverable fault 6 generates a fault code in the RSLogix 5000 project The fault code displayed in RSLogix 5000 and the subsequent fault recovery method depends on whether you have installed a CompactFlash card in the controller Code Condition Fault recovery method 60 CompactFlash A Clear the fault card is not B Download the project installed C Change to Remote Run Run mode If the problem persists A Before you cycle power to the controller record the state of the OK and RS232 LED indicators B Contact Rockwell Automation support See the back of this publication 61 CompactFlash A Clear the fault is installed B Download the project C Change to Remote Run Run mode If the problem persists contact Rockwell Automation support See the back of this publication Steady red The controller detected a nonrecoverable major fault so it cleared the project from memory To recover from a major fault perform this procedure 1 Cycle power to the chassis 2 Download the project 3 Change to Run mode If the OK LED remains steady red contact your Rockwell Automation representative or local distributor Steady green Controller is OK Flashing green The controller is storing or loading a project to or from nonvolatile memory Publication 1769
89. oltage withstand rating 30V de Tested to withstand 710V dc for 60 seconds Environmental conditions Temperature operating IEC 60068 2 1 test Ad operating cold IEC 60068 2 2 test Bd operating dry heat IEC 60068 2 14 test Nb operating thermal shock 0 60 C 32 140 F Temperature storage IEC 60068 2 1 test Ab unpackaged nonoperating cold IEC 60068 2 2 test Bb unpackaged nonoperating dry heat IEC 60068 2 14 test Na unpackaged nonoperating thermal shock 40 85 C 40 185 F Relative humidity IEC 60068 2 30 test Db unpackaged nonoperating damp heat 5 95 noncondensing Vibration IEC 60068 2 6 test Fc operating 5g 10 500Hz Publication 1769 UM011F EN P January 2007 98 CompactLogix Controllers Specifications Attribute Shock operating Value 1769 L32C 1769 L35CR IEC 60068 2 27 test Ea unpackaged shock DIN mount operating 20 g Panel mount operating 30 g Shock nonoperating IEC 60068 2 27 test Ea unpackaged shock DIN mount nonoperating 30 g Panel mount nonoperating 40 g Emissions CISPR 11 Group 1 class A ESD immunity IEC 61000 4 2 4 kV contact discharges 8 kV air discharges Radiated RF immunity IEC 61000 4 3 10V m with 1 kHz sine wave 80 AM from 80 2000 MHz 10V m with 200 Hz 50 Pulse 100 AM 900 MHz 10V m with 200 Hz 50 Pulse 100 AM 1890 MHz EFT B immunity IEC
90. ompactLogix 1769 L32C or 1769 L35CR controller is operating on the ControlNet network e Module Status e Network Status These LED indicators provide information about the controller and network when the controller is connected to ControlNet via the BNC connectors ControlNet Network LED States LED State Interpretation Steady The indicator is on continuously in the defined state Alternating When viewed together two indicators alternate between two defined states the two indicators are always in opposite states out of phase Flashing When viewed independent of another an indicator alternates between the two defined states if both indicators are flashing they flash together in phase IMPORTANT Keep in mind that the Module Status LED indicator reflects the module state for example self test firmware update normal operation but no connection established The network LED indicators A and B reflect network status Remember that the host is able to engage in local messaging with the card although it is detached from the network Therefore the Module Status LED indicator is flashing green if the host has successfully started the card Note however that until the host removes reset all communication port LEDs When you view the indicators always view the Module Status LED indicator first to determine the state of the communication port This information may help you to interpret the network LED indicators As a g
91. on Method Scheduled Communicate Over Networks 27 Connections Over ControlNet You indirectly determine the number of connections the controller uses by configuring the controller to communicate with other devices in the system Connections are allocations of resources that provide more reliable communications between devices compared to unconnected messages ControlNet Connection Methods Description A scheduled connection is unique to ControlNet communications A scheduled connection lets you send and receive data repeatedly at a set interval which is the requested packet interval RPI For example a connection to an 1 0 module is a scheduled connection because you repeatedly receive data from the module at a specified interval Other scheduled connections include connections to e communication devices e produced consumed tags On a ControlNet network you must use RSNetWorx for ControlNet to enable all scheduled connections and establish a network update time NUT Scheduling a connection reserves network bandwidth to specifically handle the connection Unscheduled An unscheduled connection is a message transfer between nodes that is triggered by ladder logic or the program such as a MSG instruction Unscheduled messaging lets you send and receive data when needed Unscheduled messages use the remainder of network bandwidth after scheduled connections are allocated The 1769 L32C and 1769 L35CR controllers su
92. on Solution publication CIG AP129 DH 485 Network Communications Communicate Over Networks 39 For DH 485 communication use the controller s serial port However with a CompactLogix controller we recommend that you use NetLinx networks such as EtherNet IP ControlNet or DeviceNet because excessive traffic on a DH 485 network may make it impractical to connect to a controller with RSLogix 5000 programming software IMPORTANT If your application uses connections to DH 485 networks select built in serial ports The DH 485 protocol uses RS 485 half duplex as its physical interface RS 485 is a definition of electrical characteristics not a protocol You can configure the CompactLogix controller s RS 232 port to act as a DH 485 interface By using a 1761 NET AIC converter and the appropriate RS 232 cable 1756 CP3 or 1747 CP3 a CompactLogix controller can send and receive data on a DH 485 network CompactLogix DH 485 Communications Overview 1747 CP3 Cable or 1761 CBL ACOO Cable port 1 Connection from CompactLogix 1761 CBL APOO Cable Controller to Port 1 or Port 2 or 1761 CBL PM02 Cable 1747 CP3 Cable 1761 NET AIC 19 or Converter Gis 1761 CBL ACOO Cable DH 485 Network 1747 AlC Converter DO a Bfe feaj eseej i SLC 5 03 Controller On the DH 485 network the CompactLogix controller can send and receive messages to and from other
93. opa n that case pos may need to seman componms chag locations ce make other modificazccs ar necerary Yor can une the RSLogx S000 Compase utliny finchaded on your RSLogex SW vaftwase CD to coempane the sample proyect Sie with an ampe fie new pooject fie Tha wil help yos to identify the component you need to modify Nader to the online help incunded with the IUSLogex S000 Compare wabty for maze infomamon on perSomang the compaiwan Sample Projects Chk oe any of tee ndadal vendor names to see the bet of sample peoyects they have pootided Soc tis release Develop Applications n Additional Resources For more information consult Logix5000 Controllers Common Procedures Manual publication 1756 PM001 With a Logix5000 controller you use a tag alphanumeric name to address data variables In Logix5000 controllers there is no fixed numeric format The tag name itself identifies the data This lets you Organize Tags e organize your data to mirror your machinery e document through tag names your application as you develop it Tag Organization Program Tags MainProgram Scope MainProgram 7 Show Show All 7 Sot Tag Nar Tag Name Alias For Base Tag Type north_tank_mix BOOL north_tank_pressure REAL Analog 0 Device a north_tank_temp REAL one_shots DINT F recipe TANK 3 Integer Value p H recipe_number DINT Stora
94. ority levels 1 5 The dedicated I O task interrupts tasks with priority levels 7 15 This task runs at the selected RPI rate scheduled for the CompactLogix system 2 ms in this example e the continuous task runs at the lowest priority and is interrupted by all other tasks e a lower priority task can be interrupted multiple times by a higher priority task e when the continuous task completes a full scan it restarts immediately unless a higher priority task is running Define Programs Each program contains e program tags e a main executable routine e other routines e an optional fault routine Each task can schedule as many as 100 programs The scheduled programs within a task execute to completion from first to last Programs unattached to any task show up as unscheduled programs You must specify schedule a program within a task before the controller can scan the program Define Routines A routine is a set of logic instructions in a single programming language such as ladder logic Routines provide the executable code for the project in a controller A routine is similar to a program file or subroutine in a PLC or SLC controller Each program has a main routine This is the first routine to execute when the controller triggers the associated task and calls the associated program Use logic such as the Jump to Subroutine JSR instruction to call other routines Publication 1769 UM011F EN P January 200
95. pen the controller tags database displays the fault value 16 0E01_0001 The fault word uses this format Publication 1769 UM011F EN P January 2007 Reconfigure an 1 0 Module Place Configure and Monitor I O 63 Fault Word Format faut Code Vae o a TT Reserved FaultCode Fault Information Connection _Closed 0 Connection Open Fault_Bit __ Description Fault_Bit This bit indicates that at least one bit in the fault word is set 1 If all the bits in the fault word are cleared 0 this bit is cleared 0 Connection_Closed This bit indicates whether the connection to the module is open 0 or closed 1 If the connection is closed 1 the Fault_Bit is set 1 End cap Detection and Module Faults If a module not adjacent to an end cap experiences a fault and the connection to the controller is not broken only the module enters the fault state If a module adjacent to an end cap experiences a fault both the module and the controller transition to the fault state If an I O module supports reconfiguration you can reconfigure the module via e the Module Properties dialog in RSLogix 5000 software e a MSG instruction in program logic Reconfigure a Module via RSLogix 5000 Programming Software To reconfigure an I O module via RSLogix 5000 software perform this procedure 1 Highlight the module in the I O Configuration tree and right click to choose Properties 9 2
96. pport additional networks to enable various functions CompactLogix Controller Network Support Example LTO Aree re pr Jlle AAP oor bin ord DeviceNet Network CompactLogix Controller F Distributed remote 1 0 Platform Produce consume interlock data between controllers CompactLogix Controller e EtherNet IP SE e ControlNet ControlNet Network Other Logix5000 Controller Send and receive messages to and from x other devices This includes access to the f CompactLogix Controller controller via RSLogix 5000 programming EENES software e FtherNet IP EtherNet IP Network e ControlNet e DeviceNet to devices only Other Remote Devices e serial e DH 485 Topic Page EtherNet IP Network Communication 22 ControlNet Network Communication 25 DeviceNet Communications 28 Serial Communications 31 DH 485 Network Communications 39 Publication 1769 UM011F EN P January 2007 22 Communicate Over Networks EtherNet IP Network The EtherNet IP network offers a full suite of control configuration and data collection services by layering the Common Industrial Communication Protocol CIP over the standard Internet protocols such as TCP IP and UDP This combination of
97. pport 100 connections However the built in ControlNet port only supports 32 communication connections With these controllers the number of end node connections they effectively support depends on the connection s NUT and RPI NUT RPI Supported ControlNet Communication Connections 2ms 2ms 0 1 3 ms 3 ms az 5 ms 5 ms 3 4 10 ms 10 ms 6 9 14 ms 14 ms 10 12 5 ms 20 ms 12 16 4 ms 64 ms 31 1 For each NUT RPI combination the number of connections supported is listed in a range The lower number is the number of connections we recommend you make to maintain reasonable ControlNet port CPU utilization rates The higher number is the maximum number of connections possible for that NUT RPI combination You can use all 32 communication connections on the built in ControlNet port However we recommend that you leave some connections available for tasks such as going online and unscheduled network traffic Publication 1769 UM011F EN P January 2007 28 Communicate Over Networks DeviceNet Communications Publication 1769 UM011F EN P January 2007 Additional Resources For additional information consult these publications e Control Net Modules in Logix5000 Control Systems User Manual publication CNET UM001 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 The DeviceNet network uses the Common Industrial Protocol CIP to provide the control configuratio
98. provides high speed transport of both time critical I O and interlocking data and messaging data including uploading and downloading of programming and configuration data on a single physical media link The ControlNet network s highly efficient data transfer capability significantly enhances I O performance and peer to peer communication in any system or application The ControlNet network is highly deterministic and repeatable and remains unaffected as devices are connected or disconnected from the network This robust quality results in dependable synchronized and coordinated real time performance The ControlNet network often functions as e the default network for the CompactLogix platform e a substitute replacement for the remote I O RIO network because the ControlNet network adeptly handles large numbers of I O points e a backbone to multiple distributed DeviceNet networks e a peer interlocking network For ControlNet communications you can use these CompactLogix controllers with a built in ControlNet communication port e 1769 L32C CompactLogix controller e 1769 L35CR CompactLogix controller You can use these software products with a 1769 CompactLogix controller on a ControlNet network ControlNet Network Software Combinations Software Functions Requirement RSLogix 5000 programming e Configure the software CompactLogix project e Define EtherNet IP communications RSNetWorx software for e Configure th
99. ps Ungrouped Axes Trends Data Types i User Defined oa Strings i Predefined Ep Module Defined amp j 1 0 Configuration B fai Backplane CompactLogix System fa 1769 L35E CompactLogix_project E 1769 L35E Ethernet Port LocalENB El gs Ethernet you build the I O configuration in this order 1 Add the remote adapter for the distributed I 0 chassis or DIN rail 1769 L35E Ethernet Port Loca B 1794 AENT A flex_adapter FlexBus 0 1794 1E8 B input1 1 1794 OB8EP A out 2 Add the distributed 1 0 modules Additional Resources For more information consult EtherNet IP Communication Modules in Logix5000 Control Systems User Manual publication ENET UM001 Publication 1769 UM011F EN P January 2007 58 Place Configure and Monitor 0 Configure Distributed 1 0 on To communicate with distributed I O modules over ControlNet a ControlNet Network e choose a 1769 L32C or 1769 L35CR CompactLogix controller with a built in ControlNet communication port e add a ControlNet adapter and I O modules to the I O Configuration folder of the controller Within the I O Configuration folder organize the modules into a hierarchy of tree branch and parent child ControlNet Distributed 1 0 Configuration For a typical distributed 1 0 network I 1 Built in Remote 1 0 i ControlNet Port Adapter Module I Controller Device you build the I O configuration in this
100. rameters used by the instruction s This source protection lets you prevent unwanted changes to your instruction s and protects your intellectual property Additional Resources For additional information consult Logix5000 Controllers Execution Time and Memory Use Reference Manual publication 1756 RM087 Additional Resources For more information consult these publications e Logix5000 Controllers Common Procedures Manual publication 1756 PM001 e Logix5000 Controllers Execution Time and Memory Use Reference Manual publication 1756 RM087 Monitor Controller Status GSV Get System Value Class name Instance name Attribute Name Dest SY Set System Value Class name Instance name Attribute Name Source Develop Applications 75 The CompactLogix controller uses Get System Value GSV and Set System Value SSV instructions to get and set change controller data The controller stores system data in objects There is no status file as in the PLC 5 processor The GSV instruction retrieves the specified information and places it in the destination The SSV instruction sets the specified attribute with data from the source When you enter a GSV SSV instruction the programming software displays the e valid object classes e object names e attribute names For the GSV instruction you can get values for all the available attributes For the SSV instruction the software displays only those attributes you are
101. rk for programming configuration control or data collection e router bridge to connect the EtherNet IP or ControlNet network to the DeviceNet network CompactLogix Linking Device Overview ControlLogix Controller with 1756 ENBT Module EtherNet IP Network CompactLogix Controller with Built in EtherNet IP Communication Port L e 1788 EN2DN Linking Device DeviceNet Network Personal Computer 6000 a mae i 5 0000 CompactLogix System F ia __ Sensor with 1769 ADN it lis l J Motor ei uster DeviceNet Adapter gmr Starter i C a ii lt KY Bar Code Input Output ay Indicator Scanner Devices PowerFlex Lights AC Drive Additional Resources For additional information consult these publications e DeviceNet Modules in Logix5000 Control Systems User Manual publication DNET UM004 e Logix5000 Controllers Design Considerations Reference Manual publication 1756 RM094 Publication 1769 UM011F EN P January 2007 Serial Communications Mode DF1 Point to Point Communicate Over Networks 31 CompactLogix controllers have a built in RS 232 port e 1769 L32C L32E L35CR and L35E CompactLogix controllers have one built in RS 232 port By default that
102. rom 150 kHz 80 MHz 1 Use this Conductor Category information for planning conductor routing See Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 Publication 1769 UM011F EN P January 2007 1769 L32C and 1769 L35CR CompactLogix Controllers These are the specifications for the 1769 L32c and 1769 L35CR CompactLogix controllers Attribute Communication ports User memory CompactLogix Controllers Specifications 97 Value 1769 L32C 1769 L35CR RS 232 NAP ControlNet RS 232 NAP ControlNet channels A and B channel A 750 KB 1 5 MB Nonvolatile memory 1784 CF64 CompactFlash Maximum number of 1 0 modules 16 1 0 modules 30 1 0 modules Maximum number of 1 0 banks 3 banks 3 banks Backplane current 650 mA 5V de 680 mA 5V de 40 mA 24V de 40 mA 24V dc Power dissipation 4 21 W 4 36 W Power supply distance rating 4 The controller must be within four slot positions of the power supply Replacement battery 1769 BA Weight Approx Programming cable Panel mounting screw torque using M4 or 8 screws 0 32 kg 0 70 Ib 1747 CP3 or 1756 CP3 10 16 in lb 1 1 1 8 Nm Wiring Connectors Category 1 BNC connector 1 NAP 1786 CP cable 2 2 On communication ports 2 BNC connectors for redundant media operation 1 NAP 1786 CP cable 2 On communication ports 2 Isolation voltage continuous v
103. rts you to the fact that you have exceeded your controller s capacity However by exceeding your controller s 1 0 capacity you put your system at risk of intermittent faults the most common being Major Fault Type 03 1 0 Fault Code 23 Publication 1769 UM011F EN P January 2007 54 Place Configure and Monitor 0 Place Local 1 0 Modules Use the 1769 CRR1 CRR3 or 1769 CRL1 CRL3 expansion cable to connect banks of I O modules Each I O module also has a power supply distance rating the number of modules from the power supply The distance rating is printed on each module s label Each module must be located within its distance rating Controller 1 0 Placement Horizontal Orientation 1769 CRLx Cable Bank 2 1769 CRLx Cable Bank 3 Bank 1 LIAL Ooo 1769 CRRx Cable Vertical Orientation Bank 2 The CompactLogix system does not support Removal and Insertion Under Power RIUP While the CompactLogix system A is under power e any break in the connection between the power supply and the controller for example removing the power supply controller or an I O module may subject the logic circuitry to transient condi
104. seta tum 9p PE ba ead 94 Appendix A TMEOCUCHONG s ngs wi Sas A an hte Rds PH a WSR chs 95 1769 131 CompactLogix Controller noaa aa PER 95 1769 L32C and 1769 L35CR CompactLogix Controllers 97 1769 L32E and 1769 L35E CompactLogix Controllers 98 Real Time Clock Accuracy o naana aaa 100 Publication 1769 UM011F EN P January 2007 8 Table of Contents LED Indicators Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM011F EN P January 2007 Appendix B rod ctoni etch ty ate cen Nae eh ahd dan ah pee eae ee 103 1769 L3xx Controllers LED Indicators 04 103 CompactFlash LED Indicator doe Give core up ewe Bek 105 RS 232 Serial Port LED Indicators 105 ControlNet LED Indiestors 3 s 4 2 04445 244 5 pees 3 es 106 Interpret ControlNet Network LED Indicators 106 Module Status MS LED Indicator 107 Network Channel LED Indicators 108 EtherNet IP LED Indicators tig bid wk eh karnts damage 109 Module Status MS LED Indicator 109 Network Status NS LED Indicator 109 Link Status LNK LED Indicator oaoa 110 Appendix C Introduction oeoa oe Rie shny deo Ge Baek bn ee Be bd one eo 111 Messages a sra gi eas we aed deh Me Radosh ce Soba d E R T do 112 RSLinx Tag Optimization exs fe aly BN GRE eS 112 TENAS se ed btn ae 8 ghd a a E GNA btn Bek BOE Oe bh ees S 113 DEFOR GC TOP
105. sign Considerations Reference Manual publication 1756 RM094 Publication 1769 UM011F EN P January 2007 66 Develop Applications Develop Programs The controller s operating system is a preemptive multitasking system that is IEC 1131 3 compliant This environment provides e tasks to configure controller execution e programs to group data and logic e routines to encapsulate executable code written in a single programming language Program Development Control Application Controller Fault Handler Task 8 Task 1 Configuration Status Watchdog Program 32 Program 1 Program local Main Routine Tags Fault Routine Other Routines Controller global Tags 1 0 Data System shared Data Publication 1769 UM011F EN P January 2007 Develop Applications 67 Define Tasks Tasks provide scheduling and priority information for programs You can configure tasks as continuous periodic or event tasks Only one task can be continuous Task Support Controller Tasks Supported 1769 L35x 8 1769 L32x 6 1769 L31 4 A task can have as many as 100 separate programs each with its own executable routines and program scoped tags Once a task is triggered activated all the programs assigned to the task execute in the or
106. t peda Sampie poojects are promtded at examples anly and muse be uved with case Keser to the Disclaimer at the end of tar document and to the Find Uner License Agsemment RULA incuded im the BSLoga S000 ten Sooo infosmation For additonal sesno a wedong wth sample prooectr in general pleave sapomventetvs fou spock querGons eleted 1o o vendadis sample project Piress comers toe particulas meedoe for akan Remember thet a with any sew peogram yora thou teas the tampi progam to make certain that st woeks wrh your epphcasoe besser actually emplemennng itn pour soumal operations Heme irez te tee nese eecten Woskng Wit Semele Proyece Se in cematien ans wecomamendancent co how 3o effecreehy uve there vemele pececa Working With Sample Projects Imponase Before you begin wing a eample pocyac make a copy af the pecject save a wth anew name and mabe any edits you need to make to hw cenumed piect By dong thee pou ase making certan that you have a backup copy of the anginal sample project thet vall be poeserved for furure sse BS Lagi sample projects may indude a mander of components that you wil need to mpy mdbrubsally m coder foe the sample paogect components to function propedy n your applicaton These may inched ber ane not brated 20 moduler data oper up soine lf pou are opang iran an cenang poea conficn may ocne wah omp oasnb tar doeady ear ord the location or rype of moduder does not match the locanon anramed in the ample p
107. t happens State Question To Be Asked Stopped What happens when you turn on power Resetting How does the equipment get ready to run Idle How do you tell that the equipment is ready to run Running What does the equipment do to make product Holding How does the equipment temporarily stop making product without making scrap Held How do you tell if the equipment is safely holding Restarting How does the equipment resume production after holding Complete How do you tell when the equipment has finished what it had to do Stopping What happens during a normal shutdown Aborting How does the equipment shut down if a fault or failure happens Aborted How do you tell if the equipment is safely shut down Change Equipment States The arrows in the state model show how your equipment can transition from one state to another e Each arrow is called a transition e A state model lets the equipment make only certain transitions This transition restriction standardizes equipment behavior so that another piece of equipment using the same model will behave the same way Configure PhaseManager 87 PhaseManager Transitions Overview Transition Command Done No command Use PSC instruction instead Start Hold Your equipment can go from any state in Holding the box to the stopping or aborting state Hold Restart je Stop Abort Fault spec
108. t one tag consumes about 40 bytes of memory Dynamic Memory Allocation in CompactLogix Controllers 113 Trends Each trend created in a controller creates a trend object and allocates a buffer for logging Controller Trends Item Memory Allocated Trend Object 80 bytes Log Buffer 4000 bytes DDE OPC Topics A DDE OPC topic uses connections based on these variables e Maximum number of messaging connections per PLC configured in RSLinx e Number of connections needed to optimize throughput e Configuration of RSLinx to use connections for writing to a ControlLogix processor These variables are per path For example if you set up two different DDE OPC topics with different paths to the same controller the variables limit the connections for each path Therefore if you have a limit of 5 connections it is possible to have 10 connections with 5 over each path Specify Connections per PLC To specify the maximum messaging connections per PLC perform this procedure 1 In RSLinx programming software from the Communications pull down menu choose Configure CIP Options Station DDE OPC RSWho Configure Drivers Configure Shortcuts Configure Client Applications Configure ime Options Publication 1769 UM011F EN P January 2007 114 Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM011F EN P January 2007 The Configure CIP Options dialog appears Configure CIP Options P
109. tal number of tags that can be produced or consumed If the controller uses all of its connections for I O and communication devices no connections are left for produced and consumed tags Send and Receive Messages transfer data to other devices such as controllers or Messa ges operator interfaces Messages use unscheduled connections to send or receive data Connected messages can leave the connection open cache or close the connection when the message is done transmitting Message Transmission Message Type Communication Connected Can the Method Message message be cached CiPdatatablereadorwrite NA Ys Ys o PLC 2 PLC 3 PLC 5 or SLC CIP No No allstypes CIP with Source ID No No DH Yes Yes CIP generic NA Optional Yesl2 Block transfer read or write NA NA Yes You can connect CIP generic messages However for most applications we recommend you leave CIP generic messages unconnected 2 Consider caching only if the target module requires a connection Connected messages are unscheduled connections on both ControlNet and EtherNet IP networks Each message uses one connection regardless of how many devices are in the message path You can program the target of a MSG instruction to optimize message transfer time Publication 1769 UM011F EN P January 2007 Manage Controller Communications 45 Determine Whether to Cache Message Connections When you configure a MSG instruction yo
110. tall Hardware To install a CompactLogix controller perform these procedures 1 10 Set the node address but only for 1769 L32C and 1769 L35CR controllers Connect the battery See the chapter Maintain the Battery Install a 1784 CF64 CompactFlash card for nonvolatile memory See the chapter Maintain Nonvolatile Memory Assemble the system Mount the system Establish a serial connection to the controller See the chapter Connect to the Controller Via the Serial Port For 1769 L32E and 1769 L35E controllers only assign an IP address Make additional network connections See the section Communicate Over Networks Install the EDS files Load the controller firmware Additional Resources For more information consult these publications Publication 1769 UM011F EN P January 2007 e 1769 L31 CompactLogix Controller Installation Instructions publication 1769 IN069 e 1709 L32C L35CR CompactLogix Controllers Installation Instructions publication 1769 IN070 e 1709 L32E L35E CompactLogix Controllers Installation Instructions publication 1769 IN020 Chapter 2 Introduction Connect to the Controller Via the Serial Port Connect to the Controller Via the Serial Port This chapter describes how to connect to the controller via the serial port so you can configure the controller and upload or download a project to the controller Topic Page Connect to the Controller V
111. that UMAX is greater than or equal to the card s node address Off You should check the MS indicators Check the MS indicators Steady red The controller is faulted 1 Cycle power 2 If the fault persists contact your Rockwell Automation representative or distributor Alternating red green The controller is performing a self test Normal operation No action is required Alternating red off 1 UMAX is the highest node address on a ControlNet network that can transmit data The node is configured incorrectly Publication 1769 UM011F EN P January 2007 Check the card s network address and other ControlNet configuration parameters EtherNet IP LED Indicators Indicator Off controllers LED Indicators 109 The EtherNet IP LED indicators are only on 1769 L32E and 1769 L35E Module Status MS LED Indicator These are the EtherNet IP module LED indicators Condition The controller does not have power Recommended Action Check the controller power supply Flashing green The port is in standby mode it does not have an IP address and is operating in BOOTP mode Verify that the BOOTP server is running Steady green The port is operating correctly Normal operation No action is required Steady red The controller is holding the port in reset or the controller 1 Clear the controller fault has faulted 2 If the fault will not clear replace the controller The port
112. tions above the normal design thresholds and may result in damage to system components or unexpected behavior e removing an end cap or an I O module faults the controller and may also result in damage to system components The CompactLogix controller also supports distributed remote I O via these networks e EtherNet IP e ControlNet e DeviceNet Publication 1769 UM011F EN P January 2007 Place Configure and Monitor I O 55 Additional Resources For additional information consult these publications e Compact Analog I O Modules User Manual publication 1769 UM002 e Compact I O 1769 IR6 RTD Resistance Input Module User Manual publication 1769 UM005 e Compact I O 1769 IT6 Thermocouple mV Input Module User Manual publication 1769 UM004 Configure 1 0 To communicate with an I O module in your system add the module to the I O Configuration folder of the controller 1 0 Module Configuration J Controller CompactLogix_project A Controller Tags Controller Fault Handler Power Up Handler B 68 Tasks Ei fa MainTask E e MainProgram Unscheduled Programs Phases 5 6 Motion Groups Ungrouped Axes Trends 6 6 Data Types RB User Defined E Strings El oe Predefined oe Module Defined 2 8 Yo Configuration B fii Backplane CompactLogix System fa 1769 L35E CompactLogix_project Add 1 0 modules to El 1769 L35E Ethernet Port LocalENB the CompactBus When you add a module you also define a sp
113. ts Place Configure and Monitor 1 0 Develop Applications Publication 1769 UM011F EN P January 2007 Connections Example o a amp arto 6 a8y Wee ES boo BeEhooe Gt 47 Additional Resources 64s od ew Sa ke A ee Ghee ed BU 48 Chapter 5 TPOCUCHOM 4 tase eta ae OK EL ee KARI 49 Select I O Modules his oe ead ease a Sore A eed 49 Additional Resources n on auaa 49 Validate I O Layout nonan vn hhh nay oe pm deka oh vad ed 50 Estimate Request Packet Interval 0 6 0 6 bec ea nee 50 Calculate System Power Consumption 51 Validate Placement of I O Modules 51 Place Local I O Modes 4 66 oy cp ins he Re we eR ess 54 Additional Resources 47 044 2S pac ee be eSaeg aes pax 55 JOM SOULS TA O84 get ip t eup a E dp ad sak e ted see eke Bik 55 I O Connections 46 276 de hg ek BR dowd 56 Additional Resources 4h nce he FFs ON ERE LED RARER BD 57 Configure Distributed I O on an EtherNet IP Network 57 Additional Resources 5 gig Goal atu alee a achat ba ty alae ew ts 57 Configure Distributed I O on a ControlNet Network 58 Additional Resources 9 65 5 onnaa XP ea hand ark eed AeASA Ge 58 Configure Distributed I O on a DeviceNet Network 59 Additional Resources x Mes As eae ee ee BA 59 Address VO Data t 5 65 were oe ee ee eee hs eared eed 60 Determine When Data Is Updated 61 Additional Resources ai foie dca aye ces ote ek hah tw he ED ane cal 61 Monitor I O Modules fa
114. twork Controller Scanner Device Device Device Device Device Several Smaller Distributed Networks subnets Controller Scanner Linking Linking Device Device Device Device Device Device Device Device you build the 1 0 configuration in this order Add the local scanner module Additional Resources Controller CompactLogix_project Controller Tags C Controller Fault Handler Power Up Handler 3 6 Tasks A fa MainTask oe MainProgram i Unscheduled Programs Phases 5 6 Motion Groups Ungrouped Axes Trends 5 Data Types Gi User Defined Ej oa Strings re Op Predefined oe Module Defined 5 6 YO Configuration 5j fai Backplane CompactLogix System fa 1769 L35CR CompactLogix_project gt 1769 L35CR ControlMet Port LocalCNB 4 CompactBus Local 5 0 CompactBus Local B 5 1 1769 SDN B DeviceNet_scanner 1769 L35CR CompactLogixS335CR Cor For more information consult DeviceNet Communication Modules in Logix5000 Control Systems User Manual publication DNET UM004 Publication 1769 UM011F EN P January 2007 60 Place Configure and Monitor 0 Address 1 0 Data I O information is presented as a set of tags e Each tag uses a structure of data depending on the specific features of the I O module e The name of the tags is based on
115. u add an equipment phase RSLogix 5000 software makes a tag using the PHASE data type Publication 1769 UM011F EN P January 2007 84 Configure PhaseManager PhaseManager Overview E Controller ZA L k Controller Tags A PHASE tag gives you the status of an equipment phase Name amp Data Type Add Water Add_Water State Add_Water Running Add_Water Holding Add_Water Restarting BAKER PHASE DINT BOOL BOOL BOOL E Add Water Phase ae Mix Phase es E Drain Phase E Space Parts Phase gt gt C gt O NRC UOO y y y i C O CD AGS n equipment phase directs 1 activity of your equipment state model divides the activity into a series of states Running State Routine How to Add Water 2 C3 MainProgram L_ My Equipment Program Equipment phase instructions control the transitions between states and handle faults PSC PCMD POVR PFL PCLF PXRQ PRNP PPD PATT PDET A Other code controls the specific actions of your equipment Water Feed oH CL Conveyor Enable Axes Publication 1769 UM011F EN P January 2007 Configure PhaseManager 85 About a State Model A st
116. u can cache or not cache the connection Caching Messages Message Execution Function Repeatedly Cache the connection This keeps the connection open and optimizes execution time Opening a connection each time the message executes increases execution time Infrequently Do not cache the connection This closes the connection upon completion of the message freeing up that connection for other uses Connections A Logix5000 system uses a connection to establish a communication link between two devices Connections can be e a controller to local I O modules or local communication modules a controller to remote I O or remote communication modules a controller to remote I O rack optimized modules produced and consumed tags e messages controller access by RSLogix 5000 programming software controller access by RSLinx software for HMI or other applications The limit of connections may ultimately reside in the communication module you use for the connection If a message path routes through a communication module the connection related to the message also counts towards the connection limit of that communication module Connections Overview Device Supported Connections CompactLogix controller 1769 L31 Built in ControlNet communication port 100 1769 L32C and 1769 L35CR controllers only Built in EtherNet IP communication port 1769 L32E and 1769 L35E controllers only Publication 1769 UM011F E
117. uits 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 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 IMPORTANT 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 consequences ATTENTION THA avai Labels may be on or inside the equipment for example a drive or motor to alert people that dangerous voltage may be present EETA Labels may be on or inside the equipment for example a drive or motor to alert people that surfaces may reach dangerous temperatures gt gt eiie Allen Bradley CompactLogix CompactFlash ControlLogix PowerFlex Rockwell Automation PLC 2 PLC 3 PLC 5 RSLinx RSLogix RSLogix 5000 and TechConnect are trademarks of Rockwell Automation Trademarks not belonging to Rockwell Automation are property of their respective companies Summary of Changes Introduct
118. urces snc eo vee A GREE Sas 76 Monitor Connections geese Si hain wee a 76 Determine if Device Communication Has Timed Out 77 Determine if I O Module Communication Has Timed Out 78 Interrupt the Execution of Logic and Execute the Fault Handl r ag 0 sted BaD ech ae ded ts aude PS Ged e 79 Additional Resources nauan a Raa Phe epee 79 Select a System Overhead Time Slice Percentage 80 Chapter 7 TEGO ORs ask ap or eet ad pe neeind inp S0h sk oui te Ree Gah ink 83 Additional Resources fk Goad 4 tang Soot Rta Val yice Sue oie tsa 83 About PhaseManager inc iat ofits Be ede e 83 About a State Model 25 c44cac sie Rink hoa 4 HO oR bee eee 4 85 Change Equipment Statess 4 0 9 4 oo bo SG CD tema A 86 Manually Change States 4c ed a ek a Ge le RA ae 88 Compare PhaseManager to Other State Models 88 Minimum System Requirements 0 89 Equipment Phase Instructions 406 25 ook Gubvie hp ach ae ahs 89 Chapter 8 Introd cHon oa tD akan ea ek EONS Eao On De Pe EON 91 Prevent a Major Fault During a Load 92 Use a CompactFlash Reader iniy eva ged oes EWE EPH maids 92 Additional Resources yar ioe ea ie a ew a 92 Chapter 9 MMLOCUCHON mesnat iana PAE OS REVERS EAEOERG EERE ES 93 Check If the Battery Is Low 2 0 0 0c ee 93 Estimate 1769 BA Battery Life 0 0 00 00 0000 008 94 St re Da Mes a auton oe hs PS LDL AS ERO ESR REDE 94 Additional Resources ax dsr e oe
119. ve station on the network you do not need a modem to connect the slave station to the master You can configure the control parameters for no handshaking You can connect 2 255 nodes to a single link In DF1 slave mode a controller uses DF1 half duplex protocol e One node is designated as the master and it controls who has access to the link All the other nodes are slave stations and must wait for permission from the master before transmitting DF1 Radio Modem User channel 0 only DH 485 e Compatible with SLC500 and MicroLogix1500 controllers e This mode supports master and slave and store and forward modes Communicate with ASCII devices This requires your program to use ASCII instructions to transmit data to and from ASCII device e Communicate with other DH 485 devices e This multi master token passing network allows programming and peer to peer messaging Publication 1769 UM011F EN P January 2007 32 Communicate Over Networks Baud Rate Selector Switch ___ Port 1 DB 9 RS 232 DTE gt Publication 1769 UM011F EN P January 2007 Configure an Isolator Channel 0 on the CompactLogix controllers is fully isolated and does not need a separate isolation device Channel 1 on the 1769 L31 controller is not an isolated serial port To configure an isolator perform this procedure 1 Determine whether you need an isolator If you connect channel 1 of the 1769 L31 controller to a modem or an AS
120. w Once the controller is powered down the battery retains controller memory as long as the BAT indicator remains on Temperature dictates how long the BAT indicator remains on Battery LED Indicator BAT Indicator Duration Temperature Duration 60 C 140 F 8 days 25 C 77 F 25 days Publication 1769 UM011F EN P January 2007 94 Maintain the Battery Estimate 1769 BA Certain conditions affect typical battery life Battery Life Battery Life Estimations Time 0n Off At 25 C 77 F At 40 C 104 F At 60 C 140 F Always on 14 months 12 months 9 months On 8 hours per day 18 months 15 months 12 months 5 days per week On 16 hours per day 26 months 22 months 16 months 5 days per week Always On There is almost no drain on the battery when the controller is always on Store Batteries Follow these general rules to store your batteries e Store batteries in a cool dry environment We recommend 25 C A 77 F with 40 60 relative humidity e You may store batteries for up to 30 days between 45 85 C 49 185 F such as during transportation e To avoid leakage or other hazards do not store batteries above 60 C 140 F for more than 30 days Additional Resources For more information consult Guidelines for Handling Lithium Batteries publication AG 5 4 which comes with your battery Publication 1769 UM011F EN P January 2007 Introduction 1769 L31 Compact
121. y IEC61000 4 5 2 kV 5 kHz on communication ports 2 kV line earth CM on shielded ports Conducted RF immunity IEC61000 4 6 10V rms with 1 kHz sine wave 80 AM from 150 kHz 80 MHz 1 Use this Conductor Category information for planning conductor routing See Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 Publication 1769 UM011F EN P January 2007 100 CompactLogix Controllers Specifications j Real Time Clock Accuracy These are the real time clock accuracy specifications for CompactLogix controllers Ambient C F Accuracy 0 C 32 F 54 56 s month 25 C 77 F 9 124 s month 40 C 104 F 84 234 s month 55 C 131 F 228 394 s month 60 C 140 F 287 459 s month Publication 1769 UM011F EN P January 2007 CompactLogix Controllers Specifications 101 Notes Publication 1769 UM011F EN P January 2007 102 CompactLogix Controllers Specifications Publication 1769 UM011F EN P January 2007 Appendix B Introduction LED Indicators This appendix explains how to interpret the LED indicators on your CompactLogix controllers Topic Page 1769 L3xx Controllers LED Indicators 103 RS 232 Serial Port LED Indicators 105 ControlNet LED Indicators 106 EtherNet IP LED Indicators 109 1769 L3xx Controllers LED Indicators These are the 1769 L3xx CompactLogix controller LED indicators I

Download Pdf Manuals

image

Related Search

Related Contents

Paradyne ADSL2+/ReachDSL User's Manual  Manual IMPACT67-DN  Omron R53 User's Manual  instruction manual for the z100-a clinical centrifuge c0100-a  Samsung GT-C3780 Manual de utilizare  Manual del propietario    SISMER/SCOOP/MU/110 V4.2 02/05/00 Page 1 SYSTEM  全文 - 裁判所    

Copyright © All rights reserved.
Failed to retrieve file