Page 3
AMS 338 The main menus Device information - main menu AMS 338i 120 Leuze electronic This menu item contains detailed information on • Device model, GmbH & Co. KG • Manufacturer, SW: V 1.3.0 HW:1 • Software and hardware version, SN: ----------------------- •...
Notice! 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/Teck, possesses a certified quality assurance system in accordance with ISO 9001. LISTED EtherCAT®...
With the AMS 3xxi product series, Leuze electronic makes available a range of internation- ally relevant interfaces. Note that each interface version listed below corresponds to a different AMS 3xxi 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 technical description is an element of proper use.
The device must not be tampered with and must not be changed in any way. The device must not be opened. There are no user-serviceable parts inside. Repairs must only be performed by Leuze electronic GmbH + Co. KG. Competent persons Connection, mounting, commissioning and adjustment of the device must only be carried out by competent persons.
Safety Disclaimer 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. • Mounting and electrical connection are not properly performed.
Page 12
Affix the laser information and warning signs so that they are legible without exposing the reader to the laser radiation of the device or other optical radiation. A Laser aperture B Laser warning sign C Laser information sign with laser parameters Figure 2.1: Laser apertures, laser warning signs Leuze electronic 338i...
Fast commissioning / operating principle Fast commissioning / operating principle Notice! 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...
Vendor ID 0x121 or 289 Device type 0x00080196 (absolute linear encoder) Operating and display elements Keyboard 4 buttons Display monochromatic graphical display, 128 x 64 pixels 4 LEDs, 2 of which are used to display the EtherCAT connection Leuze electronic 338i...
Page 17
A 100% prevention of the formation of condensation cannot be guaran- teed due to the limited heating capacity of the AMS 338i. 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.
Specifications 4.1.2 Dimensioned drawing AMS 338i 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: Dimensioned drawing AMS 338 Leuze electronic 338i...
Device name plate using the AMS 300 as an example Notice! 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. Leuze electronic 338i...
Installation and mounting If you have any questions concerning your shipment, please contact your supplier or your local Leuze electronic sales office. Observe the applicable local regulations when disposing of the packaging materials. Mounting the AMS 338i M5 screw for align-...
Page 22
WAF4 hexagon socket ("B" in figure 5.2). Knurled nut and nut must not be tightened until alignment 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. Leuze electronic 338i...
Optional mounting bracket A mounting bracket for mounting the AMS 338i 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 338i Leuze electronic...
338i devices with respect to one another can be calculated as a function of the maximum measurement distance. To define the minimum parallel spacing between two AMS 338i, it is necessary to distinguish between three different arrangements of AMS 338i and reflectors.
338i do not interfere with one another. Depending on the size of the used reflector, the DDLS can be mounted with a minimum parallel spacing of 100mm to the AMS 338i. The parallel spacing is independent of the distance. 338i...
AMS 338i… and the deflection mirror as well as between the mirror and the reflector. Use the M5 screws to mount the deflector unit. Secure the screws with a toothed lock washer to protect against loosening caused by vibrations.
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 338i Leuze electronic...
Height of the spring in non-preloaded state A Mirror Figure 5.7: Photo and dimensioned drawing of the US 1 OMS deflector unit Alignment of the laser light spot on the reflector is performed as described in chapter 5.2. Leuze electronic 338i...
338i measures distances against a reflective tape specified by Leuze electronic. All provided specifications for the AMS 338i, such as the operating range or accuracy, can only be achieved with the reflective tape specified by Leuze electronic. The reflective tapes are available as adhesive tapes, affixed to a metal plate and with an integrated heater especially for use at low temperatures.
Do not use any agents that act with a grinding effect. A conventional household Cleaning detergent can be used as a cleaning agent. Rinse with clear water and dry the surface. Storing the reflector Store in a cool and dry place. Leuze electronic 338i...
Dimensioned drawing of reflective tape on a metal plate Always align the TOP marking with the AMS connections! (chapter 6.4.2) Figure 6.1: Dimensioned drawing of reflectors Part Reflective tape (mm) Reflector plate (mm) Reflective tape 200x200-M Reflective tape 500x500-M Reflective tape 914x914-M 338i Leuze electronic...
Do not use any agents that act with a grinding effect. A conventional house- Cleaning hold detergent can be used as a cleaning agent. Rinse with clear water and dry the surface. Storing the reflector Store in a cool and dry place. Leuze electronic 338i...
Attention! The reflector sizes shown below are a recommendation from Leuze electronic 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. On the basis of the system planning and design, always check whether mechanical travel tolerances may require the use of a reflector larger than that which is recommended.
For this purpose, use the alignment elements provided on the AMS 338i… (see chapter 5.2 "Mounting the AMS 338i"). If necessary, remove the protective foil from the reflector.
Page 36
Reflective tapes …-S and …-M Pitch approx. 1° Direct reflection from the triad structure Deflected surface reflection due to the pitch of the reflective tape Figure 6.3: Reflector mounting Pitch approx. 1° Spacer sleeves Figure 6.4: Pitch of the reflector Leuze electronic 338i...
Page 37
Pitch approx. 1° Direct reflection from the triad 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 338i Leuze electronic...
Notice! Reliable function of the AMS 338i and, thus, max. operating range and accuracy can only be achieved with the reflective tape specified by Leuze electronic. No function can be guar- anteed if other reflectors are used! Leuze electronic 338i...
The laser measurement systems are designed in accordance with safety class III for supply by PELV (protective extra-low voltage with reliable disconnection). Notice! Protection class IP65 is achieved only if the connectors and caps are screwed into place! 338i Leuze electronic...
BUS IN (4-pin socket, D-coded) Name Remark BUS IN Transmit Data + Receive Data + Transmit Data - TD+ 1 Receive Data - Thread Functional earth (housing) M12 socket (D-coded) Table 7.2: Pin assignments for BUS IN Leuze electronic 338i...
Transmission line RS 232/service data Voltage supply 0VDC RS232-RX Receiving line RS 232/service data Not used RS232-RX M12 socket Thread Functional earth (housing) (A-coded) Table 7.4: Service pin assignments Notice! The service interface is designed only for use by Leuze electronic! 338i Leuze electronic...
Display and control panel AMS 338i Display and control panel AMS 338i Structure of the control panel Status display 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 an example...
Page 43
Display and control panel AMS 338i Warning - laser prefailure message: Laser diode old, device still functional, exchange or have repaired. Warning - temperature monitoring: Permissible internal device temperature exceeded / not met. 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 displays 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 45
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/laterally. Down Navigate downward/laterally. 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 Notice! 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 49
Display and control panel AMS 338i case, too, the SSA is persistently stored in the AMS 338i. The master (TwinCAT) can deter- mine whether it wants to use the EtherCAT address (auto-increment address) or the SSA to address the AMS. For SSA, the position-dependent EtherCAT address is also set to the value of the SSA.
Page 50
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 config- Input/Output Output uration Defines whether I/O 1 functions as an output or input. Switching...
Display and control panel AMS 338i Other submenu Table 8.5: Other submenu Level 3 Level 4 Level 5 Selection/configuration option Standard Description Heating control Standard (10°C … 15°C)/Extended (30°C … 35°) Standard Defines a switch-on/switch-off range for the heating control.
Display and control panel AMS 338i 8.3.4 Service menu Service Status messages Diagnostics Expanded diagnostics A more detailed description of the individual functions can be found in chapter 10. Operation Described here is an operating process using parameter enabling as an example.
Page 53
Display and control panel AMS 338i Press the enter button to switch on parameter enabling. Parameter enabling The PWR LED illuminates orange; the display is inverted. You can now set the individual parameters on the display. Press the ESC button twice to return to the Param- eter menu.
From the Ethernet perspective, an EtherCAT bus segment is nothing but a single, large Ethernet participant which receives and transmits Ethernet telegrams. However, there are many EtherCAT slaves within the "participant", not just a single Ethernet controller. Figure 9.1: Topology example Leuze electronic 338i...
EtherCAT interface EtherCAT – General information on wiring The wiring uses the Industrial Ethernet fieldbus cable common in industry. For the AMS 338i, the EtherCAT connection is made via D-coded M12 connectors. A Cat. 5 Ethernet cable should be used for wiring.
BUS OUT or to BUS IN using a stub cable. For the connection of two AMS 338i, the "KB ET - … - SSA" ready-made cables are pre- ferred, see table 11.3.5 "Accessory ready-made cables for EtherCAT" on page 87.
AMS 338i. If the activation of the output data was not possible, the measurement system remains in the SAFE OPERATIONAL state and outputs an error message.
The ESI file describes the entire functionality of the AMS 338i. The ESI file has the name AMS 338i.xml and is available for download on the Leuze home page www.leuze.com. Vendor ID for the AMS...
Object index Overview: EtherCAT-specific object area of the AMS 338i All process data and parameters are stored as objects in the AMS 338i. The object directory of the AMS 338i is the compilation of all process data and parameters of the AMS.
The 8 classification describes the AMS 338i as an absolute linear encoder as described in the DS406 specification. 9.7.4.2 Object 1018 Identity object This object contains general specifications about the AMS 338i. Index Sub- Name Data type Access Value range...
04 Status Status from velocity u 16 2026 00 10 object 2026 value Data structure TPDO3 for the transfer of the velocity values and the velocity status Byte Remark Velocity value see object description 2020 sub-index 04 338i Leuze electronic...
Byte Remark Status see object description 2026 9.7.6 AMS 338i-specific object area 9.7.6.1 Object 2000 Position value The object position value describes the following entries: • Sign for negative position values • Unit of the position value: metric or inch •...
Page 63
The "free resolution" parameters from sub-index 03 and the "value free resolution" from sub-index 06 are mutually dependent. The value of the free resolution is multiplied by mm/ 1000 or inch/100000 in accordance with the unit selected. The multiplication product is then the free resolution that has been set. 338i Leuze electronic...
Page 64
(hex) (hex) Minimum Maximum Default Preset value, in mm Preset value or in/100 depend- 2002 int 32 -999999 999999 static ing on the unit selected Value 1 = Preset preset teach settings Value 2 = preset reset Leuze electronic 338i...
Page 65
2 Upper posi- tion limit int 32 -999999 999999 see remarks below value 2 Sub-index 02 / Sub-index 03 The lower and upper position limit values are entered in mm or inch/100 according to the unit selected. 338i Leuze electronic...
Page 66
In the default setting a positive velocity is output when the reflector moves away from the AMS 338i. When the reflector moves towards the AMS 338i, negative velocities are output. If the "negative" count direction is configured in object 2000 sub-index 04, the velocity signs are reversed.
Page 67
1 = upon falling below the velocity limit Bit 1: direction selection 0 = direction independent velocity monitoring 1 = direction dependent velocity monitoring Bit 2: velocity monitoring 0 = deactivated 1 = activated Bit 3 - Bit 7: reserve 338i Leuze electronic...
Page 68
1 = upon falling below the velocity limit Bit 1: direction selection 0 = direction independent velocity monitoring 1 = direction dependent velocity monitoring Bit 2: velocity monitoring 0 = deactivated 1 = activated Bit 3 - Bit 7: reserve Leuze electronic 338i...
Page 69
1 = upon falling below the velocity limit Bit 1: direction selection 0 = direction independent velocity monitoring 1 = direction dependent velocity monitoring Bit 2: velocity monitoring 0 = deactivated 1 = activated Bit 3 - Bit 7: reserve 338i Leuze electronic...
Page 70
1 = upon falling below the velocity limit Bit 1: direction selection 0 = direction independent velocity monitoring 1 = direction dependent velocity monitoring Bit 2: velocity monitoring 0 = deactivated 1 = activated Bit 3 - Bit 7: reserve Leuze electronic 338i...
Page 71
Value range Remark index (hex) (hex) Minimum Maximum Default Velocity 2026 u 32 see below status Bit 0: velocity measurement error 0 = OK 1 = error Bit 1: movement status 0 = no movement 1 = movement 338i Leuze electronic...
Page 72
0 = comparison inactive 1 = comparison active Bit 11: velocity comparison limit value 4 0 = comparison inactive 1 = comparison active Bit 12: velocity comparison limit value dynamic 0 = comparison inactive 1 = comparison active Leuze electronic 338i...
Page 73
Bit 10: velocity limit value If the velocity value lies outside of the configured values, the output is set. Monitoring from objects 2021h to 2025h is "OR" linked to this bit. 0 = OFF 1 = ON 338i Leuze electronic...
Page 74
Value 001 = preset teach, valid for static (object 2001) and dynamic (object 2002) preset Value 010 = laser OFF. Laser diode is switched off Bit 27 - Bit 31: reserve 0 = reserve 1 = NC Leuze electronic 338i...
Page 75
"OR" linked to this bit. 0 = OFF 1 = ON Bit 11: intensity monitoring (ATT) If the intensity of the received signal falls below the predefined limit value, the output is set. 0 = OFF 1 = ON 338i Leuze electronic...
Page 76
Value 001 = preset teach, valid for static (object 2001) and dynamic (object 2002) preset Value 010 = laser OFF. Laser diode is switched off Bit 27 - Bit 31: reserve 0 = reserve 1 = NC Leuze electronic 338i...
Page 77
EtherCAT interface 9.7.6.15 Object 2060h status and control of the AMS 338i In sub-index 01, the object provides the following status messages of the AMS 338i. • Laser status ON/OFF • Preset status ON/OFF • Preset teach activated/not activated • Monitoring lower position limit value 1 •...
Page 78
0 = OK 1 = warning Bit 16: plausibility (PLB) If implausible measurement values are diagnosed, the error is set. 0 = OK 1 = error Bit 17 - Bit 31: reserve 0 = reserve 1 = NC Leuze electronic 338i...
Page 79
Bit 0: velocity value in the case of error 0 = last valid value 1 = zero Bit 1: static 0 Bit 2: suppress velocity state 0 = OFF 1 = ON Bit 3: error delay velocity 0 = OFF 1 = ON 338i Leuze electronic...
CANopen. The profile puts prescribed characteristics of the participant on defined object addresses. The AMS 338i communicates according to the specifications in profile "DS406" class 1. For class 1, it is mandatory to describe the following objects. Leuze electronic 338i...
Page 81
Value range Remark index (hex) (hex) Minimum Maximum Default Maximum 6004 position int 32 -999999 999999 see below value Object 6004 contains the position value for process data objects (PDOs) 1A00 (TPDO1)) Byte Remark Maximum position value 338i Leuze electronic...
Page 82
03 is specified in multiples of 0.001μm (1nm) in object 6501. Example: If the default resolution in object 2000 is set to 1mm, the resolution for object 6501 is converted to value 1 000 000. (1 000 000 x 1/1 000 000 = 1) Leuze electronic 338i...
Diagnostics and troubleshooting Diagnostics and troubleshooting 10.1 Service and diagnostics in the display of the AMS 338i In the main menu of the AMS 338i, expanded "Diagnostics" can be called up under the Service heading. Service Status messages Diagnostics Expanded diagnostics...
Leuze for internal evaluation. The diagnostics have no influence on the communication to the host interface and can be activated during operation of the AMS 338i. 10.1.3 Expanded diagnostics The Expanded diagnostics menu item is used for Leuze-internal evaluation.
Possible error cause Measure BUS LED "OFF" Power off on AMS 338 Check supply voltage. BUS-LED "flashes red" Invalid configuration Bus error Bus LED "flashes green/ Time out red" Process Data Watchdog Timeout Table 10.2: Bus error 338i Leuze electronic...
M12 connector, Ethernet, D-coded, BUS IN, BUS OUT 50112155 KDS ET M12/RJ45 W - 4P Converter from M12 D-coded to RJ45 socket 50109832 KD 095-5A M12 connector, A-coded socket, Power (PWR) 50020501 Table 11.5: Accessory M12 connector Leuze electronic 338i...
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. Notice! When sending the laser measurement systems to Leuze electronic for repair, please provide an accurate description of the error. 12.3...
Page 95
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 96
Deutsch / English / Español / Français / Italiano page 46 Service Status messages Number of readings, reading gates, reading rate / non-reading rate etc. page 47 Diagnostics Exclusively for service purposes by Leuze electronic Expanded diagnostics Exclusively for service purposes by Leuze electronic...
Need help?
Do you have a question about the AMS 338i and is the answer not in the manual?
Questions and answers