28
Simple Package Measurement Connected Components Building Block Quick Start

Simple Package Measurement Connected Components Building ... · Building Blocks Overview CD, publication CC-QR001. The CD provides bills of materials (BOM), CAD drawings for panel

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

  • Simple Package Measurement Connected Components Building BlockQuick Start

  • Important User InformationSolid 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. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.

    In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.

    The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.

    No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.

    Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.

    Throughout this manual, when necessary, we use notes to make you aware of safety considerations.

    Allen-Bradley, Rockwell Automation, Rockwell Software, MicroLogix, PanelView, PanelView Component, RSLogix 500, Stratix, and TechConnect are either trademarks or registered trademarks of Rockwell Automation, Inc.

    Trademarks not belonging to Rockwell Automation are property of their respective companies.

    WARNINGIdentifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic loss.

    IMPORTANT Identifies information that is critical for successful application and understanding of the product.

    ATTENTIONIdentifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence

    SHOCK HAZARDLabels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be present.

    BURN HAZARDLabels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous temperatures.

    http://literature.rockwellautomation.com/idc/groups/literature/documents/in/sgi-in001_-en-p.pdfhttp://www.rockwellautomation.com/literature/

  • Where to Start

    Follow the path below to complete your Simple Package Measurement application.

    Chapter 1 45MLA Controller Integration

    Chapter 2 System Validation and Application Tips

    Connected Components Building Blocks, publication

    CC-QS001

    3Publication CC-QS012A-EN-P - September 2009 3

    http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdf

  • Where to Start

    Notes:

    4 Publication CC-QS012A-EN-P - September 2009

  • Table of Contents

    PrefaceIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . 8Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    Chapter 145MLA Controller Integration Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

    Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Connect Your Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Connect Your Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Set the 45MLA DIP Switches and Apply Power . . . . . . . . . . . 14Configure IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

    Chapter 2System Validation and Application Tips

    Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Overview of System Operation. . . . . . . . . . . . . . . . . . . . . . . 17PanelView Application Screens. . . . . . . . . . . . . . . . . . . . . . . 18

    Home Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Array Setup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Current Object Size Screen . . . . . . . . . . . . . . . . . . . . . . . 20Array Status Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Conveyor Control Screen (optional) . . . . . . . . . . . . . . . . 21

    Program Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Application Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

    Finding Communication Faults . . . . . . . . . . . . . . . . . . . . 24Adding Additional Arrays . . . . . . . . . . . . . . . . . . . . . . . . 24

    Appendix AOffset Values, Component Versions, and Commands

    Establishing an Offset Value . . . . . . . . . . . . . . . . . . . . . . . . . 25Hardware, Firmware, and Software Component Versions . . . 25Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

    Publication CC-QS012A-EN-P - September 2009 5

  • Table of Contents

    Notes:

    6 Publication CC-QS012A-EN-P - September 2009

  • Preface

    Introduction This connected control building block quick start was created to aid machine builders in implementing 45MLA Measuring Light Array sensors with MicroLogix controllers and PanelView Component terminals. This application demonstrates how an object’s three-dimensional size can be determined by using three pairs of light arrays.

    The application uses three pairs of light arrays, one for each dimension, each connected to its respective control interface that resides on an RS485 network. The MicroLogix controller program polls the controllers for array size and beam status information. The PanelView Component terminal displays beam status and object dimensions.

    To assist in the design and installation of your system, application files and other information are provided on the Connected Component Building Blocks Overview CD, publication CC-QR001. The CD provides bills of materials (BOM), CAD drawings for panel layout and wiring, control programs, Human Machine Interface (HMI) screens, and more. With these tools and the built-in best-practices design, the system designer is free to focus on the design of their machine control and not on design overhead tasks.

    The beginning of each chapter contains the following information. Read these sections carefully before beginning work in each chapter:

    • Before You Begin - This section lists the steps that must be completed and decisions that must be made before starting that chapter. The chapters in this quick start do not have to be completed in the order in which they appear, but this section defines the minimum amount of preparation required before completing the current chapter.

    • What You Need - This section lists the tools that are required to complete the steps in the current chapter. This includes, but is not limited to, hardware and software.

    • Follow These Steps - This illustrates the steps in the current chapter and identifies which steps are required to complete the examples.

    IMPORTANT Use this Quick Start in conjunction with the Connected Components Building Blocks Quick Start, publication CC-QS001.

    Refer to Additional Resources on page 9 for a listing of other related documents.

    Publication CC-QS012A-EN-P - September 2009 7

    http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdf

  • Preface

    Conventions Used in This Manual

    This manual uses the following conventions.

    Convention Meaning Example

    Check or uncheck To activate or deactivate a checkbox. Check Disable Keying.

    Click Click the left mouse button once while the cursor is positioned on object or selection. Click Browse.

    Double-click Click the left mouse button twice in quick succession while the cursor is positioned on object or selection. Double-click the application icon.

    Right-click Click the right mouse button once while the cursor is positioned on object or selection. Right-click the 1768 Bus icon.

    Select Using the mouse to highlight a specific option. Select the New Module folder.

    Enter What you type. Enter your choice.

    Press Pressing a specific key on the keyboard. Press Enter.

    > Use this symbol to indicate the sub-menu name. Choose File>Menu>Options.

    8 Publication CC-QS012A-EN-P - September 2009

  • Preface

    Additional Resources

    Resource Description

    Connected Components Building Blocks Quick Start, publication number CC-QS001

    Provides information on how to select products and gain access to panel and wiring information.

    Connected Component Building Blocks Overview CD, publication number CC-QR001

    Provides files for the Connected Component Building Blocks.

    Installation Instructions 45MLA Measuring Light Array Sensors, publication number 10000035051(00)

    Provides information on the installation and operation of the 45MLA Measuring Light Array sensors.

    45MLA Controller Installation Instructions, publication number 10000035052

    Provides information for installing the 45MLA Controller connections and DIP switch settings.

    45MLA Measuring Light Array Controller User Manual, publication number 10000071139(00).

    Provides information for using the 45MLA Measuring Light Array Controller.

    MicroLogix 1100 Programmable Controllers Installation Instructions, publication number 1763-IN001

    Provides information for installing the MicroLogix 1100 programmable controller.

    PanelView Component HMI Terminals User Manual, publication number 2711C-UM001

    Provides information for using the PanelView Component HMI Terminals.

    http://www.ab.com/sensors/ Provides access to the Allen-Bradley sensor website.

    http://www.ab.com Provides access to the Allen-Bradley website.

    http://www.rockwellautomation.com/knowledgebase

    Provides access to self-service support.

    http://www.rockwellautomation.com/components/connected

    Provides access to the Connected Components website.

    Publication CC-QS012A-EN-P - September 2009 9

    http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/45mla-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2711c-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1763-in001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1763-in001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2711c-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/45mla-in002_-en-p.pdfhttp://www.ab.com/sensors/http://www.ab.com/http://www.rockwellautomation.com/knowledgebase/http://www.rockwellautomation.com/components/connectedhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/45mla-in001_-en-p.pdf

  • Preface

    Notes:

    10 Publication CC-QS012A-EN-P - September 2009

  • Chapter 1

    45MLA Controller Integration

    Introduction

    This chapter provides step-by-step instructions for wiring and configuring the 45MLA Measuring Light Array sensors and controllers for operation with the MicroLogix 1100 controller and PanelView Component terminal.

    Before You Begin

    Review the Connected Components Building Blocks Quick Start, publication CC-QS001, verifying that you have completed hardware design and installation as well as software installation.

    What You Need

    • Connected Components Building Blocks Overview CD, publication CC-QR001• Personal computer• PanelView Component terminal• MicroLogix 1100 controller• Standalone Stratix Ethernet switch (catalog number 1783-US05T or similar) to connect

    your personal computer to the MicroLogix controller and the PanelView Component terminal

    • Ethernet patch cables (3)• 45MLA light arrays and controllers• RS485-to-ML1100 communication cable, catalog number 1763-NC01

    11Publication CC-QS012A-EN-P - September 2009 11

    http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdf

  • Chapter 1 45MLA Controller Integration

    Follow These Steps

    Follow these steps to connect and set up your equipment.

    Start

    Connect Your Hardware, page 13

    Set the 45MLA DIP Switches and Apply

    Power, page 14

    Configure IP Addresses, page 14

    Connect Your Wiring, page 13

    12 Publication CC-QS012A-EN-P - September 2009

  • 45MLA Controller Integration Chapter 1

    Connect Your Hardware

    Using Ethernet patch cables, connect the PanelView Component terminal, MicroLogix 1100 controller, and personal computer to the Stratix Ethernet switch.

    Connect Your Wiring

    1. Connect 24V DC power and RS485 wiring to components according to this diagram.

    24VDCPOWERSUPPLY

    MICROLOGIX1100CONTROLLER

    RS 232/485CONVERTER

    45 MLACONTROLLER

    1 5 6

    1 2

    45 MLACONTROLLER

    1 5 6

    1 2

    45 MLACONTROLLER

    1 5 6

    1 2

    AB+ _

    24V DC Power and RS 485 Communication Wiring

    + _

    + _ + _ + _

    SHLDCOM

    RS485 WIRING CONNECTIONS

    RS485 CONVERTER 45MLA CONTROLLER J14 CONECTIONS

    SIG COMMON

    A

    B

    PIN 1

    PIN 5

    PIN 6

    24vDC WIRING CONNECTIONS

    POWER SUPPLY 45MLA CONTROLLER J2 CONECTIONS

    +24 vdc

    0 vdc PIN 2

    PIN 1J2 J2

    J14J14 J14

    J2

    Publication CC-QS012A-EN-P - September 2009 13

  • Chapter 1 45MLA Controller Integration

    Set the 45MLA DIP Switches and Apply Power

    1. Set the 45MLA DIP switches to the settings shown here.

    2. Apply power to the MicroLogix controller.

    3. Apply power to the PanelView Component terminal.

    Configure IP Addresses

    In the Connected Components Building Blocks Quick Start, publication CC-QS001, Chapter 3 - Controller and HMI Integration details how to set the Ethernet IP addresses in the MicroLogix 1100 controller and PanelView Component terminal. If you have not done this already, follow those instructions to set the following static IP addresses in your devices.

    • Set the personal computer IP address to 192.168.1.102.• Set the PanelView Component terminal IP address to 192.168.1.200.• Set the MicroLogix 1100 controller IP address to 192.168.1.101.• Follow the instructions in the Load Your HMI Screens section of Chapter 3 to transfer your

    HMI screens to the PanelView Component terminal.• Follow the instructions in the Load Your Control Program section of Chapter 3 to transfer

    your control program to the MicroLogix controller for use in your application.

    Additional Resources

    Refer to page 9 for a listing of product and information resources.

    OFF

    ON

    S1

    8 1

    OFF

    ON

    S1

    8 1

    OFF

    ON

    S1

    8 1

    OFF

    ON

    S2

    4 1

    OFF

    ON

    S2

    4 1

    OFF

    ON

    S2

    4 1

    ADDRESS 1HEIGHT

    ADDRESS 0WIDTH

    ADDRESS 2LENGTH

    TERMINATIONRESISTOR

    ON(END OF NETWORK)

    14 Publication CC-QS012A-EN-P - September 2009

    http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/qs/cc-qs001_-en-p.pdf

  • Chapter 2

    System Validation and Application Tips

    Introduction

    In this chapter, you will run and validate the operation of the 45MLA Measuring Light Arrays with the MicroLogix controller and PanelView Component terminal HMI.

    Before You Begin

    • Verify that you have completed all of the steps in Chapter 1 of this document.• Review the MicroLogix 1100 Programmable Controllers User Manual, publication

    1763-UM001.• Review the PanelView Component HMI Terminals User Manual, publication

    2711C-UM001.• Review the 45MLA Measuring Light Array Sensors Installation Instructions, publication

    45MLA-IN001.

    What You Need

    • Connected Component Building Blocks Overview CD, publication CC-QR001• Personal computer• PanelView Component terminal• 45MLA light arrays and controllers• MicroLogix 1100 controller

    15Publication CC-QS012A-EN-P - September 2009 15

    http://literature.rockwellautomation.com/idc/groups/literature/documents/um/1763-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2711c-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/45mla-in001_-en-p.pdf

  • Chapter 2 System Validation and Application Tips

    Follow These Steps

    Follow these steps to understand the operation of the 45MLA Measuring Light Array system, however, you can just go through Chapter 1 and then let the system run with the defaults.

    Start

    Overview of System Operation, page 17

    PanelView Application Screens, page 18

    Application Tips, page 24

    Program Operation, page 22

    16 Publication CC-QS012A-EN-P - September 2009

  • System Validation and Application Tips Chapter 2

    Overview of System Operation

    This application determines an object’s three-dimensional size by using three pairs of 45MLA light arrays, one for each dimension, each connected to its respective control interface. The MicroLogix 1100 controller sequentially polls the three slave 45MLA controllers on the RS485 network for array size and beam status information. The PanelView Component terminal displays each beam status and the object dimensions.

    In this example, we are using command 20. Command 20 requests information on the total number of beams broken, as well as the first and last interrupted beams and array size.

    You can use other command instructions to poll additional data from the array controllers. Details of these other commands are in the 45MLA Measuring Light Array Controller User Manual, publication 10000071139(00).

    User interaction is via a PanelView Component terminal HMI. The HMI application has screens, details of which are below.

    This Building Block application was developed for a conveyor line, with the MicroLogix controller interfacing with 22ZC zone controllers. The MicroLogix code and HMI screens are provided, however they are not required to read data from the array controllers.

    Publication CC-QS012A-EN-P - September 2009 17

    http://literature.rockwellautomation.com/idc/groups/literature/documents/um/45mla-um001_-en-p.pdf

  • Chapter 2 System Validation and Application Tips

    PanelView Application Screens

    Home Screen

    Press Enter to go to the application’s Main Menu.

    Main Menu

    The Main Menu screen allows navigation between the four additional screens in the application: Array Setup, Current Object Size, Array Status, and Conveyor Control. These are explained in sections below.

    Additionally, there are two buttons for Goto Config and Reset RS485 Comms.

    • Press Go to Config to access the HMI's configuration.

    • Press Reset RS485 Comms to clear the MicroLogix serial-port communication buffer.

    18 Publication CC-QS012A-EN-P - September 2009

  • System Validation and Application Tips Chapter 2

    Array Setup Screen

    On the Main Menu screen, press ARRAY SETUP.

    The specific arrays are listed as text boxes in the left column, each with an enable/disable toggle button and an offset distance button to its right.

    You can select which arrays are operational by pressing its ENABLE/DISABLE toggle button.

    The offset feature, in the right column, lets you add an offset distance to the array dimension that is measured. For example, this screen shows that the height array has an offset of 120 mm, the distance between the conveyor and the lowest beam if measuring height above the conveyor.

    Follow this procedure to enter an offset for an array.

    1. Press the appropriate OFFSET button for that array.This displays the numerical input pad.

    2. Enter the offset desired in millimeters.Information for calculating the offset can be found in Establishing an Offset Value on page 25.

    3. Press Enter.

    To set RS485 communications, you can toggle between Auto and Manual polling of the 45MLA controllers by pressing the RS485 COMS button in the upper left of the screen. The button text toggles between RS485 COMS IN AUTO and RS485 COMS IN MANUAL, showing the current operation.

    To set beam spacing, press BEAM SPACING at the bottom of the screen. This toggles the beam spacing multiplier in the MicroLogix controller to either 10 mm or 25 mm based on the array model used in the application.

    Publication CC-QS012A-EN-P - September 2009 19

  • Chapter 2 System Validation and Application Tips

    Current Object Size Screen

    On the Main Menu screen, press CURRENT OBJECT SIZE.

    This screen provides a real-time animation of the arrays’ status. Height, width, and length dimensions are displayed.

    This graphic shows no object present, so the array is clear.

    This graphic shows a box is present, so the height array indicates that measurement.

    The PanelView graphic includes only the height array in the picture. However, numeric values for all three dimensions are displayed when all three pairs of light arrays are installed.

    Array Status Screen

    On the Main Menu screen, press ARRAY STATUS.

    Raw data returned from the individual array controllers is displayed in table format.

    20 Publication CC-QS012A-EN-P - September 2009

  • System Validation and Application Tips Chapter 2

    Conveyor Control Screen (optional)

    On the Main Menu screen, press CONVEYOR CONTROL.

    Use this function as needed by using the function descriptions below.

    Buttons and Indicators Function

    RETURN button Returns the display to the Home screen.

    CONVEYOR AUTO/MANUAL button This is a toggle button.

    Auto mode: The boxes are released from the array measuring zone after a two-second delay into the next downstream zone, if it is clear.

    Manual mode: Requires you to release the product from the array measuring zone by pressing ARRAY RUN on the HMI.

    INFEED CLEAR indicator Displays the status of the infeed zone based upon the status of the infeed photoeye.

    RUN INFEED button Runs the conveyor if the infeed photoeye is clear.

    ARRAY FULL/CLEAR indicator Displays the status of the array measuring zone based upon the status of the infeed photoeye.

    ARRAY RUN button Releases product from the array measuring zone into the next downstream zone if that zone is clear. This button is visible only in Manual mode.

    FIFO (First In, First Out) table Displays the sizes of the last five products that were measured. The sizes of the most recent measurements are displayed in red in the left column. As additional product is measured, the prior measurements transition to the next column to the right.

    The FIFO table is incremented by using a trigger sensor connected to I1:0/0 of the MicroLogix controller.

    CLEAR FIFO button Resets all integers in the FIFO table to 0.

    FIFO Table

    Publication CC-QS012A-EN-P - September 2009 21

  • Chapter 2 System Validation and Application Tips

    Program Operation

    This section is an example that describes the sequence of communication between the MicroLogix controller and the light array at address 1, which is for height. Width and length arrays operate similarly.

    1. Counter C5:0 is used to control the timing of the various communication instructions. In this example, when the accumulated value of counter C5:0 equals 3, the ASCII Write (AWT) instruction to the height array is enabled.

    2. The contents of ST30:0 (the Read command ‘20’) are sent out of channel 0 of the MicroLogix controller to the height array at node address 1.

    Below are the AWT instruction and the data file.

    3. The height array responds by sending the requested data back to channel 0 of the MicroLogix controller.

    4. The ASCII Read (ARD) instruction enables and the response is saved into ST30:l in the MicroLogix controller.

    This is the ARD instruction.

    22 Publication CC-QS012A-EN-P - September 2009

  • System Validation and Application Tips Chapter 2

    5. The MicroLogix controller then calls subroutine 4, which extracts the string data returned and stores it in Data File N12.

    This is the N12 data file Response format.

    In this case, the values shown in N12:0 can be interpreted as follows.

    6. The MicroLogix controller writes the extracted data to one of three data files, depending on the array node address from which the data is received.

    The individual array response data from node 1 is now in data file N16 and the product size is calculated as detailed below:

    • Last Beam – First beam + 1 = Object Size (in number of beams)• Object Size x Beam Spacing = Measured Dimension (in mm)• Measured Dimension + Offset = Height (in mm)

    N12 Current Value

    Description

    :3 21 Command number +1

    :4 1 First beam interrupted

    :5 22 Last beam interrupted

    :6 22 Total number of beams interrupted

    :7 30 Number of active beams in the array

    :8 1 Overheight status

    :9 0 Overhang status

    Publication CC-QS012A-EN-P - September 2009 23

  • Chapter 2 System Validation and Application Tips

    Application Tips

    Finding Communication Faults

    If there is no communication response from arrays, do the following:

    • Check DIP switch settings.Refer to Set the 45MLA DIP Switches and Apply Power.

    • Check the AWT Instruction.It should show Characters Sent =11.

    • Check the ARD Instruction.It should show Characters Read =11.

    • Check for an error code in the AWT ARD instruction. Refer to RSLogix Help files for debugging information.

    • Reset RS485 communications by using the HMI.On the Main Menu, press Reset RS485 Comms.

    • Verify that the correct string is being sent to the 45MLA controller.See below.

    Adding Additional Arrays

    To add additional arrays to your application, do either of the following:

    • Add an additional string and edit the node address (second byte) within the string.• Create a similar rung to enable AWT instruction, and change the string address and R6

    instruction control word to the new references.

    Additional Resources

    Refer to page 9 for a listing of product and information resources.

    ST30:0 Address 1 ^B^A\00^T^A\00\00\00\00\00^C

    ST30:2 Address 0 ^B\00\00^T^A\00\00\00\00\00^C

    ST30:3 Address 2 ^B^B\00^T^A\00\00\00\00\00^C

    24 Publication CC-QS012A-EN-P - September 2009

  • Appendix A

    Offset Values, Component Versions, and Commands

    Establishing an Offset Value

    To establish an offset value, follow these steps.

    1. Place a package of known height in front of the array.

    2. Calculate the offset: Offset = height - (number of blocked beams x beam spacing)

    Below is an example of establishing an offset value.

    • Height = 120 mm• 3 beams at 10 mm = 30 mm• Offset = 120 mm - 30 mm = 90 mm

    Hardware, Firmware, and Software Component Versions

    Component Versions

    PanelView Component 600 Terminal Boot Code: 1.01Firmware: 1.01

    RSLogix 500 Pro Software Software: 8.10.00 (CPR 9)

    MicroLogix 1100 Controller, cat. no. 1763-L16BBB Firmware: 5.0

    45MLA Controller Hardware: 1.22Software: 1.30

    25Publication CC-QS012A-EN-P - September 2009 25

  • Appendix A Offset Values, Component Versions, and Commands

    Commands

    The general RS485 protocol architecture (hex) table below details the string structure (request and response) in bytes between the MicroLogix controller and the 45MLA controller.

    This table shows the response to command 20 (14 hex).

    For further information on these commands, refer to the 45MLA Measuring Light Array Controller User Manual, publication 10000071139(00).

    Direction Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8

    Master (PLC) to 45MLA Controller

    STX (02)

    Address (DIP switch)

    Command High byte

    Command Low byte

    Data (typically zeroes) ETX (03)

    45MLA Controller to Master (PLC)

    ACK (06)

    Inverted (address)

    Command High byte

    Command Low byte

    Data ETX (03)

    Table 1.1 Response 21 [15 hex]

    Byte Bit Value Description

    1 + 2 21 Dec

    15 Hex

    Response number

    3 0…7 0

    1…254

    No beam interrupted

    First interrupted beam

    4 0…7 0

    1…254

    No beam interrupted

    Last interrupted beam

    5 0…7 0

    1…254

    No beam interrupted

    Total number of interrupted beams

    6 0…7 1…254 Number of used beams

    7 0, 1 0 No overheight

    1 Overheight

    8 0, 1 00

    01

    10

    11

    No overhang

    Front overhang

    Back overhang

    Front and back overhang

    26 Publication CC-QS012A-EN-P - September 2009

    http://literature.rockwellautomation.com/idc/groups/literature/documents/um/45mla-um001_-en-p.pdf

  • Publication CC-QS012A-EN-P - September 2009 Copyright © 2009 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.

    Rockwell Automation Support

    Rockwell Automation provides technical information on the Web to assist you in using its products. At http://support.rockwellautomation.com, you can find technical manuals, a knowledge base of FAQs, technical and application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the best use of these tools.

    For an additional level of technical phone support for installation, configuration, and troubleshooting, we offer TechConnect Support programs. For more information, contact your local distributor or Rockwell Automation representative, or visit http://support.rockwellautomation.com.

    Installation Assistance

    If you experience a problem with a hardware module within the first 24 hours of installation, please review the information that's contained in this manual. You can also contact a special Customer Support number for initial help in getting your module up and running.

    New Product Satisfaction Return

    Rockwell tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility. However, if your product is not functioning, it may need to be returned.

    United States 1.440.646.3434Monday – Friday, 8 a.m. – 5 p.m. EST

    Outside United States

    Please contact your local Rockwell Automation representative for any technical support issues.

    United States Contact your distributor. You must provide a Customer Support case number (see phone number above to obtain one) to your distributor in order to complete the return process.

    Outside United States

    Please contact your local Rockwell Automation representative for return procedure.

    http://support.rockwellautomation.comhttp://support.rockwellautomation.com

    Front CoverWhere to StartTable of ContentsPrefaceIntroductionConventions Used in This ManualAdditional Resources

    1 - 45MLA Controller IntegrationIntroductionBefore You BeginWhat You NeedFollow These StepsConnect Your HardwareConnect Your WiringSet the 45MLA DIP Switches and Apply PowerConfigure IP AddressesAdditional Resources

    2 - System Validation and Application TipsIntroductionBefore You BeginWhat You NeedFollow These StepsOverview of System OperationPanelView Application ScreensHome ScreenMain MenuArray Setup ScreenCurrent Object Size ScreenArray Status ScreenConveyor Control Screen (optional)

    Program OperationApplication TipsFinding Communication FaultsAdding Additional Arrays

    Additional Resources

    A - Offset Values, Component Versions, and CommandsEstablishing an Offset ValueHardware, Firmware, and Software Component VersionsCommands

    Back Cover

    /ColorImageDict > /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /AntiAliasGrayImages false /CropGrayImages true /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /DownsampleGrayImages true /GrayImageDownsampleType /Average /GrayImageResolution 300 /GrayImageDepth 8 /GrayImageMinDownsampleDepth 2 /GrayImageDownsampleThreshold 2.00000 /EncodeGrayImages true /GrayImageFilter /FlateEncode /AutoFilterGrayImages false /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict > /GrayImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /AntiAliasMonoImages false /CropMonoImages true /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /DownsampleMonoImages true /MonoImageDownsampleType /Average /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict > /AllowPSXObjects false /CheckCompliance [ /None ] /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile (None) /PDFXOutputConditionIdentifier () /PDFXOutputCondition () /PDFXRegistryName () /PDFXTrapped /False

    /Description > /Namespace [ (Adobe) (Common) (1.0) ] /OtherNamespaces [ > /FormElements false /GenerateStructure true /IncludeBookmarks false /IncludeHyperlinks false /IncludeInteractive false /IncludeLayers false /IncludeProfiles true /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /NA /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /LeaveUntagged /UseDocumentBleed false >> ]>> setdistillerparams> setpagedevice

    Introduction_Catagory Types

    This tab summarizes Rockwell Automation Global Sales and Marketing preferred printing standards. It also provides guidance on whether a publication should be released as JIT (print on demand) or if it requires an RFQ for offset printing.Find your publication type in the first section below. Use the assigned Printing Category information to determine the standard print specifications for that document type. The Printing Categories are defined below the Publication Type section. Note there may be slightly different print specifications for the categories, depending on the region (EMEA or Americas).For more information on Global Sales and Marketing Printing Standards, see publication RA-CO004 in DocMan.

    Publication Type and Print Category

    Publication TypeOff Set Print Category Spec. (See table below)JIT Spec. (See table below)DescriptionOrder MinOrder MaxLife Cycle Usage / Release Option

    ADNA - PuttmanNAAdvertisement Reprint ColourNANAPresale / Internal

    APA3D2Application Solution or Customer Success Story5100Presale / External

    ARNANAArticle/Editorial/BylineNANAPresale / Internal

    /News Release (press releases should not be checked into DocMan or printed)

    ATB3, B4D5Application Techniques5100Presale / External

    BRA2 Primary, A1NABrochures5100Presale / External

    CAC2 Primary, C1NACatalogue150Presale / External

    CGNANACatalogue Guide150Presale / External

    CLNANACollection550Presale / External

    COA5, A6, A9D5Company Confidential InformationNANANA / Confidential

    CPE-onlyE-only, D5Competitive Information550NA / Confidential

    DCE-onlyE-onlyDiscount SchedulesNANAPresale / Internal

    DIA1, A3NADirect Mail5100Presale / Internal

    DMNANAProduct Demo550Presale / Internal

    DSB3D5Dimensions Sheet15Post / External

    DUB3D5Document Update15Post / External

    GRB2D6Getting Results15Post / External

    INB3D5Installation instructions15Post / External

    LMNANALaunch KitMaterials550Presale / Internal

    PCB3D5Packaging Contents

    PLE-only Primary, B3E-onlyPrice List550Presale / Internal

    PMB2D6Programming Manual15Post / External

    PPA3D1Product Profile NOTE: Application Solutions are to be assigned the AP pub type.5100Presale / External

    QRB2 Primary, B3, B5D5, D6Quick Reference15Post / External

    QSB2 Primary, B3, B5D5, D6Quick Start15Post / External

    RMB2D5, D6Reference Manual15Post / External

    RNB3D5Release Notes15Post / External

    SGB1 Primary, B4D5, D6Selection Guide Colour5100Presale / External

    SGB2D5, D6Selection Guide B/W5100Presale / External

    SPA1, A2, A3, A4NAService ProfileSales Promotion NOTE: Service profiles are to be assigned the PP pub type.5100Presale / Internal

    SRB2, B3D5, D6Specification Rating Sheet5100Presale / External

    TDB2 Primary B3, B4, B5D5, D6Technical Data5100Presale / External

    TGB2, B3D6Troubleshooting Guide15Post / External

    UMB2 Primary, B4D6User Manual B/W15Post / External

    WDB3D5Wiring Diagrams / Dwgs15Post / Internal

    WPB3 Primary, B5D5White Paper5100Presale / External

    Pre-sale / MarketingAll paper in this category is White Brightness, 85% or better. Opacity 87% or better

    CategoryColor OptionsAP, EMEA Paper RequirementsCanada, LA, US Paper Requirements

    A14 color170gsm 2pp100# gloss cover, 100# gloss text

    A24 color170gsm, folded, 4pp100# gloss cover, 80# gloss text

    A34 colorCover 170gsm with Body 120gsm, > 4pp80# gloss cover, 80# gloss text

    A42 color80# gloss cover, 80# gloss text

    170gsm Silk – 120gsm Silk

    A52 color80# gloss cover, 80# matt sheet text

    170gsm Silk – 120gsm Silk

    A61 color170gsm Silk – 120gsm Silk80# gloss cover, 80# matt sheet text

    A74 color cover10 Point Cover C2S

    2 color textCategory being deleted50# matte sheet text

    Selection Guide

    A84 color coverCategory being deleted50# matte sheet text, self cover

    2 color text

    Selection Guide

    A92 color100gsm bond50# matte sheet text, self cover

    Selection Guide

    Post Sale / Technical Communication

    CategoryColor OptionsAP, EMEA Paper RequirementsCanada, LA, US Paper Requirements

    B14 color cover270gsm Gloss 100gsm bond10 Point Cover C2S

    2 color text50# matte sheet text

    B21 color60# Cover

    160gsm Colortech & 100gsm Bond50# matte sheet text

    B31 color50# matte sheet text, self cover

    100gsm bond

    B42 color60# Cover

    160gsm Colortech & 100gsm Bond50# matte sheet text

    B52 color50# matte sheet text, self cover

    100gsm bond

    Catalogs

    CategoryColor OptionsAP, EMEA Paper RequirementsCanada, LA, US Paper Requirements

    C14 color cover270gsm Gloss 90gsm silk10 Point Cover C2S

    4 color text45# Coated Sheet

    C24 color cover270gsm Gloss 80gsm silk10 Point Cover C2S

    2 color text32#-33# Coated Sheet

    JIT / POD

    CategoryColor OptionsAP, EMEA Paper RequirementsCanada, LA, US Paper Requirements

    D14 color170gsm white silk80# gloss cover, coated 2 sides

    D24 color120gsm white silk80# gloss text, coated 2 sides, self cover

    D34 colorCover 170gsm with Body 120gsm80# gloss cover, 80# gloss text coated 2 sides

    D41 color160gsm tab90# index

    D51 color80gsm bond20# bond, self cover

    D61 colorCover 160gsm tab with Body 80gsm bond90# index, 20# bond

    D72 color160gsm tab90# index

    D82 color80gsm bond20# bond, self cover

    D92 colorCover 160gsm tab with Body 80gsm bond90# index, 20# bond

    D10Combination: 4 color cover, with 2 color bodyCover 160gsm with Body 80gsm90# index, 20# bond

    Print Spec Sheet

    JIT Printing SpecificationsRA-QR005D-EN-P - 4/03/2009

    Printing SpecificationYOUR DATA HEREInstructionsNO

    (required) Category:D6Select Print Category A,B,C or D from category list, on "Introduction_Catagory Types" tab11” x 17”LOOSE -Loose LeafYESPre-sale / MarketingTOP

    (required) Finished Trim Size Width:8.5” x 11”8.5” x 11”PERFECT - Perfect BoundA1LEFT

    (required) Publication Number :CC-QS012A-EN-PSample: 2030-SP001B-EN-P3” x 5”SADDLE - Saddle StitchA2RIGHTCORNER

    Use Legacy NumberNOYES or NO18” x 24” PosterPLASTCOIL - Plastic Coil (Coil Bound)A4BOTTOMSIDE

    Legacy Number if applicable:Sample Legacy Number: 0160-5.3324” x 36” PosterSTAPLED1 -1 positionA3

    Publication Title:Simple Package Measurement Connected Components Building Block Quick StartSample: ElectroGuard Selling Brief36” x 24” PosterSTAPLED1B - bottom 1 positionA5

    (required) Business Group:Marketing CommercialAs entered in DocMan4” x 6”STAPLED2 - 2 positionsA6

    (required) Cost Center:19041As entered in DocMan - enter number only, no description. Example - 19021CMKMKE CM Integrated Arch - 19021CMKMKE Market Access Program - 191054.75” x 7” (slightly smaller half-size)THERMAL - Thermal bound (Tape bound)A7

    Binding/Stitching:SADDLE - Saddle StitchReview key on right...Saddle-Stitch Items All page quantities must be divisible by 4.20 sheets max. on 20# (text and cover); 20 sheets = 80-page pub16 sheets max. on 20# (text) and 90# (cover); 16 sheets = 64-page pub

    Perfect Bound Items475 sheets max. on 20# no cover; 475 sheets = 950-page pub470 sheets max. w/cover / 90# index unless indicated otherwise); 470 sheets = 940-page pub

    Coil Bound Items400 sheets max. of 20# (if adding cover deduct equivalent number of pages to equal cover thickness) (90# index unless indicated otherwise); 400 sheets = 800-page pub

    Tape Bound Items125 sheets max. on 20# no cover; 125 sheets = 250-page pub120 sheets max. w/cover (90# index unless indicated otherwise); 120 sheets = 240-page pub

    Double Wire Bound Items250 sheets max. on 20# (if adding cover deduct equivalent number of pages to equal cover thickness) (90# index unless indicated otherwise); 250 sheets = 500-page pub4.75” x 7.75”THERMALO - Thermal Bound (Tape bound - offline)A8

    (required) Page Count of Publication:28Total page count including cover5.5” x 8.5” (half-size)Wire O - Double Wire Bound (offline)A9

    Paper Stock Color:White is assumed. For color options contact your vendor.6” x 4”Post Sale / Technical Communication

    Number of Tabs Needed:5 tab in stock at RR Donnelley7.385” x 9” (RSI Std)B1

    Stitching Location:SIDEBlank, Corner or Side8.25” x 10.875”B2

    Drill Hole YES/NONOAll drilled publications use the 5-hole standard, 5/16 inch-size hole and a minimum of ¼ inch from the inner page border.8.25” x 11” (RA product profile std)B3

    Glue Location on Pad:Glue location on pads8.375” x 10.875B4

    Number of Pages per Pad:Average sheets of paper.. 25, 50 75,100 Max9” x 12” (Folder)B5

    Ink ColorOne color assumes BLACK / 4 color assume CMYK / Indicate PMS number here…A4 (8 ¼” x 11 ¾”) (210 x 297 mm)Catalogs

    Used in Manufacturing:NOA5 (5.83” x 8.26”) (148 x 210 mm)C1

    Comments:Send one copy as a proof to: Rockwell Automation, 6400 W. Enterprise Drive, Mequon Wisconsin 53092, Attention: Jean Zyla, C/O Christy WilliamsC2

    Part Number:JIT / POD

    D1

    D2

    D3

    D4

    D5

    D6

    D7

    D8

    D9