LMI Technologies Dynavision SPR-04 User Manual

Intelligent single point sensor
Table of Contents

Advertisement

Quick Links

Copyright LMI Technologies Inc.
Version B
SPR-04
Intelligent
Single Point Sensor
USER MANUAL
by LMI Technologies Inc.
1

Advertisement

Table of Contents
loading

Summary of Contents for LMI Technologies Dynavision SPR-04

  • Page 1 SPR-04 Intelligent Single Point Sensor USER MANUAL by LMI Technologies Inc. Copyright LMI Technologies Inc. Version B...
  • Page 2 No part of this publication may be copied, photocopied, reproduced, transmitted, transcribed, or reduced to any electronic medium or machine readable form without prior written consent of LMI Technologies Inc. This product is covered under one or more of the following patents: USA: 5,096.922...
  • Page 3: Table Of Contents

    ONNECTING TO THE ENSOR 4.5.2. C SPR-04 S ONNECTING UCCESSFULLY TO THE ENSOR 4.5.3. C HANGING ENSOR ARAMETERS 4.5.4. S ENSOR ETTINGS IAGNOSTIC COMMUNICATIONS PROTOCOL 5.1 G ENERAL ACKET ROTOCOL ACKET ESCRIPTION UMERIC ORMATS Copyright LMI Technologies Inc. Version B...
  • Page 4 DROP CONFIGURATION 8.5 D ATA APPEARS ERRATIC OR JUMPY 8.6 D ATA IS NOT AS ACCURATE AS EXPECTED 9.0 MAINTENANCE GETTING FURTHER HELP 10.1 L IST OF GENTS 10.1.1 C ANADA AND THE NITED TATES Copyright LMI Technologies Inc. Version B...
  • Page 5: Specifications

    PECIFICATIONS Specifications Welcome to the SPR-04 The SPR-04 is a member of the DynaVision family of laser-based ranging sensors from LMI Technologies Inc. These sensors employ a laser and the triangulation principle to make precise measurements of range. Triangulation Principle Object ‘...
  • Page 6 PECIFICATIONS 5.000" 4.250" 2.307" 3.400" 6.000" 5.750" 5.500" 0.500" 0.250" Copyright LMI Technologies Inc. Version B...
  • Page 7: Electrical Specifications

    Laser Power < 7 mW 1.1.4.3. Performance Specifications Accuracy +/- 0.005inches (+/- 0.127mm) Resolution (Digital): 0.001 inches (0.025mm) Resolution (Analog): 0.003 inches (0.075mm) Standoff 2" (50mm for metric) Max Range 8" (200mm for metric) Copyright LMI Technologies Inc. Version B...
  • Page 8: Laser Safety

    2.1 OEM Safety Responsibilities LMI Technologies Inc. has filed a report with the US Food and Drug Administration (FDA) to assist OEM's in achieving certification of their own applications by referencing the report accession number. The following paragraphs outline areas that are not covered by LMI Technologies Inc.
  • Page 9: Laser Emission Warning Indicators

    The deactivation of any remote switches must prevent power from being supplied to the lasers. None of the items mentioned above are supplied with the SPR-04 and are the responsibility of the OEM to supply when incorporating the SPR-04 into their system or product. Copyright LMI Technologies Inc. Version B...
  • Page 10: Introduction

     an instrument capable of measuring zero (0) to ten (10) volts DC  a flat surface  Windows 98 or Windows XP (if you are using the sensor with a computer)  an RS-232 to RS-485 converter Copyright LMI Technologies Inc. Version B...
  • Page 11: Connector Pin Out (As Viewed From The Sensor)

    Do not look directly into the laser output window nor point it in the direction of another person (see Laser Safety). Place a suitable target (e.g. a cardboard box or wood block) within the measurement range of the SPR-04 Copyright LMI Technologies Inc. Version B...
  • Page 12: Mechanical Mounting

    (See Figure Below). Calibration of the SPR-04 is relative to the reference face of the sensor. The minimum distance the target can be from the reference face of the sensor is the standoff distance. Copyright LMI Technologies Inc. Version B...
  • Page 13 Therefore guaranteeing a fast response to the target coming into range and going out of range. Copyright LMI Technologies Inc. Version B...
  • Page 14: Sensor Orientation

    INCORRECT CORRECT DANGER INVISIBLE AND/OR VISIBLE LASER RADIATION AVOID DIRECT EXPOSURE TO BEAM PEAK POWER 50 mW WAVELENGTH 600-780 nM CLASS IIIb LASER PRODUCT Material Flow Material Flow Copyright LMI Technologies Inc. Version B...
  • Page 15: Serial Communications

    Transmit and Receive lines are connected to the serial I/O port of a host computer. This serial I/O port must be configured as follows:  Asynchronous  9600 - 57600 baud.  8 Data Bits  One Stop Bit  No Parity Copyright LMI Technologies Inc. Version B...
  • Page 16: Serial Connections Multi-Drop Configurations

     Rx- of all the SPR-04 sensors are connected to the Tx- of the Host A 120 ohm termination resistor must be connected across the Tx+ and Tx- at the end farthest away from the host computer, and the Rx+ and Rx- nearest the host computer. Copyright LMI Technologies Inc. Version B...
  • Page 17: Using Sp Setup Utility

    NOTE : Do not use ” Use global address” option in multi-drop configuration. All sensors have default address of 1. In case of multi-drop configuration, ensure that each sensor has been assigned a unique address before being placed on single communication line. Copyright LMI Technologies Inc. Version B...
  • Page 18: Connecting Successfully To The Spr-04 Sensor

    This is the firmware version of the sensor (Factory Programmed). Model # This is the sensor’ s model number (Factory Programmed). FPGA This is the sensor’ s FPGA version of the sensor (Factory Programmed). Copyright LMI Technologies Inc. Version B...
  • Page 19: Changing Sensor Parameters

    Error checking method used by sensor to communicate with the Host: Checksum (Default) or CRC. To change select the method from the list and click on “ Error Checking” button. Set to Defaults Sets all sensor parameters to factory defaults. Copyright LMI Technologies Inc. Version B...
  • Page 20 Baud Rate. New window will appeared select the Baud Rate from the list and click on “ OK” button. The available rates are 9600, 19200, 39400, and 57600. The factory default Baud Rate is 57600. Copyright LMI Technologies Inc. Version B...
  • Page 21: Sensor Settings/Diagnostic

    ERIAL OMMUNICATION OMMANDS 4.5.4. Sensor Settings/Diagnostic In the “ Settings” window all sensor settings can be changed accordingly. Settings Double click on any setting will open SPR04 Settings display. Copyright LMI Technologies Inc. Version B...
  • Page 22 Analog output when the object sensed is at the furthest point (“ Max Range” ) of the sensor's range. Volt @ Out Of Voltage output when the object sensed is outside the defined “ min range” and “ max range” . Range Copyright LMI Technologies Inc. Version B...
  • Page 23 - use Edit/Set sensor defaults option Error Checking Error checking method used by sensor to communicate with the Host: Checksum (default) or CRC. To change select the method from the “ Edit” / ” Error checking method” . Copyright LMI Technologies Inc. Version B...
  • Page 24 ERIAL OMMUNICATION OMMANDS View Ranges/ Spot Info Allows user to view range and spot information continuously. Click on the “ Update Diagnostics” window to continuously display spot Information Copyright LMI Technologies Inc. Version B...
  • Page 25: Communications Protocol

    Number of bytes depend on the command. [Checksum] 1 byte 2's Complement sum of all bytes inclusive of STX and last data byte. [CRC] 2 byte 16 bit CRC of all bytes inclusive of STX and last data byte Copyright LMI Technologies Inc. Version B...
  • Page 26: Numeric Formats

    Decimal points are assumed depending on data content. For example: If the data is expected in inches then 1234 would represent 1.234". If the data is expected in millimeters then 1234 would represent 12.34 mm Copyright LMI Technologies Inc. Version B...
  • Page 27 Fail If using ChkSum : None Command GET SERIAL ADDRESS OF THE SENSOR Purpose Read the sensor’ s serial address Command Format: [command] Response Format: [command ] [Address] Command (1 Byte) Address (1 Byte) Copyright LMI Technologies Inc. Version B...
  • Page 28 Returns the current reading in inches or metric depending on the sensor mode with offset added . Command Format [Command] Command (1 Byte) Response Format [Command] [position] Command (1 Byte) Position (1 Word) ±(sensor range) Copyright LMI Technologies Inc. Version B...
  • Page 29 Change sensor’ s error-check from CRC to Checksum or vice-versa.. Command Format: [command][Mode] Command (1 Byte) Mode (1 Byte) 0 : CRC / 1 : Chksum Response Format if using CRC : [Command] Command (Byte) Success Fail If using ChkSum : None Copyright LMI Technologies Inc. Version B...
  • Page 30 If using ChkSum : None Command GET MINIMUM ANALOG RANGE Purpose Returns the sensor’ s minimum range Command Format [Command] Command ( 1Byte ) Response Format [Command] [Min. Range] Command (1 Byte) Min. Range (1 Word) Copyright LMI Technologies Inc. Version B...
  • Page 31 (MIN. Range). Command Format: [command][Min_Da_Out] Command (1 Byte) Min_Da_Out (1 Word) ( 0 . . 9999) Response Format if using CRC : [Command] Command (Byte) Success Fail If using ChkSum : None Copyright LMI Technologies Inc. Version B...
  • Page 32 Fail If using ChkSum : None Command ANALOG VALUE GET MAXIMUM Purpose Returns the maximum voltage setting Command Format [Command] Command (1 Byte) Response Format [Command] [Max DAOut] Command (1 Byte) Max_Da_Out (1 Word) Copyright LMI Technologies Inc. Version B...
  • Page 33 , lower the laser power. ) Command Format: [command][Min_Power] Command (1 Byte) Min_Power (1 Byte) ( 1. . 254 ) Response Format if using CRC : [Command] Command (Byte) Success Fail If using ChkSum : None Copyright LMI Technologies Inc. Version B...
  • Page 34 If using ChkSum : None Command GET MAXIMUM LASER POWER Purpose Returns the maximum laser power setting. Command Format [Command] Command (1 Byte) Response Format [Command] [Max. Power] Command (1 Byte) Max_Power (1 Byte) Copyright LMI Technologies Inc. Version B...
  • Page 35 [Command] Command (Byte) Success Fail If using ChkSum : None Command GET THRESHOLD Purpose Returns the threshold value. Command Format [Command] Command (1 Byte) Response Format [Command] [Threshold] Command (1 Byte) Threshold (1 Byte) Copyright LMI Technologies Inc. Version B...
  • Page 36 Returns a variety of values in relation to current spot Command Format [Command] Command (1 Byte) Response Format [Command] [Data . . Data] Command (1 Byte) BasePix (1 Word) SumPixel (1 Word) NumPixel (1 Word) SubPix (1 Word) Range (1 Word) Copyright LMI Technologies Inc. Version B...
  • Page 37 Get Baud Rate of the sensor Get Minimum Sensor Analog Range Get Maximum Sensor Analog Range Get Minimum Analog Output value Get Maximum Analog Output value Get OutofRange Analog Output Set OutofRange Analog Output End Streaming Copyright LMI Technologies Inc. Version B...
  • Page 38: Communications Error Handling

    To guarantee resynchronization of all sensors on a serial line, the host application should stop all transmissions for 200 ms. After this time, all sensors on the serial line will be waiting to receive an STX character. Copyright LMI Technologies Inc. Version B...
  • Page 39: Application Program Development

    = (CRC & 0x8000) CRC <<= 1 CRC |= ((shifter & ch) ? 1 : 0) if (flag) CRC ^= 0x1021 XmitBuffer[4] = CRC (MSB) Xmitbuffer [5] = CRC (LSB) Write(XmitBuffer, COMPORT) StartTimeOutTimer Copyright LMI Technologies Inc. Version B...
  • Page 40 //* Yes! Stop the Timeout Timer *// MsgReceivedFlag = TRUE ENDWHILE IF MsgReceivedFlag = TRUE RcvAddr = RcvBuffer[1] RcvCmd = RcvBuffer[3] RcvLen = length[RcvBuffer] – 2 RcvCRC/Chksum = Last one or two bytes of RcvBuffer; Copyright LMI Technologies Inc. Version B...
  • Page 41 To put sensor into the streaming mode, send command using above described Packet Format Sensor sends out 16 bit data of the following format: MSB and LSB Copyright LMI Technologies Inc. Version B...
  • Page 42: Analog Output

    The out of range signal will respond within 0.53ms of the target moving into, or out of the measurement range. Refer to Figure below to see how the voltage and out of range output respond. Out of Range Analog output (v) Range from face of sensor (inches) Copyright LMI Technologies Inc. Version B...
  • Page 43 The following example of scanning a flat object with a hole shows the analog and the digital output out of range with the following settings Min range 0” Max range 8” Volt@min range 0 VDC Volt@max range 10 VDC Volt@out of range 0 VDC Copyright LMI Technologies Inc. Version B...
  • Page 44 The following example of scanning an object of varying thickness with a hole shows the analog and digital out of range output with the following settings Min range 0” Max range 8” Volt@min range 2VDC Volt@max range 10VDC Volt@out of range 0 VDC Copyright LMI Technologies Inc. Version B...
  • Page 45: Troubleshooting

    Move the target back and forth. Observe the displayed range value on your computer. It should change as the target is moved. If the values change and there is still no analog output, the analog signals are probably incorrectly wired. Copyright LMI Technologies Inc. Version B...
  • Page 46: I N A Multi - Drop Configuration

     It is recommended that the face of the sensor be inspected and cleaned with isopropyl alcohol on a regular basis. Commercial glass cleaners should not be used; many have chemicals that leave a residue on the glass, which can affect optical performance. Copyright LMI Technologies Inc. Version B...
  • Page 47: Getting Further Help

    Call our offices at 1-604-940-0141 for the agent nearest you, or visit our web site at www.lmint.com International EUROPE LMI Selcom Inc. (Sweden) ph 46-31-336-25-10 Box 250, S-433 25 fax 46-31-44-61-79 Ogardesvagen 19 A Partille, Sweden Copyright LMI Technologies Inc. Version B...

Table of Contents