769-SM1 Compact I/O to DPI/SCANport Module FRN 2.
Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/ literature) describes some important differences between solid state equipment and hard-wired electromechanical devices.
Summary of Changes The information below summarizes the changes made to this manual since its last release (October 2004): Description of Changes In the “Safety Precaution” section, added new Attention information. In Table 3.A, corrected the module configuration data words listed in the columns “CH1 Word,” “CH2 Word,” and “CH3 Word.” In the “32-Bit Parameters using 16-Bit Datalinks” section, added more explanation on how the values of the Most Significant Word and Least Significant Word are derived.
soc-ii Notes: Summary of Changes
Table of Contents Preface About This Manual Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1 Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . P-2 Rockwell Automation Support. . . . . . . . . . . . . . . . . . . . . . . . P-3 Chapter 1 Getting Started Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii Table of Contents Chapter 5 MicroLogix 1500 Ladder Example Program PowerFlex 70 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 1769-SM1 Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 MicroLogix 1500 Example Program . . . . . . . . . . . . . . . . . . . 5-3 Example Program Data Table . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Using Explicit Messaging . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Appendix C iii CIP/DPI Objects Parameter Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2 DPI Device Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5 DPI Parameter Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-8 DPI Fault Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-12 DPI Alarm Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-14 DPI Time Object . . . .
iv Table of Contents
Preface About This Manual Topic Related Documentation Conventions Used in this Manual Rockwell Automation Support Page P-1 P-2 P-3 Related Documentation For: Refer to: Publication DriveExplorer™ http://www.ab.com/drives/driveexplorer, and DriveExplorer online help (installed with the software) http://www.ab.
P-2 About This Manual Conventions Used in this Manual The following conventions are used throughout this manual: • Parameter names are shown in the format Parameter xx - [*]. The xx represents the parameter number. The * represents the parameter name. For example Parameter 01 - [Config Mode]. • Menu commands are shown in bold type face and follow the format Menu > Command. For example, if you read “Select File > Open,” you should click the File menu and then click the Open command.
About This Manual P-3 Rockwell Automation Support Rockwell Automation, Inc. offers support services worldwide, with over 75 sales/support offices, over 500 authorized distributors, and over 250 authorized systems integrators located through the United States alone. In addition, Rockwell Automation, Inc. representatives are in every major country in the world. Local Support Contact your local Rockwell Automation, Inc.
P-4 Notes: About This Manual
Chapter 1 Getting Started The 1769-SM1 Compact I/O to DPI/SCANport module provides a Compact I/O connection for up to three DPI™ or SCANport™-enabled drives or power products. It can be used with a MicroLogix 1500, CompactLogix, or a remote 1769-based adapter such as the 1769-ADN. Topic Components Features DPI Compatible Products Required Equipment Page 1-1 1-2 1-3 1-3 Topic Safety Precautions Quick Start Modes of Operation Page 1-4 1-6 1-7 Components Figure 1.
1-2 Getting Started Features The 1769-SM1 Compact I/O to DPI/SCANport module features the following: • The module can be used as expansion I/O on MicroLogix 1500 and CompactLogix controllers or with a remote 1769-based adapter. It receives the required power from the Compact I/O backplane. • The module automatically detects the DPI or SCANport Host connected to a channel, and autobauds to the Host’s data rate. • A number of configuration tools can be used to configure the module and connected drive.
Getting Started 1-3 DPI Compatible Products The 1769-SM1 module is compatible with Allen-Bradley PowerFlex 7-Class drives and other products that support DPI. At the time of publication, compatible products include: • • • • • • • • PowerFlex 70 drives (standard and enhanced control) PowerFlex 700 drives (standard and vector control) PowerFlex 700 Ser.
1-4 Getting Started Safety Precautions Please read the following safety precautions carefully. ! ! ! ! ! ! ! ATTENTION: Risk of injury or death exists. The drive may contain high voltages that can cause injury or death. Remove all power from the drive, and then verify power has been removed before installing or removing the module. ATTENTION: Risk of injury or equipment damage exists.
Getting Started ! 1-5 ATTENTION: This equipment is intended for use in a Pollution Degree 2 industrial environment, in overvoltage Category II applications (as defined in IEC publication 60664-1), at altitudes up to 2000 meters without derating. This equipment is considered Group 1, Class A industrial equipment according to IEC/CISPR Publication 11.
1-6 Getting Started Quick Start This section is provided to help experienced users quickly start using the 1769-SM1 Compact I/O to DPI/SCANport module. If you are unsure how to complete a step, refer to the referenced chapter. Step 1 2 3 4 5 6 7 8 Action Review the safety precautions for the module. Verify that the drive is properly installed. Install the module. Verify that the controller is not powered.
Getting Started 1-7 Modes of Operation The module uses four status indicators to report its operating status. They can be viewed on the front of the module. See Figure 1.2. Figure 1.2 Status Indicators DPI / SCANport MODULE ➊ MODULE CH1 CH2 CH3 CH1 CH2 CH3 C H 1 C H 2 C H 3 ➍ ➋ ➌ Item Status Status(1) Description Indicator Normal Operation. The module has established ➊ MODULE Green communications with the controller. Flashing The module is establishing communications with the Green controller.
1-8 Notes: Getting Started
Chapter 2 Installing the Module Chapter 2 provides instructions for installing the 1769-SM1 module as an expansion I/O module on MicroLogix 1500 and CompactLogix controllers, or with a remote 1769-based adapter.
2-2 Installing the Module Removing Power ! ATTENTION: Risk of equipment damage exists. Remove power before installing or removing the 1769-SM1 module. When you install or remove the module with power applied, an electrical arc may occur. An electrical arc can cause personal injury or equipment damage by: • Sending an erroneous signal to your system’s field devices, causing unintended machine motion. • Causing an explosion in a hazardous environment.
Installing the Module 2-3 Assembling the Module to the Controller The 1769-SM1 module can be attached to adjacent controller modules before or after mounting. For mounting instructions, see Panel Mounting on page 2-4 or DIN Rail Mounting on page 2-7. To work with a system that is already mounted, see Replacing the Module within a System on page 2-7. Figure 2.2 and the following procedure shows you how to assemble the Compact I/O system. Figure 2.
2-4 Installing the Module 7. Attach an end cap terminator (F) to the last module in the system by using the tongue-and-groove slots as before. 8. Lock the end cap bus terminator (G). Important: A 1769-ECR or 1769-ECL right or left end cap must be used to terminate the end of the serial communication bus. Mounting the Module Minimum Spacing Maintain spacing from enclosure walls, wireways, adjacent equipment, etc. Allow 50 mm (2 in.
Installing the Module 2-5 Panel Mounting Using the Dimensional Drawing NOTE: All dimensions are in mm (inches). Hole spacing tolerance: ±0.04 mm (0.016 in.). Figure 2.3 1769-SM1 Module with MicroLogix 1500 Base Unit and Processor 168 mm (6.62 in) 35 mm (1.38 in) 35 mm (1.38 in) DPI / SCANport 118 mm (4.65 in) 59 mm (2.32 in) 59 mm (2.32 in) 122.6 mm (4.83 in) 132 mm (5.19 in) 147 mm (5.79 in) MODULE CH1 CH2 CH3 C H 1 C H 2 C H 3 13.5 mm (0.53 in) DIN Rail Center Line 28.5 mm (1.
Installing the Module Figure 2.5 1769-SM1 Module with Remote 1769-Based Adapter NS DIAG 70 mm (2.76 in) 35 mm 35 mm (1.38 in) (1.38 in) 35 mm (1.38 in) 35 mm (1.38 in) 28.5 mm (1.12 in) MODULE CH1 CH2 CH3 C H 1 C H 2 C H 3 DIN Rail Center Line 147.4 mm (5.81 in) 59 mm 59 mm (2.32 in) (2.32 in) 118 mm (4.65 in) 122.6 mm (4.83 in) MS IO 35 mm (1.38 in) 35 mm (1.38 in) DPI / SCANport 50 mm (1.97 in) 40 mm (1.58 in) Mounting Hole Dimension 132 mm (5.19 in) 2-6 14.7 mm (0.
Installing the Module 2-7 DIN Rail Mounting The 1769-SM1 module can be mounted using the following DIN rails: • • 35 x 7.5 mm (EN 50 022 - 35 x 7.5) 35 x 15 mm (EN 50 022 - 35 x 15) Before mounting the module on a DIN rail, close the DIN rail latches. Press the DIN rail mounting area of the module against the DIN rail. The latches will momentarily open and lock into place. Replacing the Module within a System The 1769-SM1 module can be replaced while the system is mounted to a panel (or DIN rail). 1.
2-8 Installing the Module 5. Gently slide the disconnected 1769-SM1 module forward. If you feel excessive resistance, make sure that you disconnected the module from the bus and that you removed both mounting screws (or opened the DIN latches). TIP: It may be necessary to rock the module slightly from front to back to remove it, or, in a panel-mounted system, to loosen the screws of adjacent modules. 6.
Installing the Module 2-9 Connecting the Module to the Drive 1. Plug one male end of a 1202-C* communications cable into a desired port (CH1, CH2 or CH3) on the 1769-SM1 module. 2. Plug the other male end of the cable into the port on the desired drive. Note: For EMC regulatory compliance, there is a maximum cable distance limit per channel. Please see Regulatory Compliance on page A-2 for more information.
2-10 Notes: Installing the Module
Chapter 3 Configuring the Module Chapter 3 provides instructions and information for configuring the 1769-SM1 module. Topic Configuration Tools Configuration Methods Controller Mode Parameter Mode Using the PowerFlex HIM Page 3-1 3-2 3-2 3-13 3-14 Topic Setting the I/O Configuration Setting an Idle Action Resetting the Module Viewing the Module Configuration Page 3-15 3-16 3-17 3-18 For a list of parameters, refer to Appendix B, Module Parameters.
3-2 Configuring the Module Configuration Methods The 1769-SM1 has two methods for configuration, which are determined by the Configuration Mode switch (Figure 2.1) on the module: • Controller mode - The 1769-SM1 uses the configuration data downloaded from the controller on power-up and when the controller is placed in run mode. • Parameter mode - The 1769-SM1 uses its internal parameter setting to configure the module. Only one type of configuration is selected, and it is used for all three channels.
Configuring the Module 3-3 Table 3.A Module Configuration Data Words in Controller Mode Description Idle Action / I/O Config Fault Config. Logic Command Fault Config. Reference (Low) * Fault Config.
3-4 Configuring the Module The I/O Config setting is similar to the Parameter 07 - [I/O Config 1], 24 - [I/O Config 2], and 41 - [I/O Config 3] settings, where: 7 x 6 x 5 x I/O Config 4 3 2 1 0 Bit Definitions 0 = Logic Command/Reference and Logic Status/Feedback 1 = Datalink A 2 = Datalink B 3 = Datalink C 4 = Datalink D 5 = not used 6 = not used 7 = not used A “0” equals I/O disabled and a “1” equals I/O enabled.
Configuring the Module 3-5 Figure 3.1 I/O Configuration Window and Expansion General Configuration Screen 2. Enter the product data for the module as shown above (1, 109, 17, and A), along with the desired Input and Output word length. Enter “60” in the Extra Data Length field and click OK. From the I/O Configuration window, click on the Adv Config command button again and now there are two tabs available (Figure 3.2). Figure 3.
3-6 Configuring the Module 3. Click on the Generic Extra Data Config tab (Figure 3.3) to display the configuration data area. Enter the desired configuration data and click OK when finished. Figure 3.3 Data Area on Generic Extra Data Config Tab The MicroLogix 1500 will download the configuration data to the 1769-SM1 when the controller is placed in run mode. Entering MicroLogix 1500 Configuration Data using RSLogix 500 version 6.
Configuring the Module 3-7 Figure 3.4 I/O Configuration Window and Expansion General Configuration Screen 2. Enter “60” in the Extra Data Length field and click Apply. “60” is the number of configuration words used by the SM1 (20 words per channel). New tabs (Figure 3.5) will appear to allow the configuration. Figure 3.
3-8 Configuring the Module 3. Click on the Chan. 1 tab (Figure 3.6) and set the I/O Config data area accordingly. In this example, Cmd/Ref and all Datalinks are used. Figure 3.6 Chan. 1 Tab Data Screen Select the desired Idle Action. Note that the Fault Config Data area (Figure 3.7) can only be accessed if Send Flt Cfg is enabled. Figure 3.7 Chan. 1 Tab Data Screen with Idle Action - Send Flt Cfg Enabled 4.
Configuring the Module 3-9 5. An alternate to using the Chan. 1-3 tabs to enter data is the Generic Extra Data Config tab (Figure 3.8), which is being shown for identification purposes only. With the easy-to-use Chan.1-3 tabs, there is no need to enter data using the Generic Extra Data Config tab. However, it does show how the data in the configuration words are stored in the controller. Figure 3.8 Generic Extra Data Config Tab Screen 6. Click OK when finished.
3-10 Configuring the Module Entering CompactLogix Configuration Data using RSLogix 5000 version 10 (or higher) The CompactLogix configuration data is allocated and entered by performing the following steps: 1. Right-click on CompactBus Local in the menu tree (Figure 3.9) and select New Module. Figure 3.9 Menu Tree Window with New Module Inset Screen 2. Select the 1769-MODULE (Figure 3.10) and click OK. Figure 3.
Configuring the Module 3-11 3. In the Module Properties screen (Figure 3.11), enter a name for the module, such as “My_1769_SM1.” Change the Comm Format to “Data - INT,” which will enable the entry of Output Connection parameters (no longer grayed out). Enter the Slot location of the 1769-SM1 and enter “60” for the Input, Output, and Configuration Connection Parameters. Click Next >. Figure 3.11 Module Properties Screen 4. On the Module Properties last screen (Figure 3.12), click Finish >>. Figure 3.
3-12 Configuring the Module 6. Double-clicking on Controller Tags or Program Tags in the menu tree will display the various tags, including the tags for the 1769-SM1 module (Figure 3.14). Click on the Monitor Tags tab at the bottom of the window to enter the configuration data. Figure 3.14 Controller Tags Screen TIP: RSLogix 5000 creates a data array that is much larger than the 60 words previously specified when the module was configured. Use words 0 - 59 and ignore words 60 - 197.
Configuring the Module 3-13 Parameter Mode When the Configuration Mode switch is in the “Parameter” position, the 1769-SM1 uses its internal parameters setting to configure the module. Any configuration data downloaded by the controller will be ignored. Important: When the Parameter mode is used, the configuration data size in the controller should be set to “0.” Refer to Controller Mode on page 3-2 for more information. Table 3.
3-14 Configuring the Module Using the PowerFlex HIM If your drive has either an LED or LCD HIM (Human Interface Module), access parameters in the 1769-SM1 module as shown below. It is recommended that you read through the steps for your HIM before performing the sequence. For additional HIM information, refer to your PowerFlex Drive User Manual or the HIM Quick Reference card. Using an LED HIM Step 1. Press the ALT and then Sel (Device) to display the Device Screen. 2.
Configuring the Module 3-15 Setting the I/O Configuration The I/O configuration determines the type of data sent to the drive. Logic Command/Status, Reference/Feedback, and Datalinks may be enabled or disabled. A “1” enables the I/O. A “0” disables it. 1. Set the bits in Parameters 07 - [I/O Config 1], 24 - [I/O Config 2], and 41 - [I/O Config 3] for each respective drive: Figure 3.
3-16 Configuring the Module Setting an Idle Action By default, when the controller is idle, the drive responds by faulting if it is using I/O from the 1769-SM1. You can configure a different response to an idle controller using Parameters 09 - [Idle Action 1], 26 - [Idle Action 2], and 43 - [Idle Action 3] for each respective connected drive. ! ATTENTION: Risk of injury or equipment damage exists.
Configuring the Module 3-17 To set the fault configuration parameters If you set Parameter 09 - [Idle Action 1], 26 - [Idle Action 2], or 43 [Idle Action 3] to “Send Flt Cfg,” the values in the following 1769-SM1 module parameters are sent to the drive after an idle action occurs. You must set these parameters to values required by your application. CH1 10 Parameter CH2 CH3 27 44 Name Description Flt Cfg Logic A 16-bit value sent to the drive for Logic Command.
3-18 Configuring the Module Viewing the Module Configuration The following parameters provide information about how the 1769-SM1 module is configured. You can view these parameters at any time. Datalink Size 3 42 I/O Actual 3 Not Used Not Used Datalink D Datalink C Datalink B Datalink A Cmd/Sts 1 0 0 = I/O disabled 1 = I/O enabled Bit Definition Datalink B Datalink A Cmd/Sts The size of the Reference/Feedback for the CH2 drive (16 bits or 32 bits).
Chapter 4 Understanding the I/O Image Chapter 4 provides information and examples of the I/O image of the 1769-SM1 module, including Channel Enable/Status, Logic Command/ Status, Reference/Feedback, and Datalinks.
4-2 Understanding the I/O Image Note that the I/O words for each channel are not contiguous, with the assumption being that the typical configuration will utilize most or all of the channels and each channel will have a similar configuration. In these scenarios, the required I/O space is kept to a minimum. For example, to connect three PowerFlex 70 drives and only perform control (Logic Command/Status and Reference/Feedback), only 12 words of I/O are needed.
Understanding the I/O Image 4-3 Channel Enable Words A Channel Enable Word is used for each channel (output words 0, 4, and 8), where: Bit # 0 1-15 Name Channel Enable Not used Description “0” = Disables sending output data (Logic Command/ Reference and Datalinks) to the channel. All input data is zeroed (“0”) to indicate that the data is no longer being updated. “1” = Enables sending output data (Logic Command/ Reference and Datalinks) to the channel. All respective input data will also be updated.
4-4 Understanding the I/O Image 8-10 11 12 13 14 15 DPI/SCANport Port ID Bits 8, 9, & 10 represent the connected port # on the drive: 10 9 8 0 0 1 = Port 1 0 1 0 = Port 2 (typical) 0 1 1 = Port 3 1 0 0 = Port 4 1 0 1 = Port 5 1 1 0 = Port 6 1 1 1 = Port 7 SCANport Host “1” = a SCANport Host (1305, 1336 PLUS II, etc.) is connected DPI Host “1” = a DPI Host (PowerFlex 70, 700, etc.
Understanding the I/O Image 4-5 Using Datalinks A Datalink is a mechanism used by PowerFlex drives to transfer data to and from the controller. Datalinks allow a parameter value to be changed without using an Explicit Message. When enabled, each Datalink consumes either two 16-bit or 32-bit words in both the input and output image depending on its size.
4-6 Understanding the I/O Image Regardless of the Datalink combination, x1 will always contain the LSW and x2 will always contain the MSW. In the following examples, parameter 242 - [Power Up Marker] in a PowerFlex 70 drive contains a value of 88.4541 hours. Datalink A1 A2 Most/Least Significant Word LSW - Not Used - Parameter Data (decimal) 242 32573 0 0 A1 A2 - Not Used MSW 0 242 0 13 A1 A2 LSW MSW 242 242 32573 13 The following example shows an unlike Datalink pair of A2 and B1.
Chapter 5 MicroLogix 1500 Ladder Example Program Chapter 5 provides an example of using the 1769-SM1 module with a MicroLogix 1500 system (Figure 5.1). Topic PowerFlex 70 Settings 1769-SM1 Settings MicroLogix 1500 Example Program Example Program Data Table Using Explicit Messaging Page 5-2 5-3 5-3 5-8 5-10 Figure 5.
5-2 MicroLogix 1500 Ladder Example Program Explicit messaging (parameter read/write) capability varies between the controllers and RSLogix software packages: Controller Used With 1769-SM1 MicroLogix 1500 LSP Series A, B, and C MicroLogix 1500 LRP Series A and B MicroLogix 1500 LRP Series C Supports Explicit Messaging Yes No ✔ ✔ ✔ • RSLogix 500 (version 6.0 or lower) does not support creating a Message instruction for the 1769-SM1.
MicroLogix 1500 Ladder Example Program 5-3 1769-SM1 Settings The 1769-SM1 used in the example program has the following parameter settings: Parameter No.
5-4 MicroLogix 1500 Ladder Example Program Figure 5.3 MicroLogix 1500 Ladder Logic Channel 1 Subroutine 1769-SM1 Channel 1 Subroutine 0000 Channel 1 Enable O:1 SBR Subroutine 0 1769-SM1 CH. 1 Stop Command B3:0 Channel 1 Logic Command STOP O:1 0 16 1769-SM1 CH. 1 Start Command B3:0 Channel 1 Logic Command START O:1 1 17 1769-SM1 CH. 1 Jog Command B3:0 Channel 1 Logic Command JOG O:1 2 18 1769-SM1 0001 0002 0003 CH.
MicroLogix 1500 Ladder Example Program Figure 5.3 MicroLogix 1500 Ladder Logic Channel 1 Subroutine (Continued) Read 4 words of status information back from the drive, where: N7:20 N7:21 N7:22 N7:23 = = = = 1769-SM1 Channel Status Logic Status Feedback (Low) value for 16-bit Feedback, low word for 32-bit Feedback Feedback (High) high word for 32-bit Feedback 0008 1769-SM1 Channel 1 Status COP Copy File Source Dest Length #I:1.
5-6 MicroLogix 1500 Ladder Example Program Figure 5.3 MicroLogix 1500 Ladder Logic Channel 1 Subroutine (Continued) Datalink B Control Area The first COPy instruction outputs data to Datalink B1 & B2 In, where: PF70 Parameter 302 [Data In B1] is set to "100", which points to Parameter 100 [Jog Speed] N7:8 contains the Jog Speed value in hertz, where a "50" equates to 5.0 Hz.
MicroLogix 1500 Ladder Example Program 5-7 Figure 5.3 MicroLogix 1500 Ladder Logic Channel 1 Subroutine (Continued) Datalink D Control Area The first COPy instruction outputs data to Datalink D1 & D2 In, where: PF70 Parameter 306 [Data In D1] is set to "103", which points to Parameter 103 [Preset Speed 3] N7:16 contains the Preset Speed 3 value in hertz, where a "300" equates to 30.0 Hz.
5-8 MicroLogix 1500 Ladder Example Program Example Program Data Table Integer File N7: is used to contain the input and output data to/from the three channels: Channel 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 N7: Word Channel 2 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 Channel 3 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 10
MicroLogix 1500 Ladder Example Program 5-9 An example of data table values is shown in Figure 5.4. Figure 5.4 Example Data Table Values Note that since PowerFlex 70 drives, which use 16-bit Reference/ Feedback and Datalinks, are used in the example, the data is contained in the low word for each item.
5-10 MicroLogix 1500 Ladder Example Program Using Explicit Messaging This section provides information and examples that explain how to use Explicit Messaging to monitor and configure the 1769-SM1 and connected drive(s). Explicit messaging with the 1769-SM1 is supported only by the MicroLogix 1500 LRP processor and RSLogix 500 (version 6.1 or higher). Important: The MicroLogix 1500 LRP processor supports messaging only for the first 2 I/O modules capable of messaging.
MicroLogix 1500 Ladder Example Program 5-11 Figure 5.5 MicroLogix 1500 Message Setup Window Table 5.A MicroLogix 1500 Message Setup Window Data Window Field Channel Slot Communication Command Data Table Address (Receive) Size in Bytes (Receive) Description Always use “Expansion Comms Port.” The slot number for the 1769-SM1. Always use “CIP Generic.” This box contains the file and element where the response service data (if any) is stored.
5-12 MicroLogix 1500 Ladder Example Program Parameter Read/Write Example In this example, a read and a write of PowerFlex 70 drive parameter 101 - [Preset Speed 1] is being performed. The Message Configuration screen in RSLogix 500 for the message doing the read operation is shown in Figure 5.6. It is assumed that the 1769-SM1 occupies slot number 1, and that the PowerFlex 70 drive is connected to the 1769-SM1 channel 1. Refer to Table 5.A on page 5-11 for a description of the content in each box.
MicroLogix 1500 Ladder Example Program 5-13 The Message Configuration screen in RSLogix 500 for the message doing the write operation is shown in Figure 5.7. It is assumed that the 1769-SM1 occupies slot number 1, and that the PowerFlex 70 drive is connected to the 1769-SM1 channel 1. Refer to Table 5.A on page 5-11 for a description of the content in each box. Figure 5.7 RSLogix 500 Parameter Write Message Configuration Screen The request data for the message is stored at Data Table Address N7:1.
5-14 MicroLogix 1500 Ladder Example Program The MicroLogix 1500 ladder program for this example is shown in Figure 5.8. Figure 5.8 Explicit Messaging Ladder Logic Example Program This rung reads the value of parameter 101. The value is in N7:0. B3:0 0 MSG Read/Write Message MSG File MG9:0 Setup Screen EN DN ER This rung writes the value of parameter 101. The value is taken from N7:1.
MicroLogix 1500 Ladder Example Program 5-15 Get Attributes Scattered Example The Get Attributes Scattered service can be used with the DPI Parameter object to read the value of more than one parameter with a single message instruction. In this example, a read of PowerFlex 70 drive parameters 1 - [Output Freq], 3 - [Output Current], and 6 - [Output Voltage] is being performed. The Message Configuration screen in RSLogix 500 for this example is shown in Figure 5.9.
5-16 MicroLogix 1500 Ladder Example Program The request data for the message starts at Data Table Address N10:0, and is shown in Figure 5.10. Figure 5.10 Request Data Screen for Get Attributes Scattered Message Note the two pad words of zeros required between each parameter number. The response data for the message starts at Data Table Address N11:0, and is shown in Figure 5.11. The values 600 (60.0 Hz), 1 (0.1 A), and 4412 (441.2 V) are representative only. Figure 5.
MicroLogix 1500 Ladder Example Program 5-17 Set Attributes Scattered Example The Set Attributes Scattered service can be used with the DPI Parameter object to write the value of more than one parameter with a single message instruction. In this example, a write of PowerFlex 70 drive parameters 140 - [Accel Time 1], 142 - [Decel Time 1], and 100 - [Jog Speed] is being performed. The Message Configuration screen in RSLogix 500 for this example is shown in Figure 5.12.
5-18 MicroLogix 1500 Ladder Example Program The request data for the message starts at Data Table Address N10:0, and is shown in Figure 5.13. The values 50 (5.0 sec), 50 (5.0 sec), and 100 (10.0 Hz) are representative only. Figure 5.13 Request Data Screen for Set Attributes Scattered Message The response data for the message starts at Data Table Address N11:0, and is shown in Figure 5.14 (successful message). Figure 5.
Chapter 6 CompactLogix Ladder Example Program Chapter 6 provides an example of using the 1769-SM1 module with a CompactLogix system (Figure 6.1). Topic PowerFlex 70 Settings 1769-SM1 Settings CompactLogix Example Program Example Program Data Table Page 6-2 6-3 6-3 6-8 Figure 6.
6-2 CompactLogix Ladder Example Program Explicit messaging (parameter read/write) capability varies between CompactLogix controllers: Controller Used With 1769-SM1 CompactLogix 1769-L20 CompactLogix 1769-L30 CompactLogix 1769-L32E CompactLogix 1769-L35E Supports Explicit Messaging Yes No ✔ ✔ ✔ ✔ PowerFlex 70 Settings The PowerFlex 70 drives used in the example program have the following parameter settings: Parameter No.
CompactLogix Ladder Example Program 6-3 1769-SM1 Settings The 1769-SM1 used in the example program has the following parameter settings: Parameter No. Name 07 I/O Config 1 24 I/O Config 2 41 I/O Config 3 Setting Description 11111 11111 11111 CH1 Command/Status and all Datalinks are enabled CH2 Command/Status and all Datalinks are enabled CH3 Command/Status and all Datalinks are enabled Note that the module must be reset using Parameter 02 - [Reset Module] before these parameter settings take effect.
6-4 CompactLogix Ladder Example Program Figure 6.3 CompactLogix Ladder Logic Channel 1 Subroutine Channel 1 Subroutine 0 SBR Subroutine Channel 1 Enable Local:1:O.Data[0].
CompactLogix Ladder Example Program Figure 6.3 CompactLogix Ladder Logic Channel 1 Subroutine (Continued) Ch1_Forward_Command Channel 1 Logic Command FORWARD Local:1:O.Data[1].4 6 7 Ch1_Forward_Command / Channel 1 Logic Command REVERSE Local:1:O.Data[1].5 Logic Status MOV Move Source Local:1:I.
6-6 CompactLogix Ladder Example Program Figure 6.3 CompactLogix Ladder Logic Channel 1 Subroutine (Continued) Datalink A PowerFlex 70 Parameter 300 [Data In A1] = "140", which points to Parameter 140 [Accel Time 1] Ch1_Datalink_A_In[0] contains the Accel Time 1 value in seconds, where a "100" equates to 10.0 seconds. PowerFlex 70 Parameter 301 [Data In A2] = "142", which points to Parameter 140 [Decel Time 1] Ch1_Datalink_A_In[2] contains the Decel Time 1 value in seconds, where a "100" equates to 10.
CompactLogix Ladder Example Program 6-7 Figure 6.3 CompactLogix Ladder Logic Channel 1 Subroutine (Continued) Datalink C PowerFlex 70 Parameter 304 [Data In C1] = "101", which points to Parameter 101 [Preset Speed 1] Ch1_Datalink_C_In[0] contains the Preset Speed 1 value in hertz, where a "100" equates to 10.0 Hz. PowerFlex 70 Parameter 305 [Data In C2] = "102", which points to Parameter 102 [Preset Speed 2] Ch1_Datalink_C_In[2] contains the Preset Speed 2 value in hertz, where a "200" equates to 20.0 Hz.
6-8 CompactLogix Ladder Example Program Example Program Data Table In this example program, the following controller tags are used: Figure 6.
CompactLogix Ladder Example Program Figure 6.
6-10 CompactLogix Ladder Example Program An example of the Channel 1 data table values are shown below: Figure 6.
CompactLogix Ladder Example Program 6-11 Figure 6.5 Channel 1 Values (Continued) Channel 2 and 3 data table values are not shown, but are similar to Channel 1 data. Note that since PowerFlex 70 drives, which use 16-bit Reference/ Feedback and Datalinks, are used in the example, the data is contained in the low word for each item.
6-12 Notes: CompactLogix Ladder Example Program
Chapter 7 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Chapter 7 provides an example of using the 1769-SM1 module with a ControlLogix controller and 1769-ADN Remote DeviceNet adapter. Important: The 1769-SM1 Configuration Mode switch must be set to the “Controller” position (default) when the SM1 module is used with the 1769-ADN. Refer to Chapter 2 for information regarding Configuration Mode switch settings.
7-2 ControlLogix w/1769-ADN DeviceNet Ladder Example Program • Obtain status information from the drive (for example, Logic Status, Feedback, etc.) • Writing and reading Datalinks Explicit messaging (parameter read/write) capability: Controller Used With 1769-SM1 1769-ADN DeviceNet Adapter Supports Explicit Messaging Yes No ✔ The 1769-ADN Remote DeviceNet adapter does not support explicit messaging.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-3 Figure 7.2 Configure Drivers Screen with a Configured Driver To go online with RSNetWorx for DeviceNet You can view the devices on a DeviceNet network by going online. A device may appear as an unrecognized device if RSNetWorx for DeviceNet does not have an EDS file for it. Step 1. After setting up a driver in RSLinx, start RSNetWorx for DeviceNet. 2. Select Network > Online.
7-4 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Setting Up the 1769-ADN To configure the 1769-ADN for use with the example program using RSNetWorx for DeviceNet (version 3.21), perform the following steps: 1. Double-click on the 1769-ADN adapter icon in the graphic view window (Figure 7.3) to display the 1769-ADN adapter image screen (Figure 7.4). For the system in the ladder example, the node address setting on the adapter is “2.” Figure 7.4 1769-ADN Adapter Image Screen 2.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-5 Figure 7.5 1769-ADN Adapter Module Configuration Tab Screen The EDS file for the 1769-SM1 module is needed to configure the remote 1769-ADN DeviceNet system. If the 1769-SM1 (shown in Figure 7.5) is not listed as a selection, you will need to download the file from the Internet. For more information, refer to Registering the 1769-SM1 EDS File on page 7-10. 3.
7-6 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.6 1769-SM1 Module General Properties Screen Enter a “1” for the Bank, and click OK. 4. Select the Advanced Parameters tab (Figure 7.7). Refer to Chapter 4, Understanding the I/O Image regarding the Input and Output Data Sizes. In the ladder example, the Input and Output Data Sizes are set for 60 words each to allow for Logic Command/Reference, Logic Status/Feedback, and all Datalinks enabled. Figure 7.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-7 5. Select the Configuration Settings tab. Each channel has a folder that contains its configuration data. Click on the Channel 1 folder (Figure 7.8). Figure 7.8 1769-SM1 Module Configuration Settings Screen 6. Double-click the “I/O Config 1” setting to display its edit screen (Figure 7.9). Figure 7.9 1769-SM1 Channel 1 I/O Config Edit Screen For the ladder example, enable all items in the I/O configuration and click OK.
7-8 ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7. Select the EDS File tab (Figure 7.10). This screen is informational and provides a way to view the EDS file for the 1769-SM1 if desired. Figure 7.10 1769-SM1 Module EDS File Tab Screen Click OK to complete the 1769-SM1 configuration. The 1769-ADN Adapter Module Configuration Tab screen (Figure 7.5) reappears. 8. Select the I/O Summary tab (Figure 7.11).
ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.11 1769-ADN Adapter I/O Summary Tab Screen 9. Select the Transactions tab (Figure 7.12). This tab provides the means to clear the adapter’s memory. Figure 7.12 1769-ADN Adapter Transactions Tab Screen Click OK to complete the configuration.
7-10 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Registering the 1769-SM1 EDS File The 1769-SM1 EDS File is needed to configure the remote 1769-ADN DeviceNet system. If the 1769-SM1 (shown in Figure 7.13) is not listed as a selection in the Hardware list, the file will need to be downloaded from the Internet and registered using the EDS Wizard. Figure 7.13 1769-ADN Adapter Module Configuration Tab Screen 1. Download the EDS file from www.ab.com/drives or www.ab.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-11 2. Using RSNetWorx for DeviceNet, click on Tools > EDS Wizard to launch the EDS Wizard (Figure 7.14), and click Next >. Figure 7.14 EDS Wizard Welcome Screen 3. The EDS Wizard Task screen (Figure 7.15) appears. Select Register an EDS file(s) and click Next >. Figure 7.
7-12 ControlLogix w/1769-ADN DeviceNet Ladder Example Program 4. The EDS Wizard Registration screen (Figure 7.16) appears. Select Register a single file and locate the EDS file on your computer hard drive (downloaded in Step 1) using the Browse command button. Click Next >. Figure 7.16 EDS Wizard Registration Screen 5. The EDS file is installed and tested (Figure 7.17). Click Next >. Figure 7.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-13 6. The EDS Wizard enables the icon associated with the EDS file to be changed if desired (Figure 7.18). Click Next >. Figure 7.18 EDS Wizard Change Graphic Image Screen 7. The EDS Wizard Final Task Summary screen (Figure 7.19) appears. Click Next > to register the 1769-SM1. Figure 7.
7-14 ControlLogix w/1769-ADN DeviceNet Ladder Example Program 8. The EDS Wizard is now finished (Figure 7.20). Click Finish. Figure 7.20 EDS Wizard Finish Screen Earlier versions of RSNetWorx for DeviceNet require you to close and restart RSNetWorx to enable the 1769-SM1 to appear in the 1769-ADN Module Configuration tab (Figure 7.13). If you do not see the 1769-SM1 in the Hardware list, close and restart RSNetWorx for DeviceNet.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-15 PowerFlex 70 Settings The PowerFlex 70 drives used in the example program have the following parameter settings: Parameter No.
7-16 ControlLogix w/1769-ADN DeviceNet Ladder Example Program ControlLogix w/1769-ADN Example Program Figure 7.21 ControlLogix Ladder Logic Main Program ControlLogixLogix DeviceNet w/ 1769-SM1 DPI/SCANport Module example program The ControlLogix system contains a 1756-DNB (node 00). The 1769-SM1 is a component in a 1769-ADN DeviceNet adapter drop (node 2) along with a 1769-PA4 power supply and 1769-ECR End Cap Terminator. The 1769-SM1 has a PowerFlex 70 connected to each of the three channels.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-17 Figure 7.22 ControlLogix Ladder Logic Channel 1 Subroutine Channel 1 Subroutine 0 SBR Subroutine Channel 1 Enable SM1_Output_Data[0].
7-18 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.22 ControlLogix Ladder Logic Channel 1 Subroutine (Continued) Ch1_Forward_Command Channel 1 Logic Command FORWARD SM1_Output_Data[1].4 6 7 Ch1_Forward_Command / Channel 1 Logic Command REVERSE SM1_Output_Data[1].
ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.22 ControlLogix Ladder Logic Channel 1 Subroutine (Continued) Datalink A PowerFlex 70 Parameter 300 [Data In A1] = "140", which points to Parameter 140 [Accel Time 1] Ch1_Datalink_A_In[0] contains the Accel Time 1 value in seconds, where a "100" equates to 10.0 seconds.
7-20 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.22 ControlLogix Ladder Logic Channel 1 Subroutine (Continued) Datalink C PowerFlex 70 Parameter 304 [Data In C1] = "101", which points to Parameter 101 [Preset Speed 1] Ch1_Datalink_C_In[0] contains the Preset Speed 1 value in hertz, where a "100" equates to 10.0 Hz.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program Example Program Data Table In this example program, the following controller tags are used: Figure 7.
7-22 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.
ControlLogix w/1769-ADN DeviceNet Ladder Example Program 7-23 An example of Channel 1 data table values are shown in Figure 7.24: Figure 7.
7-24 ControlLogix w/1769-ADN DeviceNet Ladder Example Program Figure 7.24 Channel 1 Values (Continued) Channel 2 and 3 data table values are not shown, but are similar to Channel 1 data. Note that since PowerFlex 70 drives, which use 16-bit Reference/ Feedback and Datalinks, are used in the example, the data is contained in the low word for each item.
Chapter 8 Troubleshooting Chapter 8 provides information for troubleshooting potential problems with the 1769-SM1 module and network. Topic Locating the Status Indicators MODULE Status Indicator CH1 - CH3 Status Indicators Viewing Module Diagnostic Items Viewing and Clearing Events Page 8-1 8-2 8-3 8-4 8-5 Locating the Status Indicators The 1769-SM1 module has four status indicators. They can be viewed on the front of the module. See Figure 8.1. Figure 8.
8-2 Troubleshooting MODULE Status Indicator The MODULE status indicator is a bicolor (red and green) LED. Status Off Flashing Red Solid Red Cause Corrective Action The 1769-SM1 module is not Apply power to the 1769-SM1 module. powered. The 1769-SM1 module’s • Change the controller configuration configuration data is not valid. data to valid settings. The 1769-SM1 module was unable to establish communication with the controller.
Troubleshooting 8-3 CH1 - CH3 Status Indicators The CH1, CH2, and CH3 status indicators are bicolor (red and green) LEDs. Status Off Flashing Red Cause Corrective Action The 1769-SM1 module is not • Apply power to the 1769-SM1 module. powered. • Apply power to the DPI or The channel is not connected SCANport-supported drive. to a DPI or SCANport• Connect the 1769-SM1 module to the supported drive. drive using a 1202-C* communications The port ID is not valid. cable.
8-4 Troubleshooting Viewing Module Diagnostic Items The following 1769-SM1 module diagnostic items can be viewed using DriveExplorer (version 3.01 or higher) software, or a PowerFlex LCD HIM (Diagnostics/Device Items). No. Name 1 Common Logic Cmd 2 Prod Logic Cmd 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Description Current value of the Common Logic Command being transmitted to the drive by this module.
Troubleshooting 8-5 Viewing and Clearing Events The 1769-SM1 module maintains an event queue that reports the history of its actions. You can view the event queue using a PowerFlex LCD HIM, DriveExplorer (version 3.01 or higher) software, or DriveExecutive (version 1.01 or higher) software. To view and clear events Step Viewing Events 1. Access parameters in the 1769-SM1 module. Refer to Using the PowerFlex HIM on page 3-14. 2. Press the Up Arrow or Down Arrow to scroll to Diagnostics. 3.
8-6 Troubleshooting Events Many events in the Event queue occur under normal operation. If you encounter unexpected communications problems, the events may help you or Allen-Bradley personnel troubleshoot the problem. The following events may appear in the event queue: Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Event Description No Event Empty event queue entry. DPI Bus Off Flt A bus-off condition was detected on DPI.
Troubleshooting Code 26 27 28 29 30 31 32 Event Net Idle Flt Net Open Net Timeout Flt Watchdog T/O Flt EEPROM Init Normal Startup Manual Reset 8-7 Description The module is receiving “Idle” packets from the network. An I/O connection from the network to the module was opened. An I/O connection from the network to the module has timed out. The software watchdog detected a failure. Startup sequence detected a blank EEPROM map revision. The module successfully started up. The module was reset by the user.
8-8 Notes: Troubleshooting
Appendix A Specifications Appendix A presents the specifications for the 1769-SM1 module.
A-2 Specifications Environmental Temperature Operating Storage Relative Humidity Atmosphere Shock Operational Non-operational Vibration Operational Non-operational -10 to 50°C (14 to 122°F) -40 to 85°C (-40 to 185°F) -5 to 95% non-condensing Important: The 1769-SM1 must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas, vapors, or dust.
Appendix B Module Parameters Appendix B provides information about the parameters of the 1769-SM1 module. Topic About Parameter Numbers Parameter List Page B-1 B-1 About Parameter Numbers The parameters in the 1769-SM1 module are numbered consecutively. Configuration Tool • DriveExplorer • DriveExecutive • HIM Numbering Scheme The 1769-SM1 parameters begin with parameter 01. For example, Parameter 01 - [Config Mode] is parameter 01 as indicated by this manual.
Module Parameters Parameter No. Name and Description 02 [Reset Module] No action if set to “Ready.” Resets the module if set to “Reset Module.” Restores the module to its factory default settings if set to “Set Defaults.” This parameter is a command. It will be reset to “0 = Ready” after the command has been performed.
Module Parameters Parameter No. Name and Description Details 09 [Idle Action 1] Default: Sets the action that the module and CH1 drive Values: take if the module detects that the controller was switched to program mode. This setting is effective only if I/O that controls the drive is transmitted through the module. Type: Reset Required: ! B-3 0 = Fault 0 = Fault 1 = Stop (DPI only) 2 = Zero Data 3 = Hold Last 4 = Send Flt Cfg Read/Write No ATTENTION: Risk of injury or equipment damage exists.
B-4 Module Parameters Parameter No. Name and Description 21 [Data Rate 2] Displays the data rate used by the CH2 drive. This data rate is set in the drive, and the module detects it. 22 [Ref/Fbk Size 2] Displays the size of the Reference and Feedback for the CH2 drive. The drive determines the size of the Reference and Feedback. 23 [Datalink Size 2] Displays the size of each Datalink word for the CH2 drive. The drive determines the size of Datalinks.
Module Parameters Parameter No. Name and Description Details 26 [Idle Action 2] Default: Sets the action that the module and CH2 drive Values: take if the module detects that the controller was switched to program mode. This setting is effective only if I/O that controls the drive is transmitted through the module. Type: Reset Required: ! B-5 0 = Fault 0 = Fault 1 = Stop (DPI only) 2 = Zero Data 3 = Hold Last 4 = Send Flt Cfg Read/Write No ATTENTION: Risk of injury or equipment damage exists.
B-6 Module Parameters Parameter No. Name and Description 38 [Data Rate 3] Displays the data rate used by the CH3 drive. This data rate is set in the drive, and the module detects it. 39 [Ref/Fbk Size 3] Displays the size of the Reference and Feedback for the CH3 drive. The drive determines the size of the Reference and Feedback. 40 [Datalink Size 3] Displays the size of each Datalink word for the CH3 drive. The drive determines the size of Datalinks.
Module Parameters Parameter No. Name and Description Details 43 [Idle Action 3] Default: Sets the action that the module and CH3 drive Values: take if the module detects that the controller was switched to program mode. This setting is effective only if I/O that controls the drive is transmitted through the module. Type: Reset Required: ! B-7 0 = Fault 0 = Fault 1 = Stop (DPI only) 2 = Zero Data 3 = Hold Last 4 = Send Flt Cfg Read/Write No ATTENTION: Risk of injury or equipment damage exists.
B-8 Notes: Module Parameters
Appendix C CIP/DPI Objects Appendix C presents information about the CIP and DPI objects that can be accessed using Explicit Messages. The DPI objects can only be accessed when the channel being used is connected to a DPI-supported drive.
C-2 CIP/DPI Objects Parameter Object Class Code Hexadecimal Decimal 0x0F 15 Instances The number of instances depends on the number of parameters in the target device. The total number of parameters can be read in Instance 0, Attribute 2. Instance 0 1 ! n (1) (1) Description Class Attributes Parameter 1 Attributes ! Last Parameter Attributes The Instance n represents the number of parameters in the target device.
CIP/DPI Objects C-3 Parameter Object (Continued) Instance Attributes Attribute Access Name ID Rule (1) 1 Parameter Value 2 Get Link Path Size Data Type Description (2) (3) USINT 0 = No link specified n = Link specified (4) 3 4 Get Get Link Path Descriptor WORD 5 Get Data Type USINT 6 7 Get Get Get 9 Get Help String USINT SHORT_ STRING SHORT_ STRING SHORT_ STRING (3) 8 Data Size Parameter Name String Units String 10 11 12 13 14 15 16 17 18 19 20 21 Get Get Get Get Get Get Get Get G
C-4 CIP/DPI Objects Parameter Object (Continued) Services Service Code 0x01 0x05 0x0E 0x10 0x16 0x4B Implemented for: Class No Yes Yes No Yes No Service Name Instance Yes No Yes Yes No Yes Get_Attribute_All Reset Get_Attribute_Single Set_Attribute_Single Save_Request Get_Enum_String
CIP/DPI Objects C-5 DPI Device Object Class Code Hexadecimal Decimal 0x92 146 Instances The number of instances depends on the number of components in the device. The total number of components can be read in Instance 0, Attribute 4.
C-6 CIP/DPI Objects DPI Device Object (Continued) Class Attributes (Continued) Attribute ID 6 7 8 Access Name Rule Get Status Text Get Configuration Code Get Configuration Text 9 11 Get Get Brand Code NVS Checksum WORD WORD 12 13 Get Get Class Revision Character Set Code WORD BYTE 15 Get Languages Supported 16 17 18 19 20 128 129 130 Data Type Description STRING[12] BYTE Text describing the status of the drive. Identification of variations.
CIP/DPI Objects C-7 DPI Device Object (Continued) Instance Attributes Attribute Access Name ID Rule 3 Get Component Name 4 Get Component Firmware Revision 5 Get Component Hardware Change Number 6 Get First Flash Object Instance 7 Get Number of Flash Object Instances 8 Get Component Serial Number Data Type Description STRING[32] Name of the component STRUCT of: BYTE BYTE BYTE Major Revision Minor Revision 0 = Not Available WORD BYTE DWORD Instance in the Flash Object used for the firmware in the co
C-8 CIP/DPI Objects DPI Parameter Object Class Code Hexadecimal Decimal 0x93 147 Instances The number of instances depends on the number of parameters in the device. The total number of parameters can be read in Instance 0, Attribute 0.
CIP/DPI Objects C-9 DPI Parameter Object (Continued) Instance Attributes Attribute Access Name Data Type ID Rule 7 Get DPI Online Read STRUCT of: Full BOOL[32] CONTAINER (1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT BYTE[3] BYTE STRING[16] 8 Get DPI Descriptor BOOL[32] 9 Get/Set DPI Parameter Various Value 10 Get/Set DPI RAM Various Parameter Value 11 Get/Set DPI Link BYTE[3] 12 Get 13 Get 14 Get 15 Get 16 Get Help Object WORD Instance DPI Read Basic STRUCT of: BOOL[32
C-10 CIP/DPI Objects DPI Parameter Object (Continued) Descriptor Attributes Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Name Data Type (Bit 1) Data Type (Bit 2) Data Type (Bit 3) Description Right bit is least significant bit (0).
CIP/DPI Objects C-11 DPI Parameter Object (Continued) Descriptor Attributes (Continued) Bit 19 20 21 22 23 24 25 26 Name Parameter Exists Not Used Formula Links Access Level (Bit 1) Access Level (Bit 2) Access Level (Bit 3) Writable ENUM Not a Link Source 27 28 29 30 31 Enhanced Bit ENUM Enhanced ENUM Not Used Not Used Not Used Description Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0 = Parameter can be a source for a link 1 = Parameter cannot be a source for a link Reserved Reserve
C-12 CIP/DPI Objects DPI Fault Object Class Code Hexadecimal Decimal 0x97 151 Products such as PowerFlex drives use this object for faults. Modules use this object for events. Instances The number of instances depends on the maximum number of faults or events supported in the queue. The maximum number of faults/events can be read in Instance 0, Attribute 2.
CIP/DPI Objects C-13 DPI Fault Object (Continued) Instance Attributes Attribute ID 0 1 Access Name Rule Get Full/All Information Get Basic Information Data Type STRUCT of: WORD STRUCT of BYTE BYTE STRING[16] STRUCT of LWORD BOOL[16] WORD CONTAINER[n] STRUCT of: WORD STRUCT of BYTE BYTE STRUCT of LWORD BOOL[16] Description Fault code Fault source DPI port DPI Device Object Fault text Fault time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elaps
C-14 CIP/DPI Objects DPI Alarm Object Class Code Hexadecimal Decimal 0x98 152 Products such as PowerFlex drives use this object for alarms or warnings. Modules do not support this object. Instances The number of instances depends on the maximum number of alarms supported by the queue. The maximum number of alarms can be read in Instance 0, Attribute 2.
CIP/DPI Objects C-15 DPI Alarm Object (Continued) Instance Attributes Attribute Access Name ID Rule 0 Get Full/All Information 1 Get Basic Information Data Type STRUCT of: WORD STRUCT of BYTE BYTE STRING[16] STRUCT of LWORD BOOL[16] WORD CONTAINER[n] STRUCT of: WORD STRUCT of BYTE BYTE STRUCT of LWORD BOOL[16] Description Alarm code Alarm source DPI port DPI Device Object Alarm text Alarm time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapse
C-16 CIP/DPI Objects DPI Time Object Class Code Hexadecimal Decimal 0x9B 155 Instances The number of instances depends on the number of timers in the device. Instance 1 is always reserved for a real time clock although a device may not support it. The total number of timers can be read in Instance 0, Attribute 2.
CIP/DPI Objects C-17 DPI Time Object (Continued) Instance Attributes Attribute Access Name ID Rule 0 Get Read Full 1 2 Get Timer Text Get/Set Timer Value 3 Get Timer Descriptor Data Type STRUCT of: STRING[16], LWORD or STRUCT BOOL[16] STRING[16] LWORD -ORSTRUCT of: WORD BYTE BYTE BYTE BYTE BYTE BYTE BOOL[16] Description Name of the timer Elapsed time in milliseconds unless timer is a real time clock (See attribute 2) See Attribute 3 Name of the timer Elapsed time in milliseconds unless the timer is
C-18 Notes: CIP/DPI Objects
Appendix D SCANport Objects Appendix D presents information about the SCANport objects that can be accessed using Explicit Messages. The SCANport objects can only be accessed when the channel being used is connected to a SCANport-enabled drive.
D-2 SCANport Objects SCANport Device Object Class Code Hexadecimal Decimal 0x92 146 Instances The number of instances depends on the number of components in the device. The total number of components can be read in Instance 0, Attribute 4.
SCANport Objects D-3 SCANport Device Object (Continued) Class Attributes (Continued) Attribute Access Name ID Rule 5 Get/Set User Definable Text 6 Get Status Text 7 Get Configuration Code 8 Get Configuration Text STRING[16] 9 11 WORD WORD Get Get Brand Code NVS Checksum Data Type Description STRING[16] Text identifying the device with a user-supplied name Text describing the status of the drive. Identification of variations. STRING[12] BYTE Text identifying a variation of a family device.
D-4 SCANport Objects SCANport Pass-Through Parameter Object Class Code Hexadecimal Decimal 0x93 147 The SCANport Pass-Through Parameter Object lets you perform a scattered read or write. Class Attributes None Instance Attributes None Common Services None Object-Specific Services Service Code Service Name 0x32 Scattered_Parameter_Value_Read (1) 0x34 Scattered_Parameter_Value_Write (1) (1) The instance and attribute are ignored for these services.
SCANport Objects D-5 SCANport Pass-Through Fault Object Class Code Hexadecimal Decimal 0x97 151 The SCANport Pass-Through Fault Object provides information on the Host’s fault queue. Class Attributes Attribute Access Name ID Rule 0 Set Write Fault Command 1 Get 2 Get Data Type Description BYTE 1 = Clear Faults 2 = Clear Fault Queue 3 = Reset Product Reads the number of fault queue entries.
D-6 SCANport Objects SCANport Pass-Through Fault Object (Continued) Instance Attributes Attribute Access Name ID Rule 0 Get Read Fault Queue Entry Full/All Info Fault Text Data Type STRUCT of Fault Code Fault Time Stamp (1) 128 129 Get Get ARRAY of BYTE 16 character string (no length information, no terminating null).
SCANport Objects D-7 SCANport Pass-Through Warning Object Class Code Hexadecimal Decimal 0x98 152 The SCANport Pass-Through Warning Object provides information on the Host’s warning queue. Class Attributes Attribute Access Name ID Rule 0 Set Write Warning Command Data Type Description BYTE Write Warning Command.
D-8 SCANport Objects SCANport Pass-Through Warning Object (Continued) Instance Attributes Attribute Access Name Data Type Description ID Rule 0 Get Read Warning STRUCT of Queue Entry Full/All Info Warning Text ARRAY of BYTE 16 character string (no length information, no terminating null) Warning Code WORD Fault Code Warning Time STRUCT Stamp (Time Stamps not available in all products) BYTE 1/100 Second (0 - 99) BYTE Second (0 - 59) BYTE Minute (0 - 59) BYTE Hour (0 - 23) BYTE Day of Week (0 - 6) (1) BYTE
SCANport Objects SCANport Pass-Through Warning Object (Continued) Common Services Service Code 0x0E 0x10 Implemented for: Class Instance Yes Yes Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single D-9
D-10 SCANport Objects SCANport Pass-Through Link Object Class Code Hexadecimal Decimal 0x99 153 The SCANport Pass-Through Link Object lets you perform a scattered read or write of a number of links or a single read or write of a link. Class Attributes Attribute ID 0 1 Access Name Data Type Rule Get Link Command BYTE Set NVS Link Diagnostic WORD Value Description 1 = Clear all links. Checksum.
SCANport Objects D-11 SCANport Pass-Through Link Object (Continued) The table below lists parameters for Scattered_Link_Reference_Read and Scattered_Link_Reference_Write object-specific services. Name Scattered Link Read/Write Parameter Number Parameter Link Reference Data Type STRUCT of WORD WORD Description Parameter to read or write Parameter value to write (zero when reading) Important: The STRUCT may repeat up to 55 times in a single message.
D-12 Notes: SCANport Objects
Appendix E Logic Command/Status Words Appendix E provides the definitions of the Logic Command/Logic Status words that are used for some drives that can be connected to the 1769-SM1. If your product is not included here, refer to its documentation.
E-2 Logic Command/Status Words PowerFlex 7-Class Drives (except PowerFlex 700S) (Continued) Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status x Ready x x x x x x x x x x (1) x x x x x See “Owners” in drive User Manual for further information.
Logic Command/Status Words E-3 PowerFlex 700S Drives Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description x Normal 0 = Not Normal Stop Stop 1 = Normal Stop (1) x Start 0 = Not Start 1 = Start x Jog 1 0 = Not Jog using [Jog Speed 1] 1 = Jog using [Jog Speed 1] x Clear 0 = Not Clear Fault (2) Fault 1 = Clear Fault x x Unipolar 00 = No Command Direction 01 = Forward Command 10 = Reverse Command 11 = Hold Direction Control x Reserved x Jog 2 0 = Not Jog using [Jog Speed 2] 1
E-4 Logic Command/Status Words PowerFlex 700S Drives (Continued) Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status x Active (1) x x x x x x x x x x x x x x x (1) (2) (3) Description 0 = Not Active 1 = Active Running 0 = Not Running 1 = Running Command 0 = Reverse Direction 1 = Forward Actual 0 = Reverse Direction 1 = Forward Accel 0 = Not Accelerating 1 = Accelerating Decel 0 = Not Decelerating 1 = Decelerating Jogging 0 = Not Jogging 1 = Jogging Fault 0 = No Fault 1 = Fault Alarm
Logic Command/Status Words E-5 1305, 1336 PLUS, and 1336 PLUS II Drives Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x x x x x x 0 Command Description x Stop 0 = Not Stop 1 = Stop Start 0 = Not Start 1 = Start Jog 0 = Not Jog 1 = Jog Clear 0 = Not Clear Faults Faults 1 = Clear Faults Direction 00 = No Command 01 = Forward Command 10 = Reverse Command Local 0 = Multiplexed 1 = Local MOP 0 = Not Increment Increment 1 = Increment Accel Rate 00 = No Command
E-6 Logic Command/Status Words 1305, 1336 PLUS, and 1336 PLUS II Drives (Continued) Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 x x x x x x x x x x x x x x 1 0 Status x Enabled x Running Command Direction Actual Direction Accel Decel Warning Fault At Speed Local Reference Description 0 = Not Enabled 1 = Enabled 0 = Not Running 1 = Running 0 = Reverse 1 = Forward 0 = Reverse 1 = Forward 0 = Not Accelerating 1 = Accelerating 0 = Not Decelerating 1 = Decelerating 0 = No W
Glossary C CIP (Common Industrial Protocol) CIP is the transport and application layer protocol used for messaging over DeviceNet. The protocol is for implicit messaging (real-time I/O) and explicit messaging (configuration, data collection, and diagnostics). Classes A class is defined by the DeviceNet specification as “a set of objects that all represent the same kind of system component. A class is a generalization of an object.
G-2 Glossary DeviceNet Network A DeviceNet network uses a producer/consumer Controller Area Network (CAN) to connect devices (for example, controllers, drives, and motor starters). Both I/O and explicit messages can be transmitted over the network. A DeviceNet network can support a maximum of 64 devices. Each device is assigned a unique node address and transmits data on the network at the same data rate. A cable is used to connect devices on the network. It contains both the signal and power wires.
Glossary G-3 Bradley products. DriveTools SP (version 1.xx or higher) can be used with Allen-Bradley drives. Information about DriveTools SP can be accessed at http://www.ab.com/drives/drivetools. E EDS (Electronic Data Sheet) Files EDS files are simple text files that are used by network configuration tools such as RSNetWorx for DeviceNet to describe products so that you can easily commission them on a network. EDS files describe a product device type, revision, and configurable parameters.
G-4 Glossary I Idle Action An idle action determines how the 1769-SM1 and connected product respond when the controller is switched out of run mode. I/O Data I/O data, sometimes called “implicit messages” or “input/output,” transmit time-critical data such as a Logic Command and Reference. The terms “input” and “output” are defined from the controller’s point of view. Output is produced by the controller and consumed by the 1769-SM1. Input is produced by the 1769-SM1 and consumed by the controller.
Glossary G-5 drives can be used for applications ranging from 0.37 kW (0.5 HP) to 3,000 kW (4,000 HP). All PowerFlex 7-Class drives implement DPI. R Reference/Feedback The Reference is used to send a setpoint (for example, speed, frequency, torque) to the drive. It consists of one word of output to the 1769-SM1 from the network. The size of the word (either a 16-bit word or 32-bit word) is determined by the drive. Feedback is used to monitor the speed of the drive.
G-6 Glossary SCANport Product A device that uses the SCANport communications interface to communicate with one or more peripheral devices. For example, a motor drive such as a 1336 PLUS II is a SCANport product. In this manual, a SCANport product is also referred to as “drive” or “host.” Status Indicators Status indicators are LEDs that are used to report the status of the 1769-SM1 module, drive(s), and network. They are on the 1769-SM1 module and are functional when a connected drive is powered.
Index A Configuration Mode switch, 2-2 adapter, see module configuration tools, 3-1 applying power to the module, 2-9 configuring the module, 3-1 assembling module to the controller, 2-3 controller definition, G-1 mode, 3-2 attentions, 1-4 B baud rate, see data rate bit definitions for Logic Command/ Status word, E-1 C ControlLogix w/1769-ADN ladder example program 1769-SM1 settings for, 7-15 data table for, 7-21 PowerFlex settings for, 7-15 setting up the 1769-ADN, 7-4 D CH1 - CH3 status indic
Index-2 DPI Parameter object, C-8 faulted node recovery definition, G-3 supported feature, 1-2 DPI Time object, C-16 faults, see events DriveExecutive accessing parameters with, 3-1 supported feature, 1-2 features, 1-2 DriveExplorer accessing parameters with, 3-1 definition, G-2 free lite version, G-2 supported feature, 1-2 Flt Cfg A1 - D2 In1 parameters, B-3 DPI Device object, C-5 DPI Fault object, C-12 drives, see DPI products or PowerFlex drives, or SCANport products DriveTools SP definition, G
Index-3 I I/O channel enable words, 4-3 channel status words, 4-3 configuring the module for, 3-15 definition, G-4 image examples, 4-2 image table, 4-1 understanding the I/O image, 4-1 using reference/feedback, 4-4 M manual conventions, P-2 related documentation, P-1 web site, P-1 messaging, see Explicit Messaging I/O Active 1 parameter, B-2 MicroLogix 1500 ladder example program 1769-SM1 settings for, 5-3 data table for, 5-8 PowerFlex settings for, 5-2 I/O Active 2 parameter, B-4 modes of operation,
Index-4 MODULE status indicator locating, 8-1 troubleshooting with, 8-2 mounting the module, 2-4 N Non-Volatile Storage (NVS) definition, G-4 in drive, 5-10 in module, 3-1 O objects definition, G-4 DPI list, C-1 SCANport list, D-1 ODVA, G-2 PowerFlex drives 700S Logic Command/Status, E-3 compatible with module, 1-3 definition, G-4 HIM (Human Interface Module), 3-14 Logic Command/Status for 70/ 700, E-1 preparing for an installation, 2-1 processor, see controller products, see DPI products or PowerFlex dr
Index-5 S U safety precautions, 1-4 understanding the I/O image, 4-1 scanner definition, G-5 updating module, see flash update SCANport cable requirements, A-2 compatible products, 1-3 definition, G-5 Logic Command/Status for 1305/ 1336 PLUS/1336 PLUS II, E-5 objects list, D-1 peripheral definition, G-5 product definition, G-6 SCANport Device object, D-2 SCANport Pass-Through Fault object, D-5 SCANport Pass-Through Link object, D-10 SCANport Pass-Through Parameter object, D-4 SCANport Pass-Through Wa
Index-6
U.S. Allen-Bradley Drives Technical Support Tel: (1) 262.512.8176, Fax: (1) 262.512.2222, Email: support@drives.ra.rockwell.com, Online: www.ab.com/support/abdrives www.rockwellautomation.com Power, Control and Information Solutions Headquarters Americas: Rockwell Automation, 1201 South Second Street, Milwaukee, WI 53204-2496 USA,Tel: (1) 414.382.2000, Fax: (1) 414.382.