Home
1789-UM002B-EN-P, SoftLogix5800 System User Manual
Contents
1. 1785 PLC 5 controller a HT a ControlNet link z DH link Ko Lb BEE oh D on Publication 1789 UM002B EN P June 2001 Chapter 5 Communicating with Devices ona DeviceNet Link Using This Chapter For information about See page Configuring your system for a DeviceNet link 5 1 Accessing 0 Placing the communication card in Run mode Monitoring the 1784 PCIDS card Example SoftLogix controller and 1 0 ol ol on Sg T on Ti T o w N oO Configuring Your System for For the T controller to operate on a DeviceNet network a DeviceNet Link you need e a 1784 PCIDS DeviceNet communication card e RSLinx software to install the DeviceNet communication driver e RSLinx software to install the virtual backplane driver You only install the virtual backplane driver once on the computer where you run the SoftLogix controller This chapter assumes you have already installed the driver For an example of installing the driver see chapter 1 Getting Started e RSLogix5000 programming software to configure the communication card as part of the SoftLogix system RSNetWorx for DeviceNet software to configure the devices on the network e IOLinx software must be installed for the SoftLogix controller to be able to read and write I O data Publication 1789 UM002B EN P June 2001 5 2 Communicating with Devices on a DeviceNet Link
2. 8 7 Example Moving Application Data into the 1789 SIM Tags 8 8 Appendix A Using This Appendix 54 4 64 08 n ant So A 1 Windows NT Objects ca aia vee 4G 2 Bh TA Re A 1 Other Considerations yee Een eS Ot eS A 2 Running a SoftLogix Controller on Windows A 3 Selecting a dwell time setting n on dan ob ye ee A 4 Using PenoOdic ske si oase MES KEE OE Me s A 5 Selecting the system overhead time slice A 8 Integrating MOtION se ni eu Me GE Re 3 A 8 Using multiple SoftLogix controllers A 9 PC Hardware Considerations 4 ra Bane eR DAS ge a A 9 Appendix B Chapter 1 Getting Started Introduction This chapter introduces the SoftLogix5800 family of controllers and provides a quick overview on creating and downloading a project This chapter introduces basic aspects of the SoftLogix controller The SoftLogix controller is another platform in the Logix environment The SoftLogix controller offers e high speed logic execution e seamless integration of control motion and information structures e compatibility with a range of Allen Bradley Rockwell Software and Microsoft compatible products CompactLogix ControlLogix ProcessLogix SA a ve See ese OP es ee ViewAny Ware DriveLogix Publication 1789 UM002B EN P June 2001 1 2 Getting Started Creating and Configuring The following diagram illustrates the steps you follow to create and
3. IV Produce this tag for up to 2 consumers Soft2 P Tag Name X Alias For Base Tag Type Style DS General Name Tas s S Description a I TagType Base Alias Consumed Controller So O RPI ms o C E Data Type JOINT H Corfigure Style Decima x I Produce this tag for up ta FE consumers Cancel App Heb Each produced tags requires one connection for the producing controller and an additional connection for each consuming controller Each consumed tag requires one connection Publication 1789 UM002B EN P June 2001 4 26 Communicating with Devices on a ControlNet Link Example 2 Total connections required by Soft1 controller The following table calculates the connections used in this example Connection Amount Soft1 controller to 1784 PCICS card 0 Soft1 controller to remote 1784 PCICS card 0 connected cached MSG from Soft1 to Soft2 1 produced TagA produced from Soft1 to Soft2 1 other consumer 2 are configured 1 consumed TagB 1 total connections used 4 Example 3 SoftLogix In the following example one SoftLogix controller communicates with Controller to Other Devices other controllers over ControlNet ControlLogix controller Control1 ControlNe ch G e a LR i z 5 FlexLogix controller ControlNet PLC 5 controller
4. Lg User Defined O Predefined Li Module Defined 3 Specify the connectio For this connection led Programs Bie n parameters Set the connection parameters to read and write Input Assembly Instance 1 This connection lets Input Size 2 the controller read Output Assembly Instance 2 inputs and write outputs Output Size 1 Configuration Assembly 16 Instance Configuration Size 0 listen only Input Assembly Instance 1 This connection lets Input Size 2 the controller read 1 inputs but not write Output Assembly Instance 3 outputs Output Size 1 Configuration Assembly 16 Instance Configuration Size 0 MT This is the only parameter setting that is different from the read and write connection Publication 1789 UM002B EN P June 2001 Select Module Type xj Type Major Revision 783 MODULE fi x Description 1784 PCICS 4 1784 ControlNet PCI Scanner 1784 DeviceNet PCI Scanner 2 Axis Analog Encoder Servo SoftLogix5860 Controller Generic 1789 Module Show Vendor fa x FN Other V Specialty 1 0 Select All FN Analog M Digital M Communication Motion M Processor Clear All Cancel Help Click OK Module Properties Local 1789 MODULE 1 1 x Type 1789 MODULE Generic 1789 Module Parent Local r Connection Parameters Assembly 7 Instance Size Neme Read_and_wiite Sim Module Input fi pR SF eatin Derri 2 coupe
5. Click Next a 3 Follow the steps on the previous page to select a COM port for serial communications Publication 1789 UM002B EN P June 2001 7 4 Communicating with Devices on a Serial Link Step 2 Configure the serial port of the controller 1 In RSLogix 5000 software select Edit Controller Properties 2 On the Serial Port tab specify the appropriate serial communication settings f RSLogix 5000 quick_start 1789 o Controller Properties quick_start ioj x File View Search Logic Comm Major Faults Minor Faults Date and Time Advanced File General Serial Port System Protocol User Protocol Mode Baud Rate 19200 eh Data Bits 8 hs r Parity None Properties Alt Enter Stop Bits 1 X Controller Properties BI M sinT ack Control Line No Handshake F fo Continuous Geri ATS Send Delay fo x20 ms RTS Off Delay fo x20 ms Cancel Apply Help 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 Specifying serial port characteristics Specify these characteristics on the Serial Port tab default values are shown in bold Characteristic Description default is shown in bold Mode Select System for DF1 communication or User mode for ASCII communicat
6. AC Drive No Drive Object Communication Adapter E a S H ControlNet to SCANport amp DC Drive No Drive Object w Human Machine Interface a Programmable Logic Controller EH Vendor HH Rockwell Automation Allen B Rockwell Automation Reliand Flex 8 slot chassis 1789 A17 A Virtual chassis 25 a M 4 gt MN Graph Spreadsheet Le gt 4 Gi Offline Start A Expiring CA FA SofLogix Chassi Sy RSLinx Gateway 24 ControiNet xc Qf RSLogi 5000 7 pcics_serial bmp SR 1 41PM 2 Specify the network update time NUT ControlNet 2 RSNetWorx Network Edit View Selection Help Pending Pending M Edits Enabled Curent Pending Curent Optimized Edits Merged Edits Network Update Time ms 5 00 5 00 Ava Scheduled Band 41 82 41 82 41 82 Unscheduled Bytes Per Sec 330353 330953 Peak Scheduled Band 42 67 4267 42 67 The default NUT is 5ms The NUT you specify must be lower than or equal to the lowest RPI in your system 3 After you specify the NUT save and re write the schedule for all connections Save Configuration 21x Save Type Cancel Merge changes into existing schedule Help Every device on the network must be in Program or Remote Program mode for the software to re write all its connections If a device is not in the correct mode the softw
7. Name and Descriptior BCCI COR Mea erg x AB_VBP 1 RUN Choose a name for the new driver 15 characters maximum TCP Cancel _ eix Close LContaure Startup Start Stop LEE onfiGure Startup tert Stop continued Publication 1789 UM002B EN P June 2001 6 4 Programming Over an Ethernet Link After you create the Ethernet driver configure it to correspond to the virtual chassis on the SoftLogix computer that you want to access 3 Press the Configure button to configure the Ethernet driver Configure Remote Devices via Linx Gateway C2 Lx Driver Selection Configure Browser l Device Name fe P 1 Server s IP Address or hostname fi 30 151 135 250 Select the Ethernet address or server name of the SoftLogix controller you want to program LM Remote driver name l AB _VBP 1 Click OK 4 The Ethernet driver is now available and you can select the SoftLogix controller from Who Active in RSLogix 5000 programming software Configure Drivers BEI Available Driver Types Close Remote Devices via Linx Gateway 7 Add New Help r Configured Drivers Name and Description Status AB_VBP 1 RUNNING Running C VBP 1 on 130 151 MWS _ Running Configure Startup Start Stop Delete HERE ER After you add the Ethernet driver you can path to all the SoftLogi
8. 2 9 Determining scheduled connections for I O modules 2 10 Determining unscheduled connections for messages 2 11 Determining scheduled connections for produced consumed TA Si ork See nn coe Ot Mas Gist Be aah fh ONL ee 2 12 Determining total connection requirements 2 13 Selecting a System Overhead Percentage 2 14 Publication 1789 UM002B EN P June 2001 Table of Contents ii Controlling Motion Devices Communicating with Devices on a ControlNet Link Publication 1789 UM002B EN P June 2001 Chapter 3 Using This Chapter 045 6 954 amp ati ace Wl be eee ead SS 3 1 Configuring Your System for a Motion Card 3 1 Step 1 Install the Hardware ea en ve vs See ees 3 2 Step 2 Create the motion card in the chassis 3 3 Step 3 Configure the card as part of the project 3 5 Creatina Anm ARIS be 2 AAA Godin es ae CN es 3 6 Configuring a servo MARS Meme AER OTE st 3 7 Running Hookup Diagnostics and Autotuning 3 11 Developing Logic for Motion Control 3 12 Handling motion faults os 443 fo ES eS Ode En 3 13 Chapter 4 Using This Chapter ins ere sense 4 Redcar ee M had Soins eae Bg done 4 1 Configuring Your System for a ControlNet Link 4 1 Step 1 Install the hardware gaara oe NEA 4 2 Step 2 Create the communication card in the chassis 4 3 Step 3 Configure the card as part of the project 4 5 Step 4 Schedule the networks iso n
9. ET Pi Click Finish You can specify any slot number greater than 0 for the 1789 SIM module RSLinx software resides in slot 0 Publication 1789 UM002B EN P June 2001 Configuring and Using Simulated 1 0 8 3 The chassis monitor shows the 1789 SIM module as a virtual module in the SoftLogix chassis Note that the door of the 1789 SIM module opens to display the output bits Left click to open or close the module door Di SoftLogix Chassis Monitor Slot View Options Help 0 1784 PCICHControlHe 789 SI 7 IE a For Help press F1 The module door is open The module door is closed Publication 1789 UM002B EN P June 2001 8 4 Configuring and Using Simulated 1 0 Step 2 Configure the 1789 SIM module as part of the project Use RSLogix 5000 programming software to map the 1789 SIM module as part of the SoftLogix project 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a generic 1789 module o RSLogix 5000 q uick_start 1789 L6 File Edit View Search Logic Communic aeli a mae ele oine v o Forces fo Edits gt Forces Disabled Path AB_KTC 142 Backplane 0 E Controller quick_start Controller Tags C3 Controller Fault Handler C3 Power Up Handler EE Tasks B 48 MainTask S MainProgram A Program Tags E MainRoutine C3 Unschedul 3 Trends j e Data Types
10. Finish gt gt Help 7 Add and configure the 1 0 modules for the remote communication module you just added 8 Save the current project and download it to the controller The local card becomes the parent module to the remote device The controller organizer shows this parent child relationship between local and remote communication devices Configure I O modules for the remote communication module by adding them to the remote communication module G e right click the 1784 PCICS card and select New Module Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 7 Step 4 Schedule the network Use RSNetWorx software to schedule the ControlNet network The controller project must already be downloaded from RSLogix 5000 programming software to the controller and the controller must be in Program or Remote Program mode 1 In RSNetWorx software go online enable edits and survey the network File Edit View Network Device Tools Help En als Hlas Sele eale E lmla Pending Pending M Edits Enabled Current Pending Current Optimized Edits Merged Edits Current Pending Network Update Time ms 5 00 5 00 Ava Scheduled Band 9 16 9 16 9 16 Connection Memory Usage 1 49 1 49 Unscheduled Bytes Per Sec 453280 453280 Peak Scheduled Band 10 12 10 12 10 12 Network Usag be Hardware EMG ControNet EMG Category E AC Drive
11. Make sure the 1784 PCICS communication card is properly installed in the computer You need to e Install the card in any available PCI slot within the computer It does not matter which PCI slot you use for the communication card The PCI slot in the computer does not correspond to the backplane slot in the SoftLogix chassis You use the SoftLogix chassis monitor to place the communication card in a specific backplane slot see the next page e Make a label to place on the front of the card or use a pen to write on the front of the card The label should include the serial number of the card and a name you can use to identify the card from any others you might install in the computer Remember the serial number and name of each communication card you install You use this information to identify which card you want in which slot of the SoftLogix chassis computer running a SoftLogix controller with a 1784 PCICS communication card 1786 TPR TPS TPYR or TPYS tap eee nbn ecco ControlNet network m cool i T For more information about installing a 1784 PCICS communication card see the ControlNet PCI Interface Card Installation Instructions publication 1784 IN003 Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 3 Step 2 Create the communication card in the chassis Before you can connect
12. 2 ft SF papi z Configuration 6 fo ew Comm Format Data DINT gt ET m 1 Slot Zi Status Output Cancel lt Back New Finish gt gt Hep Click OK continued Configuring and Using Simulated 1 0 8 5 4 Specify the requested packet interval RPI You must enter at least 50 0ms for the RPI The connection will fail if the RPI is less than 50 0 ms B gt _ Bequested Packet Interval RPI 50 0 ms 0 2 750 0 ms The default RPI is 5 0ms I Inhibit Module I Major Fault On Controller If Connection Fails While in Run Mode Module Fault lt Back Next gt Finish gt gt Help Click Finish TNA ou must specify an RPI of at least 50 0 ms for each 1789 SIM module or the connection to the module will fail Because this module uses the generic module profile the default RPI is 5 0 ms Publication 1789 UM002B EN P June 2001 8 6 Configuring and Using Simulated 1 0 Mapping 1 0 Data to the When you add a 1789 SIM module to an RSlogix 5000 project the 1789 SIM Modul programming software automatically assigns input and output data odule structures for the module For example this I O configuration generates these I O data structures E 140 Configuration The 1789 SIM module is in slot 2 gt j 2 1789 MODULE Sim_Module S 6 1784 PCICS 4 Cnet_Bridge BJ 1 0 1756 CNB D _1756_Remote_Chassis 1 1756 1832 Inputs
13. 2 1756 0832 Outputs Controller Tags Sim_Module_Demo controller Sim_Module_Demof The programming software assigns these controller scoped tags to the gt gt 1789 SIM module in slot 2 gt i ET H Monitor Tags Publication 1789 UM002B EN P June 2001 Configuring and Using Simulated 1 0 8 7 Toggling Inputs and Once the He module is installed in the chassis monitor you can itori itor t Monitoring Outputs monitor the module 1 In the chassis monitor right click the 1789 SIM module and select Properties 2 Select the 1 0 Data tab Module Properties Slot 6 Ed General 1 0 Data Module Info Module Status r x Inputs Click to toggle on off 00 01 02 03 04 05 O6 OF O8 09 10 11 12 13 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Outputs 00 01 02 03 04 05 06 07 08 09 10 11 12 13 16 17 18 19 20 21 22 23 24 25 26 27 28 29 OK Cancel Agony Help Select the I O Data tab of the module properties Left mouse click a specific input bit to toggle it on or off This tab also shows the state of the output bits This is the same state that is displayed when you open the module door from the chassis monitor Outputs remain in last state when the controller is in program mode this is not user configurable If the I O connection is broken to the module all of the outputs will reset to OFF Publ
14. 4 34 Communicating with Devices on a DeviceNet Link Programming Over an Ethernet Link Communicating with Devices on a Serial Link Table of Contents iii Chapter 5 Using This Chapter lt 4 Le pie dar Ree eo kes ES 5 1 Configuring Your System for a DeviceNet Link 5 1 Step 1 Install the Hardware a tee More Sent wed 5 2 Step 2 Create the communication card in the chassis 5 3 Step 3 Install the communication driver 5 5 Step 4 Configure the card as part of the project 5 6 Step 5 Define the scan list 45s Soyvee ee Seah Se 5 7 Accessing DeviceNet I O nauuna da ees Ga Ree ts 5 10 Placing the Communication Card in Run Mode 5 12 Using the CommandRegister bits 5 12 Monitoring the 1784 PCIDS Card 5 13 Using the Status AA su Sch ancy Sa aia dh sue ns fiat 5 14 Example SoftLogix Controller and 1 0 5 16 Creating alias tags 42s 2 on eit oi oo eel eg tou 5 16 Chapter 6 Using This CTA Obese SF cate i ie Re pe aan 6 1 Configuring Your System for an Ethernet Link 6 1 Step 1 Enable RSLinx Gateway for the controller 6 2 Step 2 Configure the Ethernet communication driver on the computer with the programming software 6 3 Example Workstation Remotely Connected to a SoftLogix COMORES arene anus piles ire 6 5 Chapter 7 Using This Chapter Es se se et ee eee Pe ee Red 7 1 Configuring Your System for
15. AAA AAA AA A AA AA AAA AA LT make field connections to termination panel e Use the card identification switch to uniquely identify each 1784 PMO2AE motion card in your computer The card identification switch is a slotted rotary switch with 16 positions 0 9 and A F Use a flathead screwdriver to select a setting The switch setting uniquely identifies the card from any other motion cards in your computer The switch setting and the PCI slot where you install the card do not correspond to the backplane slot in the SoftLogix chassis You use the SoftLogix chassis monitor to place the communication card in a specific backplane slot see the next page Make a label to place on the front of the card or use a pen to write on the front of the card The label should include the card identification switch setting and a name you can use to identify the card from any others you might install in the computer If you have more than one motion card use the 1784 PMCSY4 synchronization cable to connect the motion cards within the computer For more information about installing a 1784 PMO2AE motion card see the PCT 2 Axis Servo Card Installation Instructions publication 1784 IN005 Publication 1789 UM002B EN P June 2001 Controlling Motion Devices 3 3 Step 2 Create the motion card in the chassis Before you can operate the motion card you must create the motion card as part of the SoftLogix chassis 1 From the SoftLogix ch
16. Allen Bradley SoftLogix5800 System 1789 L10 L30 L60 User Manual Automation See ee DRE ns SRB Important User Information Publication 1789 UM002B EN P June 2001 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 Aut
17. If communications are not completing fast enough increase the system overhead percentage Chapter 3 Controlling Motion Devices Using This Chapter For information about See page Configuring your system for a motion card 3 1 Creating an axis 3 6 Running hookup diagnostics and autotuning 3 11 Developing logic for motion control 3 12 Configuring Your System For the SoftLogix controller to control motion applications you need for a Motion Card e a 1784 PMO2AE motion card 4 per computer maximum The 1784 PMO2AE motion card connects to a servo drive and closes a high speed position and velocity loop Each 1784 PMO2AE module can control up to two axes a 1784 PMCSY4 synchronization cable If you have multiple 1784 PMO2AE cards you must link the cards with a 1784 PMCSY4 synchronization cable a 1784 PMO2AE TPO1 or 1784 PMO2AE TPO3 termination panel You make all field terminations to the 1784 PMO2AE card using the 1784 PM02AE TPO1 or 1784 PMO2AE TP03 termination panel and associated cable RSLogix5000 programming software to configure the motion card and its associated axes 2 per card Publication 1789 UM002B EN P June 2001 3 2 Controlling Motion Devices Step 1 Install the hardware Make sure the 1784 PMO2AE motion card is properly installed in a 32 bit primary PCI slot in the computer card identification switch pue Se connect 1784 PM02AE card to termination panel q e je
18. OS402 and above and SLC 5 03 controllers OS303 and above support logical ASCII addressing and support PLC SLC mapping see the examples above For all other SLC or MicroLogix1000 controllers you must map a PLC 2 compatibility file see the PLC 2 examples above Communicating with Devices on a ControlNet Link 4 17 Producing and Consuming Data The SoftLogix controller supports the ability to produce broadcast and consume receive system shared tags over a ControlNet link Produced data is accessible by multiple controllers over a ControlNet network Produced and consumed data are scheduled connections because the controller sends or receives data at a predetermined rate Produced and consumed tags must be controller scoped tags of DINT or REAL data type or in an array or structure Tag type Description Specify produced These are tags that the controller e Enabled for producing produced for other controllers to consume e How many consumers allowed consumed These are tags whose values are produced e Controller name that owns the tag that the local controller by another controller wants to consume e Tag name or instance that the controller wants to consume e Data type of the tag to consume e Update interval of how often the local controller consumes the tag The producer and consumer must be configured correctly for the specified data to be shared A produced tag in the producer must be specified exactly the same
19. Step 1 Install the hardware Make sure the 1784 PCIDS communication card is properly installed in the computer You need to Install the card in any PCI slot within the computer It does not matter which PCI slot you use for the communication card The PCI slot in the computer does not correspond to the backplane slot in the SoftLogix chassis You use the SoftLogix chassis monitor to place the communication card in a specific backplane slot see the next page a o 50 D oO o 4 20 in ral 10 70 cm ll E O00000 D o00c LUI D 4 72 in 12 00 cm Install IOLinx software so the SoftLogix controller can use the 1784 PCIDS communication card to control DeviceNet I O Make a label to place on the front of the card or use a pen to write on the front of the card The label should include the serial number of the card and a name you can use to identify the card from any others you might install in the computer Remember the serial number of each communication card you install You use the serial number to identify which card you want in which slot of the SoftLogix chassis For more information about installing a 1784 PCIDS communication card see the DeviceNet PCI Interface Card Installation Instructions publicati
20. communication path 1 Specify the port where the message exits For this port Specify backplane port 1 DF1 port from the controller ControlNet port from a communication card module Ethernet port from a communication card module f DH port over channel A from a 1756 DHRIO module DH port over channel B from a 1756 DHRIO module 3 2 Specify the next device For a device on a Specify ControlLogix backplane slot number DF1 network station address 0 254 ControlNet network node number 1 99 decimal DH network node number 1 77 decimal Ethernet network IP address 3 Repeat steps 1 and 2 until you specify the target device Communicating with Devices on a ControlNet Link 4 33 In the following example the ControlLogix controller can remotely access a PanelView terminal over ControlNet links The SoftLogix chassis monitor resides on the computer A SoftLogix controller is not required for the gateway you only need a 1784 PCICS card for each ControlNet link ControlLogix controller ControlNet link 1 The SoftLogix chassis monitor has two 1784 PCICS cards ControlNet link 2 _ss installed one for each ControlNet link PanelView terminal If you want to select the 1784 PCICS card from an online list of available devices such as Browse Network in RSNetWorx for ControlNet software select the 1784 PCICS card in the virtual chassis Browse for Network
21. illustration L Completeness procedure step C illustration L definition info in manual What information is missing example guideline al feature accessibility C explanation C other info not in manual L Clarity What is unclear C Sequence What is not in the right order F Other Comments Use back for more comments Your Name Location Phone Return lt e Marketing Communications Allen Bradley 1 Allen Bradley Drive Mayfield Hts OH 44124 6118 Phone 440 646 3176 FAX 440 646 4320 Publication ICCG 5 21 August 1995 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 Pre 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 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 adva
22. the Controller configure a SoftLogix controller Use the SoftLogix chassis monitor to Lontrotie perform these steps System setup for this quick start e SoftLogix5800 controller in slot 1 of the Launch oe virtual chassis chassis monitor e 1784 PCICS card in slot 2 of the virtual chassis go to page 1 3 You need Create the 2 controller go to page 1 4 e SoftLogix chassis monitor e RSLinx communication software Create the 1784 PCICS card go to page 1 5 Publication 1789 UM002B EN P June 2001 Getting Started 1 3 Launching the chassis monitor 1 Double click the SoftLogix chassis monitor icon on your computer desktop or in the system tray Launch the chassis monitor The default chassis monitor appears ftLogix Chassis Monitor Slot View Options Help Computer M44755 0 1 2 3 4 5 6 RSLinx j TRIR R S For Help press F1 Once the SoftLogix chassis monitor is running and a card is installed in the virtual chassis the controller automatically starts when you reboot your computer IMPORTANT The chassis monitor is your window to monitoring the SoftLogix system If you close the chassis monitor the controller and it s modules are still running To stop a controller or associated module remove it from the virtual chassis Publication 1789 UM002B EN P June 2001 1 4 Gettin
23. 2 0 750 0 ms I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Module Properties Local 2 1784 PCICS A 1 1 x Identification r Status Vendor Major Fault Product Type Minor Fault Product Code Internal State Revision Configured Cancel Serial Number Owned Product Name Module Identity Click Next Refresh HE SEE lt Back Nex Finish gt gt Help Click Finish Publication 1789 UM002B EN P June 2001 Getting Started 1 11 Adding an 1 0 adapter to the project 1 Create a new module RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools alemi a saje G 2 ae z o Forces ti fo Edits gt Forces Disabled x Os Path AB_KTC 142 Backplane 0 Controller quick_start Controller Tags Controller Fault Handler C3 Power Up Handler 3 6 Tasks Ea MainTask 5 8 MainProgram Program Tags E MainRoutine C3 Unscheduled Programs E Trends ES Data Types Ep User Defined Oy Predefined Ep Module Defined 1 0 Configuration A Place the cursor over the local 1784 PCICS card p B Click the right mouse button and select New Module 2 Select an l 0 adapter Type Major Revision fi 794 4CN15 C 3 X Description 1771 ControlNet Adapter 1771 ControlNet Adapter Redundant Media 1784 ControlNet
24. 2r ortine gt No Forces z No Edits z Forces Disabled z Path AB_KTC 1 2 Backplane 0 Verify Controller Ta a Controller Fat Tasks G MainT ask Publication 1789 UM002B EN P June 2001 Power Up HS o Controller Properties quick_start ioj x General Serial Port System Protocol User Protocol Major Faults MinorFauts Date and Time Advanced Fie Memory Used 53 632 bytes Unused 3 092 096 bytes Total 3 145 728 bytes Controller Fault Handler none F Power Up Handler knn a System Overhead i Time Slice E x The system overhead function interrupts the continuous task The percentage you specify determines the amount of the continuous task to allocate to system overhead functions which include e communicating with programming and HMI devices such as RSLogix 5000 software e responding to messages e sending messages including block transfers e re establishing and monitoring I O connections such as RIUP conditions this does not include normal I O communications that occur during program execution e bridging communications from a one communication device to another communication device across the virtual chassis This function lets the controller take care of communication requests that occur from other controllers or from queued requests from within the controller s application program
25. 3 In the module properties window for the motion card select the channel that you assigned to the axis Module Properties Local 1784 PMO2AE 7A 3 1 x Type 1784 PMO024E A 2 Axis Analog Encoder Servo Vendor Allen Bradley Parent Local Name motion carat Slot 2 Description El Associated Axes Ch 10 lt none gt x z age al Channel 1 lt none gt es y Revision a fi Electronic Keying Compatible Module x Cancel Bact Next gt Help If you assign your axis to channel Then select the button next to 0 Channel 0 1 Channel 1 4 Select the Hookup tab and run the hookup diagnostics When the test is finished the dialog box displays Complete 5 Select the Tune Servo tab and run auto tuning 6 When diagnostic testing and auto tuning are complete click OK For more information about hookup diagnostics see the SoftLogix Servo Card Setup and Configuration User Manual publication 1784 UM003 Publication 1789 UM002B EN P June 2001 3 12 Controlling Motion Devices Developing Logic for Motion Control Publication 1789 UM002B EN P June 2001 To write a motion application program you can insert motion instructions directly into your ladder logic program The motion instructions operate on one or more axes You must identify and configure axes before you can use them For more information on individual motion instructions see the Logix5000 Controllers Motion Instructi
26. 6 5 Configuring Your System To be Pa to program the SoftLogix controller remotely over Ethernet for an Ethernet Link you need e the remote computer where the SoftLogix controller resides must have an Ethernet communication card e the computer where the RSLogix 5000 programming software resides must have an Ethernet communication card RSLinx software to configure the Ethernet communication driver for each computer RSLogix5000 programming software to program the remote SoftLogix controller Publication 1789 UM002B EN P June 2001 6 2 Programming Over an Ethernet Link Step 1 Enable RSLinx Gateway for the controller The SoftLogix controller comes with enough functionality of RSLinx gateway to allow you to program the controller remotely over an Ethernet link 1 From RSLinx software on the computer with the controller enable RSlinx gateway Qs RSLinx Lite Configure RSLinx Gateway 2 xI File View Communications Station DDE OPC Se General Client Access List E Configure Drivers Configure Shortcuts Configure Client Applications Configure CIP Options Configure Gateway Note The changes you make will not take effect until you shut down RSLing and restart it Driver Diagnostics CIP Diagnostics On the General tab enable gateway p Click OK Publication 1789 UM002B EN P June 2001 Programming Over an Ethernet Link 6 3 Step 2 Configure th
27. ADN el dapter 331 11 1794 Al dapter 34 12 1794 ADN DeviceNet Flex 1 0 Adapter 6 13 1794 ADN DeviceNet Flex 1 0 Adapter 35 If you place the SoftLogix5800 controller in Program mode with DeviceNet I O currently mapped through a 1784 PCIDS module and then you use RSNetWorx to change the data mapping on the network the controller does not detect this change until the 1784 PCIDS module is reset You can reset the module in the RSLogix 5000 Controller Organizer Right mouse click over the module and select Properties then select the Module Info tab and click the Reset Module button You can also reset the module by removing and re inserting the module in the SoftLogix chassis You can reset the module while the SoftLogix controller is running The connections are automatically re established after the 1784 PCIDS module is reset ATTENTION Do not reset a module that is currently being used for control The connection to the module will be broken and control might be interrupted The SoftLogix controller supports 32 bit words of data You can have 124 words of input data 123 words of output data and 32 words of device status data How you configure the DeviceNet devices determines how many words you use per device Most DeviceNet devices support 16 bit words Take care how you map these into the 32 bit words used in RSLogix 5000 programming software RSNetWorx for DeviceNet let
28. As mentioned earlier a dual CPU system will provide greater stability in ladder scan time and motion updates And if a graphical MMI package is running on the same computer 256 Mbytes of RAM is recommended Other considerations include Description The hard drive should be capable of bus mastering in order to reduce loading on the Pentium processor Bus mastering allows the hard drive to initiate data transfers without using Pentium CPU cycles To accomplish this the PC must have a motherboard that supports this technology as well as a BIOS that supports it Then the drive itself should be capable of bus mastering Most PC vendors will fully integrate for you this IDE bus mastering capability CD ROM drives Verify that the hard drive for your PC is on a designated IDE channel and that the CD ROM drive is on another secondary Some PC vendors attempt to put the CD ROM as slave off of the primary IDE channel and this causes performance problems for the hard drive redundant array of disks RAID This technology uses multiple hard drives in a PC so that any one hard drive can fail without causing Windows to crash There are 5 different versions of RAID each with its own method of error correction and recovery The SoftLogix controller supports the RAID environment which is recommended for critical applications that can t afford a crash Sensitivity to hard drive crashes is common among PC users but over the last 5 years the
29. ER User Defined M Analog M Digital M Communication IM Motion IV Controller Clear All Click OK Carcel Hep 4 Predefined Lg Module Defined C Pee 3 Specify the appropriate communication card settings Type 1784 PCICS 4 1784 ControlNet PCI Scanner This must be the same slot number you specified on the vendon ASIE SoftLogix chassis monitor ane ut lt a Dm so F Description El Revision m fi a Electronic Keying Compatible Module 7 Cancel Back Next gt Finish gt gt Help continued The virtual backplane driver must be installed via RSLinx software before you can download a project to the SoftLogix controller MEA Even if you plan to remotely program the controller over a ControlNet or Ethernet link you must add the virtual backplane driver via RSLinx software If you do not persistent storage will not function and when you reboot the computer the controller will come up with cleared memory the program will not get re loaded Publication 1789 UM002B EN P June 2001 4 6 Communicating with Devices on a ControlNet Link Complete your system configuration by adding the remote communication devices and appropriate I O modules 5 In the Controller Organizer select the local 1784 PCICS communication you just added Add and configure the remote communication device 1794 ACN15 in this example So RSLogix 5000 quick_start 1789 L60 A File Edit View Searc
30. Flex1 SoftLogix controller PLC5C1 Soft1 Example 3 Sending MSG instructions You configure a MSG instruction to a ControlLogix and FlexLogix controller the same as you do for a SoftLogix controller All Logix based controllers follow the same MSG configuration requirements See Example 2 above Configuring a MSG instruction for a PLC 5 controller depends on the originating controller Publication 1789 UM002B EN P June 2001 Type of Logix MSG instruction Communicating with Devices on a ControlNet Link 4 27 For MSG instructions originating from the SoftLogix controller to the ControlNet PLC 5 controller Source Destination Typed Read any integer element such as B3 0 SINT INT or DINT tag T4 0 ACC C5 0 ACC N7 0 etc any floating point element such as F8 0 REAL tag PD10 0 SP etc Typed Write SINT or INT tag any integer element such as B3 0 T4 0 ACC C5 0 ACC N7 0 etc REAL tag any floating point element such as F8 0 PD10 0 SP etc Word Range Read any data type such as B3 0 14 0 C5 0 R6 0 N7 0 F8 0 etc SINT INT DINT or REAL Word Range Write Type of MSG Instruction PLC 5 writes to SoftLogix PLC 5 reads from SoftLogix SINT INT DINT or REAL any data type such as B3 0 14 0 C5 0 R6 0 N7 0 F8 0 etc The PLC 5 controller supports logical ASCII addressing so you do not have to map a compatibility file for MSG instructions initiated by
31. Force Mask Tag Name 7 Value Local 3 Local 3 1 StatusR egister F Locat3 Data Local 3 0 Local3 0 CommandRegister Local 3 0 CommandRegister Run mm Le um Lun mn os e Jo Je Local3 0 CommandhR egister Fault Local 3 0 CommandRegister DisableNetwork Local 3 0 Commandh egister HaltS canner Local 3 0 CommandRegister Reset Local 3 0 Data See Local 3 5 eine el Slolololo ee iS Se Tt Communicating with Devices on a DeviceNet Link 5 15 The following table describes the status data for a 1784 PCIDS card Status Element Description S ScanCounter This 32 bit word is incremented every time the card completes a network scan By reading this value and counting how many network updates are done in a certain time you can calculate an average scan time S DeviceFailureRegister This data area is an array of 8 bytes that make a 64 bit table There is one bit for every one of the 64 possible node numbers on the network The bit associated with a node number on the scan list is set to 1 if that node number is having communication problems S AutoVerifyRegister This data area is an array of 8 bytes that make a 64 bit table There is one bit for every one of the 64 possible node numbers on the network The bit associated with a node number on the scan list is set t
32. Instruction Set Reference Manual publication 1756 RMO003 Handling motion faults Two types of motion faults exist Type Description Example Errors e Do not impact controller operation A Motion Axis Move MAM instruction e Should be correct to optimize execution with a parameter out of range time and ensure program accuracy Minor Major e Caused by a problem with the servo loop The application exceeded the e Can shutdown the controller if you do PositionErrorTolerance value not correct the fault condition You can configure a fault as either minor or major by using the Axis Wizard Group window Understanding errors Executing a motion instruction within an application program can generate errors The MOTION_INSTRUCTION tag has a field that contains the error code For more information about error codes for individual instructions see the Logix5000 Controllers Motion Instruction Set Reference Manual publication 1756 RM007 Understanding minor major faults Several faults can occur that are not caused by motion instructions For example a loss of encoder feedback or an actual position exceeding an overcareful limit will cause faults The motion faults are considered type 2 faults with error codes from 1 to 32 See Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 Publication 1789 UM002B EN P June 2001 3 14 Controlling Motion Devices The following figure shows several rungs of a motio
33. Optimization rack optimized connection to the remote communication device not available on all communication devices None direct connection to the individual I O modules with no connection to the remote communication device Working with a rack optimized connection The rack optimized connection creates a DINT element for each possible I O module connected to the device remote_flex The array remote_flex I Data contains the possible input elements the remote_flex O Data contains the possible output elements remote_flex AB 1794_ACN15_8SLOT I 0 A temote_flex SlotStatusBits DINT Binary remote_flex Data INT 8 Binary E remote_flex 1 Data 0 INT Binary remote_flex 1 Data 1 INT Binary E remote_flex Data 2 INT Binary remate_flex Data 3 INT Binary remote_flex Data 4 INT Binary Es remote_flex Data 5 INT Binary H remote_flex 1 Data 6 INT Binary E remote_flex Data INT Binary remote_flex 0 4B 1794_ACN15_8SLOT 0 0 E remote_flex 0 Data INT 8 Binary a ni remote_flex 0 remote_flex l Data 0 remote_flex l Data 0 INT Binary remote_flex 0 C 8B 1794 DI_Delay8 C 0 remote_flex 1 0 remote_flex 0 Data 1 remote_flex 0 Data 1 INT Binary remote_flex 1 C 8B 1794 DO8 C 0 remote
34. PCI Scanner ControlNet PLCS 1788 ControlNet to DeviceNet Linking Device 1788 ControlNet Bridge Coax Media 1788 ControlNet Bridge Redundant Coax Media 1 794 ControlNet Adapter 1794 ControlNet Adapter Redundant Media 1797 ControlNet Adapter Redundant Media CONTROLNET MODULE Generic ControlNet Module FlexPak 3000 FlexPak 3000 DC Drive xl Show Vendor al z F Other Specialty 1 0 Select All Analog M Digital M Communication M Motion M Processor Clear All Select the 1794 ACN15 FLEX adapter Cancel Help Click OK continued Publication 1789 UM002B EN P June 2001 1 12 Getting Started Adding an 1 0 adapter to the project continued 3 Identify the 1 0 adapter Module Properties cnet_scanner 1794 ACN15 C 3 1 x 5 Type 1794 4CN15 C 1794 ControlNet Adapter Vendor Allen Bradley You should enter a name Parent cnet_scanner Verify node number and chassis size _yys Name flemadsptel Node a Describe the device optional gg Description 4 Chassis Size 8 Select the communication format Comm Format Rack Optimization 7 Specify electronic keying p Revision P f 34 Electronic Keying Compatible Module x Cancel Bac Next gt Help Click Next 4 Use the Create wizard to configure the output module Use default values for this example If you do not want to go through each screen in the Create wizard click Finish to create the module
35. Tests For specific information required by EN 61131 2 see the appropriate sections in this publication as well as the Allen Bradley publication Industrial Automation Wiring and Grounding Guidelines For Noise Immunity publication 1770 4 1 This equipment is classified as open equipment and must be mounted in an enclosure during operation to provide safety protection Publication 1789 UM002B EN P June 2001 Notes Publication 1789 UM002B EN P June 2001 Introduction Summary of Changes This version of the SoftLogix5800 System User Manual corresponds to version 8 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 addition of 1789 L10 and 1789 L30 controllers 2 2 how to select the 1784 PCICS card through an online path of 4 33 available devices how to select the 1784 PCIDS card through an online path of 5 17 available devices information about remote programming over an Ethernet link chapter 7 information about installing and configuring a 1789 SIM module chapter 8 in an RSLogix5000 project Publication 1789 UM002B EN P June 2001 Summary of Changes 2 Notes Publication 1789 UM002B EN P June 2001 Preface Purpose of this Manual This manual guides the development of projects for SoftLogix5800 controllers It provides procedures on how to establish communications and or programming l
36. The default is 3000 60 000ms 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 detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled This field Station address Configuring a DF1 master station Description The station address for the serial port on the DF1 master Enter a valid DF1 address 0 254 Address 255 is reserved for broadcast messages The default is 0 Transmit retries Specifies the number of times a message is retried after the first attempt before being declared undeliverable Enter a value 0 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 32767 Limits are defined in 20ms intervals The default is 50 1000ms Reply message wait Message based polling mode only Specifies the amoun
37. You can install as many 1789 SIM modules as allowed by your activation level of the controller 1 From the SoftLogix chassis monitor select Slot Create Module or right click the appropriate slot and select Create Select the motion module i SoftLogix Chassis Monitor Select Module x EX view Options Help Module Type 1789 L60 SoftLogix5860 Controller 1784 PCIC ControlNet PCI Messaging 1784 PCICS ControlNet PCI Scanner 1784 PCIDS DeviceNet PCI Scanner __ Cana 178 O24E 2 Axis Analog Encoder Servo 32 Point Input Output Simulator Specify the backplane slot number p Click OK 2 Verify the slot number for the 1789 SIM module Select Device xj Type 1789 SIM 32 Point Input Output Simulator Vendor Allen Bradley Verify the slot number ___ yy n Previous Configuration information exists for this device If you previously had a 1789 SIM module configured gt 2S Use the Previous Configuration in this slot the chassis monitor remembers the Reset the Configuration to Default Values configuration of that previous module Click Next 3 Specify a label for the 1789 SIM module x Type 1789 SIM 32 Point Input Output Simulator Vendor Allen Bradley Serial Number 09 Enter the label The text you enter here scrolls across the Label for 1789 SIM front of the module in the chassis monitor If you do not Module Marquee enter a label the default label is Simulator Module
38. and the CPU executes the next thread that is ready to run This applies to the SoftLogix controller because the controller references different tags in a program scan which are DRAM I O operations Therefore Windows switches back and forth many times between two periodic tasks that are executing at the same time and at the same priority level with the switching happening in the microsecond range Windows NT 2000 Considerations A 7 The following diagram shows the timing of task execution between two SoftLogix controllers in the same virtual chassis Each controller has periodic tasks and a continuous task The example periodic tasks are short and only take 0 25 ms to execute The example continuous tasks take 0 5 ms to execute Anytime two periodic tasks need to execute at the same time and they each have the same priority they share CPU cycles as Windows constantly switches between The beginning of the diagram shows what happens when the controller goes from Program mode to Run mode which involves a prescan of all tasks Then Run mode begins The real time starts counting as shown at the bottom of the diagram Controller A Periodic 1ms i Priority 1 Controller A Periodic 6ms Priority 2 Controller A Continuous Dwell 2ms Controller B E Periodic 3ms Priority 1 Controller B Continuous Dwell 3ms task task dwell time running waiting two tasks of equal priority prescan sharing CPU cycles Pub
39. as a consumed tag in the consumer A produced tag must also be controller scoped If any produced consumed tag between a producer and consumer is not specified correctly none of the produced consumed tags for that producer and consumer will be transferred However other consumers can still access their shared tags as long as their tags are specified correctly One consumer failing to access shared data does not affect other consumers accessing the same data Maximum number of produced and consumed tags The maximum number of produced consumed tags that you can configure depends on the connection limits of the communication device that transfers the produced consumed data Each produced tag uses one connection for the tag and the first configured consumer of the tag Each consumer thereafter uses an additional connection Publication 1789 UM002B EN P June 2001 4 18 Communicating with Devices on a ControlNet Link Size limit of a produced or consumed tag A produced or consumed tag can be as large as 488 bytes but it must also fit within the bandwidth of the ControlNet network e As the number of connections over a ControlNet network increases several connections including produced or consumed tags may need to share a network update Since a ControlNet network can only pass 500 bytes in one update the data of each connection must be less than 488 bytes to fit into the update If a produced or consumed tag is
40. between the controller and all the digital 1 0 modules on a DIN rail Rather than having individual direct connections for each 1 0 module there is one connection for the entire DIN rail IMPORTANT The limit of scheduled connections for I O depends on the communication device the controller uses to control the I O Each 1784 PCICS communication card supports 127 connections Publication 1789 UM002B EN P June 2001 What Is SoftLogix 2 11 To conserve the number of connections that are available place digital I O modules together in the same location and use a rack optimized connection To select a rack optimized connection select a rack optimized option for the communication format when you add the communication device and I O modules to the controller project in RSLogix 5000 programming software If you have analog I O modules or want a direct connection to specific I O modules you do not have to create the rack optimized connection to the communication device To use direct connections to I O modules select none for the communication format of the communication device Determining unscheduled connections for messages Unscheduled connections are used for transferring data to other devices such as other controllers or operator devices The 1784 PCICS card supports 128 total connections 127 of which can be scheduled connections as described above The remaining connections or all 128 if you have no sche
41. make an existing controller array tag in the local controller available to PLC 2 PLC 3 PLC 5 or SLC controllers To map addresses 1 From the Logic menu select Map PLC SLC Messages PLC2 3 5 7 SLC Mapping xi PLC 3 5 SLC Mapping a Help Delete Map m PLC 2 Mapping Tag Name z 2 Specify this information For In this field Specify For example PLC 3 PLC 5 and File Number Type the file number of the data table in the 10 SLC controllers PLC SLC controller Tag Name Type the array tag name the local controller uses to refer array_1 to the PLC SLC data table address The tag must be an integer array SINT INT or DINT that is large enough for the message data PLC 2 controllers Tag Name Type the tag name to be the PLC 2 compatibility file 200 TIP You can map as many tags as you want to a PLC 3 PLC 5 or SLC controller You can map only one tag j to a PLC 2 controller Publication 1789 UM002B EN P June 2001 Type of MSG Instruction PLC 5 writes to SoftLogix SLC writes to SoftLogix SLC 5 05 SLC 5 04 0S402 and above SLC 5 03 0 303 and above Communicating with Devices on a ControlNet Link The following table shows example source and destination tags and elements for different controller combinations Example Source and Destination source element N7 10 destination tag array_1 The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so
42. mode In Idle mode the card still receives inputs from its slave devices on the network but the card does not send active output data to the devices one 1 is in Run mode In Run mode the card sends active outputs on the network and receives inputs Publication 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 13 Monitoring the 1784 PCIDS Card StatusRegister bits pe StatusRegister Bit StatusRegister Run The input data for the 1784 PCIDS card includes a StatusRegister Controller Tags quick_start controller Scope quick_start controlle Show Show All 7 Sot Tag Name 7 Tag Name Local 3 Local 3 1 StatusRegister Local3 1 Data ocal 3 0 Local 3 0 CommandRegister Local 3 0 CommandRegister Run Local 3 0 CommandRegister Fault Local 3 0 CommandRegister DisableNetwork Local 3 0 CommandRegister HaltS canner Value Force Mask HE Je Aa o oa eR Lun um oe e je Je Local 3 0 CommandRegister Reset Local 3 0 Data evens Local 3 5 AE ler ololololo Sr The following table describes how the 1784 PCIDS card uses the StatusRegister bits Description This bit echoes the CommandRegister Run bit to determine if card is in Run or Idle mode 0 in this bit means the card is in Idle A 1 means the card is i
43. on a DeviceNet Link 3 Use the ScanList tab to define the scanning order of the DeviceNet devices 10 1794 4DN DeviceNet Fl BAM 11 1794 40N DeviceNet FI 3 12 1794 ADN DeviceNet Fl 13 1794 ADN DeviceNet Fl 14 Series S000 COS Ditfus 4 Click Edit O Parameters to define how many inputs Rx and Outputs Tx you expect from each DeviceNet device HE Edit 1 0 Parameters Publication 1789 UM002B EN P June 2001 continued Communicating with Devices on a DeviceNet Link 5 9 5 Use the ScanList tab to define the scanning order of the DeviceNet devices EX M47809 L 1x General Module Scanlist Input Output ADR Summary EY M47809 27x General Module Scaniist Input Output aDR Summary 10 1794 ADN Devic Polled 2 10 311 1794 4D ic Polled 2 E11 1794ADN Devic Poled 2 1 0 20 E12 1794ADN Devic Poled 2 20 ume 12 1794 ADN Devic Poled 2 30 ume E13 1794ADN Devic Poled 2 30 E13 1794ADN Devic Poled 2 40 E 14 Series 9000 C0S COS 1 40 Advanced Advanced Options Options Memory image File x Start Word Bits 15 0 Memory Image File gt Start Word fo 211 10 1794 ADN DeviceNet Flex 1 0 Adapter 331 11 1794 ADN DeviceNet Flex 1 0 Adapter 34 12 1794 ADN DeviceNet Flex 1 0 Adapter 6 13 1794 ADN DeviceNet Flex 1 0 Adapter 35 14 Series 9000 C0S Dif dapter 331 0
44. reliability of hard drives has greatly increased RAID technology is expensive and can be hard to implement and support A more inexpensive option is to have another hard drive with a copy of the original hard drive image available You can even mount the duplicate in the same PC without power or IDE connections so that it is ready to connect if the original hard drive ever fails uninterruptable power supplies UPS Uninterruptable power is an excellent accessory for a SoftLogix system as it prevents disruptions to the SoftLogix controller due to brown outs and power outages which are the most common interferences to PCs There are many UPS systems available including some with digital outputs that can be interfaced back into the SoftLogix controller using discrete inputs so that the controller can detect a power outage and prepare for an orderly shutdown after a designated amount of time Publication 1789 UM002B EN P June 2001 A 10 Windows NT 2000 Considerations Notes Publication 1789 UM002B EN P June 2001 Appendix B Monitoring Controller LEDs Indicator Color Description RUN off The controller is in Program or Test mode green The controller is in Run mode 1 0 off Either e There are no devices in the 1 0 configuration of the controller e The controller does not contain a project controller memory is empty green The controller is communicating with all
45. the devices in its I O configuration green flashing One or more devices in the 1 0 configuration of the controller are not responding red flashing A virtual chassis error was detected Contact your Rockwell Automation representative or local distributor FRC off No tags contain force values Forces are inactive disabled flashing At least one tag contains a force value Force values are inactive disabled green Forces are active enabled Force values may or may not exist RS232 off No COM port was selected green The selected COM port was successfully assigned to channel 0 of the controller red There is a COM port conflict or you selected an invalid COM port number BAT off Normal operation amber flashing The controller is in power up mode red Persistent storage for the controller has failed OK red flashing Recoverable fault red Non recoverable fault To correct 1 Remove the controller from the virtual chassis and then re install the controller 2 Download the project 3 Place the controller in Run mode If the problem continues to occur contact your Rockwell Automation representative or local distributor green The controller is OK M Note that these LEDs function slightly different than the same LEDs on a ControlLogix controller Publication 1789 UM002B EN P June 2001 B 2 Monitoring Controller LEDs Notes Publication 1789 UM002B EN P June 2001 Numerics 1784 PCICS card adding to project 1 9 co
46. the project optional tp Select where to store the project 7 gt typically use the default directory RSLogix 5000 HR Edit View Search Loc The software uses the project name you enter with an ACD extension to store your project New Controller x Vendor Allen Bradley Type 1783 L60 8 Soll ogix 5860 Controller gt Name Juick_ start Cancel _ Description Chassis Type 1789 17 17 Slot SoftLogix Vitual Chassis LE 1789 17 178917 17 SlotSoftLogix Vitual Chassis Virtual Chassis Ee min FS Create In e ARSLogix 5000 Projects Browse F Click OK RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools Window Help BEES The software displays TEC Hele led alea fe ve ele d Forces Disabled z R AO PAB KTC NA Bac Contoler Tags E Controller Fault Handler C Power Up Handler B Tasks controller organizer gt gt te Main ask 5 8 MainProgram Program Tags MainRoutine i Unscheduled Programs Ca Trends Data Types i User Defined Gig Predefined Gj Module Defined GB 1 0 Configuration dolor 4 Favorites BI Z_imericourter__XInpuvoutput Publication 1789 UM002B EN P June 2001 1 8 Getting Started Changing project properties 1 View properties for Controller quick_ start A Place the cursor over the Controller quick_start folder pe B Click the right mouse
47. 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 32767 periods RTS off delay Enter a count that represents the number of 20msec 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 32767 periods Normally leave at zero Use this mode DF1 point to point Specifying system protocol characteristics The available system modes are For See page communication between the controller and one other DF1 protocol compatible device 7 7 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 7 9 The master slave network includes one controller configured as the master node and as many as 254 slave nodes Link slave nodes using modems or line drivers A master slave network can have node numbers from 0 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 7 9 When there are multiple slave stations on the netw
48. using default values Requested Packet Interval RPI boz ms 2 0 750 0 ms T Inhibit Module F Major Fault On Controller If Connection Fails While in Run Mode Module Fault i Identification r Status Vendor Major Fault Product Type Minor Fault Product Code Internal State Revision Configured Serial Number Owned Ema g Product Name Module Identity Click Next nomeg E lt Back NE Finish gt gt Help Click Finish Publication 1789 UM002B EN P June 2001 Getting Started 1 13 Adding an 1 0 module to the project 1 Create a new module 2 RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools 4 Bleu xele lt A fine gt o Forces z fo Edits gt Forces Disabled z Path AB_KTC 142 Backplane 0 E Controller quick_start Controller Tags E Controller Fault Handler C3 Power Up Handler B E Tasks a MainT ask B E MainProgram A Program Tags E MainRoutine C3 Unscheduled Programs EI Trends Data Types G User Defined Cf Predefined Oi Module Defined 3 6 1 0 Configuration 2 1784 PCICS A cnet_scanner A Place the cursor over the remote 1794 ACN15 adapter B Click the right mouse button and select New Module 2 Select an I O module to add Select Module Type x Description 1
49. will run as long as no other periodic tasks are already executing or are ready to execute A dwell time of 0 ms does leave some dynamic amount of time of dwell that is less than 1 ms to prevent you from completely using all CPU cycles and thus locking up your computer When the continuous task enters the dwell time it makes a function call to Windows to SwitchToThread which is a function that lets the next thread that needs to run go ahead and execute If multiple SoftLogix controllers in the same virtual chassis are set for a dwell time of 0 ms the controllers will starve other applications that are running at normal priority The effect is sluggish mouse control and slow response time by other Windows applications And if you run this configuration on a slower computer you may even lock yourself out of being able to do anything in Windows Windows NT 2000 Considerations A 5 TONNES is possible to lock yourself out of your computer if you have multiple controllers installed in the virtual chassis and e each controller is set for a dwell of 0 e periodic tasks are set for very low settings short time periods In this state the keyboard and mouse are not recognized by Windows because Windows is spending all of its time executing the real time tasks of the SoftLogix controllers If the controllers are set to start in last state you will never be able to move the mouse to put them in Program mode to free up CPU re
50. x M Other IV Specialty 1 0 Select All M Analog M Digital M Communication IM Motion M Processor Clear All Cancel Help SoftLogix chassis monitor Make sure your selections for Input Size Output Size and Status Size are big enough to hold the data you expect If the sizes are too small data will be truncated If the sizes are too big the software zero pads the data blocks Type 1784 PCIDS 4 1784 DeviceNet PCI Scanner Vendor Allen Bradley Name PNE Tsara B Slot p a Description a Input Size 124 j 32bit ha Output Size fi 23 a 32 bit Status Size 32 7 32 bit Revision E fi 4 Electronic Keying Compatible Module 7 Cancel Back Next gt L Erin Help The virtual backplane driver must be installed via RSLinx software before you can download a project to the SoftLogix controller Complete your system configuration and develop your program logic Then download the project to the SoftLogix controller Publication 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 7 Step 5 Define the scan list Use RSNetWorx for DeviceNet software to define the scan list The project must already be downloaded from RSLogix 5000 programming software to the controller and the controller must be in Program or Remote Program mode 1 In RSNetWorx software go online enable edits and survey the network i DeviceNet RSNetWorx for DeviceNet _ a x File Edit
51. 0 40 etc Data Type The user defined data type that you created 5 In the RSNetWorx for ControlNet software reschedule save the network Communicating with Devices on a ControlNet Link 4 31 Example 3 Total connections required by Softi The following table calculates the connections used in this example Connection Amount Soft controller to 1784 PCICScard tt 0 Soft controller to remote 1756 CNB module 0 Soft controller to remote 1788 CNC card 0 Soft1 controller to remote PLC5C1 connected cached MSG from Soft1 to Control connected cached MSG from Soft1 to Flex1 connected cached MSG from Soft1 to PLC5C1 produced TagA produced from Soft1 to Control consumed by PLC5C1 consumed TagB from Control1 total connections used 7 The remote 1756 CNB and 1788 CNC card are configured as none for the communication format so the SoftLogix controller would require a direct connection for any I O modules connected to these devices that you want in the configuration for the SoftLogix controller Publication 1789 UM002B EN P June 2001 4 32 Communicating with Devices on a ControlNet Link Example 4 Using SoftLogix as a Gateway Publication 1789 UM002B EN P June 2001 The SoftLogix controller supports bridging over a ControlNet network Any SoftLogix MSG instruction that bridges one network has multiple pairs of numbers in its communication path To construct a
52. 2 x Select a communications path to the desired network M Autobrowse Workstation SLSK_D850GB gs Linx Gateways Ethernet H 1784 PCIDS 1 DeviceNet AB_VBP 1 1789 A17 A Virtual Chassis m 00 Workstation RSLinx Server ic F 01 1784 PCIC 1784 PCIC 3 5 31 E H 02 1784 PCICS 1784 PCICS 3 5 31 Bes Select the 1784 PCICS card from within the virtual chassis pue 01 1784 PCICS 1784 PCICS 3 5 31 SJ 03 1794 ACNR15 FLEX I O ControlNet Ade H y 14 1784 PCIC 1784 PCIC 3 5 31 03 1784 PMO2AE 2 Axis Analog Encoder Servo A 04 1789 L60 4 SoftlogixS860 Controller 1789 L6C 05 1784 PCIDS DeviceNet Service 1784 PCIDS De 06 1789 L60 4 SoftlogixS860 Controller 1789 L6C 08 1789 L60 4 SoftlogixS860 Controller 1789 L6C 09 1789 SIM 32 Point Input Output Simulator 17 10 1789 SIM 32 Point Input Output Simulator za gt Cancel Help Publication 1789 UM002B EN P June 2001 4 34 Communicating with Devices on a ControlNet Link Example 5 Using The SoftLogix controller can use the ControlLogix chassis to remotely access devices on ControlNet Ethernet DH or Universal Remote ControlLogix as a Gateway 5 networks The SoftLogix chassis monitor has a 1784 PCICS card for the ControlNet link The ControlLogix chassis has a 1756 CNB module for the ControlNet link and a 1756 DHRIO module for the DH link
53. 2 32 MSG instructions are unscheduled connections The type of MSG determines whether or not it requires a connection If the MSG instruction requires a connection it opens the needed connection when it is executed You can configure the MSG instruction to keep the connection open cache or to close it after sending the message method connection can cache CIP data table read or write CIP PLC 2 PLC 3 PLC 5 or SLC CIP hall types CIP with Source ID DH s CIP generic na block transfer read or write na s Publication 1789 UM002B EN P June 2001 4 12 Communicating with Devices on a ControlNet Link Communicating with another Logix based controller All Logix based controllers can use MSG instructions to communicate with each other The following examples show how to use tags in MSG instructions between Logix based controllers Type of MSG Instruction Example Source and Destination Logix based controller writes to source tag array_1 Logix based controller CIP Data Table Write destination tag array_2 Logix based controller reads from source tag array_1 Logix based controller CIP Data Table Read destination tag array_2 The source and destination tags e must be controller scoped tags e can be of any data type except for AXIS MESSAGE or MOTION_GROUP Publication 1789 UM002B EN P June 2001 Type of MSG Instruction SoftLogix writes to PLC 5 or SLC Communicating with De
54. 3 amp 1 1794 SCNR15 C remote 311784 PCIDS A DNET_card The data for a 1784 PCIDS card is always configured as a rack optimized connection Publication 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 11 The rack optimized connection creates a DINT element for each possible I O module connected to the device in slot 3 Local 3 The array Local 3 1 Data contains the possible input elements the Local 3 0 Data contains the possible output elements Controller Tags quick_start controller Of Scope quick_start contralle Show Show All z Sort Tag Name 7 Tag Name 2 Value Force Mask Style Type Bi E Local 3 l Para noi 4B 1784_PCIDS_500Bytes 1 0 E Local 3 StatusRegister tina Lister 4B 1784_PCIDS_StatusRegister 0 o Local 31 Date HER Decimal DINT 124 E Local 3 0 fie Soult 4B 1784_PCIDS_496Bytes 0 0 gt pen C AB 1784_PCIDS_CommandRegister 0 0 SRE ocal3 0 CommandRegister Run 0 Decimal BOOL ial ocal 3 0 CommandRegister Fault 0 Decimal BOOL o ocal 3 0 CommandRegister DisableNetwork 0 Decimal BOOL E i ocal 3 0 CommandRegister HaltS canner 0 Decimal BOOL E ocal 3 0 CommandRegister Reset 0 Decimal BOOL i i Local 3 0 Data Hs Decimal DINT 123 H Local3 5 erent Le AB 1784_PCIDS_Status_128Bytes 5 0 The index number on the array el
55. 5 31 g 02 1784 PCICS 1784 PCICS 3 5 31 03 1784 PMO24E 2 Axis Analog Encoder Servo A B 1784 PMO2AE 2 Axis Servo 04 1789 L60 4 Softlogix5860 Controller Example 05 1784 PCIDS DeviceNet Service 1784 PCIDS DeviceNet Service 06 1789 L60 4 Softlogix5860 Controller 1789 L60 4 R8 28 08 1789 L60 4 Softlagix5860 Controller 1789 L60 4 R8 28 09 1789 SIM 32 Point Input Output Simulator 1789 SIM v1 00 10 1789 SIM 32 Point Input Output Simulator 1789 SIM v1 00 Current Path TCP 116 Path in Project TCP 144 Upload Download Recent Apply Cancel Help re TEER Publication 1789 UM002B EN P June 2001 6 6 Programming Over an Ethernet Link l Notes Publication 1789 UM002B EN P June 2001 Chapter 7 Communicating with Devices on a Serial Link Using This Chapter For information about See page Configuring your system for a serial link 7 1 Example 1 Workstation directly connected to a SoftLogix controller 7 6 Example 2 Workstation remotely connected to a SoftLogix controller 7 7 Example 3 SoftLogix controller communicating with a bar code reader 7 11 IMPORTANT es length of serial RS 232 cables to 15 2m Configuring Your System for For the SoftLogix controller to operate on a serial network you need a Serial Link e the computer where the SoftLogix controller resides must have a serial port RSLinx software to configure the serial communication driver If a remote comp
56. 6 Point 120 8 Point 120 AC Input 8 Point 120V AC Isolated Input 10 Input 6 Output 24V DC Sink Source 16 Point 24V DC Input Sink 8 Point 24V DC Input Sink 8 Point 24V DC Sensor Input 16 Point 48V DC Input Sink 4 Input 2 Output 24V DC Non Isolated Analog 8 Channel 24Y DC Non Isolated Voltage Current Analog Input 2 Input 2 Output 24V DC Isolated Analog 4 Channel 24 DC Isolated Analog Input xl Select a catalog number For this quick start example select 1794 IA16 Show Vendor Ja z IV Other V Specialty 1 0 Select All M Analog M Digital I Communication Motion MN Processor Clear All Cancel Hep Click OK continued Publication 1789 UM002B EN P June 2001 1 14 Getting Started Adding an 1 0 module to the project continued 3 Identify the 1 0 module These screens are specific to the 1794 IA16 input module Module Properties flex_adapter 1794 IA167A 1 1 x 5 Type 1794 14164 16 Point 120Y AC Input Vendor Allen Bradley You should enter a name Parent flex_adapter Verify the slot number Name ffle_inouf St fd Describe the device optional p Description 4 Select the communication format Comm Eomat fimputDats Specify electronic keying pe Revision Electronic Keying Compatible Module Cancel Bac Next gt Help Click Next 4 Use the Create wizard to configure the input module Use default values for this example
57. 94 ACNR15 all modules configured as direct connection total connections used 4 Publication 1789 UM002B EN P June 2001 4 22 Communicating with Devices on a ControlNet Link Example 2 SoftLogix Controller to SoftLogix Controller Example Each SoftLogix controller resides in its own computer If you configure the 1794 ACNR15 as rack optimized and the I O modules as rack optimized you only use one connection to the 1794 ACN15 module reducing the above example by 3 connections The following table calculates the connections for this rack optimized configuration Connection Amount SoftLogix controller to 1784 PCICS card 0 SoftLogix controller to remote 1794 ACNR15 1 communication format is rack optimization SoftLogix controller to 4 1 0 modules 0 through 1794 ACNR15 all modules configured as rack optimized connections total connections used 1 In the following example one SoftLogix controller communicates with another SoftLogix controller over ControlNet The two controllers can be in separate computers or in the same computer Illustration ControlNet Soft1 Soft2 ControlNet node 16 ControlNet node 27 chassis monitor slot 2 chassis monitor slot 5 Each SoftLogix controller resides in the same computer Publication 1789 UM002B EN P June 2001 Soft1 chassis monitor slot 2 Soft2 chassis monitor slot 5 count_send count_msg en Communicating with
58. C 2 Use the PLC 2 compatibility file Example source element 070 In the SoftLogix controller select one of these data types SINT INT DINT or REAL Example destination tag array_1 Publication 1789 UM002B EN P June 2001 4 14 Typed read command 16 bit words in PLC 5 controller The typed commands main c gt Communicating with Devices on a ControlNet Link The SoftLogix controller can send typed or word range commands to PLC 5 controllers These commands read and write data differently The following diagrams show how the typed and word range commands differ Word range read command 32 bit words in SoftLogix controller 32 bit words in SoftLogix controller 16 bit words in PLC 5 controller 2 2 i 4 3 3 3 4 4 tain data structure and value The word range commands fill the destination tag contiguously Data structure and value change depending on the destination data type The SoftLogix controller can process messages initiated from PLC or SLC controllers These messages use data table addresses In order for these controllers to access tags within the SoftLogix controller you map tags to data table addresses Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 15 Mapping addresses The programming software includes a PLC SLC mapping tool which allows you to
59. Devices on a ControlNet Link 4 23 Example 2 Sending a MSG instruction To send a MSG from Soft1 to Soft2 1 For Soft1 create a controller scoped tag and select the MESSAGE data type 2 Enter a MSG instruction In this example logic a message is sent when a specific condition is met When count_send is set send count_msg a Se IE Tr q E MSG Type Unconfigured t CEN gt Message Control count_msg EH CDN C ER 3 Configure the MSG instruction On the Configuration tab For this item Specify Message Type CIP Data Table Read or CIP Data Table Write Source Tag Tag containing the data to be transferred Number of Elements Number of array elements to transfer Destination Tag Tag to which the data will be transferred 4 On the Communication tab specify the communication path A communication path requires pairs of numbers The first number in the pair identifies the port from which the message exits The second number in the pair designates the node address of the next device For this item Communication Path each SoftLogix controller resides in its own computer Specify 1 2 2 27 1 5 where 1 is the SoftLogix backplane of Soft1 2 is 1784 PCICS card in slot 2 2 is the ControlNet port 27 is the ControlNet node of Soft2 1 is the SoftLogix backplane of Soft2 5 is the controller slot of Soft2 Communication Path each SoftLogix controller re
60. Finish Publication 1789 UM002B EN P June 2001 1 6 Getting Started Creating and Downloading The following diagram illustrates the steps you follow to create and a Project download a project Use RSLogix 5000 programming software to perform these steps System setup for this quick start e SoftLogix5800 controller in slot 1 of the Create a project virtual chassis go to page 1 7 e 1784 PCICS card in slot 2 of the virtual chassis Configure ControlNet link to 5 1 0 modules FLEX 1794 ACN15 adapter and 1 0 go to page 1 9 You need e SoftLogix chassis monitor e RSLogix5000 programming software e RSLinx communication software e RSNetWorx for ControlNet software Create tags go to page 1 17 If you don t have this hardware you can still follow these steps Substitute the 1 0 modules you have for the ones listed here and make the appropriate changes Enter logic go to page 1 19 Download S a project go to page 1 21 View status go to page 1 22 Publication 1789 UM002B EN P June 2001 Getting Started 1 7 Creating a project 1 Select File gt New 2 Define the project Select a controller type Regardless of the SoftLogix product activation you have select 1789 L60 A for the type _ gt Name the project p gt Describe
61. If you do not want to go through each screen in the Create wizard click Finish to create the module using default values Requested Packet Interval RPI boz ms 2 0 750 0 ms T Inhibit Module F Major Fault On Contraller If Connection Faile While in Riin Made Module Properties flex_adapter 0 1794 1416 4 1 1 x Module Fault m Identification r Status Vendor Fault CORRE CERN IE CS ET dule P i fl zE te 0 1794 1A167A 1 1 x Product Code odule Properties flex_adapter 0 1 Revision Input Delay Time Click Next lt Back HEr Finish gt gt Help Click Finish Publication 1789 UM002B EN P June 2001 Getting Started 1 15 Changing module properties 1 View properties for the module RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools Wir oil So xialel ol fine gt No Forces gt No Eats z Forces Disabled z EX Path AB_KTC 142 Backplane 0 Controller quick_start Controller Tags E3 Controller Fault Handler C3 Power Up Handler 5 6 Tasks 5 8 MainTask 3 68 MainProgram Program Tags MainRoutine GI Unscheduled Programs E Trends Data Types Oi User Defined Oi Predefined i Module Defined 1 0 Configuration 2 1784 PCICS 74 cnet_scanner B Click the right mouse button and select Properties EE flex adopter gt NewitiGdulen Cut Copy Pas
62. Last EN us Cancel Apply Help Getting Started 1 23 Viewing controller memory usage 1 View properties for Controller quick_ start o RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications lalslal S feel ole A Place the cursor over the Controller quick_start folder NoEdts f Forces Disabled x _ gt Path AB_KTC 1 2 Backplane 0 aS B Click the right mouse button and select Properties Controller Ta L 2 Controller Fat Print I Power Up He A S Tasks 8 MainTask 2 Select the Advanced tab S Controller Properties quick_start ioj x General Serial Port System Protocol User Protocol Major Faults MinorFauts Date and Time Advanced File In addition to other information the Advanced Memory Used 53 632 bytes bdispl Il Unused 3 092 096 bytes tab displays controller memory usage Total 3 145 728 bytes Controller Fault Handler lt none gt E Power Up Handler none gt System Overhead ma Time Slice m 4 What To Do Next Once your controller is created 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 SoftLogix controller operates in the Logix environment Publication 1789 UM002B EN P June 2001 1 24 Getting Start
63. The produced tag in the originating SoftLogix controller must have the same data type as the consumed tag in the other SoftLogix controller The SoftLogix controller performs type checking to ensure proper data is being received IMPORTANT If a consumed tag connection fails all of the other tags being consumed from that remote controller stop receiving data Communicating with Devices on a ControlNet Link 4 21 Example 1 SoftLogix In the following example one SoftLogix controller controls I O Controller and 1 0 through a 1794 ACN15 module SoftLogix controller ControlNet EE 1794 ACN with 1 0 remote _flex Example 1 Controlling 1 0 This example has the SoftLogix controller controlling the I O connected to the remote 1794 ACN15 module The data the SoftLogix controller receives from the I O modules depends on how you configure the I O modules You can configure each module as a direct connection or as a rack optimized connection One location chassis or DIN rail can have a combination of some modules configured as a direct connection and others as rack optimized Example 1 Total connections required by the SoftLogix controller The following table calculates the connections used in this example Connection Amount SoftLogix controller to 1784 PCICS card 0 SoftLogix controller to remote 1794 ACNR15 0 communication format is none SoftLogix controller to 4 1 0 modules 4 through 17
64. Trends Data Types Ci User Defined Lg Predefined A Place the cursor over the 1 0 Configuration folder Ga Module Defined CHRIS at B Click the right mouse button and select New Module 2 Select the 1784 PCICS card Major Revision Select 1784 PCICS ta 1784 DeviceNet PCI Scanner 1 784 PMO2A4E 74 2 Axis Analog Encoder Servo 1 789 L60 4 SoftLogix5860 Controller 1 789 MODULE Generic 1789 Module Ved fr M Other M Specialty 1 0 Select All Analog M Digital M Communication M Motion M Controller Cean Cancel Help Click OK continued Publication 1789 UM002B EN P June 2001 1 10 Getting Started Adding a 1784 PCICS communication card to the project continued 3 Identify the communication card Module Properties Local 1784 PCICS A 1 1 x Type 1784 PCICS A 1784 ControlNet PCI Scanner You should enter a name Mee Mer Verify the slot number p Name Jonetscanner Slot pe Describe the device optional y Description 4 Revision al 1 Electronic Keying Compatible Module ad Specify electronic keying ge Cancel re Click Next 4 Use the Create wizard to configure the communication card Use default values for this example If you do not want to go through each screen in the Create wizard click Finish to create the card using default values Requested Packet Interval RPI 0 a ms
65. View Network Device Tools Help 2 3 lal al8l mele Qle ele aime 309 1794 ADN 1794 ADN 1794 ADN 1794 ADN Series _ DeviceNet Flex DeviceNet Flex DeviceNet Flex DeviceNet Flex 9000 COS Diffu VO Adapter 33 I O Adapter 34 O Adapter 35 I O Adapter 6 w cable 2 aTa ag 10 11 13 12 14 This is the 1784 PCIDS communication card M 4 gt Mh Graph Spreadsheet Master Sle of x SI Message Code Description SSS Messages Onine Not Browsing 2 Double click the 1784 PCIDS card and select the Module tab to configure the card Upload the network information when prompted General Module Scanist Input Output ADR Summary Interscan Delay im a msec Upload from Scanner Scanner Configuration Applet x Do you want to upload the configuration from the device updating the Foreground to _ Background Poll Ratio B Zi Download to Scanner software s configuration or download the software s configuration to RAR the device updating the device Slave Mode For more information press F1 Advanced v gt Upload Download Every device on the network must be in Program or Remote Program mode for the software to re write all of its connections If a device is not in the correct mode the software prompts you to let it change the device s mode she continue Publication 1789 UM002B EN P June 2001 5 8 Communicating with Devices
66. _flex 2 1 AB 1794_IF2XOF21 1 0 remote_flex 2 0 8B 1794_1F2X0F21 0 0 remote_flex 2 C 8B 1794_1F2X0F21 C 0 Publication 1789 UM002B EN P June 2001 4 10 Communicating with Devices on a ControlNet Link The tags for the individual digital 1 0 modules are actually aliases back into the rack optimized array tag For example remote_flex 0 I is an alias to remote_flex I Datal 0 These digital I O modules were configured with a rack optimized communication format to take advantage of the rack optimized array tag created for the communication device The index number on the array element refers to the slot number on remote_flex For example Data 2 refers to the module in slot 2 You can have only one I O module in a given slot so Data 2 is only used in either the input or output array That same element in the other array still exists even though it does not contain actual data You can create aliases to the elements you actually use to more readily identify the data you need Note that the tags for the analog module remote_flex 2 I remote_flex 2 0 and remote_flex 2 C are not aliases Analog modules require direct connections to operate Do not use the element of the rack optimized array tag to control the analog module Use the individual slot referenced tag Working with direct connections If you select None for the communication format to the communication device the software assum
67. a PLC 5 controller Place the SoftLogix tag name in double quotes Example Source and Destination source element N7 10 destination tag array_1 source tag array_1 destination element N7 10 Example 3 Producing and consuming tags You can produce and consume tags with any Logix controller the same as you do with a SoftLogix controller All Logix controllers follow the same requirements for producing and consuming tags See Example 2 above Publication 1789 UM002B EN P June 2001 4 28 Communicating with Devices on a ControlNet Link Producing and consuming tags with a ControlNet PLC 5 controller depends on the type of data 6 la le ControlLogix controller Control ControlNe H Ho Q ge 27337333R D E EE R o Si ii ee SPARE LE F FlexLogix controller Soft eal PLC 5 controller Flex TagA DINT TagB REAL Producing a tag to a ControlNet PLC 5 controller To produce a tag that a ControlNet PLC 5 controller can consume 1 Determine the type of data to produce If And you are producing Then INT na A Create a user defined data type that contains an array of INTs with an even number of elements such as INT 2 When you produce INTs you must produce two or more B Create a produced tag and select the user defined data type you create
68. a Serial Link 7 1 Step 1 Configure the serial port p64 ee peak es 7 2 Changing the COM port setting 7 3 Step 2 Configure the serial port of the controller 7 4 Monitoring the Controller EDS 54 Lip ean eee ee 7 6 Example 1 Workstation Directly Connected to a SoftLogix Controller yi nas nu san put ba tas bis al 7 6 Configuring a DF1 point to point station 7 7 Example 2 Workstation Remotely Connected to a SoftLogix Controller ot ot wade etic Bak oP a 7 7 Master slave communication methods 7 8 Configuring a DF1 slave Station eed de a es 7 9 Configuring a DF1 master station 7 9 Example 3 SoftLogix Controller to a Bar Code Reader 7 11 Connect the ASCII device to the controller 7 12 Configuring user mode se Sue enr Poe here 7 13 Programming ASCII instructions 7 13 Publication 1789 UM002B EN P June 2001 Table of Contents iv Configuring and Using Simulated 1 0 Windows NT 2000 Considerations Monitoring Controller LEDs Publication 1789 UM002B EN P June 2001 Chapter 8 Using This Chapter 6 45 9 44 SIRS OARS a OS SEED hs 8 1 Configuring Your System for a 1789 SIM Module 8 1 Step 1 Create the 1789 SIM module in the chassis 8 2 Step 2 Configure the module as part of the project 8 4 Mapping I O Data to the 1789 SIM Module 8 6 Toggling Inputs and Monitoring Outputs
69. 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 1789 UM002B EN P June 2001 This field Station address Communicating with Devices on a Serial Link 7 9 Configuring a DF1 slave station Description The station address for the serial port on the DF1 slave Enter a valid DF1 address 0 254 Address 255 is reserved for broadcast messages The default is 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 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 32767 Limits are defined in 20ms intervals
70. ainRoutine 0 voma End 4 Enter this logic MainProgram MainRoutine ee Ge imer On Delay Timer timer_1 Preset 1000 Accum 0e 5 To save the project from the File menu select Save Publication 1789 UM002B EN P June 2001 Downloading a project 1 Use RSLinx software to install the virtual backplane driver A In RSLinx software select Communication Configure Driver B From the Available Driver Types list select Virtual Backplane Driver There are no configuration settings to select The chassis monitor uses this driver for the controller to communicate with RSLinx software C Click Add New Configure Drivers Getting Started 1 21 r Available Driver Types RS 232 DF1 devices Ethemet devices DF1 Polling Master Driver 1747 PIC AIC device DF1 Slave Driver 5 5 SD SD2 for DH devices Virtual Backplane Driver PLC 5 DH Emulator driver SoftLogix5 driver 1784 KT KTX DJ PKTX D for DH DH 485 devices 1784 PCC for ControlNet devices 1784 PCIC for ControlNet devices SLC 500 DH485 Emulator driver 1784 PCMK for DH DH 485 devices Remote Devices via Lins Gateway HAE Close Help 0 1784 KTC X for ControlNet devices Status Running Configure Running Startup DeviceNet Drivers 1784 PCD PCIDS 1770 KFD SDNPT drivers Stop Delete 2 Make sure the 1784 PCICS communication card is connected to the ControlN
71. apter 1 Introduction LE er Et cates ves Se Die Ce 1 1 Creating and Configuring the Controller 1 2 Launching the chassis monitor 1 3 Creating the controller Lis sn dons r nues snnnt 1 4 Creating a 1784 PCICS card pu n s ep nat tes 1 5 Creating and Downloading a Project 1 6 Creating A Project uns a6 8 eur ana Les De Me pores 1 7 Changing project properties 1 8 Adding a 1784 PCICS communication card to the project 1 9 Adding an I O adapter to the project 1 11 Adding an I O module to the project 1 13 Changing module properties wate Sh dde BN ey 1 15 Viewing OTA Gs Na pod ely tne se CN ay 1 16 Creating other LAGS soto ea ted oh bast Boe PSP OT ES OY 1 17 Documenting I O with alias tags 1 18 Entering lasers deta Gooch 3 Mea a ee nd e 1 19 Downloading a project hye gee Be PA ESR EONS Ee 1 21 Viewing program scan time 1 22 Viewing controller memory usage 1 23 What ToDo NE Va vatin ten ay aie et BN ee eR ee 1 23 Chapter 2 Using This CAPI ES es MR TAMPON TT Dr Es 2 1 Using th Chassis Monitor 2 66 ey dat ee dat aie ne de 2 3 Determining a Memory Size Lie ones andre 2 5 Developing Pros ios ox 4 fo er ne re 2 6 D PART 2 7 Defining programs ech sue bag 4d oe de ue de en ed AS 2 9 Defining TOURS ra Sree ea a TAN PA Es es 2 9 How the SoftLogix System Uses Connections
72. are prompts you to let it change the device s mode Publication 1789 UM002B EN P June 2001 4 8 Communicating with Devices on a ControlNet Link Placing ControlNet 1 0 The SoftLogix controller supports as many communication cards as you have PCI slots in the computer Each Logix based communication module supports a limited number of scheduled and unscheduled connections Take these limits into account when designing your system Device Description Maximum Scheduled Connections Maximum Unscheduled Connections per Module per Module 1784 PCICS SoftLogix ControlNet 128 total connections 127 of which can be scheduled connections communication module 1788 CNC FlexLogix ControlNet 10 scheduled connections 32 unscheduled connections 1788 CNCR communication card each scheduled connection reduces the number of unscheduled connections by 1 1756 CNB ControlLogix ControlNet 64 total connections any combination of scheduled and unscheduled 1756 CNBR communication module 1794 ACN15 FLEX ControlNet adapter 9 total connections any combination of scheduled and unscheduled 1794 ACNR15 module Accessing 1 0 This address variable I O information is presented as a structure of multiple fields which depend on the specific features of the I O module The name of the structure is based on the location of the I O module in the system Each I O tag is automatically created when you configure the I O module through the programming sof
73. assis monitor select Slot Create Module or right click the appropriate slot and select Create Select the motion card i SoftLogix Chassis Monitor Select Module x View Options Hel BED view P Module Type 1783 60 SoftLogi5860 Controller 1784 PCIC ControlNet PCI Messaging Remove Module F Ve 1784 PCICS ControlNet PCI Scanner Cancel 1784 PCIDS DeviceNet PCI Scanner 1784 PM024 inalog Encoder Servo 1789 SIM 32 Point Input Output Simulator Specify the backplane slot number p Click OK 2 Specify which motion card to use by selecting an available ID number which corresponds to the setting on the card identification switch Select Device x Type 1784 PMO02AE 2 Axis Analog Encoder Servo Vendor Allen Bradley Available ID Numbers Select the ID number ___ ys Speak lates If you previously configured the 1784 PMO2AE card that Reo EPP re ra 5 p revious Configuration information exists for this device you selected by ID number the chassis monitor amp Fee Pre ce eonnieuiaion remembers the configuration from the last time you C Reset the Configuration to Default Values used the card whether in the same or different slot Back Cancel Help Click Next 3 Enter the label name for the card this is the name you wrote on the label of the card to help you identify the card from others in the same computer cenera x Type 1784 PMO2A4E 2 Axis Analog Encoder Servo Ve
74. at most directly effects performance in the SoftLogix controller is the course update setting This setting is the periodic rate for a separate SoftLogix thread in Windows that takes all motion commands that execute in the SoftLogix controller and sends them to the motion card In a ControlLogix system to improve motion performance you would typically use a dedicated ControlLogix CPU for each motion module In a SoftLogix system adding more controllers actually decreases system performance It is better to put everything in one controller Or add another Pentium processor in the computer and dedicate motion to just one of the Pentium processors Windows NT 2000 Considerations A 9 PC Hardware Considerations Consideration hard drives Using multiple SoftLogix controllers Multiple controllers in the virtual chassis executing on a computer with only one CPU is less efficient than one controller With multiple controllers Windows has to take time to swap threads in a round robin fashion assuming all the controllers have a continuous task and a very small dwell If your computer has multiple CPUs then assign multiple controllers across the multiple CPUs The PC hardware you chose for the SoftLogix controller will have a dramatic impact on the performance of the SoftLogix control system The recommended platform at the time of release of the SoftLogix controller is a Pentium II 450 Mhz minimum processor with 128 Mbytes of RAM
75. 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 1789 UM002B EN P June 2001 RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications lalslal S MSle ET No Edits m Forces Disabled x Path AB_KTC 1 2 Backplane 0 Verify Controller Ta z Controller Fai I Power Up H 5 6 Tasks 38 MainTask Print Maior Faults Minor Faults Date and Time Advanced File General Serial Port System Protocol User Protocol Vendor Allen Bradley Type 1789 L60 4 SoftLogix 5860 Controller Ghenge Ippe Name ro Description a j Chassis Type 178917 17 Slot SoftLogix Vitual Chassis Slot 1 Revision F fi 4 C ox Cas 2 He Getting Started 1 9 Adding a 1784 PCICS communication card to the project 1 Create a new module RSLogix 5000 quick_start 1789 L6 File Edit View Search Logic Communic FECERPELREE ortine gt o Forces No Edits z Forces Disabled Path AB_KTC 142 Backplane 0 B E Controller quick_start A Controller Tags E Controller Fault Handler C3 Power Up Handler B E Tasks H 8 MainTask B E MainProgram A Program Tags E MainRoutine C3 Unscheduled Programs EI
76. cal chassis When motor turns on the starter contactor turns on stop start motor lt Local 5 Data 0 0 gt lt Local 5 Data 0 1 gt lt Local 5 0 Data 0 0 gt dE J E ES pe LE C2 motor lt Local 5 0 Data 0 0 gt AE JE If you want to select the 1784 PCIDS card from an online list of available devices such as Browse Network in RSNetWorx for DeviceNet software select the 1784 PCIDS card from outside of the virtual chassis Browse for network xj Select a communications path to the desired network Select the 1784 PCIDS card from outside of the virtual chassis gt 06 Workstation SLSK_D850GB AB_VBP 1 1789 417 4 Virtual Chassis a 00 Workstation RSLinx Server H F 01 1784 PCIC 1784 PCIC 3 5 31 H 02 1784 PCICS 1784 PCICS 3 5 31 03 1784 PMO2AE 2 Axis Analog Encoder Servo A B 1 04 1789 L60 A Softlogix5860 Controller 1789 L60 A 05 1784 PCIDS DeviceNet Service 1784 PCIDS Devi 06 1789 L60 4 Softlogix5860 Controller 1789 L60 A 08 1789 L60 4 Softlogix5860 Controller ie gt Cancel Help Publication 1789 UM002B EN P June 2001 5 18 Communicating with Devices on a DeviceNet Link Notes Publication 1789 UM002B EN P June 2001 Chapter 6 i Programming Over an Ethernet Link J Using This Chapter For information about See page I Configuring your system for an Ethernet link 6 1 I Example Workstation remotely connected to a SoftLogix controller
77. cation 1789 UM002B EN P June 2001 3 8 Controlling Motion Devices 4 On the Group tab assign a motion group Axis Properties motion_tagl _ Oo x Actions Hookup Tune Servo Gains Dynamics General Group Units Feedback Positioning Homing Overtravel Servo Assigned Motion Group Axes Assigned Coarse Rate ZI ms Leal Sewo Update Pernod z i General Fault Type l v OK Cancel Apply Help To Then create a new motion group Click New Group use an existing motion group Go to Step 7 IMPORTANT During configuration you must name and configure a motion group which results in a MOTION_GROUP tag After configuring the motion group you can assign your axes to your motion group 5 Specify this information Make sure you enter a group name Name po Description Cancel f Help Tag Type Base C Alas Consumed Data Type MOTION_GROUP a Configure Scope quick_start controller ewe Style l z fo Eroduce this tag for upto L Ea Imes In this field Type Name The name of the motion group Description A description of the motion group optional 6 Click OK Publication 1789 UM002B EN P June 2001 Controlling Motion Devices 3 9 7 On the Group tab assign the axis to a motion group and specify Select the motion group gt this information Axis Properties motion_tagl L of x Actions Hook
78. d DINT or REAL Only one DINT or REAL value Create a produced tag and select the DINT or REAL data type as appropriate More than one DINT or REAL A Create a user defined data type that contains an array of DINTs or REALs as appropriate B Create a produced tag and select the user defined data type you created 2 In RSNetWorx software open the ControlNet configuration for the target ControlNet PLC 5 controller insert a Receive Scheduled Message and enter the following Message size lf the produced tag Then for the Message size enter contains INTs The number of integers in the produced tag DINTs Two times the number of DINTs or REALs in the produced tag For example if the produced tag contains 10 DINTs REALS enter 20 for the Message size Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 29 3 In the RSNetWorx software reschedule save the network The ControlNet PLC 5 controller does not perform type checking Make sure the PLC 5 data type can correctly receive the SoftLogix produced tag to ensure proper data is being received When a ControlNet PLC 5 controller consumes a tag that is produced by a Logix5000 controller it stores the data in consecutive 16 bit integers The ControlNet PLC 5 controller stores floating point data which requires 32 bits regardless of the type of controller as follows e The first integer contains the upper left mo
79. d shows how one object has to stop running if another with higher priority wants to execute The SoftLogix controller executes as a real time priority process and thus waits for all ISRs and DPCs to complete before executing il Ii IN SC lt AN OUT The interruption of scan time in the real time thread is due to driver interrupt activity ISR DPC real time 2 a high 3 f a be normal S 2 3 g ow S Other Considerations Consideration Multiple CPUs in one computer Time Be Description Multiple CPUs in the PC can greatly improve performance The Windows scheduler algorithm automatically uses both CPUs to execute whatever needs to be executed Any code that needs to execute will move to whichever CPU is available unless the current process specifically requests a certain CPU The CPU Affinity parameter of the SoftLogix controller has you specify a which CPU to execute on allowing you to customize your system for more determinism Blue screen events Publication 1789 UM002B EN P June 2001 Blue screen events are the result of the Pentium processor generating self diagnostic events that fall in the category of fault or abort Usually there is code to recover from fault interrupts such as Page Faults and these do not cause Windows to stop But there are occasions in the case of hardware failures that gene
80. duled connections can be used for unscheduled connections Some messages use an unscheduled connection to send or receive data Some messages also have the option of leaving the connection open cache or closing the connection when the message is done transmitting The following table shows which messages use a connection and whether or not you can cache the connection This type of message Using this Uses a Which you communication method connection can cache CIP data table read or write CIP v PLC2 PLC3 PLCS or SLC all types CIP CIP with Source ID DH CIP generic N A block transfer read or write N A Publication 1789 UM002B EN P June 2001 2 12 What Is SoftLogix If the message executes repeatedly Use the following table to select a cache option for a message Then Because Select the Cache This will keep the connection open and optimize Connections check box execution time Opening a connection each time the message executes increases execution time infrequently This type of tag produced Clear the Cache Connections This will close the connection upon completion which check box frees up that connection for other uses You can cache as many as 16 messages a combination of any type not including block transfer at one time If you try to cache more than 16 the controller determines the 16 most currently used messages and caches those If there are 16 messag
81. e Ethernet communication driver on the computer with the programming software 1 In RSLinx software select Configure Driver Select the Remote Devices via Linx Gateway driver 2s Rockwell Software RSLinx Lite RSWho 1 a File View Eeee Station Security Window Help s sle BSWho M Autobrowse Configure SI a Er w Configure Client Applications Le s Lint Configure CIP Options 7 z inx Gateways Driver Diagnostics Ethernet CIP Diagnostics Click Add New 2 Add the Ethernet driver Enter a name for the driver You must create one driver for each SoftLogix controller you want to program remotely Click OK Configure Drivers Available Driver Types Virtual Backplane SoftLogix58xx 7 RS 232 DF1 devices Ethemet devices 01784 KTC X for ControlNet devices 1784 KT KTX D PKTX D for DH DH 485 devices DF1 Polling Master Driver 1784 PCC for ControlNet devices 1784 PCIC S for ControlNet devices 1747 PIC AIC device DF1 Slave Driver 5 5 SD SD2 for DH devices Virtual Backplane SoftLogix58xx DeviceNet Drivers 1784 PCD PCIDS 1770 KFD SDNPT drivers PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver 1784 PCMK for DH DH 485 devices SoftLogixS driver Remote Devices via Link Gateway Running Configure Drivers Available Driver Types Remote Devices via Linx Gateway x Add New Configured Drivers
82. ed Notes Publication 1789 UM002B EN P June 2001 Chapter 2 What Is SoftLogix Using This Chapter The SoftLogix controller is part of the Logix environment The SoftLogix controller is a software based controller that supports the Logix instructions including the motion instructions A SoftLogix system can consist of these components RSLogix 5000 programming software that supports every Logix controller e 1784 PM02AE motion card that provides integrated motion control e 1784 PCICS communication card that provides communication and I O control over a ControlNet network or a 1784 PCIC communication card that provides communication over a ControlNet network e 1784 PCIDS communication card that provides communication and I O control over a DeviceNet network Motion support is an integral part of the SoftLogix controller RSLogix 5000 programming software provides all motion suppo The 1784 PMO2AE motion card connects to the termination panel The SoftLogix controller resides on a computer The same RSLogix5000 programming software supports program development for all Logix controllers to drives The SoftLogix controller also supports a software based 1789 SIM module that you can use to simulate I O points for your application See chapter 2 Configuring and Using Simulated I O Publ
83. ed additional memory Controller tasks _____ 4000 __ by tes minimum 1 needed Discrete I O points _____ 400 _____ bytes Analog I O points _____ 2600 _ bytes Communication modules ___ 2000 _ bytes Motion axis _____ 8000 _ bytes Total __ bytes If you want to change the amount of memory you specified for a controller you must first remove the controller from the SoftLogix chassis monitor Then re install the controller and specify the new memory size Publication 1789 UM002B EN P June 2001 2 6 What Is SoftLogix Developing Programs The controller s execution model 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 32 task 1 configuration status watchdog program 32 program 1 program local main routine tags fault routine other routines controller global tags 1 0 data system shared data Publication 1789 UM002B EN P June 2001 What Is SoftLogix 2 7 Defining tasks A task provides scheduling and priority information for a
84. ement refers to the same numbered word mapped to the device in RSNetWorx for DeviceNet Depending on the device there can be several words mapped to on device You can create aliases to the elements you actually use to more identify the data you need Publication 1789 UM002B EN P June 2001 5 12 Communicating with Devices on a DeviceNet Link Placing the Communication To place the 1784 PCIDS card in Run mode your program logic needs Card in Run Mode to set the CommandRegister Run bit in the output word for the card Controller Tags quick_start controller Scope quick_start controller Show Show All 7 Sot Tag Name 7 7 Value Tag Name Force Mask Local 3 Local3 1 StatusR egister Local 3 1 Data Local 3 0 Local 3 0 CommandRegister Run Local 3 0 CommandRegister Fault Local 3 0 CommandRegister DisableNetwork Local 3 0 CommandRegister H altS canner Local 3 0 CommandRegister Reset Local 3 0 Data Ene Local 3 S Peas ee Lun Lun mn PEN bel Pe E Set this bit gt rl ololololo RES For example o Local 6 0 CommandRegister Run SS Using the CommandRegister bits The following table describes how the 1784 PCIDS card uses the CommandRegister bits When CommandRegister Run is set to The 1784 PCIDS card zero 0 is in Idle
85. es cached and a message is triggered that is currently not cached the controller drops the connection of the oldest cached message to make room for the new message In addition to 16 cached messages you can also cache as many as 16 block transfer messages The same conditions apply to caching block transfer messages as described above for caching other types of messages Determining scheduled connections for produced consumed tags The SoftLogix controller supports the ability to produce broadcast and consume receive system shared tags System shared data is accessible by multiple controllers over a ControlNet network Produced and consumed tags each require scheduled connections Requires these connections A produced tag allows other controllers to consume the tag which means that multiple controllers can simultaneously receive the same tag data The local controller producing must have one connection for the produced tag and the first consumer and one more connection for each additional consumer heartbeat The default produced tag specifies that two controllers can consume the tag but you can change the number of consumers As you increase the number of controllers that can consume a produced tag you also reduce the number of connections the controller has available for other operations like communications and 1 0 consumed Publication 1789 UM002B EN P June 2001 Each consumed tag requires one connection for the c
86. es that you want a direct connection for each I O module connected to that device The software creates slot referenced tags for each I O module but not for the communication device remote_flex 0 1 8B 1794_DI_6 1 0 remote_flex 0 1 Fault DINT Binary remote_flex 0 1 Data SINT Binary remote_flex 0 C 8B 1794_DI_Delay8 C 0 remote_flex 1 1 4B 1794_D0 1 0 remote_flex 1 0 4B 1794_D08 0 0 E remote_flex 1 0 Data SINT Binary remote_flex 1 C AB 1794_D08 C 0 emote_flex 2 AB 1794_IFZXOF21 1 0 AB 1794_ F2X0F21 0 0 remote_flex 2 C AB 1794_IF2X0F21 C 0 Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 11 Sending Messages The SoftLogix controller can send MSG instructions to other controllers over a ControlNet link Each MSG instruction requires you to specify a target and an address within the target The number of messages that a device can support depends on the type of message and the type of device This device Support this many Support this many unconnected messages connected messages 1756 CNB module 20 64 for a Logix5550 controller 1784 PCICS card 50 128 for a SoftLogix controller 1788 CNx daughtercard depends on amount of memory 32 for a FlexLogix controller used for each MSG ControlNet PLC 5 controller 3
87. et link A In RSNetWorx software go online through the 1784 PCICS card in the virtual chassis B Enable edits and survey the network C Specify the network update time NUT D Save and re write the schedule for all connections 3 Download the project from the Communications menu A In RSLogix5000 software select Communication Who Active B Select the SoftLogix controller in slot 1 of the virtual backplane C Click Download Confirm the download when prompted D Apply the path to the project Biel Est Yew ewok Levee Iols Hen ce lsls uls mens alt tlt a p F evictnaes Ba ea Gm I irena Leek ere Abdi Z NemokuedteTimetns sw s0 Ava SomaledBand S16 1E a16 Connection Mena Usene 14 143 AR Pases ED ASD Pea SchaledBand 012 1012 oe E 214 is Hardware 20 g Flex B slot chassis 1739 A17 A Virtual chassis 5 1 EN lia raph Tsp En oll El i Dire Start GJ Ewbirg CAW BAsotlcoxCrassi BARSU Gateway EF Controler xe Ei RSLogk s00 8y poi serait icy Ser SS iojxi M Autobrowse HENE B Workstation SL5K_D850GB Current Path 4B_VBP 111 N Apply Current Path to Project Path in Project AB_VBP 144 s Linx Gateways Ethernet AB_YBP 1 1789 A17 A Virtual Chassis Upload 00 Workstatio
88. executed by Windows and then the periodic task continues when the interrupt is complete The periodic task executes again in real time at the next preset interval The time spent in the ISR or DPC does not get added to the time counted between periodic tasks A periodic task detects an overlap and sets the Overlap fault bit in the controller if a periodic tasks fails to run at all during its assigned time slot or if a periodic tasks starts later than scheduled and cannot complete before the start of the next period The following diagram shows periodic task intervals when a task actually starts and what is considered an overlap condition Periodic task intervals Overlap Overlap condition condition Publication 1789 UM002B EN P June 2001 Actual task execution If two controllers in the same virtual chassis each have high priority periodic tasks and the tasks become active at the same time Windows tries to switch between the tasks at whatever quantam is set within Windows The quantam varies based on the performance boost setting for the process With no performance boost the quantam is 20 ms for the Windows workstation Typically a SoftLogix controller finishes the entire scan of a periodic task before using a whole quantam To use the whole quantam a thread has to be ready to execute the whole time If a thread stops and makes any type of I O call such as disk drive DRAM memory etc the thread gets switched by Windows
89. g Started Creating the controller 1 Create a new module 4 SoftLogix Chassis Monitor iq view Options Help Select Slot Create Module _ gt BREST or right click the appropriate slot and select Create Remove Module 2 Select the controller Select Module x Module Type Eig tii ent 1784 PCIC ControlNet PCI Messaging 1784 PCICS ControlNet PCI Scanner Cancel 1784 PCIDS DeviceNet PCI Scanner 1784 PMO24E 2 Axis Analog Encoder Servo 1789 SIM 32 Point Input Output Simulator Specify the chassis slot number yy Click OK 3 Configure the controller Specify configuration settings for the controller e startup mode e memory size e periodic save interval dwell time e CPU affinity e COM port to use for serial communications Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Startup Mode Memory Size KB 3072 Periodic Save fe r re AAMC E Interval min Remote Program noble CNE Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Dwell Time ms m Baci Car CPU Affinity o Channel 0 SerialPort None T Cancel Help Click Finish Publication 1789 UM002B EN P June 2001 Getting Started 1 5 Creating a 1784 PCICS card 1 Create a new module SoftLogix Chassis Monitor la View Options Help Select Slot Create Module p or right click the appropriate
90. h Logic Communications Tools Ww alata elle zi Path lt none gt E Controller quick_start Controller Tags E Controller Fault Handler C3 Power Up Handler amp Tasks 8 MainT ask 23 MainProgram A Program Tags E MainRoutine C3 Unscheduled Programs 3 Trends Data Types Ga User Defined Select Module Type x Type Major Revision fi 794 4CN15 C 3 X Description 1771 ControlNet Adapter 1771 ControlNet Adapter Redundant Media ControlNet PLCS 1788 ControlNet to DeviceNet Linking Device 1788 ControlNet Bridge Coax Media 1788 ControlNet Bridge Redundant Coax Media 1794 ControlNet Adapter 1794 ControlNet Adapter Redundant Media CONTROLNET MODULE Generic ControlNet Module FlexPak 3000 DC Drive GY3000 AC Drive 2711 Paneliew Operator Terminal Select All M Analog I Digital M Communication Motion M Processor Clear All Show Vendor All X M Other Predefined LE Module Defined amp 1 0 Configuration Cancel Help 6 Specify the appropriate communication module settings Module Properties CNET_adapter 1794 ACN15 C 3 1 x Type 1794 4CN15 C 1794 ControlNet Adapter Vendor Allen Bradley Parent CNET_adapter Name emoet Node fi a Description o 4 Chassis Size fe Comm Format Rack Optimization Revision Ba fi ZA Electronic Keying Compatible Module hd Cancel Back Next gt
91. hassis You install virtual devices in the virtual chassis to represent the controller and cards in your system i SoftLogix Chassis Monitor Slot View Options Help RUN REM PRENET 0 OF s For Help press F1 The chassis monitor is your interface to the SoftLogix controller Use the monitor to e add and configure controllers e add and configure communication cards e add and configure motion cards e change processor mode e monitor controller and associated module status e monitor motion performance Publication 1789 UM002B EN P June 2001 2 4 What Is SoftLogix When you install a controller the chassis monitor lets you configure specific characteristics about the controller On this configuration dialog box Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Startup Mode Remote Program Memory Size KB 3072 Periodic Save Fo a me M Enable Periodic Save Interval min Controller Name Last Loaded R co e Specify these characteristics Startup Mode Specify how the controller should behave when its service is started Select Remote Program default or Last Controller State Memory Size Specify the memory size KBytes to allow for the controller The limit is the amount of RAM in your computer The default is 3072 KBytes See the information on the next page about determining an appropriate memory size Peri
92. he motion card to which the axis is wired Module Properties Local 1784 PMO2AE ZA 3 1 x Type 1784 PMO24E 4 2 Axis Analog Encoder Servo Vendor Allen Bradley Parent Local Name motion carat Slot 2 a Description El Associated Axes Channel 0 kmo HN Channel 1 kmo o A mem Revision al fi 4 Electronic Keying Compatible Module x Cancel Bac Next gt Help To Then Assign your axis to channel 0 In the Channel 0 field select your axis from the drop down menu Assign your axis to channel 1 In the Channel 1 field select your axis from the drop down menu Add another axis Click New Axis Complete your configuration Select Finish MESIA You can also name and configure axes and motion groups using the controller tag editor The tag editor supports copy and paste operations which can make axis naming and configuration easier and faster Publication 1789 UM002B EN P June 2001 Controlling Motion Devices 3 11 Running Hookup Once you add and configure the motion cards and their axes you can download your program After going online complete hookup Diagnostics and Autotuning diagnostics and auto tuning 1 Download your project The project can be a blank program but it must include complete configuration information for all your modules and axes 2 Verify that a connection is established with each module in the I O configuration of the controller
93. he tag that you want to consume or enter a new tag and display the Tag Properties dialog box 4 Specify In this field Type or select Tag Type Select Consumed Controller Select the name of the other controller You must have already created the controller in the controller organizer for the controller name to be available Remote Tag Name Remote Instance Type a name for the tag in the other controller you want to consume Important The name must match the name in the remote controller exactly or the connection faults If the remote controller is a ControlNet PLC 5 this field is Remote Instance Select the instance number 1 128 of the data on the remote controller RPI requested packet interval Type the amount of time in msec between updates of the data from the remote controller The local controller will receive data at least this fast Display Style If you are creating a consumed tag that refers to a tag whose data type is BOOL SINT INT DINT or REAL you can select a display style This display style defines how the tag value will be displayed in the data monitor and ladder editor The display style does not have to match the display style of the tag in the remote controller Publication 1789 UM002B EN P June 2001 All consumed tags are automatically controller scope To consume data from a remote controller use RSNetWorx software to schedule the connection over the ControlNet network
94. ication 1789 UM002B EN P June 2001 2 2 Whatls SoftLogix Publication 1789 UM002B EN P June 2001 Select the SoftLogix5800 product that best fits your application If you need maximum Use this Available slots controller 1 SoftLogix5800 controller 1789 L10 2 slot virtual 1 PCI communication card chassis no motion support 2 SoftLogix5800 controllers 1789 L30 5 slot virtual 5 PCI communication cards chassis 2 analog motion cards 4 axis maximum 6 SoftLogix5800 controllers 1789 L60 16 slot virtual unlimited PCI communication cards 2 chassis 4 analog motion cards 8 axis maximum There is a maximum 2048K bytes of controller memory on the 1789 L10 product 2 The number of available slots in the virtual chassis is limited by activation level You can have as many PCI communication cards as you have available slots IMPORTANT The same SoftLogix5800 controller is supplied in all of the above products Regardless of the product you have select 1789 L60 A in RSLogix5000 software when you specify a controller type For information about See page using the chassis monitor 2 3 developing programs 2 6 how the SoftLogix system uses connections 2 9 selecting a system overhead percentage 2 14 What Is SoftLogix 2 3 Using the Chassis Monitor The SoftLogix chassis monitor is your window into the SoftLogix system so you can monitor the system components The chassis monitor models a c
95. ication 1789 UM002B EN P June 2001 8 8 Configuring and Using Simulated 1 0 Example Moving The following example uses MOV instructions to copy Application Data into the e the input data from the 1789 SIM module into the application s 1789 SIM Tags input tags e the application s output tags into the output data for the 1789 SIM module Map 1 0 Data from 1756 IB32 0B32 remote modules to 1789 SIM module to allow program testing MO MO Move ae Source nikal 1756_Remote_Chassis 2 0 Data 000 0000_0000_0000_0000_0000_0010_1000 est _1756_Remote_Chassis 1 1 jar Dest Local2 0 Data 0 2 0000_0000_0000_0000_0000_0000_0000_0000 40e Start Pump Stop Pump Pushbutton Pushbutton Pump Motor _1756_Remote_Chassis 1 1 Data 0 _1756_Remote_Chassis 1 1 Data 1 _1756_Remote_Chassis 2 0 Data 5 Pump Motor _1756_Remote_Chassis 2 0 Data 5 Pump Motor _1756_Remote_Chassis 2 0 Data 5 TON Timer On Delay Timer RampTimer Preset 5000 Accum 5000 Pump Indicator Pump Motor Blinks during Ramp _1756_Remote_Chassis 2 0 Data 5 RampTimer DN Blinkindicator DN _1756_Remote_Chassis 2 0 Data 3 A RampTimer DN TON Timer On Delay Timer Blinkindicator Preset 500 Accum BlinkDutyCycle DN i 500 Blinkindicator DN TON Timer On Delay Timer BlinkDutyCycle Preset 500 Accum Oe Publication 1789 UM002B EN P June 2001 Using This Appendix Windows NT Objects Windo
96. ine 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 processor 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 JSR instruction to call other routines You can also specify an optional program fault routine The controller executes this routine if it encounters an instruction execution fault within any of the routines in the associated program The SoftLogix system uses a connection to establish a communication link between two devices Connections take many forms e tags for I O and communication modules produced and consumed tags e message MSG instructions You indirectly determine the number of connections that the controller requires by how you configure the controller to communicate with other devices in the system Publication 1789 UM002B EN P June 2001 2 10 What Is SoftLogix Connection scheduled The SoftLogix system supports both scheduled and unscheduled connections Description A scheduled connection identifies a specific device and lets you send and receive data repeatedly at a predetermined rate For example a connection to an 1 0 module is a schedule connection because you repeatedly receive data f
97. inks over these networks e ControlNet e DeviceNet e Ethernet e serial This manual works together with the Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 which covers the following tasks e Manage project files e Organize your logic e Organize tags e Program routines e Test a project e Handle faults Who Should Use This manual is intended for those individuals who program This Manual applications that use SoftLogix controllers such as e software engineers control engineers e application engineers e instrumentation technicians When to Use This Manual Use this manual e when you are ready to integrate your application with the 1 0 devices controllers and networks in your system e after you perform these actions develop the basic code for your application perform isolated tests of your application Publication 1789 UM002B EN P June 2001 Preface 2 How to Use this Manual Publication 1789 UM002B EN P June 2001 This manual is divided into the basic tasks that you perform while programming a SoftLogix controller Each chapter covers a main task such as communicating over a specific network For each main task the chapter e lists what you need e describes the steps to follow to accomplish that task e provides details for each step as necessary e includes example system configurations Getting Started What Is SoftLogix Table of Contents Ch
98. ion 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 or 19200 Kbps Data bits Specifies the number of bits per message packet Select 8 Parity Specifies the parity setting for the serial port Parity provides additional message packet error detection Select None or Even Stop bits Specifies the number of stop bits to the device with which the controller is communicating Select 1 or 2 Publication 1789 UM002B EN P June 2001 Communicating with Devices on a Serial Link 7 5 Characteristic Description default is shown in bold Control line Specifies the mode in which the serial driver operates Select No Handshake Full Duplex Half Duplex with Continuous Carrier or Half Duplex without Continuous Carrier If you are not using a modem select No Handshake If both modems in a point to point link are full duplex select Full Duplex for both controllers If the master modem is full duplex and the slave modem is half duplex select Full Duplex for the master controller and select Half Duplex with Continuous Carrier for the slave controller If all the modems in the system are half duplex select Half Duplex without Continuous Carrier for the controller RTS send delay Enter a count that represents the number of 20msec periods of time that elapse between the assertion of the RTS signal and the beginning of a message
99. ion 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 5 Step 3 Install the communication driver Use RSLinx software to configure the DeviceNet communication driver for the 1784 PCIDS communication card 1 In RSLinx software select Configure Driver Select the appropriate driver 2y Rockwell Software RSLinx Lite RSWho 1 Configure Drivers A File View ROME Station Security Window Help Available Driver Types F ose amp sia BSWho Add New iv Configure Drivers Pv Aubobrowes Configure Shortcuts Eh Configure Client Applications es Lint Configure CIP Options 0 1784 KTC X for ControlNet devices 1784 KT KTX D PKT D for DH DH 485 devices DF1 Polling Master Driver 1784 PCC for ControlNet devices 1784 PCIC for ControlNet devices 1747 PIC AIC device DF1 Slave Driver Running Configure Driver Diagnostics Running CIP Diagnostics Ethernet Startup Start PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver 1784 PCMK for DH DH 485 devices SoftLogix5 driver Remote Devices via Linx Gateway Stop HERE EEE Delete The device settings will be grayed out because you specified the baud rate and node address when you created the module in the SoftLogix chassis You only have to install the DeviceNet communication driver on the computer that you u
100. ion about See page Configuring your system for a ControlNet link 4 1 Placing ControlNet 1 0 4 8 Sending messages 4 11 Producing and consuming data 4 17 Example 1 SoftLogix controller and 1 0 4 21 Example 2 SoftLogix controller to SoftLogix controller 4 22 Example 3 SoftLogix controller to other devices 4 26 Example 4 Using SoftLogix as a bridge 4 32 Example 5 Using ControlLogix as a bridge 4 34 Configuring Your System For the Snare controller to operate on a ControlNet network for a ControlNet Link you need e a ControlNet communication card if you want to send messages and control I O including produced consumed tags over ControlNet use a 1784 PCICS card This chapter shows how to configure the 1784 PCICS communication card if you want to only send messages over ControlNet use a 1784 PCIC card RSLinx software to install the virtual backplane driver You only install the virtual backplane driver once on the computer where you run the SoftLogix controller This chapter assumes you have already installed the driver For an example of installing the driver see chapter 1 Getting Started RSLogix 5000 programming software to configure the communication card as part of the SoftLogix system RSNetWorx for ControlNet software to schedule the SoftLogix system on the network Publication 1789 UM002B EN P June 2001 4 2 Communicating with Devices on a ControlNet Link Step 1 Install the hardware
101. ister Bit StatusRegister Commfailure Description This bit identifies whether a channel wide communication fault is happening with the card For example if the card detects severe communication problems on the network it will go into a Bus Off condition This also cause the StatusRegister CommFailure bit to turn on A 0 in this bit means that the card is communicating correctly A 1 means the card detected a channel wide communication problem StatusRegister DupNodeFail This bit shows if the card is attempting to go online on a DeviceNet network with the same node number as an existing device on the network A 0 in this bit means that the card has NOT detected another node on the network with the same node number as the card A 1 means that the card has the same node number as an existing device on the network StatusRegister DnetPowerDetect Status data elements 4 Publication 1789 UM002B EN P June 2001 This bit shows if the card has detected that the DeviceNet 24VDC power is connected to its network connector and is also energized A 0 in this bit means that the card has detected DeviceNet power on its network connector A 1 means that the card has NOT detected DeviceNet power on its network connector Using the Status data The status data for the 1784 PCIDS card includes several elements Controller Tags quick_start controller Scope quick_start controlle 7 Show Show All Z eSak Tag Name 7
102. lication 1789 UM002B EN P June 2001 A 8 Windows NT 2000 Considerations Publication 1789 UM002B EN P June 2001 Selecting the system overhead time slice All Logix based controllers have a configuration setting for the system overhead time slice This function lets the controller take care of communication requests that occur from other controllers or from queued requests from within the controller s application program The time slice switches the priority level of the continuous task with that of the background communication task which is always running at a lower level than the continuous task The time slice setting is a percent value that is applied to a 100 ms background timing window With a setting of 10 the default for every 100 ms of real time there is 10 ms of time when the communications task priority is higher than the continuous task If there is communication activity to perform the controller does it and when completed the controller lets the continuous task run again during that 10 ms window For the next 90 ms the continuous task is at its normal priority and the communications task is lower During dwell time if there are communication tasks ready to run they will run during the dwell even though the communication task is not switched to a higher priority And any periodic task that needs to run overrides both the continuous task and the communications task Integrating motion The component of motion th
103. motely connected to a SoftLogix controller 6 5 overview 6 1 example ControlLogix controller as a gateway 4 34 simulating 0 8 8 SoftLogix controller and 1 0 over ControlNet 4 21 SoftLogix controller and 1 0 over DeviceNet 5 16 SoftLogix controller as a gateway 4 32 SoftLogix controller to a bar code reader 7 11 SoftLogix controller to other devices over ControlNet 4 26 SoftLogix controller to SoftLogix controller over ControlNet 4 22 workstation directly connected to a SoftLogix controller over serial 7 6 workstation remotely connected to a SoftLogix controller over Ethernet 6 5 workstation remotely connected to a SoftLogix controller over serial 7 7 G getting started adding a 1784 PCICS card 1 9 adding an I O adapter 1 11 adding an I O module 1 13 changing module properties 1 15 changing project properties 1 8 creating a 1784 PCICS card 1 5 creating a project 1 6 1 7 creating tags 1 17 creating the controller 1 2 1 4 documenting 1 0 with alias tags 1 18 downloading a project 1 21 entering logic 1 19 launching the chassis monitor 1 3 overview 1 1 viewing controller memory usage 1 23 viewing 1 0 tags 1 16 viewing scan time 1 22 H hardware ControlNet 4 2 DeviceNet 5 2 motion 3 2 hookup diagnostics 3 11 1 0 simulating 8 1 1 0 adapter adding 1 11 1 0 module accessing over ControlNet 4 8 accessing over DeviceNet 5 10 adding 1 13 connection 2 10 placing on ControlNet 4 8 L launching the chassis monit
104. n RSLinx Server tloc Download 5 31 Recent Apply Cancel ce EH Help Publication 1789 UM002B EN P June 2001 1 22 Getting Started Viewing program scan time 1 View properties for the MainProgram A Place the cursor over the MainProgram folder _ gt B Click the right mouse button and select Properties 2 Select the Configuration tab The Configuration tab displays the maximum and last scan times for the program Publication 1789 UM002B EN P June 2001 o RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools alsa S iale olf Rem Jy foco Ts Ags Path AB_KTC 142 Backplane 0 Controller quick_start A Controller Tags E Controller Fault Handler C3 Power Up Handler 5 6 Tasks A fal MainT ask zin New Routine Pro E Mal But C3 Unschedule Copy E Trends Paste 3 6 Data Types Delete Oi User Define ih Predefined Verify C8 Module Del Cross Reference 1 0 Configuratic z J 2 1784 PC Accept Pending Program Edits 11794 Gancel Pending Program edits a e 80 Test Program edits Unes Program edits Assemble rogram Edits FE Progra bits Print E Program Properties MainProgram _ OI x General Configuration Assigned Routines fat kno O Scan Times execution time Max ps us Beset Max
105. n Run mode StatusRegister Fault This bit identifies whether the card is in Fault mode The SoftLogix controller sets this bit based on the corresponding IOLinx status StatusRegister DisableNetwork The SoftLogix controller does not use this bit The controller clears this bit to O StatusRegister DeviceFailure This bit determines if general communication is OK between the card and its slave nodes A node falling off the network or other communication problems to any device on the card s scan list sets this bit to 1 This bit is used in conjunction with the DeviceFailure table in the Status section to determine which node s are having communication problems A 0 in this bit means that all the slave nodes are being successfully communicated to A 1 means the card has at least one device with communication problems StatusRegister Autoverify This bit determines if the data Transmit and Receive sizes in the scan list are correct Any node whose data sizes don t match the sizes defined in the scan list cause the bit to be set to 1 This bit is used in conjunction with the AutoVerify table in the Status section to determine which node s have incorrect data sizes A 0 in this bit means that all the slaves have correct data sizes A 1 means the card has at least one device on its scan list with an incorrect data size Publication 1789 UM002B EN P June 2001 5 14 Communicating with Devices on a DeviceNet Link StatusReg
106. n control application program Rung 0 Enables the Feed and Cut axes when you press the servo_on button Rung 1 Jogs the Feed axis in the positive direction when you press the jog_plus button Rung 2 Jogs the Feed axis in the reverse direction when you press the jog_minus button Rung 3 Stops the Feed axis when you release with the jog_plus button or the jog_minus button Publication 1789 UM002B EN P June 2001 End fogs MSG EDN jarius ik H DN jog_minus jog_plus ol fo servo_on M0 M0 L Motion Servo On LEN Motion Servo On CE Anis Feed H CDN gt Anis Cut ES DN Motion control MSO_1 CER Motion control MSO_2 ER A Motion Axis Jog CEN gt Axis Feed jt Motion control MAJ_1 LDN gt Direction 0 LcER gt Speed 30 CIP Speed units of Maximum A Motion Axis Jog Anis Feed Jt Motion control MAJ_2 Direction 1 Speed 30 Speed units of Maximum Accel rate accel_rate e Accel units of Maximum Decel rate decel_rate e Decel units of Maximum Profile S Curve Merge Enabled Merge speed Current lt lt Less MAS Motion Axis Stop EN Axis Feed ENS CDN gt Motion control MAS_1 LER Stop Type Jog Lc IP gt Change Decel No CPC Decel rate decel_rate 2 Decel units of Maximum Chapter 4 Communicating with Devices on a ControlNet Link Using This Chapter For informat
107. n order for an application with periodic tasks and a continuous task Task Priority Level Task Type Actual Worst Case Execution Time Execution Time 1 1 20ms periodic task 2ms 2ms 2 2 10ms periodic task 4ms 6ms na none lowest continuous task 25ms 35ms na none dwell time 10ms 14ms Task 2 continuous task dwell time Notes A B Publication 1789 UM002B EN P June 2001 The highest priority task interrupts all lower priority tasks A lower priority task can be interrupted multiple times by a higher priority task The continuous task runs at the lowest priority and is interrupted by all other tasks When the continuous task completes the dwell time starts The dwell time runs at the same priority as the continuous task so it is interrupted by all other tasks When the dwell time completes the continuous tasks restarts unless a higher priority task is running What Is SoftLogix 2 9 How the SoftLogix System Uses Connections 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 aren t attached to any task show up as unscheduled programs You must specify schedule a program within a task before the controller can scan the program Defining routines A rout
108. ndor Allen Bradley ID Number SS PCI Card Bracket LabelforID No MOTION O1 Click Finish Cancel Help You can specify any slot number greater than 0 for the motion card RSLinx software resides in slot 0 Publication 1789 UM002B EN P June 2001 3 4 Controlling Motion Devices The chassis monitor shows the 1784 PMO2AE card as a virtual module in the SoftLogix chassis The LEDs on the virtual monitor emulate a 1756 MO2AE motion module 2 SoftLogix Chassis Monitor Slot View Options Help This chassis monitor has a 1784 PMO2AE 1784 PCICMControlte SoLogix FPT Re ai card installed in slot 3 For Help press F1 Publication 1789 UM002B EN P June 2001 Controlling Motion Devices 3 5 Step 3 Configure the motion card as part of the project Use RSLogix 5000 programming software to map the 1784 PMO2AE motion card as part of the SoftLogix project In the Controller Organizer add the card to the I O Configuration folder 1 In RSLogix 5000 programming software select the I O Configuration folder 2 Right click to select New Module and add a 1784 PMOZAE motion card File Edit View Search Logic Communic 3 oy Major Revision z Type alela Hce 21e 1784PMO024E 74 F ol One gt o Forces ES Description No Edits z Forces Disabled 1784 ControlNet PCI Scanner Path AB_KTC 1 2 Backplane O 1784 DeviceNet PCI Scanner 2 Ay alog Encoder Servo 1 789 L60 4 SoftLogix5860 Co
109. nfiguring 4 5 creating 1 5 4 3 1784 PCIDS card configuring 5 6 creating 5 3 run mode 5 12 1784 PMO2AE card configuring 3 5 creating 3 3 1789 SIM module configuring 8 4 creating 8 2 using 8 1 A adding 1784 PCICS communication card 1 9 I O adapter 1 11 I O module 1 13 alias tag creating 5 16 getting started 1 18 ASCII protocol 7 12 autotuning 3 11 axis configuring 3 7 creating 3 6 C changing module properties 1 15 project properties 1 8 chassis monitor 1784 PCICS card 4 4 1784 PCIDS card 5 4 launching 1 3 overview 2 3 COM port settings 7 3 Index CommandRegister bits 5 12 communicating ControlNet 4 1 DeviceNet 5 1 mapping address 4 15 serial 7 1 with other controllers 4 13 with other Logix based controller 4 12 communication driver ControlNet 4 4 DeviceNet 5 5 Ethernet 6 1 serial 7 1 virtual backplane 1 21 configuring 1784 PCICS card 4 5 1784 PCIDS card 5 6 1784 PMOZAE card 3 5 1789 SIM module 8 4 ASCII protocol 7 12 axis 3 7 ControlNet system 4 1 DeviceNet system 5 1 DF1 master 7 9 DF1 point to point 7 7 DF1 slave 7 9 Ethernet system 6 1 memory size 2 5 motion 3 1 serial system 7 1 simulated 1 0 8 1 SoftLogix 2 4 connection direct 4 10 I O module 2 10 overview 2 9 rack optimized 4 9 requirements 2 13 controller creating 1 2 1 4 LEDs B 1 controlling motion devices 3 1 Publication 1789 UM002B EN P June 2001 2 Index ControlNet accessing 1 0 4 8 communication driver 4 4 configu
110. ntage is supported by thousands of authorized partners distributors and system integrators around the world Allen Bradley RELIANCE 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 1789 UM002B EN P June 2001 PN 957564 11 Supersedes Publication 1789 UM002A EN P October 2000 2001 Rockwell International Corporation Printed in the U S A AB Allen Bradl ey SoftLogix5800 System User Manual
111. ntroller 1 789 MODULE Generic 1789 Module E Controller quick_start A Controller Tags E Controller Fault Handler C3 Power Up Handler ten Tasks Et MainT ask B E MainProgram A Program Tags E MainRoutine G Unscheduled Programs 3 Trends 5 6 Data Types E User Defined E Predefined Ep Module Defined BEE 0 Configuration Show Vendor Ja 7 M Other M Specialty 1 0 Select All M Analog W Digital M Communication MV Motion I Controller Clear All Yale Cancel Help 3 Specify the appropriate motion card settings Type 1784 PMO24E A 2 Axis Analog Encoder Servo Vendor Allen Bradley 7 a Parent Local This must be the same slot number you specified on foina sie A the SoftLogix chassis monitor i Description z Associated Axes Channel 0 lt none gt Channel 1 lt none gt z _ Revision EF fi a Electronic Keying Compatible Module 7 Cancel Back Next gt Finish gt gt Help Publication 1789 UM002B EN P June 2001 3 6 Controlling Motion Devices Creating an Axis Make sure you enter a name gt Publication 1789 UM002B EN P June 2001 To create an axis click New Axis in the module properties window Module Properties Local 1784 PM02AE 7A 3 1 x Type 1784 PMO24E 7A 2 Axis Analog Encoder Servo Vendor Allen Bradley Parent Local Shae motion carat Slot 2 a Description El
112. o 1 if that node number has a transmit and or receive data size that does not match the scan list S DeviceldleRegister This data area is an array of 8 bytes that make a 64 bit table There is one bit for every one of the 64 possible node numbers on the network The bit associated with a node number on the scan list is set to 1 if that node is not sending back input data to the card This normally means that the node is in some kind of idle mode in which it stops sending output data back to the card s input table S DeviceActiveRegister This data area is an array of 8 bytes that make up a 64 bit table There is one bit for every one of the 64 possible node numbers on the network The bit associated with a node number on the scan list will go to a 1 if that node number has an active scan list entry in the 1784 PCIDS This means that the 1784 PCIDS is communicating with that node S DeviceStatusDisplay This data area is an array of 4 bytes There is one byte associated with each of the 4 characters of the alphanumeric display on the SoftLogix chassis monitor Reading these 4 bytes as ASCII characters to determine the exact message being displayed on the SoftLogix chassis monitor Publication 1789 UM002B EN P June 2001 5 16 Communicating with Devices on a DeviceNet Link Example SoftLogix In the following example one SoftLogix controller controls I O Controller and 0 through a 1784 PCIDS communication card o SoftLogix controlle
113. o point full duplex protocol as in the previous example If the controller is part of a master slave serial network configure the serial port of the controller for either the DF1 master or DF1 slave protocol both half duplex Master slave communication methods A master station can communicate with a slave station in two ways Name This method standard Initiates polling packets to slave stations communication according to their position in the polling mode 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 e master maintains an active station array The poll array resides in a user designated data file You can configure the master e to send messages during its turn in the poll array or e for between station polls master transmits any 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 initiates communication to slave stations communication using only user programmed message MSG mode instructions Each request for data from
114. odic Save Interval Specify whether you want to save the current controller information program data and configuration information periodically and if so specify how often minutes The default is enabled for 10 minutes Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Dwell Time ms CPU Affinity FT Channel 0 None None Serial Port Cancel Help Publication 1789 UM002B EN P June 2001 Dwell Time ms Specify the timeslice 0 1000 ms made available for all other Windows applications The default is 10 ms The dwell time is the time between the end of the continuous task and the start of the next execution of the continuous task CPU Affinity If your computer has multiple CPUs select which CPU to use for this controller The default is CPU 0 Channel 0 Serial Port Select which COM port to use for serial communications Select COM1 COM2 COM3 or COM4 The default is none What Is SoftLogix 2 5 Determining a memory size IMPORTANT The memory size you specify is the amount of RAM in your computer that you want to allocate to the SoftLogix controller This allocated RAM is not available to Windows NT or any other application The following equations provide an estimate of the memory needed for a controller Each of these numbers includes a rough estimate of the associated user programming Depending on the complexity of your application you might ne
115. oller To connect the ASCII device to the serial port of the controller 1 For the serial port of the ASCII device determine which pins send signals and which pins receive signals 2 Connect the sending pins to the corresponding receiving pins and attach jumpers If the communications Then wire the connectors as follows handshake ASCII Device Controller 1 CD L 0D 2 RDX 2 RDX 3 TXD 3 TXD 4 DTR 4 DTR COMMON COMMON 6 DSR 6 DSR _ 7 RTS 7 RTS 8 CTS 8 CTS 2 42231 do nothandshake ASCII Device Controller 1 CD 1 CD 2 RDX 2 RDX 3 TXD 3 TXD L J 4 DIR 4 DTR COMMON COMMON 6 DSR 6 DSR 7 RTS 7 RTS 8 CTS 8 CTS 9 42232 3 Attach the cable shield to both connectors and tie the cable to both connectors 4 Connect the cable to the controller and the ASCII device The following table lists the default serial port configuration settings for the ASCII protocol You specify these settings on the User Protocol tab under Controller Properties Publication 1789 UM002B EN P June 2001 This field Buffer size Communicating with Devices on a Serial Link 7 13 Configuring user mode Description Specify the maximum size in bytes of the data array you plan to send and receive The default is 82 by
116. omation is prohibited Throughout this manual we use notes to make you aware of safety considerations Identifies information it practices or arate dentifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attention statements help you to e identify a hazard e avoid a hazard e recognize the consequences IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley is a trademark of Rockwell Automation European Communities EC If this product has the CE mark it is approved for installation within Directive Compliance the European Union and EEA regions It has been designed and tested to meet the following directives EMC Directive This product is tested to meet the Council Directive 89 336 EC Electromagnetic Compatibility EMC by applying the following standards in whole or in part documented in a technical construction file e EN 50081 2 EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2 EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Low Voltage Directive This product is tested to meet Council Directive 73 23 EEC Low Voltage by applying the safety requirements of EN 61131 2 Programmable Controllers Part 2 Equipment Requirements and
117. on 1784 5 31 Publication 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 3 Step 2 Create the communication card in the chassis Before you can connect the SoftLogix system to the DeviceNet network you must create the 1784 PCIDS card as part of the SoftLogix chassis 1 From the SoftLogix chassis monitor select Slot Create Module or right click the appropriate slot and select Create Select the 1784 PCIDS card i SoftLogix Chassis Monitor Select Module x EJ view Options Help Module Type 1789 L60 SoftLogix5860 Controller ok RESTES 1784 PCIC ControlNet PCI Messaging RER Remove Module a Ri ve age 1784 PCICS ControlNet PCI Scanner Se gt 1784 PCIDS DeviceNet PLI Scanner Cancel 1784 PMO24E 2 Axis Analog Encoder Servo Specify the backplane slot number p Slot 5 1789 SIM 32 Point Input Output Simulator Click OK 2 Select the serial number of the 1784 PCIDS card you want Select Device 3 xj Type 1784 PCIDS7A 1784 DeviceNet PCI Scanner Vendor Allen Bradley Available Serial Numbers Select the serial number of the card pj pene riers eviceNet Lard Previous Configuration information exists for this device Use the Previous Configuration Reset the Configuration to Default Values If you previously configured the 1784 PCIDS card that you pe selected by serial number the chassis monitor remembers the configuration from the last time you
118. on Set Reference Manual publication 1756 RMO07 Each motion instruction has an operand named Motion control This field uses a MOTION_INSTRUCTION tag to store status information during the execution of motion instructions This status information can include instruction status errors etc MSO Motion Servo On The Axis N Motion control Motion control ERD operand Tags used for the motion control operand of motion ATTENTION instruction should only be used once Re use of the same motion control operand in other instructions can cause unintended operation of the control variables For more information about the MOTION_INSTRUCTION tag refer to the appropriate motion instruction in the Logix5000 Controllers Motion Instruction Set Reference Manual publication 1756 RMO007 You can read motion status and configuration parameters in your logic using two methods Method Example Directly accessing the MOTION_GROUP and e Axis faults AXIS structures e Motion status Servo status Using the GSV instruction e Actual position Command position Actual velocity Controlling Motion Devices 3 13 In your ladder logic program you can modify motion configuration parameters using the SSV instruction For example you can change position loop gain velocity loop gain and current limits within your program For more information on the SSV instruction see the Logix5000 Controllers General
119. on by toggling input bits and monitoring output bits on the 1789 SIM module Use this module to test logic without having physical I O attached to the system For information about See page Configuring your system to simulate 1 0 8 1 Mapping 1 0 Data to the 1789 SIM module 8 6 Toggling inputs and monitoring outputs 8 7 I Example Moving application data into the 1789 SIM tags 8 8 Configuring Your System For the SoftLogix controller to simulate local I O you need for a 1789 SIM Module a 1789 SIM module comes with the SoftLogix5800 controller You are limited by the activation level of your SoftLogix controller as to how many modules you can install RSLogix5000 programming software to configure the 1789 SIM module Even though the 1789 SIM module is a software based module each module you create uses communication resources If you are controlling actual I O and simulating I O the 1789 SIM module s in your application use communication resources that could impact control performance If this occurs increase the RPI of your 1789 SIM module s This maintains control performance because the greater RPI of the 1789 SIM module s lessens the load on the SoftLogix system Publication 1789 UM002B EN P June 2001 8 2 Configuring and Using Simulated 1 0 Step 1 Create the 1789 SIM module in the chassis Before you can operate the module you must create the 1789 SIM module as part of the SoftLogix chassis
120. ontroller Scope quick_start controlle Show Show All 7 Sot Tag Name x Decimal Decimal P Tag Name X Alias For Base Tag flex_adapter 0 C 4B 1794_DI_Delay16 C 0 flex_adapter 0 1 4B 1794_DI_16 1 0 flex_adapter 4B 1794_4CN15_8SLOT 1 0 flex_adapter 0 4B 1794_4CN15_8SLOT 0 0 INT INT Enter the name of the tag Tab here or click in the box Click here to select tag to reference 2 Select an input data word input_1 flex_adapter 0 1 Data xl 3 J4 a js Woi11 12 H flex_adapter 0 C AB1794_ Ej lex_acapter 0 AB1794_ Publication 1789 UM002B EN P June 2001 6 Create tags Click here to display a grid of bits Getting Started 1 19 Entering logic 1 Use default task program and routine When you created the project the software automatically created a MainTask MainProgram and MainRoutine Use these defaults for this example Double click MainRoutine pe The software displays an empty routine f RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communicatiol alemi alem S AES Z ca _ gt No Forces gt No Edits gt Forces Disabled Path AB_KTC 1 2 Backplane 0 E Controller quick_start A Controller Tags E Controller Fault Handler C3 Power Up Handler EJ Tasks E e MainTask B ca MainProg
121. ontroller over a serial link serial Do E workstation with RSLogix 5000 computer with SoftLogix controller programming software Use RSLogix 5000 programming software to configure the controller s serial port for the DF1 point to point full duplex protocol 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 IMPORTANT The workstation with RSLogix 5000 programming software must also have the Logix5550 serial port driver installed through RSLinx software Communicating with Devices on a Serial Link 7 7 This field Station address 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 254 Address 255 is reserved for broadcast messages The default is 0 NAK receive limit Specifies the number of NAKs the controller can receive in response to a message transmission Enter a value 0 127 The default is 3 ENQ transmit limit Specifies the number of inquiries ENOs you want the controller to send after an ACK timeout Enter a value 0 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 32767 Limits are defined in 20ms in
122. ontroller that is consuming the tag What Is SoftLogix 2 13 Determining total connection requirements Each SoftLogix controller supports 250 connections Use the following table to tally connection requirements for a controller Connection Type 1 0 device direct connection over a ControlNet link Device Quantity Connections per Device 1 Total Connections 1784 PMO2AE motion card 4 devices maximum per computer local 1784 PCIC PCICS communication card remote ControlNet communication device such as a 1794 ACN15 ACNR15 or 1756 CNB module configured as a direct none connection configured as a rack optimized connection remote 1785 ControlNet PLC 5 controller 1784 PCIDS communication card produced and consumed tag produced tag and one consumer each additional consumers consumed tag block transfer message other message total Publication 1789 UM002B EN P June 2001 2 14 What Is SoftLogix Selecting a System Overhead Percentage The Controller Properties lets you specify a percentage for system overhead This percentage specifies the percentage of controller time excluding the time for periodic tasks that is devoted to communication and background functions 1 View properties for the controller and select the Advanced tab o RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications alisi a fel
123. or 1 3 LEDs B 1 logic DeviceNet 5 12 entering 1 19 motion 3 12 Index 3 M mapping addresses 4 15 simulated 1 0 8 6 master slave communication 7 8 memory size 2 5 memory usage 1 23 message sending over ControlNet 4 11 to other controller 4 13 to other Logix based controller 4 12 monitoring simulated 1 0 8 7 motion autotuning 3 11 configuring 1784 PMOZ2AE card as part of project 3 5 configuring an axis 3 7 configuring the system 3 1 creating 1784 PMOZ2AE card 3 3 creating an axis 3 6 developing logic 3 12 hardware 3 2 hookup diagnostics 3 11 integrating A 8 overview 3 1 multiple controllers A 9 multiple CPUs A 2 0 overview connection 2 9 produced consumed tag 4 17 SoftLogix 2 1 P periodic task A 5 priority 2 7 produced consumed tag overview 4 17 program defining 2 9 developing 2 6 programming Ethernet 6 1 Publication 1789 UM002B EN P June 2001 4 Index project 1789 SIM module 8 4 creating 1 7 developing 2 6 downloading 1 21 motion card 3 5 program 2 9 properties 1 8 routine 2 9 task 2 7 rack optimized connection 4 9 routine 2 9 RSLinx gateway 6 2 S scan list 5 7 scan time 1 22 schedule network 4 7 serial ASCII protocol 7 12 COM settings 7 3 configuring the port 7 2 7 4 configuring the system 7 1 example SoftLogix controller to a bar code reader 7 11 example workstation directly connected to a SoftLogix controller 7 6 example workstation remotely connected to a SoftLogix controlle
124. or the card this is the name you wrote Type 1784 PCICS A 1784 ControlNet PCI Scanner on the label of the card to help you identify the card from Vendor Allen Bradley others in the same computer Serial Number jo C2E Network Address fi a PCI Card Bracket Label for Serial No NET 0 Click Finish You can specify any slot number greater than 0 for the communication card RSLinx software resides in slot 0 Publication 1789 UM002B EN P June 2001 4 4 Communicating with Devices on a ControlNet Link oftLogix Chassis Monitor By creating the card in the virtual chassis you automatically install the communication driver information needed by the SoftLogix controller Do not use RSLinx to install the communication driver for either the 1784 PCICS or 1784 PCIC communication card Installing the communication driver through RSLinx adds the potential for conflicting configuration between RSLinx and the SoftLogix chassis monitor After you add the card to the chassis monitor you can browse the network by expanding the Virtual Backplane driver and then expanding the port on the desired 1784 PCICS or 1784 PCIC communication card Browsing ControlNet through the Virtual Backplane driver provides the same functionality as the RSLinx driver The chassis monitor shows the 1784 PCICS card as a virtual module in the SoftLogix chassis The LEDs on the virtual monitor emulate a 1756 CNB communication module Slot View Options Hel
125. ork link slave stations using modems or line drivers 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 255 nodes to a single link In DF1 slave mode a controller uses DF1 half duplex protocol One node is designated as the master and it controls who has access to the link All the other nodes are slave stations and must wait for permission from the master before transmitting User mode communicating with ASCII devices 7 12 This requires your program logic to use the ASCII instructions to read and write data from and to an ASCII device Publication 1789 UM002B EN P June 2001 7 6 Communicating with Devices on a Serial Link Monitoring the Controller LEDs Example 1 Workstation Directly Connected to a SoftLogix Controller Publication 1789 UM002B EN P June 2001 The SoftLogix controller has an RS 232 LED that follows this behavior This state Means off You selected None for the COM port selection of the controller green The COM port you selected was successfully assigned to channel 0 of the controller red There is conflict with COM port or the COM port number you selected is invalid Please note that these LED states are different than for the ControlLogix controller In the following example a workstation directly connects to a SoftLogix c
126. ows boots and then runs at real time priority within Windows Most other applications such as word processors and spreadsheets run at normal priority Because SoftLogix runs at a real time level it is guaranteed to get as many CPU cycles as it needs before allowing the CPU to execute other application programs Only DPCs and ISRs run before a SoftLogix controller Publication 1789 UM002B EN P June 2001 A 4 Windows NT 2000 Considerations Publication 1789 UM002B EN P June 2001 Selecting a dwell time setting Every SoftLogix controller has a main task that can be configured to run continuously or periodically If set for continuous the main task would use all of the Windows CPU cycles if it were able running as a real time priority process But the dwell time configuration of the SoftLogix controller is a value in milliseconds which is directly added to the end of every scan of a continuous program task The dwell time is a period of time that counts off in real time after the SoftLogix controller s continuous task This time is like a sleep time for the SoftLogix controller so that Windows can execute lower priority threads If a SoftLogix controller s periodic task is set to run it runs during the dwell time but the time spent executing the periodic task is not added to the dwell time The dwell time counts in the background in real time and the end of the dwell marks the continuous task as ready to run The continuous task
127. p _ a a IE Bananaman LULLLLLLLELTT TT For Help press F1 Publication 1789 UM002B EN P June 2001 This chassis monitor has a 1784 PCICS card installed in slot 2 RUH 1 0 FRO Rs BAT oK moo 1 0 OK RUN REM PRE HET m re i EM PR RUN REM PR Communicating with Devices on a ControlNet Link 4 5 Step 3 Configure the communication card as part of the project Use RSLogix 5000 programming software to map the 1784 PCICS communication card as part of the SoftLogix project In the Controller Organizer add the communication card to the I O Configuration folder 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1784 PCICS communication card fo RSLogix 5000 quick_start 1789 L6 File Edit View Search Logic Communic asla 2 e ET One gt o Forces ae Description No Edits z Forces Disabled 1784 ControlNet PCI Scanner Path 7 AB_KTC 142 Backplane O 1784 PCIDS 4 amp 1784 DeviceNet PCI Scanner Major Revision 1 784 PMO24E 4 2 Axis Analog Encoder Servo Ei Controller quick_start 1789 L60 A SoftLogix5860 Controller a ses ae 0 1789 MODULE Generic 1789 Module controller Fault Handler C3 Power Up Handler Tasks MainTask A ca MainProgram A Program Tags E MainRoutine 3 Unscheduled Programs Trends Show mr T D E Data Types Vendor fa 7 F Other Specialty 1 0 Select All
128. r DeviceNet ind device 2 device 1 device 3 device 4 This example has a SoftLogix controller controlling four DeviceNet devices The controller automatically creates a rack optimized connection for the I O data The tag name for the rack optimized array tag is based on the slot number of the 1784 PCIDS card For example if you install the 1784 PCIDS card in slot 3 of the controller the software automatically creates Local 3 1 and Local 3 O data structures Creating alias tags You might want to create alias tags to better represent the elements of the input and output array tags An alias for an I O point e provides a descriptive name for the device that is wired to the point e represents the value of the point When one changes the other reflects the change Publication 1789 UM002B EN P June 2001 Communicating with Devices on a DeviceNet Link 5 17 When you enter an alias tag into programming logic the programming software displays the original tag along with the alias ET The following logic was initially programmed using descriptive tag names such as start and motor Later the tags were converted to aliases for the corresponding I O devices start is an alias for the push button at bit 1 of word 0 of the module in motor is an alias for the starter contactor at bit 0 of word 0 of the slot 5 of the local chassis When the push button is on start is on module in slot 5 of the lo
129. r 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 1789 UM002B EN P June 2001 Communicating with Devices on a Serial Link 7 11 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 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 SoftLogix In the following example the SoftLogix controller connects to a bar code reader A bar code reader is an ASCII device so you configure Controller to a Bar Code the serial port differently than in the previous examples Configure the Reader serial port for user mode rather than a DF1 mode SoftLogix controller bar code reader Publication 1789 UM002B EN P June 2001 7 12 Communicating with Devices on a Serial Link Connect the ASCII device to the contr
130. r 7 7 master 7 9 overview 7 1 point to point 7 7 slave 7 9 servo axis 3 7 simulated 1 0 configuring 8 1 configuring 1789 SIM module as part of project 8 4 configuring the system 8 1 creating 1789 SIM module 8 2 example 8 8 mapping data 8 6 outputs in last state 8 7 toggling inputs and outputs 8 7 slave master communication 7 8 Publication 1789 UM002B EN P June 2001 SoftLogix chassis monitor 2 3 configuration 2 4 memory size 2 5 multiple controllers A 9 overview 2 1 running on Windows NT A 3 Status data 5 14 StatusRegister bits 5 13 system overhead A 8 T tag consuming 4 20 creating 1 17 produced consumed overview 4 17 producing 4 19 sample alias 1 18 viewing 1 16 task defining 2 7 periodic A 5 priority 2 7 TestTime utility A 3 V viewing controller memory usage 1 23 1 0 tags 1 16 scan time 1 22 virtual backplane driver 1 21 W Windows NT blue screen A 2 consideration A 1 dwell time A 4 integrating A 8 object A 1 periodic task A 5 running a SoftLogix controller A 3 service pack A 3 system overhead A 8 AB Wy Allen Bradley Publication Problem Report If you find a problem with our documentation please complete and return this form Pub Title Type SoftLogix5800 System User Manual Cat No 1789 L10 L30 L60 Pub No 1789 UMO002B EN P Pub Date June 2001 957564 11 Check Problem s Type Describe Problem s Internal Use Only L Technical Accuracy C text
131. r Associated Axes Channel 0 lt none gt M fa Channel 1 lt none gt Re _ Revision pa fi a Electronic Keying Compatible Module x Cancel Back Next gt Help Specify this information me pooo Description a Cancel i Help TagType Base C Alias Consumed Data Type es E Configure Scope quick_star contoller Style I Produce this tag for up to F feonsumers In this field Type Name The name of the axis Description A description of the axis optional Controlling Motion Devices 3 7 Configuring a servo axis To configure the axis 1 Click Configure in the new tag window Enter an axis name Name notiontagt Description a Cancel f Help Tag Type Base C Alas Consumed DataType AXIS al Configure Scope quick_start controller po Style l z I Produce this tag for up to F H consumers 2 On the General tab select the type of axis and positioning mode You assign a motion card and channel to the axis later Axis Properties motion_tagl OL x Actions Hookup Tune Servo Gains Dynamics General Group Units Feedback Positioning Homing Overtravel Servo Type Positioning Mode Servo x Linear x Module Channel sul OK Cancel Apply Help In this field Select the Type Type of axis you want Positioning Mode Type of axis positioning you want to use 3 Click OK Publi
132. ram A Program Tags E QE ne GE Unscheduled Programs MainProgram MainRoutine olx a End 2 Enter an XI0 instruction o RSLogix 5000 quick_start 1789 L60 A File Edit View Search Logic Communications Tools Window Help BEE B3 alela S eer aalala e ve aal Ofine gt noi Forces gt o Edits gt Forces Disabled gt Et Path AB_KTC 142 Backplane 0 Controller quick_start A Controller Tags Controller Fault Handler C3 Power Up Handler Tasks 2 MainTask 23 MainProgram A Program Tags F1 MainRoutine C3 Unscheduled Programs C3 Trends 5 6 Data Types End a Afro 4 A Favorites Bit Timer Counter wj gt TputOutput MainProgram MainRoutine BEES HE vmma Drag and drop the XIO instruction on an empty rung Publication 1789 UM002B EN P June 2001 1 20 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 gt The software displays an incomplete rung MainProgram MainRoutine H flex_adapter DC AB 1794_ H flex_adapter 0 1 AB1794_ H flex_adapter l AB1794_ H flex_adapter O AB1794_ input_1 INT timer_1 INT Controller Scoped Tags Program Scoped Tags MainProgram M
133. rate a NMI non maskable interrupt or a parity error that are considered faults that cannot be ignored and therefore Windows does the proper thing and immediately stops This is similar to a PLC 5 processor red lighting when it detects an internal memory or hardware error Blue screens that occur during system integration of new third party hardware indicate a poorly written driver that is corrupting Windows kernel memory The 1 0 controlled by the SoftLogix controller will always go to a fail safe mode of operation after a blue screen event Windows NT 2000 Considerations A 3 Consideration Microsoft service pack Description Microsoft service pack is the name Microsoft gives to an operating system upgrade It is always recommended to apply the latest service pack after installing third party software especially networking drivers and the addition of network protocols Whenever you receive errors that seem low level or don t make sense reapply the latest Microsoft service pack and reboot Third party peripheral devices Third party peripheral devices such as network cards and IDE devices should be installed directly in the computer s master PCI bus IDE devices should use PCI bus mastering Bus mastering is the capability of writing directly to the computer s memory without having to use the Pentium chip to move the data You can use Microsoft s DMACHECK EXE utility to see whether a third party card truly uses PCI bus ma
134. ring 1784 PCICS card 4 5 configuring the system 4 1 consuming a tag 4 20 creating 1784 PCICS card 4 3 example ControlLogix controller as a gateway 4 34 example SoftLogix controller and 1 0 4 21 5 16 example SoftLogix controller as a gateway 4 32 example SoftLogix controller to other devices 4 26 example SoftLogix controller to SoftLogix controller 4 22 hardware 4 2 mapping address 4 15 message to other controller 4 13 message to other Logix based controller 4 12 overview 4 1 placing 1 0 4 8 produced consumed tag 4 17 producing a tag 4 19 schedule network 4 7 sending messages 4 11 creating 1784 PCICS card 1 5 4 3 1784 PCIDS card 5 3 1784 PMO2AE card 3 3 1789 SIM module 8 2 alias tag 5 16 axis 3 6 controller 1 2 1 4 project 1 6 1 7 tags 1 17 D developing motion logic 3 12 programs 2 6 DeviceNet accessing 1 0 5 10 CommandRegister bits 5 12 communication driver 5 5 configuring 1784 PCIDS card 5 6 configuring the system 5 1 creating 1784 PCIDS card 5 3 hardware 5 2 Publication 1789 UM002B EN P June 2001 overview 5 1 run mode 5 12 scan list 5 7 Status data 5 14 StatusRegister bits 5 13 DF1 protocol master 7 5 7 9 master slave methods 7 8 point to point 7 5 7 7 slave 7 5 7 9 direct connection 4 10 documenting 1 0 1 18 downloading project 1 21 dwell time 2 4 A 4 E entering logic 1 19 Ethernet configuring the driver 6 3 configuring the system 6 1 enabling RSlinx gateway 6 2 example workstation re
135. roduced data can be e tag of DINT or REAL data type e array of DINT or REAL elements e user defined structure with any type elements Use a user defined structure to group BOOL SINT and INT data To create a produced tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab at the bottom of the window 3 Select the tag that you want to produce or right click to enter a new tag and display the Tag Properties dialog box 4 Select the Produce this tag check box Specify how many controllers can consume the tag You can produce a base alias or consumed tag The consumed tag in a receiving controller must have the same data type as the produced tag in the originating controller The controller performs type checking to ensure proper data is being received Produced tags require connections The number of connections depend on the amount of data and how many controllers are producing and consuming tags Publication 1789 UM002B EN P June 2001 4 20 Communicating with Devices on a ControlNet Link Consuming a tag A consumed tag represents data that is produced broadcast by one controller and received and stored by the consuming controller To create a consumed tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab 3 Select t
136. rom the module Other scheduled connections include connections to e communication devices e produced consumed tags For ControlNet connections you must use RSNetWorx for ControlNet to enable all scheduled connections and establish a network update time NUT for the network For DeviceNet connections you must use RSNetWorx for DeviceNet to define the scan list and map the 1 0 data for each DeviceNet device unscheduled Connection direct An unscheduled connection is a message transfer between controllers that is triggered by the program i the MSG instruction Unscheduled messaging lets you send and receive data when needed Each SoftLogix controller supports 250 connections which can be any combination of scheduled or unscheduled Determining scheduled connections for 1 0 modules The SoftLogix system uses direct connections and rack optimized connections to transmit I O data Description direct connection is a real time data transfer link between the controller and an 0 module The controller maintains and monitors the connection between the controller and the 1 0 module Any break in the connection such as a module fault or the removal of a module while under power causes the controller to set fault status bits in the data area associated with the module rack optimized For digital 1 0 modules you can select rack optimized communication A rack optimized connection consolidates connection usage
137. s sada woh ee 4 7 Placing ControlNet DOME SU geo Oe Ones Da PAS eed 4 8 NCCE SSIS hie ine Gh rl bats Goes Dee ohe Ae eR 4 8 Working with a rack optimized connection 4 9 Working with direct connections 4 10 Sending MESSAGES Lan marraine ae One 4 11 Communicating with another Logix based controller 4 12 Communicating with other controllers over ControlNet 4 13 Mapping addresses Sierre os be etd tons 4 15 Producing and Consuming Data 4 17 Maximum number of produced and consumed tags 4 17 Size limit of a produced or consumed tag 4 18 Producing a TAG sa das lies Vent EE dient 4 19 Consuming atag Les den a See Gee ed Be eS 4 20 Example 1 SoftLogix Controller and I O 4 21 Example 1 Controlling I O us 40s 24432 eb pase ses 4 21 Example 1 Total connections required by the controller 4 21 Example 2 SoftLogix Controller to SoftLogix Controller 4 22 Example 2 Sending a MSG instruction 4 23 Example 2 Producing and consuming tags 4 24 Example 2 Total connections required by the controller 4 26 Example 3 SoftLogix Controller to Other Devices 4 26 Example 3 Sending MSG instructions 4 26 Example 3 Producing and consuming tags 4 27 Example 3 Total connections required by the controller 4 31 Example 4 Using SoftLogix as a Gateway 4 32 Example 5 Using ControlLogix as a Gateway
138. s you word align the device data While this might simplify the organization of the data it might also limit the data you have available Publication 1789 UM002B EN P June 2001 5 10 Communicating with Devices on a DeviceNet Link Accessing DeviceNet 1 0 I O information is presented as a structure of multiple fields which depend on the specific features of the I O module The name of the structure is based on the location of the I O module in the system Each I O tag is automatically created when you configure the I O module through the programming software Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where This address variable Is Location Identifies network location LOCAL identifies communication card within the computer SlotNumber Slot number of 1 0 module in its chassis Type Type of data input O output C configuration S status 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 I O module Data is the common name for values the are sent to or received from 1 0 points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module By 1 0 Configuration E 5 2 1784 PCICS 74 CNET_card The 1784 PCIDS card in this example is in slot
139. se to run RSNetWorx for DeviceNet This example assumes that you are running the SoftLogix controller and RSNetWorx on the same computer Publication 1789 UM002B EN P June 2001 5 6 Communicating with Devices on a DeviceNet Link Step 4 Configure the communication card as part of the project Use RSLogix 5000 programming software to map the 1784 PCIDS communication card as part of the SoftLogix project In the Controller Organizer add the communication card to the I O Configuration folder 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1784 PCIDS communication card 5 RSLogix 5000 quick_start 1789 L6 File Edit View Search Logic Communic alala fee ec One x o Forces No Edits v Forces Disabled Path AB_KTC 142 Backplane 0 E Controller quick_start A Controller Tags C3 Controller Fault Handler C3 Power Up Handler ES Tasks MainTask B a MainProgram A Program Tags E MainRoutine 3 Unscheduled Programs i Trends S 63 Data Types Ci User Defined E Predefined 3 Specify the appropriate communication card settings 4 This must be the same slot number you specified on the Select Module Type x Type Major Revision fa x Description fi 784 PCIDS 4 amp 1784 ControlNet PCI Scanner 1784 DeviceNet PCI Scanner 2 Axis Analog Encoder Servo SoftLogix5860 Controller Show Vendor fal
140. set of one or more programs You can configure tasks as either continuous or periodic The SoftLogix controller supports as many as 32 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 controller uses the priority level to determine which task to execute when multiple tasks are triggered There are 3 configurable priority levels for periodic tasks that range from 1 3 with 1 being the highest priority and 3 being the lowest priority A higher priority task will interrupt any lower priority task The continuous task has the lowest priority and is always interrupted by any periodic task The dwell time determines how much time to allow for other Windows programs running at a normal priority to execute The dwell time is the time between the end of the continuous task and the start of the next execution of the continuous task The dwell time is at the same priority as the continuous task By default the dwell time lasts 10ms Publication 1789 UM002B EN P June 2001 2 8 What Is SoftLogix The following example shows the task executio
141. sides in the same computer 1 5 where 1 is the SoftLogix backplane of Soft1 5 is the controller slot of Soft2 Publication 1789 UM002B EN P June 2001 4 24 Communicating with Devices on a ControlNet Link Example 2 Producing and consuming tags You can produce a base alias or consumed tag Produced data can be e tag of DINT or REAL data type array of DINT or REAL elements e user defined structure with any type elements Use a user defined structure to group BOOL SINT and INT data The consumed tag must have the same data type as the produced tag in the originating controller The controller performs type checking to ensure proper data is being received Example Illustration Each SoftLogix controller resides in its own computer ControlNet Softi Soft2 TagA DINT TagB DINT Each SoftLogix controller resides in the ter using different CP same computer using aiTTeren CPUs f Soft1 Tag DINT m EEN Soft2 TagB DINT Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 25 This example shows Soft1 as producing TagA Soft2 consumes TagA and stores is as TagB In this controller The tags look like Soft1 P Tag Name 3 Alias For Base Tag Decimal T General Name Description a i TagType Base C Ajas C Consumed Data Type pnr D Configure Scope quickstart Style Decimal
142. slot and select Create SE ETTAN EA 2 Select the communication card Select Module x Module Type 1 789 L60 SoftLogik5860 Controller 1784 PCIC ControlNet PCI Messaging 1 84 PCICS ControlNet PCI Scanner 1784 PCIDS DeviceNet PCI Scanner 1784 PMO24E 2 Axis Analog Encoder Servo 1789 SIM 32 Point Input Output Simulator Specify the chassis slot number p Click OK p E Select Device xi 3 Select the communication card Type 1784 PCICS 4 1784 ControlNet PCI Scanner Vendor Allen Bradley Available Serial Numbers i Select 1784 PCICS Select the serial number of the card p hrs titine If you previously configured the 1784 PCICS card that g Previous Configuration information exists for this device you selected by serial number the chassis monitor gt a Use the Previous Configuration remembers the configuration from the last time you Reset the Configuration to Default Values used the card whether in the same or different slot Click Next TRES js 4 Configure the communication card e specify the node address MAC ID on the ControlNet network e enter the label name for the card this is the name you wrote on the label of the card to help you identify the card from others in the same computer Type 1784 PCICS 4 1784 ControlNet PCI Scanner Vendor Allen Bradley Serial Number Jao C2E Network Address fi 4 PCI Card Bracket Label for Serial No CNET 01 Click
143. sources It is recommended that during development set the controller to start in the Remote Program mode This way if you ever have controllers in Run mode and the PC locks up you can cycle power and have the controllers come up in Program mode giving you enough CPU time to make changes to your application to correct the problem Then after development is complete you can change the startup mode to start in last state There is no window in RSLogix 5000 programming software that shows overall scan time including the dwell time component The scan times reported in each task are values that indicate the time to scan a particular program and do not include dwell time Use the Task Manager s Performance Monitor to gauge the effect of dwell time settings Using periodic tasks Periodic tasks always attempt to execute according to their setting and they always interrupt the continuous task If the controller is running it s dwell time a periodic task still interrupts the dwell time to run If two periodic tasks attempt to run at the same time the task that has the higher priority executes first Be careful not to execute too many periodic tasks with short intervals as you can start to use all the bandwidth of the computer without leaving CPU cycles to operate the mouse and keyboard Publication 1789 UM002B EN P June 2001 A 6 Windows NT 2000 Considerations A periodic task pauses if an ISR or DPC routine needs to be
144. st bits of the value e The second integer contains the lower right most bits of the value To re construct the floating point data within the ControlNet PLC 5 controller first reverse the order of the integers and then copy them to a floating point file Consuming a tag from a ControlNet PLC 5 controller To consume a tag from a ControlNet PLC 5 controller 1 In RSNetWorx software open the ControlNet configuration of the ControlNet PLC 5 controller insert a Send Scheduled Message Publication 1789 UM002B EN P June 2001 4 30 Communicating with Devices on a ControlNet Link Publication 1789 UM002B EN P June 2001 2 In RSLogix 5000 software add the ControlNet PLC 5 controller to the Controller Organizer 3 Create a user defined data type that contains these members Data type Description DINT Status INT x where x is the output size of the Data produced by a ControlNet PLC 5 data from the ControlNet PLC 5 controller controller If you are consuming only one INT no dimension is required 4 Create a consumed tag with the following properties For this tag property Type or select Tag Type Consumed Controller The ControlNet PLC 5 that is producing the data Remote Instance The message number from the ControlNet configuration of the ControlNet PLC 5 controller RPI power of two times the NUT of the ControlNet network For example if the NUT is 5ms select an RPI of 5 10 2
145. stering You might also need to turn bus mastering on within the BIOS setup of your computer See the documentation for your computer for more information about bus mastering TestTime utility The SoftLogix controller ships with a TestTime utility that you can use to determine the responsiveness of your system to CPU interrupts The utility measures how long it takes to respond to a software interrupt that is generated every 2 ms It measures the average max number of occurrences and standard deviation of how quickly your PC responds If you find significant delays focus on any peripheral devices on the computer and their associated drivers The best way to use the utility is to run it on a new system with no software or third party hardware installed to get a baseline measurement Then rerun the TestTime utility each time you install a piece of hardware or a software package to determine if there is a problem Screen savers Running a SoftLogix Controller on Windows Disable screen savers on your computer OpenGL screen savers have been known to generate excessive loading on a PC This can cause fluctuations in SoftLogix control because video driver operations interrupt the SoftLogix real time execution priority under Windows OpenGL is a standard for generating 2 dimensional and 3 dimensional graphics in current screen savers and animated games The SoftLogix controller executes as a service background program that starts when Wind
146. t 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 65535 Limits are defined in 20ms intervals The default is 5 100ms 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 1789 UM002B EN P June 2001 7 10 Communicating with Devices on a Serial Link This field Normal poll node tag Description Standard polling modes only An integer tag array that contains the station addresses of the slave stations Create a single dimension array of data type INT that is large enough to hold all the normal station addresses The minimum size is three elements This tag must be controller scoped The format is list 0 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 s
147. tags 1 Create a tag 6 Create tags Controller Tags quick_start controller iof x Scope quick_start controlle Show Show All x Sort Tag Name gt P Tag Name Alias For Style flex_adapter 0 C 4B 1794_DI_Delay16 C 0 flex_adapter 0 1 AB 1794_DI_16 1 0 flex_adapter 4B 1794_ACN15_8SLOT 1 0 flex_adapter 0 4B 1794_4CN15_8SLOT 0 0 D timer_1 INT Decimal Enter the name of the new tag Tab to this column and select the data type 2 Select the data type Selection _ End Match __w_ Data Types Cancel Help Select TIMER py Array Dimensions Dim 0 Dim 1 Dim 2 Click OK t Jea The software displays the tag Click to display the members 2 1 Ehtimer1 TIMER of the TIMER structure Eome LETE BI pema timer_1 4CC DINT Decimal timer_1 EN BOOL Decimal timer_1 1T BOOL Decimal g timer_1 DN BOOL Decimal timer_1 FS BOOL Decimal timer_1 L5 BOOL Decimal timer_1 0V BOOL Decimal timer_1 ER BOOL Decimal IT You might have to resize the column to see the tag extensions continued Publication 1789 UM002B EN P June 2001 1 18 Getting Started Documenting 1 0 with alias tags 1 Create an alias tag input_1 for flex_adapter 0 I Data 1 Controller Tags quick_start c
148. tation polls after polling all the stations in the priority poll array Enter 0 default to poll the entire array Priority poll node tag Standard polling modes only An integer tag array that contains the station addresses of the slave stations you need to poll more frequently Create a single dimension array of data type INT that is large enough to hold all the priority station addresses The minimum size is three elements This tag must be controller scoped The format is list 0 contains total number of stations to be polled list 1 contains address of station currently being polled list 2 contains address of first slave station to poll list 3 contains address of second slave station to poll list n contains address of last slave station to poll Active station tag Standard polling modes only An array that stores a flag for each of the active stations on the DF1 link Both the normal poll array and the priority poll array can have active and inactive stations A station becomes inactive when it does not respond to the master s poll Create a single dimension 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 drive
149. te Delete A Select a catalog number For this quick start example select 1794 IA16 oO 7 a Cross Reference Erin 2 View the General tab E Module Properties flex_adapter 0 1794 1A16 A 1 1 x The screen defaults to the General tab General Connection Module Into Configuration Type 17941416 4 16 Point 1204 AC Input Vendor Allen Bradley Parent flex_adapter Name fflex_input Slot fo 4 Verify that the module settings are pe correct Make changes if necessary El Comm Format input Data z Revision fr Electronic Keying Compatible Module X Description Click OK Status Offline Cancel Perf Help The tabs that appear depend on the type of module Publication 1789 UM002B EN P June 2001 1 16 Getting Started Viewing 1 0 tags 1 View the tags for the controller Place the cursor on the Controller Tags folder and p gt double click Power Up Handler The software displays the module defined tags for the I O modules you created Controller Tags quick_start controller OI X quick staticontoler M Shaw Show AN The 1794 IA16 input module P TagName AliasFor BaseTag Type sye CUM is in slot 0 of the remote rail ge The remote 1794 ACN15 FLEX adapter t Click the Edit Tags tab Publication 1789 UM002B EN P June 2001 Getting Started 1 17 Creating other
150. tervals The default is 50 1000ms Embedded response Specifies how to enable embedded responses Select Autodetect enabled only after receiving one embedded response or Enabled The default is Autodetect Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled Example 2 Workstation Remotely Connected to a SoftLogix Controller In the following example a workstation remotely connects to a SoftLogix controller over a serial link A modem is connected to the controller to provide remote access workstation with RSLogix 5000 programming software and Logix5550 serial port driver il SoftLogix controller Publication 1789 UM002B EN P June 2001 7 8 Communicating with Devices on a Serial Link If you use a modem to remotely connect the controller to one workstation use RSLogix 5000 programming software to configure the serial port of the controller for the DF1 point t
151. tes 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 Programming ASCII instructions The controller supports ASCII instructions to communicate with ASCII devices Your RSLogix5000 programming software CDROM includes programming examples using ASCII instructions For information about using these examples see the Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 Publication 1789 UM002B EN P June 2001 7 14 Communicating with Devices on a Serial Link Notes Publication 1789 UM002B EN P June 2001 Chapter 8 Configuring and Using Simulated 1 0 Using This Chapter The 1789 SIM module is a software only module that comes with the SoftLogix controller absolutely no hardware required You can put as many SIM modules as you have available slots according to your activation level The 1789 SIM module lets you change inputs and monitor outputs of your applicati
152. the SoftLogix system to the ControlNet network you must create the 1784 PCICS card as part of the SoftLogix chassis 1 From the SoftLogix chassis monitor select Slot Create Module or right click the appropriate slot and select Create Select the 1784 PCICS card S SoftLogix Chassis Monitor Select Module Lx View Options Help Module Type 1789 L60 SoftLogix5860 Controller OK 1784 PCIC ControlNet PCI Messaging ECS 1784 PCICS ControlNet PCI Scanner E Hanae cae P55 gt 1784 PCIDS DeviceNet PCI Scanner __ Cara a 1784 PMO24E 2 Axis Analog Encoder Servo 1783 SIM 32 Point Input Output Simulator Specify the backplane slot number ___ yy Slot 2 Click OK 2 Select the serial number of the 1784 PCICS card you want Select Device x Type 1784 PCICS 4 1784 ControlNet PCI Scanner Vendor Allen Bradley Select the serial number of the card Available Serial Numbers e Select 1784 PCICS ControlNet PCI Card If you previously configured the 1784 PCICS card that B 4 Previous Configuration information exists for this device ou selected by serial number the chassis monitor Q D Eeee y y et Reset the Configuration to Default Values remembers the configuration from the last time you used the card whether in the same or different slot Click Next 3 Specify configuration settings for the 1784 PCICS card e specify the node address MAC ID on the ControlNet network e enter the label name f
153. tical processing DPCs also execute in the kernel mode layer of Windows and therefore can prevent user mode applications from running DPCs do not have priority levels but execute in a FIFO first in first out order as queued by their associated ISRs Poorly written DPCs could unnecessarily keep the SoftLogix controller from running Disk drivers network drivers and video drivers can be major sources of long DPCs causing variation in SoftLogix performance Do not use CD writing recording devices and fancy screen savers on the SoftLogix controller because they have shown significant jumps in CPU utilization dispatched threads of execution Threads are the primary execution pieces of software that Windows switches between Some are associated with larger application programs and background processes while others are created by the kernel and device drivers Threads are individual code segments spawned from processes that can be in one of four priority levels low medium high and real time Threads that are spawned from a real time process like the SoftLogix controller execute to the point of blocking yielding or completing The dwell component of the SoftLogix controller allows the continuous task of the controller to give time to other lower priority threads that need to execute Publication 1789 UM002B EN P June 2001 A 2 Windows NT 2000 Considerations The following diagram shows the relationship between these objects an
154. too large for your ControlNet network make one or more of the following adjustments Reduce the Network Update Time NUT At a faster NUT less connections are able to share an update slot e Increase the Requested Packet Interval RPD of all connections At a higher RPI connections can take turns sending data during an update slot For a ControlNet bridge module in a remote chassis select the most efficient communication format for that chassis Are most of the modules in the Then select this communication chassis non diagnostic digital format for the remote 1 0 modules communication module yes rack optimization no none The Rack Optimization format uses an additional 8 bytes for each slot in its chassis Analog modules or modules that are sending or getting diagnostic fuse or timestamp data require direct connections and cannot take advantage of the rack optimized form Selecting None frees up the 8 bytes per slot for other uses such as produced or consumed tags e Separate the tag into two or more smaller tags Group the data according to similar update rates For example you could create one tag for data that is critical and another tag for data that is not as critical Assign a different RPI to each tag e Create logic to transfer the data in smaller sections packets Publication 1789 UM002B EN P June 2001 Communicating with Devices on a ControlNet Link 4 19 Producing a tag P
155. troller Name Last Li Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Bee Dwell Time ms 10 2 an CPU Affinity Click Next a Channel 0 Serial Port None zl None Specify the COM port ___yy Cancel Help Publication 1789 UM002B EN P June 2001 Communicating with Devices on a Serial Link 7 3 Changing the COM port setting Once you select a COM port for the controller you can only change the setting by removing the controller from the chassis and reinstalling the controller 1 From the SoftLogix chassis monitor select Slot Remove Module Accept the chassis monitor prompts to remove the controller Slot k Cancel Click OK Do not clear the module configuration unless you i want to enter all new information gt gt T Clear module configuration cma Remove Module xi Remove the module in slot 4 2 In the same slot re add the controller The chassis monitor prompts whether to use the same configuration that was previously installed Previous Configuration Exists Previous Configuration information exists from a SoftLogix5860 Controller that used to reside in this slot p Qo Unexpected results may occur if a Saved Controller Reset the Configuration to Default Values Image from a previous instance is loaded Controller Name Last Loaded J Load Saved Controller Image from Previous Instance Cancel Help
156. tware Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where Is Location Identifies network location ADAPTER_NAME identifies remote adapter or bridge device SlotNumber Slot number of 1 0 module in its chassis Type Type of data input O output C configuration S status MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an I O module Data is the common name for values the are sent to or received from 1 0 points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module Publication 1789 UM002B EN P June 2001 If you select Rack Optimization Communicating with Devices on a ControlNet Link 4 9 6 1 0 Configuration 5 2 1784 PCICS 4 CNET_card 11794 ACN15 C remote_flex amp 0 179414874 remote_input amp 1 1794 04874 remote_output amp 2 1794 1F2X0F 2174 remote_analog f 3 1784 PCIDS 4 DNET_card The tags created for the remote device 1794 ACN15 in this example depend on the communication format you select for that device when you add the device to the I O Configuration folder The automatically created tags are for a rack optimized connection to the remote communication device Listen Only Rack
157. up Tune Servo Gains Dynamics General Group Units Feedback Positioning Homing Overtravel Servo Assigned Motion Group X Axes Assigned motion_tagl Coarse Rate B E ms Servo Update Period 200 x us General Fault Type Non Major Fault v Cancel Apply Help In this field Select the Assigned Motion Group Motion group Coarse Rate Update rate for your axis Servo Update Period Closure time interval for your axis General Fault Type Fault type for your axis 8 Click OK 9 On the Units tab define the position units in which you want to program e g meters yards feet degrees Axis Properties motion_tagl _ ol x Actions Hookup Tune Servo Gains Dynamics General Group Units Feedback Positioning Homing Overtravel Serva Position Units Fee Time Unit Seconds X Motion Asticton Deau Speed nit Acceleration and Jeceleration Uri 10 Click OK Publication 1789 UM002B EN P June 2001 3 10 Controlling Motion Devices 11 To continue configuring your axis complete the entries on the other tabs When finished with the entries on a tab click OK IMPORTANT The diagnostic testing and auto tuning options are available only when the controller is online Before going online complete the configuration of all the motion cards and download your application program 12 Assign the axis to a channel the physical connection on t
158. used the card whether in the same or different slot Cancel Help Click Next 3 Specify configuration settings for the 1784 PCIDS card x e specify the node address MAC ID on the DeviceNet network e specify the data rate e enter the label name for the card this is the name you wrote on the label of the card to help you identify the card from others in the SERINE same computer Network Address 4 Baud Rate 500 PCI Card Bracket Label for Serial No ONET 04 Type 1784 PCIDS 4 1784 DeviceNet PCI Scanner Vendor Allen Bradley ate lt Back Finish Cancel Help Click Finish US p ee 7 You can specify any slot number greater than 0 for the communication card RSLinx software resides in slot 0 IMPORTANT When you add a 1784 PCIDS card to the chassis monitor the card must be connected to a valid powered DeviceNet network And the baud rate you choose for card must be same as the baud rate for the DeviceNet network Otherwise the card will fail to insert in the chassis monitor Publication 1789 UM002B EN P June 2001 5 4 Communicating with Devices on a DeviceNet Link The chassis monitor shows the 1784 PCIDS card as a virtual module in the SoftLogix chassis The LEDs on the virtual monitor emulate a 1756 DNB communication module Di SoftLogix Chassis Monitor Slot View Options Help This chassis monitor has a 1784 PCIDS card installed in slot 5 For Help press F1 Publicat
159. uter communicates with the SoftLogix controller via a serial connection the remote computer must have the serial driver installed The computer with the SoftLogix controller does not need the serial driver to connect to other devices over a serial link RSLogix5000 programming software to configure the serial port of the controller Publication 1789 UM002B EN P June 2001 7 2 Communicating with Devices on a Serial Link Step 1 Configure the serial port Use the SoftLogix chassis monitor to select which COM port to use for serial communications The controller supports only one COM port for DF1 communications 1 From the SoftLogix chassis monitor select Slot Create Module or right click the appropriate slot and select Create Select the controller SoftLogix Chassis Monitor View Options Help Module Type RGE j Controller OK 1784 PCIC ControlNet PCI Messaging ET esp 1784 PCICS ControlNet PCI Scanner Cancel 1784 PCIDS DeviceNet PCI Scanner 1784 PMO24E 2 Axis Analog Encoder Servo 1789 SIM 32 Point Input Output Simulator Remove Mod Specify the backplane slot number gt Slot 4 Click OK 2 Specify configuration settings for the controller On the second window select the COM port for serial communications Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Remote Program Startup Mode Memory Size KB 3072 Periodic Save 10 M Enable Periodic Save Interval min Con
160. vices on a ControlNet Link 4 13 Communicating with other controllers over ControlNet The SoftLogix controller also uses MSG instructions to communicate with PLC and SLC controllers The MSG instructions differ depending on which controller initiates the instruction For MSG instructions originating from a SoftLogix controller to a PLC or SLC controller Supported Source File Types In the SoftLogix controller specify the source data type based on the destination device PLC 5 SINT INT DINT or REAL SLC INT Example source element array_1 Supported Destination File Types Specify the destination file type based on the destination device PLC 5 typed write S B N or F PLC 5 word range write S B N F I 0 A or D SLC B or N Example destination tag N7 10 SoftLogix writes to PLC 2 SoftLogix reads from PLC 5 or SLC In the SoftLogix controller select one of these data types SINT INT DINT or REAL Example source element array_1 Specify the destination file type based on the destination device PLC 5 typed read S B N or F PLC 5 word range read S B N F 1 0 A or D SLC B or N Example source element 7 10 Use the PLC 2 compatibility file Example destination tag 070 In the SoftLogix controller specify the destination data type based on the destination device PLC 5 SINT INT DINT or REAL SLC INT Example destination tag array_1 SoftLogix reads from PL
161. ws Object interrupt service routine ISR Appendix A Windows NT 2000 Considerations For information about See page Windows objects A 1 Other considerations A 2 Running a SoftLogix controller on Windows NT 2000 A 3 PC hardware considerations A 9 There are three objects that execute within Windows that get CPU resources based on Window s multitasking multithreading algorithms Description An interrupt service routine is a software routine that is primarily executed in response to hardware and software interrupts ISRs always execute immediately and run in the kernel mode layer of Windows Each ISR executes at one of 32 levels The hardware interrupts that occur in a computer get mapped to 16 of the 32 possible levels The important point about ISRs is that they are written by the vendors of hardware and software products and not Microsoft Microsoft can recommend how to write ISRs but there is no guarantee about the how well other vendors write them For example once an ISR starts to execute it can raise its level to a higher priority so that the Windows scheduler won t swap it out or it can even make a function call to mask all other interrupts until it is finished Due to the variations in code writing ISRs can cause swings in system responsiveness and determinism in a soft controller deferred procedure call DPC A deferred procedure call is a software routine that is queued by an ISR to perform less time cri
162. x controllers that are running in various slots on the remote SoftLogix computer Publication 1789 UM002B EN P June 2001 Programming Over an Ethernet Link 6 5 Example Workstation Remotely Connected to a SoftLogix Controller Select the controller from the Ethernet driver s remote virtual chassis In the following example a workstation remotely connects to a SoftLogix controller over an Ethernet link firewall router with controller and Ethernet module PanelView i 0 9000 00000 J0000 g PC running RSLinx software ControlLogix chassis and RSLogix 5000 programming software it to DeviceNet network Ethernet switch FLEX 1 0 system with Ethernet adapter ControlLogix gateway Ethernet cai to ControlNet network SoftLogix5800 controller to DH network Use Who Active in RSLogix 5000 programming software to select the controller you want to program o Who Active lox M Autobrowse Lee E E Workstation ASUS_SL5K Hs Lins Gateways Ethemet H S AB_VBP 1 1789 41774 Virtual Chassis TCP 1 1789 41774 Virtual Chassis 00 Workstation RSLinx Server E F 01 1784 PCIC 1784 PCIC 3
163. you do not have to map a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the SoftLogix tag name in double quotes You could optionally map a compatibility file For example if you enter 70 for the compatibility file you enter 70 0 for the destination tag PLC 2 writes to SoftLogix PLC 5 reads from SoftLogix SLC reads from SoftLogix SLC 5 05 SLC 5 04 0S402 and above SLC 5 03 0 303 and above source element 010 destination tag 200 The destination tag is the three digit PLC 2 address you specified for PLC 2 mapping source tag array_1 destination element N7 10 The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so you do not have to map a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the SoftLogix tag name in double quotes You could optionally map a compatibility file For example if you enter 70 for the compatibility file you enter 70 0 for the source tag PLC 2 reads from SoftLogix source tag 200 destination element 010 The source tag is the three digit PLC 2 address you specified for PLC 2 mapping Publication 1789 UM002B EN P June 2001 When the SoftLogix controller initiates messages to PLC or SLC controllers you do not have to map compatibility files You enter the data table address of the target device just as you would a tag name SLC 5 05 controllers SLC 5 04 controllers
Download Pdf Manuals
Related Search
Related Contents
Samsung 2343BW Vartotojo vadovas Adega para 6 garrafas - WAECO (pt-BR) DEH-X8550BT DEH-X7550SD STATUS INNOVATIONS Operating instructions Pressure Probe OTT PLS aspirador de cenizas pas 500 b1 aspiracenere 500 b1 KingFisher Flex User Manual user manual Copyright © All rights reserved.
Failed to retrieve file