Allen-Bradley VisiSight 42JT-D*LAT1 Series User Manual
Allen-Bradley VisiSight 42JT-D*LAT1 Series User Manual

Allen-Bradley VisiSight 42JT-D*LAT1 Series User Manual

Visisight photoelectric sensors with io-link interface
Table of Contents

Advertisement

Quick Links

User Manual
Original Instructions
VisiSight Photoelectric Sensors with IO-Link Interface
Catalog Numbers 42JT-DxLAT1-x, 42JT-PxLAT1-x, 42JT-RxLAT1-x, 42JT-C2LAT1-x, 42JT-F5LET1-x, 42EF-BxLAT1-x

Advertisement

Table of Contents
loading

Summary of Contents for Allen-Bradley VisiSight 42JT-D*LAT1 Series

  • Page 1 User Manual Original Instructions VisiSight Photoelectric Sensors with IO-Link Interface Catalog Numbers 42JT-DxLAT1-x, 42JT-PxLAT1-x, 42JT-RxLAT1-x, 42JT-C2LAT1-x, 42JT-F5LET1-x, 42EF-BxLAT1-x...
  • Page 2 Important User Information Read this document and the documents listed in the additional resources section about installation, configuration, and operation of this equipment before you install, configure, operate, or maintain this product. Users are required to familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws, and standards.
  • Page 3: Table Of Contents

    Table of Contents Preface Who Should Use This Manual ........7 Definitions .
  • Page 4 Table of Contents Chapter 4 VisiSight Sensor with IO-Link Premier Integration ......... . . 25 VisiSight Sensor IO-Link Features .
  • Page 5 Table of Contents Chapter 10 Exploring the VisiSight Sensor Overview ........... . . 47 Common Tab .
  • Page 6 Table of Contents Appendix B Device Parameters Identification Tab ..........77 Parameter Tab .
  • Page 7: Preface

    Preface This manual contains information for the VisiSight™ Photoelectric Sensors with IO-Link Interface. It describes the procedures that you use to install, wire, and troubleshoot your sensor. Who Should Use This Manual Use this manual if your responsibilities include design, installation, programming, or troubleshooting of control systems that use solid-state temperature sensors including catalog numbers: •...
  • Page 8: Abbreviations

    Provides declarations of conformity, certificates, and www.rockwellautomation.com/global/certification/ other certification details. overview.page You can view or download publications at http://www.rockwellautomation.com/global/literature-library/overview.page. To order paper copies of technical documentation, contact your local Allen-Bradley distributor or Rockwell Automation sales representative. Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 9: Product Description

    Chapter Product Overview Product Description The VisiSight™ family of sensors offers a wide range of sensing modes and a teach push button that simplifies sensitivity adjustment and offers light versus dark operate output selection. The unique “Auto PNP/NPN” output continuously monitors how the load is connected and automatically configures the output for proper operation and output light-emitting diode to indicate correct output status.
  • Page 10: Features

    Chapter 1 Product Overview Features • Class 1 “Eye-safe” red laser beam (for small object and contrast detection) and visible red status indicator models • Unique “Auto PNP/NPN” output reduces the cost of inventory and simplifies selection, installation, and maintenance (patent pending) •...
  • Page 11: User Interface

    Chapter Installation User Interface Figure 1 - User Interface Illustration Push Button Yellow Indicator Green Indicator Indicator Status The Standard IO operation table provides indicator status in the RUN mode during operation. The sensor is always in RUN mode, except when being taught.
  • Page 12: Alignment Indication

    Chapter 2 Installation Alignment Indication For short range applications, the visible light beam of the sensor suffices as alignment aid. The alignment feature can be used for longer range applications. Alignment of the sensor is indicated via change in intensity of the green status indicator in the Alignment Mode, as follows: 1.
  • Page 13: Mounting

    Installation Chapter 2 Mounting Securely mount the sensor on a firm, stable surface, or support. An application, which is subject to excessive movement or vibration, can cause intermittent operation. Dimensions Figure 2 - Typical Dimensions [mm (in.)] (0.79) (0.47) 22.9 (0.90) 25.4 (1.34)
  • Page 14 Chapter 2 Installation Figure 4 - Spot Size [800 mm (31.49 in.)] horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical horizontal = vertical...
  • Page 15 Installation Chapter 2 Figure 7 - Red Polarized Retroreflective [6 m (19.68 ft)] 92-109 92-125 92-108 (3.3) (6.6) (9.9) (13.1) (16.4) (19.7) (23) Distance [m (ft)] Figure 8 - Polarized Retroreflective — Spot Size (3.3) (6.6) (9.9) (13.1) (16.4) (19.7) (23) Distance [m (ft)] Figure 9 - Laser Polarized Retroreflective —...
  • Page 16 Chapter 2 Installation Figure 10 - Laser Polarized Retroreflective — Spot Size (16.4) (32.8) (49.2) Distance [m (ft)] Figure 11 - Red Transmitted Beam [13 m (42.65 ft)] 1000 12.5 Distance [m (ft)] Figure 12 - Red Transmitted Beam—Spot Size 1200 1000 horizontal = vertical...
  • Page 17: Wiring

    Installation Chapter 2 Wiring Figure 13 - Micro (M12) Male QD on Pigtail and Integral Pico (M8) Male QD M12 Male M8 Male Output Wiring Figure 14 - Transmitted Beam Receiver Brown (1) White (2) Remote Teach/Lock Black (4) Output Auto NPN/PNP or IO-Link Blue (3) Figure 15 - Transmitted Beam Emitter Brown (1)
  • Page 18 Chapter 2 Installation Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 19: Teach Overview

    Chapter Teaching the VisiSight Sensor in Standard I/O (SIO) Mode Teach Overview The VisiSight™ sensor is configured using the push button or Remote Teach or IO-Link and the status indicators on the sensor. Five features can be configured: • Static Teach: Standard or precision teach for sensitivity/sensing range •...
  • Page 20: Polarized Retroreflective Teach Procedure

    Chapter 3 Teaching the VisiSight Sensor in Standard I/O (SIO) Mode 2. Teach “no target” (second condition): Remove the target. Press and release the button. The teach process is complete. t < 0.5 s If the push button is not pressed within 30 seconds, the sensor exits teach mode and returns to RUN mode without learning the new setting.
  • Page 21: Transmitted Beam Teach Procedure

    Teaching the VisiSight Sensor in Standard I/O (SIO) Mode Chapter 3 2. Teach “target” (second condition): Insert the target between the sensor and the reflector. Press and release the button. The teach process is complete. t < 0.5 s If the push button is not pressed within 30 seconds, the sensor exits teach mode and returns to RUN mode without learning the new setting.
  • Page 22: Light Or Dark Operate Selection

    Chapter 3 Teaching the VisiSight Sensor in Standard I/O (SIO) Mode Restore to factory default setting of maximum range: Perform steps one and two with “no target” in the sensor field of view and no emitter. Dynamic Teach (running process): If the targets to be detected are moving with the sensor that is aimed at the running process, press and hold the button for three seconds until the yellow status indicator starts flashing.
  • Page 23: Output Type Selection

    Teaching the VisiSight Sensor in Standard I/O (SIO) Mode Chapter 3 Output Type Selection (Auto The default setting is Auto PNP or NPN, which means that the sensor monitors the load connection and automatically configures the output for PNP or NPN, Dedicated NPN, proper operation, for example, PNP or NPN.
  • Page 24: Remote Teach (Rt)

    Chapter 3 Teaching the VisiSight Sensor in Standard I/O (SIO) Mode Remote Teach (RT) The sensor can be taught remotely via the white wire (pin two). Connection to +V acts the same as the button being pressed and no connection is the same as the button not being pressed.
  • Page 25: Premier Integration

    Integrated Architecture system. Using a Rockwell Automation solution, provides a smooth, consistent integration of Allen-Bradley IO-Link enabled devices into the system. To simplify the integration of the Rockwell Automation IO-Link devices to the Rockwell Automation architecture, there is an IO-Link Add-on Profile (AOP) available for the 1734-4IOL master module.
  • Page 26: Visisight Sensor Io-Link Features

    Chapter 4 VisiSight Sensor with IO-Link Overview Figure 17 - VisiSight IO-Link AOP Overview VisiSight Sensor IO-Link The VisiSight™ sensor communicates the following parameters via IO-Link. Features Triggered Communicates when a target has changed the state of the sensor upon detection, which performs the same operation as pin four (Output) while the sensor is operating in Standard IO (SIO) mode.
  • Page 27: Polarity

    Automatic Device Configuration (ADC) Replacing damaged sensors is easy. Simply remove the old Allen-Bradley® sensor and connect the new one—the controller automatically sends the configuration to the new sensor.
  • Page 28: Application Specific Name (Asn)

    Rockwell Automation system solutions provide tag names that are based on the Allen-Bradley sensor connected. I/O data is converted, formatted, and named based on the Allen-Bradley sensor applied. Reduces commissioning time by the OEM and reduces troubleshooting time by the end user when searching for sensor data.
  • Page 29: Hardware

    Chapter Installing the VisiSight Sensor for IO-Link Mode This chapter shows the physical hardware and software that is required to configure the VisiSight™ sensor through IO-Link and provides a simple guide to install the hardware. Products required: Hardware • VisiSight sensor •...
  • Page 30: Example: Setting Up The Hardware

    Chapter 5 Installing the VisiSight Sensor for IO-Link Mode Example: Setting Up In this example, we are showing an Allen-Bradley® POINT I/O chassis with a 1734-AENTR adapter and a 1734-4IOL IO-Link master module in the first the Hardware slot. The 1734-AENTR is communicating with a CompactLogix controller via EtherNet/IP.
  • Page 31 Chapter 5 6. After connecting the sensor, you will need to create/open a project in Studio 5000® to establish communication with the Allen-Bradley controller that is being used and to add the 1734-AENTR adapter and 1734-4IOL IO-Link master module to Controller Organizer Tree...
  • Page 32 Chapter 5 Installing the VisiSight Sensor for IO-Link Mode Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 33 Chapter Creating a Project To begin a new project in Studio 5000®, follow these steps. If there’s an existing project within Studio 5000 with CompactLogix™ or ControlLogix® hardware that is installed and communicating online, go directly to See Configuring the IO-Link Master on page 1.
  • Page 34: Chapter 6

    Chapter 6 Creating a Project Figure 22 - Project Name Example 5. Once the project opens up, setup the IP address of the controller to help ensure communication. To set the IP address, click the browsing icon. Figure 23 - Communications Path Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 35: Aop Installation

    Creating a Project Chapter 6 6. Select the controller that is being used for the project. In this example, we are using a 1769-L24ER-QB1B CompactLogix. Figure 24 - Available Devices 7. Click “Go Online” to start communicating. The next step is to configure the IO-Link Master. AOP Installation Next, verify that Studio 5000 contains the 1734-4IOL IO-Link AOP.
  • Page 36: Rockwell Automation Publication 42Jt-Um001B-En-P - June

    Chapter 6 Creating a Project Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 37 Chapter Configuring the IO-Link Master 1. Make sure that the controller is offline to configure the IO-Link Master. Figure 25 - Check Activity 2. In the controller organizer tree, find Ethernet under I/O Configuration and right-click to “add new module.” Figure 26 - Add New Module Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 38: Chapter 7

    Chapter 7 Configuring the IO-Link Master 3. The module window pops up and show the available modules. Select the “1734-AENTR, 1734 Ethernet adapter, two-port, twisted-pair media” and click Create. Figure 27 - Select Module Type 4. Name the Ethernet adapter (in this example our adapter name is “adapter”), set the chassis size, check the module revision and set-up the adapter IP address.
  • Page 39: Chapter 7

    Configuring the IO-Link Master Chapter 7 Figure 29 - Controller Organizer Tree 6. Right-click on 1734-AENTR adapter, and then select “New Module.” Figure 30 - Select New Module 7. Select “1734-4IOL” and click Create. Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 40: Chapter 7

    Chapter 7 Configuring the IO-Link Master Figure 31 - Select Module Type 8. Another screen appears showing the IO-Link Configuration screen. 9. Name the IO-Link Master and click OK. Figure 32 - Name the IO-Link Master The VisiSight sensor can now be configured. To configure the sensor, a sensor- specific IODD (IO Device Description) file is required.
  • Page 41 Chapter Registering the VisiSight Sensor IODD To initialize a sensor on an IO-Link Master, register the IODD of the sensor. The IO Device Description (IODD) files contain the information that is related to the sensor, integrated into the system environment. By default, the IODDs are already located in the AOP Library.
  • Page 42: Chapter 8

    Chapter 8 Registering the VisiSight Sensor IODD The IO-Link configuration screen appears. Figure 35 - Configuration Screen 3. Right-click the left section of the screen where the channel information is located and click “Register IODD.” Figure 36 - Register IODD Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 43: Chapter 8

    Registering the VisiSight Sensor IODD Chapter 8 4. Select the IODD file that is needed for the sensor being configured and double-click. Figure 37 - IODD Registrar 5. Then click “Exit.” The IODD registration is complete. Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 44: Chapter 8

    Chapter 8 Registering the VisiSight Sensor IODD Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 45 Chapter Connecting the VisiSight Sensor to the IO-Link Master Once the IODD file is registered, the sensor must be connected to the IO-Link master. The controller must always be off line to add a device to the IO-Link Master. 1. Right-click the channel number where the sensor is configured and click “Change.”...
  • Page 46: Chapter 9

    Chapter 9 Connecting the VisiSight Sensor to the IO-Link Master 3. Select the appropriate sensor and double-click or click “Create.” Figure 40 - AOP Select Device View 4. Click “OK” to accept configuration. Figure 41 - Main Controller View 5. Click “Go Online” to communicate. The following pages describe each tab of the 1734-4IOL AOP in detail and how to teach the sensor.
  • Page 47: Overview

    Chapter Exploring the VisiSight Sensor IO-Link Parameters Overview The VisiSight sensor offers four different tabs to describe the sensor functionality and operation. These tabs are: Common Tab Provides general product information about the sensor specifications and IO- link IODD information. Identification Tab Provides the sensor catalog number, series letter, general product description including the current product firmware, and hardware revisions.
  • Page 48: Io-Link Configuration

    Chapter 10 Exploring the VisiSight Sensor IO-Link Parameters IO-Link Configuration Figure 42 - Common Tab This tab contains the following sensor information. Vendor Provides the vendor name of the product Vendor Text Field that is used to describe additional product information Vendor ID Describes the vendor ID of the manufacturer of the product as designated in the IO-Link consortium...
  • Page 49: Minimum Cycle Time

    Exploring the VisiSight Sensor IO-Link Parameters Chapter 10 Minimum Cycle Time SIO Mode Describes if the sensor is also designed to operate without an IO-Link connection IODD Displays the complete file name of the IODD that is assigned to the product Document Version Displays the version control for the IODD Date of Creation...
  • Page 50: Parameter Tab

    Chapter 10 Exploring the VisiSight Sensor IO-Link Parameters Figure 44 - Parameter Tab The parameter tab displays the sensor parameter settings and helps enable you to read data from the sensor or teach the sensor by writing new values. The parameter section is divided into three sections: •...
  • Page 51 Exploring the VisiSight Sensor IO-Link Parameters Chapter 10 Validation and Regardless of what teach method is selected, after initiating the teach commands, Authentication you must click the “Teach- Apply” to finalize the teach process. Operation Configuration This section of the parameter tab allows you to read and change the sensor setpoint value and the output polarity for discrete output in SIO (Standard IO Mode) and IO- Link mode.
  • Page 52 Chapter 10 Exploring the VisiSight Sensor IO-Link Parameters • Device Access Locks, • Service Function, and • Communications Characteristics Device Access Locks This section displays the Device Storage Lock and the user Interface Lock parameters. The Device Storage Lock is a read-only parameter that describes that data storage on the sensor cannot be locked and the Local User Interface Lock helps customers lock the push button on the VisiSight sensor.
  • Page 53: Manage Parameter Differences Between Io-Link Devices And Controllers

    Exploring the VisiSight Sensor IO-Link Parameters Chapter 10 Manage Parameter The Add-on Profile has a Refresh button that updates the read-only parameters for all channels with IO-Link devices. It also performs a Differences between IO-Link Correlation check of the read-write parameters in all connected IO-Link Devices and Controllers devices and in the controller.
  • Page 54 Chapter 10 Exploring the VisiSight Sensor IO-Link Parameters Communication errors (if applicable) are indicated in the dialog for each channel. A link becomes available for you to click to retry communication. Figure 48 - Communication Errors 2. For each channel, select the checkbox for the corrective action: •...
  • Page 55: Static Teach On Io-Link

    Chapter Teaching the VisiSight Sensor on IO-Link The VisiSight™ sensor can be taught three distinct ways through the AOP. This chapter provides step-by-step instructions to teach the VisiSight sensor in each of these three methods. Static Teach on IO-Link Place the target in front of the sensor and click “Static Teach – Show Target.”...
  • Page 56 Chapter 11 Teaching the VisiSight Sensor on IO-Link Remove the target from the sensor field of view and click “Static Teach – Show Background.” Upon clicking the button, a popup message asks “to send command to Device” appears. Click “Yes.” Figure 51 - Static Teach —...
  • Page 57: Precision Teach On Io-Link

    Teaching the VisiSight Sensor on IO-Link Chapter 11 Precision Teach on IO-Link Place the target in front of the sensor and click “Precision Teach – Single Point.” Upon clicking the button, a popup message asks to send command to Device appears. Click “Yes.” If you click the refresh button, the Static Teach –...
  • Page 58: Dynamic Teach On Io-Link

    Chapter 11 Teaching the VisiSight Sensor on IO-Link Dynamic Teach on IO-Link Place the target in front of the sensor and click “Teach Start.” Upon clicking the button, a popup message asks to send command to Device appears. Click “Yes.” If you click the refresh button, the Static Teach – Status is updating to indicate “Waiting for Command.”...
  • Page 59: Controller Tags

    Teaching the VisiSight Sensor on IO-Link Chapter 11 Figure 54 - Dynamic Teach Stop Click the button “Teach-Apply.” Upon clicking the button, a popup message asks to send the command to the Device appears. Click “Yes.” Controller Tags In the Controller Tag view, it is possible to view the status of the sensor process data (The process data values are not viewable in the Add-on Profile.).
  • Page 60 Chapter 11 Teaching the VisiSight Sensor on IO-Link Figure 55 - Process Data Triggered: This process bit toggles between one or zero depending on the polarity configuration when the sensor detects the target or not. For diffuse sensors, this bit displays a zero by default when no target is present and a one when target is present.
  • Page 61: Sample Code

    Chapter Installing the Sensor with Studio 5000 This chapter provides detailed instructions on installation of the VisiSight sensor using message instructions in Studio 5000®. The example code that is shown allows you to: • Teach the sensor (Static Teach, Precision Teach, and Dynamic Teach) •...
  • Page 62 Chapter 12 Installing the Sensor with Studio 5000 Figure 57 - Import Program 3. The “Import Configuration” box displays, accept the default settings, and click “OK.” Figure 58 - Import Configuration Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 63: Sample Routines

    Installing the Sensor with Studio 5000 Chapter 12 Sample Routines Figure 59 - Controller Organizer Overview 4. From the MainRoutine, create a rung of code that runs the subroutine Read_Vendor_Name. You can select any other subroutine as part of this example. Figure 60 - Read Routine 5.
  • Page 64 Chapter 12 Installing the Sensor with Studio 5000 Figure 61 - Explicit Message Routine 6. The Message configuration popup box is displayed. Click the “Communication” tab. Select the “Browse” button. Figure 62 - Explicit Message Configuration 7. Browse the Ethernet Network to the 1734-AENTR and select the 1734-4IOL Master.
  • Page 65 Installing the Sensor with Studio 5000 Chapter 12 Notice that the path is now set to Master_1 in the communication path. Click “Apply” then “OK.” Figure 64 - IO-Link Master 8. Repeat Step 6. For the message instructions about the MSG instruction use.
  • Page 66: Initial Setup

    Chapter 12 Installing the Sensor with Studio 5000 11. Put the controller in “Run” mode. Figure 67 - Confirm Download Initial Setup Open the Controller Tag viewer and locate the tag that is named IOLINK_MASTER_Channel. Set this tag equal to the channel number the VisiSight sensor sensor is connected to on the 1734-4IOL module.
  • Page 67: Precision Teach

    Installing the Sensor with Studio 5000 Chapter 12 Figure 71 - Figure 72 - Precision Teach From the Sample Code, Select the Precision Teach Routine and highlight the Precision Teach contact. Place the target at the desired maximum distance. Right-click and select “Toggle Bit” or press Ctrl + T while highlighting the Precision Teach contact to run the message routine that initiates the precision teach process.
  • Page 68: Precision Teach Sample Code

    Chapter 12 Installing the Sensor with Studio 5000 Precision Teach Sample Code Figure 75 - Dynamic Teach From the Sample Code, select the Dynamic Teach Routine and highlight the Start Dynamic Teach contact. While the machine is running (targets are passing in front of the sensor), right-click and select “Toggle Bit”...
  • Page 69: Dynamic Teach Sample Code

    Installing the Sensor with Studio 5000 Chapter 12 Dynamic Teach Sample Code Figure 79 - To Test the New Settings of the Sensor When the target is detected, the output status indicator on the top of the sensor illuminates. Additionally, when viewing the controller tags, the “triggered”...
  • Page 70: Read Vendor Name Routine

    Chapter 12 Installing the Sensor with Studio 5000 Read Vendor Name Routine Figure 81 - Instructions MOV – Sets the IO-Link Master channel where the sensor is located MSG – Sends the Explicit Message Service Request to Index 16 (‘Vendor Name’) as defined in Appendix B.
  • Page 71: Checklist

    Chapter Troubleshooting This guide is meant to help resolve common issues that occur when installing the VisiSight™ sensor. Checklist Error Cause Remedy Power indicator does not The power supply is switched off. Check to see if there’s a reason for it to be light up switched off (installation or maintenance work, and so on).
  • Page 72 Chapter 13 Troubleshooting Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 73: Introduction

    Appendix Installing the Add-on Profile Introduction This appendix shows how to install the IO-Link Add-on Profile (AOP) with the RSLogix 5000® program. Add-on Profiles are files that users add to their Rockwell Automation library. These files contain the pertinent information for configuring a device that is added to the Rockwell Automation network.
  • Page 74 Appendix A Installing the Add-on Profile Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 75: Identification Tab

    Parameter Name Index Subindex Access Default Value Data Type Description Hex (Dec) (Length) Device Information Vendor Name 0x10 0x00(0) Allen-Bradley STRING(64) Allen-Bradley® Product Name 0x12 0x00(0) Product Catalog Number 42JT* STRING(64) Product Catalog Number Product Text 0x14 0x00(0) Product Description...
  • Page 76: Parameter Tab

    Appendix B Device Parameters Parameter Tab Parameter Name Index Subindex Access Default Value Data Type Allowed Values Hex (Dec) (Length) Teach-In Operation Standard Command 0x02 0x00 Button = “Static Teach - UINTEGER(8) Show Target” Standard Command 0x02 0x00 Button = “Static Teach - UINTEGER(8) Show Background”...
  • Page 77: Diagnosis Tab

    Device Parameters Appendix B Diagnosis Tab Parameter Name Index Subindex Access Default Value Data Type (Length) Allowed Values Hex (Dec) Device Access Locks Data Storage Lock 0x00 0x00(0) 0: false BOOL 0: false 1: true Local user Interface Lock 0x00 0x00(0) 0: false Integer (2 bytes)
  • Page 78 Appendix B Device Parameters Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 79: Configuring A Message Instruction

    Appendix Message Structure and Configuration Examples Configuring a Message Appendix 12, we show multiple examples using Message Instructions to Read/Write data to/from different IO-Link Parameters in the VisiSight™ Instruction sensor. This appendix provides additional information and examples that explain how to configure a Message Instruction. In the examples that we show, we are assuming the use of the ControlLogix®...
  • Page 80 Appendix C Message Structure and Configuration Examples Figure 83 - Message Configuration Table 4 identifies the data that are required to complete the Message Configuration dialog box to Read the “Vendor Name” from the VisiSight sensor. Table 4 - Message Configuration Description Value Message Type...
  • Page 81: Read Data From The Sensor

    “Vendor Name” is read from the VisiSight sensor and copied into the “Read_Assembly” Array. When viewed as ASCII the name Allen-Bradley® is displayed. Figure 84 - Example Format of a Write Message It is possible to Write a unique name to the VisiSight sensor sensor.
  • Page 82 Appendix C Message Structure and Configuration Examples Figure 85 - The screen capture that is shown is the Message Configuration dialog box that shows all information that is necessary to Write to the Application Specific Name Parameter in the VisiSight sensor. To open the Message Instruction dialog box, click the blue square box in the Message Instruction.
  • Page 83: Validation Of Write

    Message Structure and Configuration Examples Appendix C Table 5 - Message Configuration Description Value Message Type The message type is CIP Generic. CIP Generic Service Type The service type is Custom. Custom Service Code Established from Service Code Table. Class The class is 3a3.
  • Page 84: Service Code

    Appendix C Message Structure and Configuration Examples Figure 87 - 3. Click “Upload” then “OK” and the new parameter values are uploaded into the controller. The new Application Specific Name can be seen when viewing the Identification Tab of the AOP for the VisiSight sensor sensor. Figure 88 - Service Code Table 6...
  • Page 85: Source Length: From Data Structure Tables

    Message Structure and Configuration Examples Appendix C Source Length: from Data Structure Tables The tables can be used to determine the source length that is based on the Service Code that is used and the number of bytes being written. Read Subindex (4B) Message Data Format: Byte 0...
  • Page 86 Appendix C Message Structure and Configuration Examples Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 87: Error Codes

    Appendix Error Codes and Events When an event occurs, the device signals the presence of the event to the master. The master then reads out the event. Events can be error messages and warnings/maintenance data. Error messages are transmitted from the device to the controller via the IO-Link master.
  • Page 88 Appendix D Error Codes and Events Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 89 Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 90 Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 91 Notes: Rockwell Automation Publication 42JT-UM001B-EN-P - June 2017...
  • Page 92 How Are We Doing? form at http://literature.rockwellautomation.com/idc/groups/literature/documents/du/ra-du002_-en-e.pdf. Rockwell Automation maintains current product environmental information on its website at http://www.rockwellautomation.com/rockwellautomation/about-us/sustainability-ethics/product-environmental-compliance.page. Allen-Bradley, Rockwell Software, and Rockwell Automation are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.

Table of Contents