The symbols used in this operating manual are explained below.
Attention!
This symbol precedes text messages which must strictly be observed. Failure to comply with
this information results in injuries to personnel or damage to the equipment.
Attention Laser!
This symbol warns of possible danger caused by hazardous laser radiation.
Notice!
This symbol indicates text passages containing important information.
1.2Declaration of conformity
The AMS 335i absolute measuring optical laser measurement system was designed and
manufactured in accordance with applicable European directives and standards.
The AMS series is "UL LISTED" according to American and Canadian safety standards and
fulfills the requirements of Underwriter Laboratories Inc. (UL).
General information
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.
Leuze electronicAMS 335i5
TNT 35/7-24V
General information
1.3Description of functions AMS 335i
The AMS 335i optical laser measurement system calculates distances to fixed as well as
moving system parts. The distance to be measured is calculated according to the principle
of the propagation time of radiated light. Here, the light emitted by the laser diode is reflected
by a reflector onto the receiving element of the laser measurement system. The AMS 335
uses the "propagation time" of the light to calculate the distance to the reflector. The high
absolute measurement accuracy of the laser measurement system and the fast integration
time are designed for position control applications.
i
With the AMS 3xx
ally relevant interfaces. Note that each interface version listed below corresponds to a
different AMS 3xx
i product series, Leuze electronic makes available a range of internation-
i model.
AMS 304i
AMS 348i
AMS 355i
AMS 358i
AMS 335i
AMS 338i
AMS 308i
AMS 384i
AMS 301i
i
AMS 300
6AMS 335iLeuze electronic
2Safety notices
2.1General safety notices
Documentation
All entries in this technical description must be heeded, in particular those in section "Safety
notices". Keep this technical description in a safe place. It should be available at all times.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association.
Repair
Repairs must only be carried out by the manufacturer or an authorized representative.
2.2Safety standards
The devices of the series AMS 335i were developed, manufactured and tested in accordance with the applicable safety standards. They correspond to the state of the art.
2.3Intended use
The AMS 335i… device series is an absolute measuring system based on laser technology.
The devices use a visible optical laser to measure distances of up to 300m contactlessly.
The laser is designed so that distance measurements are made against a reflector.
Safety notices
Attention!
The protection of personnel and the device is guaranteed only if the device is operated in a
manner corresponding to its intended use.
Areas of application
The AMS 335i… is suitable for the following areas of application:
• Distance measurements for determining the position of automated, moving plant components such as:
- Travel and lifting axes of high-bay storage devices
- Gantry crane bridges and their trolleys
- Repositioning units
-Lifts
- Electroplating plants
Leuze electronicAMS 335i7
TNT 35/7-24V
Safety notices
2.4Working safely
Attention!
Access to or changes on the device, except where expressly described in this operating manual, are not authorized.
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.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association.
Attention!
The AMS 335
Qualified personnel
Mounting, commissioning and maintenance of the device must only be carried out by qualified personnel. Electrical work must be carried out by a certified electrician.
Attention, laser radiation!
i… is not a safety module acc. to EU machinery directives.
The AMS 335
into the beam path over a longer time period, the retina of your eye may be damaged!
Never look directly into the beam path!
Do not point the laser beam of the AMS 335
When mounting and aligning the AMS 335
reflective surfaces!
Heed the laser safety regulations according to DIN EN 60825-1 in their most current
version! The output power of the laser beam at the reading window is at most 4.0mW
acc. to EN 60825-1. The average laser power is less than 1 mW in accordance with laser
class 2 as well as CDRH class 2.
The AMS 335
emitted wavelength of 650 … 690nm.
Attention!
CAUTION! The use of operating and adjusting devices other than those specified here
or carrying out of differing procedures may lead to dangerous exposure to radiation.
8AMS 335iLeuze electronic
i operates with a red light laser of class 2 acc. to EN 60825-1. If you look
i at persons!
i, avoid reflections of the laser beam off of
i uses a laser diode with low power in the visible red light range with an
Safety notices
AHazard warning & logotype
BWarning and certification plate
CName plate with part no., version no., date of manufacture and serial no.
For EtherNet-based devices, the MAC ID is specified on the name plate.
Please note that the shown name plate is for illustration purposes only; the contents do
not correspond to the original.
AB
C
The housing of the AMS 335i has been provided with the following labeling:
Leuze electronicAMS 335i9
Figure 2.1:Location of the name plate on the AMS 335
i
TNT 35/7-24V
Fast commissioning / operating principle
3Fast commissioning / operating principle
Notice!
Below, you will find a short description for the initial commissioning of the AMS 335
Detailed explanations for the listed points can be found throughout the handbook.
3.1Mounting the AMS 335i
The AMS 335i and the corresponding reflector are mounted on two mutually opposing,
plane-parallel, flat walls.
Figure 3.1:Schematic illustration of mounting
Attention!
For error-free position measurement, there must be an unobstructed line-of-sight between
the AMS 335
i and the reflector.
i.
3.1.1Mounting the device
The laser is mounted using 4 screws (M5).
Alignment is performed using 2 adjustment screws. Adjust so that the laser light spot is positioned at the center of the reflector. The alignment is to be secured with the knurled nut and
locked with the M5 nut.
Further information can be found in chapter 5.2 and chapter 5.3.
3.1.2Mounting the reflector
The reflector is mounted using 4 screws (M5). The reflector is angled using the spacer
sleeves included. Incline the reflector by approx. 1°.
Detailed information can be found in chapter 6.4.
10AMS 335iLeuze electronic
Fast commissioning / operating principle
3.2Connecting the voltage supply
The laser measurement system is connected using M12 connectors. The voltage supply is
connected via the PWR M12 connection.
Detailed information can be found in chapter 7.
3.3Display
Once the laser measurement system is supplied with voltage, the device status as well as
the measured position values can be read on the display. The display automatically switches
to the display of the measurement values.
Use the up/down buttons to the left of the display to read and change a wide range
of data and parameters.
Depending on connected interface, the network address must be configured via the display.
Detailed information can be found in chapter 8.
3.4AMS 335i on the CANopen
Install the EDS file corresponding to the AMS 335i … in your planning tool/the control (e.g.,
TwinCAT).
Notice!
You can find the EDS file at www.leuze.com.
The AMS 335
AMS 335
be set on the AMS 335
between the AMS 335
After all parameters have been set in the planning tool/control, the download to the
AMS 335
Afterwards, all changed AMS 335
up. This aids in retaining the parameters during device exchanges, as they a re now also
stored centrally in the control.
Each time a connection is established between the control and the AMS 335
eters are now transferred again to the AMS 335
by the control.
The CANopen baud rate is defined for the entire network in the planning tool/control.
The baud rate is set on the AMS 335
Only if the baud rates are the same is communication with the AMS 335i possible.
Detailed information can be found in chapter 9.
Leuze electronicAMS 335i11
i is configured in the planning tool/control by means of the EDS file. If the
i has been assigned an address in the planning tool, the address (Node ID) is to
i via the control panel/display. Only if the addresses are the same
i and the control can communication be established.
i takes place. The set parameters are now stored on the AMS 335i.
i parameters should be stored in the control upon start-
0.3mm0.5mm0.7mm1.0mm
Light spot diameter≤ 40mm≤ 100mm≤ 150mm≤ 225 mm
Measurement value output
1.7ms
Integration time8ms
Resolutionadjustable, see chapter of the individual interfaces
Temperature drift≤ 0.1mm/K
Ambient temperature sensitivity1ppm/K
Air pressure sensitivity0.3ppm/hPa
Tra ve rs e r at e≤ 10m/s
Electrical data
Supply voltage Vin
2)
18 … 30V DC
Current consumptionwithout device heating: ≤ 250mA / 24 VDC
with device heating: ≤ 500mA / 24 VDC
Optical data
Transmitterlaser diode, red light, wavelength 650 … 690nm
Laser class2 acc. to EN 60825-1, CDRH
2) For UL applications: only for use in "Class 2" circuits acc. to NEC.
3) With screwed-on M12 plugs or mounted caps.
4) With devices with heating, the switch on/off area of the internal heating can be extended to prevent
condensation from forming. A 100% prevention of the formation of condensation cannot be guaranteed due to the limited heating capacity of the AMS 335
5) 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.
acc. to EN 61000-6-2 and EN 61000-6-4
2, programmable
protected against polarity reversal
max. 60mA, short-circuit proof
IP 65 acc. to EN 60529
3)
-5°C … +50°C
-30°C…+50°C
i.
4)
5)
The AMS 335i is designed in accordance with safety class III for supply with
PELV (protective extra-low voltage).
Leuze electronicAMS 335i13
TNT 35/7-24V
Specifications
A M5 screw for alignment
B Knurled nut with WAF4
hexagon socket and M5 nut for securing
C Optical axis
D Zero point of the distance to be measured
i 4040m operating range, CANopen interface50113693
i 200200m operating range, CANopen interface50113695
i 300300m operating range, CANopen interface50113696
i 120 H120m operating range, CANopen interface, integrated heating50113698
i 200 H200m operating range, CANopen interface, integrated heating50113699
Table 4.1:Type overview AMS 335i
Leuze electronicAMS 335i15
TNT 35/7-24V
Installation and mounting
5Installation and mounting
5.1Storage, transportation
Attention!
When transporting or storing, package the device so that it i s prote cted against collision and
humidity. Optimum protection is achieved when using the original packaging. Heed the required environmental conditions specified in the technical data.
Unpacking
Check the packaging for any damage. If damage is found, notify the post office or shipping
agent as well as the supplier.
Check the delivery contents using your order and the delivery papers:
• Delivered quantity
• Device type and model as indicated on the nameplate
• Brief manual
The name plate provides information as to what AMS 335
information, please refer to chapter 11.1.1.
Name plates
i type your device is. For specific
Figure 5.1:Device name plate using the AMS 300i 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.
16AMS 335iLeuze electronic
If you have any questions concerning your shipment, please contact your supplier or your
A M5 screw for align-
ment
B Knurled nut and nut
with WAF4 hexagon
socket for securing
C Optical axis
A
B
A
C
local Leuze electronic sales office.
Observe the applicable local regulations when disposing of the packaging materials.
5.2Mounting the AMS 335i
Installation and mounting
Figure 5.2:Mounting the device
The AMS 335i and the corresponding reflector are mounted on two mutually opposing,
plane-parallel, flat walls or system parts. For error-free position measurement, there must
be an unobstructed line-of-sight connection between the AMS 335
i and the reflector.
Use M5 screws to fasten the laser measurement system. Secure the screws with a toothed
lock washer to protect against loosening caused by vibrations.
Leuze electronicAMS 335i17
TNT 35/7-24V
Installation and mounting
Aligning the laser light spot in the center of the reflector
The laser light spot has to be aligned so that it always hits the center of the opposing
reflector, both at close range as well as at the maximum measurement distance. To align,use the two M5 Allen screws ("A" in figure 5.2). When aligning please ensure that the
knurled nut and the lock nut ("B" in figure 5.2) are opened wide.
Attention!
To prevent the laser measurement system from moving out of alignment during continuous
operation, subsequently hand-tighten the knurled nut and counterlock with the nut with
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.
18AMS 335iLeuze electronic
5.2.1Optional mounting bracket
ALaser beam
A mounting bracket for mounting the AMS 335i on a flat, horizontal surface is available as
an optional accessory.
Type designation:MW OMS/AMS 01
Part no.:50107255
Installation and mounting
Leuze electronicAMS 335i19
TNT 35/7-24V
Figure 5.3:Optional mounting bracket
Installation and mounting
X
Reflector 1Reflector 2
5.2.2Parallel mounting of the AMS 335i
Definition of the term "parallel spacing"
As shown in figure 5.4, dimension X describes the "parallel spacing" of the inner edges of
the two laser light spots on the reflector.
Figure 5.4:Minimum parallel spacing X between adjacent AMS 335
The diameter of the light spot increases with distance.
Thus, the center-to-center spacing of the two AMS 335
can be calculated as a function of the maximum measurement distance.
To define the minimum parallel spacing between two AMS 335
between three different arrangements of AMS 335
40m120m200m300m
i
i devices with respect to one another
i, it is necessary to distinguish
i and reflectors.
The AMS 335i are mounted stationary and in parallel on one plane.
Both reflectors move independently of one another at different distances to the
AMS 335
Minimum parallel spacing X of the two laser light spots:
X = 100mm + (max. measurement distance in mm x 0.01)
The AMS 335i are mounted stationary and in parallel on one plane.
Both reflectors move in parallel at the same distance to the AMS 335
Measurement distance up to 120m: minimum parallel spacing X ≥ 600mm
Measurement distance up to 200m: minimum parallel spacing X ≥
Measurement distance up to 300m: minimum parallel spacing X ≥ 750mm
i.
i.
750mm
20AMS 335iLeuze electronic
Installation and mounting
The reflectors are mounted stationary and in parallel on one plane.
Both AMS 335
tances to the reflectors.
Measurement distance up to 120 m: minimum parallel spacing X ≥ 600 mm
Measurement distance up to 200 m: minimum parallel spacing X ≥
Measurement distance up to 300 m: minimum parallel spacing X ≥
Notice!
Please note that when the AMS 335
cause the two laser light spots to move towards each other.
Take the travel tolerances of the vehicle into account when defining the parallel spacing of
adjacent AMS 335
5.2.3Parallel mounting of AMS 335i and DDLS optical data transmission
The optical data transceivers of the DDLS series and the AMS 335i 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 335i. The parallel spacing is independent
of the distance.
i move independently of one another at different or the same dis-
750mm
750mm
i are mounted in a mobile manner, travel tolerances could
i.
Leuze electronicAMS 335i21
TNT 35/7-24V
Installation and mounting
5.3Mounting the AMS 335i with laser beam deflector unit
General information
The two available deflector units are used for the 90° deflection of the laser beam,
see "Accessory deflector unit" on page 91.
Attention!
The deflector units are designed for a maximum range of 40m.
Longer distances on request.
5.3.1Mounting the laser beam deflector unit With integrated mounting bracket
The AMS 335i is screwed onto the mechanism of the US AMS 01 deflector unit. The mirror
can be mounted for three deflection directions:
1.Upward beam deflection
2.Beam deflection to the left
3.Beam deflection to the right
The deflector unit is mounted on plane-parallel, flat walls or plant components. For errorfree position measurement, there must be an interruption-free line-of-sight between the
AMS 335
Use the M5 screws to mount the deflector unit. Secure the screws with a toothed lock
washer to protect against loosening caused by vibrations.
i… and the deflection mirror as well as between the mirror and the reflector.
Figure 5.5:Mounting variants of the US AMS 01 laser beam deflector unit
22AMS 335iLeuze electronic
Installation and mounting
ALaser beam
5.3.2Dimensioned drawing of US AMS 01 deflector unit
Leuze electronicAMS 335i23
TNT 35/7-24V
Figure 5.6:Dimensioned drawing of US AMS 01 deflector unit
Installation and mounting
A Mirror
Height of the spring in
non-preloaded state
5.3.3Mounting the US 1 OMS deflector unit without mounting bracket
The US 1 OMS deflector unit and the AMS 335i are mounted separately.
Notice!
When mounting, make certain that the laser light spot of the AMS 335
of the deflection mirror.
i is aligned in the center
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.
24AMS 335iLeuze electronic
6Reflectors
6.1General information
The AMS 335i measures distances against a reflective tape specified by Leuze electronic.
All provided specifications for the AMS 335
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. Reflective tapes with heating have
the designation "Reflective tape …x…-H", where "H" is an abbreviation for the heating
variant.
The reflective tapes/reflectors must be ordered separately. The choice of size is left to the
user. In chapter 6.3, recommendations on reflector size are provided as a function of the
distance that is to be measured. In any case, the user must check to determine whether the
recommendation is suitable for the respective application.
6.2Description of the reflective tape
The reflective tape consists of a white, microprism-based reflective material. The microprisms are protected with a highly transparent, hard protective layer.
Under certain circumstances, the protective layer may lead to surface reflections. The
surface reflections can be directed past the AMS 335
a slight incline. The inclination of the reflective tape/reflectors is described in chapter 6.4.2.
The required pitch can be found in table 6.1 "Reflector pitch resulting from spacer sleeves"
on page 34.
The reflective tapes are provided with a protective fo il that ca n easily be p ulled off . This mus t
be removed from the reflector before the complete system is put into operation.
Reflectors
i, such as the operating range or accuracy, can
i by positioning the reflective tape at
Leuze electronicAMS 335i25
TNT 35/7-24V
Reflectors
6.2.1Specifications of the self-adhesive foil
Part
Type designation
Part no.501043615010436250108988
Foil size200x 200mm500 x500 mm914 x914 mm
Recommended application temperature for adhesive tape
Temperature resistance,
affixed
Mounting surfaceThe mounting surface must be clean, dry and free of grease.
Cutting the tapeCut with a sharp tool, always on the side of the prism structure.
Cleaning
Storing the foilStore in a cool and dry place.
Reflective tape
200x200-S
Do not use any agents that act with a grinding effect. A conventional household
detergent can be used as a cleaning agent. Rinse with clear water and dry the
6.2.2Specifications of the reflective tape on a metal plate
The reflective tape is affixed to a metal plate. Included with the metal plate are spacers for
positioning at an incline - for avoiding surface reflections - (see chapter 6.4.2 "Mounting the
reflector").
Reflective tape
500x500-S
+5°C … +25 °C
-40°C…+80°C
surface.
Reflective tape
914x914-S
Part
Type designation
Part no.501043645010436550104366
Foil size200x 200mm500 x500 mm914 x914 mm
Outer dimensions of the
metal plate
Weight0.8kg4kg25kg
Cleaning
Storing the reflectorStore in a cool and dry place.
26AMS 335iLeuze electronic
Reflective tape
200x200-M
250x 250mm550 x550 mm964x964 mm
Do not use any agents that act with a grinding effect. A conventional household
detergent can be used as a cleaning agent. Rinse with clear water and dry the
Reflective tape
500x500-M
surface.
Reflective tape
914x914-M
6.2.3Dimensioned 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
PartReflective tape (mm)Reflector plate (mm)
xLyLXLYLL
Reflective tape 200x200-M200200250250214
Reflective tape 500x500-M500500550550514
Reflective tape 914x914-M914914964964928
Reflectors
Leuze electronicAMS 335i27
TNT 35/7-24V
Reflectors
6.2.4Specifications of heated reflectors
The reflective tape is affixed to a heated, thermally insulated base. The insulation results in
a very high energetic efficiency.
Only the reflective tape is kept at the specified temperature by the integrated heater.
Through the insulation on the back, the generated heat cannot be transferred via the steel
construction. Energy costs are greatly reduced in the case of continuous heating.
Type designation
Part no.501150205011502150115022
Voltage supply230VAC
Power100W600W1800 W
Current consumption~ 0.5A~ 3A~ 8A
Length of the supply line2 m
Size of the reflective tape200 x200 mm500 x500 mm914x914mm
Outer dimensions of the base
material
Weight0.5kg2.5 kg12 kg
Temperature control
Switch-on temperature ~ 5°C
Switch-off temperature ~ 20°C
Operating temperature-30°C … +70°C
Storage temperature-40°C … +80°C
Air humidityMax. 90%, non-condensing.
Cleaning
Storing the reflectorStore in a cool and dry place.
Reflective tape
200x200-H
250x 250mm550x 550mm964x 964mm
Controlled heating with the following switch-on and switch-off tempera-
Do not use any agents that act with a grinding effect. A conventional household detergent can be used as a cleaning agent. Rinse with clear water and
Part
Reflective tape
500x500-H
tures, measured at the reflector surface.
dry the surface.
Reflective tape
914x914-H
28AMS 335iLeuze electronic
6.2.5Dimensioned drawing of heated reflectors
18
6,5
2
L ± 0,5
XL ± 1
TOP
6
2000
115
90
XL ± 1
yL ± 1
L ± 0,5
YL ± 1
Always align the TOP marking
with the AMS connections!
(chapter 6.4.2)
Connection hood
Reflective tape
Si cable
3 x 0.75mm²
Reflectors
Figure 6.2:Dimensioned drawing of heated reflectors
PartReflective tape (mm)Insulated base plate (mm)
Reflective tape 200x200-H200200250250214
xLyLXLYLL
Reflective tape 500x500-H500500550550514
Reflective tape 914x914-H914914964964928
Leuze electronicAMS 335i29
TNT 35/7-24V
Reflectors
6.3Selecting reflector sizes
Depending on system design, the reflector can be mounted so that it travels on the vehicle
or it can be mounted at a fixed location.
Attention!
The reflector sizes shown below are a recommendation from Leuze electronic for on-vehicle
mounting of the AMS 335
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. This
applies, in particular, when the laser measurement system is mounted on a vehicle. During
travel, the laser beam must reach the reflector without interruption. For on-vehicle mounting
of the AMS 335
and the associated "wandering" of the light spot on the reflector.
i, the reflector size must accommodate any travel tolerances that may arise
Overview of reflector types
AMS 335i selection
(Operating range in m)
AMS 335
i 40 (max. 40 m)200x200mmReflective tape 200x200-S
i 120 (max. 120m)500 x500 mmReflective tape 500x500-S
AMS 335
AMS 335
i 200 (max. 200m)749 x914 mm
AMS 335
i 300 (max. 300m)749 x914 mm
i. For stationary mounting of the AMS 335i, a smaller reflector is
Recommended reflector sizes
Recommended
reflector size
(H x W)
914x 914mm
914x 914mm
Type designation
…-S = Self-adhesive
…-M = metal plate
…-H = heating
The reflective tapes of the "Reflective tape …x…-S" self-adhesive series must be affixed
to a flat, clean and grease-free surface. We recommend using a separate metal plate, which
is to be provided on-site.
As described in table 6.1, the reflective tape must be angled.
Reflective tapes on metal
The reflective tapes of the "Reflective tape …x…-M" series are provided with corresponding
mounting holes. Spacer sleeves are provided in the packet for achieving the necessary pitch
angle. For further information see table 6.1.
Heated reflectors
The reflective tapes of the "Reflective tape ...x...-H" series are provided with corresponding
mounting holes. Due to the voltage supply affixed on the rear, the reflector cannot be
mounted flat. Included in the package are four distance sleeves in two different lengths. Use
the distance sleeves to achieve a base separation to the wall as well as the necessary pitch
for avoiding surface reflection. For further information see table 6.1.
The reflector is provided with a 2m-long connection cable for supplying with 230VAC.
Connect the cable to the closest power outlet. Observe the current consumptions listed in
the specifications.
Reflectors
Attention!
Connection work must be carried out by a certified electrician.
6.4.2Mounting the reflector
The combination of laser measurement system and reflective tape/reflector is mounted so
that the laser light spot hits the tape as centered as possible and without interruption.
For this purpose, use the alignment elements provided on the AMS 335
"Mounting the AMS 335i"). If necessary, remove the protective foil from the reflector.
Attention!
The "TOP" label mounted on the reflectors should be aligned the same as the connections
of the AMS 335
Example:
If the AMS 335
the reflector is also on the top. If the AMS 335
on the side, the "TOP" label of the reflector is also on the side.
Leuze electronicAMS 335i31
i.
i is mounted so that the M12 connections are on the top, the "TOP" label of
i is mounted so that the M12 connections are
i… (see chapter 5.2
TNT 35/7-24V
Reflectors
Pitch approx. 1°
Direct reflection from the
triad structure
Deflected surface reflection due to
the pitch of the reflective tape
Pitch approx. 1°
Spacer sleeves
Notice!
The reflector must be angled. To do this, use the spacer sleeves. Angle the reflectors so that
the surface reflections of the foil seal are deflected to the left, right or upwards, chapter
6.4.3 gives the correct pitch with respect to the reflector size and, thus, the length of the
spacers.
1) Spacer sleeves are included in the delivery contents of reflective tape …-M and …-H
Table 6.1:Reflector pitch resulting from spacer sleeves
Notice!
Reliable function of the AMS 335i and, thus, max. operating range and accuracy can only
be achieved with the reflective tape specified by Leuze electronic. No function can be guaranteed if other reflectors are used!
2x5mm
2x10mm
2x20mm
1)
34AMS 335iLeuze electronic
7Electrical connection
BUS IN
M12 connector
(A-coded)
PWR / IOs
M12 connector
(A-coded)
BUS OUT
M12 socket
(A-coded)
Leuze SERVICE
M12 socket
(A-coded)
The AMS 335i laser measurement systems are connected using variously coded M12
connectors. This ensures unique connection assignments.
Notice!
The corresponding mating connectors and ready-made cables are available as accessories
for all cables. For further information, see chapter 11 "Type overview and accessories".
Electrical connection
Figure 7.1:Connections of the AMS 335
i
7.1Safety notices for the electrical connection
Attention!
Before connecting the device, be sure that the supply voltage agrees with the value printed
on the name plate.
The device may only be connected by a qualified electrician.
Ensure that the functional earth (FE) is connected correctly. Unimpaired operation is only
guaranteed when the functional earth is connected properly.
If faults cannot be corrected, the device should be removed from operation and protected
against possible use.
Attention!
For UL applications, use is permitted exclusively in Class 2 circuits according to NEC (National Electric Code).
The laser measurement systems are designed in accordance with safety class III for supply
Leuze electronicAMS 335i35
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!
TNT 35/7-24V
Electrical connection
PWR
I/O 2
I/O 1
3
2
1
4
5
GNDVIN
FE
M12 plug
(A-coded)
BUS IN
CAN_H
1
4
3
2
5
DRAIN
CAN_L
M12 plug
(A-coded)
Described in detail in the following are the individual connections and pin assignments.
7.2PWR – voltage supply / switching input/output
PWR (5-pin plug, A-coded)
PinNameRemark
1VINPositive supply voltage +18 … +30 VDC
2I/O 1Switching input/output 1
3GNDNegative supply voltage 0VDC
4I/O 2Switching input/output 2
5FEFunctional earth
ThreadFEFunctional earth (housing)
Table 7.1:Pin assignment PWR
Further information on configuring the input/output can be found in chapter 8 and chapter 9.
7.3CANopen BUS IN
BUS IN (5-pin plug, A-coded)
PinNameRemark
1DrainShield
2NCNot used
3NCNot used
4CAN_HData signal CAN_H
5CAN_LData signal CAN_L
ThreadFEFunctional earth (housing)
Table 7.2:Pin assignments for CANopen BUS IN
36AMS 335iLeuze electronic
7.4CANopen BUS OUT
1
2
3
4
5
BUS OUT
CAN_H
DRAIN
CAN_L
M12 socket
(A-coded)
SERVICE
1
2
3
4
NC
NC
RS232-RX
RS232-TX
GND
5
M12 socket
(A-coded)
Table 7.3:Pin assignments for CANopen BUS OUT
7.5Service
Electrical connection
BUS OUT (5-pin socket, A-coded)
PinNameRemark
1DrainShield
2NCNot used
3NCNot used
4CAN_HData signal CAN_H
5CAN_LData signal CAN_L
ThreadFEFunctional earth (housing)
Service (5-pin socket, A-coded)
PinNameRemark
1NCNot used
2RS232-TXTransmission line RS 232/service data
3GNDVoltage supply 0VDC
4RS232-RXReceiving line RS 232/service data
5NCNot used
ThreadFEFunctional earth (housing)
Table 7.4:Service pin assignments
Notice!
The service interface is designed only for use by Leuze electronic!
Leuze electronicAMS 335i37
TNT 35/7-24V
Display and control panel AMS 335i
Status display
Bar graph
LED
Bus/interface info
LED
Control buttons
Distance measurement value
8Display and control panel AMS 335i
8.1Structure of the control panel
Figure 8.1:Structure of the control panel using the AMS 304i PROFIBUS device variant as an example
Notice!
The figure is for illustration purposes only and does not correspond to AMS 335i with respect
to bus/interface info.
8.2Status display and operation
8.2.1Indicators in the display
Status and warning messages in the display
IO1Input 1 or output 1 active:
IO2Input 2 or output 2 active:
38AMS 335iLeuze electronic
Function depending on configuration.
Function depending on configuration.
Display and control panel AMS 335i
Bus address
CAN ID
Maximum position value
IO1 LSR PLB
IO2 TMP ATTCAN
ERR
+ 87.000m
1
LSRWarning - laser prefailure message:
Laser diode old, device still functional, exchange or have repaired.
TMPWarning - temperature monitoring:
Permissible internal device temperature exceeded / not met.
PLBPlausibility error:
Implausible measurement value. Possible causes: light beam interruption, outside
of measurement range, permissible internal device temperature considerably
exceeded or traverse rate >10m/s.
Depending on the configuration, either zero or the last valid measurement value is
output at the interfaces.
ATTWarning received signal:
Laser outlet window or reflector soiled or fogged by rain, water vapor or fog. Clean
or dry surfaces.
ERRInternal hardware error:
The device must be sent in for inspection.
Bar graph
Indicates the strength of the received laser light.
The center bar represents the ATT warning threshold. The distance value remains
valid and is output at the interfaces.
If no bar graph is available, the PLB status information appears at the same time.
The measurement value has thus been assessed as being implausible. Depending
on the configuration, either zero or the last valid measurement value is output at the
interfaces.
Interface info
An activated CANopen interface is indicated by the presence of Node ID (bus address) and
the "CAN" ID in the display. If the CANopen interface is deactivated, the Node ID and CAN
ID are hidden from view.
Maximum position value
The measured position value is displayed in the configured unit of measurement.
+87.000mWith the metric setting, the measurement value is always displayed in meters
+87.0inWith the inch setting, the measurement value is always displayed in inches
Leuze electronicAMS 335i39
with three decimal places.
with one decimal place.
TNT 35/7-24V
Display and control panel AMS 335i
8.2.2LED status displays
PWR LED
OffDevice OFF
Flashing greenPower LED flashes green
Green continuous lightPower LED green
Red flashingPower LED flashes red
- No supply voltage
- No measurement value output
- Voltage connected
- Self test running
- Initialization running
- Boot process running
- AMS 335
- Measurement value output
- Self test successfully finished
- Device monitoring active
- Device ok but warning message (ATT, TMP, LSR)
set in display
- Light beam interruption
- Plausibility error (PLB)
i ok
Red continuous light Power LED red
- No measurement value output; for details, see
Display
Orange continuous light Power LED orange
- Parameter enable active
- No data on the host interface
BUS LED
OffLED off
- No voltage supply
-Bus ok
40AMS 335iLeuze electronic
Flashing green LED flashes green
ESC
Green continuous lightLED is green
Flashing redLED flashes red
Red continuous light LED red
Flashing green/redLED flashes green/red
8.2.3Control buttons
Display and control panel AMS 335i
- “PRE-OPERATIONAL” state
-“STOPPED” state
-“OPERATIONAL” state
- Invalid configuration
- No bus connection
-Bus error
-Time out
- RX /TX Buffer overflow
- Termination error
UpNavigate upward/laterally.
DownNavigate downward/laterally.
ESC
ESCExit menu item.
ENTERConfirm/enter value, change menu levels.
TNT 35/7-24V
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.
When one of the buttons is actuated, the display illumination is activated for 10min.
Leuze electronicAMS 335i41
Display and control panel AMS 335i
Delete character
Enter digit
Save
Setting values
If input of a value is possible, the display looks like this:
100
<-|0123456789 save
Default ----------------- unit
126| |
Use the and buttons to set the desired value. An accidental, incorrect entry can
be corrected by selecting <-| and then pressing .
Then use the buttons to select Save and save the set value by pressing .
Selecting options
If options can be selected, the display looks like this:
o OFF
ON
Default ----------------- unit
OFF| |
Select the desired option with the buttons. Activate the option by pressing .
8.3Menu description
8.3.1The 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.
AMS 335i 120
Leuze electronic
SW: V 1.3.0HW:1
SN: ---------------
Network information
Address:--Baud rate:---- kbit/s
Status:Init, PRE, OP
GmbH & Co. KG
42AMS 335iLeuze electronic
Device information - main menu
This menu item contains detailed information on
• Device model,
• Manufacturer,
• Software and hardware version,
• Serial number.
No entries can be made via the display.
Network information - main menu
• Explanations of address, baud rate, status.
No entries can be made via the display.
Display and control panel AMS 335i
1
IO1 LSR PLB
IO2 TMP ATTCAN
ERR
+ 87.000m
Parameter
Parameter handling
CANopen
Maximum position value
I/O
Other
Language
selection
o Deutsch
o English
o Español
o Français
Service
Status messages
Diagnostics
Expanded diagnostics
Status and measurement data - main menu
• Display of status-, warning-, and error messages
• Status overview of the switching inputs/outputs.
• Bar graph for the reception level.
•Link.
• Measurement value. No entries can be made via the display.
See "Indicators in the display" on page 38.
Parameter - main menu
• Configuration of the AMS.
See "Parameter menu" on page 43.
Language selection - main menu
• Selection of the display language.
See "Language selection menu" on page 47.
Service - main menu
• Display of status messages.
• Display of diagnostic data.
No entries can be made via the display.
See "Service menu" on page 47.
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.2Parameter menu
TNT 35/7-24V
Parameter handling submenu
The following functions can be called up in the Parameter handling submenu:
ON / OFF
The standard setting (OFF) prevents unintended parameter changes.
With parameter enabling activated (ON), the display is inverted. In this
state, it is possible to change parameters manually.
ON / OFF
To enter a password, parameter enabling must be activated.
If a password is assigned, changes to the AMS 335
after the password is entered.
The master password 2301 bridges the individually set password.
Configuration option of a four-digit numerical password
By pressing the enter button after selecting
Parameters to default, all parameters are reset to their standard settings without any further security prompts.
In this case, English is selected as the display language.
i can only be made
Standard
OFF
Additional important information on parameter handling can be found at the end of the
chapter.
800k/bit/s /1000 k/bit/s
Selection of the baud rate for serial communication. The baud rate specifies the speed of data transmission. It must be the same at the transmission and reception sides to enable communication.
0.01mm / 0.1 mm / 1mm / 10mm / free resolution
The measurement value can be displayed in these resolutions.
The value of the free resolution is determined in the "Position value" submenu in the "Value of free resolution" parameter.
1mm / 10 mm / 100mm / 1000mm / free resolution
The current velocity can be displayed in these resolutions.
The value of the free resolution is determined in the "Velocity value" submenu in the "Value of free resolution" parameter.
Standard
125kbit/s
1mm
1mm/s
Position value submenu
Notice!
The parameters named under position value are to be set via the EDS file of the AMS 335i.
If parameters from the position value submenu are changed via the display, these may be
overwritten via a startup sequence stored in the control.
Preset The preset value is accepted by means of teach pulse. The teach pulse
Free resolution
value
Error delay ON / OFF
Position value in
the case of error
Description
Metric/Inch
Specifies the units of the measured distances
Positive: The measurement value begins at 0 and increases with increasing distance.
Negative: The measurement value begins at 0 and decreases with
increasing distance. Negative distance values may need to be compensated with an offset or preset.
The resolution of the offset value is independent of the selected "Resolution position" and is entered in mm or inch/100. The offset value is
effective immediately following entry. If the preset value is activated, this
has priority over the offset. Preset and offset are not offset against each
other.
can be applied to a hardware input of the M12 PWR connector. The hardware input must be appropriately configured. See also configuration of
the I/Os.
The measurement value can be resolved in increments of 1/1000 within
the 5 … 50000 value range. If, e.g., a resolution of 0.875mm per digit
is required, the parameter is set to 875.
In the activated interface, the measurement value display must also be
set to "free resolution" ("Resolution position" parameter).
Specifies whether, in the event of an error, the position value immedia tely
outputs the value of the "Position value in the case of error" parameter
or the last valid position value for the configured error delay time.
Last valid value / zero
Specifies which position value is output after the error delay time elapses.
Heating controlStandard (10°C … 15°C)/Extended (30° C … 35°)
Display illumination
Display contrastWeak/Medium/Strong
Service RS232Baud rate57.6kbit/s / 115.2kbit/s
Description
Defines a switch-on/switch-off range for the heating control.
The extended switch-on/switch-off range for heating may provide relief
in the event of condensation problems.
There is no guarantee that no condensation will occur on the optics in the
extended switch-on/switch-off range due to the limited heating capacity.
This parameter is available as standard, but functions only for devices
with integrated heating (AMS 335
10 minutes/ON
Display illumination is switched off after 10 minutes or, if the parameter
is set to "ON", illumination is always on.
The display contrast may change at extreme temperature values. The
contrast can subsequently be adapted using the three levels.
The service interface is only available to Leuze internally.
The AMS 335i is delivered from the factory with the display preset to English.
Notice!
When operating the AMS 335
used in the display.
To change the language, no password needs to be entered nor must password enabling
be activated. The display language is a passive operational control and is, thus, not a function parameter, per se.
Description
The service interface is only available to Leuze internally.
Standard
8,n,1
i on the CANopen, the language configured in the EDS file is
8.3.4Service menu
Service
Status messages
Diagnostics
Expanded diagnostics
A more detailed description of the individual functions can be found in chapter 10.
Leuze electronicAMS 335i47
TNT 35/7-24V
Display and control panel AMS 335i
8.4Operation
Described here is an operating process using parameter enabling as an example.
Parameter enabling
During normal operation parameters can only be viewed. If parameters are to be changed,
the ON menu item in the Parameter -> Parameter handling -> Parameter enable
menu must be activated. To do this, proceed as follows:
Parameter
Parameter handling
CANopen
Maximum position value
I/O
Other
Parameter handling
o Parameter enabling
o Password
Parameters to default
Parameter enabling
o OFF
oON
In the main menu, press the enter button to enter the
Parameter menu.
Use the buttons to select the Parameter handling menu item.
Press the enter button to enter the Parameter handling menu.
In the Parameter handling menu, use the
buttons to select the Parameter enabling
menu item.
Press the enter button to enter the Parameter enabling menu.
In the Parameter enabling menu, use the
buttons to select the ON menu item.
Press the enter button to switch on parameter
enabling.
Parameter enabling
o OFF
ON
The PWR LED illuminates orange; the display is
inverted. You can now set the individual parameters
on the display.
ESC ESC
Press the ESC button twice to return to the Parameter menu.
Viewing and editing parameters
As long as parameter enabling is activated, the entire AMS 335i display is inverted.
As long as parameter enabling is activated, communication between control and AMS 335
is interrupted. The continued networking via BUS OUT is retained.
48AMS 335iLeuze electronic
i
Display and control panel AMS 335i
Notice!
If a password was stored, parameter enabling is not possible until this password is entered,
see "Password for parameter enabling" below.
Password for parameter enabling
Parameter entry on the AMS 335i can be protected with a password. With the AMS 335i,
the password is defined via the EDS file (class 100, instance 1). Thus, the password cannot
be changed by means of display entry.
To activate parameter enabling via the display (e.g., for changing an address), the password
defined in the EDS file must be entered. If parameter enabling has been activated after
successfully entering the password, parameters can temporarily be changed via the display.
After deactivating the parameter enable, all changes made to the display are overwritten by
the start-up sequence that may be stored in the control (see above). If a new password has
been assigned, this, too, is overwritten by the password defined in the EDS file.
Notice!
The master password 2301 can enable the AMS 335
i at any time.
Leuze electronicAMS 335i49
TNT 35/7-24V
CANopen interface
9CANopen interface
9.1General information on CANopen
9.1.1Topology
Termintator
Figure 9.1:Bus topology
The CAN bus is a serial 2-wire bus system to which all participants are connected in parallel
(i.e., using short drop lines). To avoid reflections, the bus must be terminated with a terminating resistor of 120ohm at each end of the trunk line. Terminating resistors are also
required for very short trunk line cable lengths.
If the AMS 335
the M12 bus OUT connection. For this purpose, Leuze electronic offers an M12 terminating
resistor, see chapter 11 "Type overview and accessories".
i is the last participant in the trunk line, the trunk line can be terminated via
9.1.2Bus line (trunk line)
For CAN, the maximum cable length of the trunk line is predominantly limited by the signal
propagation time. The multi-master bus-access process (arbitration) requires that the
signals are present virtually simultaneously at all nodes/participants. Therefore, the cable
length of the trunk cable must be adapted to the baud rate.
Baud rateBus length
1Mbit/s<20m
800kbit/s< 50m
500kbit/s< 100m
250kbit/s< 250m
125kbit/s< 500m
50kbit/s< 1000m
20kbit/s< 2500m
Tap Termintator
Trunk Line
Drop
Line
50AMS 335iLeuze electronic
9.1.3Stub lines (drop lines)
Termintator
Trunk Line
Tap Termintator
Drop
Line
Tap Tap
If possible, drop lines should be avoided because they cause signal reflections as a matter
of principle. Generally, the reflections caused by drop lines are not critical, however, if the
following drop line lengths are not exceeded.
Baud rateLength of drop lineTotal length of all drop lines
Drop lines must not be fitted with terminating resistors. If the AMS 335
drop line, the M12 bus OUT connection must not be terminated.
CANopen interface
i is integrated into a
Leuze electronicAMS 335i51
Figure 9.1:Prohibited networking within a drop line
Attention!
AMS 335
cable length of a drop line must not be exceeded. Taps and multi-taps permit a wide range
of topologies.
i should not be networked with each other within a drop line. The max. permissible
TNT 35/7-24V
CANopen interface
9.2Address assignment
Notice!
The participant-specific address for CANopen is also called the Node ID. Throughout this
handbook, the term "address" is used, which is identical to "Node ID".
Each participant connected to CANopen is assigned its own address (Node ID).
Up to 127 participants can be connected to one network. The addresses range from 1 to
127. The address 0 is usually reserved for the CANopen master.
!
Notice
The "Layer Setting Services (LSS)" function is not supported by the AMS 335i. For this reason, the address must be set manually via the display/panel of the AMS.
9.2.1Entering the address via the display
To enter the address via the display, proceed as follows:
Activate parameter enabling.
Select the CANopen submenu.
Select the Node ID menu item.
Enter an address between 1 and 127.
Save the address with Save.
Deactivate parameter enabling.
Notice
!
Basic operation of the display is described in chapter 8. To set the address, parameter enabling must be activated.
Attention!
The laser measurement system is deactivated on the CANopen when parameter enabling is
activated, e.g. for address assignment.
If the AMS 335
via Bus Out, these participants remain active even after the parameter enable has been activated.
The AMS 335
52AMS 335iLeuze electronic
i is connected directly in the trunk line and networked with further participants
i is reactivated on CANopen after parameter enabling is exited.
9.3Baud rate setting
The AMS 335i supports the following baud rates:
•1Mbit/s
• 800 kbit/s
• 500 kbit/s
• 250 kbit/s
• 125 kbit/s
•50kbit/s
•20kbit/s
The default setting of the AMS 335
The "Layer Setting Services (LSS)" function is not supported by the AMS 335
rate must be set manually via the display of the AMS.
9.3.1Entering the baud rate via the display/panel
To enter the baud rate via display/panel, proceed as follows:
Activate parameter enabling.
Select the CANopen submenu.
Select the baud rate menu item.
Activate the desired baud rate.
Deactivate parameter enabling.
Notice
!
Basic operation of the display is described in chapter 8. To set the baud rate, parameter
enabling must be activated.
i is 125kbit/s.
CANopen interface
i. The baud
Attention!
The laser measurement system is deactivated on the CANopen when parameter enabling is
activated, e.g. for baud rate setting.
If the AMS 335
via Bus Out, these participants remain active even after parameter enable has been activated.
The AMS 335
Leuze electronicAMS 335i53
i is connected directly in the trunk line and networked with further participants
i is reactivated on CANopen after parameter enabling is exited.
TNT 35/7-24V
CANopen interface
BUS IN
CAN_H
1
4
3
2
5
DRAIN
CAN_L
1
2
3
4
5
BUS OUT
CAN_H
DRAIN
CAN_L
M12 plug
(A-coded)
M12 socket
(A-coded)
BUS IN (5-pin plug, A-coded)BUS OUT (5-pin socket, A-coded)
If the laser measurement system is the last subscriber in the network, the BUS OUT con-
nection must be connected to a terminator plug, see "Accessory terminating resistor" on
page 92..
Notice!
For contacting BUS IN and BUS OUT, we recommend our ready-made CANopen cable (see
chapter 11.3.6 "Accessory ready-made cables for CANopen").
54AMS 335iLeuze electronic
CANopen interface
9.5Communication mechanisms of the AMS 335i on CAN
In a CANopen network, all participants have in principle equal privileges. Each participant
can initiate its data transmission independently. Here, the arbitration specified by the CIA
controls the access of the individual participants to the network. Generally, each CAN participant listens in on the bus. The transmission process is started only if the bus is not occupied
by another CAN participant. When transmitting, the current bus status is always compared
to the own transmitted frame.
If several participants start a transmission simultaneously, the arbitration process decides
which participant gains access to the network next. The individual participants are integrated into a prioritization scheme via their bus address and the type of data to be transmitted (index address of the data). Process data (PDOs) of a device are transmitted with a
higher priority than, for example, variable objects (SDOs) of a device.
The node address of the participant is another criterion for prioritizing a participant in the
network. The smaller the node address, the higher the priority of the participant in the
network.
Since every participant compares its own priority with that of the other participants at the
time of bus access, the participants with low priority discontinue their transmission activities
immediately. The participant with the highest priority obtains temporary access to the bus.
The arbitration process controls the access of all participants so that even participants with
a low priority have access to the bus.
9.5.1Device profile of the AMS 335i
CANopen describes the characteristics of participants in so-called profiles. The AMS 335i
communicates according to the specifications in profile "DS406" class 1.
The profile defines the accesses to an absolute linear encoder.
The AMS 335
i is designed as a slave participant and cannot take on master functionality.
9.5.2Object directories
All process data and parameters are stored as objects in the AMS 335i. The object directory
of the AMS 335
An object directory is structured such that some objects within a device profile (DS406 for
the AMS 335
turer-specific object area.
The objects are uniquely identified using an index addressing scheme. The structure of the
object directory, the assignment of the index numbers, as well as some mandatory entries
are specified in the CIA standard DS301 for CANopen.
Leuze electronicAMS 335i55
i is the compilation of all process data and parameters of the AMS.
i) are mandatory while others are freely definable and stored in the manufac-
TNT 35/7-24V
CANopen interface
9.5.3EDS file
For the user, the object directory of the AMS 335i is stored as an EDS file (Electronic Data
Sheet).
The EDS file contains all objects with index, sub-index, name, data type, default value,
minimum and maximum, and access privileges.
The EDS file describes the entire functionality of the AMS 335
9.5.4SDOs and PDOs
The data exchange in CANopen distinguishes between service data objects (SDOs), which
are used for transmitting the service data (parameters) from and to the object directory, and
process data objects (PDOs), which are used to exchange the current process states.
9.5.4.1 SDOs
By using SDOs, all entries of the object directory can be accessed. Within one SDO call,
only one object can be accessed at any one time. For this reason, a service data telegram
must have a protocol structure which describes the exact target address by means of index
and sub-index addressing. SDO telegrams place a part of the SDO addressing into the user
data area. Eventually, a user data area with a width of 4 bytes out of the possible 8 bytes
of user data remains for each SDO telegram.
The target address always responds to SDO transfers.
In the following, the index and sub-index address of the AMS 335
can be found in the individual object descriptions.
9.5.4.2 PDOs
PDOs are a grouping of objects (variables and parameters) from the object directory. A
maximum of 8 bytes of user data from various objects can be mapped into one PDO.
A PDO can be received and evaluated by each participant (node). The model is referred to
as the producer-consumer procedure.
Since there is no protocol structure in the telegra m of a PD O, t he p articipants in the network
for whom these data are intended mu st k now how the use r da ta in the data area of the PDO
are structured (which data are stored where in the user data area).
i.
i parameters and variables
56AMS 335iLeuze electronic
CANopen interface
The exchange of process data is supported by the AMS 335i via the following accesses:
• Event-controlled data transfer
Here, the data of a node are transmitted as a message whenever a change to the present state occurs.
•Polling with remote frames
The CAN node which has been defined as master in the network requests the desired
information via query (via remote frame). The participant which has this information
(or the required data) responds by sending the requested data.
• Synchronized mode
CANopen permits simultaneous querying of inputs and states of different participants
and the simultaneous change of outputs or states. For this purpose, one uses the synchronization telegram (SYNC) transmitted by a master.
The SYNC telegram is a broadcast to all network devices with high priority and without
data content. Generally, the master sends the SYNC telegram cyclically.
Participants working in synchronized mode read their data when receiving the SYNC
message and then transmits them immediately afterwards as soon as the bus permits
this (see explanation regarding arbitration process).
As the SYNC process can very quickly lead to high bus loads, another distinction is
made between "event-controlled synchronization" and a "timer synchronization".
• Time-controlled transmission
In this case, the transmission of a PDO is triggered when an adjustable time period
has elapsed. The time-controlled transmissions are set individually for each PDO via
the so-called "inhibit time" or an "event timer". The respective parameters can be
found in the objects 1800h to 1803h for the corresponding PDOs.
• Node monitoring
Heartbeat and guarding mechanisms are available for failure monitoring of the
AMS 335
respond regularly in the event-controlled operating mode. In case of guarding, the participants are cyclically queried fo r their state via data request telegrams (remote frame).
In case of heartbeat, the nodes transmit their state themselves.
Heartbeat and guarding / life time are standard communication objects from the
DS301 CANopen specification. The corresponding objects here are:
- Heartbeat 1017
- Guarding / Life time factor 100Ch and 100D
i. This is particularly important for CANopen, as the AMS 335i may not
h
h
TNT 35/7-24V
Leuze electronicAMS 335i57
CANopen interface
9.5.5Default 11 Bit - Identifier distribution
The AMS 335i sends an 11-bit identifier. 29-bit identifiers can neither be received nor transmitted by the AMS 335
The node address (address of the AMS 335
default identifier and the node address yield the COB-ID. Its value is used to determine the
prioritization during arbitration.
Notice!
Identifiers with low values have a higher priority under arbitration.
Example:
If the same objects, e.g. PD01 (rx), are queried by several AMS 335i in a CANopen network,
the AMS with the smallest node address has the highest priority under arbitration.
The table printed below shows the values of the individual functions in the CANopen arbitration process.
As can been see from the table, synchronization and emergency objects have the highest
priority. Next in line are the PDOs, and the SDOs have the lowest priority.
i.
i) is an integral part of the 11-bit identifier. The
9.5.6The communication-specific objects according to DS301, DS406 and
manufacturer-specific
Overview: CANopen-specific object area of the AMS 335i
The following overview table shows the CANopen-specific communication objects from
DS301 supported by the AMS 335
AMS 335
i-specific configurations can be made. All other objects are standard objects of
the CANopen specification. These objects are described in DS301.
Object address in hexCANopen-specific object area
1000Device type
1001Error register
100CGuard time
100DLife time factor
1017Producer heartbeat time (required for heartbeat mechanism)
1018Identity object (contains general information regarding the device)
1800PDO 1 properties (asynchronous position value and state)
1801PDO 2 properties (synchronous position value and state)
1802PDO 3 properties (asynchronous velocity value and state)
1803PDO 4 properties (synchronous velocity value and state)
1A00TPDO 1 asynchronous position value and state
1A01TPDO 2 synchronous position value and state
1A02TPDO 3 asynchronous velocity value and state
1A03TPDO 4 synchronous velocity value and state
Overview: manufacturer-specific object area of the AMS 335i
Object address in hexAMS 335i-specific object area
2000Maximum position value
2001Static preset
2002Dynamic preset
2010Position limit value 1
2011Position limit value 2
2020Velocity
2021Velocity limit value 1
2022Velocity limit value 2
2023Velocity limit value 3
2024Velocity limit value 4
2025Velocity limit value dynamic
2026Velocity status
2050I/O 1
2051I/O 2
2060Status and control laser ON/OFF
2070Error handling procedures
2300Other
Overview: encoder-specific object area of the AMS 335i
i. The manual describes only those objects for which
TNT 35/7-24V
Object address in hexObjects of the AMS 335i from the DS406 class 1 encoder profile
6000Operating parameters
6004Maximum position value
6500Operating status
6501Resolution measurement value
Leuze electronicAMS 335i59
CANopen interface
9.5.7Detailed description of CANopen-specific object area
9.5.7.1 Object 1000
Device type
h
The object describes the AMS 335i device type.
IndexSub-
(hex)(hex)MinimumMaximumDefault
1000--Device typeu32ro----00080196 h
NameData typeAccessValue rangeRemark
index
Object data structure
ByteBitRemark
76543210
0
1
2
3
Device profile
The 196h= 406d classification describes the profile of an encoder. Accordingly, the
AMS 335
The AMS 335
i is integrated into the profile definition of an encoder.
i is a class 1 encoder acc. to profile 406
Encoder
The 8h=8d classification describes the AMS 335i as an absolute linear encoder
9.5.7.2 Object 1001h Error register
This object contains the error register for the AMS 335i. The AMS 335i maps the internal
ERR error (see object 2060 status and control) in this byte to bit 0.
The bit 0 is set when the "ERR" errors of the AMS 335
initialization of the AMS 335
i fails.
196
Device profile 196
Encoder type 8
h
8
h
d
Device profile (196h)
Encoder type (8h)
h
h
i are pending or if, for example, the
IndexSub-
(hex)(hex)MinimumMaximumDefault
1001--
NameData typeAccessValue rangeRemark
index
Error regis-
ter
u8ro----0--
Object data structure
ByteBitRemark
76543210
0xxxxxxx0Error register
60AMS 335iLeuze electronic
9.5.7.3 Object 100Ch Guard time
This object is used to configure the device monitoring by the NMT master (node guarding)
together with the life time factor. The monitoring period is specified in milliseconds. If 0 is
entered (default of the AMS 335i), the process is deactivated.
CANopen interface
IndexSub-
(hex)(hex)MinimumMaximumDefault
100C--Guard timeu16rw0655350
NameData typeAccessValue rangeRemark
index
9.5.7.4 Object 100Dh Life time factor
This object must be discussed in connection with object 100Ch. It represents a value that
yields the lifetime when multiplied by the guard time.
If 0 is entered (default of the AMS 335
IndexSub-
(hex)(hex)MinimumMaximumDefault
100D--Life timeu 8rw02550
NameData typeAccessValue rangeRemark
index
i), the process is deactivated.
9.5.7.5 Object 1017h Producer heartbeat time
This object defines the cycle time as a multiple of milliseconds with which the AMS 335i
sends heartbeat messages into the CANopen network. If the producer heartbeat time is not
used, it is set to the value 0 (zero). By default, the time for the AMS 335
which means that the AMS 335
IndexSub-
(hex)(hex)MinimumMaximumDefault
1017--
NameData typeAccessValue rangeRemark
index
Producer
heartbeat
time
i does not send a cyclical heartbeat signal.
u16rw 0655360
9.5.7.6 Object 1018h Identity object
This object contains general specifications about the AMS 335i.
Guard time is deactivated via Default 0
Life time is deactivated via Default 0
i is set to 0 (zero),
Producer heartbeat
time is deactivated
via Default 0
TNT 35/7-24V
IndexSub-
(hex)(hex)MinimumMaximumDefault
101801Vendor IDu 32ro----121
NameData typeAccessValue rangeRemark
index
Product
02
code
u 32ro----02
h
Product designation
h
Manufacturer ID
number
Leuze electronicAMS 335i61
CANopen interface
9.5.7.7 Objects 1800h - 1803h Communication parameter process data objects (PDOs)
9.5.7.8 Objects 1A00
- 1A03h Process data objects TPDOs
h
The AMS 335i provides four transmit process data objects (TPDOs).
The TPDOs describe which objects are mapped (integrated) into the TxPDO and define the
access (synchronous/asynchronous) to these objects.
• TPDO1 asynchronous position value and state, object address 1A00
• TPDO2 synchronous position value and state, object address 1A01
• TPDO3 asynchronous velocity value and state, object address 1A02
• TPDO4 synchronous velocity value and state, object address 1A03
The communication parameters of the PDOs are defined via fixed objects.
In these objects one specifies the synchronous or asynchronous access, a possible inhibit
time for the PDO object on the CAN network, and an event timer.
• PDO1 communication parameters for asynchronous position value and state, object
address 1800
h
• PDO2 communication parameters for synchronous position value and state, object
address 1801
h
• PDO3 communication parameters for asynchronous velocity value and state, object
address 1802
h
• PDO4 communication parameters for synchronous velocity value and state, object
address 1803
h
The asynchronous transmission (TPDO1 and TPDO3) is controlled by the event timer in
PDOx property objects 1800h and 1803h.
The synchronous transmission (TPDO2 and TPDO4) is initiated via a SYNC telegram (80h)
sent by the master, and via PDOx property objects 1801h to 1803h.
9.5.7.9 Object 1800h PDO1
Communication parameters for asynchronous transmission of position and state.
h
h
h
h
IndexSub-
(hex)(hex)MinimumMaximumDefault
180001
NameData typeAccessValue rangeRemark
index
COB-ID for
TPDO1
Transmis-
02
sion type
03Inhibit timeu 16rw010000Inhibit time
04Reserved
05Event timeru 16rw0655350Event timer
u 32ro----180h + Node ID
u 8rw----254
254 = asynchro-
nous
Attention!
The inhibit timer can only be written to if the PDO has previously been set to "PDO invalid".
This is done by setting bit 31 of the COB-ID for the respective PDO to 1, setting the inhibit
time to the desired value, and then resetting bit 31 to 0 (=PDO valid). This applies to all 4
PDOs!
62AMS 335iLeuze electronic
9.5.7.10 Object 1A00h TPDO1
Asynchronous transmission of position and state.
CANopen interface
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
1A0001
02
Data structure TPDO1 for the asynchronous transmission of the position values
and the position state
ByteBitRemark
76543210
0LSB
1
2
3MSB
4
5
6
7
9.5.7.11 Object 1801
Communication parameters for synchronous transmission of position and state.
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
180101
02
03Inhibit timeu 16rw010000Inhibit time
04Reserved
05Event timeru 16rw0655350Event timer
NameData typeAccessValue rangeRemark
Maximum
position
value
Position
value status
PDO2
h
NameData typeAccessValue rangeRemark
COB-ID for
TPDO1
Transmis-
sion type
u 32ro----6004 00 20
u 32ro----2060 01 20
see object description 6004
see object description 2060
u 32ro----280h + Node ID
u 8rw----1
Position value from
Position values
Status
sub-index 01
object 6004
Status from
object 2060
1 = cyclical +
synchronous
h
h
TNT 35/7-24V
9.5.7.12 Object 1A01h TPDO2
Synchronous transmission of position and state.
IndexSub-
(hex)(hex)MinimumMaximumDefault
1A0101Maximum
NameData typeAccessValue rangeRemark
index
position
value
02Position
value status
u 32ro----6004 00 20 Position value from
u 32ro----2060 01 20Status from
object 6004
object 2060
Leuze electronicAMS 335i63
CANopen interface
Data structure TPDO2 for the synchronous transmission of the position value
and the position state
ByteBitRemark
76543210
0LSB
1
2
3MSB
4
5
6
7
Position data
see object description 6004
Status
see object description 2060
sub-index 01
h
h
9.5.7.13 Object 1802
Communication parameters for asynchronous transmission of velocity and state.
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
180301
02
03Inhibit timeu 16rw010000Inhibit time
04Reserved
05Event timeru 16rw010000Event timer
9.5.7.14 Object 1A02h
TPDO3 Asynchronous transmission of velocity and state.
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
1A0201
02
Data structure TPDO3 for the asynchronous transmission of the velocity values
and the velocity state
ByteBitRemark
76543210
0
1MSB
2
3
PDO3
h
NameData typeAccessValue rangeRemark
COB-ID for
TPDO1
Transmis-
sion type
NameData typeAccessValue rangeRemark
Velocity
value
Status
velocity
value
u 32ro----380h + Node ID
u 8rw----254
int 32ro----2020 04 20
u 16ro----2026 00 10
LSBVelocity value
see object description 2020
see object description 2026
velocity value from
sub-index 04
Status
sub-index 01
254 = asynchro-
nous
object 2020
sub-index 04
Status from
object 2026
h
h
64AMS 335iLeuze electronic
9.5.7.15 Object 1803h PDO4
Communication parameters for synchronous transmission of velocity and state.
CANopen interface
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
180401
02
03Inhibit timeu 16rw010000Inhibit time
04Reserved
05Event timeru 16rw0655350Event timer
9.5.7.16 Object 1A03h
TPDO3 Synchronous transmission of velocity and state.
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
01
1A03
02
Data structure TPDO4 for the synchronous transmission of the velocity value
and the velocity state
ByteBitRemark
76543210
0
1MSB
2
3
NameData typeAccessValue rangeRemark
COB-ID for
TPDO1
Transmis-
sion type
NameData typeAccessValue rangeRemark
Velocity
value
Status
velocity
value
u 32ro----480h + Node ID
u 8rw----1
int 16ro----2020 04 20
u 16ro----2026 00 10
LSBVelocity value
see object description 2020
see object description 2026
1 = synchronous +
velocity value from
object 2020
sub-index 04
Status from
object 2026
sub-index 04
Status
sub-index 01
cyclical
h
h
TNT 35/7-24V
9.5.8AMS 335
9.5.8.1 Object 2000
i-specific object area
Position value
h
The object position value describes the following entries:
• Sign for negative position values
• Unit of the position value: metric or inch
• Resolution of the position value
• Counting direction of the position value
• A possible offset value
• Value for the free resolution
Leuze electronicAMS 335i65
CANopen interface
0m
+100m
0m
-
100m
IndexSub-
(hex)(hex)MinimumMaximumDefault
200001Signu 8rw010
02
03Resolutionu 8rw064
04
05Offset value int 32rw-9999999999990see remarks below
06
NameData typeAccessValue rangeRemark
index
Measurement unit
Count
direction
Free resolution value
u 8rw010
u 8rw010
u 16rw5500001000see remarks below
0 = two's complement
1 = sign + quantity
0 = metric
1 = inch (in)
Value 1 = 0.001
Value 2 = 0.01
Value 3 = 0.1
Value 4 = 1
Value 5 = 10
Value 6 = free resolution
0 = positive
1 = negative
for further remarks,
see below
Sub-index 03 resolution
The resolution in mm or inch/100, in accordance with the unit selected.
The value for the free resolution must be set in index 06.
Sub-index 04 counting direction
Attention!
The DS406 encoder specification prescribes that the counting direction can be set in
object 6000 bit 3. Object 2000 sub-index 04 and object 6000 bit 3 overwrite each other.
The count direction changes the sign during velocity measurement.
A suitable offset is to be selected so that only positive values are transferred.
Counting direction positive:
Counting direction negative:
Sub-index 05 offset value
The offset value in mm or inch/100, in accordance with the unit selected.
Output value = measurement value+offset.
If the preset value has been activated by a corresponding trigger signal, the preset value
has priority over the offset value.
66AMS 335iLeuze electronic
Preset value and offset value are not offset against each other. The resolution of the offset
value is independent of the position value resolution selected. The offset value is active
immediately without any further release.
Sub-index 06 free resolution
Free resolution in mm/1000 or inch/100000, in accordance with the unit selected.
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.
9.5.8.2 Object 2001h Static preset value
The static preset value is a parameter that is not changed after the handover of the system
to the end user. It is configured during commissioning and remains unchanged thereafter.
A preset value can be entered into the object. The preset value is activated with "preset
teach" and deactivated with "preset reset". After preset teach, the current position value is
offset against the configured preset value. After preset reset, the original measurement value
is displayed.
CANopen interface
IndexSub-
(hex)(hex)MinimumMaximumDefault
200101
NameData typeAccessValue rangeRemark
index
02
Preset value
static
Preset
settings
int 32rw-9999999999990
u 8rw020
9.5.8.3 Object 2002h Dynamic preset value
The dynamic preset value can be adapted permanently via the control.
The dynamic preset value is activated with "preset teach" and deactivated with "preset
reset". After preset teach, the current position value is offset against the configured preset
value. After preset reset, the original measurement value is displayed.
IndexSub-
(hex)(hex)MinimumMaximumDefault
200201
NameData typeAccessValue rangeRemark
index
02
Preset value
static
Preset
settings
int 32rw-9999999999990
u 8rw020
Preset value, in mm
or in/100 depend-
ing on the unit
selected
Value 1 =
preset teach
Value 2 =
preset reset
Preset value, in mm
or in/100 depend-
ing on the unit
selected
Value 1 =
preset teach
Value 2 =
preset reset
TNT 35/7-24V
Leuze electronicAMS 335i67
CANopen interface
9.5.8.4 Object 2010h Position limit value range 1
The position limit value range 1 object defines a distance range with lower and upper limits.
If the measured value lies outside the configured range, the corresponding status bits are
set in objects 2050h, 2051h and 2060h.
IndexSub-
(hex)(hex)MinimumMaximumDefault
201001
Sub-index 02h / Sub-index 03
NameData typeAccessValue rangeRemark
index
Enable posi-
02
03
tion limit
value 1
Lower posi-
tion limit
value 1
Upper posi-
tion limit
value 1
u8rw010
int 32rw-9999999999990see remarks below
int 32rw-9999999999990see remarks below
h
The lower and upper position limit values are entered in mm or inch/100 according to the
unit selected.
9.5.8.5 Object 2011h Position limit value range 2
The position limit value range 2 object defines a distance range with lower and upper limits.
If the measured value lies outside the configured range, the corresponding status bits are
set in objects 2050h, 2051h and 2060h.
IndexSub-
(hex)(hex)MinimumMaximumDefault
201101
02
03
Sub-index 02h / Sub-index 03
NameData typeAccessValue rangeRemark
index
Enable position limit
value 2
Lower position limit
value 2
Upper position limit
value 2
u8rw010
int 32rw-9999999999990see remarks below
int 32rw-9999999999990see remarks below
h
The lower and upper position limit values are entered in mm or inch/100 according to the
unit selected.
0 = deactivated
1 = activated
0 = deactivated
1 = activated
9.5.8.6 Object 2020h Velocity
Outputs the current velocity with the configured resolution. The unit (metric or inch) is set
in object 2000 sub-index 02 and also applies to the velocity. If no change is made in
object 2000 sub-index 02, the AMS 335i uses the metric default setting.
The sign of the velocity is dependent on the count direction in object 2000 sub-index 04.
In the default setting a positive velocity is output when the reflector moves away from the
AMS 335
i. When the reflector moves towards the AMS 335i, negative velocities are output.
68AMS 335iLeuze electronic
CANopen interface
If the "negative" count direction is configured in object 2000 sub-index 04, the velocity signs
are reversed.
The integration time for the velocity averages all velocity values calculated during the
selected period to yield a velocity value. This average velocity value is output via the interface.
IndexSub-
(hex)(hex)MinimumMaximumDefault
202001
The velocity value is mapped into process data objects 1A02
Sub-index 01
NameData typeAccessValue rangeRemark
index
02
03
04
Velocity res-
olution
Integration
time velocity
Free resolution velocity
Velocity
value
h
u8rw151
u8rw063
u16rw5500001000
int 32ro-999999999999 --see below
and 1A03h.
h
Value 1: = 1
Value 2: = 10
Value 3: = 100
Value 4: = 1000
Value 5 = free reso-
lution
Unit ms
Value 0: = 2
Value 1: = 4
Value 2: = 8
Value 3: = 16
Value 4: = 32
Value 5: = 64
Value 6: = 128
The configured
value is multiplied
by
mm/1000/s or in/
100000/s.
The current velocity output occurs with the configured resolution. The unit (metric or inch)
is set in object 2000 sub-index 02 and also applies to the velocity.
If position start and position end are identical, velocity monitoring is not activated.
If a direction-dependent limit value check is activated via the direction selection parameter,
the values of position start and position end also define the direction. The check is always
performed from position start to position end. For example, if the range start is "5500"
and the range end is "5000", the direction-dependent check is only performed in the direction from "5500" to "5000". The limit value is not active in the opposite direction.
If the check is independent of direction, the order of position start and position end is irrel-
evant. Depending on the selected switching mode, if the value is above or below the defined
limits, the limit value status in object 2026h is set and, if configured, the switching output is
set via object 2050h or 2051h.
Notice!
The explanations given above on the “Position start” and “Position end” parameters apply
analogously for objects 2022h through 2025h.
i and a limit stored in the respective object.
IndexSub-
(hex)(hex)MinimumMaximumDefault
202101
NameData typeAccessValue rangeRemark
index
02
03
04
05
Limit value
check
Velocity limit
value 1
Hysteresis of
velocity limit
value 1
Monitoring
from posi-
tion start
Monitoring
to position
end
u8rw070see below
u16rw0200000
u16rw020000100
int 32rw-9999999999990
int 32rw-9999999999990
mm/s or
(in/100)/s
mm/s or
(in/100)/s
mm or
in/100
mm or
in/100
70AMS 335iLeuze electronic
Sub-index 01
Bit 0: switching mode
0 = upon exceeding the velocity
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
CANopen interface
9.5.8.8 Object 2022
Notice!
Further explanations on the “Position start” and “Position end” parameters see chapter
0 = upon exceeding the velocity
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
mm/s or
(in/100)/s
mm/s or
(in/100)/s.
9.5.8.12 Object 2026
IndexSub-
(hex)(hex)MinimumMaximumDefault
2026--
Velocity status
h
NameData typeAccessValue rangeRemark
index
Velocity
status
u 16ro------see below
Bit 0: velocity measurement error
0 = ok
1 = error
74AMS 335iLeuze electronic
Bit 1: movement status
0 = no movement
1 = movement
Bit 2: movement status
0 = positive direction
1 = negative direction
Bit 3: velocity limit value status 1
0 = limit value maintained
1 = limit value violated
Bit 4: velocity limit value status 2
0 = limit value maintained
1 = limit value violated
Bit 5: velocity limit value status 3
0 = limit value maintained
1 = limit value violated
Bit 6: velocity limit value status 4
0 = limit value maintained
1 = limit value violated
Bit 7: velocity limit value status dynamic
0 = limit value maintained
1 = limit value violated
CANopen interface
Bit 8: velocity comparison limit value 1
0 = comparison inactive
1 = comparison active
Bit 9: velocity comparison limit value 2
0 = comparison inactive
1 = comparison active
Bit 10: velocity comparison limit value 3
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 electronicAMS 335i75
TNT 35/7-24V
CANopen interface
9.5.8.13 Object 2050h Configuration I/O 1
IndexSub-
(hex)(hex)MinimumMaximumDefault
2050--I/O1u 32rw------see below
NameData typeAccessValue rangeRemark
index
The settings in "bold" correspond to the default settings
Bit 0: function of the I/O 1 connection at PWR M12
0 = input
1 = output
Bit 1: activation
If I/O 1 is defined as input (see bit 0):
0 = 1 - 0 transition
1 = 0 - 1 transition
If I/O 1 is defined as output (see bit 0):
0 = low active (the output is set to 0 if the event occurs)
1 = high active (the output is set to 1 if the event occurs)
Bit 2 - Bit 7: reserve
0 = reserve
1 = NC
Notice!
Bit 8 to bit 23 set the output via an "OR" logic.
Bit 8: position limit value 1
If the position value lies outside of configured limit value 1, the output is set.
0 = OFF
1 = ON
Bit 9: position limit value 2
If the position value lies outside of configured limit value 2, the output is set.
0 = OFF
1 = ON
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
76AMS 335iLeuze electronic
CANopen interface
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
Bit 12: temperature monitoring (TMP)
If the internal device temperature lies outside the predefined limit values, the output is set.
0 = OFF
1 = ON
Bit 13: laser prefailure monitoring (LSR)
If the laser power falls below the predefined limit value, the output is set.
0 = OFF
1 = ON
Bit 14: plausibility monitoring (PLB)
If implausible measurement values are diagnosed, the output is set.
0 = OFF
1 = ON
Bit 15: hardware error (ERR)
If a hardware error is diagnosed, the output is set.
0 = OFF
1 = ON
Bit 16 - Bit 23: reserve
0 = reserve
1 = NC
Bit 24 - Bit 26: function of the I/O 1, if this has been defined as an input
Value 000 = no function
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
9.5.8.14 Object 2051h Configuration I/O 2
IndexSub-
(hex)(hex)MinimumMaximumDefault
2051--I/O2u32rw------see below
NameData typeAccessValue rangeRemark
index
Leuze electronicAMS 335i77
TNT 35/7-24V
CANopen interface
The settings in "bold" correspond to the default settings
Bit 0: function of the I/O 2 connection at PWR M12
0 = input
1 = output
Bit 1: activation
If I/O 2 is defined as input (see bit 0):
0 = 1 - 0 transition
1 = 0 - 1 transition
If I/O 2 is defined as output (see bit 0):
0 = low active (the output is set to 0 if the event occurs)
1 = high active (the output is set to 1 if the event occurs)
Bit 2 - Bit 7: reserve
0 = reserve
1 = NC
Notice!
Bit 8 to bit 23 set the output via an "OR" logic.
Bit 8: position limit value 1
If the position value lies outside of configured limit value 1, the output is set.
0 = OFF
1 = ON
Bit 9: position limit value 2
If the position value lies outside of configured limit value 2, the output is set.
0 = OFF
1 = ON
Bit 10: velocity limit value
If the velocity value lies outside of the configured values, the output is set. The monitoring
from objects 2021h to 2025h are "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
Bit 12: temperature monitoring (TMP)
If the internal device temperature lies outside the predefined limit values, the output is set.
0 = OFF
1 = ON
78AMS 335iLeuze electronic
CANopen interface
Bit 13: laser prefailure monitoring (LSR)
If the laser power falls below the predefined limit value, the output is set.
0 = OFF
1 = ON
Bit 14: plausibility monitoring (PLB)
If implausible measurement values are diagnosed, the output is set.
0 = OFF
1 = ON
Bit 15: hardware error (ERR)
If a hardware error is diagnosed, the output is set.
0 = OFF
1 = ON
Bit 16 - Bit 23: reserve
0 = reserve
1 = NC
Bit 24 - Bit 26: function of the I/O 2, if this has been defined as an input
Value 000 = no function
Value 001 = Preset teach, valid for static (object 2001) and dynamic (object 2002)
Value 010 = laser OFF. Laser diode is switched off
Bit 27 - Bit 31: reserve
0 = reserve
1 = NC
preset
9.5.8.15 Object 2060h status and control AMS 335i
In sub-index 01, the object provides the following status messages of the AMS 335i.
• Laser status ON/OFF
•Preset status ON/OFF
• Preset teach activated/not activated
• Monitoring lower position limit value 1
• Monitoring upper position limit value 1
• Monitoring lower position limit value 2
• Monitoring 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.
Leuze electronicAMS 335i79
TNT 35/7-24V
CANopen interface
IndexSub-
(hex)(hex)MinimumMaximumDefault
206001Statusu32ro------see below
NameData typeAccessValue rangeRemark
index
02Laser
ON/OFF
u8rw0100 = laser ON
1 = laser OFF
Explanations on sub-index 01
Bit 0: hardware error (ERR)
0 = ok
1 = hardware error (ERR)
Bit 1 - Bit 3: reserve
0 = reserve
1 = NC
Bit 4: monitoring lower position value 1
0 = OK
1 = value less than limit
Bit 5: monitoring upper position value 1
0 = OK
1 = value exceeded
Bit 6: monitoring lower position value 2
0 = OK
1 = value less than limit
Bit 7: monitoring upper position value 2
0 = OK
1 = value exceeded
Bit 8: laser status
0 = OK
1 = laser OFF
Bit 9: preset status
0 = preset inactive
1 = preset active
Bit 10: preset teach (toogle bit)
This bit toggles on each teach event of a preset value
Bit 11 - Bit 12: reserve
0 = reserve
1 = NC
80AMS 335iLeuze electronic
Bit 13: intensity (ATT)
If the intensity of the received signal falls below the predefined limit value, the warning is set.
0 = ok
1 = warning
Bit 14: temperature (TMP)
If the internal device temperature lies outside the predefined limit values, the warning is set.
0 = OK
1 = warning
Bit 15: laser (LSR)
If the laser power falls below the predefined limit value, the warning is set.
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
9.5.8.16 Object 2070h Behavior of the AMS 335i in the case of error
CANopen interface
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
207001
02
03
04
NameData
Position value in
the case of error
and delay for
error ON/OFF
Position error
message delay
Position value in
the case of error
and delay for
error ON/OFF
Error delay time
- velocity
AccessValue rangeRemark
type
u8rw01313see below
u16rw1001000100
u8rw01313see below
u16rw2001000200
Delay of the error
message in ms
Explanation on sub-index 01
Bit 0: position value in the case of error
0 = last valid value
1 = zero
Leuze electronicAMS 335i81
TNT 35/7-24V
CANopen interface
Bit 1: static 0
Bit 2: suppress position state
0 = OFF
1 = ON
Bit 3: error delay position
0 = OFF
1 = ON
Explanation on sub-index 03
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
9.5.8.17 Object 2300h Other
IndexSub-
(hex)(hex)MinimumMaximumDefault
230001
02
03
04
05Passwordu16rw000099990000
06
NameData typeAccessValue rangeRemark
index
Display
language
selection
Illumination
duration
display
Display
contrast
Password
activation
Heating
control
u8rw040
u8rw010
u8rw021
u8rw010
u8rw010see below
0 = English
1 = German
2 = Italian
3 = Spanish
4 = French
The sub-index 06 is available as standard, but functions only for devices with integrated heating (AMS 335
Sub-index 06 defines a switch-on/switch-off range for the heating control. The extended
switch-on/switch-off range for heating may provide relief in the event of condensation problems. There is no guarantee that no condensation will occur on the optics in the extended
switch-on/switch-off range due to the limited heating capacity.
i …H).
Leuze electronicAMS 335i83
TNT 35/7-24V
CANopen interface
0m
-
100m
9.5.9Objects of the AMS 335i from the DS406 class 1 encoder profile
CANopen describes the characteristics of participants in so-called profiles.
The AMS 335
For class 1, it is mandatory to describe the following objects.
9.5.9.1 Object 6000h Operating parameters
i communicates according to the specifications in profile "DS406" class 1.
IndexSub-
(hex)(hex)MinimumMaximumDefault
6000--
NameData typeAccessValue rangeRemark
index
Operating
parameters
u16rw080
Bit 0 - Bit 2
not used
Bit 3: counting direction
0 = positive - the measurement value increases with increasing distance.
1 = negative - the measurement value decreases with increasing distance.
Counting direction positive:
Counting direction negative:
Bit 4 - Bit 15: reserve
9.5.9.2 Object 6004h Position value
IndexSub-
(hex)(hex)MinimumMaximumDefault
6004--
NameData typeAccessValue rangeRemark
index
Maximum
position
value
int 32ro-999999999999--see below
Object 6004h contains the position value for process data objects (PDOs) 1A00h (TPDO1)
and 1A01h (TPDO2).
0m
+100m
0= positive count-
ing direction, see
below
ByteBitRemark
76543210
0LSB
1
2
3MSB
Maximum position value
84AMS 335iLeuze electronic
9.5.9.3 Object 6500h Display of operating status from object 6000
CANopen interface
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
6500--
Bit 0 - Bit 2
not used
Bit 3: counting direction
0 = positive - the measurement value increases with increasing distance.
1 = negative - the measurement value decreases with increasing distance.
Bit 4 - Bit 15: reserve
9.5.9.4 Object 6501
IndexSub-
index
(hex)(hex)MinimumMaximumDefault
6501--
The resolution set in object 2000h sub-index 03 is specified in multiples of 0.001µm (1nm)
in object 6501.
Example:
If the default resolution in object 2000h 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).
NameData typeAccessValue rangeRemark
Operating
parameters
Measurement step
h
NameData typeAccessValue rangeRemark
Measure-
ment steps
u16ro------see below
u32ro------see below
Leuze electronicAMS 335i85
TNT 35/7-24V
Diagnostics and troubleshooting
10Diagnostics and troubleshooting
10.1Service and diagnostics in the display of the AMS 335
In the main menu of the AMS 335i, expanded "Diagnostics" can be called up under the
Service heading.
Service
Status messages
Diagnostics
Expanded diagnostics
From the Service main menu, press the enter button to access the underlying menu
level.
Use the up/down buttons to select the corresponding menu item in the selected level;
use the enter button to activate the selection.
Return from any sub-level to the next-higher menu item by pressing the ESC button .
10.1.1 Status messages
The status messages are written in a ring memory with 25 positions. The ring memory is
organized according to the FIFO principle. No separate activation is necessary for storing
the status messages. Power OFF clears the ring memory.
I = info, W = warning, E = error, F = severe system error
No: internal error detection
1:frequency of the event (always "1", since no summation occurs)
i
ESC
The status messages within the ring memory are selected with the up/down buttons .
The enter button can be u se d to ca l l u p detailed information on the corresponding status
messages with the following details:
86AMS 335iLeuze electronic
Detailed information about a status message
Type:type of message + internal counter
UID:Leuze internal coding of the message
ID:description of the message
Info:not currently used
Within the detailed information, the enter button can be pressed again to activate an
action menu with the following functions:
• Acknowledge message
• Delete message
• Acknowledge all
• Delete all
10.1.2 Diagnostics
The diagnostics function is activated by selecting the Diagnostics menu item. The ESC
ESC
button deactivates the diagnostics function and clears the contents of the recordings.
The recorded diagnostic data are displayed in 2 fields. In the upper half of the display, status
messages of the AMS and the bar graph are displayed. The lower half contains information
that assists in a Leuze-internal evaluation.
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 the communication to the host interface and can be
activated during operation of the AMS 335
10.1.3 Expanded diagnostics
The Expanded diagnostics menu item is used for Leuze-internal evaluation.
Diagnostics and troubleshooting
i.
TNT 35/7-24V
Leuze electronicAMS 335i87
Diagnostics and troubleshooting
10.2General causes of errors
10.2.1 Power LED
See also chapter 8.2.2.
ErrorPossible error causeMeasure
PWR LED "OFF"
PWR-LED "flashes red"
PWR-LED "static red"
Table 10.1:General causes of errors
10.3Interface errors
10.3.1 BUS LED
For further information on the LED status displays, see chapter 8.2.2 "LED status displays".
ErrorPossible error causeMeasure
BUS LED "OFF"Power off on AMS 335
BUS-LED "flashes red"Invalid configuration
BUS LED "static red"No bus connection
Bus LED "flashes green/
red"
Table 10.2:Bus error
No supply voltage connectedCheck supply voltage.
Hardware errorSend in device.
Light beam interruptionCheck alignment.
Plausibility errorTraverse rate >10m/s.
Hardware errorFor error description, see display,
iCheck supply voltage.
- Bus error
- Time out
- RX /TX Buffer overflow
- Termination error
It may be necessary to send in the device.
10.4Status display in the display of the AMS 335i
DisplayPossible error causeMeasure
PLB
(implausible measurement
values)
88AMS 335iLeuze electronic
Laser beam interruptionLaser spot must always be incident on the reflector.
Laser spot outside of reflectorTraverse rate < 10m/s?
Measurement range for maximum distance
exceeded
Velocity greater than 10m/sReduce velocity.
Ambient temperature far outside of the permissible
range (TMP display; PLB)
Restrict traversing path or select AMS with larger
measurement range.
Select AMS with heating or ensure cooling.
Diagnostics and troubleshooting
DisplayPossible error causeMeasure
ATT
(insufficient received signal
level)
TMP
(operating temperature out-
side of specification)
LSR
Laser diode warning
ERR
Hardware error.
Reflector soiledClean reflector or glass lens.
Glass lens of the AMS soiled
Performance reduction due to snow, rain, fog, con-
densing vapor, or heavily polluted air (oil mist, dust)
Laser spot only partially on the reflectorCheck alignment.
Protective foil on the reflectorRemove protective foil from reflector.
Ambient temperatures outside of the specified
range
Laser diode prefailure messageSend in device at next possible opportunity to have
Indicates an uncorrectable error in the hardware Send in device for repair.
Optimize usage conditions.
In case of low temperatures, remedy may be an
AMS with heating.
If temperatures are too high, provide cooling or
change mounting location.
laser diode replaced. Have replacement device
ready.
Notice!
Please use chapter 10 as a master copy should servicing be required.
Cross the items in the "Measures" column which you have already examined, fill out the following address field and fax the pages together with your service contract to the fax number
listed below.
Customer data (please complete)
Device type:
Company:
Contact partner / department:
Phone (direct):
Fax:
Street / No:
ZIP code/City:
Country:
Leuze Service fax number:
+49 7021 573 - 199
Leuze electronicAMS 335i89
TNT 35/7-24V
Type overview and accessories
11Type overview and accessories
11.1Type key
AMS 3 xx i yyy H
Heating optionH = With heating
Sensing distance40 Max. operating range in m
120 Max. operating range in m
200 Max. operating range in m
300 Max. operating range in m
Operating temperature rangein rest state: -40°C … +80°C
in motion: -5°C … +80°C
Materialthe lines comply with the CANopen requirements,
free of halogens, silicone and PVC
Bending radius> 80mm, suitable for drag chains
Leuze electronicAMS 335i93
TNT 35/7-24V
Type overview and accessories
Order codes of CANopen connection cable
Type designationRemarkPart no.
KB DN/CAN-2000-BAM 12 socket for BUS IN, axial connector, open cable end,
KB DN/CAN-5000-BAM 12 socket for BUS IN, axial connector, open cable end,
KB DN/CAN-10000-BAM 12 socket for BUS IN, axial connector, open cable end,
KB DN/CAN-30000-BAM 12 socket for BUS IN, axial connector, open cable end,
KB DN/CAN-2000-SAM 12 plug for BUS OUT, axial connector, open cable end,
KB DN/CAN-5000-SAM 12 plug for BUS OUT, axial connector, open cable end,
KB DN/CAN-10000-SAM 12 plug for BUS OUT, axial connector, open cable end,
KB DN/CAN-30000-SAM 12 plug for BUS OUT, axial connector, open cable end,
cable length 2m
cable length 5m
cable length 10m
cable length 30m
cable length 2m
cable length 5m
cable length 10m
cable length 30m
50114692
50114696
50114699
50114701
50114693
50114697
50114700
50114702
KB DN/CAN-1000-SBAM12 plug + M12 socket for CANopen, axial connectors,
KB DN/CAN-2000-SBAM12 plug + M12 socket for CANopen, axial connectors,
KB DN/CAN-5000-SBAM12 plug + M12 socket for CANopen, axial connectors,
cable length 1m
cable length 2m
cable length 5m
50114691
50114694
50114698
94AMS 335iLeuze electronic
12Maintenance
12.1General maintenance information
With normal use, the laser measurement system does not require any maintenance by the
operator.
Cleaning
In the event of dust build-up or if the (ATT) warning message is displayed, clean the device
with a soft cloth; use a cleaning agent (commercially available glass cleaner) if necessary.
Also check the reflector for possible soiling.
Attention!
Do not use solvents and cleaning agents containing acetone. Use of such solvents could
blur the reflector, the housing window and the display.
12.2Repairs, servicing
Attention!
Access to or changes on the device, except where expressly described in this operating manual, are not authorized.
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.
Maintenance
Repairs to the device must only be carried out by the manufacturer.
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.3Disassembling, packing, disposing
Repacking
For later reuse, the device is to be packed so that it is protected.
Notice!
Electrical scrap is a special waste product! Observe the locally applicable regulations regarding disposal of the product.