background image

152

Rockwell Automation Publication 1789-UM002K-EN-P - January 2015

Chapter 8

Program Windows Events to Monitor and Change Controller Execution

    {
        _tprintf(_T("Bad run mode event handle\n"));
        _tprintf(_T("GetLastError() = %d\n"), GetLastError());
        return 1;
    }
    else
    {
        // Add the run mode event to the event array
        EventArray[numevents] = hRunMode;
        nu+;
    }

    // Create the test mode event.  Note: it must be created as manual reset.
    _stprintf(eventname, sa_test_event_fmt, slot);
    hTestMode = CreateEvent (NULL, TRUE, FALSE, eventname);
    if (hTestMode == NULL) 
    {
        _tprintf(_T("Bad test mode event handle\n"));
        _tprintf(_T("GetLastError() = %d\n"), GetLastError());
        return 1;
    }
    else
    {
        // Add the test mode event to the event array
        EventArray[numevents] = hTestMode;
        nu+;
    }

    // Create the fault mode event.  Note: it must be created as manual reset.
    _stprintf(eventname, sa_fault_event_fmt, slot);
    hFaultMode = CreateEvent (NULL, TRUE, FALSE, eventname);
    if (hFaultMode == NULL) 
    {
        _tprintf(_T("Bad fault mode event handle\n"));
        _tprintf(_T("GetLastError() = %d\n"), GetLastError());
        return 1;
    }
    else
    {
        // Add the fault mode event to the event array
        EventArray[numevents] = hFaultMode;
        nu+;
    }

    // We are now ready to start waiting for mode changes!
    _tprintf(_T("Ready\n"));
    fflush(stdout);

    // Loop forever, waiting for mode changes.  The user must perform a control-c to
    // stop the application
    while (1) 
    {
        // First we wait for the single mode change event.  The mode change event is an 
        // automatic reset event that is set by the SoftLogix controller every time the
        // controller is changing modes.  Once the mode change event is set, we need to 
        // check the state of the acutal mode events.
        status = WaitForSingleObject(hModeChange,INFINITE);
        switch (status) 
        {
            case WAIT_OBJECT_0:

Summary of Contents for SoftLogix 5800

Page 1: ...SoftLogix 5800 System Catalog Numbers 1789 L10 1789 L30 1789 L60 User Manual...

Page 2: ...Software RSLogix FactoryTalk SoftLogix RSLinx ControlLogix Studio 5000 Rockwell Automation SLC PLC 5 Logix5000 PhaseManager ControlLogix RSNetWorx FlexLogix PLC 2 PLC 3 PLC 5 DH Integrated Architecur...

Page 3: ...ew and updated information look for change bars as shown next to this paragraph Updated Information The document contains these changes This table represents major topics Make sure to look for the cha...

Page 4: ...4 Rockwell Automation Publication 1789 UM002K EN P January 2015 Summary of Changes Notes...

Page 5: ...t Up the Chassis Monitor 24 Determine a Memory Size 25 Specify a Periodic Save Interval 26 Configure the SoftLogix Controller 27 Step 1 Create and Configure the Controller in the SoftLogix Chassis Mon...

Page 6: ...nfiguration Order in the Project 56 Ethernet I O Data 58 Add a Remote Controller 60 Add a Consumed Tag 61 Check EtherNet IP Statistics 63 Example 1 Workstation Remotely Connected to a SoftLogix Contro...

Page 7: ...ller Organizer 106 How the Project Stores and Downloads an External Routine 111 Call an External Routine 112 Jump to External Routine JXR 112 Operands 112 Description 113 Arithmetic Status Flags 113 F...

Page 8: ...ound Events 150 Configure Windows Events to Launch Tasks within the SoftLogix Controller 153 Configure a Windows event Task in the Controller 153 Trigger a Controller Task from a Windows Application 1...

Page 9: ...load the Project to the Controller 211 Step 6 Schedule the Network 213 ControlNet I O Data 219 Rack optimized Connections 220 Direct Connections 221 Example 1 SoftLogix Controller and ControlNet I O 2...

Page 10: ...pendixE SystemPerformanceTuning Guidelines Pre qualify Your Personal Computer for Soft Control 249 System Performance 252 System Startup 253 Monitor Personal Computer Performance 253 AppendixF StatusI...

Page 11: ...s the rebranding of RSLogix 5000 software and will continue to be the product to program Logix5000 controllers for discrete process batch motion safety and drive based solutions The Studio 5000 enviro...

Page 12: ...ogix5000 controllers Program logic by using sequential function chart SFC ladder diagram LD structured text ST and function block diagram FBD languages Logix5000 Controllers General Instruction Set Re...

Page 13: ...No third party virtual backplane module support 3 slot virtual chassis 1 1 As of version 12 of the SoftLogix 5800 controller the 1789 L10 controller supports three slots in the virtual chassis 1789 L...

Page 14: ...a Virtual Machine for example VMWare or VirtualBox is not supported SoftLogix5800controllersandsoftwaredonotsupportIntegratedMotion on the EtherNet IP network SoftLogix software version 20 00 00 and l...

Page 15: ...Windows Networking or Remote Access Service RAS Install the SoftLogix 5800 Controller When you insert the installation DVD into your DVD ROM drive the DVD automatically begins the set up program for...

Page 16: ...lable activations on the server Concurrent activations can be borrowed only if your Rockwell Software product supports borrowed activations If you want to check out a concurrent activation from an act...

Page 17: ...alk Activation Manager Activation Tools and Rehosting For information on Activation Tools and Rehosting Activations see the Rockwell Software Activation website at https activate rockwellautomation co...

Page 18: ...t ID but accidentally selected 13 in the Activations Requested list you cannot return just the three activations you didn t want You must rehost all 13 activations and then download 10 activations to...

Page 19: ...the computer To install the virtual backplane driver follow these steps 1 In RSLinx software from the Communications menu choose Configure Drivers 2 From the Available Driver Type pull down menu choo...

Page 20: ...SoftLogix module into slot 0 The RSLinx software module defaults in Slot 0 if not set up for another slot position 6 From the Slot Number pull down menu choose a slot number 7 Click OK and then click...

Page 21: ...ter as opposed to a physical module in a hard chassis For a list of the supported Windows operating systems see the System Requirements section of the current release notes The SoftLogix controller is...

Page 22: ...oftLogix 5800 controller is based on the Logix platform and takes control functions normally found in a dedicated programmable controller encapsulates them in software and runs them on a commercial op...

Page 23: ...DeviceNet network and through a standard Ethernet port via the EtherNet IP network SoftLogix software supports two types of motion cards the 1784 PM02AE analog motion card and the 1784 PM16SE SERCOS...

Page 24: ...x Chassis Monitor is shown here The Chassis Monitor is your SoftLogix controller interface You use the simulated status indicators to view the status of the controllers in your system You use the virt...

Page 25: ...5 for more information Periodic save interval Specify whether you want to save the current controller information tag data values and configuration information periodically and if so specify how often...

Page 26: ...ag value is read from the controller The larger the amount of data the longer the periodic save takes and the greater the impact on HMI responsiveness The current tag values read earlier along with th...

Page 27: ...89 L10 1789 L30 or 1789 L60 in the virtual chassis monitor Step 1 Create and Configure the Controller in the SoftLogix Chassis Monitor When you install a controller the Chassis Monitor lets you config...

Page 28: ...o another slot if set up for this functionality See page 29 For this example we will enter slot 1 for the 1789 L60 SoftLogix 5800 controller 3 Click OK The General dialog box appears 4 In the General...

Page 29: ...ut you can program the virtual backplane to use the RSLinx module in another slot before starting up the SoftLogix application This flexibility allows a SoftLogix module to be used in Slot 0 if so des...

Page 30: ...is running after choosing a slot other than zero for the RSLinx module RSLinx chooses the next available slot in the chassis monitor 5 From the Slot Number pull down menu choose the slot for the RSLin...

Page 31: ...ion from the File menu choose New The New Controller dialog box appears 2 In the New Controller dialog box from the Type pull down menu choose your SoftLogix controller 3 Enter the controller Name Cha...

Page 32: ...rganizer s I O Configuration section of the Logix Designer application Step 3 Configure the Controller in the Logix Designer Application Project 1 To configure the controller in the Controller Organiz...

Page 33: ...tion for the open project and when online for the attached controller The tabs that appear are particular to the type of controller you have selected 3 Click OK when you are done configuring each tab...

Page 34: ...e 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 pro...

Page 35: ...uch 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 contin...

Page 36: ...asks and Continuous Task Task Priority Level Task Type Actual ExecutionTime Worst Case ExecutionTime 1 1 20 ms periodic task 2 ms 2 ms 2 2 10 ms periodic task 4 ms 6 ms N A None lowest Continuous task...

Page 37: ...external routines to a project see Chapter 6 for information on developing external routines Instruction Execution When performing a math operation the SoftLogix controller handles INT to REAL conver...

Page 38: ...ed tags System shared data is accessible by multiple controllers over an EtherNet IP network Produced and consumed tags each require scheduled connections The SoftLogix controller supports a maximum o...

Page 39: ...closes the connection upon completion of the message which frees up that connection for other uses Each message uses one connection regardless of how many devices are in the message path To conserve c...

Page 40: ...ch can be scheduled Do not configure more connections than the controller can support Use this table to tally ControlNet connections Connection Description Direct Adirectconnectionisareal time datatra...

Page 41: ...e information that was downloaded to the controller including documentation This is because of the persistent storage feature that you enable by specifying a periodic save interval see page 26 On a do...

Page 42: ...head functions which include the following Communicating with programming and HMI devices such as RSLogix 5000 software Responding to messages Sending messages including block transfers Re establishin...

Page 43: ...Ethernet communication port The Logix Designer application installed A computer where the Logix Designer application resides enabled with an Ethernet communication port RSLinx software installed You...

Page 44: ...lassic configuration so that it does not accept UDP messages 1 1 Launch RSLinx software on the computer with the controller 2 From the View menu choose Options The Options dialog box appears 3 On the...

Page 45: ...ter browsing through the local computer has this functionality If the local computer has a DeviceNet module in the virtual chassis you cannot remotely browse the DeviceNet network Replacing RSLinx Lit...

Page 46: ...thernet modules does not affect controller operation when UDP is enabled Checking the Enable UDP box applies to all Ethernet ports on the computer RSLinx Gateway software will use all of the Ethernet...

Page 47: ...e controller 2 From the Communications menu choose Configure Gateway The Configure RSLinx Gateway dialog box appears 3 Check Enable RSLinx Gateway 4 Click OK In many applications initially leave UDP e...

Page 48: ...Follow these steps to add an EtherNet IP module to your chassis 1 In the SoftLogix Chassis Monitor from the Slot menu choose Create Module Or right click the appropriate slot and choose Create The Sel...

Page 49: ...previously had an Ethernet port configured in this slot the chassis monitor remembers the configuration of that previous port 6 Click Next The Module Properties General dialog box appears 7 Specify a...

Page 50: ...ol I O over an EtherNet IP network use the Logix Designer application to add the SoftLogix 5800 EtherNet IP module to your project You should already have added the SoftLogix controller to the project...

Page 51: ...Devices on an Ethernet Network Chapter 3 The Select Module dialog box appears 2 Expand the Communications list and choose the 1756 EWEB A module 3 Click OK The Select Major Revision dialog box appears...

Page 52: ...EN P January 2015 Chapter 3 Communicate with Devices on an Ethernet Network The Module Properties dialog box appears 5 Name the module enter the IP address and select the Disable Keying option 6 Clic...

Page 53: ...address of the computer If there are multiple IP addresses or if the SoftLogix 5800 EtherNet IP module is not in the same virtual chassis as the SoftLogix controller you must enter an IP address This...

Page 54: ...n I O connection error due to conflicting naming conventions with Windows operating systems To avoid this place all of the following Produced and consumed tags and I O devices on one Ethernet module M...

Page 55: ...ections for EtherNet IP communication 1 single TCP connection can support multiple CIP connections 128 CIP connections for Logix based communication A CIP connection transfers data from one Logix appl...

Page 56: ...functionality Supports an EtherNet IP statistics utility see page 63 Does not support a web based interface Does not support email via MSG instruction Distributed Ethernet I O The SoftLogix controlle...

Page 57: ...uration in this order 1 Add see page 50 the remote adapter to the SoftLogix 5800 EtherNet IP module of the controller 1794 AENT A remote_flex_adapter 2 Add see page 50 the I O modules to the remote ad...

Page 58: ...is format Location SlotNumber Type MemberName SubMemberName Bit This address variable Is Location Identifies network location ADAPTER_NAME identifies remote adapter or bridge SlotNumber Slot number of...

Page 59: ...C DelayTime_0 remote_flex_adapter 0 C DelayTime_1 remote_flex_adapter 0 C DelayTime_2 remote_flex_adapter 0 C DelayTime_3 remote_flex_adapter 0 C DelayTime_4 remote_flex_adapter 0 C DelayTime_5 remote...

Page 60: ...ler to consume tags from another controller via Ethernet add the controller to the EtherNet IP module The consumer initiates any actions To add a remote controller build the I O configuration in this...

Page 61: ...umed tag s value comes from a remote controller The local controller is the consumer and the remote controller is the producer Consumed tags are always at controller scope Complete these steps to add...

Page 62: ...ailabledisplaystylesforthe chosen data type Choose from Binary Decimal Hex Octal Date Time ASCII Exponential or Float Parameter Description Producer Choose the name of the controller producing the dat...

Page 63: ...k the Controller Tags folder in the Controller Organizer Check EtherNet IP Statistics The SoftLogix controller installs with an EtherNet IP statistics utility that displays different counters for the...

Page 64: ...January 2015 Chapter 3 Communicate with Devices on an Ethernet Network The SoftLogix 5800 EtherNet IP Module Statistics dialog box appears 2 Use the character key at the top of the utility screen to d...

Page 65: ...hernet network to remotely program the SoftLogix controller Item Description 1 Ethernet switch 2 Firewall router 3 ControlLogix chassis with controller and Ethernet module 4 PanelView terminal 5 Perso...

Page 66: ...Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 3 Communicate with Devices on an Ethernet Network Browsing from a computer to a remote SoftLogix controller looks like this examp...

Page 67: ...5 67 Communicate with Devices on an Ethernet Network Chapter 3 Browsing from the EtherNet IP module in a SoftLogix controller to remote devices looks like this example The computer cannot be an RSLinx...

Page 68: ...her devices on the EtherNet IP network Item Description 1 Ethernet switch 2 Firewall router 3 ControlLogix chassis with controller and Ethernet module 4 PanelView terminal 5 Personal computer running...

Page 69: ...depends on the target device 1 Click MSG to launch the Message Configuration dialog box 2 On the Configuration tab configure the following For this item Specify Message Type CIP Data Table Read or CI...

Page 70: ...r in the pair designates the node address of the next device For this item Specify Communication Path Each SoftLogix controller residesin its own computer 1 2 130 151 255 43 1 5 where 1 is the SoftLog...

Page 71: ...5 Processor In this example the SoftLogix controller sends a message through the 1756 ENBT out the 1756 DHRIO and to a PLC 5 processor at DH node 2 Configure a MSG Instruction Use a PLC 5 Typed Write...

Page 72: ...l chassis 6 Thesendingdevice theEthernetportinthecontroller scomputer isinslot6of the virtual chassis 2 Sending the message out the Ethernet communication port 10 88 55 186 The IP address of the 1756...

Page 73: ...s from the distributed I O modules depends on how you configure the I O modules You can configure each module as a direct connection or as rack optimized One chassis can have a combination of some mod...

Page 74: ...2015 Chapter 3 Communicate with Devices on an Ethernet Network In the Logix Designer application the controller project and associated tags looks like this example Throughput is based on the performan...

Page 75: ...ication driver If a remote computer communicates with the SoftLogix controller via a serial connection the remote computer must have the serial driver installed The computer with the SoftLogix control...

Page 76: ...roller supports only one COM port for DF1 communication Follow these steps to configure serial communication 1 In the SoftLogix Chassis Monitor from the Slot menu choose Create Module Or right click t...

Page 77: ...1789 UM002K EN P January 2015 77 Communicate with Serial Devices Chapter 4 The General dialog box appears 5 Specify the settings for the controller 6 Click Next The NT System dialog box appears 7 Cho...

Page 78: ...ge the COM Port Setting Once you choose a COM port for the controller you can only change the setting by removing the controller from the chassis and reinstalling the controller Follow these steps to...

Page 79: ...municate with Serial Devices Chapter 4 The Remove Module verification dialog box appears 3 Click OK The SoftLogix Chassis Monitor now appears with slot 1 empty Do not clear the SoftLogix Chassis Monit...

Page 80: ...blication 1789 UM002K EN P January 2015 Chapter 4 Communicate with Serial Devices 4 In the same slot re add the controller The SoftLogix Chassis Monitor prompts whether to use the previous configurati...

Page 81: ...nfigure the Serial Port of the Controller in the Project Complete these steps to configure the controller in your project 1 Open a project in the Logix Designer application and add the controller to t...

Page 82: ...Automation Publication 1789 UM002K EN P January 2015 Chapter 4 Communicate with Serial Devices The Controller Properties dialog box appears 3 On the Serial Port tab specify the appropriate serial por...

Page 83: ...oose No Handshake Full Duplex Half Duplex with Continuous Carrier or Half Duplex without Continuous Carrier If you are not using a modem choose No Handshake If both modems in a point to point link are...

Page 84: ...eEnableStoreandForwardcheckboxifyouwanttoenablethestoreandforwardfunctionality Whenenabled the destination address of any received message is compared to the Store and Forward tag table If there is a...

Page 85: ...4 Address 255 is reserved for broadcast messages The default is 0 Enable Store and Forward Enable Store Forward box should only be checked if the controller that you are downloading the project to is...

Page 86: ...3 ENQ Transmit Limit Specifies the number of inquiries ENQs 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...

Page 87: ...led report by exception Slave stations can send messages to each other via the master Master maintains an active station array The poll array resides in a user designated data file You can configure t...

Page 88: ...e 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...

Page 89: ...lements 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 firs...

Page 90: ...ader is an ASCII device so you configure the serial port differently than in the previous examples Configure the serial port for user mode rather than a DF1 mode Connect the ASCII Device to the Contro...

Page 91: ...oller and the ASCII device User Mode Configuration Complete these steps to specify ASCII protocol settings 1 From the Edit menu choose Controller Properties If the communication is Then wire the conne...

Page 92: ...onfiguration Settings Field Description Read Write Buffer Size Specify the maximum size in bytes of the data array you plan to send and receive The default is 82 bytes Termination Character 1 2 In the...

Page 93: ...to simulate local I O you need the following A 1789 SIM module comes with the SoftLogix 5800 controller Logix Designer application to configure the 1789 SIM module You are limited by the activation l...

Page 94: ...9 SIM module as part of the SoftLogix Chassis Monitor You can install as many 1789 SIM modules as allowed by your activation level of the controller Complete these steps to install the SIM module 1 Fr...

Page 95: ...module The text you enter for the module scrolls across the Marquee on the front of the module in the chassis monitor If you do not enter a label name the default label of Simulator Module appears For...

Page 96: ...d Use Simulated I O The chassis monitor shows the 1789 SIM module as a virtual module in the SoftLogix Chassis Monitor Note that the door of the 1789 SIM module opens to display the output bits Left c...

Page 97: ...igure the 1789 SIM module as Part of the Project Use the software to map the 1789 SIM module as part of the SoftLogix project 1 In the project right click I O Configuration folder and choose New Modul...

Page 98: ...figuration you must delete and recreate the module Slot Entertheslotnumberwherethemoduleresides Thevaluesrangefrom0 1lessthanthechassissize forexample ifyouhavea4 slotchassis the values are from 0 3 I...

Page 99: ...astest RPIconfiguredforall ownercontrollers for input modules orfaster thanthe RPI configured for the one owner controller for output modules Inhibit Module Check clear this box to inhibit uninhibit y...

Page 100: ...789 SIM module to a project the software automatically assigns input and output data structures for the module For example this I O configuration generates these I O data structures View Description I...

Page 101: ...Monitor right click SIM module and choose Properties The Module Properties dialog box appears 2 Click the I O tab 3 Click a specific input bit to toggle it on or off This tab also shows the state of t...

Page 102: ...he tag database but two input value tag addresses that can be used Always use the second input bit value address to force or turn on a bit Local 9 I Data 1 Item Description 1 Tag database is the locat...

Page 103: ...ure and Use Simulated I O Chapter 5 Example Move Application Data into the 1789 SIM Tags This example uses MOV instructions to copy Input data from the 1789 SIM module into the application s input tag...

Page 104: ...104 Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 5 Configure and Use Simulated I O Notes...

Page 105: ...loped as a Windows DLL the SoftLogix controller can execute the routine as part of a Logix Designer application project Configure Your System to Execute an External Routine For the SoftLogix controlle...

Page 106: ...tines Add an External Routine to the Controller Organizer You add an external routine to the Controller Organizer the same way you create a new ladder routine Follow these steps 1 In the Logix Designe...

Page 107: ...te External Routines Chapter 6 The New Routine dialog box appears 2 Name the new routine In this example we named it math_test 3 From the Type pull down menu choose External Routine 4 Click OK The new...

Page 108: ...9 UM002K EN P January 2015 Chapter 6 Execute External Routines 5 Right click new routine and choose Open Use the quick view pane of the Controller Organizer to verify that you specified the external r...

Page 109: ...pears 6 On the General tab verify that the information for the external routine is correct and that it appears this way in the Controller Organizer 7 On the Configuration tab click Browse to select th...

Page 110: ...110 Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 6 Execute External Routines 9 Click OK...

Page 111: ...ller For example if you download MyProject ACD to a controller in slot 4 the external routine DLL file is downloaded to the location C Program Files Rockwell Automation SoftLogix5800 Data slot04 on th...

Page 112: ...ed only by the SoftLogix5800 controllers Operands Table 7 Relay Ladder Operand Type Format Description External routine name ROUTINE Name External routine to execute External routine control EXT_ROUTI...

Page 113: ...rom the instruction entry EN BOOL When set the enable bit indicates that the JXR instruction is enabled The external routine sets this bit ReturnsValue BOOL Ifset thisbitindicatesthatareturnparameterw...

Page 114: ...by using Visual Studio see Create a Visual Studio Project on page 117 A major fault occurs if Fault type Fault code An exception occurs in the external routine DLL The DLL could not be loaded The entr...

Page 115: ...oadLibrary to invoke the external routine DLL s code from within the memory and process space of the SoftLogix 5800 controller Because the user s external routine DLL runs in the memory and process sp...

Page 116: ...hat was developed outside of the Studio 5000 environment The external routine must be a standard Windows DLL and it can contain one or more functions An external routine can execute synchronously or a...

Page 117: ...DLL file you can execute different versions of the same DLL on SoftLogix controllers in different slots of the same virtual chassis The DLL used by a controller in one slot is completely independent o...

Page 118: ...k the DLL Application type 5 Click Finish The software displays the type of files it will generate for the project Project Files Add external routine code to the project files All calls to external ro...

Page 119: ...5 Returning rung status unsigned FirstScan 1 26 First Normal Scan occurring unsigned ER 1 27 Control ERROR unsigned ReservedB 1 28 Reserved Set B DO NOT USE unsigned DN 1 29 Control DONE unsigned Retu...

Page 120: ...it as read only Any modifications to this information is disregarded Control and status information exist in one location inside the RoutineControlWord structure ctrlWord within the external routine...

Page 121: ...pERCtrl int Val Add all array elements provided then return the Sum pERCtrl ctrlWord EN pERCtrl ctrlWord EnableIn pERCtrl ctrlWord EnableOut pERCtrl ctrlWord EnableIn BOOL bFail FALSE Number of parame...

Page 122: ...ome error Set Error bit to indicate error occurred pERCtrl ctrlWord ER 1 pERCtrl ctrlWord ErrorCode 1 Set ErrorCode Set Done bit before exit of this XR pERCtrl ctrlWord DN 1 else Rung not enabled pERC...

Page 123: ...ned in the DLL Provides descriptions that the Logix Designer application uses Provides type checking in the JXR instruction Gets the name of the routine to be used in the GetProcAddress call The infor...

Page 124: ...UM002K EN P January 2015 Chapter 7 Develop External Routines The Resource View dialog box appears 2 In the InlineExample right click Add and choose Resource The Add Resource dialog box appears 3 Choos...

Page 125: ...Develop External Routines Chapter 7 4 Open the new resource Choose the IDR_HTML1 file from the HTML folder 5 Choose the Client Objects Events The HTML code for the project example appears 6 Edit the H...

Page 126: ...ction inthe DLL Each Routine tag contains the following XML tags EntryPoint Description and Signature EntryPoint This tag contains the name of the function that is exported from the DLL If the routine...

Page 127: ...ernal Routines Chapter 7 The Resource Properties dialog box appears 8 Change the name of the resource to RA_EXTERNALROUTINES_XML Do this by editing the ID field of the resource properties dialog box 9...

Page 128: ...ternal Routine DLL Add version information to your DLL to keep track of your development changes Follow these steps 1 From the View menu choose Resource View The Resource View dialog box appears 2 Rig...

Page 129: ...RSION all capital letters or any other FileVersion field located in any other language sections The FileVersion field is a string and is completely under the control of the developer Whatever you ente...

Page 130: ...LL are also re mapped When a DLL is re mapped a re verification is done on all of the routines that reference the DLL Routines that reference a DLL different from the one re mapped are unaffected by t...

Page 131: ...the SoftLogix controller to terminate and display a red X across the module BOOL APIENTRY DllMain HANDLE hModule DWORD ul_reason_for_call LPVOID lpReserved switch ul_reason_for_call case DLL_PROCESS_...

Page 132: ...pResLock NULL return sndPlaySound lpResLock SND_SYNC SND_MEMORY FreeLibrary MyLib void RungStateThread void p bool exitThread FALSE rungStates oldRungState rungState DWORD status HANDLE hController p...

Page 133: ...EXT_ROUTINE_CONTROL pERCtrl pERCtrl ctrlWord EN pERCtrl ctrlWord EnableIn rungState INVALID_STATE Only create the thread on prescan if pERCtrl ctrlWord ScanType 1 hControllerState CreateEvent NULL FA...

Page 134: ...1789 UM002K EN P January 2015 Chapter 7 Develop External Routines else if pERCtrl ctrlWord FirstScan rungState FIRST_SCAN else if pERCtrl ctrlWord EnableIn rungState RUNG_TRUE else rungState RUNG_FAL...

Page 135: ...the priority of the newly created thread to something more appropriate so as not to interfere with the execution of periodic tasks in the controller The example above shows how to set the thread prior...

Page 136: ...er This file is not copied as a part of the normal download to the SoftLogix controller For example if you have a controller in slot 3 that is using an External Routine DLL called InlineExample dll co...

Page 137: ...e selected and then Rebuild All This should produce debug information within the DLL ATTENTION Do not attempt to control equipment while debugging external routines Debug Dialog Box Item Description E...

Page 138: ...project to the controller this loads or re loads the DLLs containing your external routines Once the external routine DLLs are loaded you can set breakpoints in any of the external routines Data Type...

Page 139: ...le C Declaration extern C __declspec dllexport float SumArray EXT_ROUTINE_CONTROL pERCtrl float Val XML Declaration Routine EntryPoint SumArray EntryPoint Description Sum floating point array elements...

Page 140: ...C Declaration extern C __declspec dllexport int SomeCalculation EXT_ROUTINE_CONTROL pERCtrl int Val XML Declaration Routine EntryPoint SomeCalculation EntryPoint Description Do an important calculatio...

Page 141: ...ure with four integers int n1 int n2 int n3 int sum extern C __declspec dllexport int uvUDT EXT_ROUTINE_CONTROL pERCtrl MyStruct pMS XML Declaration Routine EntryPoint uvUDT EntryPoint Description Thi...

Page 142: ...82 extern C __declspec dllexport void StringFunc EXT_ROUTINE_CONTROL pERCtrl RA_String pInRA_String RA_String pOutRA_String XML Declaration Routine EntryPoint StringFunc EntryPoint Description This f...

Page 143: ...storage N 1 bits 32 1 4 bytes Array BOOL 4 byte boundaries bit packed across storage N 1 bits 32 1 4 bytes BOOL 1 byte boundaries 1 per byte of storage 1 byte SINT 1 byte boundaries 1 per byte of stor...

Page 144: ...t int long bool DINT IntegerAddress IntegerValue VoidAddress Int long Int long Void INT IntegerAddress IntegerValue VoidAddress Short Short Void SINT IntegerAddress IntegerValue VoidAddress Char Char...

Page 145: ...TINE_CONTROL pERCtrl int Val InlineExample cpp __declspec dllexport int SumArray EXT_ROUTINE_CONTROL pERCtrl int Val body of function Run dumpbin exe Run dumpbin exe with the exports flag set to displ...

Page 146: ...u ran dumpbin exe The XML EntryPoint name must EXACTLY match the decorated named displayed by the dumpbin exe utility xml version 1 0 encoding UTF 8 RA_ExternalRoutines_XML Description Sum array eleme...

Page 147: ...For example assume external routine MyER DLL uses another file called MyAdditionalFile DLL The Logix Designer application copies MyER DLL into the project area and downloads MyER DLL to the appropria...

Page 148: ...148 Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 7 Develop External Routines Notes...

Page 149: ...ically Saving the Controller 158 Windows Event Description SOFTLOGIX_xx_STARTUP This event is set after the controller in slot xxcompletes its power up sequence This event is reset when the controller...

Page 150: ...Event support that is being introduced with version 12 of the SoftLogix5800 product It should be compiled using the Microsoft Visual Studio compiler You can use the following steps to compile and run...

Page 151: ...on the command line argc argv if argc 1 _tprintf _T You must enter a slot number on the command line n fflush stdout return 1 slot atoi argv void GetLastError Create the mode change event Note it must...

Page 152: ...ault mode event Note it must be created as manual reset _stprintf eventname sa_fault_event_fmt slot hFaultMode CreateEvent NULL TRUE FALSE eventname if hFaultMode NULL _tprintf _T Bad fault mode event...

Page 153: ...dout break case WAIT_OBJECT_0 1 _tprintf _T now in run mode n fflush stdout break case WAIT_OBJECT_0 2 _tprintf _T now in test mode n fflush stdout break case WAIT_OBJECT_0 3 _tprintf _T now in fault...

Page 154: ...154 Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 8 Program Windows Events to Monitor and Change Controller Execution The New Task dialog box appears...

Page 155: ...igger the task s execution Execute Task If No Event Occurs Within Check the box if you wantto allow the task to execute if the timeout period expires before an event triggers the task Priority Type th...

Page 156: ...event Programming Example Windows Event This example a Visual Basic application uses Windows events to communicate to a SoftLogix controller The application passes data via a memory mapped file by us...

Page 157: ...le error End If noHandle End Sub Private Sub Form_Unload Cancel As Integer CloseHandle hCounter CloseHandle hOutbound 0 CloseHandle hOutbound 1 CloseHandle hOutbound 2 End Sub Private Sub pbCounter_Cl...

Page 158: ...a NULL DACL for full permission for all if SetSecurityDescriptorDacl pSD TRUE PACL NULL FALSE return 1 sa nLength sizeof sa sa lpSecurityDescriptor pSD sa bInheritHandle TRUE CreateEvent security man...

Page 159: ...occur between the wait for lock event and corresponding SetEvent If saves not permitted download in progress OR a save is in progress Explain Else Set lock event Kick save event Endif Wait for save s...

Page 160: ...160 Rockwell Automation Publication 1789 UM002K EN P January 2015 Chapter 8 Program Windows Events to Monitor and Change Controller Execution Notes...

Page 161: ...onal information about communicating with DeviceNet devices see the DeviceNet Network Configuration User Manual publication DNET UM004 Topic Page Configure Your System for a DeviceNet Network 162 Perf...

Page 162: ...e the devices on the network IOLinx software so that the SoftLogix controller is able to read and write I O data Step 1 Install the Hardware Make sure the 1784 PCIDS communication card is properly ins...

Page 163: ...ard from any others you might install in the computer Step 2 Create the Communication Card in the SoftLogix Chassis Monitor Before you can connect the SoftLogix system to the DeviceNet network you mus...

Page 164: ...Click OK 6 When the Select Device dialog box opens choose the serial number of the 1784 PCIDS card that you want If you previously configured the 1784 PCIDS card that you selected by serial number the...

Page 165: ...software module is positioned in a slot other than its default 0 See page 29 This example shows the 1784 PCIDS card as a virtual module in the SoftLogix Chassis Monitor The status indicators on the v...

Page 166: ...r for the 1784 PCIDS communication card RSLinx software is a communication server providing device connectivity For additional user information on RSLinx software see the RSLinx Classic Getting Result...

Page 167: ...vailable Driver Types pull down menu choose the appropriate DeviceNet driver 4 Click Add New The DeviceNet Driver Selection dialog box appears 5 Select the 1784 PCIDS driver and click Select TIP Thede...

Page 168: ...6 Click OK The Add New RSLinx Classic Driver dialog box appears 7 Name the driver 8 Click OK You will see the driver running 9 Click Close IMPORTANT You install the DeviceNet communication driver only...

Page 169: ...the SoftLogix project In the Controller Organizer add the communication card to the I O Configuration folder You should already have added the SoftLogix controller to the project See Step 1 Create an...

Page 170: ...ary 2015 Appendix A Communicate with Devices on a DeviceNet Network The Select Module dialog box appears 3 Click OK The Select Major Revision dialog box appears 4 Choose the Major Revision number for...

Page 171: ...hold the data you expect If the sizes are too small data truncates If the sizes are too large the software zero pads the data blocks 7 Click the Open Module Properties box and click OK to complete th...

Page 172: ...ices on your network see the DeviceNet Network Configuration User Manual publication DNET UM004 The SoftLogix controller supports 32 bit words of data You can have 124 words of input data 123 words of...

Page 173: ...e Net software see the RSNetWorx for DeviceNet Getting Results Guide publication DNET GR001 1 Launch RSNetWorx for DeviceNet software 2 Go online to begin browsing the network 3 Browse to the DeviceNe...

Page 174: ...nload prompt dialog box appears 5 Click OK IMPORTANT Ifyoucannotbrowse the networkafterinstallingthe1784 PCIDScard check and make sure the status indicator on the card is green If it is red see the De...

Page 175: ...re in the desired formats Devices default to transmit and receive data format Some device formats can be changed Changes should be made to such devices prior to creating the scanlist For more detailed...

Page 176: ...define how many inputs Rx and Outputs Tx you expect from each DeviceNet device The parameters you specify here must match those of each particular I O device Input OntheInputpropertytab youcanmapdevi...

Page 177: ...the ADR property tab you can configure the automatic device replacement ADR parameters for scanners that support the ADR feature which automates the replacement of a failed slave device on a DeviceNe...

Page 178: ...pear The I O data is automatically loaded into the scanlist from the device s EDS file with default parameters set If you want to change I O Parameters for a device perform the following steps a Click...

Page 179: ...M002K EN P January 2015 179 Communicate with Devices on a DeviceNet Network Appendix A 12 Click the Input tab 13 Verify input mapping 14 Click the Output tab 15 Verify output mapping 16 Click Apply to...

Page 180: ...ou can also reset the module by removing and reinserting the module in the SoftLogix Chassis Monitor which can be done while the SoftLogix controller is running The connections are automatically reest...

Page 181: ...or integration In addition you can use the application to make certain that the 1784 PCIDS card has been correctly installed and is functioning in the personal computer Step 1 Start the Test Applicati...

Page 182: ...DeviceNet Network Step 2 Configure the Port You must configure the port the first time you use a 1784 PCIDS card To configure the port follow these steps 1 From Setup menu choose Configure Port The D...

Page 183: ...UM002K EN P January 2015 183 Communicate with Devices on a DeviceNet Network Appendix A The 1784 PCIDS Drive Configuration dialog box appears 3 Click OK The DNetTest dialog box appears indicating the...

Page 184: ...og appears indicating that the port has been configured 5 Click OK Step 3 Create a View 1 From the Setup menu choose Create View The View Creation Parameters dialog box appears 2 Choose the port name...

Page 185: ...watchdog timeout value in milliseconds that you want to use 6 Click OK The DNetTest dialog box appears indicating the operation was successful 7 Click OK The DeviceNet Test Application dialog box appe...

Page 186: ...le of the 1784 PCIDS card The Input Image Table is displayed and is automatically updated when inputs change The DeviceNet Test Application lets you write as many as 2048 bytes to the output image tab...

Page 187: ...ta from the scanner Use Switch Mode to change the mode between Run and Idle Once the mode is set to Run active outputs are sent to the associated I O devices For more detailed information about the IO...

Page 188: ...ocation Identifies network location LOCAL identifies communication card within the computer SlotNumber Slot number of I O module in its chassis Type Type of data I input O output C configuration S sta...

Page 189: ...index number on the array element 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 one device You can crea...

Page 190: ...r Run bit in the output word for the card This is an example CommandRegister Bits This table describes how the 1784 PCIDS card uses the CommandRegister bits Set This Bit CommandRegister Run Bit Descri...

Page 191: ...etermines if the data Transmit and Receive sizes in the scanlist are correct Any node thathas data sizes that don t match the sizes defined in the scanlist causes the bit to be set to 1 This bit is us...

Page 192: ...ata for a 1784 PCIDS card Status Data Elements Status Element Data Type Default Display Style S ScanCounter DINT Binary S DeviceFailureRegister SINT 8 Binary S AutoverifyFailureRegister SINT 8 Binary...

Page 193: ...Logix 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...

Page 194: ...to choose the 1784 PCIDS card from an online list of available devices such as Browse Network in RSNetWorx for DeviceNet software choose the 1784 PCIDS card from outside of the virtual chassis EXAMPL...

Page 195: ...ControlNet communication card to send messages or control I O over the ControlNet network RSLinx software to install the virtual backplane driver Topic Page Configure Your System for a ControlNet Net...

Page 196: ...ollowing 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 bac...

Page 197: ...e 1784 PCICS card as part of the SoftLogix Chassis Monitor Follow these steps 1 In the SoftLogix Chassis Monitor from the Slot menu choose Create Module Or right click the appropriate slot and choose...

Page 198: ...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 on the same computer 9 Click Finish For RSLogix 5000 software version 20 00 00 or...

Page 199: ...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 This...

Page 200: ...tion folder as outlined below You should already have added the SoftLogix controller to the project See Step 1 Create and Configure the Controller in the SoftLogix Chassis Monitor on page 27 Your cont...

Page 201: ...ck OK The Major Revision dialog box appears 4 Choose the Major Revision number that matches your module and click OK The New Module dialog box appears 5 Name the module and choose the slot number Our...

Page 202: ...to module behavior Onthis tab you can perform the following actions Choose a requested packet interval Choose to inhibit the module Configure the controller so that a loss of connection to this modul...

Page 203: ...RSLinx software before you can download a project to the SoftLogix controller Even if you plan to remotely program the controller over a ControlNet or Ethernet network you must add the virtual backpl...

Page 204: ...or the Communication Card Complete your system configuration by adding the remote communication devices and appropriate I O modules to your project Follow these steps 1 In RSLogix 5000 software from t...

Page 205: ...es on a ControlNet Network Appendix B 2 Expand the Communications list 3 Choose the module type The 1794 ACNR15 C 1794 ControlNet Adapter Redundant Media is shown in this example 4 Click OK The Major...

Page 206: ...evices on a ControlNet Network The New Module Properties dialog box appears 6 In the Module Properties dialog box name the adapter and choose the appropriate communication settings 7 Choose the Open M...

Page 207: ...les Specify a minor revision number for the module Specify a node Specify a chassis size Chose an electronic keying option not used for SoftLogix Connection Use this tab to define controller to module...

Page 208: ...eI OModulesfortheRemoteCommunicationModule 1 Add an input I O module right click 1794 ACNR15 C adapter card in the I O Configuration folder and choose New Module The Select Module dialog box appears 2...

Page 209: ...rk Appendix B The New Module dialog box appears 4 Enter the module name and slot number 5 Make sure the Open Module Properties box is unchecked 6 Click OK 7 Add an output I O module right click 1794 A...

Page 210: ...4V DC Output Source module The New Module dialog box appears 10 Enter the module name and slot number Make sure the Open Module Properties box is unchecked 11 Click OK Continue to add and configure I...

Page 211: ...Download the Project to the Controller 1 From the Communications menu choose Who Active The Who Active dialog box appears 2 Browse to the SoftLogix controller 3 Click Set Project Path button to cause...

Page 212: ...EN P January 2015 Appendix B Communicate with Devices on a ControlNet Network The Download dialog box appears 5 Click Download on the Download dialog box This will download the acd project into the co...

Page 213: ...oller project must already be downloaded from RSLogix 5000 software to the controller and the controller must be in Program or Remote Program mode For more detailed information see the RSNetWorx for C...

Page 214: ...on Publication 1789 UM002K EN P January 2015 Appendix B Communicate with Devices on a ControlNet Network The Network Browser dialog box appears 3 Browse to the desired ControlNet Network and select th...

Page 215: ...Rockwell Automation Publication 1789 UM002K EN P January 2015 215 Communicate with Devices on a ControlNet Network Appendix B The network window appears 5 Click Edits Enabled...

Page 216: ...arameters including the network update time maximum scheduled address maximum unscheduled address media redundancy and the network name Media Configuration On the Media Configuration tab you configure...

Page 217: ...te time NUT The default NUT is 5 ms The NUT you specify must be lower than or equal to the lowest RPI in your system 8 Enter the Pending Max Scheduled Address and Pending Max Unscheduled Address 9 Cli...

Page 218: ...icate with Devices on a ControlNet Network 13 In RSNetWorx software from the File menu choose Save to save the network The Save As dialog box appears 14 Name the file and click Save The Save Configura...

Page 219: ...the programming software Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit IMPORTANT Every device on the network must be in Program or Remote Program modefortheso...

Page 220: ...gital 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 elemen...

Page 221: ...you choose None for the communication format to the communication device the software assumes that you want a direct connection for each I O module connected to that device The software creates slot...

Page 222: ...odule 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 To...

Page 223: ...network The two controllers can be in separate computers or in the same computer Connection Amount SoftLogix controller to 1784 PCICS card 0 SoftLogix controller to remote 1794 ACNR15 module communic...

Page 224: ...xt device count_send count_msg en EN DN ER Type Unconfigured Message Control count_msg MSG For this item Specify Message Type CIP Data Table Read or CIP Data Table Write Source Tag Tag containing the...

Page 225: ...r defined structure with any type of 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 controll...

Page 226: ...the Soft2 controller consumes TagA and stores it as TagB 1 To add two controllers in the I O tree named Soft1 and Soft2 right click I O Configuration and choose New Module 2 Name and configure each co...

Page 227: ...eld and the tag to be consumed TagA in the Remote Data field and click OK For more detailed information on how to create Produced Consumed tags see Logix5000 Controllers Produced and Consumed Tags Pro...

Page 228: ...Example 3 SoftLogix Controller to Other Devices This example one SoftLogix controller communicates with other controllers over the ControlNet network Connection Amount Soft1 controller to 1784 PCICS c...

Page 229: ...ment such as B3 0 T4 0 ACC C5 0 ACC N7 0 and so forth SINT INT or DINT tag Anyfloatingpointelement suchasF8 0 PD10 0 SP and so forth REAL tag PLC 5 Typed Write SINT or INT tag Any integer element such...

Page 230: ...s you do with a SoftLogix controller All Logix controllers follow the same requirements for producing and consuming tags Producing and consuming tags with a PLC 5 controller for the ControlNet network...

Page 231: ...ch requires 32 bits regardless of the type of controller as follows The first integer contains the upper left most bits of the value The second integer contains the lower right most bits of the value...

Page 232: ...eate a consumed tag with the following properties 5 In the RSNetWorx for ControlNet software reschedule and save the network Data Type Description DINT Status INT x where x is the output size of the d...

Page 233: ...a direct connection for any I O modules connected to these devices that you want in the configuration for the SoftLogix controller Connection Amount Soft1 controller to 1784 PCICS card 0 Soft1 control...

Page 234: ...these steps 1 Specify the port where the message exits 2 Specify the next device 3 Repeat step 1 and step 2 until you specify the target device For Port Specify Backplane port 1 DF1 port from the cont...

Page 235: ...minal over a ControlNet network 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 network...

Page 236: ...236 Rockwell Automation Publication 1789 UM002K EN P January 2015 Appendix B Communicate with Devices on a ControlNet Network Notes...

Page 237: ...001 The configuration process varies depending on your application and your drive selection 1 Create a controller project by using RSLogix 5000 software See page 27 2 Coordinate with system time Use C...

Page 238: ...an axis and assign it to the Motion Group 6 Configure the axis Logic for Motion Control The motion instructions operate on one or more axes You must identify and configure axes before you can use them...

Page 239: ...ts exist You can configure a fault as either minor or major by using the Axis Wizard Group dialog box Instruction Errors Executing a motion instruction within an application program can generate error...

Page 240: ...n the entire operating system Setup applications that are compatible with the Windows XP operating system and later integrate with System Restore to create a restore point before an installation begin...

Page 241: ...erruptsuntilitisfinished Duetothevariationsincodewriting ISRs can causeswings in system responsiveness and determinism in a soft controller Deferred procedure call DPC A deferred procedure call is a s...

Page 242: ...lly there is code torecover 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 generate a NMI non maskable i...

Page 243: ...up your computer When the continuous task enters the dwell time it makes a function call to the Windows operating system to SwitchToThread which is a function that lets the next thread that needs to...

Page 244: ...ll the bandwidth of the computer without leaving CPU cycles to operate the mouse and keyboard A periodic task pauses if an ISR or DPC routine needs to be executed by the Windows operating system and t...

Page 245: ...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 tas...

Page 246: ...e at the same time and they each have the same priority they share CPU cycles as the Windows operating system constantly switches between The beginning of the diagram shows what happens when the contr...

Page 247: ...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 communication task Multiple...

Page 248: ...IDE channel and this causes performance difficulties for the hard disk drive Redundant array of disks RAID This technology uses multiple hard disk drives in a personal computer so that any one hard di...

Page 249: ...eveloper of the soft control system must partition and scale the application correctly for the capabilities of the personal computer Pre qualify Your Personal Computer for Soft Control After installin...

Page 250: ...on on bus mastering see the personal computer hardware considerations in Appendix D The system has an ill behaved device driver that violates the Microsoft Windows Hardware Quality Lab WHQL guidelines...

Page 251: ...formance Counter Unexpectedly Leaps forward problem as described in the Microsoft Knowledgebase Many systems will not demonstrate this anomaly unless actually running the SoftLogix 5800 controller Thi...

Page 252: ...initiated save Controller shutdown You can also observe the execution of the periodic save in the Windows Task Manager It is possible that if you set the time interval short and have a large number o...

Page 253: ...other applications such as SQL server Microsoft Internet Information Server Virus scanners or disk defraggers you should delay starting other Rockwell applications such as RSSQL and RSView until after...

Page 254: ...ndix E System Performance Tuning Guidelines 2 From the Properties menu click Customize to customize the Start menu to display the Administrative Tools Option The Customize Classic Start Menu dialog bo...

Page 255: ...utomation Publication 1789 UM002K EN P January 2015 255 System Performance Tuning Guidelines Appendix E 4 From the Start menu choose Programs Administrative Tools Performance The Performance dialog bo...

Page 256: ...256 Rockwell Automation Publication 1789 UM002K EN P January 2015 Appendix E System Performance Tuning Guidelines Notes...

Page 257: ...cators for the SoftLogix 5800 controller and its associated modules SoftLogix Controller Status Indicators The controller has these status indicators Topic Page SoftLogix Controller Status Indicators...

Page 258: ...force values may or may not exist RS232 1 Off No COM port was selected Solid green The selected COM port was successfully assigned to channel 0 of the controller Solid red There is a COM port conflict...

Page 259: ...le display status 2 Module status indicators LINK Indicator Display Description Off No link The moduleis not connected to a powered Ethernet device The module cannot communicate on Ethernet Verify tha...

Page 260: ...configured No action required If connections are configured check connection originator for connection error code Flashing red Lost network connection The module detected that the network connection...

Page 261: ...ith previous revisions of this manual SoftLogix 5800 Version 23 SoftLogix 5800 Version 21 SoftLogix 5800 Version 20 Change General SoftLogix 5800 release to coincide with the Studio 5000 Logix Designe...

Page 262: ...262 Rockwell Automation Publication 1789 UM002K EN P January 2015 Appendix G SoftLogix 5800 Revision History Notes...

Page 263: ...rd 165 characteristics 25 overview 24 SIM module 94 COM port setting 78 command register bits 190 communication 196 card configure 50 199 PCI slot 196 remote devices 204 run mode 190 ControlNet networ...

Page 264: ...SIM module 94 alias tag 194 card 197 controller project 31 Ethernet card 48 HTML resource 123 module 27 single threaded external routine 117 D data Ethernet I O 58 map I O 100 update cycle 189 debuggi...

Page 265: ...l device 86 simulating I O 103 SoftLogix controller and I O over ControlNet network 222 to a bar code reader 90 SoftLogix controller as a gateway 234 SoftLogix to other devices via ControlNet network...

Page 266: ...mmunication 87 math operations 37 media configuration 216 memory size 25 28 message Ethernet 68 PLC 5 processor 71 mode run 190 246 standard polling 89 startup 25 28 modem DF1 radio 84 module create 2...

Page 267: ...20 DINT element 189 reloading operating system 242 remote _flex 220 communication device card 204 connection 65 controller 60 device accessing over EtherNet IP 58 configuring EtherNet IP 56 tag 220 re...

Page 268: ...assis 22 software function block 22 IOLinx 22 191 ladder logic 22 RSLinx 28 166 195 198 203 RSLogix 5000 196 RSNetWorx 22 for ControlNet 196 for DeviceNet 173 standard polling mode 89 startup mode 25...

Page 269: ...chassis SoftLogix 22 Visual Studio 117 W Windows blue screen 242 consideration 241 dwell time 243 eoutbound event 149 event controller 149 158 example 156 trigger controller 153 object 241 periodic ta...

Page 270: ...270 Rockwell Automation Publication 1789 UM002K EN P January 2015 Index...

Page 271: ......

Page 272: ...Product Satisfaction Return Rockwell Automation tests all of its products to help ensure that they are fully operational when shipped from the manufacturing facility However if your product is not fu...

Reviews: