LMI Technologies DynaVision S Series User Manual

Intelligent single point sensor
Table of Contents

Advertisement

Quick Links

SPR-02
Intelligent Single Point Sensor
USER MANUAL
Copyright LMI Technologies Inc. 2003
Version A

Advertisement

Table of Contents
loading

Summary of Contents for LMI Technologies DynaVision S Series

  • Page 1 SPR-02 Intelligent Single Point Sensor USER MANUAL Copyright LMI Technologies Inc. 2003 Version A...
  • Page 2 Copyright LMI Technologies Inc. 2003...
  • Page 3 This document, submitted in confidence, contains proprietary information, which shall not be reproduced or transferred to other documents or disclosed to others or used for manufacturing or any other purpose without prior written permission of LMI Technologies Inc. Copyright LMI Technologies Inc. 2003...
  • Page 4: Table Of Contents

    3.3 P ROTOCOL 3.3.1 G ENERAL ACKET ROTOCOL 3.3.2 P ACKET ESCRIPTION 3.3.3 P ACKET XAMPLE 3.4 E RROR ANDLING 3.4.1 S ENSOR AND HOST RROR ANDLING 3.5 R YNCHRONIZING IMING 3.5.1 S ENSOR 3.5.2 H Copyright LMI Technologies Inc. 2003...
  • Page 5 ROUBLE HOOTING IN A MULTI DROP CONFIGURATION ONE OR MORE SENSORS DO NOT RESPOND AND DO NOT PROVIDE DATA TO THE SERIAL INTERFACE DATA APPEARS ERRATIC OR JUMPY DATA IS NOT AS ACCURATE AS EXPECTED Copyright LMI Technologies Inc. 2003...
  • Page 6 ETUP TILITY 7.3.1 C ONNECTING ENSOR 7.3.2 C HANGING IEWING ENSOR ARAMETERS 7.3.2.1 V ENOSR 7.3.2.2 V EDIT DIAGNOSTICS RANGE SPOT 7.3.2.3 V EDIT DIAGNOSTICS SCAN BUFFER 7.3.2.4 V DIAGNOSTICS ERRORS STATISTICS GETTING FURTHER HELP Copyright LMI Technologies Inc. 2003...
  • Page 7: Introduction

    Internal Power Regulation  Range Readings Available in Digital or Analog Formats  Range redings are available in imperial or metric  0 to 10 VDC analog range output  4 to 20 mA analog range output Copyright LMI Technologies Inc. 2003...
  • Page 8: Power Requirements

    0 C ( 32 F) PERATING MAX +50 C (122 F) -30 C (-22 F) TORAGE MAX +70 C (158 F) Relative Humidity 95% Maximum Non-Condensing at 40 C (104 F) Housing NEMA 4 Gasketed Aluminum Enclosure Copyright LMI Technologies Inc. 2003...
  • Page 9 Ensure there is no damage to the enclosure, laser sensor viewing windows, connector or glass. If you notice significant flaws, please contact LMI Technologies Inc. Copyright LMI Technologies Inc. 2003...
  • Page 10: Communications

    OEM S AFETY ESPONSIBILITIES LMI Technologies Inc. works closely with Original Equipment Manufacturers (OEMs) in achieving certification of their own applications by referencing the report accession number. However, the following precautions should be addressed by the OEM to ensure safety in the operation of laser equipment.
  • Page 11 For Class IIIB laser systems, a delay circuit is required which illuminates the warning indicators on the cabinet and frame for a short period of time (approximately 20 seconds) prior to supplying power to the lasers themselves. Copyright LMI Technologies Inc. 2003...
  • Page 12: Mechanical Mounting

    4.3.2. Set Offset/Cosine/Multiplier). For example, if the zero reference is set up for 23.0" (584 mm) from the face of sensor, material that is located 24.5"(622 mm) from the face of the sensor will have a measured distance of 1.5" (38 mm). Copyright LMI Technologies Inc. 2003...
  • Page 13: Orientation Relative T O Object Being Viewed

    20 are recommended. If the sensor is mounted at an angle from the surface to be measured, the cosine of the angle is programmed to correct the reading (see 4.3.2 Set Offset/Cosine/Multiplier). Copyright LMI Technologies Inc. 2003...
  • Page 14: Multiple Sensor Mounting Requirements

    48" (1,210 mm), but due to the angle of detection appear to be within the field of view. Refer to the diagram above. Two different mounting schemes are recommended to eliminate interference from other lasers: Copyright LMI Technologies Inc. 2003...
  • Page 15 Adjacent sensors should be offset from each other by 0.250" (6.4mm) or greater, according tot he diagram below. The host system should align the data from the sensors. Adjacent sensors are mounted with a minimum offset of 0.250” to prevent interference between sensors. Copyright LMI Technologies Inc. 2003...
  • Page 16: Connector And Interface Requirements

    The sensor has a 10-pin male connector manufactured by Amphenol, ITT Cannon, (Part Number MS-3102E18-IP). The mating 10-pin female cable connector is manufactured by Amphenol, ITT Cannon, (Part MS-3106E18-IS) with cable clamp, (Part number 97-3057- 1010). Copyright LMI Technologies Inc. 2003...
  • Page 17 Analog Out (0-10 VDC) Analog Out (4-20mA) +15 to 30 VDC @ 500 mA 2.4.3 RS-485 ABLE FOR It is recommended that Belden Cable type 8777 (or equivalent) be used as the RS-485 connection to the host. Copyright LMI Technologies Inc. 2003...
  • Page 18: Cable Connector Pin Out

    Cable supplied by LMI communicates via RS232 protocol and has to be ARNING DEMO used for testing purposes only. It is not recommended this cable to be used for final operation, because it is not manufactured to communicate via RS 485 protocol. Copyright LMI Technologies Inc. 2003...
  • Page 19: Cable Power Requirements

    It is important that the air be clean and free from oil and water. The air purge system could be continuous or pulsed air operated from a timer. Copyright LMI Technologies Inc. 2003...
  • Page 20: Rs-485 Hardware Specifications

    The sensor addressed will remain on-line (output driver on) until either a broadcast command has been issued from the host or another sensor has been addressed at which time the new sensor will become active and the previous one will be tri-stated. Copyright LMI Technologies Inc. 2003...
  • Page 21 Notes: Ensure voltage at sensors are maintained between 15V and 30V. Use sense wires on power supplies if long distances are involved. A terminating resistor (120 ohm) should be installed on the end unit across TX-, TX+ and across RX-, RX+ to reduce noise. Copyright LMI Technologies Inc. 2003...
  • Page 22 Number of bytes is command dependent. [Checksum] 1 byte 2s 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. 2003...
  • Page 23 Length = 3 ( 1 command byte + 2 data bytes) 02+01+03+05+144+01= 156 256-156=100 Checksum is 100 =$64 Example 3 Set Scan Filters ( command 14 ($0E )) : Let set Dropout factor t 15 ($000F); Smooth to 75 ($004B) and Order to 5 ($0005) Copyright LMI Technologies Inc. 2003...
  • Page 24 $02 + $01 + $06 + $0E + $00 + $0F + $00 + $4B + $00 + $05 +$A0 + $15 where Length = 6 ( 6 data bytes) For details on how to calculate CRC see our Pseudo-Code description on page 46 of this Manual. Copyright LMI Technologies Inc. 2003...
  • Page 25 When receiving a data packet from the sensor, the host application should verify the validity of the Checksum or CRC byte. Additionally, the application should ensure that the command value returned matches the one sent in the request packet sent to the sensor. Copyright LMI Technologies Inc. 2003...
  • Page 26 To prevent the host or sensor from misinterpreting a duplicated STX character, a mechanism has been devised to differentiate between a genuine start of transmision and STX binary value within the data packet. Copyright LMI Technologies Inc. 2003...
  • Page 27 The host allows a 200ms transmission time for the data packet form the sensor. Similarly, if this time is exceeded, the host will abort the command and await a further STX character. Resynchronization is achieved after a 200ms delay as noted above. Copyright LMI Technologies Inc. 2003...
  • Page 28: Turn Laser O N

    This is the factory setting. OMMAND BYTES OMMAND BYTES ASER ALUE WORD 0..32000 ( sec) ANGE Turns Laser On with optional time-out ESULT Response Format If using : [Command] Command (Byte) 01 Success Fail If using ChkSum: None. Copyright LMI Technologies Inc. 2003...
  • Page 29: Scanning Commands

    Upon receipt of the START Scan command, the sensor will begin sampling after the time set in the SET SCAN INTERVAL command. For example, if the scan interval was set to 1,000 (x .60ms) or 6.0 Copyright LMI Technologies Inc. 2003...
  • Page 30: Stop Scan

    [command][dropout factor][smooth factor][order factor] command (1 byte) dropout factor (1 word) 1..50 smooth factor (1 word) 0..100 order factor (1 word) 1,3,5,7,9,11,13,15,17,19 (must be odd) Response Format: if using CRC: [Command] Command (Byte) Succes Fail Copyright LMI Technologies Inc. 2003...
  • Page 31: Filter Scan Buffer

    This command should only be sent after the STOP SCAN command and not while the buffer is still being filled. Command Format [command] [command] 1 byte 15 Response Format: if using CRC: [Command] Command (Byte) Succes Fail Copyright LMI Technologies Inc. 2003...
  • Page 32: Read High / Low / Average Of Scan

    Obtains the contents of a specified portion, or the entire scan buffer. URPOSE Between 1..66 packets are sent containing scan data. Each packet contains up to 126 samples. Command Format [command] [start scan index][scans to read] Copyright LMI Technologies Inc. 2003...
  • Page 33 If this buffer size is unavailable, smaller packets should be requested. The scan buffer can be read as many times, as the host requires. If unfiltered scans are required the host should read the scan buffer before requesting that the scan buffer be filtered. Copyright LMI Technologies Inc. 2003...
  • Page 34: Set Mode

    320.00 mm = 000.00... -320.00 = 000.00... 266.00 ft = 000.00... -266.00 ft = 000.00... 320.00 m = 000.00... -320.00 m Response Format: if using CRC: [Command] Command (Byte) Succes Fail If using ChkSum: None Copyright LMI Technologies Inc. 2003...
  • Page 35: Set Address

    # stamped on the face of the sensor, the [address] is set. This address is then used to send commands to a specific sensor (see section 2.1 Packaging). Command Format [command] [serial #] [address] Copyright LMI Technologies Inc. 2003...
  • Page 36: Set Analog Output Factors

    Fail If using ChkSum: None  Sensor Rrange is dependent on the actual mode of operation. Refer to NOTE: section 4.3.1. SET MODE. For further explanation of each parameter see chapter 7.3.2. Change Sensor Parameters. Copyright LMI Technologies Inc. 2003...
  • Page 37: Set Configuration Variables

    [60, 120,180] (x 0.01ms) reserved (1 word) Response Format: if using CRC: [Command] Command (Byte) Succes Fail If using ChkSum: None NOTE: For further explanation of each parameter see section 7.3.2. Change Sensor Parameters. Copyright LMI Technologies Inc. 2003...
  • Page 38: Set Baudrate

    CRC : [Command] Command (Byte) Success Fail If using ChkSum : None Command GET BAUD RATE OF THE SENSOR Response Read Sensors Baud setting Response Format: [command ] [Baud] Command (1 Byte) Baud (1 Byte) Copyright LMI Technologies Inc. 2003...
  • Page 39: Set Error Chenging

    4.3.8 Command SET TO DEFAULTS Purpose: Sets all sensor parameters to Factory Defaults. Command Format: [command] Command (1 Byte) Response Format if using CRC : [Command] Command (Byte) Success Fail If using ChkSum : None Copyright LMI Technologies Inc. 2003...
  • Page 40 If using ChkSum : None Command GET MINIMUM LASER POWER Purpose Returns the minimum laser power setting. Command Format [Command] Command (1 Byte) Response Format [Command] [Min. Power] Command (1 Byte) Min. Power (1 Byte) Copyright LMI Technologies Inc. 2003...
  • Page 41 Fail 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. 2003...
  • Page 42 CRC : [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. 2003...
  • Page 43 Sensor start to send out 16 bit data of the following format: MSB and LSB Command Format: [command] Command (1 Byte) Command END STREAMING Purpose Stop the sensor from streaming data mode. Command Format: [command] Command (1 Byte) Copyright LMI Technologies Inc. 2003...
  • Page 44: Read Current Values

    NOTE:  Sensor Range is dependent on the actual mode of operation. Refer to chapter 4.3.1. SET MODE. 4.4.2 OMMAND URRENT ENSOR ETUP Purpose Returns Various setup parameters. Command Format [command] [command] 1 byte 19 Copyright LMI Technologies Inc. 2003...
  • Page 45: Read Current Sensor Status

    0 = not scanning, 1 = scanning NOTE:  sensor range is dependent on the actual mode of operation. Refer to chapter 4.3.1. ‘ SET MODE’ . Also see section 7.3.2.5 for description of [base pix], ext. Copyright LMI Technologies Inc. 2003...
  • Page 46: Read Current Error Status

    0..9.999 Volts out of range (1 word) 0..9.999 Volts reserved (4 words) d/aoutput (1 word ) 0..4095 NOTE:  Sensor Range is dependent on the actual mode of operation. Refer to Section 4.3.1 Set Mode Copyright LMI Technologies Inc. 2003...
  • Page 47: Read Version Number

    (1 word - LSB,MSB) back. The sensor will ignore all other commands until it receives an F (46h). F (46h) Finish high speed poll mode. The sensor changes back to its normal data transfer protocol. Copyright LMI Technologies Inc. 2003...
  • Page 48: Put Sensor I N High Speed Mode

    Success Fail If using ChkSum : None NOTE: The sensor will stay in the high speed polling mode even if the sensor gets powered down and up again unless the F character has been sent. Copyright LMI Technologies Inc. 2003...
  • Page 49 CRC/CheckSum mode Write Threshold Set Maximum Laser Power Set Minimum Laser Power Set Sensors Baud Rate Get Maaximum Laser Power Get Minimum Laser Power Get Threshold Start Streaming Get Baud Rate of the sensor End Streaming Copyright LMI Technologies Inc. 2003...
  • Page 50: Trouble Shooting

    TROUBLESHOOTING This section will help you with any difficulties you may have in operating the SPR-04 sensor. Before following the suggestions be sure that you have:  a clean and regulated power source  a calibrated voltage measurement device (DVM/Oscilloscope) ...
  • Page 51: Data Is Not As Accurate As Expected

     Make sure target is not highly reflective or black. Optical sensors require diffused light to reflect back to the sensor, too much or too little can cause sensor to be unable to read surfaces correctly. Copyright LMI Technologies Inc. 2003...
  • Page 52: Pseudo Code

    (i = 0; i < length[xmitBuffer]; i++) ch = XmitBuffer[i] for (shifter = 0x80; shifter; shifter >>= 1) flag = (CRC & 0x8000) CRC <<= 1 CRC |= ((shifter & ch) ? 1 : 0) Copyright LMI Technologies Inc. 2003...
  • Page 53 // We've already got an STX so// RcvBuffer[BufferPtr] = ByteIn // add this byte to the queue// IF BufferPtr = 2 // Is this the Length byte?// RcvLength = ByteIn + 3 // Calc how many bytes we'll get// Copyright LMI Technologies Inc. 2003...
  • Page 54 IF BufferPtr = 2 RcvLength = ByteIn + 3 BufferPtr = BufferPtr + 1 IF BufferPtr > RcvLength //* Got the Full Message ? *// StopTimeOutTimer //* Yes! Stop the Timeout Timer *// MsgReceivedFlag = TRUE ENDWHILE Copyright LMI Technologies Inc. 2003...
  • Page 55 // Set the status flag - We're done// ENDIF ENDWHILE IF MsgReceivedFlag = TRUE // Packet received or Timeout ? // RcvChecksum = 0 // Packet received. Then validate it// RcvAddr = RcvBuffer[1] RcvCmd = RcvBuffer[3] Copyright LMI Technologies Inc. 2003...
  • Page 56 // Yes! Does the response match? // CommandError = TRUE // No! Indicate the error// ELSE // Otherwise, get the range value// SensorRange = WORD(RcvBuffer[4]) ENDIF ENDIF ELSE TimeOutError = TRUE // Too much time passed// ENDIF Copyright LMI Technologies Inc. 2003...
  • Page 57: Purpose

    Analog GND black Analog 4 – 20 mA Output USING SPR02 SETUP UTILITY Setup software is provided as a convenient method to test/setup the sensor using an IBM/PC/AT or equivalent, with Windows95/98 or Windows NT Copyright LMI Technologies Inc. 2003...
  • Page 58: Connecting To The Sensor

    Note: Do not use “ Use Global Address” option in multidrop configuration. All sensors have default address of 1. In case of multidrop configuration, ensure that each sensor has been assigned a unique address before being placed on single multidrop line. Copyright LMI Technologies Inc. 2003...
  • Page 59: Changing/Viewing Sensor Parameters

    Each sensor must have a different address. To change the address of the sensor, enter new address and click on “ Address” button. Note: When changing the address, only one sensor must be communicating with the host Copyright LMI Technologies Inc. 2003...
  • Page 60 To change this value, enter the new value in the edit box and click on the “ Set Offsets” button. This value is metric or inches, depending on the mode. This setting is very useful when mounting requires an adjusted zero point. Copyright LMI Technologies Inc. 2003...
  • Page 61 : Generally the voltage range defined from ‘ Volt @ Min’ to ‘ Volt @ Max’ is spread over the Note range defined from ‘ Min Out’ to ‘ Max Out’ . If the standard(metric/Imperial) is Copyright LMI Technologies Inc. 2003...
  • Page 62 Dropout filter is applied to the scan buffer before the moving average filter. Results are as follows: Dropout Count Result No dropouts removed. Any bad laser reading  10 samples wide are filled in with previous valid data. Copyright LMI Technologies Inc. 2003...
  • Page 63 ” button. Set Averaging Period Turns Laser ON – turns laser ON with – 1 option (see command 01) Laser On Laser Off Turns Laser OFF. Set Sensor To Defaults Sets all sensor parameters to defaults. Copyright LMI Technologies Inc. 2003...
  • Page 64: View Edit Diagnostics Range Spot

    ‘ PeakPix’ is the highest pixel of the spot.  ‘ Laser Power’ is the actual(current) laser power of the sensor.  ‘ Scan Status’ indicates if the internal scan buffer is On or Off. Copyright LMI Technologies Inc. 2003...
  • Page 65 Continuous range reading (both Analog and Digital) can be viewed by clicking on ” Start” button. “ Stop” button will stop the Continuous display. If “ Show All ” is not ‘ Checked’ then only “ Range” reading is displayed. Copyright LMI Technologies Inc. 2003...
  • Page 66: View / Edit / Diagnostics _ Scan Buffer

    Filters the scan buffer using specified filter factors, and display high, low, and average sample reading from the scan buffer. Read Address list From File Reads the scan buffer and store is in a file(specified by user). Copyright LMI Technologies Inc. 2003...
  • Page 67: View /Edit / Diagnostics _ Errors / Statistics

    This could indicate poor host software or a poor communications link. Calibration This refers to the internal checking of the sensor to ensure its calibration tables have not been corrupted. Click on the “ Update” button to update the display. Copyright LMI Technologies Inc. 2003...
  • Page 68: 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-36-25-24 Box 250, S-433 25 fax 46-31-44-61-79 Ogardesvagen 19 A Partille, Sweden Copyright LMI Technologies Inc. 2003...

This manual is also suitable for:

Dynavision spr-02

Table of Contents