Home

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

image

Contents

1. periodic 1 ms 1 ms system overhead B ez 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 ims periodic task iti i lei iz feat 1 ms 1 ms system overhead ia i gt 9 ms of continuous task time 9 ms of continuous task time contrac eS re 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 1 ms 1 ms 1 ms 1 ms 1 ms system overhead a E a E 4 ms 4 ms 4 ms 4 ms 4 ms 5 10 15 20 25 elapsed time ms Publication 1769 UM007D EN P August 2002 2 8 What Is CompactLogix If you increase the time slice to 50 the system overhead interrupts the continuous task every 1 ms of continuous task time 1ms system overhead B A i w B A D A E E a le m 1 ms continuous task w H H E TE E E E T E E E 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 awl a 5 10 15 20 25 continuous task elapsed time ms Publication 1769 UM007D EN P August 2002 Using This Chapter Placing Local 1 0 Modules Chapter 3 Placing Configuring and Monitoring Local 1 0 For in
2. S FS MSG 0 JE Type SLC Typed Read Message Control msgl E p msg2 DN L lt ER gt msgl DN MSG 1 Type SLC Typed write Do Message Control msg2 E t L lt ERD End po Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DH 485 Link 5 17 The MSG instructions in the 1769 L30 controller should be as follows Message Configuration msg1 so idata_from_slc503_N2 Message Configuration msg2 paan p sirarite m iN rT L SOUTBE Mina KA DE a ec irane A Destination Linke Joea LIT Destinauan i Gne a eci Publication 1769 UM007D EN P August 2002 5 18 Communicating with Devices on a DH 485 Link TIP Publication 1769 UM007D EN P August 2002 5 Save the program and download it to the 1769 L30 controller using the default protocol on this controller of full duplex DF1 In RSLinx create a full duplex DF1 driver and use the Auto Config feature to establish communications Download the program from RSLogix 5000 software If you download to channel 0 you will be prompted to apply the serial configuration changes Click Yes The software displays a communication error and you will be offline The channel 0 serial port will be configured for DH 485 and node address 4 You can now connect the 1769 L30 controller s channel 0 serial port to a 1761 NET AIC which in turn may be connected to the DH
3. i E Station Number Baud Rate 19200 Bee oo Parity None 7 Enor Checking BCC gt Stop Bits 1 Protocot Full Duplex 7 Auto Configure T Use Modem Dialer E Cancel Delete Help 0 Who Active Oo x F Autotrowse Refiesh Workstation PCB PA324 So Onine as Lins Gatewsys Ethernet O Sa 1784PCD 1 DeviceNet Upload O sa AB_DF11 DF1 i f 01 CompactLogix Processor Download fa AD_ETH 1 Ethernet E fa TCP 1 Cthernet Recent Analy Close Help Current Poth AB_DF1151 TE Appi orent Path to Eroject Path in Project AB_LDF11 1 Publication 1769 UM007D EN P August 2002 1 16 Getting Started Viewing program scan time 1 View properties for the MainProgram A Place the cursor over the MainProgram folder B Click the right mouse button and select Properties 2 Select the Configuration tab The Configuration tab displays gt e maximum scan time the largest scan time since the last reset e last scan time the time this task used during the previous scan Publication 1769 UMO007D EN P August 2002 a File Edit View Search Logic Communications Tools Windo E ga Path Offline No Forces I m RUN gt FoK es E BAT No Edits Ale a LA Ki En m sb ive B E Controller quickstart A Controller Tags C3 Controller Fault Handler Ca Power Up Handler aS Tasks D
4. Allen B1 H Rockwell Automation Dodge Rockwell Automation Electro B Rockwell Automation Relianc CU A fN Graph apean af x amp 10004101 7 6 01 11 46 40 Made changed to online Messages Online Not Browsing i continued 6 3 Publication 1769 UM007D EN P August 2002 6 4 Communicating with Devices on a DeviceNet link 4 Right click on the 1769 ADN and choose Properties EEO 21x General 1 0 Bank 1 Configuration 1 0 Bank 2 Configuration 1 0 Bank 3 Configuration Reset Summary J 1763 4DN A 76S ADN A 3 Name Description Address 15 i Device Identity Primary Vendor Rockwell Automation AllenBradley 1 Device CommunicationAdapter 12 Product fI7ESADN AIES Catalog esana a Revision hm Cancel Epp Help 5 Click on the I O Bank 1 Configuration tab then choose upload when prompted The actual 1769 ADN 1 0 layout appears From this screen you can configure the I O modules in the 1769 ADN system by simply clicking on the slot number box associated with each 1 0 module 6 When the 1 0 modules are configured click on the Summary tab Note the number of bytes of input and output data This will be used later when adding the adapter to the 1769 SDN s scanlist 7 Click Apply then OK to save the configuration and download it to the adapter For this example you only configure the two analog mo
5. E Module Defined 5 6 1 0 Configuration 4 a Click OK Cancel Hep 3 Configure the module Use the module wizard to specify characteristics for the module Click Next to continue through the wizard Click Finish when you are done The completed module appears in the Controller Organizer Module Properties Local 1769 MODULE 1 1 Type 17639 MODULE Generic 1769 Module Parent Local on Daniele Assembly r Instance Size Name I Input fier 1 16 bit Description aj Output 104 fp Configuration 102 fo esi Comm Format Input Data INT 7 Slot 1 Cancel Back Next gt Finish gt gt Help The generic profile requires you to specify more parameters of the module Publication 1769 UMO007D EN P August 2002 3 18 Placing Configuring and Monitoring Local 1 0 On the generic profile screen you define the parameters of the module In this field Specify Name name of the module Description optional provide more details about the module Comm Format communication format 1769 analog output modules digital output modules analog combination modules and digital combination modules use Data INT 1769 analog input modules and digital input modules use Input Data INT slot placement of the module on the CompactBus Slot Connection Parameters Input Output Configuration connection information unique to the module The docume
6. Pee O Enable Q Enable Waiting Start Done Done Length 0 Error Code I Timed Out Extended Error Code Cancel Epp Help An SLC Typed Write message type writes 50 words of data to the 1769 L30 controller The Destination Element of N11 0 is mapped to a tag in the 1769 L30 controller as in the 1769 L20 controller The data sent to the 1769 L30 controller is from tag Data_to_L30_N4 in the 1769 L20 controller The path on the Communication tab is 2 4 where the 2 represents channel 0 and the 4 is the DH 485 node address of the 1769 L30 controller 6 Save the program and download it to the 1769 L20 controller using the default protocol on this controller of full duplex DF1 In RSLinx create a full duplex DF1 driver and use the Auto Config feature to establish communications Download the program from RSLogix 5000 software When you are prompted to apply the serial configuration changes click Yes The software displays a communication error and you will be offline The serial port is configured for DH 485 and node address 3 Now connect the 1769 L20 controller s serial port to a 1761 NET AIC which in turn can be connected to the DH 485 network with the SLC 5 03 controllers Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DH 485 Link 5 15 Configuring and Programming the 1769 L30 Controller Configure the 1769 L30 controller for the DH 485 network using the same
7. Select this interface Description e communicates with other DeviceNet devices I O data transfer only e uses the controller as a master or slave on DeviceNet e uses the controller serial port for other communications 1769 SDN DeviceNet scanner module The scanner acts as an interface between DeviceNet devices and the CompactLogix controller The scanner lets the controller read inputs from slave devices write outputs to slave devices e accesses remote Compact I O over a DeviceNet network e sends remote 1 0 data for as many as 30 modules back to scanner or controller 1769 ADN DeviceNet adapter module The adapter interfaces with as many as 30 Compact 0 modules communicates to other network system components typically a controller or scanner and or programming terminals over the DeviceNet network e communicates with other DeviceNet devices messaging only e uses the controller as a slave on DeviceNet e does not use the controller serial port for other communications 1761 NET DNI interface The interface links the CompactLogix controller to other devices on a DeviceNet network to download configuration data to a device monitor operational status of a device communicate with peer devices messaging upload download programs Publication 1769 UM007D EN P August 2002 6 2 Communicating with Devices on a DeviceNet link Example 1 Controlling This example uses a 1769 SDN scanner mod
8. a S Vendor E P AC Drive Barcode Scanner Communication Adapter D DeviceNet to SCANport Dodge EZLINK General Purpose Discrete 1 0 D Genetic Device Human Machine Interface D Inductive Proximity Switch Limit Switch C Motor Protector Photoelectric Sensor Rockwell Automation miscellar SCANport Adapter Smart MCC Specialty 1 0 Rockwell Automation Electro Rockwell Automation Allen B Rockwell Automation Dodge Rockwell Automation Relianc tc Sal e A RET 1761 NET DNI Series B DeviceNet Int ea ML 4 gt A Graph Spreadsheet Master Sk 4 Ready Online Not Browsing 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 Enter a new node address into the Address field For this example addresses 15 25 and 35 are used for the three DNI module s DeviceNet node addresses Modify this DNI module s node address to 15 Click Apply and OK Publication 1769 UMO007D EN P August 2002 EX 1761 NET DNI Series B DeviceNet Interface 1 1x General Device Parameters 1 0 Defaults EDS File r E 1761 NET DNI Series B DeviceNet Interface Name 1761 NET DNI Series B DeviceNet Interface Description Address 63 Device Identity Primary Vendor Rockwell Autom
9. so enter 30 for 30 characters Publication 1769 UM007D EN P August 2002 7 4 Communications on Ethernet 3 In ENI_LCONFIG_DATAI1 type in the entire email address The email address uses two ASCII characters for each integer word in the array For an odd number of characters the last element should be x 00 where x is the last character in the email address 4 Enter a PLC2 type unprotected write MSG instruction manual toggle bit MSG1 EN B3 31 MSG 0 E Type PLC2 Unprotected Write Message Control MSG1 E manual toggle bit B3 30 MSG2 EN 1 f MSG Type PLC2 Unprotected Read Message Control MSG2 h gt End 5 Configure the MSG instruction as shown below The destination element can be any legal value The number of elements is in byte and must equal 84 Message Configuration MSG1 x Configuration Communication Tag Message Type PLC2 Unprotected Write Source Element JENI_CONFIG_DATA z New Tag Number Of Elements ea a bytes Destination Element 1020 O Enable Enable Waiting O Start Done Done Length 84 Error Code Extended Error Code I Timed Out Error Path Error Text Cancel sow Hep Publication 1769 UM007D EN P August 2002 Communications on Ethernet 7 5 6 Set the MSG communication path The 3 represents channel 1 on a 1769 L30 controller and 249 is the ENI node address If you use channel 0 en
10. x D D AB 1769 IFAC 0 f f AB 1769 F40 Click here to display a A 1769_OF2 C 0 grid of bits and select ABM1769_OF2 10 i AB1769_OF2 0 0 the input bit 3 quickstart controller Dewa Omi oeta aui Lecah20 Datat T A ay E E B m A F G E F A Publication 1769 UM007D EN P August 2002 Getting Started 1 13 Entering logic 1 Use default task program and routine So RSLogix 5000 quickstart 1769 L4 When you created the project the software A Fie Edit View Search Logic Cor automatically created a MainTask MainProgram and MainRoutine Use these defaults for this example Offline D RUN No Forces gt E ok X m BAT m ia No Edits B E Controller quickstart A Controller Tags C Controller Fault Handler 3 Power Up Handler Tasks H 8 MainT ask B 3 MainProgram A Program Tags Double click MainRoutine p CI Unscheduled Programs The software displays an empty routine MainProgram MainRoutine olx a End 2 Enter an XIO instruction o RSLogix 5000 quickstart 1769 L20 MainProgram MainRoutine EB Fie Edit View Search Logic Communications Tools Window Help 2 x alee S e 2 sels e we eael No Forces P im ok p a sano ooo dt SE No Edits a aj F m 4 gt Favorites B E Controller quickstart A Controller Tags C3 C
11. 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 Step 2 Commissioning the 1761 NET DNI Modules on DeviceNet The DNI must be commissioned on the DeviceNet network via the RSNetworx for DeviceNet software or the DNI Configuration Utility version 2 001 TIP The DNI Configuration Utility a free tool for commissioning and configuring the DNI is available gt for download at www ab com micrologix Publication 1769 UM007D EN P August 2002 6 14 Communicating with Devices on a DeviceNet link Commissioning assigns node addresses to the DNI modules Each device on the network must have a unique node address The DNI then routes DF1 messages from each CompactLogix controller to the other CompactLogix controller via DeviceNet and the other DNI module 1 Start RSNetworx for DeviceNet and connect one of the 1761 NET DNI modules to the DeviceNet network with your PC 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 DeviceNet RSNetWorx for DeviceNet Elle Edt View Network Device Tools Help als aS ee Hardware xj EMG DeviceNet GHG Category
12. tags 1 0 data system shared data Publication 1769 UMO007D EN P August 2002 What Is CompactLogix 2 3 Defining 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 1 O modules How you configure your tasks affects how the controlle
13. 1 0 Notes Publication 1769 UM007D EN P August 2002 Using This Chapter Default Communication Chapter 4 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 11 Example 2 Workstation remotely connected to a 4 12 CompactLogix controller Example 3 CompactLogix controller communicating with a bar 4 16 code reader The CompactLogix controllers have the following default Confi gur ation communication configurations Parameter Channel 0 Default Channel 1 Default CompactLogix5330 only Baud Rate 19 2K 19 2K Parity none none Station Address 0 0 Control Lines no handshaking no handshaking Error Detection BCC BCC Embedded Responses auto detect auto detect Duplicate Packet Message Detect enabled enabled ACK Timeout 50 counts 50 counts NAK Receive Limit 3 retries 3 retries ENQ Transmit Limit 3 retries 3 retries Data Bits 8 8 Stop Bits 1 1 Protocol DF1 full duplex DF1 full duplex TIP Node Address is part of the default configuration Changing the node address will result in the DCHO LED turning off gt Publication 1769 UM007D EN P August 2002 4 2 Communicating with Devices on a Serial Link Publication 1769 UM007D EN P August 2002 System Protocol Options The table
14. 5V dc and 1 0A at 24V dc Catalog Number of Module Current Requirements Calculated Current Number Modules Number of Modules x Module Current Requirements at 5V dc in mA at 24V de in mA at 5V de in mA at 24V dc in mA 1769 IA8I 90 0 1769 IA16 115 0 1769 IM12 100 0 1769 1016 115 0 1769 IO6XOW4 105 50 1769 0A8 145 0 1769 0A16 225 0 1769 0B16 200 0 1769 OB16P 180 0 1769 0V16 200 0 1769 OW8 125 100 1769 OW8l 125 100 1769 OW16 205 180 1769 IF4 A 120 150 1769 IF4 B 120 60 1769 OF2 A 120 200 1769 OF2 B 120 120 1769 IF4AXOF2 120 160 1769 IR6 100 45 1769 IT6 100 40 1769 HSC 425 0 1769 L20 600 0 1769 L30 800 0 1769 ECR 9 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 dc 4A at 5V de and 2A at 24V de 24V dc User Power Capacity 0 C to 55 C 250 mA maximum not applicable Publication 1769 UM007D EN P August 2002 3 4 Placing Configuring and Monitoring Local 1 0 Verifying 1 0 Layout by Adding Total Word
15. Cancel Apply Help To easily inhibit all local I O modules you can inhibit the CompactBus which in turn inhibits all the modules on that bus See Configuring the gt CompactBus on page 3 5 Publication 1769 UM007D EN P August 2002 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 module s outputs turn off 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 To inhibit a module from logic you must fi
16. Fault Handler Power Up Handler Tasks a MainTask 23 MainProgram A Program Tags EA MainRoutine Unscheduled Programs Trends Data Types ER User Defined SR Strings R STRING Gi Predefined Ep Module Defined 3 6 1 0 Configuration 5 0 CompactBus Local A 1 1769101674 A 2 1769 0V16 4 3 1769 MODULE SDN_Scanner Local 3 0 Data 0 0 gt When your program is written verify and save it then download it to your controller to run and test your system Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DeviceNet link 6 13 Example 2 Sending Messages Over DeviceNet Using a 1761 NET DNI Interface Converter 1761 NET DNI Node 15 This example uses a 1761 NET DNI interface converter to connect the CompactLogix controller to the DeviceNet network Use the serial port s of the CompactLogix controller to connect to a DeviceNet network using the 1761 NET DNI DeviceNet interface converter 1769 L20 CompactLogix5320 1769 L30 CompactLogix5330 5 FAR ia H Ping Io wien err ert Tal 1761 NET DNI P Node 25 y _ I 1761 NET DNI Node 35 Step 1 Configure the Hardware Connecting CompactLogix controllers on DeviceNet requires one 1761 NET DNI per CompactLogix controller The DNI converts RS 232 hardware connections and full duplex DF1 protocol to DeviceNet A
17. General Purpose Discrete 1 0 HG Genetic Device AG Human Machine Interface GD Inductive Proximity Switch GD Limit Switch S Motor Protector E f a a ra E E i Photoelectric Sensor Rockwell Automation miscela SCANport Adapter Smart MCC Specialty 1 0 Vendor Rockwell Automation Allen B Rockwell Automation Dodge a Rockwell Automation Electro Rockwell Automation Relianc ES S S WT P Messages EJ leady Offline ir 3 The software then prompts you to either upload or download Choose upload RSNetWorx browses the network for valid devices The online screen should look like the following where the 1784 PCID card computer is node 6 the 1769 ADN is node 15 and the 1769 SDN is node 32 for this example DeviceNet RSNetWorx for DeviceNet File Edit View Network Device Tools Help als B S s Bey Q e eels Hardware E DeviceNet 1769 ADN A 3 1769 SDN Scanner B Category Module 2 E AC Drive e Barcode Scanner Communication Adapter DPI to DeviceNet 8G DeviceNet to SCANport GD Dodge EZLINK E General Purpose Discrete 1 0 g ae H Generic Device SD Human Machine Interface E Inductive Proximity Switch B Limit Switch 1D Motor Protector Ez Photoelectric Sensor S Rockwell Automation miscellar HO SCANport Adapter m Smart MCC Specialty 1 0 EMG Vendor Ez Rockwell Automation
18. Ne B Controller quickstart A Controller Tags E Controller Fault Handler E Power Up Handler B E Tasks 5 8 ManTask 3 MainProgram A Program Tags Fd MainRoutine E Unscheduled Programs E Trends 5 6 Data Types i User Defined E Strings A STRING amp a Predefined E oa Module Defined 6 6 1 0 Configuration p New hadule Cut Copy Paste Delete 12 1769 0816 Output t 3 1769 1F4 B Analog 4 1769 0F 2 8 Analog Cross Reference E Module Properties Local 1 1769 IA16 1 1 x General Connection 17694416 16 Point 120V AC Input Allen Bradley Local input M odule Slot fi Description 4 Type Vendor Parent Name gt Comm Format input Data INT z Revision m fi a Electronic Keying Compatible Module Click OK Stes fine PE e E a el The tabs that appear depend on the type of module Important If you want to change the communication format of a module you must first delete the module and then re add it using the communication format you want Publication 1769 UM007D EN P August 2002 1 10 Getting Started Viewing I 0 tags 1 View the tags for the controller RSLogix 5000 quickstart 1769 L20 D m RUN Place the cursor on the Controller Tags folder and double click 8 MainProaram Program Tags MainRoutine Ea Unscheduled Programs The software displays the module defined tags fo
19. Program mode Green one or more tasks are running controller is in the Run mode FORCE Off no forces enabled Amber forces enabled Amber one or more input or output addresses have been forced to an Flashing 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 Cycle power The OK LED should change to flashing red If LED remains solid red replace the controller 1 0 off 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 data is being received or transmitted flickering Channel 1 Off no activity Green data is being received or transmitted flickering 1 If the controller does not conta in an application controller memory is empty the 1 0 indicator will be off Refer to the Logix5000 Controllers Common Procedures Manual publication number 1756 PM001C EN P for a list of controller fault messages that can occur during operation of the CompactLogix controller Each description includes the error code the probable cause and th
20. Step 3 Configure the Serial Communication Driver 1 In RSLinx software select Communication Configure Driver From the Available Driver Types list select RS 232 DF1 Devices 2y Rockwell Software RSLinx Lite RSWho 1 File View Seea Station Security Window Help amp gs 5 BSWho Configure Drivers M Autobrowse Configure Shortcuts w Configure Client Applications ee ae Lins Configure CIP Options gt a r ink Gateways Driver Diagnostics Ethernet CIP Diagnostics Click Add New 2 Specify a name for the driver 3 Specify the appropriate communication settings pascal Add New Configured Drivers Name and Description T Sieti am Stop Delete Add New RSLinx Driver x Choose a name for the new driver 15 characters maximum Cancel AB_DF1 1 Pera Select the Logix5550 CompactLogix and specify the COM port Click Autoconfigure to have the software determine the remaining serial settings Click OK Publication 1769 UM007D EN P August 2002 Cancel Delete Help Configure Allen Bradley DF1 Communications Device Device Name AB_DF1 1 Comm Port COM1 x Device PLC CHO Ha Baud Rate 19200 bd Parity None ha Station Number Octal m Error Checking BCC bed fA Stop Bits 1 jid Protocol Full Duplex Auto Configure IF Use Modem Dialer Saisie Dice Communicat
21. Waiting for Queue Space 0 Eo Enor Code Hex 0 Publication 1769 UM007D EN P August 2002 7 10 Communications on Ethernet Configure the MSG instruction on rung 1 as follows MSG N7 100 51 Elements Publication 1769 UM007D EN P August 2002 MSG N7 100 51 Elements Erom Devices FomPon__ ToAddess Type ToAddiess The following is the ladder program for the ControlLogix controller The following RSLogix 5000 screens show the two tabs for each MSG Instruction As part of the program configure the Ethernet modules with the proper IP address subnet mask and disable BOOTP S FS MSG J Type PLCS Typed Write Lf Message Control MSG_TO_505 E MSG_TO_L20 0N LEl MSG_T0_505 DN ap JE MSG Type PLCS Typed Write Message Control MSG_TO_L20 ER Predefined Gi Module Defined 0 Configuration 1 1756 0816 DC_Out 2 1756 DNB DNET_Bridge 3 1756 ENET B ENET _Interfa Communications on Ethernet 7 11 Configure the MSG instruction on rung 0 as follows Message Configuration MSG_TO_505 Message Configuration MSG_TO_505 x x T T Configure the MSG instruction on rung 1 as follows Message Configuration MSG_TO_L20 Message Configuration MSG_TO_L20 FNSG_TO_ 20_d3t0 m a Po ooo o The 1761 NET ENI modules do not support CIP commands Therefore all
22. alale ia Eto gt oj A Favorites E Controller CompactL ogix5320 LA Controller Tags C Controller Fault Handler E PowerUp Handler D 8 Tasks Locat one ae AB 1769_D016 C 0 BAE MainTask Locak1 IA ea AB 1769_DO16 0 MainProgram TAB 1769_D016 0 0 A Program Tags ee ED MainRoutine on E Unscheduled Programs Trends 5 6 Data Types A i I C User Defined Local a TE AB 1769 IF41 0 E Strings E STRING ce Oi Predefined i Module Defined E 10 Configuration 0 CompactBus Local 1 1769 0V16 0v16 2 1769 0F2 8 OF2 S 3 17891F4 8 IF4 1 F Monitor Tags Edt Tags 7 Placing Configuring and Monitoring Local O 3 19 RSLogix 5000 programming software automatically create tags for configured I O modules All local I O addresses are preceded by the word Local These addresses have the following format e Input Data Local s I e Output Data Local s O e Configuration Data Local s C Where s is the slot number assigned the I O module Open the configuration tag for that module by clicking on the plus sign to the left of its configuration tag in the tag database The configuration information for the generic profile depends on the module See the documentation on the I O module for the appropriate configuration information Publication 1769 UM007D EN P August 2002 3 20 Placing Configuring and Monitoring Local
23. 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 PEAME DOGE Americas Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Heo Ro ckwell 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 UM007D EN P August 2002 PN 957689 84 Supersedes Publication 1769 UM007C EN P June 2001 2002 Rockwell International Corporation Printed in the U S A AB Allen Bra diey CompactLogix System User Manual
24. below shows the system modes supported by Channels 0 and 1 Channel 0 DF1 full duplex Channel 1 CompactLogix5330 only DF1 full duplex DF1 master DF1 half duplex master DF1 slave DF1 half duplex slave DH 485 DH 485 ASCII TIP gt When using MSG instructions to send commands out the CompactLogix serial ports Channel 0 is Port 2 and Channel 1 is Port 3 This information is required on the Path tab for the MSG instruction 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 Before pressing the Default Communication Push Button be sure to note the present communication configuration for Channel 0 Pushing the Default Communication Push Button resets all configured parameters back to their default settings To return the channel to its user configured parameters you must enter them manually while online with the controller or download them 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 Communicating with Devices on a Serial Link 4 3 Configuring Your System for a Serial L
25. channel 0 isolation Enter eee If you don t have this hardware you can still follow these steps Substitute the a ca 1 0 modules you have for the ones listed above and make the appropriate changes Te eee If you use a 1769 L30 controller you do not need to use an isolator Channel 1 is an isolated RS 232 port Download 6 a project see page 1 15 View status see page 1 16 ue Publication 1769 UMO007D EN P August 2002 Getting Started 1 3 Creating a project 1 Select File gt New E Edit View Search Logic Communications Toc Ctrl N Eigse 2 Define the project The software uses the project name you enter with an ACD extension to store your project x Select a controller type p oo Aide ype Type i7e9120 CompactLogixS320 Controler Select the controller revision Peso pu x Ea T Redundancy Enabled Help Name the project pa Name auicksta Description This is a sample CompactLogix control system Describe the project optional tp A Chassis Type one o Slot p Select where to store the project P Ceaeln E5FSLogi 5000 Prieots Ee typically use the default directory The software creates the new amp RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications Tools Window Help controller and displays aleli a Heese A ae E aa a z ToK Eg _ E No Edits E BAT Brin a e ne ales gt DIE Favorites Bi Exa
26. commands between controllers used in this application example are PLC 5 Typed Write commands These commands require a PLC 5 type address to send the data to the receiving controller Such addresses do not exist in Logix controllers so they must be mapped to existing tags in these controllers Publication 1769 UM007D EN P August 2002 7 12 Communications on Ethernet Example 2 Staggering Multiple Messages Publication 1769 UMO007D EN P August 2002 The mapped table for the ControlLogix program should look like PLC2 3 5 7 SLC Mapping Lx m PLC 3 5 7 SLC Mapping CE Data_From_L20 Cancel Help dai Delete Map m PLC 2 Mapping Tag Name z In a CompactLogix controller it is recommended to stagger multiple MSG instructions For example if there are two MSG instruction let the first instruction complete before initiating the second instruction Keep in mind that over the serial port the CompactLogix controller supports 12 message buffers At most you can have 4 simultaneous connected messages and 8 simultaneous unconnected messages Or if all the messages are unconnected you can have 12 simultaneous messages If a message is greater than 250 bytes it is divided across enough buffers to carry the message which reduces the number of buffers remaining for other simultaneous messages Staggering messages keeps the amount of user memory needed for incoming and outgoing message
27. controller via the 1756 ENBT card e CompactLogix controller via a 1761 NET ENI interface This example uses a 1761 NET ENI series B module If you connect a 1761 NET ENI series A module to the CompactLogix controller you must also connect a 1761 NET ENI module to the personal computer controller o RS 232 DF1 1761 NET ENI series B amp 5 Controllogix M controller 1756 ENBT Eeee SLC 5 05 i controller Q Ethernet m ve Personal computer with 10 Base T RSLogix 5000 RSLogi and RSLinx software PC Ethernet interface card x500 Publication 1769 UM007D EN P August 2002 7 2 Communications on Ethernet IMPORTANT Publication 1769 UM007D EN P August 2002 The computer must have the following software e RSLogix 5000 version 7 00 or later for the 1769 L20 controller version 8 00 or later for the 1769 L30 controller e RSLinx version 2 30 00 or later e RSLogix 500 software e ENI Configuration Tool The 1769 L20 controller must contain firmware 7 17 or later The 1769 L30 controller must contain firmware 8 14 or later Step 1 Assigning IP Addresses Each Ethernet device requires a unique IP address If your Ethernet network is isolated from the company wide network any valid IP add
28. 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 ATTENTION 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 Publication 1769 UM007D EN P August 2002 3 14 Placing Configuring and Monitoring Local 1 0 Monitoring 1 0 Modules Publication 1769 UM007D EN P August 2002 monitor I O modules You can The CompactLogix controller offers different levels at which you can e use the programming software to display fault data See Displaying Fault Data on page 3 14 e 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 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 Mo
29. distance rating is printed on each module s label Each module must be located within its distance rating Horizontal Orientation Bank 1 1769 CRLx Bank 2 1769 CRLx Bank 3 Bank 1 Vertical Orientation 1769 CRRx Bank 2 CompactLogix does not support Removal and Insertion Under ATTENTION 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 IMPORTANT While under power the removal of an end cap or a module without breaking the connection between the processor and power supply will fault the 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 UMO007D EN P August 2002 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
30. 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 UM007D EN P August 2002 Dynamic Memory Allocation in CompactLogix Controllers D 3 Trends 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 DDE OPC Topics 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 variables limit the connections for each path Therefore if you have a limit of 5 connections it is possible to have 10 connections with 5 over each path Maximum Messaging Connections per PLC This variable is configured in RSLinx under the Communications menu item Configure CIP Options This number limits
31. for designing installing programming or troubleshooting control systems that use Allen Bradley CompactLogix controllers How to Use This Manual 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 The table below provides a listing of publications that contain important information about CompactLogix systems For Read this document Document number Information on installing a CompactLogix controller CompactLogix Modular Processors 1769 IN047 Installation Instructions Information on common procedures using RSLogix 5000 Logix5000 Controllers Common Procedures 1756 PM001 software Programming Manual Information on the CompactLogix Instruction Set Logix5000 Controllers General Instruction Set 1756 RM003 Reference Manual Information on function block programming Logix5000 Controllers Process Control Drives 1756 RMO006 Logix controllers Instruction Set Reference Manual Exeuction times and memory use for instructions Logix5000 Controllers Execution Time and Memory Use 1756 RM087 Reference Manual Information on installing configuring and using Compact I 0 Analog Modules User Manual 1769 UM002 Compact Analog I O modules Information on using the 1769 ADN DeviceNet adapter Compact I O 1769 ADN DeviceNet Adapter 1769 UM001 User Manual Information on u
32. gt I Continuous Carrier RTS Send Delay fo x20 ms RTS Off Delay fo x20 ms Control Line 3 On the System Protocol tab select 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 UM007D EN P August 2002 4 8 Communicating with Devices on a Serial Link Characteristic Mode Specifying Serial Port Characteristics Specify these characteristics on the Serial Port tab s default values are shown in bold Description default is shown in bold Select System for DF1 and DH485 communication or User mode for ASCII communication User mode is not available for Channel 1 at this time 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 Continu
33. 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 Publication 1769 UM007D EN P August 2002 5 6 Communicating with Devices on a DH 485 Link Publication 1769 UM007D EN P August 2002 If no network activity occurs the initiator sends the token pass packet again After two retries a total of three tries the initiator attempts to find a new successor IMPORTANT The maximum address that the initiator 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 initiators and responders The allowable range of the node address of a initiator is 0 to 31 The allowable address range for all responders is 1 to 31 There must be at least one initiator on the network Network Initialization The network requires at least one initiator to initialize it Network initialization begins when a initiator 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 initiator with the lowest address claims the token When a initiator has the token it will begin to build the network Building a network begins when the initiator that claimed the token tries to pass the
34. send after an ACK timeout limit 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 20 ms intervals The default is 50 1000 ms Embedded Specifies how to enable embedded responses response 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 UM007D EN P August 2002 4 12 Communicating with Devices on a Serial Link Example 2 Workstation In the following example a workstation remotely connects to a Remotely Connected to a CompactLogix controller over a serial link A modem is connected to the controller to provide remote access CompactLogix Controller ENN T isolator modem NS recommended for use with Channel 0 which
35. support the requirements you need for the DH 485 network connection Communicating with Devices on a DH 485 Link 5 3 Connect the controller to an RS 232 to RS 485 isolator One possible isolator is the 1761 NET AIC interface converter RS 485 port baud rate selector switch pa port 2 mini DIN 8 RS 232 port 1 DB 9 RS 232 DTE dc power source selector switch 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 port 1 DB 9 RS 232 DTE connection Use this cable 1747 CP3 or 1761 CBL ACO0 port 2 mini DIN 8 RS 232 connection 1761 CBL APO0 or 1761 CBL PM02 Publication 1769 UM007D EN P August 2002 5 4 Communicating with Devices on a DH 485 Link Step 2 Configure the DH 485 Port of the Controller 1 In RSLogix 5000 programming software select the Controller folder Right click to select Properties 2 On the System Protocol tab specify the appropriate serial communication configuration RSLogix 5000 Compact ogix5334 oxi ai
36. the controller E Module Properties Local 1 1769 1A16 A 1 1 xj General Connection Requested Packet Interval RPI 2 0 J3 ms Module Fault Status Offline Cancel ppl Help The programming software displays I O data as structures of multiple tags that depend on the 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 Publication 1769 UM007D EN P August 2002 3 12 Placing Configuring and Monitoring Local 1 0 where This address variable Location Is 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 1 0 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 that are sent to or received from I 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 The following examples show addresses for data in a Compa
37. the controller directly to the RS 232 device 1 CD 2 RDX 1 CD 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 straight cable end 9 right angle cable end If you make your own cable it must be shielded and the shield must be tied to the metal shell that surrounds the pins on the end 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 UM007D EN P August 2002 4 6 Communicating with Devices on a Serial Link 3 Connect the appropriate cable to the serial port s on the controller To connect two cables to the CompactLogix5330 attach the straight end connector to Channel 0 The Channel 0 port is locally grounded CompactLogix5320 4 Compactlogix5330 f isolator 1761 cable 1761 NETAIC user supplied modem cable ihe 7 l eeoesee user supplied modem cable modem Channel i onthe l CompactLogix5330 is isolated 24V de so the 1761 NET AIC is not required ATTENTION The CompactLogix controller is grounded through its DIN rail or mounting foot It is important that you understand the workstation s grou
38. the first attempt before being declared 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 UM007D EN P August 2002 This field Normal poll node tag Communicating with Devices on a Serial Link 4 15 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 contro
39. token to the successor node If the attempt to pass the token fails or if the initiator 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 initiator 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 Communicating with Devices on a DH 485 Link 5 7 Installing a DH 485 Network 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
40. various CIP information including the number of connections open to the CompactLogix controller Numerics 1756 BA1 C 1 1761 NET DNI 6 13 1761 NET ENI 7 3 1769 ADN 6 3 1769 SDN 6 5 6 9 A adding local input modules 1 7 alias defining 3 13 getting started 1 12 ASCII protocol 4 16 B backplane memory use 3 4 battery A 2 C 1 C cables 1769 expansion 3 1 connecting ASCII devices 4 17 connecting serial devices 4 6 connecting to 1761 NET AIC 5 3 DH 485 link cable length 5 1 5 7 multiple DH 485 connection 5 8 programming cable recommendations A 1 selecting serial cable 4 5 serial cable length 4 3 single DH 485 connection 5 8 changing module properties 1 9 project properties 1 4 Channel 0 Default Communication push button 4 2 communicating DH 485 5 1 serial 4 1 communication driver serial 4 10 communication format 3 8 CompactBus configuring 3 5 inhibiting 3 6 RPI 3 6 iq Index configuring 1769 ADN 6 3 1769 scanlist 6 5 alias 3 13 ASCII protocol 4 16 communication format 3 8 CompactBus 3 5 DeviceNet system 6 1 DF1 master 4 14 DF1 point to point 4 11 DFI slave 4 14 DH 485 system 5 2 Ethernet system 7 1 generic profile 3 17 inhibit 1 0 module 3 9 local 1 0 3 7 response to connection failure 3 11 serial system 4 3 system overhead 2 6 connection I O module 3 13 response to failure 3 11 controller LED status B 1 ownership 3 8 creating project 1 3 tags 1 11 current consumption 3 3 D data
41. 20 DH485 N3 KA Controller Tags C3 Controller Fault Handler C3 Power Up Handler B E Tasks a fa MainT ask MainProgram A Program Tags MainRoutine E3 Unscheduled Programs C Trends B E Data Types i User Defined E E Strings STRING Cih Predefined E Module Defined 1 0 Configuration E S 0 CompactBus Local 1 1769101674 deinput 2 1769 01674 deoutput Right click on the Controller and select Properties In the Properties screen click the Serial Port tab The Serial Port configuration should be as follows fs Controller Properties L20_DH485_N3 Date Time Advanced SFCExecution File Nonvolatile Memory General SerialPort System Protocol User Protocol Major Faults Minor Faults Mode System Show Offline Values Baud Rate i9200 7 Data Bits fe x Parity None z Stop Bits fi 7 Control Line No Handshake z gt Continuous Carrier RTS Send Delay Jo x20 ms RTS Off Delay fo 20 ms Publication 1769 UM007D EN P August 2002 5 12 Communicating with Devices on a DH 485 Link 3 Click on the System Protocol tab Select DH485 and a Station 4 5 Address of 3 The System Protocol screen should be as follows Controller Properties L20_DH485_N3 lol x File Nonvolatile Memory User Protocol Major Faults Error Detection oHa8s aoc CAC d I Enable Duplicate Detection 3 2s Minor Faults Date Time Advanced SFC Execution General Serial
42. 3 11 DDE OPC topics D 3 developing programs 2 2 DeviceNet 1769 SDN scanlist 6 5 commissioning 1761 NET DNI modulles 6 13 configure hardware 6 13 configuring 1769 ADN 6 3 configuring the system 6 1 downloading to 1769 SDN 6 9 example controlling devices 6 2 module command array 6 9 sending messages 6 13 transferring data 6 8 Publication 1769 UM007D EN P August 2002 2 Index DF1 protocol master 4 9 4 14 master slave methods 4 12 point to point 4 9 4 11 slave 4 9 4 14 DH 485 cables 5 1 5 7 configuring the system 5 2 connecting 1761 NET AIC 5 3 hardware 5 2 installing 5 7 MSG example 5 9 network initialization 5 6 nodes 5 6 overview 9 1 token rotation 5 5 dimensions A 3 documenting 1 0 1 12 downloading project 1 15 E end cap 3 16 entering logic 1 13 Ethernet configuring 1761 NET ENI 7 3 configuring system 7 1 driver 7 8 example sending messages 7 9 example staggering multiple messages 7 12 hardware 7 1 IP addreses 7 2 mapping data table files 7 7 expansion cables configuration 3 1 dimensions A 4 F fault data 3 14 Publication 1769 UM007D EN P August 2002 G generic profile 3 17 getting started adding a local input module 1 7 changing module properties 1 9 changing project properties 1 4 creating a project 1 3 creating tags 1 11 documenting 1 0 with alias tags 1 12 downloading a project 1 15 entering logic 1 13 overview 1 1 steps 1 2 viewing controller memory usage 1 17 view
43. 4 Point AC DC Relay Output 6 6 Data Types 1 769 IR 674 6 Channel RTD Direct Resistance Analog Input oR User Defined 1769 IT6 A 6 Channel Thermocouple m Analog Input xl B an Strings Show STRING Vendor fal x Other V Specialty 1 0 Select All E E Predefined L Module Defined 5 6 1 0 Configuration V Analog I Digital V Communication V Motion Controller Clear All SESH 0 CompaciBus L Click OK Cancel Help 3 Configure the module Use the module wizard to specify characteristics for the module Click Next to continue through the wizard Click Finish when you are done The completed module appears in the Controller Organizer Module Properties Local 1769 1A16 1 1 x Type 1769 1416 16 Point 120 AC Input Vendor Allen Bradley Parent Local Name input M odulel Slot fi Description in ea Comm Format input Data INT 7 Revision E fi 3 Electronic Keying Compatible Module he The selection you make for the Comm Format determines the connections required for the 1 0 module Once you complete adding a module you cannot change this selection See page 3 8 Cancel Back Next gt Finish gt gt Help Publication 1769 UM007D EN P August 2002 3 8 Placing Configuring and Monitoring Local 1 0 Controller Tags quickstart controller Scope quickstart controller z Show Show All x Sort Tas Name z Communication Formats The communication format dete
44. 45 0 94 407 6 o Co Rect SG 3 14 Displaying Fault Data i ave n eee eee eK 3 14 End Cap Detection and Module Faults 3 16 Configuring I O Modules Using the Generic Profile 3 17 Publication 1769 UM007D EN P August 2002 Table of Contents ii Communicating with Devices on a Serial Link Communicating with Devices on a DH 485 Link Publication 1769 UM007D EN P August 2002 Chapter 4 Using This Chapter naana aaaea 4 1 Default Communication Configuration 4 1 System Protocol Options yo Aseeaca ev eee te Ste SEK 4 2 Using the Ch 0 Default Communication Push Button 4 2 Configuring Your System for a Serial Link 4 3 Step 1 Configure the Hardware sieve ohne eee 4 4 Step 2 Configure the Serial Port s of the Controller 4 7 Step 3 Configure the Serial Communication Driver 4 10 Example 1 Workstation Directly Connected to a Controller 4 11 Configuring a DF1 Point to Point Station 4 11 Example 2 Workstation Remotely Connected 4 12 Master Slave Communication Methods 4 12 Configuring a DF1 Slave Station 4 29 ews eae es 4 14 Configuring a DF1 Master Station 4 14 Example 3 Controller Connected to a Bar Code Reader 4 16 Connect the ASCII Device to the Controller 4 16 Configuring User Mode ai a 0 0 seed ok Hoe pala sed 4 18 Programming ASCII Instructions 4 18 Chapter 5 Usine This CHAPICR cesi 6 ta
45. 485 network with the SLC 5 03 and 1769 L20 controllers If the combination of node count and network traffic on DH 485 makes it difficult or impractical to connect to your CompactLogix controllers with RSLogix 5000 while the system is running it may be prudent to do program maintenance while the system is not running Program upload download monitoring and online editing of programs on DH 485 may be more readily accomplished when the system is not running i e the controllers are in Program mode In addition when attempting to go online or upload download a program using the Communications Who Active window in RSLogix 5000 disable the Autobrowse feature to minimize traffic from RSLogix 5000 on the DH 485 network Other alternatives are to switch to different networks e DeviceNet network using 1761 NET DNI modules in place of the 1761 NET AIC modules e EtherNet IP network using 1761 NET ENI modules in place of the 17610NET AIC modules Chapter 6 Communicating with Devices ona DeviceNet link Using This Chapter For information about See page Configuring your system for a DeviceNet link 6 1 Example 1 Controlling DeviceNet devices 6 2 Example 2 Sending messages over DeviceNet using a 1761 NET DNI 6 13 interface converter Configuring Your System for Select the appropriate DeviceNet interface depending on the a DeviceNet Link application and how the controller interacts with the devices If your application
46. 761 NET DNI Module 6 13 Step 3 Connecting the Controllers to DeviceNet 6 15 Step 4 Sending Messages oyu es a4 ub wor OEMS 6 16 Chapter 7 Usine This Chapter rea nso SFE haw ROK DER OeTES Os 7 1 Configuring Your System for an Ethernet Link 7 1 Step 1 Assigning IP Addresses 024 7 2 Step 2 Configuring the 1761 NET ENI 7 3 Confirming the configuration aoaaa aaaea 7 6 Step 3 Mapping Data Table Files 7 7 Configuring an Ethernet Driver in RSLinx 7 8 Example 1 Creating MSG Programs a a saaa o pean 7 9 Example 2 Staggering Multiple Messages 7 12 Appendix A Using THS Appendix crosa ice Cia oc eae RW A 1 CompactLogix Controller eect o 34 s o h96 4 a A 1 1747 BA Battery Ate ane HAAR uke Oe hh 5 REO ARES SS A 2 DIMENSIONS aod oie chee a Geet Wrath sok ka do A 3 CompactLogix Modular Controller A 3 CompactLogix System 0 00000 A 3 Compact I O Expansion Power Supply and End Caps A 4 Appendix B Usine This Appendix eias Wher ela oe ead en a B 1 CompactLogix Controller LEDS 4 4 25 6 S4sh46 4 2S perks es B 1 Identifying Controller Faults sey aed eee eg eee es B 2 Calling Rockwell Automation for Assistance B 3 Publication 1769 UM007D EN P August 2002 Table of Contents iv Maintaining the Battery Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM007D EN P Augus
47. 8 MainTask as Program New Routine Ea MainRot E Unscheduled Pr Cop E Trends Bie ES Data Types pa oe User Defined isi SB Strings Verity P E STRING Cross Reference LR Predefined m Module Defined Accept Pending Program Edits 5 6 1 0 Configuration Cancel Fendna Froarem Edits 5 8 0 CompactBus J 111769141 2 1769 08 8 3 17694F4 B 4 1769 0F Test Program edits Untest Program edits Assemble Frogren Edits Cancel Eroaren Edits Print olx E Program Properties MainProgram General Configuration Assigned Routines Main MainRoutine Fault ayaa Scan Times execution time Max 280 us Beset Max Last e2 us Cancel Bos Help Getting Started 1 17 Viewing controller memory usage 1 View properties for Controller quick_start A Place the cursor over the Controller quick_start folder p B Click the right mouse button and select Properties 2 Select the Advanced tab In addition to other information the Ad d tab n addition to other information the Advanced ta displays controller memory usage Important The amount of memory that the software displays includes both the user available memory and the memory reserved for overhead See the specifications for your controller to determine how much memory you have available for programming This dialog box might display a higher number but the additional memory is required by system overhead and ma
48. D Allen Bradley CompactLogix System Catalog Numbers 1769 L20 1769 L30 User Manual Automation 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 Throughout this manual we use notes
49. E spacing tolerance 0 4 mm 0 016 in I Publication 1769 UM007D EN P August 2002 A 4 CompactLogix System Specifications Compact I 0 Expansion Power Supply and End Caps __ 40 35 35 _ 35 285 1 58 Tasa a38 03801 12 F 132 5 197 NOTE All dimensions are 122 6 0 2 in mm inches Hole 4 826 0 008 spacing tolerance 0 4 mm 0 016 in i n End Cap or Expansion Cable Compact 1 0 Power Supply Compact 1 0 End Cap or Expansion Cable ps Compact I O expansion cables have the same dimensions as the end caps gt Publication 1769 UMO007D EN P August 2002 Appendix B CompactLogix Troubleshooting Using This Appendix For information about See page CompactLogix controller LED descriptions B 1 Identifying Controller Fault Messages B 2 Calling Rockwell Automation for Assistance B 3 CompactLogix Controller LEDs fo be io fas O O I Channel 0 LED Channel 1 LED Publication 1769 UM007D EN P August 2002 B 2 CompactLogix Troubleshooting Identifying Controller Faults Publication 1769 UM007D EN P August 2002 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 Description RUN Off no task s running controller in
50. II instructions are used 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 RMO03 Using This Chapter 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 By using a 1761 NET AIC and the appropriate RS232 cable 1756 CP3 or 1747 CP3 a CompactLogix controller can send and receive data on a DH 485 network For information about See page Configuring your system for a DH 485 link 5 2 Planning a DH 485 network 5 5 Installing a DH 485 network 5 7 Example Messaging on DH 485 with SLC 5 03 CompactLogix 5 9 Controllers mE DH 485 network consists of multiple cable segments Limit the total length of all the segments to 1219m 4000 ft Publication 1769 UM007D EN P August 2002 5 2 Communicating with Devices on a DH 485 Link Configuring Your System for For the CompactLogix controller to operate on a DH 485 network a DH 485 Link Publication 1769 UM007D EN P August 2002 you need e a 1761 NET AIC interface converter for each CompactLogix controller
51. Length Error Code I Timed Out Extended Error Code Enable Q Enable Waiting Start Done Done Length 0 I Timed Out Cancel EERS o Error Code Extended Error Code Cancel Epp Help There are 50 words of data read from integer file N10 0 in the SLC 5 03 controller and stored in tag data_from_slc503_N1 The path on the Communication tab is 2 1 Channel 0 is port 2 from the controller s perspective and the SLC 5 03 controller the MSG is being sent to is node 1 The 2 in the path directs the MSG to channel 0 of the CompactLogix controller Use 3 for channel 1 of the pa 1769 L30 controller Publication 1769 UM007D EN P August 2002 5 14 Communicating with Devices on a DH 485 Link The second MSG instruction writes 50 integer words of data to the 1769 L30 controller at node 4 Its two MSG Instruction screens are as follows Message Configuration msg2 x Configuration Communication Tag l Message Type SLC Typed Write Source Tag data_to_L30_N4 7 New Tag Message Configuration msg2 x Number Of Elements 50 Configuration Communication Tag tination El t n11 0 Destination Element Path Browse 2 4 r Communication Method CP C DH Charr CIP With Prenat a Ade p Rz Pee e a aa s Source ID sial Enable Q Enable Waiting Start Done Done Length Pics Gene O Error Code I Timed Out Extended Error Code Cance
52. OK LK cce aw Hee gt The first 2 words of output data 0 and 1 are read only from the scanner s point of view but are control words for the controller Bit 0 of output word 0 is used for control It is the scanner s Run bit When set 1 it places the scanner into Run mode When the scanner s Run bit is a 0 the scanner is in Idle mode even if the controller is in Run mode The output data begins with word 2 This is where the actual output data goes for the output modules in the 1769 ADN adapter s system The input and output data being exchanged by the scanner and adapter is packed data This means that there is no special structure to it that makes it obvious which I O module it is associated with To establish which data is from which module you must list the number of input and output words each module has Then based on its position in the I O bank you can determine where any module s data is in the controller s I O tags Publication 1769 UM007D EN P August 2002 6 8 Communicating with Devices on a DeviceNet link Publication 1769 UM007D EN P August 2002 Transferring Data There are 28 bytes of input data and 6 bytes of output data for this example The I O modules in the adapter s system are Module Input Output ADN Status Information 2 words 0 words added by the 1769 ADN 1769 IA16 1 word 0 words 1769 0B16 1 word 1 word 1769 IF4 6 words 0 words 1769 OF2 4 words 2 wor
53. Port System Protocol Protocol Station Address Max Station Address Token Hold Factor 1 2 Cancel Apply Help Create a tag named data_from_L30_N4 Then map file 11 to that tag File 11 is the address used in the SLC 500 message from the 1769 L30 controller PLC 3 5 7 SLC Mapping OK E Cancel ey Help Delete Map m PLC 2 Mapping Tag Name z Next enter the MSG instructions End Publication 1769 UMO007D EN P August 2002 S FS JE msg2 DN msgl DN f MSG Type SLC Typed Read Message Control oo msql b Fo MSG Type SLC Typed Write i N gt Message Control msg2 E Fo Communicating with Devices on a DH 485 Link 5 13 The two messages toggle allowing one message to be sent at a time When it completes the other message is triggered and so on Configure the MSG instructions as follows Message Configuration msg1 x Configuration Communication Tag Message Type SLC Typed Read Message Configuration msg1 x Source Element nt 0 0 Configuration Communication Tag Number Of Elements 50 Path e Browse Destination Tag data_from_slc503_N1 7 New Tag i 21 Ese Communication Method OP CDH Chian z DE z CIP With j EREE fi otal Sor eS i cd ictal SS SSS SS M Cache Connections e O Enable Q Enable Waiting Start Done Done
54. apter to make the information more accessible How to use a 1769 SDN scanner in a DeviceNet configuration chapter 6 The 1761 NET DNI information previously in an appendix was chapter 6 moved to the Communicating with Devices on DeviceNet chapter to make the information more accessible You no longer need a 1761 NET ENI module connected to your chapter 7 computer to be able to communicate with a CompactLogix controller over Ethernet If you have series B ENI modules the computer can use its own Ethernet card to communicate with the CompactLogix controller The 1761 NET ENI information previously in an appendix was chapter 7 moved to the Communicating with Devices on EtherNet chapter to make the information more accessible Execution times and memory use are no longer documented in this manual This information for all Logix controllers is now available in one publication Logix5000 Controllers Execution Time and Memory Use Reference Manual publication 1756 RM087 Publication 1769 UM007D EN P August 2002 Summary of Changes 2 Notes Publication 1769 UM007D EN P August 2002 Who Should Use This Manual e who should use this manual e how to use this manual e related publications e conventions used in this manual e Rockwell Automation support Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics Use this manual if you are responsible
55. ation Allen Bradley 1 Device Communication Adapter 12 Product fi 761 NET DNI Series B DeviceNet Interface 32 Catalog fi 761 NET DNI Revision 2 001 4 gt Cancel Epp Help continued Communicating with Devices on a DeviceNet link 6 15 3 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 node 63 if the unit is new Modify its DeviceNet node address as we did with the first DNI module The DNI modules should now be at nodes 25 and 35 Eile Edit View Network Device Tools Help aS H8 lael Hardware x B DeviceNet Category BM AC Drive H A Barcode Scanner HA Common Interfaces No De EH Communication Adapter E 1734 ADN Point 1 0 Sc 1734 4DN PointlO Dev E 747 SDN Scanner Mo E 756 DNB A 1761 NET DNI Device 761 NET DNI Series B 769ADN A 1770 KFD R 232 Intert 771 SDN Scanner Mo 1784 CPCIDS DeviceN 784 PCD PCMCIA Inte 784 PCDS Scanner 1784 PCID DeviceNet 784 PCIDS DeviceNel 788 CN2DN Linking D 1794 ADN DeviceNet F 798 DeviceNet Adapte E E Ej Read eae 6 pie pou m Eg 3 3 2 ps a S 3 g Modular NGA 1761 NET DNI Series B DeviceNet Int amp alk Ew alma 1761 NET DNI 1761 NET DNI Series B Series B DeviceNet Int DeviceNet Int K 4 gt Graph Spreadsheet Mas
56. ator is the 1761 NET AIC interface converter baud rate selector switch dc power source selector switch W O E terminals for external 24V dc power supply WARNING EXPLOSION HAZARD The 1761 NET AIC is rated Class I Division 2 An external power supply must be used in hazardous locations and the DC Power Source selector switch must be in the EXTERNAL position before connecting the power supply to the AIC Refer to the Advanced Interface Converter AIC User Manual publication 1761 6 4 for installation requirements especially if operating in a hazardous area Publication 1769 UMO007D EN P August 2002 Communicating with Devices on a Serial Link 4 5 If you are using an isolator 2 Select the appropriate cable Use this cable The 1761 CBL APO00 cable right angle bend connector to controller or the 1761 CBL PM02 cable yes 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 available so you cannot make this cable 6 O 1 7 2 678 re 3 8 8 5 9 O 5 12 DB 9 right angle or 8 pin mini DIN straight cable end cable end Pin DB 9 end Mini DIN end 1 DCD DCD 2 RxD RxD 3 TxD TxD 4 DTR DTR 5 ground ground 6 DSR DSR 7 RTS RTS 8 GIS CTS 9 na na no The 1756 CP3 cable attaches
57. cal 2 Liat fect 4B 1769_D016 1 0 f Local 2 0 Mino tire 4B 1769_D016 0 0 E H Local 3 C R i ESG 4B 1769_1F4 C 0 E H Local 3 1 Peet isat 4B 1769_1F4 1 0 H Loca 4 C ay AB 1769_OF2 C 0 E H Local 4 1 Gat AB 1769_0F2 1 0 fa Local 4 0 i 4B 1769_0F2 0 0 outputa Decimal BOOL Eimer 1 E TR TIMER Publication 1769 UM007D EN P August 2002 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 these modules Inhibiting a module shuts down the connection from the controller to that module When you create an I O module 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 i Module Properties Local 1 1769 1416 A 1 1 x General Connection Requested Packet Interval RPI 2 0 ms ca M i r Module Fault it On Controller If Connection Fails While m Run Mode Status Offline
58. cation 1769 UM007D EN P August 2002 D 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 s causing memory allocation as described in the table below One simple method to reduce the affect that message instructions have on user available memory is to prevent messages from being sent simultaneously In general interlocking messages in this fashion is good practice for peer to peer communications on networks such as DH 485 and DeviceNet Type Connection Established Dynamic Memory Allocated Backplane Incoming The message is connected 1200 bytes connection established The message is unconnected no 1200 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 optimization 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 One trend object can handle approximately 100 tags connection points Trend Driver Created to communicate to the trend object 36 bytes single point some economy
59. cation 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 0 task 1 ms 3 ms 2 ms selected RPI 3 10 10 ms periodic task 4ms 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 Publication 1769 UMO007D EN P August 2002 What Is CompactLogix 2 5 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 selected 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 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 completion from first to last Programs that are not attached to any task show up as unscheduled programs You must specify sc
60. connecting ASCII devices 4 17 connecting devices 4 6 defaul configuration 4 1 DF1 protocol 4 9 hardware 4 4 master 4 14 overview 4 1 point to point 4 11 slave 4 14 slave master communication 4 12 specifications A 1 staggering multiple messages 7 12 storing batteries C 1 synchronize 1 0 3 5 system overhead 2 6 T tag alias 3 13 creating 1 11 names 3 11 sample alias 1 12 viewing 1 10 task defining 2 3 priority 2 3 trends D 3 troubleshooting B 1 Publication 1769 UM007D EN P August 2002 4 Index V verifying 1 0 layout 3 4 viewing controller memory usage 1 17 1 0 tags 1 10 scan time 1 16 Publication 1769 UM007D EN P August 2002 How Are We Doing PANE Your comments on our technical publications will help us serve you better in the future Thank you for taking the time to provide us feedback Ty You can complete this form and mail it back to us visit us online at www ab com manuals or email us at RADocumentComments ra rockwell com Pub Title Type CompactLogix System User Manual Cat No 1769 L20 L30 Pub No 1769 UMO07D EN P Pub Date August 2002 PartNo 957689 84 Please complete the sections below Where applicable rank the feature 1 needs improvement 2 satisfactory and 3 outstanding Overall Usefulness 1 2 3 How can we make this publication more useful for you c 1 2 3 Can we add more information to help you ompleteness all necessary information F procedure step F
61. controller defaults to node address 1 Initiators such as personal computers should be assigned the lowest numbered addresses to minimize the time required to initialize the network 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 Maiti use shielded twisted pair cable either Belden 3106A or Belden 9842 A daisy chained network is recommended 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 Publication 1769 UM007D EN P August 2002 5 8 Communicating with Devices on a DH 485 Link Single Cable Connection Belden 3106A or 9842 L Shrink tubing recommended Orange with white stripes White with orange stripes D G Termination opts 8 4 E A 4 B X 2 3 Common E X OV Shield 2 1 Chassis Ground Blue 3106A or drain wire Blue with white stripes 9842 Multiple Cable Connection to successive device to previous device 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 Shield blue blue 3 Common white o
62. counter E R6 CONTROL E N7 INTEGER E F8 FLOAT Bi mo O n E M12 RECD_DATA 5 Force Files E o0 output E n input Custom Data Monitors E como untitled E Trends Database E Adaress Symbol instruction Comments Rung Comments Page Title Address Symbol Picker amp symbol Groups MSG Read Write Message Peer To Peer Write PLCS Local N10 0 51 Control Block Control Block Length Setup Screen MSG Read Write Message jee Type Peer To Peer j cDN ee Read Write Write PLCS Local N7 100 51 Target Device LocalRemote Control Block Control Block Length Setup Screen DE Fie 2 HZ Configure the MSG instruction on rung 0 as follows 3MSG N10 0 51 Elements SEE Communication Command Data Table Address Size in Elements Channel PLCS write N11 0 20 1 m Target Device Mestage Timeout Data Table Address Local Remote Enor Description No errors B N1200 Local MulliHop General MultHlop Control Bits Ins Add Hop Del Remove Hop Ignore i timed out T0 0 ae bi i _ Taoa This SLC500 T T756ENst P st 131 200 50 93 Awaiting Execution Ew 0 ControlLogix Backplane N A 1756 Backplane Slot dec Continuous Run CO fo Enor ER 0 Message done DN 1 Message Transmitting 5T 0 Message Enabled EN 0
63. ctLogix system EXAMPLE I O module on the local CompactBus utilizing two banks Publication 1769 UMO007D EN P August 2002 1 2 oye toy Bank 1 Lo Go 4 o Bank 2 _ _ Placing Configuring and Monitoring Local O 3 13 Direct Connections for 1 0 Modules 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 Bank 2 Local 4 C Local 4 1 Local 4 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 Local 1 1 Fault 0 1 0 points alias light_on Local 1 Data 0 0 light_off Local 1 Fault 0 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
64. d Immunity IEC61000 4 3 10 V m 80 to 1000 MHz 80 amplitude modulation 900 MHz keyed carrier Fast Transient Burst IEC61000 4 4 2 kV 5 kHz Surge Immunity IEC61000 4 5 1 kV galvanic gun Conducted Immunity IEC61000 4 6 10V 0 15 to 80 MHz 1 Conducted Immunity frequency range may be 150 kHz to 30 MHz if the Radiated Immunity frequency range is 30 MHz to 1000 MHz The amount of memory that the software displays IMPORTANT IMPORTANT includes both the user available memory and the memory reserved for overhead Certain operations dynamically allocate and de allocate user available memory 1747 BA Battery The CompactLogix controller uses the 1747 BA battery Battery 1747 BA containing 0 59g lithium battery A A 4 connector 8 a a battery 5 Fe battery connector battery Lf ez d U Publication 1769 UM007D EN P August 2002 CompactLogix System Specifications A 3 Dimensions CompactLogix Modular Controller CompactLogix5320 CompactLogix5330 Dimension Value Height A 118 mm 4 649 in Width B 50 mm 1 97 in Depth C 87 mm 3 43 in CompactLogix System 40 35 35 35 35 28 5 1 575 1 38 4 38 1 1 38 1 38 1 12 T 1 aa T 132 5 5 2 o 5 197 ex ce te 2 S gt i oc n NS NOTE All dimensions are 422 6 0 2 2 a 4 z 3 z in mm inches Hole 4 826 0 008 amp 5 2 D l
65. ds Total Words 14 words 3 words Total Bytes 28 bytes 6 bytes The total is 14 input words or 28 input bytes The first two input words are adapter status leaving 12 words 24 bytes for data In this example words 66 and 67 are the two words of status in the controller input tag for the scanner The actual input data is then mapped to the controller s input data tag at the following word locations Location Description Words 66 and 67 1769 ADN Status Information Word 68 1769 IA16 module s input word Word 69 1769 0B16 module s input data output data echo Words 70 to 75 1769 IF4 module s input data Words 76 to 79 1769 OF2 module s input data The output data can be determined in a similar manner This data begins with word 2 of the output tag in the controller for the scanner as follows Location Description Word 0 and 1 See Module Command Array on page 6 9 Word 2 1769 0B16 module s output word Words 3 and 4 1769 OF2 module s output words Communicating with Devices on a DeviceNet link 6 9 Module Command Array The module command array is the primary control interface between your control program and the module Output Word Bit Description Behavior 0 0 Run This bit controls when the module scans its mapped slave devices When set 1 the scanner will process 1 0 data as defined by its scanlist To actually scan the network the Fault and Disable Network command bi
66. dules For more information about analog modules see the Compact I O Analog Modules User Manual publication 1769 UM002 Only analog and specialty modules are configurable Discrete I O modules power supplies and end caps are not configurable Configuration changes made to the adapter or any of its I O modules with RSNetWorx will not be saved or downloaded to the gt gt adapter once the adapter is configured in a scanner s scanlist To make configuration changes the controller must be placed into the Program mode and the adapter must be temporarily removed from the scanner s scanlist Publication 1769 UMO007D EN P August 2002 Communicating with Devices on a DeviceNet link 6 5 Step 2 Setting Up the 1769 SDN Scanlist The 1769 SDN series B scanner supports automatic device recovery ADR An ADR tab appears in the scanlist window in RSNetWorx for DeviceNet for series B scanners so you can enable the ADR feature This feature automates the replacement of a failed slave device on a DeviceNet network by returning the device to the prior level of operation includes automatic address recovery which allows a slave device to be removed from the network and replaced with another identical slave device that is residing on the network at node 63 and is not in the scanlist e includes configuration recovery which allows a slave device to be removed from the network and replaced with an identical device with the same configuratio
67. e Memory Offline fl E RUN Memory Used j i U d No Forces gt M OK be e E BAT Total No Edits a E 10 Controller Fault Handler lt none gt Power Up Handler kne H z System Overhead m Verity Time Slice iE jz C3 Contr Print Ca Powe Security S Tasks Properties Cancel 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 overhead 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 Atthis time slice The continuous tasks And then overhead occurs _ runs for for up to 10 9 ms 1 ms 20 4 ms 1 ms 33 2 ms 1 ms 50 1 ms 1 ms Publication 1769 UM007D EN P August 2002 What Is CompactLogix 2 7 At the default time slice of 10 system overhead interrupts the continuous task every 9 ms of continuous task time as illustrated below Legend oi Task executes Task is interrupted suspended
68. e connection to the module is open 0 or closed 1 If the connection is closed 1 the Fault_Bit it set 1 You can also view module fault data on the Connection tab of the Module Properties screen E Module Properties Local 1 1769 MODULE 1 1 x General Connection 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 Status Offline Cancel Apply Help 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 power Publication 1769 UM007D EN P August 2002 3 16 Placing Configuring and Monitoring Local 1 0 Publication 1769 UM007D EN P August 2002 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 the 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 Configuring 1 0 Modules Using the Generic Profile Placing Configuring and Monitoring Local O 3 17 Use the Generic 1769 Module profile only when a 1769 I O module does not appear in the list o
69. e lost when the battery is removed Make a copy of your user program before removing and replacing the battery 1 Save your user program 2 Make sure the new 1747 BA battery is available and ready for installation 3 Turn off power to the CompactLogix controller Publication 1769 UM007D EN P August 2002 C 4 Maintaining the Battery 4 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 5 Remove the old battery CompactLogix5320 CompactLogix5330 battery connector battery battery connector battery 6 Install a new 1747 BA battery The battery connector is keyed to install only with the correct polarity ATTENTION Only install a 1747 BA battery If you install a different battery you may damage the controller 7 Write battery date on door of controller 8 Apply power to the controller On the front of the controller is the BATTERY LED off If Then Yes Go to the next step No Remove power then A Check that the battery is correctly connected to the controller 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 9 Download your user progra
70. e recommended corrective action The Logix5000 Controllers Common Procedures Manual publication 1756 PM001 also contains procedures for monitoring faults and developing fault routines CompactLogix Troubleshooting B 3 Calling Rockwell If you need to contact Rockwell Automation or local distributor for Automation for Assistance 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 Publication 1769 UM007D EN P August 2002 B 4 CompactLogix Troubleshooting Notes Publication 1769 UM007D EN P August 2002 Using this Appendix Storing Replacement Batteries Estimating Battery Life Appendix C Maintaining the Battery For information about See page Storing replacement batteries C 1 Estimating battery life C 1 Replacing batteries C 3 Because a battery may leak potentially dangerous chemicals if stored 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 When the battery is about 95 perc
71. eneral Connection Module Info l CompactBus 1769 Virtual Backplane Adapter Allen Bradley Controller iocar Slot E 4 Chassis Size E Type Vendor Parent Name Description Comm Format None z E Revision Status Offline Specify the size of the chassis Enter the number of modules you plan to install including the controller If the total number of modules is less than 9 there is no need to decrease this number The system will operate the same If you decrease this number and want to add a module later you will need to remember to increase the chassis size at that time continued Publication 1769 UM007D EN P August 2002 1 6 Getting Started Configuring the CompactBus continued 3 View the Connections tab Specify the RPI for the CompactLogix system p E Module Properties Controller 3 CompactBus 11 1 x General Connection Module Info Requested Packet Interval RPI pos ms 2 0 750 0 ms Inhibit and uninhibit the t gt gt JT Inhibit Module CompactLogix system IV Major Fault On Controller If Connection Fails While in Run Mode r Module Fault Click OK Status Offline Cancel Publication 1769 UM007D EN P August 2002 The RPI you specify here is the RPI for every 1769 module in this controller s system Specify an RPI from 2 750ms for the system You do not specify individual RPI values for each module By inhibiting and uninh
72. ent discharged the controller provides the following warnings e On the front of the controller the BATTERY LED turns on solid red e A minor fault occurs type 10 code 10 To estimate how long the battery will support the memory of the controller 1 Determine the temperature C 1 inch below the CompactLogix controller Publication 1769 UM007D EN P August 2002 Maintaining the Battery Publication 1769 UM007D EN P August 2002 2 Determine the percentage of time that the controller is powered on per week e 8 hr day during a 5 day work week e all day Saturday and Sunday Then the controller is on 52 of the time 1 total hours per week 7 x 24 168 hours EXAMPLE If a controller is on 2 total on hours per week 5 days x 8 hrs day Saturday Sunday 88 hours 3 percentage on time 88 168 52 Use the on time percentage you calculated with the following tables to determine battery life CompactLogix5320 Typical Minimum Battery Life Time ON OFF at 25 C 77 F at 40 C 104 F at 60 C 140 F Always OFF 12 months 10 months 7 months ON 8 hours per day 16 months 13 months 10 months 5 days per week ON 16 hours per day 23 months 19 months 14 months 5 days per week Always ON Not applicable 1 There is almost no drain on the battery when the controller is always ON CompactLogix5330 Typical Minimum Battery Life Time ON OFF at 25 C 77 F a
73. er 3 CompactBus 8 1 x General Connection Module Info Type CompactBus 1769 Virtual Backplane Adapter Vendor Allen Bradley Parent Controller name feet ce BO 4 Chassis Size E a Comm Format Nme a EE l Description Revision Status Offline Cancel Apply Help Publication 1769 UM007D EN P August 2002 3 6 Placing Configuring and Monitoring Local 1 0 Publication 1769 UM007D EN P August 2002 On the General tab specify the size of the Chassis Enter the number of modules you plan to install Include the CompactLogix controller in this total along with a maximum of 8 1769 L20 or 16 1769 L30 I O modules not including the power supply 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 Using the Connection tab you can specify the RPI for the systems and choose to inhibit or uninhibit the CompactBus E Module Properties Controller 3 CompactBus 11 1 xj General Connection Module Info Requested Packet Interval RPI pos ms 2 0 750 0 ms J Inhibit Module R Major Fault On Controller If Connection Fails While Module Fault Status Offline Cancel Apply Help The RPI you specify here is the RPI for every 1769 module in this controller s system Specify an RPI from 2 750ms for the system You do not specify individual RPI values for each module By inh
74. f modules to add to the Controller Organizer To configure a 1769 I O module for a CompactLogix controller using the generic profile 1 In the Controller Organizer select the CompactBus Right click the selected rail and select New Module 2 Select the 1769 MODULE Generic 1769 Module profile x File Edit View Search Logic Communications To Type Major Revision 1769MODULE fi x Offline RUN kerel 7 ee E o Eg Lm Description NoForces P E pat 1 769 IF 4XOF 2 4 4 Channel Input 2 Channel Qutput Low Resolution Analog No Edits Ar vo 1 1769 1M12 A 12 Point 240V AC Input a 4 16 Point 24V DC Input Sink Source E Controller quickstart A Controller Tags Controller Fault Handler C Power Up Handler B E Tasks 6 8 MainTask B 3 MainProgram E Program Tags Eh MainRoutine 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 6 Channel RTD Direct Resistance Analog Input 6 Channel Thermocouple m Analog Input Generic 1769 Module 16 Point 100 240V AC Output 8 Point 100 240 AC Output 8 Point 100 240 AC Output 16 Point 24V DC Output Source g n Show L Unscheduled Programs E Trends 6 6 Data Types gt Vendor fa 7 IV Other IV Specialty 1 0 Select All V Analog I Digital IV Communication V Motion JV Controller Clear All Ep User Defined E EN Stings STRING E Ep Predefined
75. formation about See page Placing local 1 0 modules 3 1 Verifying 1 0 layout by adding total words of backplane memory used 3 4 Important You must verify backplane memory use to make sure that the controller can support the proposed system Determining when the controller updates local 1 0 3 5 Configuring a DIN rail 3 5 Configuring local 1 0 modules 3 7 Inhibiting I O module operation 3 9 Accessing 1 0 data 3 11 Monitoring 1 0 modules 3 14 Configuring modules using the 1769 Generic Profile 3 17 The 1769 L20 controller supports as many as 8 local I O modules on the CompactBus The 1769 L30 controller supports up to 16 local I O modules You can also use the 1769 CRR1 CRR3 or 1769 CRL1 CRL3 cable to split the system into 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 1769 L20 supports a maximum of two banks 1769 L30 supports a maximum of three banks 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 UM007D EN P August 2002 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 The
76. ftware you should be able to download your CompactLogix and ControlLogix programs From the RSLogix 500 software you should be able to download your SLC 5 05 program Once all programs are downloaded to their respective controllers place each controller into the RUN mode and a MSG from each controller will be sent to each of the other controllers Each controller will only send one MSG at any given time Go online with the controllers to verify the successful completion of the messages Example 1 Creating MSG Programs for SLC 5 05 and ControlLogix Controllers f3MSG N10 0 51 Elements aI Mutitiop p This Controller Communications on Ethernet 7 9 The following is the ladder program is for the SLC 5 05 controller The following RSLogix 500 screens show the tabs for each MSG instruction Before saving your program make sure to configure channel 1 with its IP address subnet mask and disable BOOTP Then save the program RSLogix 500 Eni_test rss File Edit View Search Comms Tools Window Help Deas ee o m220 Jaen aao OFFLINE No Edits Driver AB_ETH BEES aE No Forces Forces Disabled oH TT AE YE lt gt gt a gt net aes H Compare User Bit Timer Counter Input Output amp Program Files B syso B sys1 an2 Data Files B cross Reference E 00 output Bi it input D s2 status E 53 BINARY E 14 Timer Bi c5
77. h hth Source Link J 3 Destination Node J0 Source ID I Cache Connections e O Enable Enable Waiting Start Done Done Length 50 Error Code I Timed Out Extended Error Code Cancel Apply Help The path parameter is the only field to modify The path shown above 2 35 routes the message out port 2 channel 0 of the local 1769 L20 controller and to a destination node address 35 This is the DeviceNet node address of the DNI to which the remote 1769 L30 controller is connected The cache connections selection is not valid for serial port communications The second message in rung 1 of the ladder logic 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 data25 and the destination is a tag in the sending controller called DATA_FROM_NODE35 The tag data25 tag is located in the 1769 L30 1769 L20 controller read and write data Before saving the project 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 CompactLogix controllers are identical except for the error checking method The DNI module uses the CRC check by default while the CompactLogix controller s serial port defaults to BCC Publication 1769 UM007D EN P August 2002 6 18 Communicating with Devices on a DeviceNet link If you
78. hedule 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 Publication 1769 UM007D EN P August 2002 2 6 What Is CompactLogix Selecting a System The Controller Properties dialog lets you specify a percentage for system overhead This percentage specifies the percentage of Overhead Percentage 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 f RSLogix 5000 quickstart 1769 120 oix File Edit View Search Logic Communicatior F General Serial Port System Protocol User Protocol Major Faults Minor Faults Date Time Advanced SFC Execution File Nonvolatil
79. hs Ae dd are he SUh 1 11 Documenting I O with alias tags 444 ov gee PONS Hed 1 12 Entering LOGIC 5 ipik iu petri ED BAG Gein ES Pediat 1 13 Downloading a project esa Gary Reet eG Pen ae eae 1 15 Viewing program scan time coe ee SAGA Mes 1 16 Viewing controller memory usage 1 17 What To Do Next tnt uaaa 1 17 Chapter 2 Using This Chapters gnc teaches aba ea ea 2 1 Developing PIOCCIISS aide eto ee een te eo 2 2 Defining Tasks o a fe teta p E Gey aR BE aed wy Nb ng 2 3 Defining Programs nasasa 2 5 Definite RO tNES siaa ie eee a E ER Mis 2 5 Selecting a System Overhead Percentage 2 6 Chapter 3 Usine This Chapter eS 4 0 54 ol eh ei OH SB on hes 3 1 Placing Local I O Modules 0 0 0000000 ee eae 3 1 System Power Budget Calculation and Considerations 3 3 Verifying I O Layout by Adding Total Words of Backplane Memory Used rasaksa eave eG kee ee Sl aes woe bot 3 4 Determining When the Controller Updates I O 3 5 Configuring the CompactBus 000004 3 5 Configuring Local I O Modules 6 6 4 nctee io Gea asp pea Gee 8 3 7 Communication Formats 465 24 ee ee 3 8 Inhibiting I O Module Operation 3 9 Configuring Response to a Connection Failure 3 11 Accessing I O Data es aotar Pao ROHS a SOQ RAS 3 11 Using Aliases to Simplify Tag Names 3 13 Direct Connections for I O Modules 3 13 Monitoring I O Modules 24 60
80. ibiting and uninhibiting the CompactBus you can write new configuration data to the entire system at once 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 Modules the controller 1 In the Controller Organizer select the CompactBus Right click the selected rail and select New Module 2 Select the module 1769 IA16 in this example o RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications To tie J EAN xl No Forces b Ok No Edits a M BAT Type Major Revision i 1769441 67A fl Description amp let quickstart i B Controller quickstart High Speed Counter A Controller Tags 5 Controller Fault Handler 16 Point 120V AI 8 Point Isolated 120V AC Input tS arel Handler 1 7B9 1F 4 4 4 Channel Current Voltage Analog Input amp MainTask 1 769 1F 4 B 4 Channel Current Voltage Analog Input 3 MainProgram 1769 1F4x0F2 4 4 Channel Input 2 Channel Output Low Resolution Analog A Program Tags 1769 IM12 4 12 Point 240V AC Input EB MainRoutine 1769 10164 16 Point 24V DC Input Sink Source GE Unscheduled Programs 1 769 IQEXOW4 74 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 3 Tends 1769 IQEXOW4 B 6 Point 24V DC Sink Source Input
81. ibiting the CompactBus you can write new configuration data to the entire system at once The controller s response to a CompactBus connection failure is fixed to always fault the controller It is not configurable Getting Started 1 7 Adding a local 1 0 module 1 Create anew module Important If you add I O modules other than the ones listed for this example verify backplane memory use to make sure that the controller can support the proposed system see page 3 4 The controller supports 256 words of backplane memory and some 1 0 modules consume more backplane words than others A Place the cursor over 0 CompactBus Local p B Click the right mouse button and select New Module 2 Select an I O module to add Select a catalog number For this example select 1769 IA16 Click OK o RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications To Offline 1 m RUN No Forces py T 0K No Edits M BAT vo e or ii 4 mi r Ege a f a a fEl aa fE Controller quickstart A Controller Tags Tasks Sal MainT ask E E MainProgram Program Tags fa MainRoutine E Unscheduled Programs Trends Data Types Cp User Defined ER Stings i STRING Cp Predefined Ga Module Defined 1 0 Configuration ag Controller Fault Handler Power Up Handler Select Module Type xj Type Major Revision 1 7 Descripti
82. ies the node address of the CompactLogix controller on the DH 485 network Select a number 1 31 decimal inclusive To optimize network performance assign node addresses in sequential order Initiators such as personal computers should be assigned the lowest address numbers to minimize the time required to initialize the network Token Hold Factor Specifies the number of messages sent per token possession 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 Planning a DH 485 Network The DH 485 network offers e interconnection of 32 devices e multi master capability e 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 initiators and responders All initiators on the network get a chance to initiate message transfers The DH 485 protocol uses a token pass algorithm to determine which initiator has the right to transmit DH 485 Token Rotation A node holding the token can send any valid packet onto the network As a default each
83. illustration F feature ided is provided fe example guideline L other C explanation C definition Technical Accuracy 1 2 3 Can we be more accurate all provided information ae is correct L text L illustration Clarity 1 2 3 How can we make things clearer all provided information is easy to understand Other Comments You can add additional comments on the back of this form Your Name Location Phone Your Title Function Would you like us to contact you regarding your comments No there is no need to contact me Yes please call me Yes please email me at Yes please contact me via Return this form to Allen Bradley Marketing Communications 1 Allen Bradley Dr Mayfield Hts OH 44124 9705 Phone 440 646 3176 Fax 440 646 3525 Email RADocumentComments ra rockwell com Publication ICCG 5 21 January 2001 PN 955107 82 PLEASE FASTEN HERE DO NOT STAPLE Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE Allen Bradley aA a DODGE 2 Rockwell Automation 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 PLEASE REMOVE Reach us now at www rockwellautomation com Wherever you need us Rockwell Automation brings together leading brands in industrial
84. ing 0 tags 1 10 viewing scan time 1 16 grounding DH 485 network 5 9 serial network 4 6 H hardware DeviceNet 6 13 DH 485 5 2 Ethernet 7 1 serial 4 4 1 0 module alias 3 13 backplane memory use 3 4 communication format 3 8 CompactBus 3 5 configuring local 3 7 connection 3 13 end cap detection 3 16 fault data 3 14 generic profile 3 17 local overview 3 1 monitoring 3 14 power consumption 3 3 inhibit operation 3 9 CompactBus 3 6 input module adding 1 7 IP addresses 2 L LED status B 1 local 1 0 backplane memory use 3 4 CompactBus 3 5 configuring 3 7 generic profile 3 17 overview 3 1 placing 3 1 power consumption 3 3 logic entering 1 13 Logix environment 2 1 low battery C 1 mapping data table files 7 7 master slave communication 4 12 memory backplane 3 4 controller usage 1 17 memory allocation D 1 messages D 2 monitoring I O module 3 14 P placing local 1 0 3 1 power budgeting 3 3 power supply current capacity 3 3 priority 2 3 program defining 2 5 developing 2 2 programming inhibiting a module 3 10 project creating 1 3 developing 2 2 downloading 1 15 program 2 5 properties 1 4 routine 2 5 task 2 3 Index 3 replacing the battery C 1 routine defining 2 5 RSLinx tag optimization D 2 S scan list 6 5 scan time 1 16 serial ASCII protocol 4 16 cable pinouts 4 5 cables 4 3 Channel 0 Default Communication push button 4 2 communication driver 4 10 configuring the system 4 3
85. ing with Devices ona Serial Link 4 11 Example 1 Workstation In the following example a workstation directly connects to a Directly Connected 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 serial serial ao fs i eet mr isolator recommended for use T with Channel 0 which is not isolated CompactLogix5320 CompactLogix5330 0a E T ooo m ee 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 Specifies the number of NAKs the controller can receive in response to a message transmission limit Enter a value 0 to 127 The default is 3 ENO transmit Specifies the number of inquiries ENQs you want the controller to
86. ink The Channel 0 Default Communication Push Button is located on the front of the controller in the lower right corner Channel 0 Default Communication Push Button Channel 0 Default Communication Push Button CompactLogix5320 CompactLogix5330 The Channel 0 Default Communication Push Button is recessed It only resets Channel 0 which is the top serial connection on a 1769 L30 controller For the CompactLogix controller to operate on a serial network you need e a workstation with a serial port e RSLinx software to configure the serial communication driver e RSLogix5000 programming software to configure the serial port of the controller IMPORTANT ae ie length of serial RS 232 cables to 15 2m Publication 1769 UM007D EN P August 2002 4 4 Communicating with Devices on a Serial Link Step 1 Configure the Hardware The Channel 0 RS 232 port on a CompactLogix controller is a non isolated serial port built in to the front of the controller The Channel 1 RS 232 port on the 1769 L30 controller is isolated 1 Determine whether you need an isolator If you connect Channel 0 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 Channel 0 directly to a programming workstation If you connect to Channel 1 of the CompactLogix5330 an isolator is not needed gt One possible isol
87. is not isolated CEE 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 UMO007D EN P August 2002 standard communication mode Communicating with Devices on a Serial Link 4 13 A master station can communicate with a slave station in two ways This method initiates polling packets to slave stations 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 Benefits This communication method is most often used for 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 sta
88. ith the MicroLogix type string files To configure the ENI module 1 Create a tag to be the source element in your MSG write instruction Scope JENI_KB contraller 7 Show Show All e The data type must be integer e The size must be 42 A MicroLogix string file contains 42 elements In this example the tag name is ENIL CONFIG_DATA x Sort Tao Name 7 Tag Name 2 Value Force Mask Style Type Description PEEN conr Daa O asol INTIZI H ENI_CONFIG_DATA 0 30 Decimal INT ENI_CONFIG_DATA 1 EN ASCII INT G ENI_CONFIG_DATA 2 ee ASCII INT ENI_CONFIG_DATA 3 oo ASCII INT GL ENI_CONFIG_DATAI4 No ASCII INT ENI_CONFIG_DATAJ5 oo ASCII INT ENI_CONFIG_DATAJ6 oye ASCII INT ENI_CONFIG_DATA oo ASCII INT G ENI_CONFIG_DATA 8 rogi ASCII INT EH ENI_CONFIG_DATAIS 2a ASCII INT ENI_CONFIG_DATA 10 Ro ASCII INT ENI_CONFIG_DATA 11 CK ASCII INT ENI_CONFIG_DATA 12 WE ASCII INT G4 ENI_CONFIG_DATA I 3 LL ASCII INT ENI_CONFIG_DATA 14 or ASCII INT GLENI_CONFIG_DATAII 5 RG ASCII INT ENI_CONFIG_DATA 16 00 00 ASCII INT ENI _CONFIG_DATA I 7 00 00 ASCII INT ENI_CONFIG_DATA 18 00 00 ASCII INT ENI CONFIG DATANSI 00 00 ASCII INT 2 In ENI _CONFIG_DATA 0 change the style to decimal and enter the number of ASCII characters in the email address In this example the address is ENI100 100 100 52 rockwell org
89. le to both connectors 4 Connect the cable to the controller and the ASCII device The following table lists the default serial port configuration settings for the ASCII protocol You specify these settings on the User Protocol tab under Controller Properties Publication 1769 UM007D EN P August 2002 4 18 Communicating with Devices on a Serial Link Publication 1769 UM007D EN P August 2002 Configuring User Mode This field Buffer size 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 FF Append characters Specify the characters you will append to the end of a line The default characters are r and I 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 Both of the CompactLogix controllers support ASCII instructions on Channel 0 However at this time the CompactLogix5330 controller does not support ASCII instructions on Channel 1 ASC
90. ller and output data transfers to output modules are asynchronous to the logic scan gt 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 Controllers 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 1 In the Controller Organizer select either the CompactBus Right click and select Properties f amp RSLogix 5000 quickstart 1769 120 File Edit View Search Logic Communications Tools Window Offline fl RUN No Forces Be ve No Edits Air ie Controller quickstart A Controller Tags E Controller Fault Handler E Power Up Handler Tasks Sa MainTask E MainProgram E Unscheduled Programs Motion Groups E Ungrouped Axes Trends 6 6 Data Types i User Defined oe Strings a Predefined i Module Defined 6 8 YO Configuration EELO CompactBus Loca New Module Gut GEEK Copy Ctrl C Paste Gtr Delete Del Cross Reference Ctri E Gh P Print Azalea Eg HA Pan e 4 Alte E Module Properties Controll
91. ller 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 E HCDND CER gt End 2 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 MSG_NOD35wW x Configuration Communication Tag Message Type CIP Data Table Write JDATA_TO_NODE35 0 x New Tag Number Of Elements feo Source Tag Destination Element data25 O Enable Enable Waiting Start Done Done Length 50 Error Code T Timed Out Extended Error Code continued Publication 1769 UMO007D EN P August 2002 Communicating with Devices on a DeviceNet link 6 17 The message is a CIP Data Table Write message In the controller connected to the DNI node 25 the source tag for the message is DATA_TO_NODE35 The destination element is a tag in the 1769 L30 controller 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 3 The Communication tab for the MSG Write Instruction looks like the following Message Configuration MSG_NOD35wW x Configuration Communication Tag Path 2 39 Browse 2 35 Communication Method CGP CDH Crane Ty Destination Lint r FIE og G
92. ller scoped The format is list 0 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
93. m Publication 1769 UMO007D EN P August 2002 Maintaining the Battery C 5 10 Dispose the old battery according to state and local regulations ATTENTION Do not incinerate or dispose of 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 UM007D EN P August 2002 C 6 Maintaining the Battery Notes Publication 1769 UM007D EN P August 2002 Appendix D 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 As these functions become active memory is allocated Memory is then de allocated when these functions become inactive The CompactLogix controller dynamically allocates memory for the following Trend Objects e Trend Drivers e Connections Operations that dynamically allocate memory are e Messages e Connection to a Processor with RSLogix 5000 e RSLinx Tag Optimization e Trends DDE OPC Topics Although messages are the most likely to cause dynamic memory allocation on a CompactLogix system all the above operations are discussed in the following sections along with general guidelines for estimating the amount of memory allocated Publi
94. mine On Inputfoutp compare ckstarti Controller Tags Controller Fault Handler E Power Up Handler controller organizer gt f gt S Take H A MainTask 23 MainProgram Program Tags Ea MainRoutine E Unscheduled Programs Trends 6 6 Data Types Gi User Defined CR Strings STRING Oi Predefined Oy Module Defined 1 0 Configuration BEES f f FP 5 4 0 CompactBus Local 1 17694416 Input_Modulg 8 2 1769 0816 Output_Moful 9 3 1769 F4 B Analog_Iy Mi 8 4 1769 0F2 B Analog Create Examine On instruction J Publication 1769 UM007D EN P August 2002 1 4 Getting Started Changing project properties 1 View properties for Controller quick_start A Place the cursor over the Controller quick_start folder p B Click the right mouse button and select Properties 2 View the General tab The screen defaults to the General tab Verify that the controller settings are correct Make changes if necessary gt Click OK Publication 1769 UMO007D EN P August 2002 So RSLogix 5000 quickstart 1769 L4 File Edit View Search Logic Commu Offline fl E RUN No Forces gt F OK m BAT No Edits ar ya Verify Controller Ta c Controller Fa Print C Power Up H amp Tasks h Ba usr o Properties u fo Controller Properties quicksta
95. mote programming over DH 485 DeviceNet and Ethernet The following table lists some of the differences between the two available CompactLogix controllers Specification CompactLogix5320 CompactLogix5330 Communication ports 1 RS 232 2 RS 232 User memory 64K bytes 256K bytes Maximum number of I O modules supported 8 1 0 modules 16 1 0 modules Maximum number of I 0 banks supported 2 banks 3 banks You must use the 1 0 memory worksheet on page 3 4 to verify whether the layout of the 1 0 modules you select Publication 1769 UM007D EN P August 2002 1 2 Getting Started j j The following diagram illustrates the steps you follow to create and Creating and Downloading g diag ps y Project download a project The remainder of this chapter provides examples a rrojec of each step System setup for this quick start 1 Create a project see page 1 2 1769 L20 CompactLogix controller e slot 1 1769 IA16 e slot 2 1769 0B16 e slot 3 1769 IF4 Configure the 1761 NET AIC e slot 4 1769 OF2 CompactBus see page 1 5 Configure 4 1 0 modules see page 1 7 Create tags e RSLogix5000 programming software see page 1 11 e RSLinx communication software e DF1 point to point serial connection from the workstation to the controller ee ae using 1756 CP3 or 1747 CP3 cable Pe ee e 1761 NET AIC isolator recommended for
96. mum number of I O modules supported 8 1 0 modules 16 1 0 modules Maximum number of I O banks supported 2 banks 3 banks Backplane current 600 mA at 5V de 800 mA at 5V de 0 mA at 24V de 0 mA at 24V de 3W AW 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 in peak to peak Shock Operating 30G 11 ms panel mounted 20G 11 ms DIN rail mounted Non operating 40G panel mounted 30G DIN rail mounted Power supply distance rating 4 The controller must be within 4 slot positions of the power supply Shipping weight 325 g 0 715 Ibs 362 g 0 796 Ibs Battery 1747 BA Programming cable 1747 CP3 or 1756 CP3 Agency certification e C UL certified under CSA C22 2 No 142 e UL 508 listed e CE and C Tick 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 22 2 No 213 Radiated and conducted emissions EN50081 2 Class A Publication 1769 UM007D EN P August 2002 A 2 CompactLogix System Specifications Description 1769 120 1769 L30 Electrical EMC The unit has passed testing at the following levels ESD Immunity IEC61000 4 2 4 kV contact 8 kV air 4 kV indirect Radiate
97. n 1 Right click on the 1769 SDN and choose Properties lt 1769 SDN Scanner Module 1 2 x General Module Scaniist Input Output ADR Summary k 1769 SDN Scanner Module Name fi 763 SDN Scanner Module 1 Description Address 32 Device Identity Primary Vendor RockwellAutomation AllenBradey 1 Type CommunicationAdapter 12 Device 1769 5DN Scanner Module 105 Catalog ssn Revision Ra t S Publication 1769 UM007D EN P August 2002 6 6 Communicating with Devices on a DeviceNet link 2 Click the Scanlist tab then click Upload when prompted The area on the left is called Available Devices and the area on the right is called Scanlist The 1769 ADN adapter should be on the left 3 Click on the adapter then click on the single arrow pointing to the right This moves the adapter from Available Devices to the scanner s scanlist 4 Click on the Edit O Parameters button Edit 1 0 Parameters 15 1769 ADN A 3 21x Change of State Cyclic 7 henge cf State bodic Rx Size p Bytes M Polled Tx Size p 4 Bytes Rg Size fee a Bytes Heartbeat Rate 250 msec Tx Size fe a Bytes EA Poll Rate Every Scan z Bx Size p Bytes Use Ty Bit E Cancel Restore 1 0 Sizes 5 Verify that the Rx Size and Tx Size are correct The Tx Transmit and Rx Receive sizes correspond to the total number of output and inp
98. ncel Back l Next gt Finish gt gt Help Click Next 4 Use the Create wizard to configure the input module Use default values for this example Different modules have different screens and parameters If you do not want to go through each screen in the Create wizard click Finish to create the module using default values Module Properties Local 1 1769 1416 A 1 1 xj Requested Packet Interval RPI 2 0 ms J Inhibit Module M Major Fault On Controller If Connection Fails While in Run Mode Module Fault Click Finish lt Back Next Finish gt gt Help Rather than specifying an individual RPI value for each I O module you specify on RPI value for the whole CompactLogix system when you configure the CompactBus see page 1 6 Add the other I O modules for this quick start see page 1 2 to the Controller Organizer Publication 1769 UM007D EN P August 2002 Getting Started 1 9 Changing module properties 1 2 View properties for the module A Place the cursor over the 1769 IA16 module View the General tab The screen defaults to the General tab Verify that the module settings are correct Make changes if necessary Click the right mouse button and select Properties O RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications Tools Wir ajaj 2 selel AeA _ Offline 0 E RUN 4 NoForces P F oK No Edits M BAT amp m o W
99. nding system before connecting it to the controller An isolator is recommended between Channel 0 of the controller and the workstation Publication 1769 UM007D EN P August 2002 Communicating with Devices on a Serial Link 4 7 Step 2 Configure the Serial Port s of the Controller 1 In RSLogix 5000 programming software select the Edit gt Controller folder 2 On the Serial Port tab specify the appropriate serial communication configuration o RSLogix 5000 CompactLogix5330 Fie BY View Search Logic Commu Unde GHZ Hedo GHEY OFF Bil NoFi apy tre NoE Paste EPY Delete Del Insert ns E Properties Alt Enter 1769 L20 with one serial port lolx Date Time Advanced SFC Execution File Nonvolatile Memory General Serial Port System Protocol User Protocol Major Faults Minor Faults Mode Baud Rate Data Bits fe x Parity None Stop Bits fi i No Handshake x F Continuous Carrier RTS Send Delay fo x20 ms RTS Off Delay fo x20 ms Control Line Cancel ily Help 1769 L30 with two serial ports ix Date Time Advanced SFC Execution File Nonvyolatile Memory CHO User Protocol CH1 Serial Port CH1 System Protocol Major Faults Minor Faults General CHO Serial Port CHO System Protocol Mode Baud Rate 19200 7 Data Bits 8 xy Parity None Stop Bits fi x No Handshake
100. nitor Tags Controller Tags quickstart controller Scope quickstart controller m Show Show All Sot TaaName F y Value Force Mask 0 Decimal L ol x jl gt BOOL 2 0000_0000_0000_0000_0000_0000_0000 o000 2 0000_0000_0000_0000 zp Binary Binary AB 1769_DI16 1 0 jDNT INT 4B 1769_D016 C 0 4B 1769_D016 1 0 4B 1769_D016 0 0 AB 1769_IF4 C 0 AB 1769_IF4 1 0 AB 1769_0F2 C 0 AB 1769_0F2 1 0 AB 1769_0F2 0 0 output_1 Decimal BOOL etme l en feo foe foe fe ee TIMER E gt N Monitor Tags A Edt Tags la 3 The display for the fault data defaults to decimal Change it to Hex to read the fault code Placing Configuring and Monitoring Local I O 3 15 If the module faults but the connection to the controller remains open the controller tags database displays the fault value 16 0E01_0001 The fault word uses this format 31 27 23 19 11 7 3 0 15 Pat HT aia ST ea Fault_Code_Value reserved reserved fFaultCode FaultInfo t connection PPN Connection_Closed 1 connection closed Fault_Bit J Where Bit Description Fault_Bit This bit indicates that at least one bit in the fault word is set 1 If all the bits in the fault word are cleared 0 this bit is cleared 0 Connection_Closed This bit indicates whether th
101. ntation for module should list the assembly instance and size numbers for the input output and configuration parameters Entering the Configuration Information for the Module Once you have configure a module using the generic profile you must enter the configuration information for the module into the tag database The configuration information is downloaded to the module at program download power up and whenever a module is inhibited and then uninhibited 1 In the Controller Organizer double click on Controller Tags 2 Edit the tags for the module so that the tags contain the appropriate configuration information So RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications To i Offline 1 RUN ow ki NoForces gt e t ja NoEdts Eia Evo T B E Controller quickstart A Controller Tags Controller Fault Handler C Power Up Handler B E Tasks 6 8 MainTask B E MainProgram a Program Tags Ed MainRoutine C Unscheduled Programs E Trends 5 4 Data Types Cf User Defined E E Strings fi STRING Cip Predefined Cp Module Defined 6 6 1 0 Configuration 8 E 1c Publication 1769 UM007D EN P August 2002 f RSLogix 5000 CompactLogix5320 1769 L20 BEE File Edit View Search Logic Communications Tools Window Help lalsiej a ele Biel ole lal Offline 0 RUN n Path AB DFi J x norae T OK P 4 MoEds A ey 4
102. o you configure the Controller Connected to a serial port differently than in the previous examples Configure the Bar Code Reader serial port for User mode rather than the system mode isolator recommended MESIA you must use Channel 0 when connecting to an ASCII device Channel 1 on the CompactLogix5330 does not support ASCII at this time Connect the ASCII Device to the Controller To connect the ASCII device to the Channel 0 serial port of the controller 1 For the serial port of the ASCII device determine which pins send signals and which pins receive signals Publication 1769 UMO007D EN P August 2002 Communicating with Devices on a Serial Link 4 17 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 ASCII Device controller 1CD 1CD 2 RDX 2 RDX 3 TDX lt 3 TDX 4 DTR lt 4 DTR COMMON COMMON 6 DSR 6 DSR 7RTS M 7 RTS 8CTS 8CTS 9 9 disabled ASCII Device controller 1 CD 1 CD 2 RDX 2 RDX 3 TDX lt 3 TDX 4 DTR 4 DTR COMMON COMMON 6 DSR 6DSR 7 RTS 7 RTS 8 CTS 8 CTS 9 9 3 Attach the cable shield to both connectors and tie the cab
103. ofile for the scanner will be displayed This output data is broken down as follows for this example Tag Definition Local 3 0 Data 0 through Local 3 0 Data 1 Control to 1769 SDN Local 3 0 Data 2 Output data for 1769 0B16 Local 3 0 Data 3 through Local 3 0 Data 4 Output data for 1769 OF2 1 Bit 0 of output word 0 is the Run mode bit for the scanner With the controller in Run mode set this bit to a 1 to place the scanner into the Run mode With the controller in Run and this bit a 0 the scanner will be in Idle mode and will not scan 1 0 The Module Command Array is described in more detail on page 6 9 Step 4 Enter Program Logic The program for this example consists of a single rung that is used to place the scanner into the RUN mode To place the scanner in the Run mode when the CompactLogix controller is in the Run mode either set SDN_RUN to a 1 or remove it from the program When SDN_RUN is removed the scanner s Run bit is always in Run when the controller is in Run o RSLogix 5000 SDN_ADN_System 1769 L30 MainProgram MainRoutine E File Edit View Search Logic Communications Tools Window Help laj x alsm S tele 2A amp 50 5 E PE aal D E RUN l e Pate AB Der p i ae 4 Hitt fic atl of gt i 4 gt Favorites ABit X Timer Counter X Input Output X Compare No Forces J Controller SON_ADN_System Controller Tags Controller
104. oller Fault Handler Power Up Handler B S Tasks MainTask 52 MainProgram Program Tags MainRoutine Unscheduled Programs Trends a Data Types Gp User Defined E Strings STRING Gi Predefined Ga Module Defined 2 6 1 0 Configuration 0 CompactBus Local 2 Configure the local 1 0 in the Controller Organizer The configure the 1769 SDN scanner The scanner does not have a profile so use the 1769 MODULE generic profile x Type 1769 MODULE Generic 1769 Module Parent Local r Connection Parameters Assembly Instance Name I Input fio B 16 bit Description a Output 104 p z Configuration fi 02 0 16 bit Comm Format Input Data INT z Slot 2 a Cancel Back Next gt Finish gt gt Help In the generic profile select Data INT for the communication format and specify these connection parameters Data Assembly Instance Size Input 101 80 Output 100 5 Config 102 0 Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DeviceNet link 6 11 All tags for I O modules are automatically created when the profiles for these modules are configured Double click on Controller Tags in the controller organizer to view these tags Each I O module slot has Input Output and Configuration tags created if they apply These Local I O tags are structured as follows Tag Definition Local s s is the slot number rep
105. ompact DIN rail or panel mounted I O system e Serial port that supports multiple communication protocols The 1769 L20 has one serial port The 1769 L30 has two Channel 1 on the 1769 L30 is isolated e Communication interface modules provide peer to peer communication and program upload download over DH 485 DeviceNet or Ethernet 1761 NET AIC recommended for Channel 0 RS 232 port isolation The same RSLogix 5000 programming software supports program development for all Logix controllers For information about See page developing programs 2 2 selecting a system overhead percentage 2 6 Publication 1769 UM007D EN P August 2002 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 controller global
106. ompactLogix5330 with two serial ports Date Time General Serial Port Controller Properties quickstart Advanced o x SFC Execution File Nonvolatile Memory System Protocol User Protocol Major Faults Minor Faults Pi i a Error Detection totocol DF1 Point to Point pec C CRC i IV Enable Duplicate Detection NAK Receive Limit 3 ENQ Transmit Limit 3 ACK Timeout 50 x20 ms 5 Controller Properties L30_controller Ioj x Date Time Advanced SFC Execution File Nonvolatile Memory CHO User Protocol CH1 Serial Port CH1 System Protocol Maior Faults Minor Faults General CHO Serial Port CHO System Protocol 3 Error Detection Protocol DF1 Paint to Point Md Bcc C cre i 0 ates IV Enable Duplicate Detection NAK Receive Limit 3 ENQ Transmit Limit 3 ACK Timeout 50 x20 ms Embedded Responses Autodetect Re Cancel Apply Help Embedded Responses Autodetect ha The available system modes are For Cancel Apply Help Use this mode DF1 point to point See page communication between the controller and one other DF1 protocol compatible device This is the default system mode This mode is typically used to program the controller through its serial port DF1 master mode control of polling and message transmission between the master and slave nodes The master slave network includes one cont
107. on fi FBSIATBA High Speed Counter 6 A 16 Point 121 C Input HAS AA 8 Point Isolated 120V AC Input 1 769 1F 4 4 4 Channel Current Voltage Analog Input 1 769 1F 4 B 4 Channel Current Voltage Analog Input 1 769 IF4X0F2 4 4 Channel Input 2 Channel Output Low Resolution Analog 1 769 1M12 4 12 Point 240V AC Input 1769 01674 16 Point 24V DC Input Sink Source 1769 IQ6 lt O W4 24 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 1 769 1O6XOW4 B 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 1 769 IR 674 6 Channel RTD Direct Resistance Analog Input 1769 IT6 A 6 Channel Thermocouple m Analog Input xl Show Vendor fa x I Other IV Specialty 1 0 Select All V Analog Iv Digital IV Communication Motion IV Controller Clear AII Cancel Help continued Publication 1769 UM007D EN P August 2002 1 8 Getting Started Adding a local 1 0 module continued 3 Identify the input module These screens are specific to the 1769 IA16 input module Module Properties Local 1769 IA16 1 1 x 3 Type 17631416 16 Point 120V AC Input Vendor Allen Bradley You should enter a name Parent Local Verify the slot number __gyy Name Jinput_Moduld Slot fi Describe the module optional p Description Select the communication format p Comm Format Input Data INT x Specify electronic keying gy Revision fr fi 4 Electronic Keying Compatible Module x Ca
108. ontroller Fault Handler 5 Power Up Handler B E Tasks a MainTask 2 MainProgram A Program Tags E MainRoutine Drag and drop the XIO instruction continued Publication 1769 UM007D EN P August 2002 1 14 Getting Started Entering logic continued 3 Assign a tag to the XIO instruction Double click the tag area of the instruction Use the drop down menu to select input_1 Pe input_1 BOOL Local 1 1 A4B 1769_DI16 0 Local 2 C 4B 1769_D016 C 0 Local 2 1 4B 1769_D016 0 Local 2 0 4B 1769_D016 0 0 Local 3 C AB1769_IF4 0 0 Local 3 1 ABA769_ IF 4 0 Local4 AB 1769_OF2 C 0 Local 4 1 4B 1769_OF2 1 0 Local 4 0 AB 1769_0F2 0 0 output_1 BOOL timer_1 TIMER AR AR Ae eee Controller Scoped Tags Program Scoped Tags The software displays an incomplete rung MainProgram MainRoutine Jol x e a 0 e e e End 4 Enter this logic B MainProgram MainRoutine iof x TON T imer On Delay Timer timer DN Local 2 0 Data 1 1 lt gt End 5 To save the project from the File menu select Save Publication 1769 UMO007D EN P August 2002 Getting Started 1 15 Downloading a project 1 Make a serial connection from the workstation to the controller CompactLogix5320 2 Configure an RSLinx communication driver In RSLinx software
109. ous 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 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 this setting at zero 1 This parameter is especially useful for communicating via radio modems Publication 1769 UM007D EN P August 2002 Communicating with Devices on a Serial Link 4 9 Specifying System Protocol Characteristics CompactLogix5320 with one serial port C
110. r 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 Publication 1769 UM007D EN P August 2002 2 4 What Is CompactLogix However if you schedule two high priority tasks 1 to 6 to run every millisecond and they both require 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 TIP 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 gt 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 The following example shows the task execution order for an appli
111. r the I O modules you created Tag Scopel t _ Pronar E TagName Value Force Mask Style Type Description 1769 module tags p a a 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 j Click the Edit Tags tab Publication 1769 UM007D EN P August 2002 Getting Started 1 11 Creating other tags 1 Create a tag 4 Create tags Fors P Tag Name v Alias For BaseTag Type Ste Description J sd AI ee ea saa stint ar O Enter the name of the new tag Tab to this column and select the data type Select Data Type 2 Select the data type MOTION_GROUP ay eerie REAL Select TIMER p BT Click OK The software displays the tag Click to display the members B gt P Etim O of the TIMER structure la ie F E E il You might have to resize the column to see the tag extensions continued Publication 1769 UM007D EN P August 2002 1 12 Getting Started Documenting 0 with alias tags 1 Create an alias tag input_1 for Local 1 I Data 1 ontroller Tags quickstart controller 4 Create tags Pon Tag Name Alias For BaseTag Tye Sye Desoria Enter the name of the tag 2 Select an input data word quickstart controller Showa niin APAe Ciee E
112. range 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 Publication 1769 UMO007D EN P August 2002 ling the communication cable cut back he white with blue stripe wire jacket is removed This wire is not used by DH 485 Communicating with Devices on a DH 485 Link 5 9 Grounding and Terminating a DH 485 Network Jumper Jumper We Belden 9842 Cable i 6L 1219 m 4000 ft Maximum 5 afl NOR 3 2 Ne Q ot Vas L Jumper Example Messaging on This example shows how to expand an existing SLC 5 03 control DH 485 with SLC 5 103 system with two CompactLogix controllers The SLC 5 03 controllers LA are connected together on a DH485 network for messaging between CompactLogix Controllers them and for program upload download and program monitoring with RSLogix 500 software The CompactLogix controllers also connect to the existing DH485 network for messaging between them as well as for messaging to the SLC cont
113. resents Input Data Local s 0 O represents Output Data Local s C C represents Configuration Data Each of these tags can be further expanded by clicking the plus sign to the left of its entry For example click the to the left of Local 3 1 and the following tags appear Local 3 1 Fault Local 3 I Data The Fault tag is a DINT so clicking its plus sign only reveals its 32 bits This is status information concerning the module s connection to the CompactLogix controller Clicking the plus sign to the left of the Data tag reveals the 80 input words created when this value was entered into the Generic profile for the scanner For this example the input addresses for the scanner are broken down as follows Tag Definition Local 3 1 Data 0 through Local 3 Data 65 Read Only Status Local 3 1 Data 66 through Local 3 1 Data 67 1769 ADN Status Information Local 3 Data 68 Input Data from 1769 IA16 Local 3 Data 69 Input output echo Data from 1769 0B16 Local 3 1 Data 70 through Local 3 1 Data 75 Input Data from 1769 IF4 Local 3 1 Data 76 through Local 3 1 Data 79 Input Data from 1769 OF2 The Output tag created for the scanner is as follows Local 3 0 Click the to its left to reveal Local 3 O Data Publication 1769 UM007D EN P August 2002 6 12 Communicating with Devices on a DeviceNet link Click the to its left and the 5 words of output data created when you created the Generic pr
114. resses may be used If your Ethernet hub is connected to a larger Ethernet network contact your System Administrator for unique IP addresses This example uses these IP addresses IP Address Device 131 200 50 92 SLC 5 05 controller 131 200 50 93 1756 ENBT 131 200 50 94 1761 NET ENI CompactLogix controller 131 200 50 96 computer s Ethernet card The ENI can be configured with IP addresses assigned to node numbers 0 to 49 In the ENI node addresses 45 through 49 are dedicated for Logix controllers Node addresses 0 through 44 are used for all other Ethernet devices such as other CompactLogix controllers connected to ENI modules and SLC 5 05 controllers The subnet mask for each Ethernet device is 255 255 0 0 The RS 232 DF1 interface for the CompactLogix controller should be 38400 baud This allows fast upload download of programs On the CompactLogix controller select 38400 baud Also set the number of Stop Bits in RSLinx and the controller to 2 Verify that the baud rate for the ENI module is set to autobaud In autobaud the ENI assumes series B functionality and determines its actual baud rate from the controller it is connected to Communications on Ethernet 7 3 Step 2 Configuring the 1761 NET ENI You can configure a 1761 NET ENI module node 248 to 254 using a MSG instruction This example configures an ENI module as node 249 The default address is Eni0 0 0 0 eni1761 org The ENI is only compatible w
115. rmines 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 gt The communication format determines the tag structure that is created for the module Assume that a 1769 IA16 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 The CompactLogix controller must own its local I O modules No other Logix based controller can own the local CompactLogix I O L OX 2 Value Force Mask input_1 0 Decimal BOOL ELocat 1 1 Ronan foot AB 1769_DI16 1 0 Localt 1 Fault 2 0000_0000_0000_0000_0000_0000_o000_o000 Binary DINT HLocatt l Data 2 0000_0000_0000_0000 Binary INT gt R TEN AB 1769_D016 C 0 HLoca 2 C Config0 2 0000_0000_0000_0000 Binary INT E ocal 2 C ProgT oF aultEn 0 Decimal BOOL E Local 2 C ProgMode 2 0000_0000_0000_0000 Binary INT H Locat 2 C ProgValue 2 0000_0000_0000_0000 Binary INT EE H Local 2 C FaultMode 2 0000_0000_0000_0000 Binary INT fa Local 2 C FaultValue 2 0000_0000_0000_0000 Binary INT aa Lo
116. roller 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 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 Channel 0 only 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 network allowing programming and peer to peer messaging Publication 1769 UM007D EN P August 2002 4 10 Communicating with Devices on a Serial Link
117. rollers and for program upload download and monitoring with RSLogix 5000 software 0 Node 4 CompactLogix533 SLC 5 03 Node 1 1761 NET AIC AIC ees SLC 5 03 Node 2 Personal Computer with RSLogix 5000 RSLogix 500 RSLinx The 1761 NET AIC AIC at the computer can be eliminated if the computer is near enough to any one of the controller AIC units to connect with a 1747 CP3 cable Publication 1769 UM007D EN P August 2002 5 10 Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DH 485 Link The SLC 5 03 controllers are sending a message to each other each reading 50 words from the other The 1769 L20 controller will write 50 words of data to the 1769 L30 controller and will read 50 words of data from SLC 5 03 node 1 The CompactLogix5330 controller will write 50 words of data to the CompactLogix5320 controller as well as read 50 words of data from SLC 5 03 node 2 Each CompactLogix controller sends one message at a time to keep the traffic on the DH 485 network to a minimum This allows the programming software to access the controllers more readily while the system is running When online with one of the CompactLogix controllers with RSLogix 5000 software message throughput between controller
118. rranty support e support service agreement Publication 1769 UM007D EN P August 2002 Preface Technical Product Assistance If you need to contact Rockwell 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 UM007D EN P August 2002 Preface 4 Notes Publication 1769 UM007D EN P August 2002 Getting Started What Is CompactLogix Placing Configuring and Monitoring Local 1 0 Table of Contents Chapter 1 Introduction ice 4 034 amp Sopra aod a Ree amp eine Satie 1 1 Creating and Downloading a Project 1 2 CTA ira PROCCL ac ows Se Aras Bae a ORES 1 3 Changing Project properties ia goons a Gea Gen earn a seers 1 4 Configuring the Compact Bus 2 44 40 084 lt i h aad we eS 1 5 Adding a local I O module 4 1 7 Changing module properties vet oad ieee oes boas 1 9 Viewing I O tags ta ae Re dh tele AO poi e Mckee GE Se 1 10 Creating other tags a eon eal ace
119. rst 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 When on inhibits the module When off uninhibits the module Publication 1769 UM007D EN P August 2002 Gsy Get System Value Class name MODULE Instance name Input_module Attribute Name Mode Dest input_mod_mode 0 SSV_state input_mod_mode 2 E SSY Set System Value Class name MODULE Instance name Input_module Attribute Name Mode Source input_mod_mode 0 Placing Configuring and Monitoring Local 1 0 3 11 Accessing 1 0 Data 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 IMPORTANT The controller s response to a connection failure of any I O module is fixed to always fault
120. rt lol x Nonvolatile Memory Date Time Advanced SFC Execution File General Serial Port System Protocol User Protocol Major Faults Minor Faults Vendor Allen Bradley Type 1769 L20 CompactLogix5320 Controller Change Type Revision 11 8 Change Revision Name Description Cancel Apply Help Getting Started 1 5 Configuring the CompactBus 1 View properties for the CompactBus A Place the cursor over the CompactBus p B Click the right mouse button and select Properties 2 View the General tab The screen defaults to the General tab Verify that the module settings are correct Make changes if necessary Click OK f amp RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communications Tools Window alzu 2 Offline No Forces gt aoe ae NoEdis Bl etn 4 Bille ele ei Tye eefe D3 RUN D KD Favori B E Controller quickstart Controller Tags E Controller Fault Handler E Power Up Handler ES Tasks A MainTask mainProgram E Unscheduled Programs Motion Groups E Ungrouped Axes C Trends 6 6 Data Types ER User Defined oe Strings Ei Predefined 4 Module Defined 6 6 YO Configuration T ee New Module Gut Gti Chri G Paste Gerly Delete Del Copy Cross Reference Ctrl E Print GhI P E Module Properties Controller 3 CompactBus 8 1 x G
121. s 0 Transmit retries The 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
122. s of Backplane Memory Used Catalog Number Each module in a CompactLogix system uses a set amount of backplane memory in addition to the data that the module stores or transfers Some modules require a considerable amount of backplane memory Take this into account when designing your system because it affects how many modules a controller can support Each CompactLogix controller supports 256 16 bit words of backplane data This table shows how many backplane words each module uses Number of Modules Number of words used Calculated number of words 1769 IA8I 8 1769 IA16 8 1769 IM12 8 1769 1016 8 1769 IO6XOW4 12 1769 0A8 12 1769 0A16 12 1769 0B16 12 1769 OB16P 12 1769 OV16 12 1769 OW8 12 1769 OW8l 12 1769 OW16 12 1769 IF4 14 1769 OF2 14 1769 IFAXOF2 20 1769 IR6 14 1769 IT6 16 1769 HSC 187 35 words input 34 words output 118 words configuration 1769 SDN 66 plus total words in scanlist system overhead per controller 34 34 1 The total words required cannot exceed 256 words Publication 1769 UM007D EN P August 2002 Total Words Required Placing Configuring and Monitoring Local 1 0 3 5 Determining When the Controller Updates 1 0 Configuring the CompactBus 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 contro
123. s on the DH 485 network decreases If your system cannot tolerate decreased message throughput you can e do online edits and uploading downloading when the system is not running and the controllers are in Program mode e use a 1769 L30 controller which has two serial ports so you can access the controller through one serial port while the other is dedicated to DH 485 communications All messages for this example use SLC 500 Typed Read and Write commands Configuring and Programming the 1769 L20 Controller The ladder programs for the two CompactLogix controllers contain two MSG rungs Also each controller s channel 0 serial port is configured for DH 485 communications The messages sent and received by the 1769 L20 controller are e Send a MSG to read 50 integer words from SLC 5 03 controller node 1 e Send a MSG to write 50 integer words to the 1769 L30 controller node 4 Receive a MSG write of 50 integer words from the 1769 L30 controller to file 11 File 11 will be mapped to tag data_from_L30_N4 in the 1769 L20 controller Communicating with Devices on a DH 485 Link 5 11 1 Create an RSLogix 5000 project named L20_DH485_N3 RSLogix 5000 L20_DH485_N3 1769 L20 File Edit View Search Logic Communications Tools Window Help alela a AeA Ar a BIBI i lel Offine 0 I RUN wm fied eae sor No Forces No Edits git H baill 4 le lel orlol kl Bit Steet Controller L
124. s poll Create a single dimension 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 UM007D EN P August 2002 4 16 Communicating with Devices on a Serial Link 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 E edie apna a Meat connects to a ses nn reader A bar code reader is an ASCII device s
125. s to a minimum Each message requires approximately 1 1K bytes of user memory allocated when the message is to be sent or received If two messages were enabled at the same time 2 2K bytes of user memory would be used Communications on Ethernet 7 13 This asian shows how to program staggered MSG instructions E Controller ENI_L20_505_L20_ Controller Tags E Controller Fault Handler Power Up Handler B S Tasks B ManTask 5 8 MainProgram Program Tags 7 Reconfig_ENI MSG Type PLCS Typed Write E MainRoutine 0 7 Message Control MSG_TO_505 E G Trends 5 8 Data Types Gi User Defined Eh Predefined MSG_TO_505 DN MSG Oi Module Defined JE Type PLCS Typed Write 6 170 Configuration Message Control MSG_TO_5550 E S 0 CompactBus Local S 1 1763MODULE 101 for paainRouti 2 1769 MODULE IF4 3 1763 MODULE OF Unscheduled Programs MSG_T0_5550 0N FE JE Ready Rug APP Tf Publication 1769 UM007D EN P August 2002 7 14 Communications on Ethernet Notes Publication 1769 UM007D EN P August 2002 Appendix A CompactLogix System Specifications Using This Appendix For information about See page CompactLogix controller specifications A 1 1747 BA battery specifications A 2 Dimensions A 3 CompactLogix Controller Description 1769 L20 1769 L30 Communication ports 1 RS 232 2 RS 232 User memory 64K bytes 256K bytes Maxi
126. select Communication gt Configure Driver CompactLogix5330 B From the Available Driver Types list select RS 232 DF1 Devices and click Add New C Choose a name for the driver and click OK Available Drivers DeviceNet Drivers PLC 5 DH Emulator SLC 500 DH485 Emulator Ethemet to PLC 5 or 5820 E1 emote Devices via Linx Gateway SoftLogix5 D Select Logix5550 CompactLogix and specify the COM port Click 1784PCM Autoconfigure to have the software determine the remaining serial settings PCMK 1784 KT KTX D PKTXID The default value for Error Checking is BCC The PLC 5 and most peripherals usually use BCC error checking Most SLC 500 based products use CRC Important If the RSLinx autoconfiguration fails A Press and hold the Channel 0 Default Communication push button on the controller until the Channel 0 Default Communication DCHO LED turns on steady green B Run RSLinx autoconfiguration again to establish a connection 4 Download the project from the Communications menu opw gt 4 Place the controller in Remote Run mode Make sure the controller is in Program mode In RSLogix5000 software select Communication Who Active Expand the DF1 network and select your controller Click Download Confirm the download when prompted Ce Configure Drivers Cose Configure RS 232 DF1 Devices Device Name AB_DF1 1 Comm Port COMt Device f
127. sing the 1769 SDN DeviceNet scanner Compact I O 1769 SDN DeviceNet Scanner Module 1769 UM009 User Manual Information on grounding and wiring Allen Bradley Allen Bradley Programmable Controller Grounding and 1770 4 1 programmable controllers Wiring Guidelines Publication 1769 UM007D EN P August 2002 Preface 2 If you would like a manual you can e download a free electronic version from the internet at www theautomationbookstore com e 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 The following conventions are used throughout this manual This Manual e Bulleted lists like this one provide information not procedural steps e Numbered lists provide sequential steps or hierarchical information e 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 wa
128. steps as for the 1769 L20 controller The messages sent and received by the 1769 L30 controller are e Send a MSG to read 50 integer words from SLC 5 03 controller node 2 e Send a MSG to write 50 integer words to the CompactLogix5320 controller node 3 e Receive a MSG to write 50 integer words from the CompactLogix5320 controller to file 11 File 11 will be mapped to tag Data_From_L20_N3 in the CompactLogix5330 controller 1 Create an RSLogix 5000 project named L30_DH485_N3 2 The channel 0 System Protocol tab should be as follows fE Controller Properties L30_DH485_N4 iol x CHO User Protocol CH1 Serial Port CH1 System Protocol Major Faults Minor Faults Date Time Advanced SFC Execution File Nonvolatile Memory General CHO Serial Port CHO System Protocol Error Detection Protocol DH485 7 C BCE ole Station Address a IV Enable Duplicate Detection Max Station Address 31 Token Hold Factor 1 Cancel Apply Help Publication 1769 UM007D EN P August 2002 5 16 Communicating with Devices on a DH 485 Link 3 Create a tag named data_from_L20_N3 Then map file 11 to that tag File 11 is the address used in the SLC 500 message from the 1769 L20 controller m PLC 3 5 SLC Mapping Fle Number Cancel data_from_L20_N3 Help Delete Map m PLC 2 Mapping Tag Name x 4 Next enter the MSG instructions
129. t 2002 Appendix C Using this Appendix 0 0 0 0 eee eee Storing Replacement Batteries ac wk ies eK ash wee de sas Estimating Battery Life aired Ro ON Ee ee ee Replacing a Battery j be paeg obi Pk D Gear dw Ae Appendix D MECSSASES ond ee OE SOG Eee eda he eee eee ae bea ESS RSLinx Tag Optimization ace ciel ees ee Sea ned TEENIS E e NC CIR EN Or 2 GO me DDE OPC Topics bho sub eve dk Soe Be Bbe lS Malte se od 5G be dels Maximum Messaging Connections per PLC Checking Use Connections for Writes to Controller Number of Connections Needed 6 je cg Bae beds Viewing the Number of Open Connections 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 CompactLogix systems feature e Communications 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 Local RS 232 connection s for controller project upload download DF1 Full Duplex communications DH 485 networking or for ASCII communications Re
130. t 40 C 104 F at 60 C 140 F Always OFF 67 months 29 months 11 months ON 8 hours per day 87 months 38 months 14 months 5 days per week ON 16 hours per day 127 months 56 months 20 months 5 days per week Always ON 1 There is almost no drain on the battery when the con Not applicable roller is always ON Maintaining the Battery C 3 Replacing a Battery Battery Duration After the LED Turns On Temperature CompactLogix5320 CompactLogix5330 60 C 9 days 8 days 25 C 14 days 20 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 controller is powered down after the LED first turns on IMPORTANT If the BATTERY LED turns on when you apply power to the controller the battery life may be less than the tables above indicate Some of the warning time may have been used while the controller was off and unable to turn on the BATTERY LED Because the controller uses a lithium battery you must follow specific precautions when handling or disposing of a battery The controller uses a lithium battery which contains ATTENTION potentially dangerous chemicals Before handling or disposing of a battery review Guidelines for Handling Lithium Batteries publication AG 5 4 Follow the procedure below to replace the battery ATTENTION The user program will b
131. t E 2 Eile View Seach Loge Comm Minor Faults Date Time Advanced SFC Execution File Nonvolatile Memory Urg Gip General Serial Port System Protocol User Protocol Major Faults Reda Biter Offli i Error Detection ice ae Protocol z et one NoFi Bony Sale Station Address Jo M Enable Duplicate Detection NoE Faste Kuks Max Station Address 31 Delete Del i Token Hold Factor 1 Inset ins E Alt Enter Cancel Apply Help 3 On the Serial Port tab specify the appropriate communication settings S Controller Properties quickstart 5 ioj x Minor Faults Date Time Advanced SFC Execution File Nonvyolatile Memory General Serial Port System Protocol User Protocol Major Faults Mode The grayed out settings are selections puana that do not apply to a DH 485 network Data Bits Parity None u Stop Bits 1 zi Control Line No Handshake z I Continuous Carrier RTS Send Delay fo x20 ms ATS Off Delay fo x20 ms Publication 1769 UM007D EN P August 2002 Communicating with Devices on a DH 485 Link 5 5 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 Specif
132. t ich k Pole ioe eeu Gabe how Ae 5 1 Configuring Your System for a DH 485 Link 5 2 Step 1 Configure the Hardware nanana aaaea 5 2 Step 2 Configure the DH 485 Port of the Controller 5 4 Planning a DH 485 Network 000005 5 5 DH 485 Token Rotation S254 banat ong pha eases 5 5 Network Initialization 0 0 0 0 0000 0 5 6 Number of Nodes and Node Addresses 5 6 Installing a DH 485 Network 00000002 eee 5 7 Grounding and Terminating a DH 485 Network 5 9 Example Messaging on DH 485 0 005 5 9 Configuring and Programming the 1769 L20 Controller 5 10 Configuring and Programming the 1769 L30 Controller 5 15 Communicating with Devices on a DeviceNet link Communications on Ethernet CompactLogix System Specifications CompactLogix Troubleshooting Table of Contents iii Chapter 6 Using This Chapter G Sead oh tite eat cece to4 6 1 Configuring Your System for a DeviceNet Link 6 1 Example 1 Controlling DeviceNet Devices 6 2 Step 1 Configuring the 1769 ADN Adapter 6 3 Step 2 Setting Up the 1769 SDN Scanlist 6 5 Step 3 Creating a PTO eels 0 Van Fee eA es 6 10 Step 4 Enter Program Logic 4 342 nes teNS oe ea es 6 12 Example 2 Sending Messages Over DeviceNet Using a 1761 NET DNI Interface Converter 0000 6 13 Step 1 Configure the Hardware 3a vi oe YS OVS So 6 13 Step 2 Commissioning the 1
133. ter 2 Message Configuration MSG1 Shannie tig 5 a e 5 lt i p SOUTCE Ltt Destinator Goes a acta M cache Gonnections al Publication 1769 UM007D EN P August 2002 7 6 Communications on Ethernet Confirming the configuration To confirm that the ENI was configured properly use a MSG read instruction 1 Create a tag to be used in the MSG read instruction In this example the tag name is ENI_CONFIG_DATA_READ EN Kolona EI EE rona gt Ug Tan Nave E ecimal BR o J N ASCII INT 42 Il Be Be 20 222A 2AA A nA A a a SS hae eS 00 00 2 Configure the MSG instruction as shown below The communication path is the same as the path you used to configure the ENI module Message Configuration MSG2 ENI_CONFIG_DATA_READ Publication 1769 UM007D EN P August 2002 Communications on Ethernet 7 7 For more details on using the ENI module see the RS 232 DF1 Ethernet Interface END User Manual publication 1761 UM006 Step 3 Mapping Data Table Files The CompactLogix controller does not use the structured data table addressing scheme used by PLC and SLC controllers You must map PLC and SLC file numbers to CompactLogix tags For example a MSG sent by an SLC 5 05 controller to a CompactLogix controller uses a PLC 5 Typed Write command The target data table address used is N12 0 This file 12 must be mapped
134. terS 4 Ready You have completed the commissioning of your DNI modules with addresses 15 25 and 35 You can go offline and exit the RSNetworx for DeviceNet software Step 3 Connecting the Controllers to the DeviceNet Network Connect the serial channel of each CompactLogix controller to the round mini din channel on each respective DNI module with a 1761 CBL PMO 2 series B RS 232 or 1761 CBL AP00 cable For this example connect the 1769 L20 to DNI node 25 and connect the 1769 L30 to DNI node 35 Connect the PC to DNI node 15 Publication 1769 UM007D EN P August 2002 6 16 Communicating with Devices on a DeviceNet link Step 4 Sending Messages 1 Start RSLogix 5000 and create a new project for the 1769 20 controller 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 initiate the other MSG Instruction each time it completes Initiate Write Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 35 MSG_NOD35R DN MSG 0 l Type CIP Data Table Write EN SFS Message Control MSG_NOD35W E H CDND gt i CER gt Initiate Read Messages to the CompactLogix Contro
135. the number of read connections made to Logix controllers from a particular workstation Publication 1769 UM007D EN P August 2002 D 4 Dynamic Memory Allocation in CompactLogix Controllers Publication 1769 UM007D EN P August 2002 Checking Use Connections for Writes to ControlLogix Controller This variable is configured in RSLinx under the Communications menu item Configure CIP Options This check box indicates whether you want RSLinx to open up additional connections for writing data to a Logix controller TIP 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 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
136. tion polls master transmits any message 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 UM007D EN P August 2002 4 14 Communicating with Devices on a Serial Link This field Station address 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 i
137. to a valid tag name in the CompactLogix controller 1 While offline in the CompactLogix controller project click on the Logic pull down menu and select Map PLC SLC Messages PLC2 3 5 7 SLC Mapping x PLC 3 5 SLO Mapping Fie Number ee Help Delete Map m PLC 2 Mapping Tag Name 2 In the File Number column enter 12 Under the Tag Name click on the right side in the white box to reveal your Controller Tags and select the tag name you created Data_From_505 You can map multiple entries PLC 3 5 SLC Mapping O j i File Number Tag Name Data_From_S05 Delete Map m PLE 2 Mapping Tag Name Publication 1769 UM007D EN P August 2002 7 8 Communications on Ethernet Configuring an Ethernet Driver in RSLinx Publication 1769 UMO007D EN P August 2002 In order to download your programs to the any of the controllers via Ethernet you must configure an Ethernet driver in RSLinx In RSLinx click on the Communications pull down menu and select Configure Drivers Click on the arrow associated with the Available Driver Types box Select Ethernet Devices then click Add New Modify this screen to include the IP addresses of the SLC 5 05 1756 ENBT module and the ENI module Configure driver AB_ETH 1 21 x Station Mapping Host Name Add New 131 200 50 92 Delete 131 200 50 93 Driver From the RSLogix 5000 so
138. to make you aware of safety considerations Identifies information about Maan practices or circumstances that VARNING can lead to personal injury or death property damage or economic loss Attention and warning 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 DeviceNet is a trademark of Open DeviceNet Vendor Association ODVA Introduction Summary of Changes This version of the CompactLogix System User Manual corresponds to version 11 of the controller Revision bars shown in the left margin of this page indicate changed information Changes made to this manual include For this information See You can now change the RPI for local I O to be any rate from page 3 7 2ms to 750ms The 1769 Generic Profile information previously in an appendix chapter 3 was moved to the end of the Placing Configuring and Monitoring Local I O chapter to make the information more accessible Additional fault word information page 3 15 The messaging over DH 485 example previously in an appendix chapter 5 was moved to the Communicating with Devices on DH 485 ch
139. ts must be clear 0 1 Fault When set the scanner s 1 0 mode will be Halt messaging will still operate The fault bit is primarily used to artificially set the slave devices into a fault state due to some event or condition within the control program 2 Disable Network When set the scanner is functionally removed from the network 3 Reserved Ma 4 Reset Restarts access to the DeviceNet network 9 to015 Reserved na 1 16to31 Reserved na DO NOT manipulate Reserved Bits Doing so may interfere with future compatibility Download the scanner information to the 1769 SDN After you configure the scanlist you need to download that information to the 1769 SDN module IMPORTANT You must use a DeviceNet connection to download scanner information to the 1769 SDN module The CompactLogix controller does not support pass through from its serial port to the 1769 SDN module Publication 1769 UM007D EN P August 2002 6 10 Communicating with Devices on a DeviceNet link Step 3 Creating a Project for the CompactLogix Controller 1 In RSLogix 5000 software create a new project for a 1769 L30 CompactLogix controller RSLogix 5000 SDN_ADN_ System 1769 L30 File Edit View Search Logic Communications Tools Window Help ala Helelel O a Bilal ie lel se fed Pot aspen A Pe alal oreo gt AL N Favores KEL A maane K E E EES Controller SON_ADN System IA Controller Tags Contr
140. ule in the local CompactLogix system to control the I O attached to a 1769 ADN adapter module DeviceNet Devices A 1769 1016 4 h A 1769 0V16 i d i Notebook Computer with e RSLogix 5000 Version 8 02 or higher e RSNetWorx Version 3 00 or higher e RSLinx Version 2 30 or higher e 1784 PCID DeviceNet Interface card or a 1770 KFD and a comm Port DeviceNet DeviceNet Power Supply This example describes e using RSNetWorx for DeviceNet to assign node addresses to the 1769 SDN and the 1769 ADN and map the adapter s image into the scanner e creating a CompactLogix project including the necessary configuration for the 1769 SDN DeviceNet scanner module controlling outputs and reading inputs with the distributed I O via DeviceNet Publication 1769 UMO007D EN P August 2002 1 Start RSNetWorx Communicating with Devices on a DeviceNet link Step 1 Configuring the 1769 ADN Adapter 2 Select Network Online The RSLinx communication driver screen appears Choose the 1784 PCD 1 DeviceNet driver or if you are using a 1770 KFD choose its driver This example assumes that one of these drivers is already configured in RSLinx DeviceNet RSNetWorx for DeviceNet a AE Ele Edt view Network Device Tool Heip EKE als US e B S Barcode Scanner Communication Adapter AG DPI to DeviceNet 8G DeviceNet to SCANport 8G Dodge EZLINK 8G
141. ut bytes noted from the adapter s summary page In this example the scanner transmits 6 bytes to the adapter output data and receives 28 bytes from the adapter input data Click OK when finished with this screen 6 Click on the Input tab 24 1769 SDN Scanner Module 1 2 x General Module Scanlist Input Output ADR Summary Node Type Size Map Autoten_ 15 1769 ADN Co Polled 28 66 0 Unmap Advanced 5 m Options Memory Discrete z Start Word fo a Bts 15 0 15 14 13 12 11 10 3 8 7 6 5 4 3 2 1 of pter 66 68 69 74 Click Apply and then click OK The first 66 words of input data 0 to 65 are read only For this example 28 bytes or 14 words of input data will be mapped by the scanner to the 1769 L30 controller s input tag beginning with word 66 The 1769 ADN adapter also adds 2 words of status information to the input data Therefore the actual input data from the I O modules in the 1769 ADN adapter s system begins at word 68 Publication 1769 UMO007D EN P August 2002 7 Click on the Output tab Communicating with Devices on a DeviceNet link 6 7 lt 1769 SDN Scanner Module 1 2 x General Module Scaniist Input Output Jann l Summary 15 17 Autohep Unmap Advanced H Options 69 ADN Co Polled 6 Memory Discrete z Start Word fo 4 pits 15 0jshahsheluhols s 7lels 4lel2 i of Click Apply and then click
142. want the 1769 L30 controller send read and write messages to the 1769 L20 controller add the same two message rungs to it and create the necessary tags Initiate Write Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 25 MSG_NODE25R DN MSG 0 qJ E Type PLC5 Typed Write EN Message Control MSG_NODE25W E CDN SFS L CER gt Initiate Read Messages to the CompactLogix Controller connected to the 1761 NET DNI with DeviceNet node address 25 MSG_NODE25W DN MSG 1 J E Type PLC5 Typed Read EN Message Control MSG_NODE25R E FON D ER End If using Channel 1 on the CompactLogix5330 controller this is Port 3 for each MSG instruction s Publication 1769 UM007D EN P August 2002 Using This Chapter Configuring Your System for an Ethernet Link CompactLogix Communications on Ethernet For information about Configuring your system for an Ethernet link Chapter 7 See pag 7 1 Configuring an Ethernet drive in RSLinx 7 8 Example 1 Create MSG programs for SLC 5 05 and ControlLogix controllers 7 9 Example 2 Staggering multiple messages 7 12 Connecting CompactLogix controllers on Ethernet requires one 1761 NET ENI per CompactLogix controller In this example the Ethernet interface card in the computer connects directly to the e SLC 5 05 controller channel 1 e ControlLogix
143. y not be available for programming What To Do Next o RSLogix 5000 quickstart 1769 L20 File Edit View Search Logic Communication Offline fl E RUN aes No Forces gt ae gt No Edits a Evo Verify Contr J Contr J Powe E Tasks Print Properties Sg Controller Properties quick_start _ oy 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 Power Up Handler lt none gt System Overhead jo Time Slice xi 4 Cancel Epp Help Once your controller is installed and operating you can use RSLogix5000 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 UM007D EN P August 2002 1 18 Getting Started Notes Publication 1769 UM007D EN P August 2002 Chapter 2 What Is CompactLogix Using This Chapter 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 c
144. you want to put on the DH 485 network You can have two controllers per one 1761 NET AIC converter but you 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 Excessive traffic on the DH 485 network may make it impractical to connect to your CompactLogix controller with RSLogix 5000 programming software Program upload download monitoring and online editing of programs via DH 485 can be accomplished when the system is not running and the controllers are in Program mode In addition when attempting to go online or upload download a program using the Communications Who Active window in RSLogix 5000 software disable the Autobrowse feature to minimize traffic from RSLogix 5000 software on the DH 485 network The DH 485 network is not recommended for new applications using CompactLogix controllers CompactLogix controllers should be used on DH 485 networks only when adding these controllers to an existing DH 485 network For new applications with CompactLogix controllers DeviceNet and Ethernet are the recommended networks Step 1 Configure the Hardware The channel 0 RS 232 port is a non isolated serial port built in to the front of the CompactLogix controller Channel 1 on CompactLogix5330 is an isolated RS 232 port The RS 232 port s

Download Pdf Manuals

image

Related Search

Related Contents

Panasonic WV-SF335E surveillance camera  Baixar - Logmaster  TRACES – Registration and troubleshooting  O2 Web User Manual (C++)  Ink Jet Print Heads  種の多様性調査 (神奈川県)報告書 資料編  user administration  Mode d`emploi  4071 Manual - Richmond Film Services  From SPAMfighter SMTP Anti Spam Server to SPAMfighter Mail  

Copyright © All rights reserved.
Failed to retrieve file