Home

1769-UM007B-EN-P, CompactLogix System User Manual

image

Contents

1. nay You can also use the 1769 CRR1 CRR3 or 1769 CRL1 CRL3 cable to split the system into a maximum of two banks of I O modules You can split a bank right after the power supply or after any I O module Each bank must contain one power supply An end cap terminator must be used on the last I O bank The first bank includes the CompactLogix controller in the far left position The controller must be located within 4 positions of the bank s power supply Only one controller may be used in a CompactLogix system Publication 1769 UM007B EN P February 2001 3 2 Placing Configuring and Monitoring Local 1 0 Each I O module also has a power supply distance rating the number of modules from the power supply Each module must be located within its distance rating Horizontal Orientation Bank 1 1769 CRLx Bank 2 Bank 1 Vertical Orientation 1769 CRRx Bank 2 CompactLogix does not support Removal and Insertion Under Power RIUP While the CompactLogix system is under power any break in the connection between the power supply and the processor i e removing the power supply processor or an I O module will clear processor memory including the user program meara pile under power the removal of an end cap ora module without breaking the connection between the processor and power supply will fault t
2. P Tag Name V Alias For Base Tag Type F Locat1 C AB 1769_MODULE 2 Select an input data word FF Locat tl AB 1763_ MODULE F Locat2 C AB 1769_MODULE Local 2 1 AB 1769_MODULE Local 2 0 AB 1769_MODULE Local 3 C AB 1769_MODULE Local31 AB 17693_MODULE Fl Local 4 C AB 1763_MODULE Local 4 1 AB 17693_MODULE Local4 0 AB 1769_MODULE P timer_1 TIMER C inu Local1 1 Datal0 AB 1769_MODULE m Tag Name Data Type fF Local 1 4B 1769_MODULE C 0 f Local 1 1 AB 1769_MODULE_INT_6Bytes 0 Local 1 lFautt DINT fjLocal 1 Data INT 1 Click here to display a grid of bits and select the input bit I69_MODULE C 0 69_MODULE_INT_6Bytes 0 aoe PT769_MODULE_INT_2Bytes mo anak 3c ARA7AA MODH FCN 2 3 4 5 6 7 10 11 12 13 14 15 oo 3 Repeat steps 1 and 2 above to create an alias tag output_1 for Local 2 0 Data 1 Controller Tags quickstart controller olx Scope quickstart controller x Show Show Al x Sort Tag Name 7 P Tag Name y Alias For Base Tag Type Style Descrip A IE Local 1 C 4AB 17693_MODULE C 0 Locatt 1 AB 1769_MODULE_INT_6Bytes 1 0 E Local 2 C AB 1769_MODULE C 0 A F Local 2 1 AB 17693_MODULE_INT_6Bytes
3. d T CompactLogix x Personal Computer Publication 1769 UM007B EN P February 2001 1 2 Getting Started Local DF1 Half Duplex TA INSS Pig x My Personal Computer coor NN N go 7 Bare Pic See Pa ae Pid 7 s ns Ze ks z 7 xg 1 s ge 4 yS modem 1761 NET AIC Z Compactl ogix SLC 5 03 The CompactLogix systems above illustrate some of the CompactLogix controller s capabilities CompactLogix systems support the following e CompactLogix controllers at several locations communicating over DH 485 DeviceNet or Ethernet via peer to peer messaging e RTU functionality using dial up modems and DF1 Full Duplex protocol e RTU functionality with radio frequency or leased line modems and DF1 Half Duplex protocol e CompactLogix controller controlling a maximum of 8 local Compact I O modules Local RS 232 connection for controller project upload download DF1 Full Duplex communications DH 485 networking or for ASCII communications Remote programming over DeviceNet and Ethernet Publication 1769 UM007B EN P February 2001 Compliance to European Union Directives Getting Started 1 3 This product has the CE mark and is approved for installation within the European Union and EEA regions It has been designed and tested to meet the following directives EMC Di
4. input_1 o Decimal BOOL E Local 1 C ant il MRS 4B 1769_MODULE C 0 im Local1 C Reserved 1 Decimal DINT e Local1 C Data eee oc tran Hex INT 198 fi Local 1 fiercest KIAI 4AB 1769_MODULE_INT_6Bytes 1 0 E Local 2 C arent IRE AB 1769_MODULE C 0 fe Local 2 A Soca 4B 1769_MODULE_INT_6Bytes 1 0 Local 2 0 aai R AB 1769_MODULE_INT_2Bytes 0 0 m Local 3 C CPA MON 4B 1769_MODULE C 0 fa Local 3 fice Eaa AB 1769_MODULE_INT_6Bytes 1 0 gt ee AB 1769_MODULE C 0 fa Local4 C Reserved 1 Decimal DINT jf f Locat4 C Data oe ieee Hex INT 198 E Local 4 ison Toast AB 1769_MODULE_INT_12Bytes 1 0 m Local 4 0 ay aban 4B 1769_MODULE_INT_4Bytes 0 0 output_1 o Decimal BOOL l Etimer1 a taees TIMER See Appendix G Configuring I O with the 1769 Generic Profile for details on the data structures created by the Generic module Publication 1769 UM007B EN P February 2001 Placing Configuring and Monitoring Local 1 0 3 9 Inhibiting 1 0 Module Operation In some situations such as when initially commissioning a system it is useful to disable portions of a control system and enable them as you wire up the control system The controller lets you inhibit individual modules or groups of modules which prevents the controller from trying to communicate with the modules Inhibiting a module shuts down the connection from the controller to that module When you create an I O m
5. Word Bit s Definition 0 PFEO not used with CompactLogix systems 1 not used set to 0 2 PMO not used with CompactLogix systems D 3 FMO not used with CompactLogix systems 4 through 7 not used set to 0 8 through 11 Output Type Range Select Channel 0 12 through 14 Output Data Format Select Channel 0 1 Channel 0 Enable Bit 0 PFE1 not used with CompactLogix systems 1 not used set to 0 2 PM1 not used with CompactLogix systems l 3 FM1 not used with CompactLogix systems 4 through 7 not used set to 0 8 through 11 Output Type Range Select Channel 1 12 through 14 Output Data Format Select Channel 1 15 Channel 1 Enable Bit 2 Fault Value Channel 0 not used with CompactLogix systems 3 Program Idle Value Channel 0 not used with CompactLogix systems 4 Fault Value Channel 1 not used with CompactLogix systems 5 Program Idle Value Channel 1 not used with CompactLogix systems 6 Must be a value of 0 decimal 7 Must be a value of 0 decimal Publication 1769 UM007B EN P February 2001 The following is a description of each of the configuration parameters shown on page G 8 for the 1769 OF2 analog output module A more complete description of these configuration parameters may be found in the Compact I O Analog Module User s Manual publication 1769 UM002A EN P Configuring 1 0 with the 1769 Generic Profile G 9 Words 0 and 1 contain identical func
6. 2 amn n Bank 1 D 3 4 HE e JA Bank 2 E Sample tag names for this example Location Example Tag Name input module in slot 1 LOCAL Bank 1 Local 1 C Local 1 1 output module in slot 2 LOCAL Bank 1 Local 2 C Local 2 1 Local 2 0 analog input module in slot 3 LOCAL Bank 2 Local 3 C Local 3 1 analog output module in slot 4 LOCAL Bank2 Local 4 C Local 4 Local 4 0 Publication 1769 UM007B EN P February 2001 3 14 Placing Configuring and Monitoring Local 1 0 Using Aliases to Simplify Tag Names An alias lets you create a tag that represents another tag This is useful for defining descriptive tag names for I O values For example Example Description 1 0 structure Local 1 Data 0 0 The aliases describe the specific 1 0 points Local 1 I Fault 0 alias light_on Local 1 1 Data 0 0 light_off Local 1 1 Fault 0 Monitoring 1 0 Modules The CompactLogix controller offers different levels at which you can monitor I O modules You can e configure the module to fault if that module loses its connection to the controller See Configuring the Module s Response to a Connection Failure on page 3 11 e use the programming software to display fault data See Displaying Fault Data on page 3 15 program logic to monitor fault data so you can take appropriate action Refer to Logix5000 Controllers Common Procedures Programming Manual publication number 1756 PM001B EN P for examples
7. i Unscheduled Programs The software displays the module defined tags for the I O modules you created Controller Tags quickstart controller Tag Scope rowan I Sat osname TagName Value 1769 module tags SS Ss ees al EE Monitor Tags 1 Tag scope allows tag name uniqueness to be limited to a single scope controller or program Thus the same tag name can be used in many programs without ambiguity Publication 1769 UM007B EN P February 2001 Getting Started 1 13 Configuring the CompactBus 1 In the Controller Organizer select the CompactBus Right click and select Properties 2 Specify the configuration options So RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communication als a S Ottine z fo Forces v No Edits z Forces Disabled z Path AB_DF1 1 B E Controller quickstart A Controller Tags EI Controller Fault Handler 3 Power Up Handler ES Tasks a MainTask B E MainProgram A Program Tags E Module Properties Controller 3 CompactBus 7 1 General Connection Module Info E MainRoutine Type CompactBus 1769 Virtual Backplane Adapter 5 CI Unscheduled Programs Vendor Allen Bradley CI Trends Parent Controller E Data Types Of User Defined aj oe Predefined E Ep Module Defined E 140 Configuration 2 Name Local Slot E 4 4 Description 4 Chas
8. Click OK Publication 1769 UM007B EN P February 2001 1 8 Getting Started Adding a Local 1 0 Module 1 Create a new module o RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications NOTE You need to add a local 1 0 module to the alala g WV ag project for every module connected to otine No Forces your controller o Edits x Forces Disabled x Path AB_DF1 1 E E Controller quickstart IA Controller Tags Controller Fault Handler I Power Up Handler ES Tasks 6 8 MainTask A amp MainProgram A Program Tags MainRoutine C Unscheduled Programs C Trends Data Types oa User Defined ER Predefined H E Module Defined A Place the cursor over the 0 Compact Bus Local aa Configuration B Click the right mouse button and select New Module 2 Select the Generic module type Major Revision Description Generic 1769 Mo Show Vendor a 7 M Other M Specialty 1 0 Select All M Motion I Processor Clear All M Analog M Digital I Communication Cancel Help Click OK continued Publication 1769 UM007B EN P February 2001 Getting Started 1 9 Adding a Local 1 0 Module continued 3 Identify the module These screens are specific to the Generic module Type 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly Instance Size A You sh
9. 2 To the base time of the instruction add time for expressions subscripts and data conversions Then add time for Using this table Table D 2 on page D 3 If an operand each operation in the expression For each operation use the time for the corresponding instruction contains an expression the calculation of the array Table D 5 on page D 11 subscript is an element of an array and one or more of the subscripts is a tag e g tag_c tag_d is converted by sign extension the data conversion Table D 1 on page D 3 the conversion of the SINT or INT to a DINT contains a SINT or INT tag in an array subscript Publication 1769 UM007B EN P February 2001 D 2 Execution Time Examples Instruction Data Type Execution Time CMP tag_a tag_b 100 4 6 us overhead MUL REAL 19 1 us for the MUL operation DIV REAL 19 9 us for the DIV operation 43 6 us total ADD 11 4 us for the ADD instruction Source A DINT 9 0 us for DINT to REAL conversion Source B REAL Destination REAL 20 4 us total ADD 11 4 us for the ADD instruction Source A DINT O DINT 25 5 us for array subscript 9 0 us for DINT to REAL conversion of array element Source B REAL Destination REAL 45 9 us total MUL 19 1 us for MUL instruction Source A REAL Source B DINT 9 0 us for DINT to REAL conversion Destination DINT 13 2 us for REAL to DINT conversion 41 3 us total Publication 1769 UM007B EN P February 200
10. Cancel Bact Next gt L Erin Help At this point you may click Finish to complete the configuration of your I O module If you click Next the following screen appears Module Properties Local 1 1769 MODULE 1 1 Ea Requested Packet Interval RPI 2044 ms 2 0 2 0 ms T Inhibit Module I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Cancel Finish gt gt Help The RPI is fixed at 2 msec for the CompactLogix5320 controller You may choose to inhibit the module but the Major Fault On Controller If Connection Fails While In Run Mode option will have no effect on controller operation The controller s response to a connection failure of any I O module is fixed to always fault the controller The default is to not inhibit the module See Inhibiting the CompactBus on page 3 6 Please refer to the HELP screens in RSLogix 5000 under Connection Tab Overview for a complete explanation of these features Click Finish to complete the configuration of your discrete I O module Publication 1769 UM007B EN P February 2001 G 6 Configuring 1 0 Modules Configuring 1 0 with the 1769 Generic Profile Configure each I O module in this manner The CompactLogix5320 controller supports a maximum of 8 I O modules The valid slot numbers to select when configuring I O modules are 1 through 9 Once you have created Generic Profiles for each I O module in your system you m
11. Publication 1769 UM007B EN P February 2001 Placing Configuring and Monitoring Local 1 0 3 15 Displaying Fault Data Fault data for certain types of module faults can be viewed through the programming software To view this data select Controller Tags in the Controller Organizer Right click to select Monitor Tags faickstan cortolen shaw Show AK Sot TaaNane 2 0000_0000_0000_o000_o000_o000_o000_0000 Binay Ss gl ering E Monitor Tags If the module faults but the connection to the controller remains open the controller tags database displays the fault value 16 7000_0001 If the module is faulted and the connection to the controller is broken the controller tags database displays a fault value of 16 FFFF_FFFF The display for the fault data defaults to decimal Change it to Hex to read the fault code You can also view module fault data on the Connection tab of the Module Properties screen Module Properties Local 1 1769 MODULE 1 1 Publication 1769 UM007B EN P February 2001 3 16 Placing Configuring and Monitoring Local 1 0 Publication 1769 UM007B EN P February 2001 See your 1769 module s user documentation for a description of module faults To recover from module faults correct the module fault condition and send new data to the module by downloading the user program with configuration data inhibiting and then uninhibiting the module or cycling po
12. NOTE The selection you make for the Comm Format determines the connections required for the I O module Once you complete adding a module you cannot change this selection Publication 1769 UM007B EN P February 2001 3 8 Placing Configuring and Monitoring Local 1 0 Communication Formats The communication format determines the data structure the I O module uses Each format supports a different data structure Presently the CompactLogix system supports two data formats e Input Data INT for 1769 input modules e Data INT for 1769 output modules You select the communications format when you create the I O module The default communication format for a generic profile module is Input Data INT The CompactLogix controller must own its local I O modules No other Logix based controller can own the local CompactLogix I O The communication format determines the tag structure that is created for the module Assume that a 1769 IB16 Input module is in slot 1 The software creates the appropriate tags using the slot number to differentiate the tags for this example module from any other module Controller Tags quickstart controller Iof x Scope quickstart controller 7 Show Show All 7 Sort Tag Name 7 Force Mat Style Tag Name 2 Value Description
13. Publication 1769 UM007B EN P February 2001 Maintaining the Battery C 3 Replacing a Battery Because the processor uses a lithium battery you must follow specific precautions when handling or disposing a battery ATTENTION The processor uses a lithium battery which contains potentially dangerous chemicals Before handling or f disposing of a battery review Guidelines for Handling Lithium Batteries publication AG 5 4 Follow the procedure below to replace the battery The user program will be lost when the battery is removed Make a copy of your user program before AN removing and replacing the battery 1 Save your user program 2 Turn off power to the CompactLogix processor 3 Does the existing battery show signs of leakage or damage If Then Yes Before handling the battery review Guidelines for Handling Lithium Batteries publication AG 5 4 No Go to the next step Publication 1769 UM007B EN P February 2001 C 4 Maintaining the Battery 4 Remove the old battery battery connector battery 5 Install a new 1747 BA battery Only install a 1747 BA battery If you install a different battery you may damage the processor 6 Write battery date on door of processor 7 Apply power to the processor On the front of the processor is the BATTERY LED off It Then Yes Go to the next step No Remove power then A Check that the batt
14. 0 E Local 2 0 AB 17693_MODULE_INT_2Bytes BE Local3 C 4B 17693_MODULE C 0 BB Local 3 AB 1769_MODULE_INT_6Bytes 0 i Local4 C 4B 17693_MODULE C 0 Fal Local 4 AB 1769_MODULE_INT_12Bytes B Local 4 0 4B 17693_MODULE_INT_4Bytes E time1 TIMER E input_1 Local 1 1 Data 0 1 Local1 1 Data 0 1 BOOL Decimal E output_1 Local 2 0 Data 0 1 Local 2 0 Data 0 1 BOOL Decimal BHE SS Publication 1769 UM007B EN P February 2001 1 16 Getting Started Entering Logic 1 Use default task program and routine Mel RSLogix 5000 quickstart 1769 L File Edit View Search Logic Commi When you created the project the software alsa S ee o automatically created a MainTask MainProgram and aleju S HISE MainRoutine Use these defaults for this example fine z o Force Ino Edits zj Forces Disabled Path AB_DF1 1 E E Controller quickstart A Controller Tags C Controller Fault Handler CI Power Up Handler B E Tasks B fa MainT ask E E MainProgram E Program Tags Double click MainRoutine E Unscheduled Programs The software displays an empty routine End 2 Enter an XIO instruction o RSLogix 5000 quickstart 1769 L20 MainProgram MainRoutine E Eile Edit View Search Logic Communications Tools window Help l x alsa a seele i a Alala E oie lal Dttine z o Forces z w a e Edits z
15. Allen Bradley CompactLogix System Catalog Number 1769 L20 User Manual l i F ik I E Automation HERT Important User Information Because of the variety of uses for the products described in this publication those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements including any applicable laws regulations codes and standards The illustrations charts sample programs and layout examples shown in this guide are intended solely for purposes of example Since there are many variables and requirements associated with any particular installation Allen Bradley does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown in this publication Allen Bradley publication SGI 1 1 Safety Guidelines for the Application Installation and Maintenance of Solid State Control available from your local Allen Bradley office describes some important differences between solid state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication Reproduction of the contents of this copyrighted publication in whole or part without written permission of Rockwell Automation is prohibited Throu
16. While the CompactLogix system is under power any break in the connection between the power supply and the processor i e removing the power supply processor or an I O module will clear processor memory including the user program What Is CompactLogix 2 7 Selecting a System Overhead Percentage The Controller Properties lets you specify a percentage for system overhead This percentage specifies the percentage of controller time excluding the time for periodic tasks that is devoted to communication and background functions 1 View properties for the controller and select the Advanced tab e RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communic 2 hed Offline No Edits il Verify Controll 3 Controll I Power E Tasks Ba MainT ask Print Properties o Controller Properties quick_start ioj x General Serial Port System Protocol User Protocol Major Faults Minor Faults Date and Time Advanced File Memory Used Unused Total Controller Fault Handler knone gt x Power Up Handler lt none gt he System Overhead Time Slice 10 S Cancel Epp Help System overhead functions include e communicating with programming and HMI devices such as RSLogix 5000 software e responding to messages e sending messages including block transfers The controller performs system ove
17. y me 4B 17693_MODULE C 0 Local 1 1 aera dea 4B 1763_MODULE_INT_6Bytes I 0 Local 1 0 Res oon AB 17693_MODULE_INT_2Bytes 0 0 Local 2 C 4B 17693_MODULE C 0 Local 2 1 AB 1769_MODULE_INT_12Bytes 0 Local 2 0 AB 17693_MODULE_INT_4Bytes 0 0 Local 3 C AB 17693_MODULE C 0 Local 3 1 AB 1763_MODULE_INT_16Bytes 0 lt Monitor Tags Ready Publication 1769 UM007B EN P February 2001 Configuring 1 0 with the 1769 Generic Profile G 7 Tag addresses are automatically created for configured I O modules All local I O addresses are preceded by the word Local These addresses have the following format Input Data Local s I Output Data Local s O Configuration Data Local s C Where s is the slot number assigned the I O modules in the Generic Profiles In order to configure an I O module you must open the configuration tag for that module by clicking on the plus sign to the left of its configuration tag in the tag data base Configuring a 1769 Discrete Output Module To configure the 1769 OV16 discrete output module in slot 1 click on the plus sign to the left of Local 1 C Configuration data is entered under the Local 1 C Data tag Click the plus sign to the left of Local 1 C Data to reveal the 5 integer data words where configuration data may be entered for the 1769 OV16 module The tag addresses for these
18. 1 Protocot Ful Duplex 7 Auto Configure I Use Modem Dialer eE 29 Who Active LEL oo E Workstation PCB PA324 ds Lins Gateways Ethernet 1 Gs 1784PCD 1 DeviceNet O a AB_OF11 DF1 1 fj 01 CompactLogix Processor m fa AD_ETH 1 Ethernet E a TCP Cthemet Current Path AB_DF1151 I pph Current Pat Path in Project AB_DF1151 Upload Close Help Getting Started 1 19 Viewing Program Scan Time 1 View properties for the MainProgram 50 RSLogix 5000 quickstart 1769 120 File Edit View Search Logic Communications Tools W alele S sale oj ottine z fo Forces zj i a o Edits z Forces Disabled z Os Path AB_DF1 1 Controller quickstart A Controller Tags Controller Fault Handler 3 Power Up Handler a Tasks B A MainTask A Place the cursor over the MainProgram folder gt er Proc New Routine E Mair Cut B Click the right mouse button and select Properties 3 Unschedule K EI Trends a Data Types R User Definer ff Predefined Verify E L Module Defi Cross Reference 9 140 Configuration S S 0 Compact Accept Pending Program Edits 8 n1769 Gancel Pending Rroaram edits i isid Test Program Exits j 4 1769 Untest Progrenr edits Assenible krogam edits eancel Program Edits Print 2 Select the Configuration tab E Papan Popea Maan vonkees lel ES
19. RSLinx then funnels all of the tags through those five available connections Viewing the Number of Open Connections You can see how many connections are made from your workstation to the CompactLogix controller in RSLinx by selecting CIP Diagnostics from the Connections menu The Dispatching tab contains various CIP information including the number of connections open to the CompactLogix controller Appendix F Using the Serial Port to Connect to a DeviceNet Network 1761 NET DNI SES Communications on DeviceNet You can use the serial port of the CompactLogix5320 processor to connect to a DeviceNet network using the DeviceNet Interface DND catalog number 1761 NET DNI For additional information on using the DNI refer to the DeviceNet Interface User Manual publication 1761 6 5 1769 L20 CompactLogix5320 1769 L20 CompactLogix5320 Pdf 1761 NET DNI Cl 1761 NET DNI Connecting CompactLogix5320 controllers on DeviceNet requires one 1761 NET DNI per CompactLogix5320 controller The DNI converts RS 232 hardware connections and full duplex DF1 protocol to DeviceNet A computer can also be connected to the DeviceNet network with another 1761 NET DNI The Full Duplex DF1 communication driver in RSLinx can be used to allow RSLogix 5000 programming software to upload download and monitor programs in the CompactLogix controller over the DeviceNet network The
20. Raw Proportional 0 0 0 Engineering Units 0 0 1 Scaled For PID 0 1 0 Percent Range 0 1 1 If 10V dc is selected the Percent Range output data format is invalid and if chosen results in a configuration error Channel Enable Bit Bit 15 of Word 0 must be set to a 1 to enable channel 0 Bit 15 of Word 1 must be set to a 1 to enable channel 1 Analog output channels are disabled by default Fault Value This selection is not used with CompactLogix5320 systems Program Idle Value This selection is not used with CompactLogix5320 systems Analog output data must then be written to tags Local 2 0 Data 0 and Local 2 0 Data 1 for channels 0 and 1 Configuring 1 0 with the 1769 Generic Profile G 11 Configuring a 1769 IF4 Analog Input Module To configure the 1769 IF4 Module in slot 3 click on the plus sign to the left of Local 3 C Configuration data is entered under the Local 3 C Data tag Click on the plus sign to the left of Local 3 C Data to reveal the 4 integer data words where the configuration data may be entered for the 1769 IF4 module The tag addresses for these 4 words are Local 3 C Datal0 through Local 3 C Datal 3 As indicated in the Compact I O Analog Module User s Manual publication 1769 UM002A EN P the four configuration words apply to the four input channels respectively The four configuration words are all identical except that each applies to a different analog input channel Word 0 applies to channel 0
21. See page 4 10 DF1 master mode control of polling and message transmission between the master and slave nodes 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 A master slave network can have node numbers from 0 to 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 4 13 DF1 slave mode using a controller as a slave station in a master slave serial communication network 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 slave 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 to 255 nodes to a single link In DF1 slave mode a controller uses DF1 half duplex protocol 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 User mode communicating with ASCII devices This requires your program logic to use the ASCII instructions to read and write data from and to an ASCII device DH 485 communicating with other DH 485 devices multi master token passing networ
22. contains total number of stations to poll list 1 contains address of station currently being polled list 2 contains address of first slave station to poll list 3 contains address of second slave station to poll list n contains address of last slave station to poll Normal poll group size Standard polling modes only The number of stations the master station polls after polling all the stations in the priority poll array Enter 0 default to poll the entire array Priority poll node tag Standard polling modes only An integer tag array that contains the station addresses of the slave stations you need to poll more frequently Create a single dimension array of data type INT that is large enough to hold all the priority station addresses The minimum size is three elements This tag must be controller scoped The format is list 0 contains total number of stations to be polled list 1 contains address of station currently being polled list 2 contains address of first slave station to poll list 3 contains address of second slave station to poll list n contains address of last slave station to poll Active station tag Standard polling modes only An array that stores a flag for each of the active stations on the DF1 link Both the normal poll array and the priority poll array can have active and inactive stations A station becomes inactive when it does not respond to the master s poll Create a single dimension
23. decimal inclusive To optimize network performance assign node addresses in sequential order Masters such as personal computers should be assigned the lowest address numbers to minimize the time required to initialize the network Token Hold Factor Specifies the node address of the CompactLogix controller on the DH 485 network Select a number 1 4 inclusive Maximum Node Address Specifies the maximum node address of all the devices on the DH 485 network Select a number 1 31 decimal 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 selection for the maximum node address Publication 1769 UM007B EN P February 2001 5 4 Communicating with Devices on a DH 485 Link Planning a DH 485 Network The DH 485 network offers Publication 1769 UM007B EN P February 2001 e interconnection of 32 devices e multi master capability token passing access control e the ability to add or remove nodes without disrupting the network e maximum network length of 1219 m 4000 ft The DH 485 protocol supports two classes of devices masters and slaves All masters on the network get a chance to initiate message transfers The DH 485 protocol uses a token pass algorithm to determine which master has the right to transmit DH 485 Token Rotation A node holding the token can
24. 125 100 1769 OW8l 125 100 1769 IF4 A 120 150 1769 IF4 B 120 60 1769 OF2 A 120 200 1769 OF2 B 120 120 1769 ECR 5 0 1769 ECL 5 0 Total Modules Total Current Required 1 One 1769 ECR or 1769 ECL end cap terminator is required in the system The end cap terminator used is dependent on your configuration 2 This number must not exceed the Power Supply Current Capacity listed below Power Supply Current Capacity Specification 1769 PA2 1769 PB2 1769 PA4 1769 PB4 Output Bus Current Capacity 0 C to 55 C 2A at 5V de and 0 8A at 24V de 4A at 5V de and 2A at 24V de 24V dc User Power Capacity 0 C to 55 C 250 mA not applicable maximum Publication 1769 UM007B EN P February 2001 3 4 Placing Configuring and Monitoring Local 1 0 Determining When the Controller Updates 1 0 Configuring the CompactBus Publication 1769 UM007B EN P February 2001 The controller continually scans the control logic One scan is the time it takes the controller to execute the logic once Input data transfers to the controller and output data transfers to output modules are asynchronous to the logic scan If you need to synchronize I O to the logic scan you can use the Synchronous Copy instruction CPS to buffer the I O data Refer to the Logix5000 Controllers Common Procedures Programming Manual publication number 1756 PM001B EN P for examples of I O buffering or to the Logix5000 Controlle
25. 14 Execution Time Publication 1769 UM007B EN P February 2001 Table D 6 Execution Times for Function Block Instructions Continued Instruction Time us Notes DERV 91 DFF 14 DIV 21 EQU 2 ESEL Average Sel 87 ESEL High Select 67 ESEL Low Select 76 ESEL Manual 34 ESEL Median Sel 124 FGEN 133 FRD 10 GEQ 2 GRT 2 HLL 26 HPF 249 INTG 103 JKFF 14 LDL2 223 LDLG 173 LEQ 2 LES 2 LIM 5 LN 206 LOG 206 LPF 252 MAVE uniform 68 x 17 x number of samples MAVE weighted 40 x 11 x number of samples MAXC 22 MEQ 2 MINC 24 MOD 69 MSTD 165 x 51 x number of samples MUL 20 MUX 21 MVMT 13 NEG 2 Execution Time Table D 6 Execution Times for Function Block Instructions Continued D 15 Instruction Time us Notes NEQ 2 NOT NTCH 310 OR OSFI 12 OSRI 13 PI 141 PIDE 511 PMUL 137 POSP 119 RAD 21 RESD 12 RLIM 94 RMPS 153 RTOR 40 SCL 58 SCRV 265 SEL 15 SETD 11 SIN 244 SNEG 18 SOC 180 SOR 41 SRTP 148 SSUM 35 x 31 x number of inputs SUB 12 TAN 308 TOD 17 TOFR 34 TONR 39 TOT 115 TRN 15 UPDN 25 XOR 2 XPY 426 Publication 1769 UM007B EN P February 2001 D 16 Execution Time Notes Publication 1769 UM00
26. 5 Create a PIO yu ene iea uang tlhe eed tos Be wae 1 6 Changing Project Properties in aia nh a ea ds es 1 7 Adding a Local I O Module t lt 26549 42044 25 22444 a5 1 8 Adding a Local I O Module continued 1 9 Changing Module Properties 000000005 1 10 Viewing VO AGS cn oct garg DS Peak De be BSG DKS Sed 1 12 Configuring the CompactBus 005 1 13 Creating Other Tags i 5 seats we Sit hd oe Gal s bk docket PAS 1 14 Documenting I O with Alias Tags 004 1 15 Ent fing Logies aee pea es ed gach Ao da Reha GEE Ws Bett 1 16 Entering Logic continued 5 0 3 wn 84 OEE ROD wet UE S4 1 17 Downloading a Project o oo NOES EK FG ERS 1 18 Viewing Program Scan Time s fa aban ea Rae eS 1 19 Viewing controller Memory Usage 0 05 1 20 What TO Do NOXE sr ahi itt nite wk Mek a chale Gore eee a ae eked a 1 21 Chapter 2 Using This Chapter rei sea nuora 43 Va Oe eR RE OES ed 2 1 Developing Programs lt 5 655 4424 posers nt bod wow Bescdiia aan a er hatte 2 2 Defining TASKS fos 4 a Saab sure beg 4h te Dad aaa bce Ree Ass 2 3 Defining Prostate arin seas KER I 2 6 Defining Routines nnua aaa a boo ae uaa PS Biante 2 6 Direct Connections for I O Modules 2 6 Selecting a System Overhead Percentage 2 7 Publication 1769 UM007B EN P February 2001 Table of Contents ii Placing Configuring and Monitoring Local 1 0 Communicating with De
27. 5 words are Local 1 C Datal0 through Local 1 C Datal4 Discrete output modules only need to be configured if Hold Last State or User Defined Safe State features are used But because the CompactLogix5320 controller does not support either of these features any data written to these configuration words is disregarded All outputs will be turned Off when the controller is placed into the Program Mode or when the controller faults Discrete output data must be written to tag Local 1 0 Datal 0 and an echo of the output data can be found in tag Local 1 1 Data 0 Publication 1769 UM007B EN P February 2001 G 8 Configuring 1 0 with the 1769 Generic Profile Configuring a 1769 OF2 Analog Output Module To configure the 1769 OF2 module in slot 2 click on the plus sign to the left of Local 2 C Configuration data is entered under the Local 2 C Data tag Click the plus sign to the left of Local 2 C Data to reveal the 8 integer data words where configuration data may be entered for the 1769 OF2 module The tag addresses for these 8 words are Local 2 C Data 0 through Local 2 C Datal7 As indicated in the Compact I O Analog Module User s Manual publication 1769 UM002A EN P only the first 6 words of the configuration file apply The last 2 words must exist but both should contain a value of 0 decimal The 8 configuration words for the 1769 analog output module are defined as follows
28. Baud Rate 19200 X a Nani co cl Parity None fa Error Checking BCC hd Stop Bits 1 F Protocol Full Duplex Auto Configure T Use Modem Dialer Configure Diale Publication 1769 UM007B EN P February 2001 4 10 Communicating with Devices on a Serial Link Example 1 Workstation Directly Connected toa In the following example a workstation directly connects to a CompactLogix controller over a serial link This is useful for downloading a controller project directly to the controller CompactLogix Controller This field Station address isolator _ Serial recommended J i This type of protocol supports simultaneous transmission between two devices in both directions The DF1 point to point protocol controls message flow detects and signals errors and retries if errors are detected Configuring a DF1 Point to Point Station Description The station address for the serial port on the DF1 point to point network Enter a valid DF1 address 0 to 254 Address 255 is reserved for broadcast messages The default is 0 NAK receive limit Specifies the number of NAKs the controller can receive in response to a message transmission Enter a value 0 to 127 The default is 3 ENQ transmit limit Specifies the number of inquiries ENQs you want the controller to send after an ACK timeout Enter a value 0 to 127 The default is 3 ACK timeout Specifies t
29. EN P February 2001 Appendix A Using This Appendix CompactLogix Controller CompactLogix System Specifications For information about See page CompactLogix controller specifications A 1 1747 BA battery specifications A 2 Dimensions A 3 Description Backplane Current Value 600 mA at 5V dc 0 mA at 24V de Operating Temperature 0 to 60 C 32 to 140 F Storage Temperature 40 to 85 C 40 to 185 F Relative Humidity 5 to 95 non condensing Vibration Operating 10 to 500 Hz 5G 0 030 mm in peak to peak Shock Operating 30G 11 ms pane mounted 20G 11 ms DIN rail mounted Non operating 40G pane mounted 30G DIN rail mounted Power Supply Distance Rating 4 The controller must be within 4 slot positions of the power supply Shipping Weight 0 325 kg 0 715 Ibs Battery 1747 BA Programming Cable 1747 CP3 or 1756 CP3 Agency Certification e C UL certified under CSA C22 2 No 142 e UL508 listed e CE compliant for all applicable directives Hazardous Environment Class Class I Division 2 Hazardous Location Groups A B C D UL 1604 C UL under CSA C22 2 No 213 Radiated and Conducted Emissions EN50081 2 Class A Electrical EMC The unit has passed testing at the following levels ESD Immunity IEC1000 4 2 4 kV contact 8 kV air 4 kV indirect Radiated Immunity IEC1000 4 3 10 V
30. Forces Disabled z 2o Path AB_DF1 1 Input Output Compare B Controller quickstart A Controller Tags C Controller Fault Handler C3 Power Up Handler Tasks ic fa MainTask E8 MainProaram E Program Tags E MainRoutine Drag and drop the XIO instruction Publication 1769 UM007B EN P February 2001 Getting Started 1 17 Entering Logic continued 3 Assign a tag to the XIO instruction MainProgram MainRoutine Double click the tag area of the instruction Use the drop down menu to select input_1 by double clicking on it gt input_A BOOL Local 1 C AB 1769_MODULE C 0 Local 1 1 4B 1769_MODULE_INT_6Bytes 0 F Local 2 4B 1769_MODULE C 0 Local 2 1 46 1769_MODULE_INT_6Bytes I 0 fF Local 2 0 4B 1769_MODULE_INT_2Bytes Local 3 4B 1769_MODULE C 0 Local 3 48 1769_MODULE_INT_6Bytes 0 F Local 4 4B 1769_MODULE C 0 Local 4 1 4B 1769_MODULE_INT_1 2Bytes Local 4 0 48 1769_MODULE_INT_4Bytes output_1 BOOL timer _1 TIMER Controller Scoped Tags Program Scoped Tags The software displays an incomplete rung MainProgram MainRoutine iof x 1 End 4 Enter this logic MainProgram MainRoutine olx TON Timer On Delay Timer Preset timer 1000 END DD Accum 0 output_1 timer DN J gt End 5 To save the project from the File menu select
31. if the master has no established successor for example when it powers up it begins a linear search for a successor starting with the node above it in the addressing When the master finds another active node it passes the token to that node which repeats the process until the token is passed all the way around the network to the initial node At this point the network is in a state of normal operation Number of Nodes and Node Addresses The number of nodes on the network directly affects the data transfer time between nodes Unnecessary nodes such as a second programming terminal that is not being used slow the data transfer rate The maximum number of nodes on the network is 32 If the node addresses for controllers are assigned in sequence starting at node 1 with node 0 left for a programming terminal it is as efficient to leave the maximum node address at 31 as it is to decrease it to the highest node address on the network Then adding devices to the network at a later time will not require modifying the maximum node address in every device on the network The maximum node address should be the same for all devices on a DH 485 network for optimal operation The best network performance occurs when node addresses start at 0 and are assigned in sequential order The controller defaults to node address 1 Masters such as personal computers should be assigned the lowest numbered addresses to minimize the time required to init
32. m 80 to 1000 MHz 80 amplitude modulation 900 MHz keyed carrier Fast Transient Burst IEC1000 4 4 2 kV 5 kHz Surge Immunity IEC1000 4 5 1 kV galvanic gun Conducted Immunity IEC1000 4 6 10V 0 15 to 80 MHz 1 Conducted Immunity frequency range may be 150 kHz to 30 Miz if the Radiated Immunity frequency range is 30 MHz to 1000 MHz Publication 1769 UM007B EN P February 2001 A 2 CompactLogix System Specifications IMPORTANT The amount of memory that the software displays includes both the user available memory and the memory reserved for overhead Certain operations dynamically allocate and de allocate user available memory See the specifications for your controller and Appendix E to estimate how much memory you have available for programming 1747 BA Battery The CompactLogix controller uses the 1747 BA battery Battery 1747 BA containing 0 59g lithium battery connector battery Publication 1769 UM007B EN P February 2001 CompactLogix System Specifications A 3 Dimensions CompactLogix Modular Controller Dimension 1769 L20 CompactLogix5320 Height A 118 mm 4 649 in Width B 50 mm 1 97 in Depth C 87 mm 3 43 in CompactLogix System 15 25 35 3
33. module s serial port Parameter Setting Mode System Baud Rate 19200 Data Bits 8 Parity None Stop Bits 1 Control Lines No Handshaking Click APPLY then OK to save your port configuration parameters Publication 1769 UM007B EN P February 2001 F 10 Communications on DeviceNet 7 If you wish to have the controller connected to DNI node 35 send read and write messages to the other CompactLogix5320 controller Add the same two message rungs to it and be sure to create all necessary tags For this example a tag named data35 was created in the CompactLogix5320 connected to DNI node 25 The data35 tag is an array of 50 integer words so the other CompactLogix5320 can read and write to it The ladder program in the CompactLogix5320 controller connected to DNI node 35 is as follows The MSG control tags were named to reflect their destination Initiate Write Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 25 MSG_NODE25W EN MSG 0 S F Type PLC5 Typed Write EN Message Control MSG_NODE25W E CDND L CER gt Initiate Read Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 25 MSG_NODEZ25R EN MSG 1 4 F Type PLC5 Typed Read CEN Message Control MSG_NODE25R E COND LER 5 End 8 Download the two RSLogix 5000 project files to their respe
34. outputs enter configuration data in tag base See Appendix G Configuring I O with the 1769 Generic Profile for additional information and generic profile application examples Publication 1769 UM007B EN P February 2001 1 10 Getting Started Changing Module Properties 1 View properties for the module So RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications Too alsia 5 te fT Path AB_DF1 1 B Controller quickstart A Controller Tags Controller Fault Handler C3 Power Up Handler B E Tasks B E MainTask 2 MainProgram A Program Tags E MainRoutine E Unscheduled Programs E Trends B 68 Data Types Cp User Defined E O Predefined E p Module Defined B 6 1 0 Configuration 6 8 0 CompactBus Local A Place the cursor over the 1769 IB16 module p S 211769M0DUL en MbHlle 9 3 1769 MODUL aji7eamoou ot B Click the right mouse button and select Properties Haste Delete Cross Reference Hiii E Module Properties Local 1 1769 MODULE 1 1 x General Connection 2 View the General tab The screen defaults to the General tab Type 1769 MODULE Generic 1769 Module Parent Local r Connection Parameters Assembly Instance Size Name fie 6 Input fi a fi a 16 bit Verify that the module settings are Vy g Description aj Output 104 p correct Make changes if necessary Z Configuration fice
35. send any valid packet onto the network As a default each node gets only one transmission plus two retries each time it receives the token After a node sends one message packet it attempts to give the token to its successor by sending a token pass packet to its successor If no network activity occurs the master sends the token pass packet again After two retries a total of three tries the master attempts to find a new successor IMPORTANT The maximum address that the master searches for before starting again with zero is the value in the configurable parameter maximum node address The default and maximum value for this parameter is 31 for all masters and slaves The allowable range of the node address of a master is 0 to 31 The allowable address range for all slaves is 1 to 31 There must be at least one master on the network Communicating with Devices on a DH 485 Link 5 5 Network Initialization The network requires at least one master to initialize it Network initialization begins when a master on the network detects a period of inactivity that exceeds the time of a link dead timeout When the link dead timeout is exceeded usually the master with the lowest address claims the token When a master has the token it will begin to build the network Building a network begins when the master that claimed the token tries to pass the token to the successor node If the attempt to pass the token fails or
36. terminating 5 7 Publication 1769 UM007B EN P February 2001 2 Index token rotation 5 4 dimensions CompactLogix processor A 3 CompactLogix system A 3 DIN rail configuring 3 4 splitting 3 2 documenting 1 0 1 15 downloading project 1 18 E EMC Directive 1 3 entering logic 1 16 European Union Directive compliance 1 3 EMC Directive 1 3 low voltage directive 1 3 example DH 485 configuration 5 8 execution time function block instructions D 13 function block routine D 12 GSV instruction D 8 SSV instruction D 10 G Generic Profile adding a local I O module 1 8 generic profile creating G 1 getting started adding a local I O module 1 8 changing module properties 1 10 changing project properties 1 7 creating a project 1 6 creating tags 1 14 documenting 1 0 with alias tags 1 15 downloading a project 1 18 entering logic 1 16 overview 1 1 steps 1 5 viewing controller memory usage 1 20 viewing 0 tags 1 12 viewing scan time 1 19 Publication 1769 UMO007B EN P February 2001 H hardware DH 485 5 2 serial 4 3 l I O module adding 1 8 alias 3 14 communication format 3 8 configuring local 3 7 connection 2 6 DIN rail 3 4 local overview 3 1 monitoring 3 14 splitting the DIN rail 3 2 inhibit operation 3 9 Initializing messages between 5320 controllers on DeviceNet F 6 L LED status B 1 LEDs normal controller operation B 1 status B 1 local 0 configuring 3 7 DIN rail 3 4 overview 3 1 split
37. the number of 20 ms periods of time that elapse between the assertion of the RTS signal and the beginning of a message transmission This time delay lets the modem prepare to transmit a message The CTS signal must be high for the transmission to occur The range is 0 to 32767 periods RTS off delay Enter a count that represents the number of 20 ms periods of time that elapse between the end of a message transmission and the de assertion of the RTS signal This time delay is a buffer to make sure the modem successfully transmits the entire message The range is 0 to 32767 periods Normally leave at zero Publication 1769 UM007B EN P February 2001 4 8 Communicating with Devices on a Serial Link Use this mode DF1 point to point communication between the controller and one other DF1 protocol compatible device Specifying System Protocol Characteristics Error Detection Protocol DF1 Point to Point BCC C CRC Station Address fo NAK Receive Limit E ENQ Transmit Limit E ACK Timeout 50 x20 ms Embedded Responses fAutodetect E IV Enable Duplicate Detection o Controller Properties quickstart iof x Major Faults Minor Faults Date and Time Advanced File General Serial Port System Protocol User Protocol Cancel Epp Help The available system modes are For This is the default system mode This mode is typically used to program the controller through its serial port
38. with Devices on a Serial Link Publication 1769 UM007B EN P February 2001 Using the Channel 0 Default Communication Push Button Use the Channel 0 Default Communication Push Button to change from the user defined communication configuration to the default communications configuration Hold the button until the Channel 0 Default Communications DCHO LED turns on green steady showing that the default communication configuration is active NOTE Before pressing the Channel 0 Default Communication Push Button be sure you know the current communication configuration for Channel 0 If the channel is to be returned to this configuration it must be entered manually while online with the controller or downloaded as part of a Logix Project file To accomplish this online enter the Controller Properties screen under the Serial Port System Protocol and User Protocol tabs The Channel 0 Default Communication Push Button is located on the front of the controller in the lower right corner NOTE The Default Communication Push Button is recessed Communicating with Devices ona Serial Link 4 3 i i For the CompactLogix controller to operate on a serial network you Configuring Your System for pactLog p y a Serial Link baud rate selector switch port 1 DB 9 RS 232 DTE gt need e a workstation with a serial port e RSLinx software to configure the serial communication driver RSLogix5000 programm
39. word 1 applies to channel 1 and so on These configuration words are as follows Bit s Description 0 through 3 Input Filter Select 4 through 7 Reserved set to 0 8 through 11 Input Type Range Select 12 through 14 Input Data Format 15 Channel Enable Bit Input Filter Each channel configuration word allows you to select an Input Filter on a channel basis The filter frequency affects the noise rejection characteristics Filters are selected based on a noise versus step response time trade off A 50 Hz filter will provide a high level of noise filtering resulting in a 60 msec step response In contrast a 500 Hz filter will provide minimal noise filtering resulting in a 6 msec step response The following table represents the input filter selections for the 1769 IF4 InputFilter Bits Bit2 Biti Bto 60 Hz 0 0 0 0 50 Hz 0 0 0 1 Not Used 0 0 1 0 250 Hz 0 0 1 1 500 Hz 0 1 0 0 Refer to the Compact VO Analog Module User s Manual publication 1769 UM002A EN P for more information on these filter selections Publication 1769 UM007B EN P February 2001 G 12 Configuring 1 0 with the 1769 Generic Profile Input Type Range This selection allows you to configure each channel individually for various current or voltage ranges as shown in the table below Input Type Bit 11 Bit 10 Bit 9 Bit8 10 to 10V de 0 0 0 0 0 to 5V de 0 0 0 1 0
40. you must select a slot number It begins with the first available slot number 1 and increments automatically for each subsequent Generic Profile you configure For this example the 1769 OV16 output module will be located in slot 1 The Comm Format Assembly Instance and Size values for all 1769 I O modules are listed in the following table 1769 1 0 Modules Comm Format Parameter Assembly Size Instance 16 bit OA8 OW8 0B16 Data INT Input 101 1 OV16 OW8I Output 100 1 Config 102 5 1A16 1016 IA8 IM12 Input Data INT Input 101 1 Output 104 0 Config 102 0 1Q6XOW4 Data INT Input 101 2 Output 100 1 Config 102 5 IF4 Input Data INT Input 101 6 Output 104 0 Config 102 4 OF2 Data INT Input 101 4 Output 100 2 Config 102 8 IT6 IR6 Input Data INT Input 101 8 Output 104 0 Config 102 8 Configuring 1 0 with the 1769 Generic Profile G 5 Note the Comm Format Assembly Instance numbers and their associated sizes for the 1769 OV16 module type and enter them into the Generic Profile The Generic Profile for a 1769 OV16 should look like the following Module Properties Local 1769 MODULE 1 1 Ea Type 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly Instance Size Name ovie Input fio fi 4 16 bit Description Aj Output fi 00 fi 16 bit Configuration fi 02 E a 16 bit Comm Format Data INT E Slot fi
41. 0 11 REAL 0 63 0 11 GRT DINT 0 40 0 11 REAL 0 64 0 11 GSV na See Table D 3 on page D 8 0 16 JMP na 1 6 0 10 JSR na 11 4 No parameters JSR SBR SINT 23 0 number of parameters 3 8 The time is for the JSR SBR INT 22 7 number of parameters 4 2 BAe DINT 22 8 number of parameters 3 5 REAL 22 6 number of parameters 3 6 JSR RET SINT 22 2 number of parameters 3 8 The time is for the JSR RET INT 21 8 number of parameters 4 2 pall DINT 22 0 number of parameters 3 5 REAL 21 7 number of parameters 3 6 LBL na 0 26 LEQ DINT 0 40 0 11 REAL 0 63 0 11 LES DINT 0 40 0 10 REAL 0 63 0 11 Publication 1769 UM007B EN P February 2001 D 6 Execution Time Table D 2 Instruction Execution Times Continued Instruction Optimal Data Type True Time us False Time Notes us LFL SINT 10 4 INT 11 6 DINT 10 8 7 5 REAL 10 9 7 5 LFU SINT 12 9 INT 14 3 DINT REAL 15 1 7 6 LIM DINT 0 85 0 11 REAL 3 8 0 11 LN REAL 204 8 0 10 LOG REAL 205 3 0 11 MCR na 0 05 0 05 MEQ DINT 0 63 0 10 MOD DINT 21 6 0 22 REAL 68 1 0 20 MOV DINT 0 48 0 11 REAL 0 88 0 10 MSG MESSAGE 98 0 7 0 MUL DINT 10 2 0 11 REAL 19 1 0 11 MVM DINT 9 5 0 16 NEG DINT 0 60 0 11 REAL 1 0 0 11 NEQ DINT 0 40 0 10 REAL 0 41 0 11 NOP na 0 05 0 06 NOT DINT 0 57 0 11 ONS BOOL 2 97 2 7 OR DINT 0 64 0 11 OSF BOOL 3 63 4 0 O
42. 0 True time could range from 200 400 us depending on the values of the operands Publication 1769 UM007B EN P February 2001 Table D 3 Execution Times for the GSV Instruction Object Attribute True Time us PROCESSOR TimeSlice 16 9 PROCESSORDEVICE DeviceName 55 2 PROCESSORDEVICE ProductCode 15 4 PROCESSORDEVICE ProductRev 15 4 PROCESSORDEVICE SerialNumber 16 3 PROCESSORDEVICE Status 15 4 PROCESSORDEVICE Type 15 4 PROCESSORDEVICE Vendor 15 4 CST CurrentStatus 14 4 CST CurrentValue 28 2 DF1 ACTTimeout 16 5 DF1 DiagnosticCounters 67 2 DF1 DuplicationDetect 14 9 DF1 EmbeddedResponseEnable 14 9 DFI ENQTransmitLimit 14 9 DF1 EOTSuppression 14 9 DF1 ErrorDetection 14 9 DF1 MasterMessageTransmit 14 9 DF1 NAkReceiveLimit 14 9 DF1 NormalPollGroupSize 15 7 DF1 PollingMode 14 9 DF1 ReplyMessageWait 16 5 DF1 StationAddress 15 7 DF1 SlavePollTimeout 16 5 Execution Time D 9 Table D 3 Execution Times for the GSV Instruction Continued Object Attribute True Time us DF1 TransmitRetries 14 9 FAULTLOG MajorEvents 16 7 FAULTLOG MinorEvents 16 7 FAULTLOG MajorFaultBits 17 5 FAULTLOG MinorFaultBits 17 5 MESSAGE ConnectionPath 53 1 MESSAGE ConnectionRate 17 4 MESSAGE Messagelype 15 7 MESSAGE Port 15 7 MESSAGE TimeoutMultiplier 1
43. 1 Reference Tables Execution Time D 3 Table D 1 Sign Extension Conversion Times To convert a To a Requires us SINT DINT 1 1 REAL 2 2 INT DINT 1 2 REAL 2 4 DINT SINT 79 INT 8 0 REAL 9 0 REAL SINT 15 9 INT 16 0 DINT 13 2 Table D 2 Instruction Execution Times Instruction Optimal Data Type True Time us False Time Notes us ABL na 13 6 11 8 ABS DINT 0 65 0 17 REAL 0 95 0 19 ACB na 13 3 11 7 ACL na 127 0 0 06 ACS REAL 289 3 0 12 ADD DINT 0 60 0 10 REAL 11 4 0 11 AFI na 0 06 AHL na 13 7 12 1 AND DINT 0 64 0 11 ARD na 79 0 15 5 ARL na 79 2 15 5 ASN REAL 279 3 0 11 ATN REAL 238 6 0 11 AVE REAL 46 8 Length 15 6 23 5 AWA na 82 6 15 3 AWT na 81 7 15 3 BRK na 0 Publication 1769 UM007B EN P February 2001 D 4 Execution Time Table D 2 Instruction Execution Times Continued Instruction Optimal Data Type True Time us False Time Notes us BSL DINT 8 4 Length 32 0 83 43 Round up Length 32 to a whole number BSR DINT 9 3 Length 32 0 83 43 Round up Length 32 to a whole number BID DINT 10 61 0 16 CLR DINT 0 37 0 10 REAL 0 43 0 11 CMP Refer to the 4 6 expression 0 11 operations within the expression COP SINT 7 4 Length 0 09 INT 7 1 Length 0 19 DINT 7 5 Length 0 37 0 15 REAL 7 6 Length 0 37 0 15 CO
44. 320 controller connected to DNI node 35 For this example this tag must be an array of at least 50 integer words in length It is the destination where the data from this MSG Instruction will be sent Publication 1769 UM007B EN P February 2001 F 8 Communications on DeviceNet 4 The Communication tab for the MSG Instruction looks like the following Message Configuration MSG_NOD35W Ea Configuration Communication Tag Path BEE Browse 2 35 ommunication Metod m GP C DH Channel oe Destination Lint i F EE y fi Source Lir Destination Node fp etal source IV I Cache Connections e O Enable Q Enable Waiting O Start Done Done Length 50 O Error Code l Timed Out Extended Error Code Cancel Help The Path parameter is the only area on this screen that needs to be modified The Path shown above 2 35 routes the Message out port 2 serial port of the local CompactLogix5320 controller and to a destination node address 35 This is the DeviceNet node address of the DNI to which the remote CompactLogix5320 controller is connected The Cache Connections selection is not valid for serial port communications The Tag tab merely shows the tag name for the MSG control block Click Apply and OK to save your changes Publication 1769 UM007B EN P February 2001 Communications on DeviceNet F 9 5 The Read message in rung 1 of the ladder logic on pag
45. 5 35 35 28 5 590 98 j 1 38 1 38 1 38 1 38 Mag 7 i i i i i ge s 2 e P 2 8 5 197 S S ZS 2 3 3 a g S NOTE All dimensions are 122 6 0 2 E E S 3 in mm inches Hole 4 826 0 008 ros 2 o IE spacing tolerance 0 4 E mm 0 016 in y 4 4 4 4 1 ji ji T ji Publication 1769 UM007B EN P February 2001 A 4 CompactLogix System Specifications Compact I 0 Expansion Power Supply and End Caps 40 35 35 35 28 5 1 58 1 38 1 98 1 38 1 12 P oe S 132 Rl e z e 8 5 197 Cle zi Elz Nn S S NOTE All dimensions are 122 6 0 2 l 5 3 5 15 in mm inches Hole 4 826 0 008 R a gt ce spacing tolerance 0 4 mm 0 016 in t rI NOTE Compact I O expansion cables have the same dimensions as the end caps Publication 1769 UM007B EN P February 2001 Appendix B Using This Appendix CompactLogix Controller LEDs gt CO RUN C3 FORCE C BATT oc OKC DCHOC o N a Ts 2 lt O _ CompactLogix CompactLogix Troubleshooting For information about See page CompactLogix controller LED descriptions B 1 Identifying Controller Fault Messages B 2 Calling Rockwell Automation for Assistance B 2 The controller status LEDs provide a mechanism to determine the current status of the controller if a programming device is not present or available Indicator Color Status De
46. 5 7 MESSAGE UnconnectedTimeout 17 4 MODULE EntryStatus 16 7 MODULE FaultCode 16 7 MODULE FaultInfo 17 6 MODULE ForceStatus 144 5 MODULE Instance 17 8 MODULE Mode 16 7 MODULE LEDStatus 17 2 PROGRAM DisableFlag 16 4 PROGRAM Instance 17 8 PROGRAM LastScanTime 17 6 PROGRAM MajorFaultRecord 59 0 PROGRAM MaxScanTime 17 6 PROGRAM MinorFaultRecord 59 0 PROGRAM SFCRestart 16 7 ROUTINE Instance 16 8 SERIALPORT BaudRate 16 7 SERIALPORT DataBits 15 0 SERIALPORT Parity 15 0 SERIALPORT RTSOffDelay 15 8 SERIALPORT RTSSendDelay 15 8 SERIALPORT StopBits 15 0 TASK Instance 17 7 TASK LastScanTime 17 5 TASK MaxInterval 21 6 TASK MaxScanTime 17 4 Publication 1769 UM007B EN P February 2001 D 10 Execution Time Publication 1769 UM007B EN P February 2001 Table D 3 Execution Times for the GSV Instruction Continued Object Attribute True Time us TASK MinInterval 21 6 TASK Priority 16 6 TASK Rate 17 4 TASK StartTime 21 6 TASK Watchdog 17 4 WALLCLOCKTIME CSTOffset 21 2 WALLCLOCKTIME CurrentValue 37 6 WALLCLOCKTIME DateTime 59 8 Table D 4 Execution Times for the SSV Instruction Object Attribute True Time us PROCESSOR Timeslice 35 9 DF1 PendingACKTimeout 109 4 DF1 PendingDuplicateDetection 108 3 DF1 PendingEmbeddedResponseEnable 108 7 DF1 PendingENQOTransmitLimit 108 3 DF1 PendingEOTSuppression 108 2 DF1 PendingErrorDetection 108
47. 7 7 5 a Major Faults Minor Faults Date and Time Advanced File Eile View Seach Logic Communic General Serial Port System Protocol User Protocol a Wida GHZ Protocol Station Address 0 Fed GHEY Error Detection C pec CRC F Enebe Duplicate l Delete Inser Cut Ctrl Max Station Address 31 Ex oh Token Hold Facto M Jaste oi FY Del fis Properties A Controller Properties Gal MainTask AlteEnter 2 On the Serial Port tab specify the appropriate communication settings c Controller Properties sample _ of x Major Faults MinorFauts Date and Time Advanced File l General Serial Port System Protocol User Protocol Mode See show Gffine Value BaudRat fran The grayed out settings are Data Bits EL oT selections that do not apply to a Bay None Z DH 485 network Stop Bits Control Line continuous Barrie BTS Send Delay x20 ms RTS Off Delay 0 x20 ms OK Cancel Appi Help Specify these characteristics on the Serial Port tab default values are shown in bold Characteristic Description default is shown in bold 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 Kbps Node Address Specifies the node address of the CompactLogix controller on the DH 485 network Select a number 1 31
48. 7B EN P February 2001 Appendix E Dynamic Memory Allocation in CompactLogix Controllers Certain operations cause the controller to dynamically allocate and de allocate user available memory affecting the space available for program logic The CompactLogix controller dynamically allocates memory for the following Trend Objects e Trend Drivers e Connections Operations that trigger dynamic memory allocation are e Messages e RSLinx Tag Optimization e Trends e DDE OPC Topics Although messages are the most likely to cause dynamic memory allocation in CompactLogix controllers all four operations are discussed in the following sections along with general guidelines for estimating the amount of memory allocated Publication 1769 UM007B EN P February 2001 E 2 Dynamic Memory Allocation in CompactLogix Controllers Messages Messages can come in and go out of the backplane or come in and go out of the serial port Type Connection Established Dynamic Memory Allocated Backplane Incoming The message is connected 1200 bytes connection established The message is unconnected no 0 bytes connection established 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 RSLinx Tag Optimization Tag optim
49. 9 DF1 PendingNormalPollGroupSize 108 9 DF1 PendingMasterMessageTransmit 108 7 DF1 PendingNAkReceiveLimit 108 3 DF1 PendingPollingMode 108 7 DF1 PendingReplyMessageWait 109 4 DF1 PendingStationAddress 109 1 DF1 PendingSlavePollTimeout 109 4 DF1 Pending IransmitRetries 108 3 FAULTLOG MajorEvents 17 0 FAULTLOG MinorEvents 17 0 FAULTLOG MajorFaultBits 17 4 FAULTLOG MinorFaultBits 17 4 MESSAGE ConnectionPath 36 9 MESSAGE ConnectionRate 32 3 MESSAGE Messagelype 69 9 MESSAGE Port 31 6 Execution Time D 11 Table D 4 Execution Times for the SSV Instruction Continued Object Attribute TueTimelusk MESSAGE TimeoutMultiplier 31 7 MESSAGE UnconnectedTimeout 32 3 MODULE Mode 28 4 PROGRAM DisableFlag 37 3 PROGRAM LastScanTime 17 5 PROGRAM MajorFaultRecord 48 8 PROGRAM MaxScanTime 17 5 PROGRAM MinorFaultRecord 48 8 PROGRAM SFCRestart 33 0 SERIALPORT PendingBaudRate 108 5 SERIALPORT PendingDataBits 106 7 SERIALPORT PendingParity 106 6 SERIALPORT PendingRTSOffDelay 106 8 SERIALPORT PendingRTSSendDelay 107 4 SERIALPORT PendingStopBits 106 7 TASK LastScanTime 17 7 TASK MaxInterval 24 6 TASK MaxScanTime 17 7 TASK MinInterval 24 6 TASK StartTime 24 6 TASK Watchdog 33 8 WALLCLOCKTIME CSTOffset 2149 4 WALLCLOCKTIME CurrentValue 70 5 WALLCLOCKTIME DateTime 120 0 Table D 5 Array Index Times For a tag in the subscript of a Add us one dimen
50. Adapter HE Smart MCC fH Specialty 1 0 EM Vendor e Rockwell Automation Allen Bi ic Rockwell Automation Dodge amp Rockwell Automation Electro Ei Rockwell Automation Reliant 2 The first DNI module appeared as node 63 To change it to any other unique node address right click on the DNI module and select Properties The following screen appears Publication 1769 UM007B EN P February 2001 F 4 Communications on DeviceNet Le 1761 NET DNI Series B DeviceNet Interface General Device Parameters 1 0 Defaults EDS File ye 1761 NET DNI Series B DeviceNet Interface Name 1761 NET DNI Series B DeviceNet Interface Description Address 63 I m Device Identity Primary Vendor Rockwell Automation Allen Bradey 1 Device Communication Adapter 12 CSS Product 1761 NET DNI Series B DeviceNet Interface 32 Catalog fi 761 NET DNI Revision Roa S Fa Cancel Apply Help 3 Enter a new node address into the Address field For this example addresses 25 and 35 are used for the two DNI module s DeviceNet node addresses Modify this DNI module s node address to 25 Click Apply and OK Publication 1769 UM007B EN P February 2001 Communications on DeviceNet F 5 4 Next connect the second DNI module to the DeviceNet network Click the Network pull down menu and select Single Pass Browse The second DNI module should appear at no
51. B EN P February 2001 How you configure your tasks affects how the controller receives I O data Tasks at priorities 1 to 6 take precedence over the dedicated I O task Tasks in this priority range can impact I O processing time A task of priority 1 to 6 that requires 1 2 ms to execute and is scheduled to run every millisecond consumes 1 ms of CPU time This leaves the dedicated I O task 1 ms to complete its job of scanning the configured I O However if you were to schedule two high priority tasks 1 to 6 to run every millisecond and they both required 1 2 ms 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 8 to 15 NOTE For example if your program needs to react to inputs and control outputs at a deterministic rate configure a periodic task with a priority higher than 7 1 through 6 This keeps the dedicated I O 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 7 8 through 15 such as the continuous task so that the dedicated I O task is not adversely affected by your program What Is CompactLogix 2 5 The following example shows t
52. DNI must be commissioned on the DeviceNet network via the RSNetworx for DeviceNet software or the DNI Configuration Utility version 2 001 The DNI Configuration Utility a free tool for commissioning and configuring the DNI is available for download at www ab com Once this is accomplished and all devices on the DeviceNet network have unique node addresses the CompactLogix5320 controllers can begin exchanging data using MSG Instructions The Destination Node Address in the DF1 messages sent by the CompactLogix5320 controllers is used by the DNI to route the message to the proper device on DeviceNet Publication 1769 UM007B EN P February 2001 F 2 Communications on DeviceNet Publication 1769 UM007B EN P February 2001 The following application example shows how to commission the DNI modules on DeviceNet with RSNetworx for DeviceNet software and how to send messages between the CompactLogix5320 controller s serial channels Refer to the DeviceNet Interface User Manual publication 1761 6 5 for information on the DNI Configuration Utility DeviceNet may be preferred over DH 485 because DeviceNet supports data rates up to 500K bits second and up to 64 nodes while DH 485 supports data rates up to 19 2 K bits second and 32 nodes maximum Commissioning the 1761 NET DNI Modules on DeviceNet First commission each DNI module on the DeviceNet network with RSNetworx for DeviceNet Commissioning is done to assign node addresses t
53. General Configuration Assigned Routines Main ETS eit Fault lt none gt x Scan Times execution time Max 2346 Reset M The Configuration tab displays the maximum a ie ee and last scan times for the program Last ma us Cancel Apply Help Publication 1769 UM007B EN P February 2001 1 20 Getting Started Viewing controller Memory Usage 1 View properties for Controller quickstart A Place the cursor over the Controller quickstart folder 5a B Click the right mouse button and select Properties 2 Select the Advanced tab In addition to other information the Advanced tab displays controller memory usage S RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communic aleja S e gt Path AB_DF1 1 Verify Controll E Controll print C Power __ Tasks Properties i8 MainT ask o Controller Properties quick_start iof x General Serial Port System Protocol User Protocol Major Faults Minor Faults Date and Time Advanced File Memory Used 40 500 bytes Unused 63 680 bytes Total 104 180 bytes Controller Fault Handler ONENA Power Up Handler lt none gt x System Overhead jo Time Slice i Cancel Help IMPORTANT The amount of memory that the software displays includes both the user available memory and the memory reserved for over
54. Generic Profile Choose your controller type and enter a name for your project then click OK The following main RSLogix 5000 screen appears RSLogix 5000 CompactLogix5320 1769 L20 File Edit View Search Logic Communications Tools Window Help altel a le le faa fie ier ala Offline w No Forces v 4 Notas Jp Fores nabs gt cD fy fe Lisa fs fete es a Se No Edits wj Forces Disabled ov Jets Path AB_DF1 1 Favorites Bn K Imercounter A EES Controller CompactLogix5320 A Controller Tags C Controller Fault Handler C Power Up Handler El Tasks 5a MainTask 3 MainProgram Program Tags E MainRoutine 3 Unscheduled Programs E Trends 5 6 Data Types Gi User Defined Cip Predefined ER Module Defined 6 8 1 0 Configuration 0 CompactBus Local Publication 1769 UM007B EN P February 2001 Configuring 1 0 with the 1769 Generic Profile G 3 The last entry in the Controller Organizer on the left of the screen shown above is a line labeled 0 CompactBus Local Right click on this line and select New Module The following screen appears Select Module Type x Type Major Revision 1769 MODULE Mo z Type Description 1769 MODULE Show Vendor fA x M Other M Specialty 1 0 Select All M Analog M Digital M Communication V Motion M Processor Clear All Cancel Help This screen is used to narrow your search for I O modules to configur
55. Generic Profile Publication 1769 UM007B EN P February 2001 Appendix E Messages ranan E A ard tects ia Aas eke dais ane een iad Sis E 2 RSLinx Tag Optimization 5 ia Do oka FAS He aw Be E 2 Trends i eit e paee maea wane ae a a e ai E 3 DDE OPC VO pies 3B sate nk og cose ted cade ek aA oe th E 3 Maximum Messaging Connections per PLC E 3 Checking Use Connections for Writes to ControlLogix PROCESSOR te ta Ba Aten ok PEP A aw Bo Bates GA E 4 Number of Connections Needed to Optimize Throushp taps redene ae soe Giant die Fehon eee labia E 4 Viewing the Number of Open Connections E 4 Appendix F Using the Serial Port to Connect to a DeviceNet Network F 1 Commissioning the 1761 NET DNI Modules on DeviceNet reae menr iia Bont Re ale Bok eh Ea F 2 Initializing Messages Between the CompactLogix5320 Controllers on DeviceNet BAe wa aaa F 6 Appendix G Using This Appendix naaa aaau G 1 Creating a Generic Profile anana aaa G 1 Configuring I O Modules 2c fio tet CA es G 6 Configuring a 1769 Discrete Output Module G 7 Configuring a 1769 OF2 Analog Output Module G 8 Configuring a 1769 IF4 Analog Input Module G 11 Index Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics e who should use this manual e how to use this manual related publications e conventions used in this manual Rockwell A
56. S REAL 236 7 0 08 CPT Refer to the 5 1 expression 0 11 operations within the expression CTD COUNTER 0 46 0 43 CTU COUNTER 0 46 0 43 DDT DINT 9 1 Based on All mode 0 mismatches 29 6 Cmp Length 1 5 1 mismatch 41 5 Cmp Length 1 5 2 mismatches 44 2 Cmp Length 1 5 DEG REAL 20 0 0 11 DIV DINT 11 7 0 10 REAL 19 9 0 11 DTR DINT 3 02 2 8 EQU DINT 0 40 0 10 REAL 0 40 0 11 FAL Refer to the 10 9 n 4 3 expression 7 3 n is the number of elements operations within the manipulated in one scan expression FBC DINT 9 2 0 mismatches 14 0 Cmp Length 1 5 1 mismatch 13 9 Cmp Length 1 5 2 mismatches 28 3 Cmp Length 1 5 Based on All mode Publication 1769 UM007B EN P February 2001 Table D 2 Instruction Execution Times Continued Execution Time D 5 Instruction Optimal Data Type True Time us False Time Notes us FFL SINT 10 4 INT 11 6 DINT REAL 10 8 75 FFU SINT 11 8 Length 0 66 INT 12 9 Length 1 11 DINT REAL 13 3 Length 0 60 7 7 FLL SINT 4 7 Length 0 31 INT 5 0 Length 0 31 DINT REAL 5 6 Length 0 26 0 16 FOR DINT 16 6 Terminal value Step size 7 8 3 0 FRD na 9 6 0 10 FSC Refer to the 11 4 n 4 2 expression 7 8 n is the number of elements operations within the manipulated in one scan expression GEQ DINT 0 40
57. SR BOOL 3 91 3 5 OTE BOOL 0 20 0 19 OTL BOOL 0 20 0 05 OTU BOOL 0 20 0 05 Publication 1769 UM007B EN P February 2001 Table D 2 Instruction Execution Times Continued Execution Time D 7 Instruction Optimal Data Type True Time us False Time Notes us PID PID 18 4 Independent 378 4 ISA dependent 451 7 Manual mode 330 2 Set output mode 330 2 Independent slave 402 0 mode RAD REAL 19 6 0 10 RES CONTROL COUNTER 0 34 0 21 or TIMER RET in FOR loop na 49 RTO TIMER 0 46 0 31 SIN REAL 243 3 0 09 sal DINT 3 8 0 16 SQL DINT 6 6 3 9 00 DINT 6 6 3 8 SOR DINT 10 5 0 10 REAL 39 8 0 11 SRT DINT 32 4 x 46 Time x varies with the REAL TEES 13 Ingih and alanis pt SSV na See Table D 4 on page D 10 0 15 STD SINT 113 3 Length 55 1 22 0 INT 120 2 Length 55 7 25 3 DINT 120 3 Length 54 6 25 3 REAL 122 2 Length 59 2 25 4 SUB DINT 0 60 0 10 REAL 11 3 0 11 TAN REAL 307 7 0 08 TND na 0 01 0 11 TOD na 15 9 0 10 TOF TIMER 0 34 0 42 TON TIMER 0 46 0 34 TRN DINT 13 9 0 21 REAL 22 5 0 21 UID na 35 3 2 6 Publication 1769 UM007B EN P February 2001 D 8 Execution Time Table D 2 Instruction Execution Times Continued Instruction Optimal Data Type True Time us False Time Notes us UIE na 38 0 2 6 XIC BOOL 0 11 0 05 XIO BOOL 0 12 0 05 XOR DINT 0 64 0 11 XPY REAL 530 3 0 1
58. Save Publication 1769 UM007B EN P February 2001 1 18 Getting Started Downloading a Project 1 2 3 4 D Make a serial connection from the workstation to the controller U Configure an RSLinx communication driver n RSLinx software select Communication gt Configure Drivers From the Available Driver Types list select RS 232 DF1 Devices nd click Add New feb Choose a name for the driver and click OK Select the Logix5550 serial port from the Device pull down menu and specify the COM port Click Auto Configure to have the software determine the remaining serial settings Download the project from the Communications menu Be sure the controller is in the Program mode In RSLogix5000 software select Communication gt Who Active Expand the DF1 network and select your controller Click Download Confirm the download when prompted Place the controller in Remote Run mode Publication 1769 UM007B EN P February 2001 Configure Drivers Close Help Available Drivers DeviceNet Drivers PLC 5 DH Emulator Configured Drivers SLC 500 DH485 Emulator Ethemet to PLC 5 or 5820 E1 Remote Devices via Linx Gateway SoftLogix5 Ee Configure RS 232 DF1 Devices Device Name AB_DF1 1 1784 PCMK a Device 1784KT KTXIDVPKTXID Oo oc Ga z Deves Baud Rate 19200 7 Aa pea oo al Parity None 7 Eror Checking BCC Stop Bits
59. age that it needs to send before polling the next slave Station In either case configure the master to receive multiple messages or a single message per scan from each slave station message based communication mode initiates communication to slave stations using only user programmed message MSG instructions Each request for data from a slave station must be programmed via a MSG instruction The master polls the slave station for a reply to the message after waiting a user configured period of time The waiting period gives the slave station time to formulate a reply and prepare the reply for transmission After all of the messages in the master s message out queue are transmitted the slave to slave queue is checked for messages to send If your application uses satellite transmission or public switched telephone network transmission consider choosing message based communication Communication to a slave station can be initiated on an as needed basis Also choose this method if you need to communicate with non intelligent remote terminal units RTUs Publication 1769 UMO007B EN P February 2001 This field Station address Communicating with Devices on a Serial Link 4 13 Configuring a DF1 Slave Station Description The station address for the serial port on the DF1 slave Enter a valid DF1 address 0 to 254 Address 255 is reserved for broadcast messages The default is 0 Transmit retries The
60. ailable so you cannot make this cable 6 O 1 7 2 678 res 3 8 a Gers 9 O 5 12 DB 9 right angle or 8 pin mini DIN straight cable end cable end Pin DB 9end Mini DINend 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 no The 1756 CP3 cable attaches the controller directly to the RS 232 device 1 CD 1CD c 2 RDX 2 RDX 3 TDX 3 TDX 4 DTR 4 DTR COMMON COMMON 6 DSR 6DSR M 7 RTS 7 RTS 8 CTS 8 CTS 9 9 straight right angle cable end cable end 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 larger right angle connector than the 1756 CP3 cable Publication 1769 UM007B EN P February 2001 Communicating with Devices ona Serial Link 4 5 3 Connect the appropriate cable to the serial port on the controller The RS 232 port is locally grounded 4 If necessary attach the controller to the isolator 1761 cable isolator 1761 NET AIC user supplied modem cable ATTENTION The CompactLogix controller is grounded through its DIN rail or mounti
61. anging module properties 1 10 project properties 1 7 Channel 0 Default Communication Push Button 4 2 Commissioning the 1761 NET DNI modules on DeviceNet F 2 communicating DH 485 5 1 serial 4 1 communication DeviceNet F 1 communication driver serial 4 9 communication format 3 8 configuring alias 3 14 ASCII protocol 4 16 communication format 3 8 DF1 master 4 13 DF1 point to point 4 10 DF1 slave 4 13 DH 485 system 5 1 DIN rail 3 4 inhibit 1 0 module 3 9 local 0 3 7 Index response to connection failure 3 11 rules for 1 0 3 1 serial system 4 3 configuring a 1769 discrete output module G 7 configuring a 1769 IF4 analog input module G 11 configuring a 1769 OF2 analog output module G 8 configuring O with the 1769 generic profile G 1 connecting the system DeviceNet network F 1 connection I O module 2 6 response to failure 3 11 controller fault messages B 2 faults B 1 LED status B 1 ownership 3 8 troubleshooting B 1 creating project 1 6 tags 1 14 current consumption I O modules 3 3 D data 3 12 Default Communication Push Button 4 2 developing programs 2 2 DeviceNet Communications F 1 DeviceNet network connecting F 1 DF1 protocol master 4 8 4 13 master slave methods 4 11 point to point 4 8 4 10 slave 4 8 4 13 DH 485 configuring the port 5 3 configuring the system 5 1 example network configuration 5 8 grounding 5 7 hardware 5 2 installing 5 6 network initialization 5 5 nodes 5 5 overview 5 1
62. array of data type SINT that has 32 elements 256 bits This tag must be controller scoped Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled If You Choose One of the Standard Polling Modes The master station polls the slave stations in this order 1 all stations that are active in the priority poll array 2 one station that is inactive in the priority poll array 3 the specified number normal poll group size of active stations in the normal poll array 4 one inactive station after all the active stations in the normal poll array have been polled Publication 1769 UMO007B EN P February 2001 Communicating with Devices on a Serial Link 4 15 Use the programming software to change the display style of the active station array to binary so you can view which stations are active Example 3 CompactLogix In ae celle pega a bay ieee connects to a 7 sae reader ar code reader is an evice so you configure the Controller to a Ba
63. ces on a Serial Link Publication 1769 UMO007B EN P February 2001 Using This Chapter Configuring Your System for a DH 485 Link Chapter 5 Communicating with Devices ona DH 485 Link The DH 485 protocol uses RS 485 half duplex as its physical interface RS 485 is a definition of electrical characteristics it is not a protocol You can configure the RS 232 port of the CompactLogix controller to act as a DH 485 interface For information about See page Configuring your system for a DH 485 link 5 1 Planning a DH 485 network 5 4 Installing a DH 485 network 5 6 Example CompactLogix Controller on a DH 485 Network 5 8 aa A DH 485 network consists of multiple cable segments Limit the total length of all the segments to 1219m 4000 ft For the CompactLogix controller to operate on a DH 485 network you need e a 1761 NET AIC interface converter for each CompactLogix controller you want to put on the DH 485 network You could have two controllers per one 1761 NET AIC converter but you would need a different cable for each controller Connect one controller to port 1 9 pin connector and one controller to port 2 mini DIN connector RSLogix 5000 programming software to configure the serial port of the controller for DH 485 communications Publication 1769 UM007B EN P February 2001 5 2 Publication 1769 UM007B EN P February 2001 600 19200 AB M Uy baud rate selector switch 9a ran EY w Com
64. ckwellautomation com Wherever you need us Rockwell Automation brings together leading brands in industrial automation including Allen Bradley controls Reliance Electric power transmission products Dodge mechanical power transmission components and Rockwell Software Rockwell Automation s unique flexible approach to helping customers achieve a competitive advantage is supported by thousands of authorized partners distributors and system integrators around the world Allen Bradley RELIANCE AEEMEIE DOGE Americas Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Heino Rockwell European Headquarters SA NV avenue Herrmann Debroux 46 1160 Brussels Belgium Tel 32 2 663 06 00 Fax 32 2 663 06 40 Asia Pacific Headquarters 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Automation Publication 1769 UM007B EN P February 2001 Supersedes Publication 1769 UM 007A EN P J anuary 2001 PN 40072 105 01 B 2001 Rockwell International Corporation Printed in the U S A
65. cs on the Serial Port tab default values are shown in bold Characteristic Description default is shown in bold Mode Select System for DF1 and DH485 communication or User mode for ASCII communication Baud rate Specifies the communication rate for the serial port Select a baud rate that all devices in your system support Select 110 300 600 1200 2400 4800 9600 19200 38400 Kbps Note 38400 Kbps only in DF1 mode Parity Specifies the parity setting for the serial port Parity provides additional message packet error detection Select None or Even Data bits Specifies the number of bits per message packet Select 8 Stop bits Specifies the number of stop bits to the device with which the controller is communicating Select 1 or 2 Control line Specifies the mode in which the serial driver operates Select No Handshake Full Duplex Half Duplex with Continuous Carrier or Half Duplex without Continuous Carrier If you are not using a modem select No Handshake If both modems in a point to point link are full duplex select Full Duplex for both controllers If the master modem is full duplex and the slave modem is half duplex select Full Duplex for the master controller and select Half Duplex with Continuous Carrier for the slave controller If all the modems in the system are half duplex select Half Duplex without Continuous Carrier for the controller RTS send delay Enter a count that represents
66. ctive CompactLogix5320 controllers and place the controllers into the RUN mode Each controller will begin reading and writing data to the other controller via their serial ports the DNI modules and the DeviceNet network Publication 1769 UM007B EN P February 2001 Using This Appendix Creating a Generic Profile Appendix G Configuring 1 0 with the 1769 Generic Profile For information about See page Creating a Generic Profile G 1 Configuring a 1769 Discrete Output Module G 7 Configuring a 1769 OF2 Analog Output Module G 8 Configuring a 1769 IF4 Analog Input Module G 11 The following generic profile is used only when a specific 1769 I O module profile is not available in RSLogix 5000 Programming Software The initial release of the CompactLogix5320 controller includes only the Generic Profile with individual I O module profiles to follow To configure a 1769 I O module for a CompactLogix Controller in RSLogix 5000 using the Generic Profile we must first begin a new project in RSLogix 5000 Click on the new project icon or on the File pull down menu and select New The following screen appears New Controller Ea Vendor Allen Bradley Type 1769120 CompactLogix 5320 Contoler Name Cancel Description Help Chassis Type lt none v Slat 0 Revision 7 F 4 Create In C ARSLogix 5000 Projects Browse Publication 1769 UM007B EN P February 2001 G 2 Configuring 1 0 with the 1769
67. d He The CompactLogix controller A supports Compact I O modules The same RSLogix 5000 programming software supports program development for all Logix controllers For information about See page developing programs 2 2 direct connections for I O modules 2 6 selecting a system overhead percentage 2 7 Publication 1769 UM007B EN P February 2001 2 2 What Is CompactLogix Developing Programs The controller 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 control application controller fault handler task 4 task 1 configuration status watchdog program 32 program 1 program local main routine tags fault routine other routines o controller global tags 1 0 data system shared data Publication 1769 UM007B EN P February 2001 What Is CompactLogix 2 3 Defi
68. de 63 if the unit is new Modify its DeviceNet node address as we did with the first DNI module The two DNI modules should now be at nodes 25 and 35 and the RSNetworx online screen should look like the following E7 DeviceNet RSNetWorx for DeviceNet l l File Edit View Network Device Tools Help EMG DeviceNet EM Category BHD AC Drive Barcode Scanner Communication Adapter DeviceNet to SCANport Dodge EZLINK General Purpose Discrete 1 0 Generic Device Human Machine Interface Inductive Proximity Switch Limit Switch Motor Protector Photoelectric Sensor Rockwell Automation miscella SCANport Adapter i Smart MCC B Specialty 1 0 EMG Vendor ic Rockwell Automation Allen Bi ic Rockwell Automation Dodge amp Rockwell Automation Electro ic Rockwell Automation Relianc M 4 gt MN Graph Spreadsheet Master Sk 4 P Ready Ble el Se Teee AEE I Hardware x 1761 NET DNI 1761 NET DNI E Series B Series B DeviceNet Int DeviceNet Int Onine Not Browsing You have completed the commissioning of your DNI modules with addresses 25 and 35 You can go offline and exit the RSNetworx for DeviceNet software Publication 1769 UM007B EN P February 2001 F 6 Communications on DeviceNet Initializing Messages Between the CompactLogix5320 Controllers on DeviceNet Now that the DNI modules are configured with unique DeviceNe
69. ded modem 1761 NET AIC If you use a modem to remotely connect the controller to one workstation use DF1 point to point full duplex protocol as in the previous example Master Slave Communication Methods Half duplex DF1 Protocol Half duplex master slave protocol is a SCADA protocol consisting of 1 master and up to 254 slaves Typically the master polls all of the slaves for data in a round robin fashion using RF modems leased line modems or any similar media Publication 1769 UM007B EN P February 2001 4 12 Communicating with Devices on a Serial Link A master station can communicate with a slave station in two ways Name This method Benefits standard initiates polling packets to slave stations This communication method is most often used for communication mode according to their position in the polling array s Polling packets are formed based on the contents of the normal poll array and the priority poll array point to multipoint configurations This method provides these capabilities e slave stations can send messages to the master station polled report by exception e slave stations can send messages to each other via the master slave to slave transfers e master maintains an active station array The poll array resides in a user designated data file You can configure the master e to send messages during its turn in the poll array or e for between station polls master transmits any mess
70. e F 6 is very similar to the Write message The difference is that for the Read message the Message Type is CIP Data Table Read the Source is data 25 and the Destination is a tag in the sending controller called DATA_FROM_NODE35 for this example The data25 tag located in the CompactLogix5320 controller connected to DNI node 35 is the data table tag location to which both messages in the CompactLogix5320 controller connected to DNI node 25 read and write data 6 Before saving the project we must be sure that the port parameters of the serial port match those of the DNI module s serial port The default RS 232 Full duplex DF1 port parameters for the DNI modules and the CompactLogix5320 controllers are identical except for the error checking method The DNI module uses the CRC check by default while the CompactLogix5320 controller s serial port defaults to BCC For this example we change this parameter in the CompactLogix5320 controller To accomplish this in each CompactLogix5320 controller project right click on the controller name the upper most parameter in the Controller Organizer and select properties Click on the System Protocol tab and select CRC for the Error Detection Verify that the DF1 Point to Point protocol has been selected Click on the Serial Port tab to verify that the following default parameters are configured for the serial port These parameters match the default parameters of the DNI
71. e into your system With the initial release of the CompactLogix5320 controller this screen only includes the Generic 1769 Module Click the OK button and the following default Generic Profile screen appears Module Properties Local 1769 MODULE 1 1 x Type 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly 7 Instance Size Name ff Apt a ft ein Description aj Output 104 p Z Configuration joz jo 4 16 bit Comm Format Input Data INT X Slot 1 Cancel Back Next gt Help This is the default Generic Profile screen First fill in a name for your module For this example OV16 is used for a 1769 OV16 module This helps to easily identify the module type configured on your local CompactBus The Description field is optional and may be used to provide more details concerning this I O module in your application Publication 1769 UM007B EN P February 2001 G 4 Configuring 1 0 with the 1769 Generic Profile Publication 1769 UM007B EN P February 2001 The next parameter is the Comm Format Click the down arrow for this parameter to reveal the choices For all 1769 analog output modules discrete output modules and discrete combination modules Data INT is used Input Data INT is used for all 1769 analog input and discrete input modules In this example we create a Generic Profile for the 1769 OV16 The Comm Format is Data INT Next
72. e the Programming Terminal Communication Driver oC Gad Rew a EON 4 9 Example 1 Workstation Directly Connected to a CompactLogix Controller o 2 s E40 Fo 404 oe pSPES as 4 10 Configuring a DF1 Point to Point Station 4 10 Example 2 Workstation Remotely Connected to a Compactlosne Comiolete y eyco nie a he Dace bok BLOG Cod 4 11 Master Slave Communication Methods 4 11 Configuring a DF1 Slave Station 4 13 Configuring a DF1 Master Station 25 x ci ccrwse ood 4 13 Example 3 CompactLogix Controller to a Bar Code Reader 4 15 Connect the ASCII Device to the Controller 4 16 Configuring User Modex sri x s bn Pag th eee ae 8 4 17 Programming ASCII Instructions 05 4 17 Communicating with Devices ona DH 485 Link CompactLogix System Specifications CompactLogix Troubleshooting Maintaining the Battery Execution Time Table of Contents iii Chapter 5 Usine TMs Chapters cause cu iE n ia ack ae E 5 1 Configuring Your System for a DH 485 Link 5 1 Step 1 Configure the Hardware 3 vq es ek Bee ees 5 2 Step 2 Configure the DH 485 Port of the Controller 5 3 Planning a DH 485 Network sais Sod 84 2 Bo Pb ba ee 5 4 DH 485 Token Rotation 0000005 5 4 Network Initialization yacg Sita hae 4 4 deh wea Se a 5 5 Number of Nodes and Node Addresses 5 5 Installing a DH 485 Network 0 00000000 5 6 Grounding and Ter
73. eld blue blue 3 Common white orange white with orange stripe 4 Data B orange with white stripe 5 Data A The table below shows wire terminal connections for Belden 9842 For this Wire Pair Connect this Wire To this Terminal shield drain non jacketed 2 Shield blue white white with blue stripe cut back no connection blue with white stripe 3 Common white orange white with orange stripe 4 Data B orange with white stripe 5 Data A 1 To prevent confusion when insta immediately after the insulation ling the communication cable cut back he white with blue stripe wire jacket is removed This wire is not used by DH 485 Grounding and Terminating a DH 485 Network Jumper Belden 9842 Cable 1219 m 4000 ft Maximum I SS Jumper a HA Jumper Boa nvo BR aD SSSSss Gy Publication 1769 UM007B EN P February 2001 5 8 Communicating with Devices on a DH 485 Link Example CompactLogix In the following example both a CompactLogix controller and a ControlLogix controller use 1761 NET AIC converter to connect to a Controller on a DH 485 DHAS neverk Network 6 W ANETA SHE Paneiview DH 485 ControlLogix PanelView 550 Ey 1761 NET AIC Personal Si Computer CompactLogix Publication 1769 UM007B
74. ent is suitable for use in Class I Division 2 Groups A B C D or non hazardous locations only The following WARNING statement applies to use in hazardous locations WARNING EXPLOSION HAZARD e Substitution of components may impair suitability for Class I Division 2 Do not replace components or disconnect equipment unless power has been switched off or the area is known to be non hazardous Do not connect or disconnect components unless power has been switched off or the area is known to be non hazardous This product must be installed in an enclosure All cables connected to the product must remain in the enclosure or be protected by conduit or other means e All wiring must comply with N E C article 501 4 b Creating and Downloading a Project of each step Create a Project go to page 1 6 1 Getting Started 1 5 The following diagram illustrates the steps you follow to create and download a project The remainder of this chapter provides examples System setup for this quick start Local slot 1 1769 IB16 T slot 2 1769 0B16 slot 3 1769 IF4 slot 4 1769 OF2 Configure 1 0 Modules 2 go to page 1 8 Configure the CompactBus go to page 1 13 3 Create Tags go to page 1 14 En
75. er fault messages that can occur during operation of the CompactLogix controller Each description includes the error code the probable cause and the recommended corrective action The Logix5000 Controllers Common Procedures Manual also contains procedures for monitoring faults and developing fault routines If you need to contact Rockwell Automation or local distributor for assistance it is helpful to obtain the following prior to calling e controller type series letter and revision letter of the unit e series letter revision letter and firmware FRN number of the controller as reported by the software e controller LED status e controller error codes Appendix C Maintaining the Battery Using this Appendix For information about See page Storing replacement batteries C 1 Estimating battery life C 1 Replacing batteries C 3 Storing Replacement Because a battery may leak potentially dangerous chemicals if stored Batteries improperly store batteries as follows ATTENTION Store batteries in a cool dry environment We recommend 25 C with 40 to 60 relative humidity You may store batteries for up to 30 days between 45 to 85 C such as during transportation To avoid possible leakage do not store batteries above 60 C for more than 30 days Estimating Battery Life When the battery is about 95 percent discharged the processor provides the following warnings On the front of the process
76. ery is correctly connected to the processor B If the BATTERY LED remains on install another 1747 BA battery C If the BATTERY LED remains on after you complete Step B contact your Rockwell Automation representative or local distributor 8 Download your user program 9 Dispose the old battery according to state and local regulations ATTENTION Do not incinerate or dispose lithium batteries in general trash collection They may explode or rupture violently Follow state and local regulations for disposal of these materials You are legally responsible for hazards created while your battery is being disposed Publication 1769 UM007B EN P February 2001 Appendix D Using This Appendix Estimate the Execution Time of a Ladder Instruction Execution Time Use this appendix to calculate the time required for the execution of an instruction Times are for the CompactLogix5320 controller 1769 L20 and RSLogix 5000 programming software version 7 0 To estimate the execution time of a See page ladder instruction D 1 function block routine D 12 Actual execution times may vary because of the configuration of your project and the version of RSLogix 5000 software that you are using IMPORTANT These execution times were measured with the CompactBus inhibited IMPORTANT To calculate the execution time of an instruction 1 Use Table D 2 on page D 3 to find the base time for an instruction
77. ghout this manual we use notes to make you aware of safety considerations ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attention statements help you to e identify a hazard e avoid a hazard e recognize the consequences IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley SLC 5 05 Compact and ControlLogix are trademarks of Rockwell Automation RSLogix 5000 RSLogix 500 RSNetworx and RSLinx are trademarks of Rockwell Software Preface Getting Started What Is CompactLogix Table of Contents Who Should Use This Manual onanan aaaea aaaea P 1 How to Use This Manual oaoa anaana P 1 Related Documentation o s aaa P 1 Conventions Used in This Manual anaana aaaea aaa P 2 Rockwell Automation Support oosa saasaa P 2 Local Product Support ooa aaaea P 2 Technical Product Assistance nonan aaaea P 3 Your Questions or Comments on the Manual P 3 Chapter 1 Tntrod cHon rined eii ki Co e E eab E he aei 1 1 Compliance to European Union Directives 1 3 EMG Directive sadatang parenie Goa a ete A 1 3 Low Voltage Directive 0 0 0 0 0000 eee eee 1 3 Safety Considerations 6c eke SG eee a ee ae 1 4 Hazardous Location Considerations 1 4 Creating and Downloading a Project 1
78. he controller If the controller was in Program mode cycle power in order to go to run successfully If the controller was in Run mode cycle power When the I O LED is on green steady and the OK LED is flashing red turn the keyswitch from Program to Run and back to Program When the OK LED turns on green steady turn the keyswitch to Run Publication 1769 UM007B EN P February 2001 Placing Configuring and Monitoring Local 1 0 3 3 System Power Budget Calculation and Considerations To validate your system the total 5V dc current and 24V dc current consumed must be considered 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 0A at 5V dc and 1 0A at 24V de Use the following worksheet as a general guide to account for the amount of 5V dc and 24V dc current consumed by each band of I O in your system Be sure to follow the I O configuration rules on page 3 1 when planning your system Catalog Number of Module Current Requirements Calculated Current Number Modules Number of Modules x Module Current Requirements at 5V dc in mA at 24V dc in mA at 5V de in mA at 24V dc in mA 1769 L20 600 0 1769 IA16 115 0 1769 IA8I 90 0 1769 IM12 100 0 1769 1016 115 0 1769 IO6XOW4 105 50 1769 0A8 145 0 1769 0B16 200 0 1769 OB16P 180 0 1769 0V16 200 0 1769 OW8
79. he amount of time you want the controller to wait for an acknowledgment to its message transmission Enter a value 0 to 32767 Limits are defined in 20 ms intervals The default is 50 1000 ms Embedded response Specifies how to enable embedded responses Select Autodetect enabled only after receiving one embedded response or Enabled The default is Autodetect Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled Publication 1769 UMO007B EN P February For information about communicating on DeviceNet with the 1761 NET DNI see Appendix F Communications on DeviceNet 2001 Example 2 Workstation Remotely Connected to a CompactLogix Controller Communicating with Devices on a Serial Link 4 11 In the following example a workstation remotely connects to a CompactLogix controller over a serial link A modem is connected to the controller to provide remote access isolator recommen
80. he task execution order for an application with periodic tasks and a continuous task Task Priority Level Task Type Example Execution Worst Case Time Completion Time 1 5 20 ms periodic task 2 ms 2 ms 2 7 dedicated 1 0 task 1 ms 3 ms 2 ms fixed 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 Task 4 0 5 10 15 20 25 30 35 40 45 50 55 60 65 Time ms Notes A The highest priority task interrupts all lower priority tasks B The dedicated I O task can be interrupted by tasks with priority levels 1 to 6 The dedicated I O task interrupts tasks with priority levels 8 to 15 This task runs at the fixed RPI rate scheduled for the CompactLogix system 2ms in this example C The continuous task runs at the lowest priority and is interrupted by all other tasks D 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 Publication 1769 UM007B EN P February 2001 2 6 What Is CompactLogix Direct Connections for 1 0 Modules Publication 1769 UM007B EN P February 2001 Defining Programs Each program contains program tags a main executable routine other routines and an optional fault routine Each task can schedule as many as 32 programs The scheduled programs within a task execute to completio
81. head Certain operations dynamically allocate and re allocate user available memory See the specifications for your controller and Appendix E Dynamic Memory Allocation in CompactLogix Controllers to estimate how much memory you have available for programming Publication 1769 UM007B EN P February 2001 Getting Started 1 21 What To Do Next Once your controller is installed and operating you can use RSLogix 5000 programming software to develop and test your control application Use the remaining chapters in this manual as reference material for how the CompactLogix controller operates in the Logix environment Publication 1769 UM007B EN P February 2001 1 22 Getting Started Publication 1769 UM007B EN P February 2001 Chapter 2 Using This Chapter 1761 NET AIC modules recommended for RS 232 port isolation What Is CompactLogix The CompactLogix controller part of the Logix family of controllers provides a small cost effective system built on these components e CompactLogix controller that supports the Logix instruction set RSLogix 5000 programming software that supports every Logix controller e Compact I O modules that provide a compact DIN rail or panel mounted I O system e Serial port that supports multiple communication protocols e Communication interface modules provide peer to peer communication over DH 485 DeviceNet or Ethernet DeviceNet and Ethernet support program upload downloa
82. iables limit the connections for each path Therefore if you have a limit of 5 connections it is possible to have 10 connections with 5 for each path Maximum Messaging Connections per PLC This variable is configured in RSLinx under the Communications menu item Configure CIP Options This number limits the number of read connections made to Logix controllers from the particular workstation Publication 1769 UM007B EN P February 2001 E 4 Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM007B EN P February 2001 Checking Use Connections for Writes to ControlLogix Processor This variable is configured in RSLinx under the Communications menu item Configure CIP Options This check box indicates if you want RSLinx to open up additional connections for writing data to a Logix controller NOTE There is no way to limit the number of write connections once this box is checked Number of Connections Needed to Optimize Throughput RSLinx only opens the number of connections required to optimize throughput For example if you have 1 tag on scan but have configured RSLinx to allow five connections as the maximum number of connections RSLinx 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 five that is the maximum number of connections that RSLinx establishes to the CompactLogix controller
83. ialize the network Publication 1769 UM007B EN P February 2001 5 6 Communicating with Devices on a DH 485 Link Installing a DH 485 Network Publication 1769 UM007B EN P February 2001 A DH 485 network consists of a number of cable segments daisy chained together The total length of the cable segments cannot exceed 1219 m 4000 ft Mihaela vse shielded twisted pair cable either Belden 3106A or Belden 9842 A daisy chained network is recommended M M NG A 2 When cutting cable segments make them long enough to route them from one link coupler to the next with sufficient slack to prevent strain on the connector Allow enough extra cable to prevent chafing and kinking in the cable Single Cable Connection Orange with white stri White with orange stipes 6 Termination Belden 3106A or 9842 ee 4 5 A E 4 B 3 Common eee 2 Shield 1 Shrink tubing recommended Chassis Ground Blue 3106A or drain wire Blue with white stripes 9842 Multiple Cable Connection to previous device to successive device a AL N wo fF 0 0o JA NIAS Communicating with Devices on a DH 485 Link 5 7 The table below shows wire terminal connections for Belden 3106A For this Wire Pair Connect this Wire To this Terminal shield drain non jacketed 2 Shi
84. ing software to configure the serial port of the controller IMPORTANT o x length of serial RS 232 cables to 15 2m Step 1 Configure the Hardware The RS 232 port is a non isolated serial port built in to the front of the CompactLogix controller 1 Determine whether you need an isolator If you connect the 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 port 2 mini DIN 8 RS 232 A 600 19200 1200 2 14400 2400 9600 4800 801 f Ots PWO y C SOURI ABLE O Di CE Gi Lg lt q dc power source selector switch e000 0000 EXTERNAL O lt 4 terminals for external 24V dc power supply Publication 1769 UM007B EN P February 2001 4 4 Communicating with Devices on a Serial Link 2 Select the appropriate cable If you are using an isolator Use this cable yes The 1761 CBL APOO cable right angle bend 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 8 pin mini DIN connector is not commercially av
85. ization creates three items which allocate memory a trend object a trend driver and a connection Item Description Memory Allocated Trend Object Created in the controller to group the 80 bytes requested tags Trend Driver Created to communicate to the trend object 36 bytes single point some economy for multiple points in a driver Connection Created between the controller and RSLinx 1200 bytes EXAMPLE To monitor 100 points 100 points x 36 bytes 3600 bytes Trend Driver 3600 Trend Driver 80 Trend Object 1200 Connection approximately 4000 bytes 1 In general we estimate that one tag takes about 40 bytes of memory Publication 1769 UM007B EN P February 2001 Trends DDE OPC Topics Dynamic Memory Allocation in CompactLogix Controllers E 3 Each trend created in a controller creates a trend object and allocates a buffer for logging as shown below Item Memory Allocated Trend Object 80 bytes Log Buffer 4000 bytes A DDE OPC Topic uses connections based on the following three variables e the number of Maximum Messaging Connections per PLC configured in RSLinx e whether the Use Connections for Writes to ControlLogix processor is checked e the number of connections needed to optimize throughput IMPORTANT These variables are per path For example if you set up two different DDE OPC topics with different paths to the same controller the var
86. je 16 bit Comm Format input Data INT z Slot Click OK Status Offline Cancel Help The parameters that appear on this General tab depend on the type of module IMPORTANT If you want to change the Comm Format of a module you must first delete the module and then re add it using the communication format you want For information and application examples on generic profiles see Appendix G Configuring I O with the 1769 Generic Profile Publication 1769 UM007B EN P February 2001 Getting Started 1 11 3 View the Connections tab E Module Properties Local 1 1769 MODULE 1 1 x General Connection Requested Packet Interval RPI pos ms 2 0 2 0 ms Using this screen you can inhibit or uninhibit each module T Inhibit Module You can also configure modules to generate a major I Major Fault On Controller If Connection Fails While in Run Mode fault in the controller if they lose their connection to the Module Fault controller See Configuring the Modules Response to a Connection Failure on page 3 11 and Inhibiting 1 0 Module Operation on page 3 9 for more information on these functions Status Offline Cancel Appi Help Publication 1769 UM007B EN P February 2001 1 12 Getting Started Viewing 1 0 Tags 1 View the tags for the controller RSLogix 5000 quickstart 1769 L20 Place the cursor on the Controller Tags folder and double click
87. k allowing programming and peer to peer messaging Publication 1769 UMO007B EN P February 2001 Communicating with Devices ona Serial Link 4 9 Step 3 Configure the Programming Terminal Communication Driver Use RSLinx software to configure the serial communication driver Select the DF1 driver 1 In RSLinx software select Communication Configure Driver From the Available Driver Types list select RS 232 DF1 Devices Click Add New Qy Rockwell Software RSLinx Lite RSWho 1 a File View Sene Station Security Window Help pace ee ETN Close a Add New El S 5 RSWho Help Configure Drivers z Configured Drivers r Configure Drivers figured Drivers Configure Shortcuts Name and Description Status 3 wr Configure Client Applications Conigus H n Configure CIP Options E 3 z ink Gateways Eem Driver Diagnostics Ethernet Start CIP Diagnostics 2 Specify a name for the driver Add New RSLinx Driver Eq Choose a name for the new driver 15 characters maximum Cancel AB_DF1 1 Een 3 Specify the appropriate communication settings Select the Logix5550 serial port as the Device and specify the COM port Click Autoconfigure to have the software determine the remaining serial settings Configure RS 232 DF1 Devices Device Name AB_DF1 1 5550 5 Comm Port CO0M1 z Device ETMS Serial Port
88. l Automation for technical assistance please review the information in Appendix B CompactLogix Troubleshooting first Then call your local Rockwell Automation representative Your Questions or Comments on the Manual If you find a problem with this manual please notify us If you have any suggestions for how this manual could be made more useful to you please contact us at the address below Rockwell Automation Automation Control and Information Group Technical Communication Dept A602V P O Box 2086 Milwaukee WI 53201 2086 3 Publication 1769 UM007B EN P February 2001 Preface 4 Publication 1769 UM007B EN P February 2001 Chapter 1 Getting Started Introduction This chapter introduces the CompactLogix controller and provides a quick overview on creating and downloading a project The steps in this chapter introduce the basic aspects of the CompactLogix controller The CompactLogix controller offers state of art control and I O modules in a small cost effective package SLC 5 03 1761 NET AIC i PanelView 550 T PanelView a a 1761 NET AIC js 3 MicroLogix 1200 MicroLogix CompactLogix 1500 SLC 5 03 SLC 5 03 iai LAJ 1761 NET DNI 1761 NET ENI
89. lared undeliverable Enter a value 0 to 127 The default is 3 ACK timeout Specifies the amount of time you want the controller to wait for an acknowledgment to its message transmission Enter a value 0 to 32767 Limits are defined in 20ms intervals The default is 50 1000 ms Reply message wait Message based polling mode only Specifies the amount of time the master station waits after receiving an ACK to a master initiated message before polling the slave station for a reply Enter a value 0 to 65535 Limits are defined in 20ms intervals The default is 5 100 ms Polling mode Select one of these e Message Based slave cannot initiate messages e Message Based slave can initiate messages default e Standard multiple message transfer per node scan e Standard single message transfer per node scan Master transmit Standard polling modes only Select when the master station sends messages e between station polls default e in polling sequence Publication 1769 UM007B EN P February 2001 4 14 Communicating with Devices on a Serial Link This field Normal poll node tag Description Standard polling modes only An integer tag array that contains the station addresses of the slave stations Create a single dimension array of data type INT that is large enough to hold all the normal station addresses The minimum size is three elements This tag must be controller scoped The format is list 0
90. len Bradley Parent Controller Name Local Slot F 3 Description Chassis Size 3 i fe Comm Format None z Revision fr fi 4 Status Offline Cancel NOTE The Comm Format for the CompactBus is automatically set to None and cannot be changed because the controller uses direct connections to each I O module Publication 1769 UM007B EN P February 2001 3 6 Placing Configuring and Monitoring Local 1 0 Publication 1769 UM007B EN P February 2001 Inhibiting the CompactBus Using the Connection tab you can choose to inhibit or uninhibit the CompactBus NOTE By inhibiting and then uninhibiting the CompactBus you can write new configuration data to all modules in the system at once E Module Properties Controller 3 CompactBus 7 1 x General Connection Module Info Requested Packet Interval RPI ms 2 0 750 0 ms M Major Fault Gn Controller If Connection Fails While in Run Mode Module Fault Cancel Apply Help Status Offline IMPORTANT The controller s response to a CompactBus connection failure is fixed to always fault the controller It is not configurable Placing Configuring and Monitoring Local 1 0 3 7 Configuring Local 1 0 Use your programming software to configure the I O modules for the Modul controller All the I O modules on the CompactBus operate at a fixed oaules RPI of 2 ms To configure an I O module right click on
91. minating a DH 485 Network 5 7 Example CompactLogix Controller on a DH 485 Network 5 8 Appendix A Using This Appendix 42s each Ges eeetucs ty eee Sas A 1 CompactLogix Controller faces aati Sh Cwe a A 1 1747 BA B ttery sese Seige joven Rp o a don RA hee ek tH A 2 DIMENSIONS ing ows a e Date go Bea DES Poe wok Pac ee ee ws A 3 CompactLogix Modular Controller A 3 CompactLogix System 00 0000 eee eee A 3 Compact I O Expansion Power Supply and End Caps A 4 Appendix B Using This Appendix 5 4 59 4s alot eee gk a eqns hap Peet B 1 CompactLogix Controller LEDS Gey Rats Bese Eee ey B 1 Identifying Controller Faults 00 0000 00005 B 2 Calling Rockwell Automation for Assistance B 2 Appendix C Using this Appendix 6 500564 5 54 5o45 Hs be eee ea ESS C 1 Storing Replacement Bateriesiai 6 63 2 ow wh aes toe de Gas C 1 Estimating Battery Life pata joa bated Seg ee gate ae te eee C 1 Replacing a Battery n n feck Gm OED Pod ew C 3 Appendix D Using This Appendix ca dail asig 24 0 eb hea eye Be kh D 1 Estimate the Execution Time of a Ladder Instruction D 1 Reference Tablesi mri eka Ge peed Bebe ot en be a Blanes D 3 Estimate Execution Time of a Function Block Routine D 12 Publication 1769 UM007B EN P February 2001 Table of Contents iv Dynamic Memory Allocation in CompactLogix Controllers Communications on DeviceNet Configuring 1 0 with the 1769
92. ms system overhead E E B B B 4 ms 4 ms 4 ms 4 ms 4 ms 5 10 15 20 25 elapsed time ms Publication 1769 UM007B EN P February 2001 What Is CompactLogix 2 9 If you increase the time slice to 50 the system overhead interrupts the continuous task every 1 ms of continuous task time 1 ms system overhead i a i fa ia ia les i i le I i E 1 ms continuous task A A g A H B E H E E E B E 5 10 15 20 a elapsed time ms If the controller only contains a periodic task s the system overhead timeslice value has no effect System overhead runs whenever a periodic task is not running periodic task EEJ B 5 10 15 20 25 continuous task elapsed time ms Publication 1769 UM007B EN P February 2001 2 10 What Is CompactLogix Publication 1769 UM007B EN P February 2001 Chapter 3 Placing Configuring and Monitoring Local 1 0 Using This Chapter For information about See page Placing local 1 0 modules 3 1 Determining when the controller updates local 1 0 3 4 Configuring a DIN rail 3 4 Configuring local 1 0 modules 3 7 Inhibiting 1 0 module operation 3 9 Accessing I O data 3 12 Monitoring I O modules 3 14 Placing Local 1 0 Modules 1 0 Configuration Rules The CompactLogix controller supports as many as 8 local I O modules on the CompactBus
93. municating with Devices on a DH 485 Link Step 1 Configure the Hardware The RS 232 port is a non isolated serial port built in to the front of the CompactLogix controller The RS 232 port supports the requirements you need for the DH 485 network connection Connect the controller to an RS 232 to RS 485 isolator One possible isolator is the 1761 NET AIC interface converter port 2 mini DIN 8 RS 232 RS 485 port Oo port 1 DB 9 RS 232 DTE aa dc power source selector switch oO am G lt q terminals for external 24V dc power supply Connect the serial port of the CompactLogix controller to either port 1 or port 2 of the 1761 NET AIC converter 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 If you connect to this port Use this cable port 1 1747 CP3 DB 9 RS 232 DTE connection or 1761 CBL ACO0 port 2 1761 CBL APOO mini DIN 8 RS 232 connection or 1761 CBL PM02 Communicating with Devices on a DH 485 Link 5 3 Step 2 Configure the DH 485 Port of the Controller 1 In RSLogix 5000 software select Edit Controller Properties On the System Protocol tab select DH 485 o RSLogix 5000 quickstart 1769 L20 j i j
94. n from first to last Programs that aren t attached to any task show up as unscheduled programs You must specify schedule a program within a task before the controller can scan the program Defining 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 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 The CompactLogix system uses direct connections to transmit I O data Each local I O module utilizes a direct connection to the CompactLogix controller 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 causes the controller to set fault status bits in the input data area associated with the module CompactLogix does not support Removal and Insertion Under Power RIUP
95. ng foot It is important that you understand the workstation s grounding system before connecting it to the controller An isolator is recommended between the controller and the workstation Publication 1769 UM007B EN P February 2001 4 6 Communicating with Devices on a Serial Link Step 2 Configure the Serial Port of the Controller 1 In RSLogix 5000 software select Edit Controller Properties 2 On the Serial Port tab specify the proper mode and the appropriate serial communication settings So RSLogix 5000 quickstart 1769 L20 File EE view Search Logic Communice GHZ Bikey Ctrl Ctrl C hl Fy Del Fis Alt Enter 5 o Controller Properties quickstart ioj x Gea MainTask Major Faults Minor Faults Date and Time Advanced File General Serial Port System Protocol User Protocol Mode Show Wine viele Baud Rate 19200 Data Bits fe xl Parity None Stop Bits ho H Control Line No Handshake I Continuous Carrier BTS Send Delay 0 20 ms RTS Off Dely 0 x20ms 3 On the System Protocol tab select DH 485 or the appropriate DF1 communication mode for point to point or master slave communications Or on the User Protocol tab select ASCII to communicate with an ASCII device Publication 1769 UM007B EN P February 2001 Communicating with Devices on a Serial Link 4 7 Specifying Serial Port Characteristics Specify these characteristi
96. ning Tasks A task provides scheduling and priority information for a set of one or more programs You can configure tasks as either continuous or periodic The CompactLogix controller supports as many as 4 tasks only one of which can be continuous A task can have as many as 32 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 order in which they are grouped Programs can only appear once in the Controller Organizer and cannot be shared by multiple tasks Specifying 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 7 to process I O data This periodic task executes every 2 ms Its total execution time is as long as it takes to scan the configured I O modules A typical I O scan of eight discrete I O modules for a CompactLogix5320 controller is approximately 400 us Publication 1769 UM007B EN P February 2001 2 4 What Is CompactLogix Publication 1769 UM007
97. ntroller connected to the 1761 NET DNI with DeviceNet node address 35 MSG_NOD35R DN MSG 0 Type CIP Data Table Write END SFS Message Control MSG_NOD35W EA K CDND gt CER gt Initiate Read Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 35 MSG_NOD35W DN MSG 1 Type CIP Data Table Read EN Message Control MSG_NOD35R MA K CDN CER gt End Publication 1769 UM007B EN P February 2001 Communications on DeviceNet F 7 3 The Configuration Tab for the MSG Write Instruction to write fifty 16 bit signed integer data words to the other controller looks like the following Message Configuration 4SG_NOD35W x Configuration Communication Tag Message Type CIP Data Table Write Source Tag DATA_T O_NODE35 0 New Tag Number Of Elements 50 Destination Element data25 O Enable Enable Waiting 2 Start Done Done Length 50 O Error Code l Timed Out Extended Error Code Cancel Help A CIP Data Table Write Message Type was used and a 50 integer array tag was created to store the data to write to the other CompactLogix5320 controller In the controller connected to the DNI node 25 the source tag name for the above Message Instruction is DATA_TO_NODE35 This indicates that this data is to be sent to the controller connected to DNI node 35 The Destination Element used in this example is a tag name in the CompactLogix5
98. number of times the remote station retries a message after the first attempt before the station declares the message undeliverable Enter a value 0 to 127 The default is 3 Slave poll timeout Specifies the amount of time the slave station waits to be polled by a master before indicating a fault Enter a value 0 to 32767 Limits are defined in 20 ms intervals The default is 3000 60 000 ms EOT suppression Select whether or not to suppress sending EOT packets in response to a poll The default is not to suppress sending EOT packets Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled detection Configuring a DF1 Master Station This field Description Station address The station address for the serial port on the DF1 master Enter a valid DF1 address 0 to 254 Address 255 is reserved for broadcast messages The default is 0 Transmit retries Specifies the number of times a message is retried after the first attempt before being dec
99. o the DNI modules Each device on the network must have a unique node address The DNI then routes DF1 messages from each CompactLogix5320 controller to the other CompactLogix5320 controller via DeviceNet and the other DNI module In this example after commissioning the DNI modules on the DeviceNet network we use peer to peer messages to send data between CompactLogix5320 controllers Communications on DeviceNet F 3 For a complete description of 1769 NET DNI features and functionality refer to the DeviceNet Interface User Manual publication 1761 6 5 1 Start RSNetworx for DeviceNet by double clicking its icon Then connect one of your 1761 NET DNI modules to the DeviceNet network with your PC running RSNetworx for DeviceNet When power is first applied to a DNI it powers up at node 63 In RSNetworx click on the online icon or click on the Network pull down menu and select Online The following screen appears a Sh SNeW on a E E File Edit View Network Device Tools Help E else ule y Se e a alk ENA Hardware xj 1761 NET DNI F S DeviceNet Series B EMG Category DeviceNet Int HH AC Drive KA 6 Barcode Scanner os 6 Communication Adapter Eal E DeviceNet to SCANport 63 Dodge EZLINK General Purpose Discrete 1 0 Generic Device Human Machine Interface Inductive Proximity Switch Limit Switch Motor Protector Photoelectric Sensor Rockwell Automation miscellat H SCANport
100. odule it defaults to being not inhibited You can change an individual module s properties to inhibit a module ATTENTION Inhibiting a module closes the connection to the module and prevents communication of I O data On the Connection tab of the Module Properties dialog you can select to inhibit that specific module E Module Properties Local 2 1769 MODULE 1 1 x General Connection Requested Packet Interval RPI 20 ms 2 0 2 0 ms T Inhibit Module I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Status Offline Cancel AppY Help To easily inhibit all local I O modules you can inhibit the CompactBus which in turns inhibits all the modules on that bus See Configuring the CompactBus on page 3 4 Publication 1769 UM007B EN P February 2001 3 10 Placing Configuring and Monitoring Local 1 0 When you select to inhibit a module the controller organizer displays a yellow attention symbol A over the module If you are Inhibit a module to offline put a place holder for a module you are configuring The inhibit status is stored in the project When you download the project the module is still inhibited online stop communication to a module If you inhibit a module while you are connected to the module the connection to the module is closed The modules outputs go to the last configured state for your program mode selections Hold Last Sta
101. or the BATTERY LED turns on solid red e A minor fault occurs type 10 code 10 Publication 1769 UM007B EN P February 2001 C 2 Maintaining the Battery To estimate how long the battery will support the memory of the processor 1 Determine the temperature C 1 inch below the CompactLogix processor 2 Determine the percentage of time that the processor is powered off per week EXAMPLE If a processor is off e 8 hr day during a 5 day work week e all day Saturday and Sunday Then the processor is off 52 of the time 1 total hours per week 7 x 24 168 hours 2 total off hours per week 5 days x 8 hrs day Saturday Sunday 88 hours 3 percentage off time 88 108 52 Use the off time percentage you calculated with the following table to determine battery life Worst case battery life estimate Temperature Power off 100 Battery duration after the LED turns on 60 C 12 months 9 days 25 C 18 months 14 days 1 The battery indicator BATTERY warns you when the battery is low These durations are the amounts of time the battery will retain processor memory from the time the processor is powered down after the LED first turns on MAg lf the BATTERY LED turns on when you apply power to the processor the battery life may be less than the table above indicates Some of the warning time may have been used while the processor was off and unable to turn on the BATTERY LED
102. or the ASCII protocol You specify these settings on the User Protocol tab under Controller Properties Publication 1769 UM007B EN P February 2001 This field Buffer size Communicating with Devices on a Serial Link 4 17 Configuring User Mode Description Specify the maximum size in bytes of the data array you plan to send and receive The default is 82 bytes Termination characters Specify the characters you will use to designate the end of a line The default characters are r and F Append characters Specify the characters you will append to the end of a line The default characters are r and gi XON XOFF Select whether or not to regulate the flow of incoming data The default is disabled Echo mode Select whether or not to echo data back to the device from which it was sent The default is disabled Delete mode Select Ignore CTR or Printer for the delete mode The default is Ignore 1 IEC 1131 3 representation for carriage return and line feed Programming ASCII Instructions The controller supports ASCII instructions to communicate with ASCII devices Your RSLogix5000 programming software CDROM includes programming examples using ASCII instructions For information about using these examples see the Logix5000 Controllers General Instruction Set Reference Manual publication 1756 RM001C EN P Publication 1769 UM007B EN P February 2001 4 18 Communicating with Devi
103. ould enter a name je Name 1816 Input 101 1 6b m Enter Input Image Size Describe the module optional js Description Output E p Configuration 102 jp asti Enter Configuration Select the communication format Comm Format inputData INT Image Size Specify slot number p Slot 1 Click Next Cancel pac Next gt Help NOTE The above example shows the settings for 1769 IB16 in slot 1 The accessible fields change depending upon the type of module and the Comm Format chosen Discrete input modules are not configurable For additional information comm format assembly instances and sizes and 1769 generic module application examples see Appendix G Configuring VO with the 1769 Generic Profile 4 Show Next screen Requested Packet Interval RPI pos ms 2 0 2 0ms Using this screen you can inhibit or uninhibit each module g Inhibit Module You can also configure modules to generate a major Major Fault On Controller If Connection Fails while in Run Mode fault in the controller if they lose their connection to the odie Fad controller See Configuring the Module s Response to a Connection Failure on page 3 11 and Inhibiting 1 0 Module Operation on page 3 9 for more information on these a functions Click Next Next Finish gt gt Help Click Finish 5 Repeat steps 1 through 4 for each 1 0 module in your system If you are using hold last state or user defined safe state data for
104. put_mod_mode 0 Placing Configuring and Monitoring Local 1 0 3 11 Configuring the Module s Response to a Connection Failure Using the Connection tab in the ControlLogix and FlexLogix systems you can also configure modules to generate a major fault in the controller if they lose their connection with the controller This feature however is not available in a CompactLogix system because the controller s response to a CompactBus connection failure is fixed to always fault the controller The CompactBus setting supersedes the individual module s setting See Inhibiting the CompactBus on page 3 6 IMPORTANT Although you can select and de select the Major Fault On Controller If Connection Fails While in Run Mode option this will have no effect on controller operation The controller s response to a connection failure of any I O module is fixed to always fault the controller E Module Properties Local 2 1769 MODULE 1 1 x General Connection Requested Packet Interval RPI 204 ms 2 0 2 0 ms T Inhibit Module T Major Fault On Controller If Connection Fails While in Run Mode Module Fault Status Offline Cancel oly Help Publication 1769 UM007B EN P February 2001 3 12 Placing Configuring and Monitoring Local 1 0 Accessing 1 0 Data Publication 1769 UM007B EN P February 2001 The programming software displays I O data as structures of multiple tags that depend on the
105. r Code serial port differently than in the previous examples Configure the Reader serial port for User mode rather than the system mode pi J EE E isolator recommended Publication 1769 UM007B EN P February 2001 4 16 Communicating with Devices on a Serial Link Connect the ASCII Device to the Controller To connect the ASCII device to the serial port of the controller 1 For the serial port of the ASCII device determine which pins send signals and which pins receive signals 2 Connect the sending pins to the corresponding receiving pins and attach jumpers If the communications Then wire the connectors as follows hardware handshaking is enabled ASC Device controller 1CD 1 CD 2 RDX 2 RDX 3TDX lt 3 TDX 4DTR R 4 DTR COMMON COMMON 6 DSR 6 DSR 7RIS 7 RTS 8 CTS 8 CTS 9 9 42231 disabled ASCII Device controller 1 CD 1 CD 2 RDX 2 RDX 3 TDX lt 3TDX __ 4DTR 4 DTR COMMON COMMON __ 6DSR 6DSR 7RTS 7 RTS 8 CTS 8cTS 9 g 42232 3 Attach the cable shield to both connectors and tie the cable to both connectors 4 Connect the cable to the controller and the ASCII device The following table lists the default serial port configuration settings f
106. rective This product is tested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC and the following standards in whole or in part documented in a technical construction file e EN 50081 2 EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2 EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Low Voltage Directive This product is tested to meet Council Directive 73 23 EEC Low Voltage by applying the safety requirements of EN 61131 2 Programmable Controllers Part 2 Equipment Requirements and Tests For specific information required by EN 61131 2 see the appropriate sections in this publication as well as the following Allen Bradley publications e Industrial Automation Wiring and Grounding Guidelines for Noise Immunity publication 1770 4 1 e Guidelines for Handling Lithium Batteries publication AG 5 4 Automation Systems Catalog publication B113 Publication 1769 UM007B EN P February 2001 1 4 Getting Started Safety Considerations Publication 1769 UM007B EN P February 2001 Safety considerations are an important element of proper system installation Actively thinking about the safety of yourself and others as well as the condition of your equipment is of primary importance We recommend reviewing the following safety considerations Hazardous Location Considerations This equipm
107. rhead functions for up to 1 ms at a time If the controller completes the overhead functions in less than 1 ms it resumes the continuous task If communications are not completing fast enough increase the system overhead percentage As you increase the system overhead percentage the overall program scan also increases The following table shows the ratio between the continuous task and the system overhead functions At this time slice The continuous tasks runs And then overhead occurs for for up to 10 9 ms 1ms 20 4 ms 1ms 33 2 ms 1ms 50 1 ms 1ms Publication 1769 UM007B EN P February 2001 2 8 What Is CompactLogix At the default time slice of 10 system overhead interrupts the continuous task every 9 ms of continuous task time as illustrated below Legend EER Task executes Task is interrupted suspended periodic 1 ms 1 ms system overhead ia A 9 ms 9 ms 0 5 10 15 20 25 elapsed time ms The interruption of a periodic task increases the elapsed time clock time between the execution of system overhead as shown below 1 ms 1 ms 1 ms 1 ms 1ms periodic task ia a E a E 1 ms 1ms system overhead E B 9 ms of continuous task time 9 ms of continuous task time cotnuoustesk M rr ee ee 0 5 10 15 20 25 elapsed time ms If you increase the time slice to 20 the system overhead interrupts the continuous task every 4 ms of continuous task time 1ms 1ms 1ms 1ms 1
108. rollers Allen Bradley Programmable Controller Grounding and Wiring Guidelines 1770 4 1 Publication 1769 UM007B EN P February 2001 Preface 2 If you would like a manual you can e download a free electronic version from the internet at www theautomationbookstore com purchase a printed manual by contacting your local distributor or Rockwell Automation representative visiting www theautomationbookstore com and placing your order calling 1 800 963 9548 USA Canada or 001 330 725 1574 Outside USA Canada Conventions Used in This The following conventions are used throughout this manual Manual e Bulleted lists dike this one provide information not procedural steps e Numbered lists provide sequential steps or hierarchical information Italic type is used for emphasis Rockwell Automation Rockwell Automation offers support services worldwide with over Support 75 Sales Support Offices 512 authorized distributors and 260 pp authorized Systems Integrators located throughout the United States alone plus Rockwell Automation representatives in every major country in the world Local Product Support Contact your local Rockwell Automation representative for e sales and order support e product technical training e warranty support e support service agreement Publication 1769 UM007B EN P February 2001 Preface Technical Product Assistance If you need to contact Rockwel
109. rs General Instruction Set Reference Manual publication number 1756 RM003C EN P for information on the CPS instruction When you create a CompactLogix project the programming software automatically creates the local CompactBus You must configure the CompactBus To access the CompactBus properties screens select the local CompactBus from the Controller Organizer Right click and select Properties So RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communication alsa a lej lT Ottine z No Forces No Edits z Forces Disabled z _Path AB_DF1 1 _ B E Controller quickstart A Controller Tags E Controller Fault Handler Ca Power Up Handler Ej Tasks a MainTask 2 MainProgram A Program Tags E MainRoutine CI Unscheduled Programs CI Trends 6 Data Types Of User Defined E oa Predefined H E Module Defined lt 9 140 Configuration o 1 1765 New Module BRS 0 ff 311765 B 176 oe Cross Reference Pitt Properties Placing Configuring and Monitoring Local 1 0 3 5 Specifying General Properties On the General tab specify the size of the Chassis Enter the number of modules you plan to install Include the CompactLogix5320 controller in this total along with a maximum of 8 I O modules E Module Properties Controller 3 CompactBus 7 1 x General Connection Module Info Type CompactBus 1769 Virtual Backplane Adapter Vendor Al
110. s S Forces Disabled flags Path AB_DFI Jc si sl eis Fez Fes be Fe gt Uy Fovorites BRA maa A psj controller organizer B 5 contoterFaut Hander E Power Up Handler B Tasks BA MainTask 5 88 MainProgram Program Tags MainRoutine E Unscheduled Programs G Trends B 68 Data Types Gi User Defined ii Predefined Eh Module Defined SJ 10 Configuration 5 8 0 CompactBus Local Publication 1769 UM007B EN P February 2001 Getting Started 1 7 Changing Project Properties 1 View properties for Controller quickstart File Edit View Search Logic Communica alela 2 seje of ote x Ino Forces l No Edits x Forces Disabled J Path AB_DF1 1 38 a Controller Ta Verify oa Controller Fa ping C Power Up H B Tasks Properties Ei fal MainT ask A Place the cursor over the Controller quickstart folder __ B Click the right mouse button and select Properties 2 View the General tab The screen defaults to the General tab o Controller Properties quickstart ioj x Maior Faults Minor Faults Date and Time Advanced File General SerialPort System Protocol User Protocol Vendor Allen Bradley Verify that the controller settings are i Type 1769 L20 CompactLogix 5320 Controller correct Make changes if necessary Name meem Description This is a sample CompactLogix control system
111. scription RUN Off no task s running controller in Program mode Green one or more tasks are running controller is in the Run mode FORCE Off no forces enabled Amber forces enabled Amber Flashing one or more input or output addresses have been forced to an On or Off state but the forces have not been enabled BAT Off battery supports memory Red battery may not support memory replace battery OK Off no power applied Green controller OK Red flashing recoverable controller fault Red non recoverable controller fault e clear faults e clear memory e replace the controller 0 orl no activity no I O or communications configured Green communicating to all devices Green flashing one or more devices not responding Red flashing not communicating to any devices controller faulted DCHO Off user configured communications active Green default communications active Channel 0 Off no activity Green flickering data is being received or transmitted 1 If the controller does not contain an application controller memory is empty the 1 0 indicator will be off Publication 1769 UM007B EN P February 2001 B 2 CompactLogix Troubleshooting Identifying Controller Faults Calling Rockwell Automation for Assistance Publication 1769 UM007B EN P February 2001 Refer to the Logix5000 Controllers Common Procedures Manual publication number 1756 PM001B EN for a list of controll
112. sion array 1 5 two dimension array 25 5 three dimension array 30 3 Publication 1769 UM007B EN P February 2001 D 12 Execution Time Estimate Execution Time of a Function Block Routine 42609 1 For each function block instruction add the time from Table D 6 on page D 13 2 For each IREF and OREF add the following time Skip any immediate values For an With a data type of Add us IREF BOOL 0 60 DINT 0 66 REAL 1 05 OREF BOOL 0 17 DINT 0 17 REAL 0 17 3 For each wire add the following time If the wire connects a Add us BOOL to BOOL 0 43 DINT to DINT 0 48 DINT to REAL 9 54 REAL to DINT 14 08 REAL to REAL 0 88 Publication 1769 UM007B EN P February 2001 Execution Time D 13 EXAMPLE Estimate the execution time of a function block routine 8 98 us for DINT to REAL wire 12 Us for ADD block 20 Us for DIV block 0 62 us for DINT IREF 0 83 Us for REAL to REAL wire 0 83 Ls for REAL to REAL 1 Us for REAL IREF wire For each function block instruction add the following time Table D 6 Execution Times for Function Block Instructions Instruction Time us Notes ABS ha ACS 290 ADD 12 ALM 98 AND 1 ASN 280 ATN 239 BAND 10 BNOT 9 BOR 12 BTDT 14 BXOR 10 COS 237 CTUD 16 D2SD 75 D3SD 91 DEDT 102 DEG 21 Publication 1769 UM007B EN P February 2001 D
113. sis Size E Comm Format None Revision a fi 4 1 1765 New Module 8 2 17 c a f 3 176 Gut Be Cross Reference Status Offline Cancel Apply Help Specify the size of the chassis Enter the number of modules you plan to install Include the CompactLogix5320 controller in this total Patt Properties 3 View the Connection tab E Module Properties Controller 3 CompactBus 7 1 x General Connection Module Info Requested Packet Interval RPI m 2 0 750 0 ms You can inhibit and uninhibit the CompactBus By inhibiting and uninhibiting the CompactBus you can write new configuration data to the entire system at once M Major Fault On Controller If Connection Fails While in Run Mode Module Fault The controller s response to a CompactBus connection failure is fixed to always fault the controller It is not configurable Status Offline Cancel Apply Help Publication 1769 UM007B EN P February 2001 1 14 Getting Started Creating Other Tags 1 Click on Edit tags to create a tag Controller Tags quickstart controller 4 Create Tags aicksartcontalel Show Sova CE Jo oo TIMER cl A m i E m T m m m E E E 2 Select the data type SCALE SEC_ORDER_CONTROLLER SELECT SELECT_ENHANCED SELECTABLE_NEGATE SELECTED_SUMMER SENIAL PORT_CONTROL SPLIT RANGE Selec
114. specific features of the I O module The names of the data structures are based on the location of the I O module The programming software automatically creates the necessary structures and tags when you configure the module Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where This address variable Is Location Identifies network location LOCAL local chassis SlotNumber Slot number of 1 0 module in its chassis Type Type of data input O output C configuration MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an 1 0 module Data is the common name for values the are sent to or received from 1 0 points SubMemberName Specific data related to a MemberName Bit optional Specific point on the 1 0 module depends on the size of the 1 0 module 0 31 for a 32 point module Placing Configuring and Monitoring Local 1 0 3 13 The following examples show addresses for data in a CompactLogix system EXAMPLE 1 O module on the local CompactBus utilizing two banks
115. t node addresses we can connect the two CompactLogix5320 controllers to them and develop a short ladder program to read and write data between them with MSG Instructions 1 Connect the serial channel of each CompactLogix5320 controller to the round mini din channel on each respective DNI module with a 1761 CBL PMO2 series B RS 232 cable Assuming that the DNI modules are connected together on the DeviceNet network any Message sent by either CompactLogix5320 controller with a destination node address of the other controller s DNI module is automatically routed to the other CompactLogix5320 controller For example the CompactLogix5320 controller connected to the DNI module with DeviceNet address 25 must send messages to destination node 35 The message is then routed to the controller connected to the DNI module with DeviceNet node address 35 Start RSLogix 5000 and begin a new project for the CompactLogix5320 controller connected to DNI module node 25 Add two ladder rungs each containing MSG Instructions one to Write data to the controller and one to Read data from the other controller For this example the MSG instructions are executed alternately initiated at power up or going to Run mode with the first scan bit S FS This allows each MSG Instruction to re execute each time it completes These rungs look like the following Initiate Write Messages to the CompactLogix Co
116. t TIMER p Mmaa Din Diniz oe Click OK The software displays the tag Click to display the members gt of the TIMER structure ee ease a You might have to resize the column to see the tag extensions continued Publication 1769 UM007B EN P February 2001 Getting Started 1 15 Documenting 1 0 with Alias Tags 1 Create an alias tag input_1 for Local 1 I Data 1 ontroller Tags quickstart controller iof x 4 Create Tags sope quickstart controller x Show Show All x Sott Tag Name x P Tag Name Alias For Base Tag Type Style Descri A Fl Local 1 C AB 1769_MODULE C 0 Local 1 AB 17693_MODULE_INT_6Bytes 0 Locak2 C AB 17693_MODULE C 0 Local 2 AB 1769_MODULE_INT_6Bytes 0 Locat2 0 4B 1769_MODULE_INT_2Bytes Local 3 C 4B 17693_MODULE C 0 Local 3 1 AB 1769_MODULE_INT_6Bytes 1 0 Local4 C 4B 1769_MODULE C 0 Local4 1 4B 1769_MODULE_INT_12Bytes Local 4 0 4B 17693_MODULE_INT_4Bytes D E timer_1 TIMER D input_1 Local 1 1 l AB 1769_MODULE_INT_6Bytes 1 0 mi Monitor Tags Enter the name of the tag Tab here or click in the box Click here to select tag to reference Controller Tags quickstart controller Scope quickstart controller x Show Show alll 7 Sort Tag Name x
117. te or user defined safe state If you inhibit a module but a connection to the module was not established perhaps due to an error condition or fault the module is inhibited The module status information changes to indicate that the module is inhibited and not faulted If you uninhibit a module clear the check box and no fault condition occurs a connection is made to the module and the module is dynamically reconfigured with the configuration you created for that module If you uninhibit the module and a fault condition occurs a connection is not made to the module The module status information changes to indicate the fault condition NOTE To inhibit a module from logic you must first read the Mode attribute for the module using a GSV instruction Set bit 2 to the inhibit status 1 to inhibit or 0 to uninhibit Use a SSV instruction to write the Mode attribute back to the module For example The GSV instruction gets the current status of the module named input_module The SSV instruction sets the state of input_module as either inhibited or uninhibited Publication 1769 UM007B EN P February 2001 GSV Get System Value Class name MODULE Instance name Input_module Attribute Name Mode Dest input_mod_mode 0 When on inhibits the module When off uninhibits the module SSV_state input_mod_mode 2 E SSY Set System Value Class name MODULE Instance name Input_module Attribute Name Mode Source in
118. ter Logic go to page 1 16 A a You need e RSLogix 5000 programming software e RSLinx communication software e DF1 point to point serial connection from the workstation to the controller using 1756 CP3 or 1747 CP3 cable If you don t have this hardware you can still follow these steps Substitute the I O modules you have for the ones listed here and make the appropriate changes Download a Project go to page 1 18 View Status go to page 1 19 Publication 1769 UMO007B EN P February 2001 1 6 Getting Started Creating a Project 1 Select File gt New FEY Edt view Search Logic Communications Toc Open Ctri 0 Eigse 2 Define the project The software uses the project name you enter with an ACD extension to store your project Vendor Allen Bradley Select a controller type p Type 1763120 CompactLagix 5320 Contioler Name the project p Wee Gales Describe the project optional p Pescrintion Chassis Tipper enone gt z Sigt o Revision F 5 Select where to store the project gy Gesein E ASLogi 5000 Projects Browse typically use the default directory F Click OK The software creates the new project and displays o RSLogix 5000 quickstart 1769 L20 BEE File Edit View Search Logic Communications Tools Window Help alen a fea ol A alala fe ve alel Bttine Ne Forces 7 EF No Eat
119. the local CompactBus in the Controller Organizer and select New Module Select the Generic 1769 Module For additional information and an example see Appendix G Configuring I O with the 1769 Generic Profile File Edit View Search Logic Communications Select Module Type x alg amp l Bel ole alem E Hee oe ce iine z No Fores 769 io Edits z Forces Disabled Description Path AB_DF1 1 Major Revision 1769 MODULE Generic 1769 Module E Controller quickstart A Controller Tags Controller Fault Handler C Power Up Handler E Tasks E E MainT ask 23 MainProgram A Program Tags E MainRoutine E Unscheduled Programs Trends aA Data Types chee react ab Vendor far x M Other M Specialty 1 0 Select All E A Predefine EHAR Modu Defro M Analog M Digital IM Communication M Motion M Processor Ceara oO Jp c 1 0 Configuration l a Cancel Help Enter the appropriate connection parameters as well as the comm format and slot number and name for the module See the explanation of comm formats on page 3 8 Module Properties Local 1769 MODULE 1 1 x Type 1769 MODULE Generic 1769 Module Parent Local Connection Parameters Assembly F Instance Size Name O f Input poa op a aw Description a Output fo p z Configuration 102 fo atin Comm Format Input Data INT x 5 Data INT Set Cancel Back l Next gt L Erin Help
120. ting the rail 3 2 logic entering 1 16 Logix environment 2 1 low battery C 1 master slave communication 4 11 memory usage 1 20 memory use D 1 monitoring I O module 3 14 P power budgeting 3 3 power supply current capacity 3 3 priority 2 3 processor dimensions A 3 processor LED status B 1 program defining 2 6 developing 2 2 program faults determining B 1 project creating 1 6 developing 2 2 downloading 1 18 program 2 6 properties 1 7 routine 2 6 task 2 3 R replace the battery how C 3 when C 1 routine defining 2 6 S safety considerations 1 4 hazardous location 1 4 scan time 1 19 serial ASCII protocol 4 16 communication driver 4 9 configuring the port 4 6 configuring the system 4 3 hardware 4 3 master 4 13 overview 4 1 point to point 4 10 slave 4 13 sign extension conversion times D 3 slave master communication 4 11 specifications A 1 B 1 splitting the DIN rail 3 2 store batteries C 1 synchronize 0 3 4 Synchronous Copy instruction 3 4 T tag alias 3 14 creating 1 14 names 3 12 sample alias 1 15 viewing 1 12 task defining 2 3 priority 2 3 troubleshooting contacting Allen Bradley for assistance B 2 determining controller faults B 1 understanding the controller LED status B 1 V viewing controller memory usage 1 20 I 0 tags 1 12 scan time 1 19 Index 3 Publication 1769 UM007B EN P February 2001 4 Index Publication 1769 UM007B EN P February 2001 Reach us now at www ro
121. tionality Word 0 is for channel 0 and Word 1 is for channel 1 See below for a description of each of the parameters in Words 0 and 1 IMPORTANT The CompactLogix5320 controller does not support the User Defined Safe State feature Therefore the Fault Value and Program Idle Value configuration words for analog output modules are not used When the controller enters the Program Mode or faults all analog outputs go to a value of 0 PFEO PFE1 Program To Fault Enable Bit This selection is not used with CompactLogix5320 systems PMO0 PM1 Program Mode Selection Bit This selection is not used with CompactLogix5320 systems FMO0 FM1 Fault Mode Selection Bit This selection is not used with CompactLogix5320 systems Output Type Range Select This selection allows you to configure each channel individually for various current or voltage ranges per the table below OutputRange Bit Bito Bit9 Bits 10V de to 10V de 0 0 0 0 0 5V de 0 10V de 4 20ma 1 5V de 0 20ma oO o o ojl 0 0 0 1 1 ojl oj o oo e Publication 1769 UM007B EN P February 2001 G 10 Configuring 1 0 with the 1769 Generic Profile Publication 1769 UM007B EN P February 2001 Output Data Format Selection This selection configures each channel to interpret data presented to it by the controller in any of the following formats Output Data Format Bit 14 Bit 13 Bit 12
122. to 10V de 0 0 1 0 4 to 20 mA 0 0 1 1 1to 5V dc 0 1 0 0 0 to 20 mA 0 1 0 1 Input Data Format The following table provides the various data format selections for each of the analog input channels For additional details concerning the formats shown below refer to the Compact VO Analog Module User s Manual publication 1769 UM002A EN P Input Data Format Bit 14 Bit 13 Bit 12 Raw Proportional 0 0 0 Engineering Units 0 0 1 Scaled for PID 0 1 0 Percent Range 0 1 NOTE If 10V dc is selected the Percent Range output data format is invalid and if chosen results in a configuration error Channel Enable Bit Bit 15 in each of the four configuration words for the 1769 IF4 module is the Enable bit for each of the four analog channels By default all channels are disabled To enable a channel enter a 1 in bit 15 in the appropriate configuration word for that channel Unused channels should be left disabled Analog Input data for the four analog input channels can then be found in tags Local 2 I Data 0 through Local 2 1 Data 3 Publication 1769 UM007B EN P February 2001 Numerics 1756 BA1 C 1 A adding local I O module with the Generic Profile 1 8 alias defining 3 14 getting started 1 15 Allen Bradley contacting for assistance B 2 ASCII protocol 4 16 B battery A 2 C 1 how to replace C 3 life C 1 storage C 1 when to replace C 1 C calling Allen Bradley for assistance B 2 CE mark 1 3 ch
123. ust enter configuration information into the Tag database that has been automatically created from the Generic Profile information you entered for each of these modules This configuration information is then downloaded to each module at program download at power up and whenever a module is inhibited and then uninhibited First enter the Controller Tag database by double clicking on Controller Tags in the upper portion of the Controller Organizer In this section we demonstrate entering configuration data for the 1769 OV16 OF2 and IF4 modules Discrete input modules are not configurable For demonstration purposes Generic Profiles have been created for 1769 OV16 OF2 and IF4 modules As a result the Controller Tags screen looks like the following f RSLogix 5000 CompactLogix5320 1769 L20 File Edit View Search Logic Communications Tools Window Help valzie ime ale al oine z No Forces z i a o Edits z Forces Disabled z Os Path AB_DF1 1 4 i BE a HE HF Je w gt Controller CompactLogix5320 A Controller Tags E Controller Fault Handler CI Power Up Handler B E Tasks MainTask 22 MainProgram A Program Tags E MainRoutine E3 Unscheduled Programs E Trends 5 6 Data Types Ci User Defined H E Predefined H E Module Defined 5 6 1 0 Configuration 5 8 0 CompactBus Local 1 1769 MODULE 016 f 2 1769 MODULE OF2 3 1769 MODULE IF4 Style Description
124. utomation support Who Should Use This Manual How to Use This Manual Use this manual if you are responsible for designing installing programming or troubleshooting control systems that use Allen Bradley CompactLogix controllers As much as possible we organized this manual to explain in a task by task manner how to install configure program operate and troubleshoot a CompactLogix control system Related Documentation For Information on installing the CompactLogix5320 controller Read this document CompactLogix Modular Processor The table below provides a listing of publications that contain important information about CompactLogix systems Document number 1769 IN047A EN P An technical overview of the CompactLogix system CompactLogix Technical Data 1769 TDOO3A EN P Information on common procedures using RSLogix 5000 software Logix5000 Controllers Common Procedures Programming Manual 1756 PMO001B EN P Indepth information on the CompactLogix Instruction Set Logix5000 Controllers General Instruction Set Reference Manual 1756 RM003C EN P Information on installing configuring and using Compact Analog 1 0 modules Compact I O Analog Modules User Manual 1769 UM002A EN P Information on using the 1769 ADN DeviceNet Adapter Compact 1 0 1769 ADN DeviceNet Adapter 1769 UM001A US P In depth information on grouding and wiring Allen Bradley programmable cont
125. vices on a Serial Link Publication 1769 UM007B EN P February 2001 Chapter 3 Usine TMS Chapter twtr a E cose ast ate E 3 1 Placing Local I O Modules onnaa naaa 3 1 I O Configuration Rules 00k ak aaa 3 1 System Power Budget Calculation and Considerations 3 3 Determining When the Controller Updates I O 3 4 Configuring the CompactBus 0000005 3 4 Specifying General Properties 90056444 base Tas 3 5 Inhibiting the CompactBus p35 eke Bea X ONG oes 3 6 Configuring Local I O Modules nnna ga on wre ae aoa 3 7 Communication Formats 04 6 EN a Cet aed he 3 8 Inhibiting I O Module Operation 3 9 Configuring the Module s Response to a Connection Failure torch 520 a Shay ep re Eli ech Re Fe 3 11 Accessing I O Data g vcs Aue ek ee ee taht Ae 3 12 Using Aliases to Simplify Tag Names 3 14 Monitoring I O Modules ster Sedmsavbad amp bearded Bee doin 3 14 Displaying Fault DAA vce G5 Go a Rede ae ce nee OR 3 15 End Cap Detection and Module Faults 3 16 Chapter 4 Using This Chapter cua wa psa eves gt Ai eoe wee ae 4 1 Default Communication Configuration 4 1 Using the Channel 0 Default Communication Push BUNOM csp arse ena Pog one SG a a E 4 2 Configuring Your System for a Serial Link 4 3 Step 1 Configure the Hardware 3 vad fee ed oe ee 4 3 Step 2 Configure the Serial Port of the Controller 4 6 Step 3 Configur
126. wer End Cap Detection and Module Faults If a module that is not adjacent to an end cap experiences a fault and the connection to the controller is not broken only the module enters its fault state If a module that is adjacent to an end cap experiences a fault both the module and the controller transition to the fault state Chapter 4 Using This Chapter Default Communication Configuration Communicating with Devices on a Serial Link For information about See page Default communication configuration 4 1 Configuring your system for a serial link 4 3 Example 1 workstation directly connected to a CompactLogix controller 4 10 Example 2 workstation remotely connected to a CompactLogix 4 11 controller Example 3 CompactLogix controller communicating with a bar code 4 15 reader The CompactLogix5320 has the following default communication configuration Parameter Default Baud Rate 19 2K Parity none Source ID Node Address 0 Control Lines no handshaking Error Detection BCC Embedded Responses auto detect Duplicate Packet Message Detect enabled ACK Timeout 50 counts NAK retries 3 retries ENQ retries 3 retries Data Bits 8 Stop Bits 1 Protocol DF1 point to point Node Address is part of the default configuration Changing the node address will result in DCHO LED turning off Publication 1769 UM007B EN P February 2001 4 2 Communicating

Download Pdf Manuals

image

Related Search

Related Contents

RocketFish RF-NBSKHBP Switch User Manual  MANUAL DE USUARIO  HPWR104HR High efficiency PC/104 power supply module User`s  European Sales Branches:  MANUAL DE USUARIO PARA EL SOFTWARE: Assofu  6 Year Warranty  Jasco 15089 Instruction Manual  取扱説明書  LOS-01000-Manual IT  LA LETTRE DU SPINA BIFIDA - Association nationale spina bifida et  

Copyright © All rights reserved.
Failed to retrieve file