SCHMITT Acuity AccuProfile 820 Series User Manual

Laser scanner
Table of Contents

Advertisement

Quick Links

AccuProfile™ 820 Laser Scanners
User's Manual
Manual p/n LLL008201 – Rev. 3.4
For use with Acuity products
March 15, 2017
Acuity
A product line of Schmitt Industries, Inc.
2765 NW Nicolai St.
Portland, OR 97210
www.acuitylaser.com
Acuity AP820 Laser
Scanners Rev. 3.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Acuity AccuProfile 820 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for SCHMITT Acuity AccuProfile 820 Series

  • Page 1 AccuProfile™ 820 Laser Scanners User’s Manual Manual p/n LLL008201 – Rev. 3.4 For use with Acuity products March 15, 2017 Acuity A product line of Schmitt Industries, Inc. 2765 NW Nicolai St. Portland, OR 97210 www.acuitylaser.com Acuity AP820 Laser Scanners Rev. 3.3...
  • Page 2 Schmitt Industries Incorporated does warrant as the only warranty provided to you, that the product which is furnished to you, will be free from defects in materials and workmanship under normal use for a period of twelve (12) months from the date of delivery to you as evidenced by a copy of your warrant receipt.
  • Page 3: Procedures For Obtaining Warranty Service

    Industries will not accept any returned product without an RMA number. 2. Ship the product to Schmitt Industries, postage prepaid, together with your bill of sale or other proof of purchase. your name, address, description of the problem(s). Print the RMA number you have obtained on the outside of the package.
  • Page 4: Table Of Contents

    Table of Contents Procedures for Obtaining Warranty Service ................1 Table of Contents ........................2 Table of Figures ......................... 4 Introduction......................... 5 General Overview ......................5 Definition of Terms ......................6 Quick Start Instructions ....................6 2.1.1 Mounting and Power connections ................6 2.1.2 Ethernet connections.....................
  • Page 5 Data Formats ........................21 Profile data ........................21 Encoder Position Data ....................21 Register of Functions ....................22 Sensor temperature..................... 22 Scanner Status Register ....................22 Version Evaluation Registers ..................22 Operating Hours Counter .................... 22 Switch-on Counter ....................... 23 Input Status .........................
  • Page 6: Table Of Figures

    12.3 Establishing Ethernet communication with the AP820 ..........33 12.4 Calling EthernetScanner_Connect, Ethernet_Scanner_Disconnect, and EthernetScanner_GetConnectStatus. . 34 12.5 Getting AP820 Parameters by calling EthernetScanner_GetInfo ....... 35 12.6 Getting Profile Data from the AP820 ................ 36 12.6.1 Examples EthernetScanner_GetScanRawData ............ 37 12.7 Description of other parameters returned by EthernetScanner_GetScanRawData ..39 12.8...
  • Page 7: Introduction

    1. Introduction This section is a guide to getting started with the AP820 laser sensor and this manual. The AP820 scanner has a number of configurable parameters, a minimum of which must be set before the scanner can be used the first time. However, once the parameters are set, the sensor will default to that configuration until changed by the user.
  • Page 8: Definition Of Terms

    necessary. Therefore every scanner can be exchanged on-site, without concern for recalibration. 1.2 Operating Guidelines – Safety Issues Do not point the line laser at any person, particularly a person’s eyes or face. Do not attempt to disassemble the scanner. Improper disassembly will destroy the optical alignment of the sensor and necessitate factory repairs.
  • Page 9 Attach the Power / Data cable’s M12-A-coded, 8-pin female plug to the male Acuity AP820 Laser Scanners Rev. 3.3...
  • Page 10: Ethernet Connections

    receptacle on the top of the scanner while the power is off. Connect the Supply + (White) and Return (Green) wires of the sensor cable to a 10 to 30 volt DC power supply (or use the sensor’s power supply if it came with one). 2.1.2 Ethernet connections Attach the Ethernet cable’s 4-pin female plug to the male receptacle on the top of the scanner.
  • Page 11: General Description

    Troubleshooting Notes: If you are unable to “Connect” to the scanner through the demo program, it may be necessary to manually configure the IP: Connect the device to a PC Within your Network Connections window, change “local area” network connection properties for the Ethernet interface in use for TCP/IP as follows: The IP of the scanner is set to default to 192.168.1.245, the PC has to be set to the appropriate network settings to 192.168.1.244 (or a value that is compatible with...
  • Page 12: Figure 3 Ap820-60 Mechanical Dimensions

    Figure 1 AP820-5 mechanical dimensions Figure 2 AP820-20 mechanical Figure 3 AP820-40 mechanical dimensions dimensions Acuity AP820 Laser Scanners Rev. 3.3...
  • Page 13: Figure 6 Ap820-240 Mechanical Dimensions

    Figure 5 AP820-80 mechanical Figure 4 AP820-60 mechanical dimensions dimensions Figure 6 AP820-120 mechanical dimensions Acuity AP820 Laser Scanners Rev. 3.3...
  • Page 14: Figure 7 Ap820-400 Mechanical Dimensions

    Figure 7 AP820-240 mechanical dimensions Acuity AP820 Laser Scanners Rev. 3.3...
  • Page 15: Laser Safety

    Figure 8 AP820-400 mechanical dimensions 3.3 Contents Your AP820 Scanner includes the following items: 1. The scanner unit 2. A 2m Ethernet cable with connector (purchased separately) 3. A 2m power / data cable with solder wire termination (purchased separately) 4.
  • Page 16: Sensor Maintenance

    For heavy dust or dirt buildup on the lenses, rinse the lenses before wiping clean to avoid lens scratching. If your sensor does not function according to specifications, contact Schmitt Industries, Inc. 3.6 Sensor Service The AP820 sensor has no user-serviceable parts.
  • Page 17: Installation And Checkout

    4. Installation and Checkout 4.1 Mounting The scanner should be securely mounted to rigid heat dissipating mechanical fixtures, brackets or stages. In environments of high vibration, consider using insulating bushings with a bracket to minimize the transfer of this movement to the scanner. The floors of some industrial environments could transfer vibration to scanner fixtures and care should be taken to eliminate this source of displacement measurement error.
  • Page 18: Ethernet Cable

    4.2.1.1 Power Supply The Green wire is the Power Supply Common return, also named Ground. It carries the return current for the power supply. The White wire is the Power Supply Input to the sensor. The sensor accepts a wide range from +10 to +30 VDC power and consumes <4 W.
  • Page 19: Power On

    4.3 Power On Caution: be sure that the laser will not cause an eye hazard. When power is applied the red or blue laser line will be emitted from the top window of the AP820 scanner. The LEDS adjacent to the cable connectors on the scanner head should illuminate.
  • Page 20: Ethernet Interface Operation

    5. Ethernet Interface Operation An Ethernet interface will be used for the transmission of the profile data. The recommended procedure for data readout is described in the programming example. For a normal operation of the scanner it is not necessary to send initialization data to the scanner. The electronics in the head of the scanner will store all settings automatically in order to provide the optimal profile.
  • Page 21: Transmission Formats Sensor Data

    6. Transmission Formats Sensor Data Blue marked words refer to the description of data formats. Addresses without a corresponding headword in the register "Description“ do not contain any function but can contain data. 6.1 Scanner data The profile data as well as the status information will be transmitted at 2048 Bytes per Scan.
  • Page 22: Info-Telegram

    1575 Outlet of laser adjustment control 1576 Version evaluation Reg2 1577 to [464] 2040 2041 to Sensor Pixel amount Typ. = 290 2042 horizontal 2043 to Sensor Pixel amount vertical Typ. = 752 2044 2045 to FIFO-Charging level maximum value 524287 2047 6.2 Info-Telegram The Info-Telegram can be received by sending the command 0x21 to the scanner.
  • Page 23 7. Data Formats 7.1 Profile data For every profile, 290 points will be sent. Every point in the profile will be defined through an X- and a Z-value. The I-value refers to the intensity of a point and can be used to define points as valid or invalid.
  • Page 24 7.2 Encoder Position Data The data for encoder positions are only available when A and B phases of an incremental encoder are connected to the digital inputs 1 and 2. Encoder inputs: Protocol Incremental Signal A+B 90° Phase shifted Input level Low = 0 ... 2 V High = 5 ... 30 V Register Bit No.
  • Page 25 7.3 Register of Functions You can read back the data of the register of functions of the AP820 laser sensor. The content of this register is described in Section 8.2. 7.4 Sensor temperature A temperature probe is built into the AP820 sensor. The temperature will be measured one time per second.
  • Page 26: Switch-On Counter

    Reg.2; Byte 1567 6 to 0 operating hours counter Bit 13 to 7 Reg.3; Byte 1568 6 to 0 operating hours counter Bit 20 to 14 Reg.4; Byte 1569 6 to 0 operating hours counter Bit 27 to 21 Reg.5; Byte 1570 6 to 0 operating hours counter Bit 31 to 28 7.8 Switch-on Counter...
  • Page 27: Fifo-First In, First Out

    Register Bit No. Meaning Number of Vertical pixels 6 to 0 Sensor Number of pixels Bit 6 to 0 Reg.1; Byte 2043 6 to 0 Sensor Number of pixels Bit 13 to 7 Number of Vertical pixels Reg.2; Byte 2044 7.12 FIFO-First In, First Out The Scanner has a Data FIFO of 512 kByte.
  • Page 28: Sensor Data

    7.15 Sensor Data Register Bit No. Meaning value = 0 value = 1 Sensor Data Reg.1 Data resolution 0.1 mm 1.0 mm 7.16 Version Firmware This is the version of the sensor’s Ethernet firmware. An ASCII String will be sent. For example see below.
  • Page 29: Scanner Control

    8. Scanner control 8.1 Data format for Register-addresses and Data For normal operation, it is not necessary to write the registers. An initialization of the scanner is not necessary. The control commands are composed as follow: Bit No. Meaning value = 0 value = 1 control command 6 to 0...
  • Page 30 Measurement 1 = Trigger mode control continuously Exposure control 0 = Automatic 1 = Manual Mode 23 to 27 Reset FIFO Erases all data in the internal FIFO Software Trigger Function only when measurement control = 1 Reset Sensor All register values on Default value Reset Ethernet Module...
  • Page 31: Description Of The Control Commands

    9. Description of the control commands 9.1 Exposure control This register is for the manual control of the sensor's exposure. It only has an effect when the register exposure control mode is set to 1 for manual. Register Bit No. Meaning Reg.1 6 to 0...
  • Page 32: Agc (Amplification Control)

    9.5 AGC (amplification control) When this function is activated, the scanner dynamically controls the amplification of the sensor signal. This is an automatic function that offers optimal results on most surfaces, in cases of surfaces with varying reflectivity. However, when scanner looks into...
  • Page 33: Description Of The Web-Servers

    10. Description of the Web-Servers Address the scanner by using the integrated Web-Server with the help of a web-browser. The parameters and the scan profile will be indicated. A scan profile update is not performed automatically until the scanner is updated via the website. Additionally, the access with the web-browser allows the set up directly of the working IP-address, the Port and the Subnet mask.
  • Page 34: Programming Using Windows Dll Calls

    11. Programming using Windows DLL Calls The following discussion is an attempt to show, step by step, what is required to set up, program, and get results from an AP820 laser using Windows DLL function calls. To illustrate the use of the Windows DLL functions, this document presents examples of how to call each of the functions from the Visual Basic DotNet environment.
  • Page 35: Calling Ethernetscanner_Getversion

    UInteger) As UInteger End Function <DllImport("EthernetScanner.dll")> _ Private Function EthernetScanner_WriteData(ByVal pScanner IntPtr, ByVal Buffer Byte(), ByVal Buffersize UInteger) As UInteger End Function <DllImport("EthernetScanner.dll")> _ Private Function EthernetScanner_GetVersion(<MarshalAs(UnmanagedType.LPStr), Out()> ByVal Version StringBuilder, ByVal Result UInteger) As UInteger End Function <DllImport("EthernetScanner.dll")> _ Private Shared Function EthernetScanner_GetScanRawData(ByVal pScanner IntPtr,...
  • Page 36: Calling Ethernetscanner_Connect, Ethernet_Scanner_Disconnect, And Ethernetscanner_Getconnectstatus

    Later, once you’ve established communications with the laser, you can configure the laser’s working IP address to be another address, if desired. 11.4 Calling EthernetScanner_Connect, Ethernet_Scanner_Disconnect, and EthernetScanner_GetConnectStatus. To prove that the AP820 is connected properly and that we are able to “talk” to it via Ethernet, we will have to call EthernetScanner_Connect, and then verify that we are connected by calling EthernetScanner_GetConnectStatus.
  • Page 37 Where: pScanner is the pointer returned by EthernetScanner_Connect Status is a unsigned integer used as a buffer to contain the status code when the function returns. The status codes are: 0: Disconnected 1: Disconnecting 2: Connecting 3: Connected Normally, when call EthernetScanner_GetConnectStatus after...
  • Page 38: Getting Profile Data From The Ap820

    Public LaserIntensityThreshold As UInteger Public LaserTargetValue As UInteger Public PeakWidthLimit As UInteger Public PeakThreshold As UInteger Public Synchronization As UInteger Public ProtocolVersion As UInteger Public ShutterControl As UInteger Public Linearization2 As Integer Public Speed As UInteger Public FPGAVersion As UInteger Public DigitalInput As UInteger...
  • Page 39: Examples Ethernetscanner_Getscanrawdata

    Byte 1 – Bits 6 to 0: Contains Bits 6 to 0 of the raw X value Byte 2 – Bits 6 to 0: Contains Bits 13 to 7 of the raw X value Byte 3 – Bits 6 to 0: Contains Bits 6 to 0 of the raw Z value Byte 4 –...
  • Page 40 End Function Note that the above function returns raw data which has not yet been scaled in mm. The full range of X is 0 to 4095, and the full range of Z is 0 to 4095. The intensity range is 1 to 254, and can be used to determine if a particular data point is valid. To scale the data in millimeters, use the following formulae: Xmm = (Xraw / 4096) * ScanRangeEnd * 0.1 Zmm = (Zraw / 4096) * MeasuringRange * 0.1...
  • Page 41: Writing Commands To The Ap820

    XArray(I * 2) = CUInt(Buffer(66 + (I * 5)) &H7F) CUInt((Buffer(66 + (I * 5) + 1) &H7F) << 7) Lower 6 bits of Z Higher 6 bits of Z Zarray(I * 2) = CUInt(Buffer(66 + (I * 5) + 2) &H7F) CUInt((Buffer(66 + (I * 5) + &H7F) <<...
  • Page 42: Examples: Laser On, Triggering

    Private Function EthernetScanner_WriteData(ByVal pScanner IntPtr, ByVal Buffer Byte(), ByVal Buffersize UInteger) As Uinteger Where: pScanner is the pointer returned by EthernetScanner_Connect Buffer contains the array of bytes to be sent to the laser Buffersize is the number of bytes to be sent (i.e. the size of Buffer) This function returns the number of bytes written on success, and –1 on failure.
  • Page 43: Example: Limiting The Range Z

    Private Function SetLaserMeasurementControlMode(ByVal SampleContinuously Boolean) As UInteger Buffer(1) As Byte Buffer(0) = &H14 'bit 7 is 0, bits 6 to 0 indicate address 20 SampleContinuously Then 'continuous mode Buffer(1) = &H80 'bit 7 is 1, bit 3 is 0 Else 'trigger mode Buffer(1) = &H88 'bit 7 is 1, bit 3 is 1...
  • Page 44: Description Of Register Addresses Accessible Via Ethernetscanner_Writedata

    11.9 Description of Register Addresses accessible via EthernetScanner_WriteData The following is a table of settings/commands and associated Register Addresses which can be accessed via the EthernetScanner_WriteData function (Refer to section 9 for descriptions of the purpose of each of the commands): Bytes 0 to 1 –...

Table of Contents