Page 1
Original operating instructions AMS 338i Optical laser measurement system – EtherCAT We reserve the right to make technical changes EN 2021/04/30 - 50113361...
Page 3
AMS 338 The main menus Device information - main menu AMS 338i 120 Leuze electronic This menu item contains detailed informa- tion on GmbH & Co. KG • Device type SW: V 1.3.0HW:1 • Manufacturer SN: ----------------------- • Software and hardware version •...
Note! The Declaration of Conformity for these devices can be requested from the manufacturer. The manufacturer of the product, Leuze electronic GmbH & Co. KG in D-73277 Owen, possesses a certified quality assurance system in accordance with ISO 9001. EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automa- tion GmbH, Germany.
With its AMS 3xx product series, Leuze makes available a wide range of internationally rele- vant interfaces. Note that each interface version listed below corresponds to a different AMS 3xx model.
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use. Read the technical description before commissioning the device. Knowledge of this ...
Exemption of liability Leuze electronic GmbH + Co. KG is not liable in the following cases: • The device is not being used properly. • Reasonably foreseeable misuse is not taken into account.
The device must not be tampered with and must not be changed in any way. There are no user-serviceable parts inside the device. Repairs must only be performed by Leuze electronic GmbH + Co. KG. NOTE Affix laser information and warning signs! Laser information and warning signs are attached to the device (see figure 2.1).
Page 13
Safety A Laser aperture B Laser warning sign C Laser information sign with laser parameters Figure 2.1: Laser apertures, laser warning signs AMS 338 Leuze electronic GmbH + Co. KG...
Page 14
18 μs 18 μs Wavelength: 655 nm 655 nm CLASS 2 LASER PRODUCT IEC 60825-1:2014 Complies with 21 CFR 1040.10 IEC 60825-1:2014 Figure 2.2: Laser warning and information signs – supplied stick-on labels Leuze electronic GmbH + Co. KG AMS 338...
Fast commissioning / operating principle Fast commissioning / operating principle Note! Below you will find a short description for the initial commissioning of the AMS 338i. Detailed explanations for the listed points can be found throughout the handbook. Mounting the AMS 338...
Detailed information can be found in Chapter 8. AMS 338 on the EtherCAT Detailed information can be found in Chapter 9. Leuze electronic GmbH + Co. KG AMS 338...
Monochromatic graphical display, 128 x 64 pixels 4 LEDs, 2 of which are used to display the EtherCAT connection Inputs/outputs Quantity 2, programmable Input Protected against polarity reversal Output Max. 60 mA, short-circuit-proof AMS 338 Leuze electronic GmbH + Co. KG...
Page 18
This is a Class A product. In a domestic environment this product may cause radio interference, in which case the operator may be required to take adequate measures. The AMS 338 is designed in accordance with protection class III for supply with PELV (protective extra-low voltage). Leuze electronic GmbH + Co. KG AMS 338...
M5 screw for alignment Knurled nut with WAF4 hexagon socket and M5 nut for securing Optical axis Zero point of the distance to be measured Figure 4.1: AMS 338 dimensioned drawing AMS 338 Leuze electronic GmbH + Co. KG...
Note! Please note that the shown name plate is for illustration purposes only; the contents do not correspond to the original. Save the original packaging for later storage or shipping. AMS 338 Leuze electronic GmbH + Co. KG...
AMS 338 and the reflector. Use M5 screws to fasten the laser measurement system. Secure the screws with a lock washer to protect against loosening caused by vibrations. Leuze electronic GmbH + Co. KG AMS 338...
Page 23
). Knurled nut and nut must not be tightened until alignment Figure 5.2 has been completed. Attention! The device must not be opened. Failure to comply will render the guarantee void. Warranted features cannot be guaranteed after the device has been opened. AMS 338 Leuze electronic GmbH + Co. KG...
A mounting bracket for mounting the AMS 338 on a flat, horizontal surface is available as an optional accessory. Type designation: MW OMS/AMS 01 Part no.: 50107255 Laser beam Figure 5.3: Optional mounting bracket Leuze electronic GmbH + Co. KG AMS 338...
Measurement distance up to 120m: minimum parallel spacing X ≥ 600mm Measurement distance up to 200m: minimum parallel spacing X ≥ 750mm Measurement distance up to 300m: minimum parallel spacing X ≥ 750mm AMS 338 Leuze electronic GmbH + Co. KG...
Depending on the size of the used reflector, the DDLS can be mounted with a minimum parallel spacing of 100mm to the AMS 338 . The parallel spacing is independent of the distance. Leuze electronic GmbH + Co. KG AMS 338...
Use the M5 screws to mount the deflector unit. Secure the screws with a lock washer to protect against loosening caused by vibrations. Figure 5.5: Mounting variants of the US AMS 01 laser beam deflector unit AMS 338 Leuze electronic GmbH + Co. KG...
Installation and mounting 5.3.2 Dimensioned drawing of US AMS 01 deflector unit Laser beam Figure 5.6: Dimensioned drawing of US AMS 01 deflector unit Leuze electronic GmbH + Co. KG AMS 338...
Height of the spring in non- preloaded state A Mirror Figure 5.7: Photo and dimensioned drawing of the US 1 OMS deflector unit The laser light spot is aligned with the reflector as described in Chapter 5.2. AMS 338 Leuze electronic GmbH + Co. KG...
Reflectors General information The AMS 338 measures distances against a reflective tape specified by Leuze. All technical data given for the AMS 338 , such as the operating range or accuracy, can only be achieved with the reflective tape specified by Leuze.
Do not use any abrasive agents. A conventional household detergent Cleaning can be used as a cleaning agent. Rinse with clear water and dry the surface. Reflector storage Store in a cool and dry place. AMS 338 Leuze electronic GmbH + Co. KG...
Do not use any abrasive agents. A conventional household Cleaning detergent can be used as a cleaning agent. Rinse with clear water and dry the surface. Reflector storage Store in a cool and dry place. AMS 338 Leuze electronic GmbH + Co. KG...
The reflector sizes shown below are a recommendation from Leuze for on-vehicle mounting of the AMS 338i. For stationary mounting of the AMS 338i, a smaller reflector is generally sufficient for all measurement distances. For this reason, two smaller reflector sizes are avai lable in the self-adhesive variant "-S".
For this purpose, use the alignment elements provided on the AMS 338 … (see chapter 5.2 "Mounting the AMS 338i"). If necessary, remove the protective film from the reflector. Attention! The "TOP" label on the reflectors should be aligned the same as the connections of the...
Page 37
Direct reflection due to the triple structure Deflected surface reflection due to the pitch of the reflective tape Figure 6.3: Mounting the reflector Pitch approx. 1° Spacer sleeves Figure 6.4: Pitch of the reflector AMS 338 Leuze electronic GmbH + Co. KG...
Page 38
Direct reflection due to the triple structure Deflected surface reflection due to the pitch of the reflective tape Figure 6.5: Mounting of heated reflectors Pitch approx. 1° Spacer sleeves Figure 6.6: Pitch of the heated reflector Leuze electronic GmbH + Co. KG AMS 338...
Reliable operation of the and, thus, max. operating range and accuracy can only AMS 338 be achieved with the reflective tape specified by Leuze. Correct operation cannot be guar anteed if other reflectors are used! AMS 338 Leuze electronic GmbH + Co. KG...
The laser measurement systems are designed in accordance with protection class III for sup ply by PELV (protective extra-low voltage with reliable disconnection). Note! Degree of protection IP65 is achieved only if the connectors and caps are screwed into place! Leuze electronic GmbH + Co. KG AMS 338...
BUS IN (4-pin socket, D-coded) Name Comment BUS IN Transmit Data + Receive Data + Transmit Data - TD+ 1 Receive Data - Thread Functional earth (housing) M12 socket (D-coded) Table 7.2: BUS IN pin assignment AMS 338 Leuze electronic GmbH + Co. KG...
RS232-RX Receiving line RS 232/service data RS232-RX Not used M12 socket (A-coded) Thread Functional earth (housing) Table 7.4: Pin assignment - Service Note! The service interface is designed only for use by Leuze! Leuze electronic GmbH + Co. KG AMS 338...
Display and control panel AMS 338i Display and control panel AMS 338 Structure of the control panel Status indicator Bus/interface info Bar graph Distance measurement value Control buttons Figure 8.1: Structure of the control panel using the AMS 304 PROFIBUS device variant as...
Page 44
Display and control panel AMS 338i Warning - laser prefailure message: Laser diode old, device still functional, exchange or have repaired. Warning - temperature monitoring: Internal device temperature above/below permissible range. Plausibility error: Implausible measurement value. Possible causes: light beam interruption, outside of measurement range, permissible internal device temperature considerably exceeded or traverse rate >10m/s.
Display and control panel AMS 338i 8.2.2 LED status indicators PWR LED Device OFF - No supply voltage Flashing green Power LED flashes green - No measurement value output - Voltage connected - Self test running - Initialization running - Boot process running...
Page 46
Display and control panel AMS 338i Flashing green BUS LED flashes green - "PRE-OPERATIONAL" state - "SAFE-OPERATIONAL" state Green continuous light BUS LED green - "OPERATIONAL" state Flashing green/red BUS LED flashes green/red - Bus error - Time out - Process Data Watchdog Timeout...
Display and control panel AMS 338i 8.2.3 Control buttons Navigate upward/sideways. Down Navigate downward/sideways. Exit menu item. ENTER Confirm/enter value, change menu levels. Navigating within the menus The menus within a level are selected with the up/down buttons The selected menu item is activated with the enter button Press the ESC button to move up one menu level.
Display and control panel AMS 338i Menu description 8.3.1 The main menus After voltage has been applied to the laser, device information is displayed for several seconds. The display then shows the measurement window with all status information. Device information - main menu...
Display and control panel AMS 338i Note! The rear cover of this manual includes a fold-out page with the complete menu structure. It describes the menu items in brief. 8.3.2 Parameter menu Parameter handling submenu The following functions can be called up in the Parameter handling submenu: •...
Page 50
Eeprom and the associated ESC register via the master (typically TwinCAT). In this case, too, the SSA is persistently stored in the AMS 338i. The master (TwinCAT) can determine whether it wants to use the EtherCAT address (auto-increment address) or the SSA to address the AMS.
Page 51
Display and control panel AMS 338i I/O submenu Table 8.4: I/O submenu Level 3 Level 4 Level 5 Selection/configuration option Standard Description I/O 1 Port con- Input/Output Output figuration Defines whether I/O 1 functions as an output or input. Switching...
Page 52
Service Baud rate 57.6kbit/s / 115.2kbit/s 115.2kbit/ RS232 The service interface is only available to Leuze personnel. Format 8,e,1 / 8,n,1 8,n,1 The service interface is only available to Leuze personnel. Leuze electronic GmbH + Co. KG AMS 338...
Display and control panel AMS 338i 8.3.3 Language selection menu Language selection o Deutsch English o Español o Français o Italiano 5 display languages are available: • German • English • Spanish • French • Italian The AMS 338 is delivered from the factory with the display preset to English.
Display and control panel AMS 338i Operation An operating process is described here using parameter enable as an example. Parameter enable During normal operation parameters can be viewed only. If parameters are to be changed, the ON menu item in the Parameter -> Parameter handling -> Parameter enable menu must be activated.
Page 55
Display and control panel AMS 338i Note! If a password was stored, parameter enable is not possible until this password is entered; see "Password for parameter enable" below. Password for parameter enable Parameter entry on the AMS 338 can be protected with a password. The password can be...
From an Ethernet point of view, an EtherCAT bus segment is nothing more than a single, large Ethernet participant which sends and receives Ethernet telegrams. Within the "partic- ipant", however, there is a multitude of EtherCAT slaves rather than one single Ethernet controller. Figure 9.1: Topology example Leuze electronic GmbH + Co. KG AMS 338...
If the desired cable lengths are not available, you can assemble the cables yourself. For this purpose, Leuze offers a D-coded M12 round connector for BUS IN and BUS Out. When doing so, make certain that you connect TD+ on the M12 connector with RD+ on the RJ-45 connector and TD- on the M12 connector with RD- on the RJ-45 connector, respectively, etc.
The maximum segment Network from length must not exceed the first AMS to EtherCAT Absolutely required 100 m for 100Base-TX the last AMS Twisted Pair (min. Cat. 5) Table 9.1: Cable lengths and shielding Leuze electronic GmbH + Co. KG AMS 338...
BUS OUT. On a stub cable, the AMS 338 can be connected to BUS OUT or BUS IN. For the connection of two AMS 338i, the "KB ET … SSA" ready-made cables are pre ...
AMS 338 . If the activation of the output data was not possible, the measurement system remains in the SAFE OPERATIONAL state and outputs an error message. Leuze electronic GmbH + Co. KG AMS 338...
The ESI file describes the entire functionality of the AMS 338 The ESI file has the name AMS 338 .xml and is available for download on the Leuze home page www.leuze.com. Vendor ID for the AMS 338...
Overview of encoder-specific object area of AMS 338 (DS406) Object address in hex Objects of AMS 338 from encoder profile DS406 Class 1 6000 Operating parameters 6004 Position value 6500 Operating status 6501 Measurement value resolution Leuze electronic GmbH + Co. KG AMS 338...
Access Value range Comment index (hex) (hex) Minimum Maximum Default Manufacturer ID 1018 Vendor ID u 32 number The Vendor ID assigned by Leuze for the AMS 338 is 121 = 289 AMS 338 Leuze electronic GmbH + Co. KG...
Status from value sta- u 16 2026 00 10 object 2026 Data structure of TPDO3 for transmission of velocity values and velocity status Byte Comment Velocity value See object description 2020 Sub-index 04 Leuze electronic GmbH + Co. KG AMS 338...
16 50000 1000 below lution Sub-index 03 Resolution Resolution in mm or inch/100 depending on selected unit. The value for the free resolution must be set in sub-index 06. AMS 338 Leuze electronic GmbH + Co. KG...
Page 66
06 are mutually dependent. The value of the free resolution is multiplied in mm/1000 or inch/100000 depending on the selected unit. The product of multiplication is then the set free resolution. Leuze electronic GmbH + Co. KG AMS 338...
Page 67
Default Preset value in Preset mm or 2002 value int 32 -999999 999999 in/100 depend- static ing on selected unit Value 1 = Preset Preset teach settings Value 2 = Preset reset AMS 338 Leuze electronic GmbH + Co. KG...
Page 68
See comments int 32 -999999 999999 limit value below Sub-index 02 / Sub-index 03 The lower and upper position limit values are entered in mm or inch/100 depending on the selected unit. Leuze electronic GmbH + Co. KG AMS 338...
Page 69
The velocity value is mapped to process data objects 1A02 and 1A03 Sub-index 01 The current velocity is output with the configured resolution. The unit (metric or inch) is set in object 2000 sub-index 02 and also applies to the velocity. AMS 338 Leuze electronic GmbH + Co. KG...
Page 70
Monitor- int 32 -999999 999999 mm or ing up to in/100 position Sub-index 01 Bit 0: Switching type 0 = Velocity above upper limit 1 = Velocity below lower limit Leuze electronic GmbH + Co. KG AMS 338...
Page 71
1 = Velocity below lower limit Bit 1: Direction selection 0 = Velocity monitoring not direction-dependent 1 = Velocity monitoring direction-dependent Bit 2: Velocity monitoring 0 = Deactivated 1 = Activated Bit 3 - Bit 7: Reserve AMS 338 Leuze electronic GmbH + Co. KG...
Page 72
1 = Velocity below lower limit Bit 1: Direction selection 0 = Velocity monitoring not direction-dependent 1 = Velocity monitoring direction-dependent Bit 2: Velocity monitoring 0 = Deactivated 1 = Activated Bit 3 - Bit 7: Reserve Leuze electronic GmbH + Co. KG AMS 338...
Page 73
1 = Velocity below lower limit Bit 1: Direction selection 0 = Velocity monitoring not direction-dependent 1 = Velocity monitoring direction-dependent Bit 2: Velocity monitoring 0 = Deactivated 1 = Activated Bit 3 - Bit 7: Reserve AMS 338 Leuze electronic GmbH + Co. KG...
Page 74
Sub- Name Data type Access Value range Comment index (hex) (hex) Minimum Maximum Default Velocity 2026 u 32 See below status Bit 0: Velocity measurement error 0 = OK 1 = Error Leuze electronic GmbH + Co. KG AMS 338...
Page 75
Bit 11: Velocity comparison – limit value 4 0 = Comparison not active 1 = Comparison active Bit 12: Velocity comparison – dynamic limit value 0 = Comparison not active 1 = Comparison active AMS 338 Leuze electronic GmbH + Co. KG...
Page 76
If the velocity value is outside of the configured values, the output is set. The monitoring processes from objects 2021h to 2025h are "OR" linked to this bit. 0 = OFF 1 = ON Leuze electronic GmbH + Co. KG AMS 338...
Page 77
Object 2051 Configuration of I/O 2 Index Sub- Name Data type Access Value range Comment index (hex) (hex) Minimum Maximum Default 2051 I/O2 See below The settings in "bold" are the default settings. AMS 338 Leuze electronic GmbH + Co. KG...
Page 78
0 = OFF 1 = ON Bit 12: Temperature monitoring (TMP) If the internal device temperature is outside the defined limit values, the output is set. 0 = OFF 1 = ON Leuze electronic GmbH + Co. KG AMS 338...
Page 79
• Monitoring of lower position limit value 2 • Monitoring of upper position limit value 2 • Intensity (ATT) • Temperature (TMP) • Laser (LSR) • Plausibility (PLB) In sub-index 02, the laser diode can be switched OFF/ON. AMS 338 Leuze electronic GmbH + Co. KG...
Page 80
1 = Preset active Bit 10: Preset teach (toggle bit) This bit toggles with each teach event of a preset value Bit 11 - Bit 12: Reserve 0 = Reserve 1 = NC Leuze electronic GmbH + Co. KG AMS 338...
Page 81
Velocity value behavior See below in the case of failure Velocity value Error message delay in 1000 delay time in ms the case of failure AMS 338 Leuze electronic GmbH + Co. KG...
Page 82
Name Data type Access Value range Comment index (hex) (hex) Minimum Maximum Default 0 = English Display 1 = German 2300 language 2 = Italian selection 3 = Spanish 4 = French Leuze electronic GmbH + Co. KG AMS 338...
For Class 1, it is essential to describe the following objects. Object 6000 Operating parameter Index Sub- Name Data type Access Value range Comment index (hex) (hex) Minimum Maximum Default Operating 6000 parame- See below ters AMS 338 Leuze electronic GmbH + Co. KG...
Page 84
(hex) (hex) Minimum Maximum Default Position 6004 int 32 -999999 999999 See below value Object 6004 contains the position value for process data objects (PDOs) 1A00 (TPDO1) Byte Comment Position value Leuze electronic GmbH + Co. KG AMS 338...
Page 85
If the default resolution of 1 mm is set in object 2000 , the resolution is converted to the value 1 000 000 for object 6501. (1 000 000 x 1/1 000 000 = 1) AMS 338 Leuze electronic GmbH + Co. KG...
(always "1" because no summation occurs) The status messages within the ring memory are selected with the up/down buttons Use the enter button to call up detailed information about the respective status message: Leuze electronic GmbH + Co. KG AMS 338...
Use the up/down buttons to scroll in the bottom half between various displays. The contents of the scrollable pages are intended solely for Leuze for internal evaluation. The diagnostics have no influence on communication with the host interface and can be acti- vated during operation of the AMS 338 10.1.3 Expanded diagnosis...
Plausibility error Traverse rate >10m/s. Hardware error For error description, see display, PWR LED "static red" It may be necessary to send in the device. Table 10.1: General causes of errors Leuze electronic GmbH + Co. KG AMS 338...
Send in device at next possible opportunity to have laser diode replaced. Have replace- Laser diode warning ment device ready. Indicates an uncorrectable error in the Send in device for repair. Hardware error hardware AMS 338 Leuze electronic GmbH + Co. KG...
Page 90
• Reason for requesting support together with a description For this purpose, please register the merchandise concerned. Simply register return of the merchandise on our website www.leuze.com under Contact & Support -> Repair Service & Returns: To ensure quick and easy processing of your request, we will send you a returns order with the returns address in digital form.
This serves to prevent potential equalization currents over the shield and possible interference coupling through compensating currents. The signal lines must be stranded in pairs. Use CAT 5 cables for the connection. Leuze electronic GmbH + Co. KG AMS 338...
Page 95
Cable length 20m, cable 1:1, not crossed 50106903 KB ET - 25000 - SSA Cable length 25m, cable 1:1, not crossed 50106904 KB ET - 30000 - SSA Cable length 30m, cable 1:1, not crossed 50106905 AMS 338 Leuze electronic GmbH + Co. KG...
Contact your Leuze distributor or service organization should repairs be required. The addresses can be found on the inside of the cover and on the back. Note! When sending laser measurement systems to Leuze for repair, please provide an accurate description of the fault. 12.3 Disassembling, packing, disposing Repacking For later reuse, the device is to be packed so that it is protected.
Page 97
Cable lengths and shielding ..55 Name plates ......18 AMS 338 Leuze electronic GmbH + Co. KG...
Page 99
Menu structure AMS 338 Level 1 Level 2 Level 3 Level 4 Level 5 Selection/configuration option Detailed infor- mation on : Selection : Selection : Selection : Selection : Selection : Selection : Back : Back : Back : Back : Activate : Back Device information...
Page 100
Deutsch / English / Español / Français / Italiano Page 50 Service Status messages Number of readings, reading gates, reading rate / non-reading rate etc. Page 50 Diagnosis Only for use by Leuze personnel for service purposes Expanded diagnosis Only for use by Leuze personnel for service purposes...
Need help?
Do you have a question about the AMS 338i and is the answer not in the manual?
Questions and answers